/* OFFICE DRESSING — situation-led lifestyle guide (prefix od-) */

/* ---------- hero ---------- */
.od-hero { border-bottom: 1px solid var(--ink); padding-bottom: clamp(28px, 4vw, 48px); }
.od-hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px);
  padding-top: clamp(28px, 4vw, 56px); align-items: end;
}
.od-hero__type { display: grid; gap: clamp(16px, 2vw, 26px); align-content: end; }
.od-hero__type .tag { justify-self: start; }
.od-hero__h1 { display: grid; font-size: clamp(3rem, 11vw, 10.5rem); line-height: .82; }
.od-hero__h1 span:first-child { font-variation-settings: "wdth" 62; font-stretch: 62%; }
.od-hero__h1 .hd--wide { font-size: .62em; margin-top: .08em; }
.od-hero__line {
  font-family: var(--sans); font-weight: 700; font-size: var(--f-l); line-height: 1.1; max-width: 22ch;
  font-variation-settings: "wdth" 85; font-stretch: 85%;
  padding-left: 18px; border-left: 6px solid var(--orange);
}
.od-hero__intro { max-width: 58ch; color: #2f3336; }

.od-hero__fig { position: relative; margin: 0; }
.od-hero__mat { background: var(--lav); padding: clamp(14px, 2vw, 28px); }
.od-hero__mat img { max-height: 560px; width: 100%; object-fit: contain; }
.od-hero__fig figcaption { margin: 0; color: var(--ink); }
.od-notes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: .85rem; text-transform: none; letter-spacing: 0; line-height: 1.35;
}
.od-notes li { padding: 12px 14px; border-top: 1px solid rgba(247, 246, 240, .18); }
.od-notes li:nth-child(odd) { border-right: 1px solid rgba(247, 246, 240, .18); }
.od-notes b { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lemon); margin-bottom: 3px; }

.od-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(28px, 4vw, 48px); }
.od-jump ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.od-jump a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px 8px 8px;
  border: 1px solid var(--ink); border-radius: 99px; text-decoration: none; font-weight: 600; font-size: .92rem;
  transition: background-color .2s;
}
.od-jump a span { font-family: var(--mono); font-size: 11px; background: var(--ink); color: var(--paper); border-radius: 99px; padding: 4px 7px; }
.od-jump a:hover, .od-jump a:focus-visible { background: var(--mint); }

