/* ============================================================
   studio intra — sleek mono, white + neon orange-red
   ============================================================ */

/* Self-hosted JetBrains Mono — no external font services.
   Files live in static/fonts/ and are copied to dist/fonts/ by build.py. */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/JetBrainsMono-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/JetBrainsMono-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/JetBrainsMono-SemiBold.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #6b6b6b;
  --ink-fade: rgba(10,10,10,.45);
  --line: #0a0a0a;
  --accent: #FF3D2E;
  --bw: 1px;
  --gutter: 28px;
  --pad: 96px;
  --maxw: 1440px;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.pad-x { padding-left: var(--pad); padding-right: var(--pad); }

@media (max-width: 900px) {
  :root { --pad: 24px; --gutter: 16px; }
}

/* ─────────── Header ─────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: var(--bw) solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  padding: 0 var(--pad);
}
.hdr__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
}
.hdr__logo .dot {
  width: 10px; height: 10px; background: var(--accent);
  border-radius: 50%;
}
.hdr__nav { display: flex; gap: 30px; justify-content: center; }
.hdr__nav a {
  font-size: 13px; letter-spacing: 0.02em;
  position: relative; padding: 6px 0;
}
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink); transform: scaleX(0);
  transform-origin: left; transition: transform .25s ease;
}
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__nav a.is-active { color: var(--accent); }
.hdr__nav a.is-active::after { background: var(--accent); transform: scaleX(1); }

.hdr__right { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.lang {
  font-size: 12px; letter-spacing: .04em;
  border: var(--bw) solid var(--line); padding: 6px 10px; background: transparent;
  color: var(--ink);
}
.lang:hover { background: var(--ink); color: var(--bg); }
.lang .sep { opacity: .35; padding: 0 4px; }
.lang .on { color: var(--accent); }

.hdr__burger { display: none; border: var(--bw) solid var(--line); width: 36px; height: 32px; background: transparent;
  align-items: center; justify-content: center; }
.hdr__burger span { display: block; width: 16px; height: 1px; background: var(--ink); position: relative; }
.hdr__burger span::before, .hdr__burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--ink);
}
.hdr__burger span::before { top: -5px; }
.hdr__burger span::after  { top:  5px; }

@media (max-width: 760px) {
  .hdr { grid-template-columns: 1fr auto; height: 56px; }
  .hdr__nav { display: none; }
  .hdr__burger { display: inline-flex; }
}

/* ─────────── Hero ─────────── */
.hero {
  position: relative;
  border-bottom: var(--bw) solid var(--line);
  padding: 80px var(--pad) 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
}
.hero__crumbs {
  position: absolute; top: 20px; left: var(--pad);
  display: flex; gap: 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-fade);
}

.hero__h {
  font-weight: 500; letter-spacing: -0.04em;
  font-size: calc(96px * var(--hero-size, 1));
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}
.hero__h em { font-style: normal; color: var(--accent); }
.hero__h .slash { color: var(--accent); }

.hero__meta { padding-bottom: 8px; }
.hero__tag {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding-bottom: 18px; color: var(--ink);
}
.hero__sub { font-size: 14px; max-width: 38ch; color: var(--ink); margin-bottom: 22px; }
.hero__sub b { font-weight: 600; }

.hero.is-invert { background: var(--ink); color: var(--bg); }
.hero.is-invert .hero__crumbs { color: rgba(255,255,255,.45); }

/* CTA pill */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 14px 22px;
  border: var(--bw) solid var(--btn-bg);
  font-family: inherit;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
  position: relative; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: var(--bw) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ─────────── Ticker ─────────── */
