/* Public site stylesheet: fonts + design tokens + components in one file (one render-blocking request on mobile).
   The admin panel loads fonts.css separately; keep the @font-face rules below in sync with it. */

/* Self-hosted, SIL Open Font License 1.1 (Newsreader, Instrument Sans). One file per style, subset to the
   characters the site uses: Basic Latin, Latin-1, Turkish (ĞğİıŞş), typographic punctuation, ₺ → ↗.
   Newsreader pinned to optical size 36 (fonts 354 KB → 117 KB). */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/newsreader-normal-tr.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/newsreader-italic-tr.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/instrument-sans-normal-tr.woff2') format('woff2');
}

/* Karaaslan İnşaat Grup — design tokens. Approved direction A "Antrasit Editoryal" (29.10.2026).
   Rule: no gold/yellow UI colour anywhere. Gold exists only inside the original logo. */

:root {
  /* Spacing scale (4px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* Fluid type scale */
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.7rem + 2.8vw, 4.25rem);
  --step-5: clamp(2.8rem, 1.8rem + 4.6vw, 6rem);

  --measure: 64ch;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 56px);

  --radius-0: 0;
  --radius-1: 2px;
  --radius-2: 6px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-1: 140ms;
  --dur-2: 260ms;
  --dur-3: 520ms;

  --z-header: 50;
  --z-bottombar: 60;
  --z-drawer: 80;
  --z-toast: 90;

  --tap: 44px;
  --bottombar-h: 64px;

  /* Breakpoints (reference only; CSS uses literal values): 480 / 768 / 1024 / 1280 / 1600 */
}

