/* Türkmenoğlu Metal Çelik. Source stylesheet: tools/build.mjs fingerprints the url()s
   and writes assets/css/main.css. Edit this file, not the output. */

@font-face {
  font-family: Archivo;
  src: url(/assets/fonts/archivo-tr.woff2?v=e257a95310) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url(/assets/fonts/fragment-mono-tr.woff2?v=9c8346419f) format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0d0d0c;
  --ink-2: #171715;
  --paper: #edece7;
  --paper-2: #e1dfd8;
  --red: #e5361f;
  --red-t: #f2492f; /* red for small text: 4.5:1 on the dark grounds */
  --bg: var(--ink);
  --fg: var(--paper);
  --mute: rgba(237, 236, 231, .58);
  --line: rgba(237, 236, 231, .14);
  --g: clamp(16px, 3.2vw, 56px);
  --gap: clamp(12px, 1.6vw, 28px);
  --hdr: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: Archivo, "Helvetica Neue", Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
/* Without JS each section sets its own palette; with JS (html.themed) the body owns it and animates. */
html:not(.themed) [data-theme="light"], body[data-theme="light"] {
  --bg: var(--paper);
  --fg: var(--ink);
  --mute: rgba(13, 13, 12, .6);
  --line: rgba(13, 13, 12, .16);
  --red-t: #c42a15;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hdr); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color .7s var(--ease), color .7s var(--ease);
}
img, video, svg, canvas { display: block; max-width: 100%; }
picture { display: block; background: var(--c, var(--ink-2)); }
picture img { width: 100%; height: 100%; object-fit: cover; }
video { background: var(--c, var(--ink-2)); }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 300; padding: 10px 16px;
  background: var(--red); color: #fff; text-decoration: none; transform: translateY(-160%);
}
.skip:focus { transform: none; }

section[data-theme], footer[data-theme] { background: var(--bg); color: var(--fg); }
html.themed section[data-theme], html.themed footer[data-theme] { background: transparent; color: inherit; }

