/* ATN Constructions — v2, editorial one-pager
   Layout: white page, black heavy grotesk. Two-column system: a narrow label column (0–38%)
   and a content column (38–100%). Giant wordmark opens and closes the page. */
:root {
  --ink: #111111;
  --paper: #ffffff;
  --fog: #f3f3f2;          /* fills, inputs, placeholders */
  --mute: #8a8a87;         /* small print */
  --ghost: #d9d9d6;        /* faded index letters, unread words */
  --line: #e6e6e3;
  --dummy: #ffe66d;

  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.6875rem;      /* nav, labels */
  --fs-s: 0.875rem;
  --fs-m: 1.0625rem;
  --fs-l: clamp(1.5rem, 1.2vw + 1.1rem, 2.125rem);
  --fs-xl: clamp(2rem, 2.6vw + 1.2rem, 3.5rem);
  --fs-xxl: clamp(3rem, 6vw + 1rem, 7.5rem);

  --g: clamp(16px, 2.2vw, 32px);     /* side gutter */
  --label: 38%;
  color-scheme: light;
}

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-greek-opsz-normal.woff2") format("woff2-variations"), url("../fonts/inter-greek-opsz-normal.woff2") format("woff2"); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-opsz-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-m); line-height: 1.5; font-weight: 500; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.caps { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.small { font-size: var(--fs-s); line-height: 1.45; }
.mute { color: var(--mute); }
.pad { padding-inline: var(--g); }
.split { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); column-gap: var(--g); }
.split > * { min-width: 0; }
.sticky { position: sticky; top: 96px; align-self: start; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: var(--fs-l); letter-spacing: -0.01em; }
.link-arrow svg { width: .7em; height: .7em; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); border-radius: 99px; padding: 9px 16px; font-size: var(--fs-s); font-weight: 500; text-decoration: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* Dummy content: highlighted only when "show dummy" is on */
.show-dummy .dummy { background: var(--dummy); box-shadow: 0 0 0 2px var(--dummy); color: var(--ink); -webkit-text-fill-color: var(--ink); }
.dummy-toggle { position: fixed; left: var(--g); bottom: 14px; z-index: 60; border: 1px solid var(--ink); background: var(--paper); border-radius: 99px; padding: 6px 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.show-dummy .dummy-toggle { background: var(--dummy); }

/* ---------- Header (blends over images) ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--g) 18px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.bar a, .bar button { pointer-events: auto; }
.bar .logo { display: flex; align-items: flex-start; gap: 3px; color: #fff; text-decoration: none; }
.bar .logo svg { width: 44px; height: auto; display: block; transition: width .45s cubic-bezier(.2,.7,.2,1); }
.at-top .bar .logo svg { width: clamp(88px, 9vw, 140px); }
.bar .logo .reg { font-size: 20px; transition: font-size .45s cubic-bezier(.2,.7,.2,1); }
.at-top .bar .logo .reg { font-size: clamp(30px, 2.8vw, 44px); }
.reg { font-weight: 500; line-height: .8; letter-spacing: 0; font-feature-settings: normal; }
.bar nav { padding-top: 5px; display: flex; align-items: center; gap: clamp(20px, 4.5vw, 72px); }
.bar nav a { text-decoration: none; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bar .lang { background: none; border: 1px solid #fff; border-radius: 99px; padding: 4px 10px; cursor: pointer; }
.menu-btn { display: none; background: none; border: 0; padding: 8px 0; cursor: pointer; }
.clock { position: fixed; right: var(--g); bottom: 14px; z-index: 50; color: #fff; mix-blend-mode: difference; display: flex; gap: 8px; font-variant-numeric: tabular-nums; pointer-events: none; }
.clock span:first-child { opacity: .6; }

.sheet { position: fixed; inset: 0; z-index: 70; background: var(--paper); padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--g) 32px; display: flex; flex-direction: column; gap: 32px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet ul { display: grid; gap: 4px; }
.sheet ul a { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; line-height: 1.1; }
.sheet button { background: none; border: 0; cursor: pointer; }

.navlinks { display: contents; }
@media (max-width: 760px) {
  .bar nav .navlinks { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding-top: 18px; overflow: hidden; }
.hero-intro { max-width: 24rem; font-size: var(--fs-m); line-height: 1.45; padding-top: calc(clamp(88px, 9vw, 140px) * .73 + 26px); position: relative; z-index: 3; }
.hero-intro b { font-weight: 700; }
/* the intro fades out together with the logo shrinking */
.js .hero-intro { transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.js:not(.at-top) .hero-intro { opacity: 0; transform: translateY(-12px); }
.stack { position: relative; z-index: 2; justify-self: center; align-self: center; width: min(30vw, 420px); aspect-ratio: 4 / 5; margin-block: 24px; }
.stack figure { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.stack img { width: 100%; height: 100%; object-fit: cover; }
/* --fly (0..1) is set from the scroll position: the cards lift off at different speeds */
.stack figure:nth-child(1) { transform: translate(calc(var(--fly, 0) * -18%), calc(var(--fly, 0) * -95vh)) rotate(calc(var(--fly, 0) * -9deg)); z-index: 4; }
.stack figure:nth-child(2) { transform: translate(calc(5% + var(--fly, 0) * 22%), calc(-6% - var(--fly, 0) * 125vh)) rotate(calc(6deg + var(--fly, 0) * 10deg)); z-index: 3; }
.stack figure:nth-child(3) { transform: translate(calc(-7% - var(--fly, 0) * 30%), calc(-9% - var(--fly, 0) * 150vh)) rotate(calc(-7deg - var(--fly, 0) * 12deg)); z-index: 2; }
.stack figure:nth-child(4) { transform: translate(calc(9% + var(--fly, 0) * 34%), calc(-11% - var(--fly, 0) * 175vh)) rotate(calc(11deg + var(--fly, 0) * 14deg)); z-index: 1; }
.stack-cap { position: absolute; left: 0; bottom: calc(100% + 14px); white-space: nowrap; opacity: calc(1 - var(--fly, 0) * 5); }
.wordmark-row { min-width: 0; position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 8px; }
.wordmark { font-weight: 900; letter-spacing: -0.03em; line-height: .76; white-space: nowrap; font-size: clamp(8rem, 30vw, 30rem); margin-left: -0.05em; padding-bottom: .02em; }
.hero { --aw: clamp(240px, 40vw, 700px); }
.wordmark-logo { margin: 0; line-height: 0; display: flex; align-items: flex-start; }
.wordmark-logo svg { width: var(--aw); height: auto; display: block; flex: none; }
.wordmark-logo .reg { font-size: calc(var(--aw) * .3); margin-left: calc(var(--aw) * .015); margin-top: calc(var(--aw) * -.02); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wordmark-side { font-size: var(--fs-l); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; padding-bottom: 1.2vw; }
.hero .wordmark-row { margin-top: -9vw; padding-bottom: 20px; }
@media (min-width: 761px) {
  /* the hero is never taller than intro + fan + mark need, so narrow, tall windows get no empty band */
  .hero { --sw: min(25vw, 40svh); height: max(600px, min(100svh, calc(330px + var(--aw) * .18 + var(--sw) * 1.42))); min-height: 0; }
  /* the fan sits over the "n" and the ® of the big mark */
  .stack { position: absolute; left: calc(var(--g) + var(--aw) * .78); bottom: calc(20px + var(--aw) / 2.34 * .42); width: var(--sw); margin: 0; }
  .hero .wordmark-row { margin-top: 0; align-self: end; }
  .hero { --aw: min(40vw, 74svh); }
}
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .stack { width: 56vw; margin-block: 64px 24px; }

  .stack-cap { display: none; }
  .hero { --aw: 60vw; }
  .hero .wordmark-row { margin-top: -12vw; flex-direction: column; align-items: flex-start; gap: 6px; }
  .wordmark-side { padding-bottom: 0; font-size: var(--fs-m); }
}

/* ---------- Statement: scattered words gather ---------- */
.converge { position: relative; height: 180vh; }
.converge-pin { pointer-events: none; position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#statement.big { font-size: clamp(2.4rem, 5.4vw, 6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; max-width: 18ch; text-wrap: balance; }
#statement .w { display: inline-block; will-change: transform; }
.converge-inner { width: min(100%, 1120px); display: grid; gap: clamp(40px, 5vw, 72px); }
#approach { transition: opacity .4s, transform .4s; }
.approach-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g); max-width: 760px; }
@media (max-width: 760px) { .approach-text { grid-template-columns: 1fr; } #statement.big { font-size: 9.6vw; } }

/* ---------- Marquee band: two lines sliding in opposite directions behind a photo reel ---------- */
.band { --bf: clamp(4rem, 12vw, 13rem); --rw: min(66vw, 1020px); position: relative; overflow: hidden;
  /* leave room above and below so the larger reel never covers the sections around it */
  padding-block: max(clamp(40px, 6vw, 80px), calc((var(--rw) * .625 - var(--bf) * 2.1) / 2 + 32px)); }
.band-line { overflow: hidden; }
.band-track { display: flex; width: max-content; white-space: nowrap; font-weight: 800; font-size: var(--bf); letter-spacing: -0.035em; line-height: 1.05; animation: band-slide 60s linear infinite; }
.band-track > span { padding-right: .4em; }
.band-line--ghost .band-track { color: var(--ghost); animation-direction: reverse; }
@keyframes band-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reel { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: var(--rw); aspect-ratio: 16 / 10; overflow: hidden; background: var(--fog); }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.reel img.on { opacity: 1; z-index: 1; animation: kb 6s linear forwards; }
.reel img:nth-child(even).on { animation-name: kb2; }
@keyframes kb { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
@keyframes kb2 { from { transform: scale(1.14) translate(2%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
@media (max-width: 760px) { .band { --bf: 19vw; --rw: calc(100vw - 2 * var(--g)); } }
@media (prefers-reduced-motion: reduce) { .band-track, .reel img.on { animation: none; } }

/* ---------- Projects ---------- */
.section { padding-block: clamp(96px, 12vw, 180px); }
.sec-title { font-size: var(--fs-xxl); font-weight: 800; letter-spacing: -0.04em; }
.projects { display: grid; gap: clamp(96px, 12vw, 180px); margin-top: clamp(48px, 7vw, 100px); }
.project { display: grid; gap: 18px; }
.p-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--ink); padding-top: 14px; }
.p-head h3 { font-size: var(--fs-xl); font-weight: 700; }
.p-media { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 12px; }
.p-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 0; }
.shot { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: var(--fog); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.03); }
.p-lead { aspect-ratio: 4 / 3; }
.p-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 6px; }
.p-facts div { display: grid; gap: 2px; }
.p-facts dt { color: var(--mute); }
.p-facts dd { font-weight: 500; }
.placeholder { display: grid; place-items: center; background: var(--fog); color: var(--mute); text-align: center; padding: 24px; }
.placeholder span { max-width: 22ch; }
@media (max-width: 760px) {
  .p-media { grid-template-columns: 1fr; }
  .p-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .p-side .shot { aspect-ratio: 4 / 5; }
  .p-facts { grid-template-columns: 1fr 1fr; row-gap: 14px; }
}

/* ---------- Services ---------- */
.services-list { display: grid; gap: clamp(72px, 9vw, 140px); }
.svc { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: 8px; }
.svc-key { font-size: var(--fs-xl); font-weight: 700; color: var(--ghost); letter-spacing: -0.02em; line-height: 1.02; }
.svc h3 { font-size: var(--fs-xl); font-weight: 700; max-width: 17ch; }
.svc p { margin-top: 20px; max-width: 46ch; color: #444; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags li { background: var(--fog); border-radius: 99px; padding: 7px 14px; font-size: var(--fs-xs); font-weight: 700; }
.side-foot { display: grid; gap: 14px; }
.side-col { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; row-gap: 40px; }
  .sticky { position: static; }
}

/* ---------- Numbers ---------- */
.nums { display: grid; gap: clamp(40px, 6vw, 80px); }
.num { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); column-gap: var(--g); align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.num .label { display: grid; gap: 14px; justify-items: start; }
.num .label .pill { pointer-events: none; }
.digits {
  font-weight: 900; letter-spacing: -0.04em; line-height: .8; font-size: clamp(9rem, 30vw, 30rem);
  background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: .04em; white-space: nowrap;
}
.digits small { font-size: .28em; letter-spacing: -0.02em; margin-left: .05em; }
.show-dummy .digits.dummy { background-image: none !important; }
@media (max-width: 900px) { .num { grid-template-columns: 1fr; row-gap: 8px; } }
@media (max-width: 760px) { .digits { font-size: 48vw; } }

/* ---------- Process (schedule) ---------- */
.gantt-wrap { overflow-x: auto; margin-top: clamp(40px, 6vw, 72px); }
.gantt { min-width: 720px; position: relative; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); row-gap: 10px; padding-bottom: 34px;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.bar-g { height: 38px; background: var(--ink); color: var(--paper); display: flex; align-items: center; padding-inline: 12px; font-size: var(--fs-s); font-weight: 700; white-space: nowrap; overflow: hidden; transform-origin: left center; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.js .gantt .bar-g { transform: scaleX(.02); }
.js .gantt.in .bar-g { transform: none; }
.gantt .bar-g:nth-child(2) { transition-delay: .15s; } .gantt .bar-g:nth-child(3) { transition-delay: .3s; } .gantt .bar-g:nth-child(4) { transition-delay: .45s; }
.months { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); font-size: var(--fs-xs); color: var(--mute); font-variant-numeric: tabular-nums; }
.months span { padding-left: 6px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); margin-top: 40px; }
.steps h3 { font-size: var(--fs-l); font-weight: 700; letter-spacing: -0.02em; }
.steps p { margin-top: 12px; color: #444; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: start; padding-block: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: var(--fs-xl); font-weight: 700; max-width: 20ch; }
.faq .plus { position: relative; width: 18px; height: 18px; margin-top: .5em; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--ink); transition: transform .3s; }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0deg); }
.faq details[open] .plus::before { transform: rotate(180deg); }
.faq .ans { padding: 0 0 32px 2.2em; max-width: 60ch; color: #444; }

/* ---------- Contact + footer ---------- */
.contact h2 { font-size: var(--fs-xxl); font-weight: 800; letter-spacing: -0.04em; }
.contact-lines { display: grid; gap: 4px; margin-top: clamp(40px, 5vw, 64px); }
.contact-lines a, .contact-lines span.v { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.025em; text-decoration: none; line-height: 1.15; overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.contact-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g); margin-top: 48px; max-width: 640px; }
.contact-meta div { display: grid; gap: 6px; align-content: start; }
@media (max-width: 520px) { .contact-meta { grid-template-columns: 1fr; } }

