/* silemimarlikofisi.com — Karadeniz: night forest, fog, lighthouse beam */
@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage-tr.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Fallback";
  src: local("Arial");
  size-adjust: 98%;
  ascent-override: 93%;
  descent-override: 27%;
}

:root {
  --ink: #0b1311;
  --ink-2: #101b18;
  --ink-3: #172520;
  --fog: #e6ebe7;
  --fog-2: #a9b8b1;
  --paper: #e9ede8;
  --beam: #f2c665;
  --moss: #3b5649;
  --sea: #7e9ea0;
  --line: rgba(230, 235, 231, .14);
  --g: clamp(16px, 4.2vw, 64px);
  --max: 1480px;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --font: "Bricolage", "Bricolage Fallback", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  font-weight: 380;
  font-stretch: 96%;
  font-optical-sizing: auto;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.hero__media picture, [class*="__img"] picture, .seq__frame picture, .mat__media picture, .nf__img picture { width: 100%; height: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--beam); }
:focus-visible { outline: 2px solid var(--beam); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: .95; text-wrap: balance; }
address { font-style: normal; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--beam); color: var(--ink); padding: .6em 1em; border-radius: 99px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--g), var(--max)); margin-inline: auto; }

.eyebrow, .label {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 560; font-stretch: 100%;
  color: var(--fog-2); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 1.6em; height: 1px; background: var(--beam); vertical-align: .32em; margin-right: .7em; }
.h1 { font-size: clamp(3rem, 1rem + 8.4vw, 9rem); font-stretch: 75%; letter-spacing: -.025em; line-height: .88; }
.h2 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 5.2rem); font-stretch: 78%; letter-spacing: -.02em; line-height: .92; margin-bottom: .45em; }
.h3 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.2rem); font-stretch: 82%; letter-spacing: -.01em; line-height: 1; margin-bottom: .5em; }
.lead { font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); line-height: 1.42; max-width: 46ch; color: var(--fog); font-weight: 340; }
.muted { color: var(--fog-2); max-width: 52ch; }
.arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 560; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: .2em; }
.arrow::after { content: "→"; transition: transform .4s var(--ease); }
.arrow:hover::after { transform: translateX(.35em); }

.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: .8rem 1.5rem; border-radius: 99px;
  text-decoration: none; font-weight: 600; font-stretch: 92%; letter-spacing: .01em;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--beam { background: var(--beam); color: var(--ink); }
.btn--beam:hover { background: var(--fog); color: var(--ink); }
.btn--line { border: 1px solid rgba(230, 235, 231, .4); color: var(--fog); }
.btn--line:hover { border-color: var(--beam); color: var(--beam); }

