@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0c0d22;
  --ink-2: #15173a;
  --paper: #f6f3ec;
  --text: #f6f3ec;
  --muted: rgba(246, 243, 236, .66);
  --line: rgba(246, 243, 236, .14);
  --sky: #2baae2;
  --gold: #e9b44c;
  --serif: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.55 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto; }

/* Nav */
.nav { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 19px/1 var(--sans); letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav a.get { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 99px; background: rgba(12, 13, 34, .5); backdrop-filter: blur(8px); }
.nav a.get:hover { border-color: var(--text); }

/* Hero: the wall */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.wall { position: absolute; inset: -12% -20%; z-index: -2; display: grid; gap: 14px; align-content: center; transform: rotate(-7deg); }
.row { display: flex; gap: 14px; width: max-content; animation: drift 110s linear infinite; }
.row:nth-child(even) { animation-direction: reverse; animation-duration: 140s; }
.row img { width: clamp(120px, 15vw, 220px); aspect-ratio: 1; border-radius: 10px; object-fit: cover; }
@keyframes drift { to { transform: translateX(-50%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,13,34,.92) 0%, rgba(12,13,34,.72) 38%, rgba(12,13,34,.18) 72%, rgba(12,13,34,.35) 100%),
    linear-gradient(180deg, rgba(12,13,34,.6) 0%, transparent 22%, transparent 70%, var(--ink) 99%); }
.hero-copy { padding: 0 var(--gutter) clamp(48px, 9vh, 110px); max-width: 1320px; width: 100%; margin: 0 auto; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1 { font: 650 clamp(54px, 9.2vw, 132px)/.92 var(--serif); letter-spacing: -.035em; margin: 0; max-width: 11ch; font-variation-settings: "SOFT" 50, "WONK" 1; }
h1 em { font-style: italic; color: var(--sky); font-weight: 500; }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 40ch; margin: 26px 0 34px; }
.lede b { color: var(--text); font-weight: 600; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px 13px 18px; border-radius: 14px; background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; line-height: 1.1; }
.store small { font-size: 11px; opacity: .7; }
.store strong { font-size: 18px; letter-spacing: -.01em; }
.store.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers div { padding: 34px 0 30px; border-left: 1px solid var(--line); padding-left: 24px; }
.numbers div:first-child { border-left: 0; padding-left: 0; }
.numbers b { display: block; font: 600 clamp(34px, 4.4vw, 60px)/1 var(--serif); letter-spacing: -.03em; }
.numbers span { color: var(--muted); font-size: 15px; }

/* Sections */
section.block { padding: clamp(80px, 13vw, 170px) 0; }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin: 0 0 20px; }
h2 { font: 600 clamp(38px, 6.4vw, 92px)/.98 var(--serif); letter-spacing: -.03em; margin: 0; max-width: 14ch; }
h2 em { font-style: italic; font-weight: 450; color: var(--gold); }
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.intro p { color: var(--muted); font-size: 19px; margin: 0; max-width: 42ch; }

/* Gallery wall */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.2vw, 16px); }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; } }
.tile { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; display: block; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s; }
.tile:hover img { transform: scale(1.06); filter: brightness(1.08); }
.tile:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; color: var(--text); overflow: hidden; }
.lightbox::backdrop { background: rgba(8,9,24,.62); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox[open]::backdrop { animation: lb-fade .3s ease-out; }
@keyframes lb-fade { from { background: rgba(8,9,24,0); } }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox img { width: auto; height: auto; max-width: min(78vw, 720px); max-height: 74dvh; object-fit: contain; border-radius: 14px; box-shadow: 0 40px 100px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.08); will-change: transform; }
.lightbox figcaption { font: 500 16px/1.3 var(--serif); font-style: italic; color: var(--gold); padding: 6px 14px; border-radius: 99px; background: rgba(12,13,34,.85); backdrop-filter: blur(6px); }
.lightbox figcaption:empty { visibility: hidden; }
.lightbox button { position: absolute; border: 0; background: rgba(12,13,34,.72); color: var(--text); width: 48px; height: 48px; border-radius: 50%; font: 300 32px/1 var(--sans); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.lightbox button:hover { background: rgba(12,13,34,.92); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.tile.is-open img { opacity: 0; }
@media (max-width: 560px) {
  .lightbox img { max-width: 92vw; max-height: 66dvh; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.values article { padding: 40px 32px 0 0; }
.values article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.values .n { font: 500 15px/1 var(--serif); font-style: italic; color: var(--gold); }
.values h3 { font: 600 clamp(26px, 2.6vw, 36px)/1.08 var(--serif); letter-spacing: -.02em; margin: 18px 0 14px; }
.values p { color: var(--muted); margin: 0; }

/* World list */
.world { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 64px; }
.world li { break-inside: avoid; display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.world img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.world strong { font: 600 clamp(20px, 1.9vw, 26px)/1.15 var(--serif); letter-spacing: -.01em; }
.world small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.world .count { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }

/* Download */
.download { background: var(--paper); color: var(--ink); border-radius: clamp(20px, 3vw, 40px); margin: 0 var(--gutter); padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 96px) 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; overflow: hidden; }
.download h2 { max-width: 10ch; }
.download h2 em { color: var(--sky); }
.download p { color: rgba(12,13,34,.7); font-size: 19px; max-width: 34ch; margin: 22px 0 32px; }
.download .store { background: var(--ink); color: var(--paper); }
.download .store.ghost { background: transparent; color: var(--ink); border-color: rgba(12,13,34,.2); }
.download .copy { padding-bottom: clamp(48px, 7vw, 96px); }
.phones { display: flex; gap: 18px; align-items: flex-end; justify-content: center; }
.phones img { width: clamp(150px, 16vw, 230px); border-radius: 28px 28px 0 0; border: 8px solid var(--ink); border-bottom: 0; box-shadow: 0 30px 60px rgba(12,13,34,.25); }
.phones img:nth-child(2) { margin-bottom: 0; transform: translateY(-34px); }

/* Footer */
footer { padding: 72px 0 48px; color: var(--muted); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .legal { width: 100%; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }

/* Legal pages */
.page { max-width: 760px; margin: 0 auto; padding: 130px var(--gutter) 40px; }
.page h1 { font-size: clamp(40px, 6vw, 72px); max-width: none; margin-bottom: 12px; }
.page .updated { color: var(--muted); margin: 0 0 40px; }
.page h2 { font: 600 24px/1.25 var(--serif); letter-spacing: -.01em; margin: 40px 0 10px; max-width: none; }
.page p, .page li { color: rgba(246,243,236,.84); }
.page a { color: var(--sky); }
.page .box { border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; margin: 28px 0; }

@media (max-width: 900px) {
  .hero::before { background: linear-gradient(180deg, rgba(12,13,34,.55) 0%, rgba(12,13,34,.35) 30%, rgba(12,13,34,.88) 58%, var(--ink) 92%); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .numbers div:nth-child(-n+2) { border-top: 0; }
  .numbers div:last-child { grid-column: span 2; }
  .intro, .download { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values article, .values article + article { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .world { columns: 1; }
  .phones img:nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  .nav a.get { display: none; }
  .store { flex: 1 1 100%; justify-content: center; }
  .eyebrow { font-size: 11px; letter-spacing: .12em; }
  .phones img { width: 46%; }
}
@media (prefers-reduced-motion: reduce) {
  .row { animation: none; }
  html { scroll-behavior: auto; }
}