/* ── Colour, type and shape ─────────────────────────────────────────────── */
:root {
  --font-display: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --display-transform: none;
  --eyebrow-tracking: 0.22em;

  --c-ink: #1C252B;          /* derin antrasit */
  --c-ink-2: #263846;        /* slate lacivert */
  --c-paper: #F6F5F1;        /* kırık beyaz */
  --c-surface: #FFFFFF;
  --c-stone: #DFE1DE;        /* açık taş */
  --c-mist: #8E999E;         /* doğal gri — yalnız dekoratif (2.67:1) */
  --c-text: #1C252B;
  --c-text-2: #4F5B61;       /* 6.41:1 on paper */
  --c-link: #2F4A62;         /* 8.45:1 on paper */
  --c-line: rgba(28, 37, 43, .14);

  --c-dark-bg: #1C252B;
  --c-dark-surface: #243039;
  --c-dark-text: #F6F5F1;
  --c-dark-text-2: #B9C2C6;  /* 8.60:1 */
  --c-dark-line: rgba(246, 245, 241, .14);

  --c-cta-bg: #263846;
  --c-cta-text: #F6F5F1;     /* 11.09:1 */
  --c-cta-hover: #1C252B;
  --c-focus: #2F4A62;
  --c-focus-dark: #B9C2C6;

  --c-ph-1: #2A3640;         /* image placeholder tones */
  --c-ph-2: #3A4954;

  --radius: var(--radius-0);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: var(--display-weight); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.hero :focus-visible, .site-footer :focus-visible, .subnav :focus-visible,
.site-header :focus-visible, .bottom-bar :focus-visible { outline-color: var(--c-focus-dark); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  padding: var(--space-3) var(--space-4); background: var(--c-surface); color: var(--c-text);
}
.skip-link:focus { top: var(--space-4); }

/* DEMO marker — neutral, never yellow */
.demo {
  display: inline-flex; align-items: center; vertical-align: middle;
  font: 600 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 6px; margin-inline: 2px;
  color: var(--c-text-2); border: 1px dashed currentColor; border-radius: 2px;
}
.demo--on-dark { color: var(--c-dark-text-2); }

/* Eyebrows & titles */
.eyebrow {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: 11px; font-weight: 600; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase;
  color: var(--c-text-2);
}
.eyebrow--light { color: var(--c-dark-text-2); }
.eyebrow__rule { width: 40px; height: 1px; background: currentColor; }

.section { padding-block: clamp(64px, 9vw, 136px); }
.section-index {
  font-size: 12px; font-weight: 600; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase;
  color: var(--c-text-2); margin-bottom: var(--space-4);
}
.section-title {
  font-family: var(--font-display); font-size: var(--step-4); line-height: 1.05;
  letter-spacing: var(--display-tracking); text-transform: var(--display-transform);
  text-wrap: balance;
}
.section-head { margin-bottom: clamp(32px, 5vw, 64px); max-width: 900px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; max-width: none; }
.section-note { margin-top: var(--space-4); color: var(--c-text-2); max-width: var(--measure); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap); padding: 12px 24px;
  font: 600 15px/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1), border-color var(--dur-1), transform var(--dur-1);
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--primary-light { background: var(--c-dark-text); color: var(--c-dark-bg); }
.btn--primary-light:hover { background: #fff; }.btn--ghost-light { color: var(--c-dark-text); border-color: var(--c-dark-line); background: transparent; }
.btn--ghost-light:hover { border-color: var(--c-dark-text-2); background: rgba(255,255,255,.04); }
.btn--link-light { color: var(--c-dark-text); padding-inline: 4px; }
.btn--link-light span { transition: transform var(--dur-2) var(--ease-out); }
.btn--link-light:hover span { transform: translateX(4px); }
.btn--outline { color: var(--c-text); border-color: var(--c-text); margin-top: var(--space-7); }
.btn--outline:hover { background: var(--c-cta-bg); border-color: var(--c-cta-bg); color: var(--c-cta-text); }

.text-link {
  display: inline-flex; gap: var(--space-2); margin-top: var(--space-5);
  color: var(--c-link); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.text-link:hover { text-decoration-thickness: 2px; }
.text-link--light { color: var(--c-dark-text); margin-top: var(--space-3); }

/* Header: dark bar, services dropdown (APG "disclosure navigation hybrid": link + separate toggle button) */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--c-dark-bg); color: var(--c-dark-text);
  border-bottom: 1px solid var(--c-dark-line);
}
.site-header__inner { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); height: 84px; }
.brand { display: block; flex: none; }
.brand img { height: 38px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.main-nav__item { position: relative; display: flex; align-items: center; }
.main-nav__link {
  position: relative; display: inline-block; padding-block: 12px;
  font-size: 16px; font-weight: 500; text-decoration: none; color: var(--c-dark-text-2);
  transition: color var(--dur-1);
}
.main-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease-out);
}
.main-nav__link:hover, .main-nav__link[aria-current="page"] { color: var(--c-dark-text); }
.main-nav__link:hover::after, .main-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.main-nav__toggle {
  display: grid; place-items: center; width: 32px; height: 32px; margin-left: 2px; padding: 0;
  border: 0; border-radius: var(--radius-1); background: none; color: var(--c-dark-text-2); cursor: pointer;
}
.main-nav__toggle .icon { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
.main-nav__toggle:hover, .main-nav__toggle[aria-expanded="true"] { color: var(--c-dark-text); }
.main-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.subnav {
  position: absolute; top: calc(100% + 22px); left: 50%; transform: translateX(-50%); z-index: 2;
  width: min(620px, calc(100vw - 2 * var(--gutter))); padding: 10px;
  background: var(--c-dark-surface); border: 1px solid var(--c-dark-line);
  box-shadow: 0 24px 48px rgba(8, 12, 15, .38);
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -23px; height: 23px; } /* hover bridge, no gap */
.subnav[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .subnav:not([hidden]) { animation: subnav-in 150ms var(--ease-out); }
  @keyframes subnav-in { from { opacity: 0; transform: translate(-50%, -4px); } }
}
.subnav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.subnav__link { display: grid; gap: 6px; height: 100%; padding: 18px 20px; text-decoration: none; color: var(--c-dark-text); transition: background-color var(--dur-1); }
.subnav__link:hover, .subnav__link[aria-current="page"] { background: rgba(246, 245, 241, .06); }
.subnav__title { font-family: var(--font-display); font-size: 21px; line-height: 1.2; letter-spacing: var(--display-tracking); }
.subnav__desc { font-size: 14px; line-height: 1.45; color: var(--c-dark-text-2); }
.subnav__all {
  display: flex; justify-content: space-between; margin: 8px 10px 0; padding: 16px 10px 8px;
  border-top: 1px solid var(--c-dark-line); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--c-dark-text);
}
.subnav__all:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-header__phone {
  display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: var(--tap); padding: 10px 18px;
  border: 1px solid var(--c-dark-line); font-size: 15px; font-weight: 600; text-decoration: none;
  color: var(--c-dark-text); font-variant-numeric: tabular-nums;
  transition: border-color var(--dur-1), background-color var(--dur-1);
}
.site-header__phone:hover { border-color: var(--c-dark-text-2); background: rgba(255, 255, 255, .04); }
.site-header__phone .icon { width: 18px; height: 18px; }
.site-header .site-header__menu { display: none; margin-left: auto; }