/* Header */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 1.5rem;
  padding: 14px var(--g); view-transition-name: hdr;
  background: linear-gradient(rgba(11, 19, 17, .7), rgba(11, 19, 17, 0));
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; color: var(--fog); }
.brand__txt { font-size: 1.02rem; font-stretch: 82%; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.brand__txt b { font-weight: 760; }
.nav ul { display: flex; gap: clamp(.9rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--beam); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hdr__call { text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 99px; white-space: nowrap; }
.hdr__call:hover { border-color: var(--beam); }

.crumbs { padding-top: 104px; font-size: .85rem; color: var(--fog-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { text-decoration: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-content: end; overflow: clip; isolation: isolate; padding-bottom: clamp(2rem, 6vh, 5rem); }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.72) contrast(1.05); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, var(--ink) 4%, rgba(11, 19, 17, .55) 40%, rgba(11, 19, 17, .1) 70%, rgba(11, 19, 17, .45)); }
.hero__title { font-size: clamp(3.6rem, min(1rem + 12vw, 17.5vh), 13rem); font-stretch: 75%; line-height: .84; letter-spacing: -.035em; margin: 0 0 .25em -.04em; }
.hero__title .ln { display: block; overflow: clip; padding-bottom: .04em; }
.hero__title .ln > span { display: inline-block; }
.hero__title .ln:nth-child(2) { color: transparent; -webkit-text-stroke: 1.5px var(--fog); }
.hero__title .ln:nth-child(3) { color: var(--beam); }
.hero__lead { max-width: 38ch; font-size: clamp(1.1rem, 1rem + .55vw, 1.45rem); line-height: 1.45; font-weight: 340; }
.hero__note { position: absolute; right: var(--g); bottom: 1.2rem; width: auto; margin: 0; font-size: .74rem; color: var(--fog-2); letter-spacing: .04em; writing-mode: vertical-rl; transform: rotate(180deg); }

/* fog + lighthouse beam */
.fog { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fog i { position: absolute; width: 90vw; height: 50vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(220, 228, 224, .26), rgba(220, 228, 224, 0)); filter: blur(30px); }
.fog i:nth-child(1) { left: -20vw; top: 40%; }
.fog i:nth-child(2) { left: 30vw; top: 58%; width: 110vw; opacity: .8; }
.fog i:nth-child(3) { left: -10vw; top: 72%; width: 70vw; opacity: .9; }
.beam { position: absolute; z-index: -1; right: -40vmax; top: -40vmax; width: 120vmax; height: 120vmax; pointer-events: none; mix-blend-mode: screen;
  background: conic-gradient(from 200deg at 50% 50%, transparent 0deg, rgba(242, 198, 101, .16) 8deg, rgba(242, 198, 101, .02) 22deg, transparent 30deg, transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, #000 20%, transparent); mask: radial-gradient(closest-side, #000 20%, transparent); opacity: .9; }

@media (prefers-reduced-motion: no-preference) {
  .fog i:nth-child(1) { animation: drift 46s ease-in-out infinite alternate; }
  .fog i:nth-child(2) { animation: drift 64s ease-in-out infinite alternate-reverse; }
  .fog i:nth-child(3) { animation: drift 38s ease-in-out infinite alternate; }
  .beam { animation: sweep 18s linear infinite; }
  .hero__title .ln > span { animation: rise 1.2s var(--ease) both; }
  .hero__title .ln:nth-child(2) > span { animation-delay: .08s; }
  .hero__title .ln:nth-child(3) > span { animation-delay: .16s; }
  .hero__lead, .hero .btns, .hero .eyebrow { animation: fadeUp 1.2s .35s var(--ease) both; }
}
@keyframes drift { to { transform: translate3d(22vw, -4vh, 0) scale(1.15); } }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; }
.ticker__track { display: flex; width: max-content; }
.ticker__track span { display: flex; align-items: center; font-size: clamp(1.6rem, 1rem + 2.4vw, 3.2rem); font-stretch: 75%; font-weight: 300; white-space: nowrap; color: var(--fog-2); }
.ticker__track i { font-style: normal; color: var(--beam); font-size: .5em; margin: 0 .9em; }

/* Manifest */
.manifest { padding-block: clamp(5rem, 14vh, 11rem); }
.manifest .h2 { max-width: 12ch; }
.manifest__text { max-width: 30ch; margin-left: auto; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.5rem); line-height: 1.22; font-weight: 360; font-stretch: 88%; letter-spacing: -.01em; }
.manifest__text p { margin-bottom: 1.1em; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: clamp(3rem, 8vh, 6rem) 0 0; background: var(--line); border-block: 1px solid var(--line); }
.facts div { background: var(--ink); padding: 1.6rem 1.2rem 1.4rem 0; }
.facts dt { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 5rem); font-stretch: 75%; font-weight: 700; line-height: 1; color: var(--beam); letter-spacing: -.02em; }
.facts dd { margin: .5rem 0 0; color: var(--fog-2); font-size: .95rem; max-width: 22ch; }