.label {
  display: flex; align-items: baseline; gap: .6em;
  color: var(--mute);
}
.label span { color: var(--red-t); }
.label sup { font-size: inherit; vertical-align: baseline; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --h: 50px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: color .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: #cf2f19; transform: translateY(102%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: #fff; }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--wa svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.btn--light { background: var(--paper); color: var(--ink); }

/* ---- Header ------------------------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--hdr); padding: 0 var(--g);
  transition: transform .6s var(--ease), background-color .5s, color .7s var(--ease);
}
.hdr.is-hidden { transform: translateY(-105%); }
.hdr.menu-open { color: var(--paper); background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.hdr.is-solid { background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.hdr__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.mark { width: 32px; height: 32px; flex: none; color: currentColor; }
.hdr__brand:hover .mark { animation: spin 1.6s var(--ease); }
@keyframes spin { to { transform: rotate(180deg); } }
.hdr__name {
  display: flex; flex-direction: column; line-height: 1;
  font-size: 16px; font-weight: 800; letter-spacing: -.01em; font-variation-settings: "wdth" 112;
}
.hdr__name small {
  margin-top: 4px; font-family: var(--mono); font-size: 10px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase; opacity: .6;
}
.hdr__nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.hdr__nav a, .ftr__nav a {
  position: relative; text-decoration: none; font-size: 14px; font-weight: 500;
}
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.hdr__end { display: flex; align-items: center; gap: 16px; }
.hdr__clock { opacity: .6; }
.hdr__lang {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: background-color .3s, color .3s;
}
.hdr__lang:hover { background: var(--fg); color: var(--bg); }
.hdr__burger { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.hdr__burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.hdr__burger i:first-of-type { top: 18px; }
.hdr__burger i:last-of-type { top: 25px; }
.hdr__burger[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr) + 24px) var(--g) 28px;
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 6px 0; text-decoration: none;
  font-size: clamp(2.6rem, 12vw, 5rem); font-weight: 750; line-height: 1; letter-spacing: -.02em;
  font-variation-settings: "wdth" 110; border-bottom: 1px solid rgba(237, 236, 231, .12);
}
.menu__nav a .mono { color: var(--red-t); }
.menu__foot { display: flex; justify-content: space-between; opacity: .7; }
.menu__foot a { text-decoration: none; }

/* ---- Intro -------------------------------------------------------------- */
.intro {
  position: fixed; inset: 0; z-index: 120; display: none;
  background: var(--ink); color: var(--paper);
  padding: 22px var(--g);
}
html.intro-on .intro { display: block; animation: intro-failsafe 0s 4.5s forwards; }
@keyframes intro-failsafe { to { visibility: hidden; } }
.intro__top, .intro__bottom { position: absolute; left: var(--g); right: var(--g); display: flex; justify-content: space-between; opacity: .6; }
.intro__top { top: 26px; }
.intro__bottom { bottom: 26px; }
.intro__line { position: absolute; left: var(--g); right: var(--g); top: 50%; height: 1px; }
.intro__line i { position: absolute; inset: 0; background: rgba(237, 236, 231, .12); }
.intro__line b {
  position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px rgba(255, 120, 50, .6);
}
.intro__line b::after {
  content: ""; position: absolute; right: -6px; top: -6px; width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle, #fff6dc 0, #ff9a4a 35%, rgba(229, 54, 31, 0) 70%);
}
.intro__count {
  position: absolute; right: var(--g); top: calc(50% + 18px);
  font-size: clamp(4rem, 15vw, 13rem); font-weight: 160; line-height: .8; letter-spacing: -.03em;
  font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums;
}

/* Behind the intro the hero text waits for the entrance; reveal anyway if scripts never arrive.
   Without the intro it paints at once, so it can be the LCP element. */
html.hero-pre.intro-on .hero__side, html.hero-pre.intro-on .hero__meta, html.hero-pre.intro-on .hero__foot {
  opacity: 0; animation: hero-failsafe 0s 3.5s forwards;
}
@keyframes hero-failsafe { to { opacity: 1; } }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; container-type: inline-size;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto;
  padding: calc(var(--hdr) + 18px) var(--g) 22px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__meta { position: relative; display: flex; flex-wrap: wrap; gap: 6px 28px; opacity: .62; }
.hero__title {
  /* The first line spans the hero; the second must leave room for the intro text beside it. */
  --side: min(380px, 30cqw);
  --fs: min(calc(100cqw * .985 / var(--r1, 6)), calc((100cqw - var(--side) - 48px) / var(--r2, 4.6)), 27vh);
  position: relative; grid-row: 3; grid-column: 1;
  font-size: var(--fs); line-height: .84; letter-spacing: -.025em; font-weight: 400;
  pointer-events: none;
}
.hero__line { display: block; width: max-content; white-space: nowrap; }
.hero__title:lang(tr) { line-height: .97; }
.hero__line, .hero__line .ch { font-variation-settings: "wdth" var(--wd), "wght" var(--wg); }
.hero__line .ch { display: inline-block; }
.hero__line--thin { --wd: 125; --wg: 150; }
.hero__line--bold { --wd: 100; --wg: 880; }
/* Before the entrance the headline is already painted, drawn thin and narrow; the entrance fills it in. */
html.hero-pre .hero__line--thin { --wd: 62; --wg: 100; animation: hero-thin 0s 3.5s forwards; }
html.hero-pre .hero__line--bold { --wg: 100; animation: hero-bold 0s 3.5s forwards; }
@keyframes hero-thin { to { --wd: 125; --wg: 150; } }
@keyframes hero-bold { to { --wg: 880; } }
.hero__side {
  --side: min(380px, 30cqw);
  position: relative; grid-row: 3; grid-column: 1; justify-self: end; align-self: end;
  width: var(--side); padding-bottom: calc(var(--fs) * .06);
  display: grid; gap: 22px;
}
.hero__lead { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; color: var(--mute); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__foot {
  position: relative; grid-row: 4; display: flex; align-items: center; justify-content: space-between;
  margin-top: clamp(16px, 2.2vw, 30px); padding-top: 14px; border-top: 1px solid var(--line);
}
.hero__tags { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 3vw, 44px); }
.hero__tags li { display: flex; gap: 10px; opacity: .8; }
.hero__tags span { color: var(--red-t); }
.hero__scroll { display: flex; align-items: center; gap: 12px; text-decoration: none; opacity: .7; }
.hero__scroll i { position: relative; width: 1px; height: 30px; background: var(--line); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 12px; background: var(--red);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { from { transform: translateY(-14px); } to { transform: translateY(32px); } }

/* ---- About -------------------------------------------------------------- */
.about {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap);
  padding: clamp(110px, 15vw, 240px) var(--g) clamp(90px, 11vw, 170px);
}
.about .label { grid-column: 1 / 4; }
.about__text {
  grid-column: 4 / -1;
  font-size: clamp(1.7rem, 3.7vw, 3.9rem); line-height: 1.06; letter-spacing: -.02em;
  font-weight: 500; font-variation-settings: "wdth" 94; text-wrap: pretty;
}
.about__text .wd { transition: none; }
.about__facts {
  grid-column: 4 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
  margin: clamp(48px, 6vw, 90px) 0 0; padding-top: 18px; border-top: 1px solid var(--line);
}
.about__facts dt { color: var(--mute); margin-bottom: 8px; }
.about__facts dd { margin: 0; font-size: clamp(1rem, 1.35vw, 1.3rem); font-weight: 600; font-variation-settings: "wdth" 104; }

/* ---- Work --------------------------------------------------------------- */
.work { position: relative; }
.work__pin { position: relative; }
.work__rail { display: flex; align-items: center; gap: clamp(40px, 6vw, 110px); padding: 0 var(--g); width: max-content; will-change: transform; }
.work__intro { width: min(36vw, 560px); flex: none; display: grid; gap: 22px; align-content: center; }
.work__title {
  font-size: clamp(2.8rem, 6.8vw, 7.6rem); line-height: .9; letter-spacing: -.035em;
  font-weight: 760; font-variation-settings: "wdth" 86;
}
.work__lead { color: var(--mute); max-width: 36ch; font-size: clamp(15px, 1.15vw, 18px); }
.work__hint { display: flex; align-items: center; gap: 12px; opacity: .6; }
.work__hint i { width: 42px; height: 1px; background: currentColor; position: relative; overflow: hidden; }
.work__hint i::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: slide 2s var(--ease) infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.work__cards { display: flex; align-items: center; gap: clamp(28px, 4vw, 72px); }
.card {
  --cw: clamp(240px, min(29vw, calc((100svh - 400px) * .75)), 500px);
  position: relative; flex: none; width: var(--cw); transform-origin: 50% 100%;
}
.card--low { margin-top: 11svh; }
.card:not(.card--low) { margin-bottom: 11svh; }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c); }
.card__img, .card__media picture { position: absolute; inset: -2% -9%; width: 118%; height: 104%; }
.card__media video.card__img { object-fit: cover; max-width: none; }
.card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35));
  opacity: 0; transition: opacity .6s var(--ease);
}
.card:hover .card__media::after { opacity: 1; }
.card__img img, .card__media video { transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding-top: 14px; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; color: var(--mute); }
.card__meta span:first-child { color: var(--red-t); }
.card__title { margin: 8px 0 14px; font-size: clamp(1.25rem, 1.7vw, 1.85rem); line-height: 1.05; letter-spacing: -.015em; font-weight: 650; font-variation-settings: "wdth" 96; }
.card__open { text-align: left; font-variation-settings: inherit; letter-spacing: inherit; line-height: inherit; }
.card__open::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card__open:focus-visible { outline: none; }
.card:has(.card__open:focus-visible) { outline: 2px solid var(--red); outline-offset: 6px; }
.card__foot { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); color: var(--mute); }
.card__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.card__cta svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.card:hover .card__cta svg { transform: translate(2px, -2px) rotate(45deg); }
.work__progress { display: none; }

