/* GRIDOFFGRID: a strict grid that breaks. Scoped under .gg. Colours sampled from the delivered images (ink, night, haze). */
.gg { --ink: #0D0D0D; --night: #13192C; --haze: #B3BE7B; --paper: #EFEFEC; --g: clamp(16px, 2.4vw, 40px); --mono: "Geist Mono", ui-monospace, Menlo, monospace; background: var(--paper); color: var(--ink); overflow: hidden; }
.gg .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gg-k { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.gg button { font: inherit; color: inherit; cursor: pointer; }
.gg button:focus-visible, .gg a:focus-visible, .gg input:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* the strip group: a mask cut into horizontal slices that slide on --dx */
.gg-sl { --ar: 822 / 219; position: relative; display: block; aspect-ratio: var(--ar); }
.gg-s { position: absolute; left: 0; width: 100%; top: calc(var(--n) * 100% / 14); height: calc(100% / 14 + .5px); background: currentColor; -webkit-mask: var(--m) no-repeat 0 calc(var(--n) / 13 * 100%) / 100% 1400%; mask: var(--m) no-repeat 0 calc(var(--n) / 13 * 100%) / 100% 1400%; transform: translateX(var(--dx, 0)); will-change: transform; }
.gg-sl-w { --ar: 924 / 219; }

/* hero */
.gg-hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--hdr, 72px) + 2vh) var(--g) clamp(24px, 4vh, 48px); background: var(--ink); color: #fff; isolation: isolate; }
.gg-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / .09) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .09) 1px, transparent 1px); background-size: 80px 80px; background-position: center; opacity: 1; transition: opacity .8s; }
.gg[data-mode="off"] .gg-lines { opacity: 0; }
.gg-top { display: flex; justify-content: space-between; gap: 16px; font: 500 12px/1.2 var(--mono); text-transform: uppercase; color: rgb(255 255 255 / .6); } .gg-top a { color: inherit; }
.gg-mark { margin: 0; align-self: center; justify-self: center; width: min(86vw, 1100px); color: #fff; }
.gg-mark .gg-sl { width: 100%; }
.gg-hero-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px clamp(24px, 4vw, 64px); align-items: end; }
.gg-hero-foot p { margin: 0; max-width: 46ch; line-height: 1.45; font-size: clamp(15px, 1.2vw, 18px); color: rgb(255 255 255 / .75); justify-self: end; }
.gg-sw { display: inline-flex; border: 1px solid #fff; border-radius: 999px; padding: 4px; gap: 4px; }
.gg-sw button { padding: 14px 24px; border: 0; border-radius: 999px; background: none; font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.gg-sw button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.gg[data-mode="grid"] .gg-sw button[aria-pressed="false"] { animation: gg-nudge 2s ease-in-out infinite; } @keyframes gg-nudge { 50% { background: rgb(255 255 255 / .22); } }

/* index */
.gg-index { padding: clamp(60px, 8vw, 120px) var(--g) 0; }
.gg-index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.gg-index li { display: grid; grid-template-columns: 70px minmax(110px, 240px) 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--ink); transition: transform .6s cubic-bezier(.16, 1, .3, 1), padding .6s; }
.gg-index span { font: 500 12px/1 var(--mono); } .gg-index em { font: 500 12px/1 var(--mono); text-transform: uppercase; font-style: normal; } .gg-index b { font-size: clamp(22px, 3vw, 48px); font-weight: 700; letter-spacing: -.03em; text-transform: uppercase; }
.gg[data-mode="off"] .gg-index li:nth-child(odd) { transform: translateX(3vw); } .gg[data-mode="off"] .gg-index li:nth-child(3n) { transform: translateX(-2vw) rotate(-.6deg); } .gg[data-mode="off"] .gg-index li:nth-child(even) { padding-left: 4vw; }
.gg-says { padding: clamp(60px, 9vw, 140px) var(--g); }
.gg-big { margin: 22px 0 0; max-width: 24em; font-size: clamp(28px, 4.4vw, 76px); line-height: 1; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; }

.gg-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); } .gg-head .gg-k { grid-column: 1 / -1; }
.gg-head h2 { margin: 0; font-size: clamp(40px, 7vw, 120px); line-height: .9; font-weight: 800; letter-spacing: -.05em; text-transform: uppercase; } .gg-head h2 em { font-style: normal; display: inline-block; transform: skewX(-12deg); }
.gg-head p { margin: 0; max-width: 54ch; line-height: 1.55; font-size: clamp(15px, 1.2vw, 18px); opacity: .8; }

