@font-face { font-family: "Archivo"; src: url("fonts/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/HankenGrotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
:root {
  --sky: #cfe4f6; --sky-hi: #fbfdff; --ink: #0f1620; --mute: #5a6573; --night: #0c1117; --paper: #f5f7f9; --line: rgba(15,22,32,.14);
  --display: "Archivo", system-ui, sans-serif; --text: "Hanken Grotesk", system-ui, sans-serif;
  --gut: clamp(20px, 5vw, 72px); --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis { height: auto; } .lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--sky-hi); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* nav */
.nav { position: fixed; z-index: 30; inset: 0 0 auto; display: flex; align-items: center; gap: 24px; padding: calc(env(safe-area-inset-top) + 14px) var(--gut) 14px; background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(15,22,32,.08); }
.nav a { text-decoration: none; }
.nav__mark { font: 700 22px/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; text-transform: uppercase; }
.nav__links { display: none; gap: 26px; margin-left: auto; font: 500 15px var(--text); }
.nav__cta { margin-left: auto; font: 600 14px var(--text); border-radius: 999px; padding: 9px 18px; background: var(--ink); color: #fff; }
@media (min-width: 860px) { .nav__links { display: flex; } .nav__cta { margin-left: 26px; } }

/* hero */
.hero { position: relative; height: 112vh; height: 112svh; overflow: hidden; background: linear-gradient(180deg, #a9d0f0 0%, var(--sky) 45%, var(--sky-hi) 100%); }
.hero__sky { position: absolute; inset: 0; }
.hero__img { position: absolute; left: 50%; bottom: 2%; width: max(240%, 900px); max-width: none; transform: translateX(-66%); transform-origin: 50% 80%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, #000 34%); }
@media (min-width: 860px) { .hero__img { width: 112%; bottom: -8%; transform: translateX(-50%); } }
.hero__clouds { position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(180deg, rgba(238,246,253,0), var(--sky-hi) 70%); pointer-events: none; }
.hero__copy { position: relative; z-index: 2; padding: calc(env(safe-area-inset-top) + 120px) var(--gut) 0; text-align: center; }
.hero__title { margin: 0; font: 600 clamp(48px, 10vw, 148px)/.92 var(--display); font-stretch: 108%; letter-spacing: -.045em; color: var(--ink); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line span { display: inline-block; }
.hero__sub { max-width: 30ch; margin: 22px auto 26px; font-size: clamp(17px, 1.6vw, 21px); color: #304050; }
.pill { display: inline-flex; gap: 10px; align-items: center; background: var(--ink); color: #fff; text-decoration: none; font: 600 15px var(--text); padding: 14px 22px; border-radius: 999px; transition: transform .4s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill i { font-style: normal; transition: transform .4s var(--ease); }
.pill:hover i { transform: translateX(4px); }

/* wordmark */
.mark { height: 460vh; background: var(--sky-hi); }
.mark__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-content: center; text-align: center; overflow: hidden; }
.mark__full { position: absolute; inset: 0; background: url("img/a_city.webp") center/cover; }
/* one photo: a sky-coloured veil with the word knocked out (screen blend: black text = window) */
.mark__veil { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: #fff; mix-blend-mode: screen; }
.mark__word { will-change: transform; }
.mark__sub { position: relative; z-index: 2; will-change: transform; }
.mark__word { margin: 0; font: 900 clamp(96px, 30vw, 520px)/.8 var(--display); font-stretch: 125%; letter-spacing: -.06em;
  color: #000; }
.mark__sub { margin: 18px 0 0; font: 500 clamp(18px, 2.6vw, 34px) var(--display); font-stretch: 100%; letter-spacing: -.01em; color: var(--ink); }

/* statement */
.statement { position: relative; padding: 0 var(--gut) 18vh; background: var(--sky-hi); margin-top: -1px; }
.statement__img { margin: 0 calc(var(--gut) * -1); height: 100vh; height: 100svh; overflow: hidden; }
.statement__img img { width: 100%; height: 112%; object-fit: cover; }
.statement__text { position: absolute; z-index: 2; left: 50%; bottom: 8vh; width: min(88vw, 24ch); margin: 0; transform: translateX(-50%); text-align: left; padding: 34px 30px; background: var(--paper); font: 500 clamp(26px, 4.2vw, 58px)/1.08 var(--display); font-stretch: 100%; letter-spacing: -.025em; }
.statement__text .w { opacity: .14; transition: opacity .2s; }
@media (min-width: 860px) { .statement__text { width: 24ch; padding: 56px 60px; } }

/* help rows */
.help { background: var(--night); color: #f2f4f6; padding: 120px var(--gut) 100px; }
.help__title { margin: 0 0 60px; font: 500 clamp(30px, 4vw, 54px)/1.02 var(--display); letter-spacing: -.02em; color: #b8c2cc; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.row { position: relative; border-bottom: 1px solid rgba(255,255,255,.16); }
.row a { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: center; padding: 28px 0; text-decoration: none; }
.row__word { font: 600 clamp(64px, 14vw, 210px)/.86 var(--display); font-stretch: 110%; letter-spacing: -.05em; transition: transform .7s var(--ease), color .4s; }
.row__arrow { font-style: normal; font: 300 clamp(40px, 6vw, 90px)/1 var(--text); transition: transform .6s var(--ease); }
.row__note { grid-column: 1 / -1; max-width: 40ch; color: #9aa6b2; font-size: 16px; }
.row__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 28px; border-radius: 4px; }
@media (min-width: 860px) {
  .row a { grid-template-columns: 1fr 34ch auto; }
  .row__note { grid-column: auto; }
  .row__img { position: absolute; z-index: 1; right: 18%; top: 50%; width: 360px; margin: 0; opacity: 0; transform: translate(0, -50%) scale(.85) rotate(-3deg); transition: opacity .45s, transform .7s var(--ease); pointer-events: none; }
  .row:hover .row__img { opacity: 1; transform: translate(0, -50%) scale(1) rotate(0); }
  .row:hover .row__word { transform: translateX(24px); }
  .row:hover .row__arrow { transform: translateX(10px) rotate(-45deg); }
}

/* journal */
.journal { background: var(--paper); }
.journal__pin { overflow: hidden; padding: 110px 0 90px; }
.journal__title { margin: 0 var(--gut) 40px; font: 600 clamp(54px, 9vw, 130px)/.9 var(--display); font-stretch: 108%; letter-spacing: -.05em; }
.journal__track { display: flex; gap: 22px; padding: 0 var(--gut); width: max-content; }
.post { width: min(78vw, 420px); }
.post img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.post__tag { margin: 16px 0 6px; font: 600 13px var(--text); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.post h3 { margin: 0; font: 500 clamp(22px, 2vw, 28px)/1.15 var(--display); letter-spacing: -.015em; }

/* close */
.close { position: relative; min-height: 100vh; overflow: hidden; display: grid; place-items: center; color: #fff; }
.close__img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.close::after { content: ""; position: absolute; inset: 0; background: rgba(8,12,18,.35); }
.close__copy { position: relative; z-index: 2; text-align: center; padding: 0 var(--gut); }
.close__title { margin: 0 0 32px; font: 600 clamp(40px, 7vw, 104px)/.95 var(--display); font-stretch: 106%; letter-spacing: -.045em; }
.close__form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 520px; margin: 0 auto; }
.close__form input { flex: 1 1 240px; font: 400 17px var(--text); padding: 15px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.close__form input::placeholder { color: rgba(255,255,255,.75); }
.close__form button { font: 600 16px var(--text); padding: 15px 24px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); cursor: pointer; }
.close__msg { flex-basis: 100%; min-height: 1.5em; margin: 6px 0 0; font-size: 15px; }

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 26px var(--gut) calc(env(safe-area-inset-bottom) + 26px); font-size: 14px; color: var(--mute); background: var(--paper); }
.foot p { margin: 0; }
.foot__credit { display: flex; align-items: center; gap: 8px; }
.foot__credit img { width: 24px; height: 24px; border-radius: 6px; }
.foot__credit a { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .statement__text .w { opacity: 1; } }