/* Weather */
.weather { position: relative; padding-block: 4rem; background: linear-gradient(var(--ink), var(--ink-2) 20%, var(--ink-2) 80%, var(--ink)); }
.weather__head { margin-bottom: 2.4rem; }
.weather__track { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0 var(--g) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.wcard { flex: 0 0 min(86vw, 520px); scroll-snap-align: start; display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.wcard__n { font-size: .8rem; color: var(--beam); letter-spacing: .12em; }
.wcard__t { font-size: clamp(2.8rem, 2rem + 3vw, 5.2rem); font-stretch: 75%; letter-spacing: -.03em; margin: .1em 0 .3em; }
.wcard p { color: var(--fog-2); max-width: 40ch; }
.wcard p a { color: var(--fog); }
.wcard__img { margin-top: auto; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform 1.2s var(--ease), filter .6s; }
.wcard:hover .wcard__img img { transform: scale(1.04); filter: saturate(1); }

/* 302/15 sequence – static fallback first */
.seq { padding-block: 4rem; }
.seq__head { margin-bottom: 2rem; }
.seq__stage { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; width: min(100% - 2 * var(--g), var(--max)); margin-inline: auto; }
.seq__frame { margin: 0; background: #f4f2ec; aspect-ratio: 1; overflow: hidden; border-radius: 3px; }
.seq__frame img { width: 100%; height: 100%; object-fit: cover; }
.seq__caps { list-style: none; padding: 0; width: min(100% - 2 * var(--g), var(--max)); margin: 1.5rem auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.seq__cap { display: grid; gap: .2rem; font-size: .95rem; color: var(--fog-2); }
.seq__cap b { color: var(--fog); font-size: 1.15rem; font-stretch: 85%; }
.seq__k { color: var(--beam); font-size: .78rem; letter-spacing: .12em; }
.seq__bar { display: none; }

/* Works */
.works { padding-block: clamp(5rem, 12vh, 9rem); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(2rem, 6vh, 4rem); }
.sec-head .eyebrow, .sec-head .muted { grid-column: 1 / -1; }
.sec-head .muted { grid-column: 1; }
.sec-head .h2 { margin: 0; }
.works__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2.5rem, 6vh, 5rem) clamp(1rem, 2.5vw, 2.5rem); }
.work a { display: block; text-decoration: none; }
.work__img { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 2px; background: var(--ink-3); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.85); }
.work a:hover .work__img img { transform: scale(1.05); filter: saturate(1); }
.work__t { font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); font-stretch: 80%; margin: 1rem 0 .3rem; letter-spacing: -.01em; }
.work__m { color: var(--fog-2); font-size: .92rem; margin: 0; }
.work:nth-child(4n+1) { grid-column: 1 / span 7; }
.work:nth-child(4n+2) { grid-column: 9 / span 4; margin-top: 16vh; }
.work:nth-child(4n+2) .work__img, .work:nth-child(4n+3) .work__img { aspect-ratio: 4 / 5; }
.work:nth-child(4n+3) { grid-column: 2 / span 4; }
.work:nth-child(4n+4) { grid-column: 7 / span 6; margin-top: 10vh; }