/* Without the pinned track (no JS, reduced motion) wide screens get a plain grid. */
@media (min-width: 900px) {
  html:not(.hscroll) .work { padding: clamp(90px, 10vw, 170px) 0; }
  html:not(.hscroll) .work__rail { display: block; width: auto; padding: 0 var(--g); }
  html:not(.hscroll) .work__intro { width: auto; max-width: 720px; margin-bottom: clamp(48px, 6vw, 90px); }
  html:not(.hscroll) .work__hint { display: none; }
  html:not(.hscroll) .work__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) var(--gap); align-items: start; }
  html:not(.hscroll) .card { width: auto; margin: 0; }
}
html.hscroll .work__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
html.hscroll .work__progress {
  position: absolute; left: var(--g); right: var(--g); bottom: 26px;
  display: flex; align-items: center; gap: 16px;
}
.work__progress i { position: relative; flex: 1; height: 1px; background: var(--line); }
.work__progress b { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ---- Reel --------------------------------------------------------------- */
.reel { position: relative; }
.reel__sticky { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.reel__frame {
  --x: 0%; --y: 0%;
  position: absolute; inset: 0; clip-path: inset(var(--y) var(--x));
}
.reel__video { width: 100%; height: 100%; object-fit: cover; }
.reel__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, .45)), linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 30%, transparent 70%, rgba(0, 0, 0, .35));
}
.reel__hud { position: absolute; inset: calc(var(--y) + 18px) calc(var(--x) + 18px); z-index: 2; color: #fff; pointer-events: none; }
.reel__hud > span { position: absolute; }
.reel__hud > span:nth-child(1) { left: 16px; top: 14px; }
.reel__hud > span:nth-child(2) { right: 16px; top: 14px; }
.reel__hud > span:nth-child(3) { right: 16px; bottom: 14px; opacity: .7; }
.reel__rec { display: flex; align-items: center; gap: 8px; }
.reel__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.reel__hud .c { position: absolute; width: 18px; height: 18px; border: 0 solid #fff; }
.c--tl { left: 0; top: 0; border-left-width: 1.5px !important; border-top-width: 1.5px !important; }
.c--tr { right: 0; top: 0; border-right-width: 1.5px !important; border-top-width: 1.5px !important; }
.c--bl { left: 0; bottom: 0; border-left-width: 1.5px !important; border-bottom-width: 1.5px !important; }
.c--br { right: 0; bottom: 0; border-right-width: 1.5px !important; border-bottom-width: 1.5px !important; }
.reel__word {
  position: absolute; top: 50%; z-index: 3; margin: -.4em 0 0;
  font-size: clamp(3rem, 12.5vw, 15rem); line-height: .8; letter-spacing: -.03em;
  font-weight: 860; font-variation-settings: "wdth" 118; color: #fff; white-space: nowrap;
  pointer-events: none; display: none; mix-blend-mode: difference;
}
.reel__word--l { right: 50%; padding-right: 1.2vw; }
.reel__word--r { left: 50%; padding-left: 1.2vw; }
.reel__caption { position: absolute; left: var(--g); bottom: 22px; z-index: 3; display: flex; gap: 10px; opacity: .85; max-width: 60ch; }
.reel__caption span { color: var(--red-t); }
html.motion .reel { height: 280vh; height: 280svh; }
html.motion .reel__sticky { position: sticky; top: 0; }
html.motion .reel__frame { --x: 34%; --y: 30%; }
html.motion .reel__word { display: block; }

/* ---- Section heads ------------------------------------------------------ */
.sec-head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px var(--gap);
  margin-bottom: clamp(52px, 7vw, 110px);
}
.sec-head .label { grid-column: 1 / 4; padding-top: .6em; }
.sec-head h2 {
  grid-column: 4 / -1;
  font-size: clamp(2.5rem, 6.6vw, 7.4rem); line-height: .9; letter-spacing: -.035em;
  font-weight: 740; font-variation-settings: "wdth" 86; text-wrap: balance;
}
.sec-head__lead { grid-column: 4 / 10; color: var(--mute); font-size: clamp(15px, 1.25vw, 19px); max-width: 52ch; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; will-change: transform; }

/* ---- Services ----------------------------------------------------------- */
.services { position: relative; padding: clamp(110px, 12vw, 210px) var(--g) clamp(90px, 10vw, 170px); }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__item {
  position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap); align-items: center;
  padding: clamp(16px, 1.8vw, 28px) 0; border-bottom: 1px solid var(--line);
}
.svc__n { grid-column: 1 / 4; color: var(--mute); transition: color .4s; }
.svc__t {
  grid-column: 4 / 9; font-size: clamp(1.55rem, 3.4vw, 3.6rem); line-height: 1; letter-spacing: -.025em;
  font-weight: 600; --wd: 88; --wg: 560; font-variation-settings: "wdth" var(--wd), "wght" var(--wg);
  transition: font-variation-settings .7s var(--ease), transform .7s var(--ease);
}
.svc__d { grid-column: 9 / -1; color: var(--mute); max-width: 36ch; font-size: clamp(14px, 1vw, 16px); }
.svc__thumb { display: none; }
.svc__item::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .svc__item:hover .svc__t { --wd: 122; --wg: 780; transform: translateX(.2em); }
  .svc__item:hover .svc__n { color: var(--red-t); }
  .svc__item:hover::before { transform: scaleX(1); }
}
.svc__float {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(200px, 19vw, 320px); aspect-ratio: 3 / 4;
  visibility: hidden;
}
.svc__float-img { position: absolute; inset: 0; overflow: hidden; clip-path: inset(100% 0 0 0); background: var(--c); }
.svc__float-img picture { width: 100%; height: 100%; }