/* Hero */
.hero { background: var(--c-dark-bg); color: var(--c-dark-text); position: relative; overflow: clip; }
.hero::before { /* faint architectural grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(to right, var(--c-dark-line) 1px, transparent 1px);
  background-size: calc((min(var(--container), 100% - 2 * var(--gutter))) / 6) 100%;
  background-position: calc((100% - min(var(--container), 100% - 2 * var(--gutter))) / 2) 0;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-5);
  padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(48px, 6vw, 88px);
  align-items: end;
}
.hero__copy { grid-column: 1 / span 7; padding-bottom: var(--space-6); }
.hero__title {
  margin-top: var(--space-6);
  font-family: var(--font-display); font-size: var(--step-5); line-height: .98;
  letter-spacing: var(--display-tracking); text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--c-dark-text-2); }.hero__lead { margin-top: var(--space-6); max-width: 46ch; font-size: var(--step-1); line-height: 1.5; color: var(--c-dark-text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-7); }
.hero__media { grid-column: 8 / span 5; margin: 0; }
.hero__caption {
  display: flex; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-3);
  font-size: 13px; color: var(--c-dark-text-2); border-top: 1px solid var(--c-dark-line); margin-top: var(--space-3);
}
.hero__caption-meta { text-align: right; }
.hero__index {
  position: relative; display: flex; gap: var(--space-6); padding-block: var(--space-5);
  border-top: 1px solid var(--c-dark-line);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-dark-text-2);
}

/* Image placeholder (CLS-safe via aspect-ratio) */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--c-ph-2), var(--c-ph-1));
  color: rgba(255, 255, 255, .16);
}.ph--tall { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 10; }
.ph--landscape { aspect-ratio: 4 / 3; }
.ph__drawing { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph__label {
  position: absolute; left: var(--space-4); bottom: var(--space-4);
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 12px; color: var(--c-dark-text-2);
}
/* Real media (CLS-safe: fixed aspect box + object-fit) */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--c-ph-1); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease-out); }
.media--tall { aspect-ratio: 4 / 5; }
.media--lead { aspect-ratio: 16 / 10; }
.media--landscape { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 21 / 9; }
.project-card__link:hover .media img { transform: scale(1.03); }

/* Intro */
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-5); }
.intro__grid > .section-index { grid-column: 1 / span 3; padding-top: 14px; }
.intro__grid > div { grid-column: 5 / span 7; }
.intro__text { margin-top: var(--space-6); display: grid; gap: var(--space-4); max-width: var(--measure); color: var(--c-text-2); font-size: var(--step-1); line-height: 1.6; }

/* Service cards (home, corporate, /hizmetler): the heading link covers the whole card */
.services { background: var(--c-surface); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.service-card { position: relative; }
.media--card { aspect-ratio: 16 / 10; }
.service-card__body { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--space-4); row-gap: var(--space-2); padding-top: var(--space-5); }
.service-card__no { grid-row: 1 / span 3; padding-top: 8px; font-size: 13px; color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.service-card__title { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.1; letter-spacing: var(--display-tracking); }
.service-card__title a { text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; }
.service-card__text { color: var(--c-text-2); max-width: 52ch; }
.service-card__more { display: inline-flex; gap: var(--space-2); margin-top: var(--space-2); font-size: 14px; font-weight: 600; color: var(--c-link); }
.service-card__more span { transition: transform var(--dur-2) var(--ease-out); }
.service-card:hover .media img { transform: scale(1.03); }
.service-card:hover .service-card__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.service-card:hover .service-card__more span { transform: translateX(4px); }
.service-card__title a:focus-visible { outline: none; }
.service-card:has(a:focus-visible) { outline: 2px solid var(--c-focus); outline-offset: 6px; }

/* Projects */
.chips { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--c-line); border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--c-text-2);
  transition: border-color var(--dur-1), color var(--dur-1), background-color var(--dur-1);
}
.chip:hover { border-color: var(--c-text); color: var(--c-text); }
.chip[aria-current="true"], .chip[aria-current="page"] { background: var(--c-text); border-color: var(--c-text); color: var(--c-paper); }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.project-card { grid-column: span 5; }
.project-card--lead { grid-column: 1 / span 7; grid-row: span 2; }
.project-card:nth-child(3) { grid-column: 8 / span 5; }
.project-card__link { display: block; text-decoration: none; }
.project-card .ph { transition: transform var(--dur-3) var(--ease-out); }
.project-card__link:hover .ph { transform: scale(.985); }
.project-card__meta {
  display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-4);
  font-size: 13px; color: var(--c-text-2);
}
.project-card__title { margin-top: var(--space-2); font-family: var(--font-display); font-size: var(--step-2); letter-spacing: var(--display-tracking); line-height: 1.15; }
.project-card--lead .project-card__title { font-size: var(--step-3); }
@media (min-width: 768px) { .project-card--lead .media--lead { aspect-ratio: 7 / 8; } }
.project-card__summary { margin-top: var(--space-2); color: var(--c-text-2); max-width: 52ch; }
.project-card__link:hover .project-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-text); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--ongoing::before { background: transparent; border: 1.5px solid currentColor; }
.status--planned::before { background: transparent; border: 1.5px dashed currentColor; }