/* Voices */
.voices { padding-block: clamp(5rem, 12vh, 9rem); background: var(--ink-2); border-block: 1px solid var(--line); }
.voices__list { columns: 2 340px; column-gap: clamp(2rem, 5vw, 5rem); margin: 2.5rem 0 1.5rem; }
.quote { break-inside: avoid; margin: 0 0 2.5rem; }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem); line-height: 1.3; font-stretch: 88%; font-weight: 380; }
.quote blockquote p::before { content: "“"; color: var(--beam); }
.quote blockquote p::after { content: "”"; color: var(--beam); }
.quote figcaption { margin-top: .6rem; color: var(--fog-2); font-size: .88rem; }
.voices--all .quote blockquote { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); }
.voices--one .quote--big blockquote { font-size: clamp(1.8rem, 1rem + 3vw, 3.6rem); max-width: 22ch; line-height: 1.12; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(5rem, 12vh, 9rem); }
.visit__img { aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
.visit__img img { width: 100%; height: 100%; object-fit: cover; }
.visit__addr { font-size: 1.15rem; margin: 1.5rem 0 0; padding-left: 1rem; border-left: 2px solid var(--beam); }

/* Inner pages */
.page-head { padding-block: clamp(2.5rem, 7vh, 5rem) clamp(2.5rem, 7vh, 4.5rem); }
.page-head .h1 { margin-bottom: .35em; max-width: 14ch; }
.band { background: var(--paper); color: var(--ink); border-radius: 4px; padding: clamp(1.8rem, 4vw, 3.2rem); margin-block: clamp(3rem, 8vh, 6rem); }
.band a { color: var(--ink); font-weight: 600; }
.band a:hover { color: var(--moss); }
.band p { max-width: 70ch; margin: 0; }

/* Ledger (works index) */
.chips { border: 0; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; position: sticky; top: 64px; z-index: 5; padding-block: .8rem; background: linear-gradient(var(--ink) 75%, rgba(11, 19, 17, 0)); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { cursor: pointer; border: 1px solid var(--line); border-radius: 99px; padding: .45rem 1rem; font-weight: 520; font-size: .95rem; transition: background .3s, color .3s, border-color .3s; }
.chips label small { color: var(--fog-2); margin-left: .25em; }
.chips input:checked + label { background: var(--fog); color: var(--ink); border-color: var(--fog); }
.chips input:checked + label small { color: var(--moss); }
.chips input:focus-visible + label { outline: 2px solid var(--beam); outline-offset: 2px; }
.ledger:has(#f-2026:checked) .yr:not([data-y="2026"]),
.ledger:has(#f-2025:checked) .yr:not([data-y="2025"]),
.ledger:has(#f-2024:checked) .yr:not([data-y="2024"]),
.ledger:has(#f-2023:checked) .yr:not([data-y="2023"]),
.ledger:has(#f-old:checked) .yr:not(.yr--old),
.ledger:has(#f-done:checked) .yr:not(:has(.row--st)),
.ledger:has(#f-done:checked) .row:not(.row--st) { display: none; }
.yr { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 1rem clamp(1.5rem, 4vw, 4rem); padding-block: 2.5rem; border-top: 1px solid var(--line); }
.yr__head { align-self: start; position: sticky; top: 140px; }
.yr__n { font-size: clamp(3.5rem, 2rem + 5vw, 7.5rem); font-stretch: 75%; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--beam); letter-spacing: -.03em; }
.yr__c { color: var(--beam); margin: .6rem 0 .8rem; font-weight: 600; }
.yr__note { color: var(--fog-2); font-size: .95rem; max-width: 34ch; }
.rows { list-style: none; margin: 0; padding: 0; }
.row a { display: grid; grid-template-columns: 96px 1.6fr 1fr 1fr .9fr; gap: 1.2rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .3s, padding .4s var(--ease); }
.row a:hover { background: var(--ink-3); padding-inline: .6rem; color: var(--fog); }
.row__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); border-radius: 2px; }
.row__img img { width: 100%; height: 100%; object-fit: cover; }
.row__t { font-size: 1.15rem; font-stretch: 86%; font-weight: 600; line-height: 1.15; }
.row__p, .row__k { color: var(--fog-2); font-size: .92rem; }
.row__s { color: var(--beam); font-size: .85rem; }

/* Materials */
.toc { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; }
.toc a { text-decoration: none; font-size: 1.3rem; font-stretch: 80%; font-weight: 600; border-bottom: 1px solid var(--line); }
.mat { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; border-top: 1px solid var(--line); }
.mat__media { position: relative; overflow: hidden; }
.mat__media picture, .mat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mat__body { width: auto; margin: 0; padding: clamp(2.5rem, 8vh, 6rem) var(--g); align-self: center; max-width: 640px; }
.mat:nth-of-type(even) .mat__media { order: 2; }
.mat__n { color: var(--beam); font-size: .85rem; letter-spacing: .1em; }
.mat__body > p:not(.mat__n) { color: var(--fog-2); font-size: 1.08rem; }
.mat__list { margin-top: 2rem; border-top: 1px solid var(--line); }
.mat__list summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.mat__list summary::after { content: "+"; color: var(--beam); font-size: 1.4rem; line-height: 1; transition: transform .4s var(--ease); }
.mat__list[open] summary::after { transform: rotate(45deg); }
.mat__list ul { list-style: none; margin: 0; padding: 0 0 1rem; columns: 2 220px; }
.mat__list li { padding: .25rem 0; break-inside: avoid; }
.mat__list li a { text-decoration: none; }
.mat__list li span { display: block; color: var(--fog-2); font-size: .82rem; }

/* Office */
.who { display: grid; grid-template-columns: minmax(200px, .8fr) 2fr; gap: clamp(2rem, 6vw, 6rem); padding-block: 2rem clamp(4rem, 10vh, 7rem); align-items: start; }
.who__mark { aspect-ratio: 3 / 4; display: grid; place-items: center; border: 1px solid var(--line); font-size: clamp(5rem, 3rem + 7vw, 11rem); font-stretch: 75%; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--beam); background: radial-gradient(120% 80% at 50% 0%, var(--ink-3), var(--ink)); }
.who__txt p { max-width: 60ch; }
.who__txt .h2 { margin-bottom: .2em; }
.roles { padding-block: clamp(3rem, 8vh, 6rem); background: var(--ink-2); border-block: 1px solid var(--line); }
.roles__list { list-style: none; padding: 0; display: grid; gap: clamp(3rem, 8vh, 5rem); }
.role { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.role:nth-child(even) .role__img { order: 2; }
.role__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.role__img img { width: 100%; height: 100%; object-fit: cover; }
.role__n { color: var(--beam); font-size: .85rem; letter-spacing: .12em; margin-bottom: .5rem; }
.role__txt > p:not(.role__n):not(.role__p) { color: var(--fog-2); max-width: 52ch; font-size: 1.05rem; }
.role__p { font-size: .9rem; color: var(--fog-2); }
.svc { padding-block: clamp(4rem, 10vh, 7rem); }
.svc__list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.svc__list a { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 1rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease); }
.svc__list a::after { content: "↗"; color: var(--beam); }
.svc__list a:hover { padding-left: 1rem; }
.svc__list b { font-size: clamp(1.3rem, 1rem + 1vw, 2rem); font-stretch: 80%; font-weight: 650; }
.svc__list span { color: var(--fog-2); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); padding-bottom: clamp(3rem, 8vh, 5rem); }
.card { border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--ink-2); }
.nap { font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); line-height: 1.35; margin-bottom: 1.5rem; }
.nap b { font-weight: 650; }
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); }
.link { display: flex; flex-direction: column; justify-content: space-between; min-height: 140px; height: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 1.2rem 1.4rem; text-decoration: none; transition: border-color .3s, background .3s; }
.link:hover { border-color: var(--beam); background: var(--ink-3); color: var(--fog); }
.link b { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-stretch: 85%; font-weight: 600; overflow-wrap: anywhere; }
.link .label { margin: 0; }
.bring { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 8vh, 6rem); border-top: 1px solid var(--line); }
.bring__list { margin: 0; padding: 0; list-style: none; counter-reset: b; }
.bring__list li { counter-increment: b; display: grid; grid-template-columns: 3.2rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--fog-2); }
.bring__list li::before { content: counter(b, decimal-leading-zero); color: var(--beam); font-size: .9rem; padding-top: .2rem; }
.bring__list b { color: var(--fog); font-weight: 600; }