/* ---- Process ------------------------------------------------------------ */
.process { padding: clamp(110px, 12vw, 210px) var(--g) clamp(60px, 8vw, 140px); }
.process__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.process__steps { grid-column: 1 / 6; list-style: none; margin: 0; padding: 0; }
.step { display: grid; gap: 14px; padding: 28px 0; border-top: 1px solid var(--line); }
.step__n { color: var(--red-t); }
.step__t { font-size: clamp(2rem, 4.4vw, 4.8rem); line-height: .95; letter-spacing: -.03em; font-weight: 720; font-variation-settings: "wdth" 92; }
.step__d { color: var(--mute); max-width: 40ch; font-size: clamp(15px, 1.15vw, 18px); }
.step__img { aspect-ratio: 4 / 3; overflow: hidden; margin-top: 8px; }
.process__stage { display: none; }
@media (min-width: 900px) {
  html.motion .step { min-height: 72svh; align-content: center; border-top: 0; opacity: .22; transition: opacity .6s var(--ease); }
  html.motion .step.is-active { opacity: 1; }
  html.motion .step__img { display: none; }
  html.motion .process__stage {
    display: block; grid-column: 7 / -1; position: sticky; top: calc(50svh - 34svh); height: 68svh; align-self: start;
    margin: 2svh 0 0 clamp(24px, 3vw, 56px);
  }
}
.process__frames { position: absolute; inset: 0; overflow: hidden; }
.process__frame { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.process__frame:first-child { clip-path: inset(0); }
.process__frame picture { width: 100%; height: 100%; }
.process__frame img { transform-origin: 50% 60%; }
.process__tag {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; background: rgba(13, 13, 12, .78); color: var(--paper);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.process__weld { position: absolute; left: calc(-1 * clamp(24px, 3vw, 56px) / 2); top: 0; bottom: 0; width: 1px; background: var(--line); }
.process__weld i { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(0); }
.process__weld b {
  position: absolute; left: -7px; top: 0; width: 15px; height: 15px; border-radius: 50%; margin-top: -7px;
  background: radial-gradient(circle, #fff7e0 0, #ffad5c 30%, rgba(229, 54, 31, .5) 55%, rgba(229, 54, 31, 0) 72%);
  animation: flicker .12s steps(2) infinite;
}
@keyframes flicker { 50% { transform: scale(.82); opacity: .85; } }

/* ---- Field -------------------------------------------------------------- */
.field { padding: clamp(110px, 12vw, 200px) var(--g) clamp(110px, 12vw, 200px); }
.sec-head--row { align-items: end; }
.field__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 36px); align-items: start; }
.field__item { margin: 0; }
.field__item:nth-child(2) { margin-top: clamp(40px, 10vw, 180px); }
.field__item:nth-child(3) { margin-top: clamp(20px, 4vw, 70px); }
.field__video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.field__item figcaption { display: flex; gap: 10px; padding-top: 12px; color: var(--mute); }
.field__item figcaption span { color: var(--red-t); }

/* ---- Materials marquee -------------------------------------------------- */
.materials { background: var(--red); color: var(--ink); overflow: hidden; padding: clamp(14px, 1.6vw, 26px) 0; position: relative; z-index: 1; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; animation: marquee 40s linear infinite; }
html.js .marquee__track { animation: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  padding: 0 .32em; white-space: nowrap; text-transform: uppercase;
  font-size: clamp(2.2rem, 6.4vw, 7rem); line-height: 1; letter-spacing: -.02em; font-weight: 820; font-variation-settings: "wdth" 116;
}
.marquee__sep svg { width: clamp(30px, 4.4vw, 70px); height: auto; fill: currentColor; }

/* ---- Company ------------------------------------------------------------ */
.company {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center;
  padding: clamp(110px, 12vw, 210px) var(--g);
}
.company__img { grid-column: 1 / 6; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.company__img picture { position: absolute; inset: -8% 0; height: 116%; }
.company__img img { object-position: 50% 42%; }
.company__body { grid-column: 7 / -1; display: grid; gap: 22px; }
.company__body h2 { font-size: clamp(2.5rem, 6vw, 6.6rem); line-height: .9; letter-spacing: -.035em; font-weight: 740; font-variation-settings: "wdth" 86; margin-bottom: 10px; }
.company__p { font-size: clamp(16px, 1.35vw, 21px); line-height: 1.45; max-width: 46ch; color: var(--mute); }
.company__p:first-of-type { color: var(--fg); }
.company__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px clamp(24px, 4vw, 64px); margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.company__facts dt { color: var(--mute); margin-bottom: 6px; }
.company__facts dd { margin: 0; font-weight: 600; }
.company__facts a { text-decoration: none; }
.company__facts a:hover { color: var(--red); }

/* ---- Contact ------------------------------------------------------------ */
.contact { padding: clamp(110px, 12vw, 210px) var(--g) clamp(80px, 9vw, 150px); }
.contact__title {
  margin: clamp(18px, 2.4vw, 36px) 0 clamp(48px, 6vw, 100px);
  font-size: clamp(3.2rem, 12.6vw, 15rem); line-height: .9; letter-spacing: -.03em; font-weight: 400;
}
.contact__title > span { display: block; white-space: nowrap; }
.contact__title > span:first-child { font-variation-settings: "wdth" 125, "wght" 170; }
.contact__title > span:last-child { font-variation-settings: "wdth" 100, "wght" 870; }
.contact__title .ch { display: inline-block; font-variation-settings: "wdth" var(--wd), "wght" var(--wg); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 80px) var(--gap); }
.contact__direct { grid-column: 1 / 6; display: grid; align-content: start; gap: 14px; justify-items: start; }
.contact__lead { font-size: clamp(16px, 1.35vw, 21px); color: var(--mute); max-width: 40ch; margin-bottom: 26px; }
.contact__k { color: var(--mute); margin-top: 18px; }
.contact__phone {
  font-size: clamp(2.2rem, 4.6vw, 4.8rem); line-height: 1; letter-spacing: -.02em; font-weight: 720;
  font-variation-settings: "wdth" 108; text-decoration: none; font-variant-numeric: tabular-nums; transition: color .3s;
}
.contact__phone:hover { color: var(--red); }
.contact__place { font-size: 18px; font-weight: 600; }
.contact__place a { margin-left: 10px; font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; color: var(--mute); }
.quote { grid-column: 7 / -1; display: grid; gap: 18px; padding: clamp(22px, 2.6vw, 40px); background: var(--ink-2); border: 1px solid var(--line); }
.quote__title { color: var(--red-t); }
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-in { display: grid; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 8px; transition: border-color .3s; }
.field-in:focus-within { border-color: var(--red); }
.field-in > span, .quote__types legend { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); }
.field-in input, .field-in textarea {
  width: 100%; border: 0; padding: 4px 0; background: transparent; color: var(--fg); resize: vertical;
  font: 500 clamp(16px, 1.3vw, 19px)/1.4 var(--sans); outline: none;
}
.field-in ::placeholder { color: var(--mute); opacity: .55; }
.quote__types { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quote__types legend { margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px;
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s;
}
.chip input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--fg); }
.quote__end { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 8px; }
.quote__note { font-size: 13px; color: var(--mute); max-width: 34ch; }