.ticker {
  border-bottom: var(--bw) solid var(--line);
  overflow: hidden;
  background: var(--bg);
}
.ticker.is-hidden { display: none; }
.ticker__track {
  display: flex; gap: 60px;
  padding: 14px 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-size: 13px; letter-spacing: .04em;
}
.ticker__track > span { display: inline-flex; align-items: center; gap: 60px; flex-shrink: 0; }
.ticker__track .star { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────── Section heads ─────────── */
.sec {
  padding: 0;
  border-bottom: var(--bw) solid var(--line);
}
.sec__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 56px var(--pad) 36px;
  border-bottom: var(--bw) solid var(--line);
}
.sec__num {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-fade);
}
.sec__num .acc { color: var(--accent); }
.sec__title {
  font-size: 56px; font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  margin: 12px 0 0;
}
.sec__title em { color: var(--accent); font-style: normal; }
.sec__lede { font-size: 14px; max-width: 48ch; color: var(--ink); margin: 0; }

/* ─────────── Project carousel ─────────── */
.car {
  position: relative;
  background: var(--bg);
}
.car__rail {
  display: flex; gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.car__rail::-webkit-scrollbar { display: none; }

.proj {
  flex: 0 0 auto;
  width: clamp(320px, 38vw, 540px);
  border-right: var(--bw) solid var(--line);
  scroll-snap-align: start;
  cursor: pointer;
  background: var(--bg);
  position: relative;
  transition: background .2s ease, transform .35s ease;
  text-align: left;
  font: inherit; color: inherit;
  border-top: 0; border-bottom: 0; border-left: 0;
  padding: 0;
  /* Column flex keeps the image top-aligned. Without this, the <button>'s
     default content-centering pushes the image down when neighbouring cards
     (with longer titles) stretch the row taller — causing an alternating
     vertical offset, most visible on mobile. */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.proj__img-wrap { flex: 0 0 auto; }
.proj:hover { background: #fafafa; }
.proj.is-featured .proj__img-wrap::after {
  content: "FEATURED"; position: absolute; top: 14px; left: 14px;
  z-index: 3;
  background: var(--accent); color: #fff;
  font-size: 10px; letter-spacing: .12em; padding: 4px 8px;
}

/* Draft marker — only rendered in the preview build (unpublished projects). */
.proj__draft {
  position: absolute; top: 14px; left: 14px;
  z-index: 4;
  background: var(--ink); color: #fff;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px;
}
/* When a card is both draft and featured, drop the FEATURED badge below it. */
.proj--draft.is-featured .proj__img-wrap::after { top: 40px; }
/* A dashed accent outline makes drafts unmistakable in the preview. */
.proj--draft { outline: 2px dashed var(--accent); outline-offset: -2px; }

.proj__img-wrap {
  position: relative; aspect-ratio: 4 / 5;
  border-bottom: var(--bw) solid var(--line);
  overflow: hidden;
  isolation: isolate; /* contain the multiply blend to this box only */
}
.proj__img-wrap svg,
.proj__img-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Duotone: greyscale photo + full accent multiply overlay. On hover/focus the
   overlay lifts and the photo returns to sharp full colour. */
.proj__img-wrap img {
  filter: grayscale(1);
  transition: filter .35s ease;
}
.proj:hover .proj__img-wrap img,
.proj:focus-visible .proj__img-wrap img { filter: grayscale(0); }

.proj__img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--accent);
  mix-blend-mode: multiply;
  opacity: 1;
  transition: opacity .35s ease;
  pointer-events: none;
}
.proj:hover .proj__img-wrap::before,
.proj:focus-visible .proj__img-wrap::before { opacity: 0; }

/* Touch devices (phones/tablets without hover): no overlay, plain colour photo. */
@media (hover: none) {
  .proj__img-wrap::before { display: none; }
  .proj__img-wrap img { filter: none; }
}

.proj__open {
  position: absolute; bottom: 14px; right: 14px;
  z-index: 3;
  width: 44px; height: 44px;
  background: var(--bg);
  border: var(--bw) solid var(--line);
  display: grid; place-items: center;
  transition: background .15s, color .15s, transform .15s;
  font-size: 18px;
}
.proj:hover .proj__open { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }

.proj__body { padding: 20px 22px 26px; }
.proj__cat {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-fade);
  display: flex; justify-content: space-between;
}
.proj__cat .yr { color: var(--ink); }
.proj__title {
  font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05;
  margin: 14px 0 10px;
}
.proj__loc { font-size: 12px; color: var(--ink-soft); }