/* ---------- 01 dial ---------- */
.od-dial__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px clamp(24px, 5vw, 80px); align-items: end; margin-top: clamp(24px, 3vw, 40px); }
.od-dial__head .lede { margin-top: 20px; }
.od-gauge { position: relative; width: clamp(220px, 26vw, 360px); aspect-ratio: 2 / 1.12; }
.od-gauge__arc {
  position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0;
  background: conic-gradient(from -90deg at 50% 100%, var(--mint) 0 36deg, #b9d7c9 36deg 72deg, var(--lav) 72deg 108deg, var(--graphite) 108deg 144deg, var(--ink) 144deg 180deg, transparent 180deg);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 54%, #000 54.5%);
          mask: radial-gradient(circle at 50% 100%, transparent 54%, #000 54.5%);
}
.od-gauge__n {
  --a: calc(-90deg + (var(--i) - .5) * 36deg);
  position: absolute; left: 50%; top: calc(100% / 1.12); width: 30px; height: 30px; margin: -15px 0 0 -15px;
  display: grid; place-items: center; font-family: var(--mono); font-size: 14px; font-weight: 500;
  transform: rotate(var(--a)) translateY(calc(-1 * clamp(220px, 26vw, 360px) * .385)) rotate(calc(-1 * var(--a)));
  color: var(--ink);
}
.od-gauge__n[style*="--i:4"], .od-gauge__n[style*="--i:5"] { color: var(--paper); }
.od-gauge__needle {
  position: absolute; left: calc(50% - 2px); top: calc(100% / 1.12 - clamp(220px, 26vw, 360px) * .25); width: 4px;
  height: calc(clamp(220px, 26vw, 360px) * .25); background: var(--orange); transform-origin: 50% 100%; transform: rotate(34deg);
  border-radius: 2px;
}
.od-gauge__hub { position: absolute; left: 50%; top: calc(100% / 1.12); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper); }

.od-levels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); border-top: 6px solid transparent; border-image: linear-gradient(90deg, var(--mint) 0 20%, #b9d7c9 20% 40%, var(--lav) 40% 60%, var(--graphite) 60% 80%, var(--ink) 80%) 1; }
.od-level { padding: 20px clamp(12px, 1.4vw, 22px) 8px 0; display: grid; align-content: start; gap: 10px; }
.od-level + .od-level { padding-left: clamp(12px, 1.4vw, 22px); border-left: 1px solid var(--line); }
.od-level__n { display: flex; align-items: baseline; gap: 8px; }
.od-level__n .num { font-size: 3rem; }
.od-level__n .mono { color: var(--stone); }
.od-level__t { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; font-variation-settings: "wdth" 78; font-stretch: 78%; }
.od-level__w { font-size: .9rem; color: var(--graphite); line-height: 1.45; min-height: 3.9em; }
.od-level dl div { padding: 8px 0; border-top: 1px solid var(--line); }
.od-level dt { color: var(--stone); font-size: 11px; }
.od-level dd { font-size: .9rem; line-height: 1.4; }

/* ---------- 02 levers ---------- */
.od-levers__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px) clamp(24px, 5vw, 88px);
  grid-template-areas: "head list" "pics list"; grid-template-rows: auto 1fr;
}
.od-levers__head { grid-area: head; }
.od-levers__head h2 { margin-top: 24px; }
.od-levers__head .lede { margin-top: 20px; }
.od-levers__pics { grid-area: pics; align-self: start; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.od-levers__pics figure { margin: 0; }
.od-levers__pics .ph { background: #fff; }
.od-levers__p2 { margin-top: clamp(40px, 6vw, 96px) !important; }
.od-levers__list { grid-area: list; counter-reset: none; }
.od-levers__list li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 16px; padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid rgba(247, 246, 240, .22); }
.od-levers__list li:last-child { border-bottom: 1px solid rgba(247, 246, 240, .22); }
.od-levers__list .num { font-size: 3.2rem; color: var(--orange); }
.od-levers__list h3 { font-size: var(--f-l); font-weight: 800; text-transform: uppercase; line-height: 1; font-variation-settings: "wdth" 72; font-stretch: 72%; margin-bottom: 10px; }
.od-levers__list p { color: #d6d8d3; max-width: 60ch; }

/* ---------- 03 scenarios ---------- */
.od-scenes__head { display: grid; gap: 22px; }
.od-ch { padding-block: clamp(56px, 7vw, 112px); }
.od-ch--mint { background: var(--mint); }
.od-ch--ink { background: var(--ink); color: var(--paper); }
.od-ch--paper { background: #fff; border-block: 1px solid var(--line); }
.od-ch--lav { background: var(--lav); }
.od-ch--lemon { background: var(--lemon); }
.od-ch__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 44px) clamp(24px, 5vw, 80px);
  grid-template-areas: "fig head" "fig text" "fig lines" "pack pack";
  align-items: start;
}
.od-ch--flip .od-ch__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head fig" "text fig" "lines fig" "pack pack"; }
.od-ch__head { grid-area: head; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); align-items: end; }
.od-ch__l { font-family: var(--sans); font-weight: 800; font-size: clamp(5rem, 11vw, 10rem); line-height: .72; font-variation-settings: "wdth" 62; font-stretch: 62%; color: var(--orange); }
.od-ch--lemon .od-ch__l, .od-ch--lav .od-ch__l, .od-ch--mint .od-ch__l, .od-ch--paper .od-ch__l { color: var(--ink); }
.od-ch__k { margin-bottom: 8px; }
.od-meter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.od-meter__bar { display: inline-flex; gap: 3px; }
.od-meter__bar i { width: 22px; height: 10px; border: 1.5px solid currentColor; }
.od-meter__bar i.on { background: var(--orange); border-color: var(--orange); }
.od-ch--paper .od-meter__bar i.on, .od-ch--mint .od-meter__bar i.on, .od-ch--lav .od-meter__bar i.on, .od-ch--lemon .od-meter__bar i.on { background: var(--ink); border-color: var(--ink); }
.od-meter__n { font-weight: 700; font-size: .92rem; }