/* ---- Footer ------------------------------------------------------------- */
.ftr { padding: clamp(40px, 5vw, 70px) var(--g) 24px; border-top: 1px solid var(--line); overflow: hidden; }
.ftr__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.ftr__nav, .ftr__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ftr__nav a, .ftr__links a { text-decoration: none; opacity: .65; transition: opacity .3s; font-size: 11.5px; }
.ftr__nav a:hover, .ftr__links a:hover { opacity: 1; }
.ftr__word {
  --wd: 125;
  margin: clamp(40px, 7vw, 120px) 0 clamp(16px, 2vw, 30px); text-align: center; white-space: nowrap;
  font-size: var(--fw, 15.4vw); line-height: .78; letter-spacing: -.035em; font-weight: 900;
  font-variation-settings: "wdth" var(--wd), "wght" 900;
}
.ftr__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; opacity: .6; }

/* ---- Viewer ------------------------------------------------------------- */
.viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--paper); overflow: hidden;
  --line: rgba(237, 236, 231, .14); --mute: rgba(237, 236, 231, .58); --fg: var(--paper); --bg: var(--ink);
}
.viewer::backdrop { background: rgba(0, 0, 0, .7); }
.viewer[open] { display: block; }
.viewer__in { height: 100%; display: grid; grid-template-columns: minmax(300px, 27vw) 1fr; grid-template-rows: 1fr auto; }
.viewer__info { grid-row: 1 / 3; display: flex; flex-direction: column; gap: 16px; padding: 30px var(--g); border-right: 1px solid var(--line); overflow: auto; }
.viewer__num { color: var(--red-t); margin-top: auto; }
.viewer__title { font-size: clamp(2rem, 3.4vw, 3.6rem); line-height: .95; letter-spacing: -.03em; font-weight: 740; font-variation-settings: "wdth" 88; }
.viewer__cat { color: var(--mute); }
.viewer__text { color: var(--mute); line-height: 1.55; }
.viewer__k { color: var(--mute); margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.viewer__scope { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.viewer__scope li { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.viewer__stage { position: relative; overflow: hidden; touch-action: pan-y; }
.viewer__slide { position: absolute; inset: clamp(16px, 3vw, 48px); display: grid; place-items: center; }
.viewer__slide picture, .viewer__slide video { max-width: 100%; max-height: 100%; background: transparent; }
.viewer__slide img, .viewer__slide video { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; margin: auto; }
.viewer__bar { display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 3vw, 48px); border-top: 1px solid var(--line); min-width: 0; }
.viewer__nav { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s; flex: none; }
.viewer__nav:hover { background: var(--paper); color: var(--ink); }
.viewer__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.viewer__count { min-width: 64px; text-align: center; }
.viewer__thumbs { display: flex; gap: 6px; margin-left: auto; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.viewer__thumbs::-webkit-scrollbar { display: none; }
.viewer__thumbs button { flex: none; width: 46px; height: 58px; overflow: hidden; opacity: .4; transition: opacity .3s; position: relative; background: var(--c); }
.viewer__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--red); }
.viewer__thumbs button:hover { opacity: .85; }
.viewer__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.viewer__thumbs .is-video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: #fff; text-shadow: 0 0 6px #000; }
.viewer__close {
  position: absolute; top: 18px; right: clamp(16px, 3vw, 48px); z-index: 3;
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px;
  background: rgba(13, 13, 12, .6); box-shadow: inset 0 0 0 1px var(--line);
}
.viewer__close i { position: relative; width: 14px; height: 14px; }
.viewer__close i::before, .viewer__close i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.viewer__close i::after { transform: rotate(-45deg); }
.viewer__close:hover { background: var(--red); }

/* ---- Cursor & grain ----------------------------------------------------- */
html.has-cursor .card, html.has-cursor .card__open { cursor: none; }
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--red); }
html.curtain-in body::after {
  content: ""; position: fixed; inset: 0; z-index: 150; background: var(--red); pointer-events: none;
  animation: curtain-out .9s .15s cubic-bezier(.75, 0, .2, 1) forwards;
}
@keyframes curtain-out { to { clip-path: inset(0 0 100% 0); } }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em;
  transform: scale(0); visibility: hidden;
}
.grain {
  position: fixed; inset: -100px; z-index: 100; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-40px, 22px); } 40% { transform: translate(28px, -36px); }
  60% { transform: translate(-18px, 44px); } 80% { transform: translate(46px, 12px); } 100% { transform: translate(0, 0); }
}