/* lookbook board */
.gg-book { padding: clamp(60px, 9vw, 140px) var(--g); background: var(--night); color: #fff; }
.gg-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.gg-btn { padding: 12px 18px; border: 1px solid #fff; border-radius: 999px; background: none; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; } .gg-btn:hover { background: #fff; color: var(--night); }
.gg-fine { font: 400 12px/1.4 var(--mono); color: rgb(255 255 255 / .6); margin-left: 8px; }
.gg-board { position: relative; width: 100%; height: var(--bh, 900px); }
.gg-card { position: absolute; left: 0; top: 0; width: var(--cw, 200px); height: var(--ch, 240px); margin: 0; overflow: hidden; border-radius: 3px; background: #000; transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)) scale(var(--s, 1)); transition: transform .9s cubic-bezier(.16, 1, .3, 1), box-shadow .3s; z-index: var(--z, 1); }
.gg-card.drag { transition: none; cursor: grabbing; z-index: 99; box-shadow: 0 30px 60px rgb(0 0 0 / .5); }
.gg[data-fine] .gg-card { cursor: grab; touch-action: none; }
.gg-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.gg-card figcaption { position: absolute; left: 8px; bottom: 8px; padding: 5px 7px; background: #fff; color: #000; font: 600 10px/1 var(--mono); text-transform: uppercase; } .gg-card figcaption span { opacity: .55; margin-right: 4px; }
.gg-say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gg-cap { margin: 24px 0 0; min-height: 3em; max-width: 60ch; font-size: 15px; line-height: 1.5; color: rgb(255 255 255 / .75); }

/* console */
.gg-con { padding: clamp(60px, 9vw, 140px) var(--g); }
.gg-con-ui { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 48px); align-items: start; }
.gg-con-stage { --bg: #0D0D0D; --fg: #FFFFFF; position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--bg); color: var(--fg); border-radius: 6px; overflow: hidden; transition: background-color .5s, color .5s; }
.gg-con-row { display: flex; align-items: center; gap: 4%; width: 66%; }
.gg-con-row .gg-sl-m { width: 100%; flex: 1 1 52%; } .gg-con-row .gg-sl-w { flex: 1 1 44%; transition: opacity .4s, flex-basis .4s; }
.gg-con-stage[data-l="m"] .gg-sl-w { flex-basis: 0; opacity: 0; width: 0; } .gg-con-stage[data-l="m"] .gg-con-row { width: 46%; } .gg-con-stage[data-l="m"] .gg-sl-m { flex-basis: 100%; }
.gg-con-stage[data-l="w"] .gg-sl-m { flex-basis: 0; width: 0; opacity: 0; } .gg-con-stage[data-l="w"] .gg-sl-w { flex-basis: 100%; } .gg-con-stage[data-l="w"] .gg-con-row { width: 52%; }
.gg-con-read { position: absolute; left: 14px; right: 14px; top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: 500 11px/1.3 var(--mono); text-transform: uppercase; } .gg-con-read b { font-weight: 500; }
.gg-con-ctl { display: grid; gap: 26px; } .gg-con-ctl > div, .gg-range { display: grid; gap: 12px; }
.gg-pick { display: grid; gap: 8px; } .gg-pick-row { grid-template-columns: repeat(3, 1fr); }
.gg-pick button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--ink); border-radius: 6px; background: none; text-align: left; font: 500 13px/1 var(--mono); } .gg-pick-row button { justify-content: center; }
.gg-pick button i { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.gg-pick button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gg-range input { width: 100%; accent-color: var(--ink); height: 28px; }

.gg-log { padding: clamp(40px, 6vw, 100px) var(--g) clamp(60px, 9vw, 140px); display: grid; gap: clamp(40px, 6vw, 90px); border-top: 1px solid var(--ink); }
.gg-log-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } .gg-log-row > p { margin: 0; max-width: 40em; font-size: clamp(20px, 2.2vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.gg-stats { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 6vw, 96px); margin-bottom: 36px; } .gg-stats div { display: grid; gap: 8px; max-width: 24ch; }
.gg-stats b { font-size: clamp(56px, 8vw, 130px); line-height: .9; font-weight: 800; letter-spacing: -.05em; } .gg-stats small { font-size: .3em; margin-left: 6px; } .gg-stats span { font: 500 12px/1.4 var(--mono); text-transform: uppercase; opacity: .7; }
.gg-log blockquote { margin: 0 0 16px; max-width: 24em; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; } .gg-log cite { display: block; margin-top: 14px; font: 500 12px/1 var(--mono); text-transform: uppercase; opacity: .65; font-style: normal; }
.gg-note { font: 400 12px/1.5 var(--mono); opacity: .6; max-width: 60ch; }

@media (max-width: 899px) {
  .gg-head, .gg-con-ui, .gg-log-row { grid-template-columns: minmax(0, 1fr); }
  .gg-hero-foot { grid-template-columns: minmax(0, 1fr); } .gg-hero-foot p { justify-self: start; }
  .gg-index li { grid-template-columns: 44px 1fr; } .gg-index b { grid-column: 2; }
  .gg-mark { width: 94vw; } .gg-lines { background-size: 48px 48px; } .gg-fine { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gg-card, .gg-index li, .gg-lines { transition: none; } .gg-sw button { animation: none !important; } }

@media (max-width: 899px) { .gg-mark { width: calc(100vw - 2 * var(--g) - 10px); } .gg-seg, .gg-hero [role="group"] { width: max-content; } }

@media (max-width: 899px) { .gg figcaption, .gg figcaption span { font-size: 11px; } }