/* Process */
.process { background: var(--c-stone); }.process-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); position: relative; }
.process-line li { position: relative; padding-top: var(--space-6); border-top: 1px solid var(--c-text); }
.process-line__no { position: absolute; top: -14px; left: 0; padding-right: var(--space-3); background: inherit; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--c-text-2); }
.process-line h3 { font-family: var(--font-display); font-size: var(--step-2); letter-spacing: var(--display-tracking); line-height: 1.15; }
.process-line p { margin-top: var(--space-3); color: var(--c-text-2); }

/* Footer: one call to action, four groups, legal row */
.site-footer { background: var(--c-ink); color: var(--c-dark-text-2); font-size: 16px; line-height: 1.5; }
.footer-cta {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap;
  padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--c-dark-line);
}
.footer-cta__title { font-family: var(--font-display); font-size: var(--step-4); line-height: 1.05; letter-spacing: var(--display-tracking); color: var(--c-dark-text); }
.footer-cta__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.footer-cta__actions .icon { width: 18px; height: 18px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(32px, 4vw, 64px); padding-block: clamp(48px, 6vw, 80px); }
.site-footer__brand img { width: 128px; height: auto; }
.site-footer__brand p { margin-top: var(--space-5); max-width: 32ch; }
.site-footer__h { font: 600 12px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--c-dark-text-2); margin-bottom: var(--space-4); }
.site-footer ul { display: grid; gap: 2px; }
.site-footer__col a, .site-footer__legal a { display: inline-block; padding-block: 5px; text-decoration: none; color: #D3D9DC; transition: color var(--dur-1); overflow-wrap: anywhere; }
.site-footer__col a:hover, .site-footer__legal a:hover { color: var(--c-dark-text); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__contact ul a { font-variant-numeric: tabular-nums; }
.site-footer__address { margin-top: var(--space-3); font-style: normal; max-width: 34ch; color: #D3D9DC; }
.site-footer__col .site-footer__map { margin-top: var(--space-2); font-weight: 600; color: var(--c-dark-text); }
.site-footer__bottom {
  display: flex; align-items: center; gap: var(--space-3) var(--space-6); flex-wrap: wrap;
  padding-block: var(--space-5) var(--space-6); border-top: 1px solid var(--c-dark-line); font-size: 14px;
}
.site-footer .site-footer__legal { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.dev-credit { display: inline-flex; align-items: center; gap: var(--space-2); margin-left: auto; font-size: 12px; text-decoration: none; opacity: .7; transition: opacity var(--dur-1); }
.dev-credit:hover { opacity: 1; }
.dev-credit img { height: 14px; width: auto; }

/* Project detail */
.section--tight { padding-block: clamp(32px, 5vw, 72px); }
.section-title--sm { font-size: var(--step-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 13px; color: var(--c-text-2); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--c-text); }
.project-hero { padding-top: clamp(24px, 4vw, 48px); }
.project-hero__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin: var(--space-6) 0 clamp(24px, 3vw, 40px); }
.project-hero__title { font-family: var(--font-display); font-size: var(--step-5); line-height: .95; letter-spacing: var(--display-tracking); }
.project-hero__place { font-size: 13px; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase; color: var(--c-text-2); }
.project-body__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6); }
.facts { grid-column: 1 / span 4; margin: 0; border-top: 1px solid var(--c-text); }
.facts > div { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--c-line); }
.facts dt { font-size: 13px; color: var(--c-text-2); }
.facts dd { margin: 0; text-align: right; font-weight: 500; }
.project-body__text { grid-column: 6 / span 7; display: grid; gap: var(--space-5); max-width: var(--measure); color: var(--c-text-2); font-size: var(--step-1); }
.project-body__lead { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; color: var(--c-text); letter-spacing: var(--display-tracking); }
.project-body__text .section-note { font-size: 14px; margin: 0; }