.car--grid .car__rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: visible;
}
.car--grid .proj {
  width: auto;
  border-bottom: var(--bw) solid var(--line);
}
.car--grid .proj:nth-child(3n) { border-right: none; }
@media (max-width: 900px) {
  .car--grid .car__rail { grid-template-columns: repeat(2, 1fr); }
  .car--grid .proj:nth-child(3n) { border-right: var(--bw) solid var(--line); }
  .car--grid .proj:nth-child(2n) { border-right: none; }
}

.car__ctrls {
  display: flex; gap: 0;
  border-top: var(--bw) solid var(--line);
}
.car__btn {
  flex: 0 0 64px; height: 56px;
  border: 0; border-right: var(--bw) solid var(--line);
  background: var(--bg); color: var(--ink); font-size: 18px;
  transition: background .15s ease, color .15s ease;
}
.car__btn:hover { background: var(--accent); color: #fff; }
.car__btn:disabled { opacity: .3; cursor: not-allowed; }
.car__count {
  flex: 1; display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; font-size: 12px; letter-spacing: .08em;
  color: var(--ink-soft);
}
.car__count b { color: var(--ink); font-weight: 600; }
.car__bar {
  flex: 0 0 240px; align-self: center; height: 1px; background: rgba(0,0,0,.12);
  position: relative; margin-right: 22px;
}
.car__bar i { position: absolute; left: 0; top: -1px; height: 3px; background: var(--accent);
  transition: width .2s ease, left .2s ease; }

/* ─────────── Project detail modal ─────────── */
.dial {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 28px;
  animation: dial-in .25s ease both;
}
.dial[hidden] { display: none; }
@keyframes dial-in { from { opacity: 0 } to { opacity: 1 } }
.dial__panel {
  width: 100%; max-width: 1180px; max-height: calc(100vh - 56px);
  background: var(--bg);
  border: var(--bw) solid var(--line);
  display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto 1fr;
  overflow: hidden;
  animation: panel-in .35s cubic-bezier(.2,.7,.2,1) both;
  box-shadow: 14px 14px 0 var(--ink);
}
@keyframes panel-in { from { transform: translateY(20px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
.dial__hd {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: var(--bw) solid var(--line);
  padding: 14px 22px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.dial__hd .crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; min-width: 0; }
.dial__hd .crumbs .acc { color: var(--accent); overflow-wrap: break-word; }
.dial__close {
  width: 32px; height: 32px; border: var(--bw) solid var(--line);
  background: var(--bg); color: var(--ink); display: grid; place-items: center;
  font-size: 16px;
}
.dial__close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.dial__gallery {
  border-right: var(--bw) solid var(--line);
  overflow-y: auto; padding: 0;
  min-width: 0; /* allow the grid column to shrink instead of overflowing */
}
/* Real images keep their native aspect ratio (no crop). */
.dial__shot { border-bottom: var(--bw) solid var(--line); position: relative; }
.dial__shot:last-child { border-bottom: 0; }
.dial__shot img { width: 100%; height: auto; display: block; }
/* SVG placeholders (project without photos yet) keep a fixed 4:3 box. */
.dial__shot--ph { aspect-ratio: 4 / 3; }
.dial__shot--ph svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.dial__shot .tag {
  position: absolute; bottom: 14px; left: 14px;
  max-width: calc(100% - 28px);
  font-size: 10px; letter-spacing: .1em; line-height: 1.3; background: var(--bg);
  border: var(--bw) solid var(--line); padding: 4px 8px;
}

.dial__info { padding: 28px 30px 30px; overflow-y: auto; overflow-x: hidden; min-width: 0; }
.dial__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.dial__title { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; margin: 12px 0 18px;
  overflow-wrap: break-word; hyphens: manual; }
.dial__facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 12.5px;
  padding-top: 18px; border-top: var(--bw) solid var(--line); margin-top: 18px; }
.dial__facts dt { color: var(--ink-soft); letter-spacing: .04em; white-space: nowrap; }
.dial__facts dd { margin: 0; min-width: 0; overflow-wrap: break-word; }
.dial__body { font-size: 14px; line-height: 1.6; margin: 22px 0 0; overflow-wrap: break-word; }
.dial__body b, .dial__body strong { font-weight: 600; }
.dial__body u { text-decoration: underline; }
.dial__body a { color: var(--accent); text-decoration: underline; }
.dial__body p { margin: 0 0 0.6em; }
.dial__body p:last-child { margin-bottom: 0; }
.dial__actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

@media (max-width: 900px) {
  /* Stack into one scrollable column so the images always show at full height. */
  .dial__panel { display: flex; flex-direction: column; overflow-y: auto; }
  .dial__gallery { border-right: 0; border-bottom: var(--bw) solid var(--line); max-height: none; overflow: visible; }
  .dial__info { overflow: visible; }
  /* Keep the header (with the close button) reachable while the panel scrolls. */
  .dial__hd { position: sticky; top: 0; z-index: 2; background: var(--bg); }
}

/* Text modal variant (Impressum / Datenschutz) — single column, no gallery */
.dial__panel--text {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  max-width: 760px;
}
.legal__body {
  padding: 36px 40px 40px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.legal__body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 26px 0 8px; }
.legal__body h3:first-child { margin-top: 0; }
.legal__body p { margin: 0 0 14px; max-width: 64ch; }
.legal__body a { color: var(--accent); text-decoration: underline; }
.legal__body b, .legal__body strong { font-weight: 600; }
.legal__body u { text-decoration: underline; }
@media (max-width: 720px) {
  .legal__body { padding: 24px var(--pad); }
}

/* ─────────── Services ─────────── */
.svc__list { border-top: 0; }
.svc__item {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 32px;
  align-items: start;
  padding: 32px var(--pad);
  border-bottom: var(--bw) solid var(--line);
  transition: background .25s ease, color .25s ease;
  position: relative;
}
.svc__item:last-child { border-bottom: 0; }
.svc__item:hover { background: var(--ink); color: var(--bg); }
.svc__item:hover .svc__num { color: var(--accent); }
.svc__item:hover .svc__desc { color: rgba(255,255,255,.7); }

.svc__num { font-size: 13px; letter-spacing: .12em; color: var(--ink-soft); }
.svc__title { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.svc__desc { font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 52ch; margin: 0; }

@media (max-width: 760px) {
  .svc__item { grid-template-columns: 50px 1fr; gap: 14px; padding: 22px var(--pad); }
  .svc__item .svc__desc { grid-column: 1 / -1; }
}

/* ─────────── About ─────────── */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.about__col-img { border-right: var(--bw) solid var(--line); position: relative; min-height: 520px; overflow: hidden; }
.about__col-img svg,
.about__col-img img { width: 100%; height: 100%; display: block; position: absolute; inset: 0; object-fit: cover; }
.about__caption {
  position: absolute; bottom: 22px; left: 22px;
  background: var(--bg); border: var(--bw) solid var(--line); padding: 8px 12px;
  font-size: 11px; letter-spacing: .12em;
}
.about__col-txt { padding: 64px var(--pad); }
.about__eye { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.about__h { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 24px; max-width: 18ch; }
.about__h em { color: var(--accent); font-style: normal; }
.about__p { font-size: 14.5px; line-height: 1.65; margin: 0 0 16px; max-width: 48ch; }
.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin: 32px 0 32px; border-top: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line);
}
.about__stat { padding: 18px 24px; border-right: var(--bw) solid var(--line); }
.about__stat:first-child { padding-left: 0; }
.about__stat:last-child { border-right: 0; padding-right: 0; }
.about__stat b { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; display: block; }
.about__stat span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__col-img { border-right: 0; border-bottom: var(--bw) solid var(--line); min-height: 360px; }
  .about__col-txt { padding: 40px var(--pad); }
}

/* ─────────── Blog teaser ─────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.blog-grid.is-hidden { display: none; }
.blog-card {
  padding: 32px var(--pad);
  border-right: var(--bw) solid var(--line);
  display: grid; gap: 14px;
}
.blog-card:last-child { border-right: 0; }
.blog-card__tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.blog-card__h { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.blog-card__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); }
.blog-card__meta .read { color: var(--accent); }

/* ─────────── Contact ─────────── */
.cta {
  padding: 88px var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.cta__eye { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.cta__h {
  font-size: 88px; font-weight: 500; letter-spacing: -0.04em; line-height: 0.95;
  margin: 12px 0 24px;
}
.cta__h em { color: var(--accent); font-style: normal; }
.cta__email {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 22px; font-weight: 500; padding: 18px 0;
  border-top: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line);
  width: 100%;
  transition: color .2s ease;
}
.cta__email .arr { color: var(--accent); transition: transform .2s; }
.cta__email:hover { color: var(--accent); }
.cta__email:hover .arr { transform: translateX(6px); }
.cta__address { margin-top: 22px; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

.cta__form { display: grid; gap: 14px; }
.cta__form label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.cta__form input,
.cta__form textarea {
  font: inherit; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: var(--bw) solid var(--line);
  padding: 10px 0; outline: 0; width: 100%;
  resize: vertical;
}
.cta__form input:focus, .cta__form textarea:focus { border-bottom-color: var(--accent); }
.cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta__check { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--ink-soft); }
.cta__check input { width: 14px; height: 14px; accent-color: var(--accent); }
.cta__submit { margin-top: 8px; justify-self: start; }

@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; padding: 56px var(--pad); }
  .cta__h { font-size: 56px; }
}

/* ─────────── Footer ─────────── */
.ftr {
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
  padding: 56px var(--pad) 28px;
  border-bottom: var(--bw) solid var(--line);
}
.ftr h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; color: var(--ink-soft); font-weight: 500; }
.ftr a { display: block; padding: 4px 0; }
.ftr a:hover { color: var(--accent); }
.ftr__brand b { font-size: 30px; letter-spacing: -0.02em; font-weight: 500; display: block; margin-bottom: 8px; }
.ftr__brand p { font-size: 13px; color: var(--ink-soft); max-width: 32ch; margin: 0 0 18px; line-height: 1.5; }
/* single right-aligned link column (social) */
.ftr__col { text-align: right; min-width: 180px; }
.ftr__base {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--pad);
  font-size: 11px; letter-spacing: .08em; color: var(--ink-soft);
}
.ftr__base .acc { color: var(--accent); }
.ftr__base .right { display: flex; gap: 20px; }
.ftr__legal-link {
  background: none; border: 0; padding: 0;
  font: inherit; letter-spacing: inherit; color: var(--ink-soft);
}
.ftr__legal-link:hover { color: var(--accent); }