/* ---- 404 ---------------------------------------------------------------- */
.nf { min-height: 100vh; display: grid; place-items: center; }
.nf__main { display: grid; gap: 20px; justify-items: start; padding: var(--g); max-width: 900px; }
.nf__code { font-size: clamp(6rem, 30vw, 22rem); line-height: .8; font-weight: 150; font-variation-settings: "wdth" 125; letter-spacing: -.04em; color: var(--red); margin-top: 6vh; }
.nf__title { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "wdth" 90; }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .hdr__clock { display: none; }
}
@media (max-width: 899px) {
  :root { --hdr: 64px; }
  .hdr__nav, .hdr .btn--sm { display: none; }
  .hdr__burger { display: block; }
  .hdr__name { font-size: 15px; }

  .hero { grid-template-rows: auto 1fr auto auto auto; }
  .hero__title { --fs: min(calc(100cqw * .985 / var(--r1, 6)), 17vh); }
  .hero__side { grid-row: 4; justify-self: start; width: auto; max-width: 46ch; padding: 22px 0 0; }
  .hero__foot { grid-row: 5; }
  .hero__tags li:nth-child(n + 3) { display: none; }

  .about, .sec-head, .company, .contact__grid, .process__grid { grid-template-columns: 1fr; }
  .about > *, .sec-head > *, .company > *, .contact__grid > *, .process__grid > * { grid-column: 1 / -1 !important; }
  .about .label { margin-bottom: 22px; }
  .about__facts { grid-template-columns: 1fr; gap: 14px; }
  .about__facts > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

  .work { padding: 90px 0 70px; }
  .work__rail { display: block; width: auto; padding: 0; }
  .work__intro { width: auto; padding: 0 var(--g) 34px; }
  .work__cards {
    gap: 14px; padding: 0 var(--g) 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--g); align-items: flex-start; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .work__cards::-webkit-scrollbar { display: none; }
  .card { --cw: min(78vw, 360px); scroll-snap-align: start; }
  .card--low, .card:not(.card--low) { margin: 0; }
  .work__progress { display: flex; align-items: center; gap: 14px; padding: 6px var(--g) 0; }

  .svc__item { grid-template-columns: 1fr auto; grid-template-areas: "n thumb" "t thumb" "d thumb"; gap: 6px 18px; align-items: start; }
  .svc__n { grid-area: n; }
  .svc__t { grid-area: t; }
  .svc__d { grid-area: d; }
  .svc__thumb { display: block; grid-area: thumb; width: 92px; aspect-ratio: 3 / 4; overflow: hidden; align-self: center; }
  .svc__float { display: none; }

  .step__img { display: block; }

  .field__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); scrollbar-width: none; }
  .field__row::-webkit-scrollbar { display: none; }
  .field__item { flex: none; width: 62vw; scroll-snap-align: start; margin: 0 !important; }

  .company__img { aspect-ratio: 4 / 4.4; }
  .company__facts { grid-template-columns: 1fr; }
  .quote__row { grid-template-columns: 1fr; }

  .reel__hud > span:nth-child(3) { display: none; }
  html.motion .reel { height: 220vh; height: 220svh; }
  html.motion .reel__frame { --x: 10%; --y: 26%; }
  .reel__word { font-size: 17vw; }
  .reel__word--l { right: auto; left: var(--g); top: 12%; margin: 0; padding: 0; }
  .reel__word--r { left: auto; right: var(--g); top: auto; bottom: 12%; margin: 0; padding: 0; }

  .viewer__in { grid-template-columns: 1fr; grid-template-rows: 58vh auto 1fr; }
  .viewer__stage { grid-row: 1; }
  .viewer__bar { grid-row: 2; }
  .viewer__info { grid-row: 3; border-right: 0; border-top: 1px solid var(--line); padding: 22px var(--g) 40px; }
  .viewer__num { margin-top: 0; }
  .viewer__slide img, .viewer__slide video { max-height: calc(58vh - 32px); }
  .viewer__thumbs { display: none; }
  .viewer__count { margin-left: auto; margin-right: auto; }

  .ftr__row { flex-direction: column; }
}
@media (max-width: 520px) {
  .hero__meta span:nth-child(3) { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .contact__phone { font-size: clamp(2rem, 10.5vw, 3rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}