.gallery-count { font-size: 14px; color: var(--c-text-2); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.g { grid-column: span 6; }
.g--4 { grid-column: span 4; } .g--5 { grid-column: span 5; } .g--6 { grid-column: span 6; }
.g--7 { grid-column: span 7; } .g--8 { grid-column: span 8; } .g--12 { grid-column: span 12; }
.g__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--c-ph-1); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.g__btn img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2); }
.g--12 .g__btn img { aspect-ratio: 21 / 8; }
.g__btn:hover img { transform: scale(1.025); }
.g__btn:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }

.related { background: var(--c-surface); }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.related .project-card { grid-column: auto; }


/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 16, 19, .96); color: #F6F5F1; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(12, 16, 19, .9); }
.lightbox__figure { margin: 0; display: grid; gap: var(--space-3); justify-items: center; padding: 64px 72px; max-width: 100%; }
.lightbox__figure img { max-width: min(1600px, 100%); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font-size: 14px; color: #B9C2C6; text-align: center; }
.lightbox__count { margin-left: var(--space-3); font-variant-numeric: tabular-nums; opacity: .8; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(246,245,241,.2); border-radius: 50%; background: rgba(28,37,43,.6); color: inherit; cursor: pointer; }
.lightbox__nav:hover { background: rgba(28,37,43,.9); }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; color: inherit; border-color: rgba(246,245,241,.2); }
.lightbox :focus-visible { outline-color: #B9C2C6; }

/* Mobile bottom bar */
.bottom-bar { display: none; }

/* Drawer (native <dialog>, not alert/confirm) */
.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(420px, 100%);
  padding: calc(var(--space-5) + env(safe-area-inset-top)) var(--space-5) calc(var(--space-6) + env(safe-area-inset-bottom));
  border: 0; background: var(--c-dark-bg); color: var(--c-dark-text);
  display: none; flex-direction: column;
}
.drawer[open] { display: flex; }
.drawer::backdrop { background: rgba(5, 10, 14, .55); }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: drawer-in var(--dur-2) var(--ease-out); }
  @keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } }
}
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__title { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-dark-text-2); }
.drawer__nav { margin-top: var(--space-7); display: grid; }
.drawer__nav a {
  display: block; padding-block: var(--space-4); border-bottom: 1px solid var(--c-dark-line);
  font-family: var(--font-display); font-size: var(--step-3); letter-spacing: var(--display-tracking); text-decoration: none;
}
.drawer__foot { margin-top: auto; font-size: 14px; color: var(--c-dark-text-2); }
.icon-btn {
  display: inline-grid; place-items: center; width: var(--tap); height: var(--tap);
  border: 1px solid var(--c-dark-line); border-radius: var(--radius); background: transparent; color: inherit; cursor: pointer;
}