@media (max-width: 900px) {
  .ftr { grid-template-columns: 1fr; }
  .ftr__col { text-align: left; }
  .ftr__base { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ─────────── Mobile drawer ─────────── */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 80px 32px 32px;
  animation: drawer-in .25s ease both;
}
.drawer[hidden] { display: none; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.drawer__nav a {
  display: block;
  font-size: 32px; font-weight: 500; letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: var(--bw) solid var(--line);
}
.drawer__nav a:last-child { border-bottom: 0; }
.drawer__nav a:hover, .drawer__nav a:focus { color: var(--accent); }
.drawer__nav a .n { color: var(--accent); margin-right: 14px; font-size: 14px; vertical-align: middle; }
.drawer__close {
  position: absolute; top: 14px; right: 20px;
  width: 36px; height: 36px;
  border: var(--bw) solid var(--line); background: var(--bg);
  font-size: 18px;
}
.drawer__close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.drawer__foot {
  margin-top: auto;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; flex-direction: column; gap: 8px;
}
.drawer__foot a { color: var(--ink); padding: 6px 0; }

/* ─────────── reveal ─────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ─────────── Responsive ─────────── */
@media (max-width: 1024px) {
  :root { --pad: 56px; }
  .hero__h { font-size: calc(72px * var(--hero-size, 1)); }
  .sec__title { font-size: 44px; }
  .cta__h { font-size: 64px; }
  .ftr { grid-template-columns: 1.5fr 1fr 1fr; }
  .ftr > div:nth-child(4) { display: none; }
}

@media (max-width: 720px) {
  :root { --pad: 20px; --gutter: 12px; }
  .hdr { grid-template-columns: 1fr auto; height: 54px; padding: 0 20px; }
  .hdr__logo { font-size: 14px; }
  .hdr__logo .dot { width: 8px; height: 8px; }
  .lang { font-size: 11px; padding: 4px 8px; }

  .hero { grid-template-columns: 1fr; gap: 28px; padding: 56px var(--pad) 36px; }
  .hero__crumbs { position: static; padding: 0 0 12px 0; flex-wrap: wrap; gap: 10px; font-size: 10px; }
  .hero__h { font-size: calc(44px * var(--hero-size, 1)); letter-spacing: -0.03em; }
  .hero__meta { padding-bottom: 0; }
  .hero__sub { font-size: 13px; }
  .hero__tag { padding-bottom: 14px; font-size: 11px; }

  .ticker__track { font-size: 11px; gap: 32px; padding: 10px 0; }
  .ticker__track > span { gap: 32px; }

  .sec__head { grid-template-columns: 1fr; gap: 18px; padding: 40px var(--pad) 24px; }
  .sec__title { font-size: 32px; }
  .sec__lede { font-size: 13px; max-width: none; }

  .proj { width: calc(100vw - 40px); }
  .proj__title { font-size: 22px; }
  .proj__body { padding: 16px 18px 22px; }
  .proj__open { width: 36px; height: 36px; font-size: 15px; }
  .car__ctrls { flex-wrap: wrap; }
  .car__btn { flex: 0 0 48px; height: 48px; }
  .car__count { font-size: 11px; padding: 0 14px; }
  .car__bar { display: none; }
  .car--grid .car__rail { grid-template-columns: 1fr; }
  .car--grid .proj { border-right: 0 !important; }

  .svc__item { grid-template-columns: 36px 1fr; gap: 12px; padding: 22px var(--pad); }
  .svc__item .svc__desc { grid-column: 1 / -1; font-size: 13px; }
  .svc__title { font-size: 20px; }

  .about { grid-template-columns: 1fr; }
  .about__col-img { border-right: 0; border-bottom: var(--bw) solid var(--line); min-height: 280px; }
  .about__col-txt { padding: 32px var(--pad); }
  .about__h { font-size: 30px; }
  .about__p { font-size: 13.5px; }
  .about__stats { grid-template-columns: 1fr; }
  .about__stat { border-right: 0; border-bottom: var(--bw) solid var(--line); padding: 14px 0; }
  .about__stat:last-child { border-bottom: 0; }
  .about__stat b { font-size: 24px; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { border-right: 0; border-bottom: var(--bw) solid var(--line); padding: 22px var(--pad); }
  .blog-card:last-child { border-bottom: 0; }

  .cta { grid-template-columns: 1fr; padding: 48px var(--pad); gap: 32px; }
  .cta__h { font-size: 42px; }
  .cta__email { font-size: 16px; padding: 14px 0; }
  .cta__row { grid-template-columns: 1fr; gap: 14px; }

  .ftr { grid-template-columns: 1fr; padding: 36px var(--pad) 18px; gap: 24px; }
  .ftr > div:nth-child(4) { display: block; }
  .ftr__base { flex-direction: column; gap: 8px; align-items: flex-start; padding: 16px var(--pad); }

  .btn { padding: 12px 18px; font-size: 11.5px; box-shadow: 3px 3px 0 var(--ink); }
  .btn:hover { box-shadow: 5px 5px 0 var(--ink); }

  .dial { padding: 0; }
  .dial__panel { max-height: 100vh; height: 100vh; border: 0; box-shadow: none; }
  .dial__gallery { border-right: 0; border-bottom: var(--bw) solid var(--line); max-height: none; overflow: visible; }
  .dial__title { font-size: 30px; }
  .dial__info { padding: 22px var(--pad); }
  .dial__facts { grid-template-columns: max-content 1fr; gap: 4px 12px; font-size: 12px; }
  .dial__actions { gap: 10px; }
  .dial__actions .btn { width: 100%; justify-content: center; }
}