/* 404 */
.nf { position: relative; min-height: 100svh; display: grid; align-items: center; isolation: isolate; overflow: clip; }
.nf__img { position: absolute; inset: 0; z-index: -3; }
.nf__img picture, .nf__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.35) saturate(.5); }

/* Footer */
.ftr { position: relative; overflow: clip; border-top: 1px solid var(--line); padding-top: clamp(4rem, 10vh, 7rem); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; position: relative; }
.ftr__big { position: absolute; right: -2vw; bottom: -14vw; font-size: 34vw; font-stretch: 75%; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(230, 235, 231, .08); pointer-events: none; user-select: none; }
.ftr__name { font-weight: 650; font-size: 1.1rem; margin-bottom: .5rem; }
.ftr address, .ftr p { color: var(--fog-2); }
.ftr a { text-decoration: none; }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; color: var(--fog-2); }
.ftr__base { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2.5rem 2rem; margin-top: 4rem; border-top: 1px solid var(--line); color: var(--fog-2); font-size: .85rem; position: relative; }

/* ---------- Scroll-driven motion (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hdr { animation: hdrSolid linear both; animation-timeline: scroll(root); animation-range: 0 240px; }
    .hero__media img { animation: heroOut linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero__inner { animation: heroText linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    .reveal-words { background: linear-gradient(90deg, var(--fog) 50%, rgba(230, 235, 231, .2) 50%) 100% 0 / 200% 100% no-repeat;
      -webkit-background-clip: text; background-clip: text; color: transparent;
      animation: fillText linear both; animation-timeline: view(); animation-range: entry 60% cover 55%; }
    .facts div, .quote, .role, .row, .bring__list li, .svc__list li, .wcard, .link, .card { animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .work__img img { animation: par linear both; animation-timeline: view(); animation-range: cover; scale: 1.14; }
    .work__img { animation: clipUp linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .mat__media img { animation: par linear both; animation-timeline: view(); animation-range: cover; scale: 1.14; }
    .mat__media { animation: clipSide linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .yr__n { animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .ftr__big { animation: ftrIn linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }

    @media (min-width: 900px) {
      .weather { height: 420vh; padding: 0; view-timeline: --wx block; }
      .weather__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 64px; }
      .weather__head { margin-bottom: 1.6rem; }
      .weather__head .h2 { font-size: clamp(2.2rem, 1rem + 3.4vw, 4.4rem); }
      .weather__track { overflow: visible; scroll-snap-type: none; width: max-content; padding-right: var(--g);
        animation: wx linear both; animation-timeline: --wx; animation-range: contain 0% contain 100%; }
      .wcard { flex-basis: clamp(360px, 32vw, 520px); }
      .wcard__img { aspect-ratio: auto; height: min(30vh, 300px); }
    }

    .seq { height: calc(var(--frames) * 75vh + 100vh); padding: 0; view-timeline: --seq block; }
    .seq__pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr auto;
      gap: 0 clamp(1.5rem, 5vw, 5rem); padding: 96px var(--g) 2rem; width: 100%; max-width: calc(var(--max) + 2 * var(--g)); margin-inline: auto; }
    .seq__head { grid-column: 1; grid-row: 1; width: auto; margin: 0; }
    .seq__stage { grid-column: 2; grid-row: 1 / 4; display: block; position: relative; width: 100%; height: 100%; max-height: calc(100svh - 128px); aspect-ratio: auto; margin: 0; }
    .seq__frame { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: 100%; aspect-ratio: 1; }
    .seq__frame:not(:first-child) { animation: frameIn linear both; animation-timeline: --seq;
      animation-range: contain calc(var(--i) / var(--frames) * 100%) contain calc((var(--i) + .4) / var(--frames) * 100%); }
    .seq__caps { grid-column: 1; grid-row: 3; position: relative; display: block; width: auto; height: 9rem; margin: 0; }
    .seq__cap { position: absolute; inset: auto 0 0; font-size: 1.05rem;
      animation: capInOut linear both; animation-timeline: --seq;
      animation-range: contain calc(var(--i) / var(--frames) * 100%) contain calc((var(--i) + 1) / var(--frames) * 100%); }
    .seq__cap b { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.8rem); line-height: 1; margin: .2rem 0 .3rem; }
    .seq__cap:first-child { animation-name: capOut; }
    .seq__cap:last-child { animation-name: capIn; }
    .seq__bar { display: block; grid-column: 1; grid-row: 2; align-self: end; height: 2px; background: var(--line); margin-bottom: 1.5rem; }
    .seq__bar i { display: block; height: 100%; background: var(--beam); transform-origin: left; animation: grow linear both; animation-timeline: --seq; animation-range: contain 0% contain 100%; }
    @media (max-width: 899px) {
      .seq__pin { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding-top: 84px; }
      .seq__head .muted { display: none; }
      .seq__head .h2 { font-size: 2rem; margin-bottom: .6rem; }
      .seq__stage { grid-column: 1; grid-row: 3; max-height: none; }
      .seq__bar { grid-row: 2; margin: 0 0 1rem; }
      .seq__caps { grid-row: 4; height: 7.5rem; margin-top: 1rem; }
      .seq__cap b { font-size: 1.5rem; }
    }

    @view-transition { navigation: auto; }
  }
  /* JS fallback for browsers without scroll timelines (adds .seq--js and toggles .on/.cur) */
  @supports not (animation-timeline: view()) {
    .seq--js { height: calc(var(--frames) * 75vh + 100vh); padding: 0; }
    .seq--js .seq__pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr auto; gap: 0 clamp(1.5rem, 5vw, 5rem); padding: 96px var(--g) 2rem; }
    .seq--js .seq__head { grid-column: 1; width: auto; margin: 0; }
    .seq--js .seq__stage { grid-column: 2; grid-row: 1 / 4; display: block; position: relative; width: 100%; height: 100%; max-height: calc(100svh - 128px); margin: 0; }
    .seq--js .seq__frame { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: 100%; opacity: 0; transition: opacity .5s; }
    .seq--js .seq__frame.on { opacity: 1; }
    .seq--js .seq__caps { grid-column: 1; grid-row: 3; position: relative; display: block; width: auto; height: 9rem; margin: 0; }
    .seq--js .seq__cap { position: absolute; inset: auto 0 0; opacity: 0; transition: opacity .4s; }
    .seq--js .seq__cap.cur { opacity: 1; }
    @media (max-width: 899px) {
      .seq--js .seq__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding-top: 84px; }
      .seq--js .seq__head .muted { display: none; }
      .seq--js .seq__stage { grid-column: 1; grid-row: 2; max-height: none; }
      .seq--js .seq__caps { grid-row: 3; height: 7.5rem; }
    }
  }
  .ticker__track { animation: tick 70s linear infinite; }
  ::view-transition-old(root) { animation: vtOut .45s var(--ease) both; }
  ::view-transition-new(root) { animation: vtIn .6s var(--ease) both; }
}
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes hdrSolid { to { background: rgba(11, 19, 17, .88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); } }
@keyframes heroOut { to { transform: scale(1.12) translateY(8%); filter: saturate(.5) brightness(.3); } }
@keyframes heroText { to { transform: translateY(-12vh); opacity: .1; } }
@keyframes fillText { to { background-position: 0 0; } }
@keyframes up { from { opacity: 0; transform: translateY(40px); } }
@keyframes par { from { transform: translateY(-6%); } to { transform: translateY(6%); } }
@keyframes clipUp { from { clip-path: inset(18% 0 0 0); } }
@keyframes clipSide { from { clip-path: inset(0 0 0 30%); opacity: .3; } }
@keyframes ftrIn { from { transform: translateY(20%); opacity: 0; } }
@keyframes wx { to { transform: translateX(calc(-100% + 100vw)); } }
@keyframes frameIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes capInOut { 0% { opacity: 0; transform: translateY(24px); } 18%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-24px); } }
@keyframes capOut { 0%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-24px); } }
@keyframes capIn { 0% { opacity: 0; transform: translateY(24px); } 18%, 100% { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-2vh); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(3vh); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hdr__call { display: none; }
}
@media (max-width: 899px) {
  .hdr { flex-wrap: wrap; row-gap: .2rem; padding-block: 10px; }
  .nav { order: 3; width: 100%; }
  .nav ul { justify-content: space-between; gap: .5rem; }
  .nav a { font-size: .95rem; }
  .crumbs { padding-top: 112px; }
  .hero { padding-top: 120px; }
  .hero__note { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .manifest__text { margin-left: 0; }
  .works__grid { grid-template-columns: 1fr; }
  .work:nth-child(n) { grid-column: 1; margin-top: 0; }
  .work:nth-child(n) .work__img { aspect-ratio: 4 / 3; }
  .visit, .who, .role, .bring, .contact, .yr, .mat { grid-template-columns: 1fr; }
  .role:nth-child(even) .role__img, .mat:nth-of-type(even) .mat__media { order: 0; }
  .mat__media { min-height: 62vw; }
  .yr__head { position: static; }
  .row a { grid-template-columns: 84px 1fr; gap: .2rem 1rem; }
  .row__img { grid-row: span 3; }
  .row__p, .row__k, .row__s { grid-column: 2; }
  .row__k { display: none; }
  .who__mark { aspect-ratio: 16 / 9; }
  .links { grid-template-columns: 1fr; }
  .link { min-height: 0; gap: .4rem; }
  .svc__list a { grid-template-columns: 1fr auto; }
  .svc__list span { grid-column: 1; }
  .svc__list a::after { grid-row: 1; grid-column: 2; }
  .ftr__grid { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .chips { top: 92px; }
}
@media (max-width: 520px) {
  .brand__txt { font-size: .95rem; }
  .facts dd { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