/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__copy { grid-column: 1 / -1; }
  .hero__media { grid-column: 1 / -1; }
  .hero__media .ph--tall, .hero__media .media--tall { aspect-ratio: 16 / 10; }
  .intro__grid > .section-index, .intro__grid > div { grid-column: 1 / -1; }
  .facts, .project-body__text { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom)); }
  .site-header__inner { height: 64px; }
  .brand img { height: 26px; }
  .main-nav, .site-header__cta { display: none; }
  .hero__index { display: none; }
  .hero__grid, .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__caption { flex-direction: column; gap: 2px; }
  .hero__caption-meta { text-align: left; }


  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card--lead, .project-card:nth-child(3) { grid-column: 1; grid-row: auto; }

  .process-line { grid-template-columns: 1fr; gap: var(--space-6); }
  .project-body__grid { grid-template-columns: minmax(0, 1fr); }
  .media--wide { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .gallery .g { grid-column: span 1; }
  .gallery .g--12, .gallery .g--8 { grid-column: 1 / -1; }
  .g--12 .g__btn img { aspect-ratio: 16 / 9; }
  .related__grid { grid-template-columns: minmax(0, 1fr); }
  .lightbox__figure { padding: 64px 0 96px; }
  .lightbox__nav { top: auto; bottom: 24px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 64px); } .lightbox__nav--next { right: calc(50% - 64px); }

  .bottom-bar {
    position: fixed; inset: auto 0 0 0; z-index: var(--z-bottombar);
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--c-dark-bg); border-top: 1px solid var(--c-dark-line);
    box-shadow: 0 -8px 24px rgba(0,0,0,.12);
  }
  .bottom-bar__item {
    display: grid; justify-items: center; align-content: center; gap: 4px;
    min-height: var(--bottombar-h); padding: 6px 4px;
    font: 500 11px/1.1 var(--font-body); letter-spacing: .02em; text-decoration: none;
    color: var(--c-dark-text); background: none; border: 0; cursor: pointer;
  }
  .bottom-bar__item .icon { width: 22px; height: 22px; }
  .bottom-bar__item:active { background: rgba(255,255,255,.06); }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* Staff preview banner (only rendered for signed-in staff while the site is not Live) */
.preview-banner {
  position: sticky; top: 0; z-index: calc(var(--z-header) + 1);
  display: flex; justify-content: center; align-items: center; gap: var(--space-3); flex-wrap: wrap;
  padding: 8px var(--gutter); font-size: 13px; font-weight: 500;
  background: #2F4A62; color: #F6F5F1; text-align: center;
}
.preview-banner a { color: inherit; font-weight: 600; }
.preview-banner + .site-header { top: 36px; }

/* Empty state */
.empty {
  display: grid; gap: var(--space-3); justify-items: start; padding: clamp(32px, 5vw, 64px);
  border: 1px dashed var(--c-line); color: var(--c-text-2); max-width: 720px;
}
.empty__title { font-family: var(--font-display); font-size: var(--step-2); color: var(--c-text); }

/* Error pages */
.error-page { min-height: 60vh; display: grid; align-content: center; gap: var(--space-5); }
.error-page__code { font-size: 13px; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase; color: var(--c-text-2); }

/* ── Faz 3 components ─────────────────────────────────────────────────── */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.media { display: block; }

/* Inner page header */
.page-hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--c-line); }
.page-hero__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin: var(--space-6) 0 var(--space-5); }
.page-hero__title { font-family: var(--font-display); font-size: var(--step-5); line-height: .98; letter-spacing: var(--display-tracking); text-wrap: balance; }
.page-hero__title--sm { font-size: var(--step-4); max-width: none; }
.page-hero__count { font-size: 14px; color: var(--c-text-2); }

/* Project list */
.project-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.project-list .project-card { grid-column: auto; }

/* Corporate */
.intro__text--flush { margin-top: 0; }
.lead-text { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; color: var(--c-text); font-style: normal; letter-spacing: var(--display-tracking); }
/* Corporate "about": full container width (user request 29.10.2026) */
.about__body { margin-top: var(--space-5); display: grid; gap: var(--space-5); color: var(--c-text-2); font-size: var(--step-1); line-height: 1.7; }
.about__body .rich-text h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; line-height: 1.2; letter-spacing: var(--display-tracking); margin-top: var(--space-5); }
.about__body .figures { margin-top: var(--space-3); }
.figures { margin: var(--space-6) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-5); border-top: 1px solid var(--c-text); padding-top: var(--space-5); }
.figures dt { font-size: 13px; color: var(--c-text-2); }
.figures dd { margin: 4px 0 0; font-family: var(--font-display); font-size: var(--step-3); line-height: 1.1; color: var(--c-text); font-variant-numeric: tabular-nums; }
.figures dd.figures__text { font-size: var(--step-1); line-height: 1.4; }