.od-ch__fig { grid-area: fig; margin: 0; position: sticky; top: calc(var(--head-h) + 24px); }
.od-ch__fig .ph { background: #fff; padding: clamp(8px, 1vw, 14px); }
.od-ch--ink .od-ch__fig .ph { background: var(--paper); }
.od-ch__fig figcaption { color: inherit; opacity: .85; }
.od-ch--ink .od-ch__fig figcaption { color: #c9cbc6; opacity: 1; }
.od-ch__text { grid-area: text; display: grid; gap: 1em; max-width: 62ch; }
.od-ch--ink .od-ch__text { color: #e3e4df; }
.od-ch__lines { grid-area: lines; display: grid; gap: clamp(20px, 2.4vw, 32px); }

/* outfit line-up: horizontal colour-chip row */
.od-line { border-top: 2px solid currentColor; padding-top: 12px; }
.od-line__t { font-family: var(--mono); font-size: var(--f-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.od-line__chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.od-chip { display: grid; grid-template-rows: auto auto 1fr; gap: 4px; padding-right: 8px; }
.od-chip + .od-chip { padding-left: 8px; border-left: 1px dashed rgba(32, 35, 38, .3); }
.od-ch--ink .od-chip + .od-chip { border-left-color: rgba(247, 246, 240, .3); }
.od-chip__sw { display: block; height: clamp(54px, 6vw, 84px); background: var(--c); border: 1px solid rgba(32, 35, 38, .18); margin-bottom: 6px; }
.od-ch--ink .od-chip__sw { border-color: rgba(247, 246, 240, .3); }
.od-chip__sw--stripe { background: repeating-linear-gradient(90deg, var(--c) 0 6px, #5f6265 6px 7px, var(--c) 7px 9px, #8d9093 9px 10px); }
.od-chip__sw--check {
  background-color: var(--c);
  background-image: linear-gradient(90deg, rgba(60, 70, 140, .35) 1px, transparent 1px), linear-gradient(0deg, rgba(60, 70, 140, .35) 1px, transparent 1px);
  background-size: 12px 12px;
}
.od-chip__sw--print { background-color: var(--c); background-image: radial-gradient(circle at 30% 40%, rgba(32, 35, 38, .28) 1.6px, transparent 2.2px), radial-gradient(circle at 70% 70%, rgba(255, 255, 255, .25) 1.4px, transparent 2px); background-size: 9px 9px, 13px 13px; }
.od-chip__sw--none { background: transparent; border: 2px dashed currentColor; opacity: .5; }
.od-chip__r { font-size: 10.5px; opacity: .8; }
.od-chip__l { font-size: .86rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.od-line__note { margin-top: 12px; font-size: .9rem; opacity: .85; }
.od-ch--ink .od-line__note { color: #c9cbc6; opacity: 1; }

/* travel packing list */
.od-pack { grid-area: pack; background: var(--ink); color: var(--paper); margin-top: clamp(8px, 2vw, 24px); }
.od-pack__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: clamp(18px, 2.4vw, 30px); padding-bottom: 18px; position: relative; border-bottom: 2px dashed rgba(247, 246, 240, .35); }
.od-pack__top .mono:first-child { color: var(--lemon); grid-column: 1 / -1; }
.od-pack__h { font-size: var(--f-l); font-weight: 800; text-transform: uppercase; line-height: 1; font-variation-settings: "wdth" 72; font-stretch: 72%; }
.od-pack__count { align-self: end; white-space: nowrap; }
.od-pack__count b { font-family: var(--mono); font-size: 1.2rem; font-weight: 500; color: var(--orange); margin-left: 6px; }
.od-pack__bar { position: absolute; left: 0; bottom: -2px; height: 4px; width: var(--p, 0%); background: var(--orange); transition: width .3s var(--ease); }
.od-pack__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 3vw, 48px); padding: 8px clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 30px); }
.od-pack__list li { border-bottom: 1px solid rgba(247, 246, 240, .16); }
.od-pack__list label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; min-height: 44px; cursor: pointer; }
.od-pack__list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.od-pack__box { width: 22px; height: 22px; border: 2px solid var(--paper); margin-top: 2px; display: grid; place-items: center; }
.od-pack__list input:checked + .od-pack__box { background: var(--orange); border-color: var(--orange); }
.od-pack__list input:checked + .od-pack__box::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.od-pack__list input:focus-visible + .od-pack__box { outline: 3px solid var(--lemon); outline-offset: 2px; }
.od-pack__list b { display: block; font-weight: 700; }
.od-pack__list small { display: block; color: #b9bbb6; font-size: .86rem; }
.od-pack__list input:checked ~ span:last-child b { text-decoration: line-through; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

/* ---------- 04 coordination ---------- */
.od-coord__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-top: clamp(24px, 3vw, 40px); }
.od-coord__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.od-sub { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 78; font-stretch: 78%; line-height: 1.1; display: flex; gap: 10px; align-items: baseline; }
.od-sub .mono { background: var(--orange); color: var(--ink); padding: 3px 6px; font-size: 11px; }
.od-matrix .od-sub { margin-bottom: 14px; }
.od-matrix__scroll { overflow-x: auto; }
.od-matrix__scroll:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.od-matrix table { min-width: 300px; }
.od-matrix th, .od-matrix td { border-bottom: 1px solid var(--line); text-align: center; padding: 10px 4px; }
.od-matrix thead th, .od-matrix thead td { border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.od-matrix__corner { text-align: left !important; }
.od-matrix__corner .mono { font-size: 10px; color: var(--graphite); }
.od-matrix thead th { font-weight: 600; font-size: .8rem; line-height: 1.15; }
.od-matrix__sw { display: block; width: 100%; max-width: 46px; height: 20px; margin: 0 auto 6px; background: var(--c); border: 1px solid rgba(32, 35, 38, .2); }
.od-matrix__sw--row { display: inline-block; width: 16px; height: 16px; margin: 0 10px 0 0; vertical-align: -3px; }
.od-matrix tbody th { text-align: left; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.od-m { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: middle; }
.od-m--2 { background: var(--ink); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--orange); }
.od-m--1 { border: 2px solid var(--ink); }
.od-m--0 { width: 14px; height: 2px; border-radius: 0; background: var(--stone); }
.od-matrix__key { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; }
.od-matrix__key span { display: inline-flex; align-items: center; gap: 10px; }
.od-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.od-rule { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.od-rule:nth-child(odd) { padding-right: clamp(14px, 2vw, 28px); border-right: 1px solid var(--line); }
.od-rule:nth-child(even) { padding-left: clamp(14px, 2vw, 28px); }
.od-rule p { margin-top: 10px; font-size: .95rem; color: #2f3336; }
.od-store { margin-top: clamp(32px, 4vw, 48px); padding: 16px 18px; background: var(--mint); color: var(--ink); max-width: none; }
.od-store a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .od-levels { grid-template-columns: repeat(3, minmax(0, 1fr)); border-image: none; border-top: 6px solid var(--ink); }
  .od-level { padding-left: clamp(12px, 1.4vw, 22px) !important; border-left: 1px solid var(--line); }
  .od-level:nth-child(3n + 1) { padding-left: 0 !important; border-left: 0; }
  .od-level__w { min-height: 0; }
  .od-coord__grid { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) {
  .od-hero__grid { grid-template-columns: 1fr; }
  .od-hero__fig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .od-hero__mat img { max-height: 520px; }
  .od-notes { grid-template-columns: 1fr; }
  .od-notes li:nth-child(odd) { border-right: 0; }
  .od-levers__grid { grid-template-columns: 1fr; grid-template-areas: "head" "pics" "list"; }
  .od-levers__pics { max-width: 560px; }
  .od-ch__grid, .od-ch--flip .od-ch__grid { grid-template-columns: 1fr; grid-template-areas: "head" "fig" "text" "lines" "pack"; }
  .od-ch__fig { position: static; max-width: 560px; }
  .od-coord__head { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .od-dial__head { grid-template-columns: 1fr; }
  .od-gauge { justify-self: start; }
  .od-levels { grid-template-columns: 1fr 1fr; }
  .od-level { padding-left: 14px !important; border-left: 1px solid var(--line) !important; }
  .od-level:nth-child(odd) { padding-left: 0 !important; border-left: 0 !important; }
  .od-pack__list { grid-template-columns: 1fr; }
  .od-rules { grid-template-columns: 1fr; }
  .od-rule:nth-child(odd), .od-rule:nth-child(even) { padding-inline: 0; border-right: 0; }
}
@media (max-width: 599px) {
  .od-hero__fig { grid-template-columns: 1fr; }
  .od-line__chips { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .od-chip:nth-child(4) { padding-left: 0; border-left: 0; }
  .od-pack__top { grid-template-columns: 1fr; }
}
@media (max-width: 459px) {
  .od-levels { grid-template-columns: 1fr; }
  .od-level { padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--line); }
  .od-line__chips { grid-template-columns: 1fr; row-gap: 0; }
  .od-chip, .od-chip + .od-chip { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 0; padding: 8px 0; border-left: 0; border-top: 1px dashed rgba(32, 35, 38, .3); }
  .od-ch--ink .od-chip { border-top-color: rgba(247, 246, 240, .3); }
  .od-chip__sw { grid-row: 1 / 3; height: 44px; margin: 0; }
  .od-chip__r, .od-chip__l { grid-column: 2; }
  .od-levers__list li { grid-template-columns: 1fr; gap: 6px; }
  .od-matrix tbody th { white-space: normal; }
  .od-matrix__sw--row { display: none; }
  .od-jump a { font-size: .86rem; }
}

/* refinements */
.od-ch--paper .od-ch__fig .ph { background: var(--mint); }
.od-store { font-family: var(--sans); font-size: .95rem; text-transform: none; letter-spacing: 0; }