.foot { padding-top: clamp(64px, 8vw, 120px); padding-bottom: 56px; }
.foot .wordmark-row { border-top: 1px solid var(--ink); padding-top: 24px; }
.js .foot .wordmark {
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--slat, 100%), transparent var(--slat, 100%), transparent 9%);
          mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--slat, 100%), transparent var(--slat, 100%), transparent 9%);
}
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-bottom: 28px; }

/* ---------- Lightbox ---------- */
.lb { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: #fff; color: var(--ink); }
.lb::backdrop { background: #fff; }
.lb-inner { height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 64px var(--g) 18px; }
.lb-stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-bar { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; }
.lb-count { font-variant-numeric: tabular-nums; }
.lb button { background: none; border: 0; cursor: pointer; }
.lb-close { position: absolute; top: 14px; right: var(--g); padding: 8px 0; }
.lb-prev, .lb-next { position: absolute; top: 0; bottom: 0; width: 40%; cursor: w-resize !important; }
.lb-prev { left: 0; } .lb-next { right: 0; cursor: e-resize !important; }

@media (max-width: 760px) {
  .contact .contact-lines a { font-size: 1.55rem; }
  .foot .wordmark-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* process: steps in three columns */
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.steps .when { color: var(--mute); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* process: steps in three columns */
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.steps .when { color: var(--mute); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
/* timeline: labels stay inside the bars (wrap to two lines if needed); narrow screens scroll sideways */
.gantt { min-width: 1250px; }
.bar-g { height: 46px; white-space: normal; line-height: 1.15; padding-inline: 10px; }
/* footer: the full logo with its frame (no slat effect) */
.foot .wordmark-svg { line-height: 0; margin-left: 0; padding-bottom: 0; }
.foot .wordmark-svg svg { display: block; width: clamp(240px, 56vw, 1000px); height: auto; }
/* contact: thin line icons in front of email and phone */
.contact-lines a { display: inline-flex; align-items: center; gap: .4em; justify-self: start; }
.contact-lines .ci { width: .78em; height: .78em; flex: none; }

/* gallery: no focus frame on the prev/next areas, no caption (counter only) */
.lb-prev, .lb-next { outline: none !important; }
.lb-bar { justify-content: flex-end; }
#lb-cap { display: none; }
.lb-inner { outline: none; }
.lb button:focus:not(:focus-visible) { outline: none; }
/* Eliamos: lead photo is 16:9, frame matches it so nothing is cropped */
#eliamos .p-lead { aspect-ratio: 16 / 9; }
@media (min-width: 761px) {
  #eliamos .p-side .shot img { position: absolute; inset: 0; }
}
/* footer logo with ® at its top-right, sized like the hero wordmark */
.foot .foot-logo { display: flex; align-items: flex-start; }
.foot .foot-logo .reg { font-size: calc(clamp(240px, 56vw, 1000px) * .1); line-height: 1; margin-left: calc(clamp(240px, 56vw, 1000px) * .012); }

/* gallery: visible prev/next arrows */
.lb-prev::after, .lb-next::after { content: ""; position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  background: rgba(255,255,255,.94) center / 20px 20px no-repeat; box-shadow: 0 2px 12px rgba(0,0,0,.18); transition: transform .2s; }
.lb-prev::after { left: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 4l-8 8 8 8' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E"); }
.lb-next::after { right: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4l8 8-8 8' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E"); }
.lb-prev:hover::after, .lb-next:hover::after { transform: scale(1.08); }
.lb-prev, .lb-next { cursor: pointer !important; }
@media (max-width: 760px) { .lb-prev::after, .lb-next::after { width: 40px; height: 40px; margin-top: -20px; background-size: 17px 17px; } }

/* language switch is a link to /en/ or / */
.bar a.lang { display: inline-block; text-decoration: none; line-height: 1.3; }
.bar a.lang:hover { text-decoration: none; background: rgba(255,255,255,.15); }

/* project award line */
.project .award { font-weight: 700; }