/* Contact page */
.info-list { margin: 0; display: grid; gap: var(--space-6); }
/* Columns size to their content (a long e-mail address keeps one line) and wrap on narrow screens. */
.info-list--row { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-5); }
.info-list--row > div { flex: 1 1 auto; min-width: min(100%, 200px); }
.info-list > div { border-top: 1px solid var(--c-text); padding-top: var(--space-4); }
.info-list dt { font-size: 12px; font-weight: 600; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase; color: var(--c-text-2); margin-bottom: var(--space-3); }
.info-list dd { margin: 0; display: grid; gap: 6px; font-size: var(--step-1); }
.info-list dd a:not(.text-link) { text-decoration: none; font-variant-numeric: tabular-nums; width: fit-content; }
.info-list dd a:not(.text-link):hover { text-decoration: underline; text-underline-offset: 4px; }
.info-list address { font-style: normal; }
.channel-link { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.channel-link .icon { width: 22px; height: 22px; }
.icon--fill { fill: currentColor; stroke: none; }
.contact-map { margin-top: var(--space-7); aspect-ratio: 21 / 9; min-height: 320px; background: var(--c-line); border: 1px solid var(--c-line); }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Legal prose */
.prose { max-width: 72ch; color: var(--c-text-2); }
.prose h2 { font-family: var(--font-display); font-size: var(--step-2); color: var(--c-text); margin: var(--space-7) 0 var(--space-3); letter-spacing: var(--display-tracking); }
.prose p { margin-bottom: var(--space-4); }
.prose a { color: var(--c-link); }
.prose .rich-text p { margin-bottom: 0; }
.legal-contact { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--c-line); }
.prose__meta { margin-top: var(--space-7); font-size: 14px; }
.table-wrap { overflow-x: auto; margin-bottom: var(--space-4); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prose th { color: var(--c-text); font-weight: 600; }
.staff-note { padding: var(--space-4); background: #E6EDF3; color: #2F4A62; font-size: 14px; border-left: 3px solid #2F4A62; }

.site-footer .social-links { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.social-links a { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); border: 1px solid var(--c-dark-line); border-radius: 50%; color: var(--c-dark-text); transition: border-color var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out); }
.social-links a:hover { border-color: var(--c-dark-text-2); background: rgba(255,255,255,.06); }

/* Floating WhatsApp (tablet/desktop; phones use the bottom bar). The brand green makes the channel recognisable. */
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: var(--z-bottombar);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; background: #1FA855; box-shadow: 0 8px 24px rgba(20, 27, 32, .22);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 27, 32, .28); }
.wa-float:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }

@media (max-width: 1024px) {
  .project-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-map { aspect-ratio: 16 / 10; }
}
@media (max-width: 767px) {
  .project-list { grid-template-columns: minmax(0, 1fr); }
  .wa-float { display: none; }
  .contact-map { aspect-ratio: 4 / 5; min-height: 0; }
  .page-hero__title { font-size: clamp(2.3rem, 10vw, 3.2rem); }
}

/* Project description written with the admin editor (whitelisted HTML from RichText.cs) */
.rich-text { display: grid; gap: var(--space-4); }
.rich-text h2 { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; color: var(--c-text); letter-spacing: var(--display-tracking); margin-top: var(--space-4); }
.rich-text h3 { font-size: var(--step-1); font-weight: 600; color: var(--c-text); margin-top: var(--space-3); }
.rich-text ul, .rich-text ol { padding-left: 1.3em; display: grid; gap: var(--space-2); }
.rich-text ul { list-style: square; }
.rich-text ol { list-style: decimal; }
.rich-text blockquote { margin: 0; padding-left: var(--space-5); border-left: 2px solid var(--c-text); font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; color: var(--c-text); }
.rich-text a { color: var(--c-link); text-decoration: underline; text-underline-offset: 3px; }
.rich-text strong { color: var(--c-text); font-weight: 600; }

/* ── Services, gallery and polish (29.10.2026 redesign) ───────────────── */
.btn .icon { width: 18px; height: 18px; }
.btn--solid { background: var(--c-cta-bg); color: var(--c-cta-text); }
.btn--solid:hover { background: var(--c-cta-hover); }
.btn--outline-dark { color: var(--c-text); border-color: var(--c-text); background: transparent; }
.btn--outline-dark:hover { background: var(--c-text); color: var(--c-paper); }

.page-hero__lede { max-width: 60ch; margin-bottom: var(--space-3); font-size: var(--step-1); line-height: 1.5; color: var(--c-text-2); }
.page-hero--flush { border-bottom: 0; padding-bottom: var(--space-6); }

/* Service detail: wide cover, text column + sticky aside */
.service-hero__media { margin-bottom: clamp(8px, 2vw, 24px); }
.service-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.service-body__text { max-width: 68ch; font-size: 18px; line-height: 1.7; color: var(--c-text-2); }
.service-body__text h2 { font-size: var(--step-3); line-height: 1.1; margin-top: var(--space-6); }
.service-body__text h3 { font-size: 19px; margin-top: var(--space-4); }
.service-body__text > :first-child { margin-top: 0; }
.service-aside { position: sticky; top: 112px; display: grid; gap: var(--space-6); }
.service-aside__box { display: grid; gap: var(--space-3); padding: var(--space-6); background: var(--c-surface); border: 1px solid var(--c-line); }
.service-aside__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; letter-spacing: var(--display-tracking); margin-bottom: var(--space-2); }
.service-aside__label { font-size: 12px; font-weight: 600; letter-spacing: var(--eyebrow-tracking); text-transform: uppercase; color: var(--c-text-2); margin-bottom: var(--space-3); }
.service-aside__others ul { border-top: 1px solid var(--c-text); }
.service-aside__others a { display: flex; justify-content: space-between; gap: var(--space-3); padding-block: 14px; border-bottom: 1px solid var(--c-line); font-weight: 500; text-decoration: none; transition: color var(--dur-1); }
.service-aside__others a:hover { color: var(--c-link); }
.service-aside__others a span { transition: transform var(--dur-2) var(--ease-out); }
.service-aside__others a:hover span { transform: translateX(4px); }
.service-gallery { background: var(--c-surface); }

/* Photo grids (service gallery, /galeri): uniform crops keep reading order = focus order */
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 12px); }
.photo-grid--gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-grid__item { position: relative; display: block; overflow: hidden; background: var(--c-stone); cursor: zoom-in; }
/* The ratio sits on the image itself: portrait photos are cropped, never stretch the row. */
.photo-grid__item img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 600ms var(--ease-out); }
.photo-grid__item:hover img { transform: scale(1.03); }
.photo-grid__caption {
  position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px;
  font-size: 13px; font-weight: 500; line-height: 1.3; color: #fff;
  background: linear-gradient(rgba(12, 16, 19, 0), rgba(12, 16, 19, .72));
  opacity: 0; transform: translateY(4px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.photo-grid__item:hover .photo-grid__caption, .photo-grid__item:focus-visible .photo-grid__caption { opacity: 1; transform: none; }

.chip__count { margin-left: var(--space-2); font-size: 12px; font-variant-numeric: tabular-nums; opacity: .7; }
.chips--scroll { margin-top: var(--space-2); }

/* Drawer: services as an indented sub-list, contact at the bottom */
.drawer__nav .drawer__sub { display: grid; padding: 0 0 var(--space-3) var(--space-4); border-bottom: 1px solid var(--c-dark-line); }
.drawer__nav .drawer__sub a { padding-block: 9px; border: 0; font-family: var(--font-body); font-size: 16px; letter-spacing: 0; color: var(--c-dark-text-2); }
.drawer__nav li:has(> .drawer__sub) > a { border-bottom: 0; }
.drawer__foot { display: grid; gap: 4px; padding-top: var(--space-6); }
.drawer__foot a { color: var(--c-dark-text); text-decoration: none; font-weight: 600; }
.drawer__foot p { margin-top: var(--space-2); }

@media (max-width: 1279px) {
  .photo-grid--gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .site-header__phone { padding: 10px; }
  .site-header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .site-header .site-header__menu { display: inline-grid; }
  .site-header__phone { margin-left: 0; }
  .service-body { grid-template-columns: minmax(0, 1fr); }
  .service-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand, .site-footer__contact { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .site-header__inner { height: 64px; }
  .brand img { height: 28px; }
  .site-header__phone, .site-header .site-header__menu { display: none; }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card__title { font-size: var(--step-2); }
  .service-aside { grid-template-columns: minmax(0, 1fr); }
  .service-body__text { font-size: 17px; }
  .photo-grid, .photo-grid--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid__caption { display: none; }
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .chips--scroll .chip { flex: none; }
  .footer-cta { flex-direction: column; align-items: stretch; }
  .footer-cta__title { font-size: var(--step-3); }
  .footer-cta__actions .btn { flex: 1 1 auto; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7) var(--space-5); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .dev-credit { margin-left: 0; }
}

/* Lightbox: crossfade between photos, swipe-friendly */
.lightbox { touch-action: pan-y pinch-zoom; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox__figure img.is-in { animation: lb-in 200ms var(--ease-out); }
  @keyframes lb-in { from { opacity: 0; } }
}
