/* ==========================================================================
   VZR Group — site stylesheet
   Layout: brand-gradient bands (hero, page headers, CTA) alternate with calm
   white / cool-grey sections; the letterhead's chamfered logo tab anchors the
   header. Colours and type follow the 2026 Kurumsal Kimlik Kılavuzu:
   Gök Mavisi #0986d4 · Soluk Mavi #709abd · Gri #3d3d3d · Helvetica Neue.
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* brand (identity guide) */
  --brand-blue: #0986d4;
  --brand-steel: #709abd;
  --brand-grey: #3d3d3d;
  --brand-grad: linear-gradient(90deg, #0986d4 0%, #709abd 100%);
  --on-brand: #ffffff;
  --on-brand-soft: rgba(255, 255, 255, .9);
  --on-brand-ink: #05558a;
  --on-brand-hover: #e9f4fc;
  --plate: #ffffff;
  --plate-soft: #f3f6f8;
  --st-done-bg: #e2f3e9;
  --st-done-fg: #1b6a3f;
  --st-done-dot: #2e9e5b;
  --st-planned-bg: #eef0f3;
  --st-planned-fg: #4b5560;
  --st-planned-dot: #98a2ad;
  --scrim: rgba(3, 44, 72, .62);
  --scrim-mid: rgba(3, 44, 72, .40);
  --scrim-end: rgba(3, 44, 72, .10);

  /* surfaces + text */
  --bg: #ffffff;
  --bg-soft: #f2f5f8;
  --bg-tint: #e8f2fa;
  --surface: #ffffff;
  --fg: #3d3d3d;
  --fg-strong: #1b2026;
  --muted: #5d656e;
  --line: #dfe5eb;
  --line-strong: #c3ced8;
  --crown-line: #cdd4da;
  --link: #0670b2;
  --link-hover: #04578b;
  --btn: #0670b2;
  --btn-hover: #055d94;
  --icon-bg: #e8f2fa;
  --icon-fg: #0670b2;
  --danger: #b42318;
  --tbd-fg: #7a4f00;
  --tbd-bg: #fff5dc;
  --tbd-line: #e2b44b;
  --footer-bg: #1c2126;
  --footer-fg: #cdd4da;
  --footer-muted: #96a1ab;
  --footer-head: #ffffff;
  --footer-line: #2d343b;
  --panel-bg: #1c2126;
  --panel-fg: #e9eef2;
  --panel-muted: #b9c3cc;
  --panel-head: #ffffff;
  --panel-line: #1c2126;
  --panel-icon: #7cc3f3;
  --shadow-sm: 0 1px 2px rgba(17, 32, 48, .07);
  --shadow: 0 1px 2px rgba(17, 32, 48, .05), 0 14px 32px -14px rgba(17, 32, 48, .22);

  /* type */
  --font: "Helvetica Neue", "Inter", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 2.625rem);
  --fs-h1: clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
  --fs-hero: clamp(2.25rem, 1.2rem + 3vw, 3.75rem);

  /* layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --tab-drop: 18px;
  --section-y: clamp(64px, 8vw, 112px);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --scrim: rgba(2, 22, 38, .70);
    --scrim-mid: rgba(2, 22, 38, .50);
    --scrim-end: rgba(2, 22, 38, .22);
    --bg: #0d1115;
    --bg-soft: #12181e;
    --bg-tint: #0f2333;
    --surface: #151b21;
    --fg: #cfd6dd;
    --fg-strong: #f1f4f7;
    --muted: #9ba6b1;
    --line: #253039;
    --line-strong: #36434f;
    --crown-line: #34404b;
    --link: #66b8f1;
    --link-hover: #93ccf6;
    --btn: #0670b2;
    --btn-hover: #0a80cb;
    --icon-bg: #10283b;
    --icon-fg: #66b8f1;
    --danger: #ff8f80;
    --tbd-fg: #f2cd77;
    --tbd-bg: #2a2109;
    --tbd-line: #6e5615;
    --footer-bg: #090c0f;
    --footer-fg: #c3cbd2;
    --footer-muted: #8a959f;
    --footer-head: #ffffff;
    --footer-line: #1e252c;
    --panel-bg: #0f2333;
  --plate-soft: #161d24; --st-done-bg: #10301f; --st-done-fg: #86dbaa; --st-done-dot: #3fb873; --st-planned-bg: #1f252c; --st-planned-fg: #c3cad1; --st-planned-dot: #7f8a96;
    --plate-soft: #161d24; --st-done-bg: #10301f; --st-done-fg: #86dbaa; --st-done-dot: #3fb873; --st-planned-bg: #1f252c; --st-planned-fg: #c3cad1; --st-planned-dot: #7f8a96;
    --panel-fg: #e3ebf2;
    --panel-muted: #a7b8c7;
    --panel-head: #ffffff;
    --panel-line: #1d3a52;
    --panel-icon: #7cc3f3;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 34px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --scrim: rgba(2, 22, 38, .70);
  --scrim-mid: rgba(2, 22, 38, .50);
  --scrim-end: rgba(2, 22, 38, .22);
  --bg: #0d1115;
  --bg-soft: #12181e;
  --bg-tint: #0f2333;
  --surface: #151b21;
  --fg: #cfd6dd;
  --fg-strong: #f1f4f7;
  --muted: #9ba6b1;
  --line: #253039;
  --line-strong: #36434f;
  --crown-line: #34404b;
  --link: #66b8f1;
  --link-hover: #93ccf6;
  --btn: #0670b2;
  --btn-hover: #0a80cb;
  --icon-bg: #10283b;
  --icon-fg: #66b8f1;
  --danger: #ff8f80;
  --tbd-fg: #f2cd77;
  --tbd-bg: #2a2109;
  --tbd-line: #6e5615;
  --footer-bg: #090c0f;
  --footer-fg: #c3cbd2;
  --footer-muted: #8a959f;
  --footer-head: #ffffff;
  --footer-line: #1e252c;
  --panel-bg: #0f2333;
  --panel-fg: #e3ebf2;
  --panel-muted: #a7b8c7;
  --panel-head: #ffffff;
  --panel-line: #1d3a52;
  --panel-icon: #7cc3f3;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 34px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 { margin: 0; color: var(--fg-strong); font-weight: 700; line-height: 1.14; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--btn); color: var(--on-brand); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--on-brand); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-chip { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--radius); background: var(--icon-bg); color: var(--icon-fg); }
.icon-chip .icon { width: 26px; height: 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; background: transparent;
  font: inherit; font-size: var(--fs-small); font-weight: 700; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--btn); color: var(--on-brand); }
.btn-primary:hover { background: var(--btn-hover); color: var(--on-brand); }
.btn-outline { border-color: var(--line-strong); color: var(--fg-strong); }
.btn-outline:hover { border-color: var(--link); color: var(--link); }
.btn-light { background: var(--on-brand); color: var(--on-brand-ink); }
.btn-light:hover { background: var(--on-brand-hover); color: var(--on-brand-ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .72); color: var(--on-brand); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: var(--on-brand); border-color: var(--on-brand); }
.btn-sm { min-height: 40px; padding: 0 16px; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-small); text-decoration: none; color: var(--link); }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: var(--surface); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand-tab {
  position: relative; align-self: flex-start; flex: none;
  display: grid; place-items: center;
  width: 108px; height: calc(var(--header-h) + var(--tab-drop));
  padding: 8px 14px calc(var(--tab-drop) + 2px);
  background: linear-gradient(160deg, #0986d4 0%, #2a8fd0 45%, #709abd 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: height .25s ease, padding .25s ease;
}
.brand-tab img { width: 74px; transition: width .25s ease; }
.site-header.is-scrolled .brand-tab, .menu-open .brand-tab { height: var(--header-h); padding-bottom: 8px; }
.site-header.is-scrolled .brand-tab img, .menu-open .brand-tab img { width: 62px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--fg-strong); text-decoration: none; font-size: var(--fs-small); font-weight: 500; white-space: nowrap;
}
.nav-link:hover { color: var(--link); background: var(--bg-soft); }
.nav-link[aria-current="page"], .nav-item.is-active > .nav-link { color: var(--link); }
.nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand-grad);
}
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.has-sub { position: relative; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.subnav {
  position: absolute; top: calc(100% + 12px); left: -12px; width: 340px;
  display: grid; gap: 2px; padding: 8px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > .nav-link .icon, .has-sub:focus-within > .nav-link .icon { transform: rotate(180deg); }
.subnav a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--fg-strong); }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--bg-soft); color: var(--fg-strong); }
.subnav .icon-chip { width: 40px; height: 40px; border-radius: 10px; }
.subnav .icon-chip .icon { width: 22px; height: 22px; }
.subnav strong { display: block; font-size: var(--fs-small); font-weight: 700; line-height: 1.3; }
.subnav small { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; margin-top: 2px; }

.lang-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a, .lang-switch span { display: inline-grid; place-items: center; min-width: 36px; height: 30px; padding: 0 8px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--link); }
.lang-switch [aria-current="true"] { background: var(--bg-tint); color: var(--link); }
.header-cta { margin-left: 6px; }

.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--fg-strong); font: inherit; font-size: var(--fs-small); font-weight: 700; cursor: pointer;
}
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

.mobile-panel {
  position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  z-index: 55; overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 20px var(--gutter) 40px;
  animation: panel-in .2s ease;
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-panel ul { list-style: none; padding: 0; display: grid; }
.mobile-panel > nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-panel a.m-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-size: 1.125rem; font-weight: 700; color: var(--fg-strong); text-decoration: none; }
.mobile-panel a.m-link[aria-current="page"] { color: var(--link); }
.mobile-panel .m-sub { padding: 0 0 12px 2px; gap: 2px; }
.mobile-panel .m-sub a { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--fg); text-decoration: none; font-weight: 500; }
.mobile-panel .m-sub a[aria-current="page"] { color: var(--link); }
.mobile-panel .m-sub .icon { color: var(--icon-fg); }
.mobile-foot { display: grid; gap: 16px; margin-top: 24px; }
.mobile-foot .lang-switch { justify-self: start; }
.mobile-contact { display: grid; gap: 8px; font-size: var(--fs-small); }
.mobile-contact a { color: var(--fg); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.mobile-contact .icon { width: 18px; height: 18px; color: var(--icon-fg); }

@media (max-width: 1099px) {
  .nav-link { padding-inline: 9px; }
  .header-cta { display: none; }
}
@media (max-width: 899px) {
  :root { --header-h: 66px; --tab-drop: 12px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand-tab { width: 88px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
  .brand-tab img { width: 58px; }
  .site-header.is-scrolled .brand-tab img, .menu-open .brand-tab img { width: 52px; }
}
body.menu-open { overflow: hidden; }

/* ---------- section scaffolding ---------- */
.section { padding-block: var(--section-y); }
.section-soft { background: var(--bg-soft); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head-row .section-head { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--link); line-height: 1.4; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--brand-grad); flex: none; }
.h2 { font-size: var(--fs-h2); }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.prose-block { display: grid; gap: 18px; }
.prose-block p { max-width: 68ch; }

/* ---------- hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-brand); background: var(--brand-grad); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim-mid) 48%, var(--scrim-end) 100%); }
.hero::after {
  content: ""; position: absolute; z-index: -1; left: -6%; bottom: -14%; width: min(62vw, 760px); aspect-ratio: 533 / 281;
  background: url("../img/crown-outline-white.svg") no-repeat center / contain; opacity: .26;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero .eyebrow { color: var(--on-brand); }
.hero .eyebrow::before { background: var(--on-brand); }
.hero h1 { color: var(--on-brand); font-size: var(--fs-hero); line-height: 1.05; letter-spacing: -.028em; max-width: 17ch; }
.hero .lead { color: var(--on-brand-soft); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-art-wrap { width: 100%; max-width: 540px; justify-self: end; min-width: 0; }
.hero-art { width: 100%; height: auto; overflow: visible; }
.hero-pillars { position: relative; background: rgba(3, 38, 62, .34); border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-pillars ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding-block: 0; }
.hero-pillars a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 18px 20px; color: var(--on-brand); text-decoration: none; font-weight: 500; font-size: var(--fs-small); line-height: 1.3; border-left: 1px solid rgba(255, 255, 255, .16); transition: background-color .2s ease; }
.hero-pillars li:first-child a { border-left: 0; padding-left: 0; }
.hero-pillars a:hover { background: rgba(255, 255, 255, .08); color: var(--on-brand); }
.hero-pillars .icon { width: 22px; height: 22px; opacity: .9; }

/* hero illustration strokes (white line art on the gradient) */
.hero-art .s { stroke: #fff; stroke-opacity: .92; stroke-width: 1.3; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.hero-art .s2 { stroke: #fff; stroke-opacity: .55; stroke-width: 1; fill: none; stroke-linecap: round; }
.hero-art .s3 { stroke: #fff; stroke-opacity: .28; stroke-width: 1; fill: none; stroke-linecap: round; }
.hero-art .g { stroke: #fff; stroke-opacity: .16; stroke-width: 1; fill: none; }
.hero-art .ft { fill: #fff; fill-opacity: .22; }
.hero-art .fl { fill: #fff; fill-opacity: .12; }
.hero-art .fr { fill: #fff; fill-opacity: .05; }
.hero-art .fl.accent { fill-opacity: .34; }
.hero-art .slab { fill: #fff; fill-opacity: .10; }
.hero-art .win { fill: #fff; fill-opacity: .30; }
.hero-art .win2 { fill: #fff; fill-opacity: .16; }
.hero-art .door { fill: #fff; fill-opacity: .38; }
.hero-art .shadow { fill: #062c47; fill-opacity: .2; }
.hero-art .lbl { fill: #fff; fill-opacity: .75; font: 500 10px/1 var(--font-mono); letter-spacing: .04em; }
.hero-art .sway { transform-box: fill-box; transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }

@media (max-width: 899px) {
  .hero::before { background: linear-gradient(180deg, var(--scrim) 0%, var(--scrim-mid) 100%); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art-wrap { justify-self: center; max-width: 420px; }
  .hero-pillars ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-pillars li:nth-child(3) a { border-left: 0; padding-left: 0; }
  .hero-pillars li:nth-child(n+3) a { border-top: 1px solid rgba(255, 255, 255, .16); }
}
@media (max-width: 479px) {
  .hero-pillars ul { grid-template-columns: 1fr; }
  .hero-pillars a { border-left: 0; padding-inline: 0; }
  .hero-pillars li + li a { border-top: 1px solid rgba(255, 255, 255, .16); }
  .hero-actions { justify-self: stretch; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-brand); background: var(--brand-grad); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim-mid) 55%, var(--scrim-end) 100%); }
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: -3%; top: 50%; width: min(48vw, 600px); aspect-ratio: 533 / 281; transform: translateY(-46%);
  background: url("../img/crown-outline-white.svg") no-repeat center / contain; opacity: .34;
}
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding-block: clamp(44px, 6vw, 84px) clamp(48px, 6vw, 88px); }
.page-hero-copy { display: grid; gap: 16px; justify-items: start; max-width: 780px; min-width: 0; }
.page-hero h1 { color: var(--on-brand); font-size: var(--fs-h1); }
.page-hero .lead { color: var(--on-brand-soft); }
.page-hero .eyebrow { color: var(--on-brand); }
.page-hero .eyebrow::before { background: var(--on-brand); }
.page-hero-logo { width: clamp(180px, 22vw, 280px); opacity: .95; }
.page-hero.has-logo::after { display: none; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; list-style: none; padding: 0; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .02em; color: var(--on-brand-soft); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; opacity: .6; }
.breadcrumb a { color: var(--on-brand); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--on-brand); }
@media (max-width: 899px) {
  .page-hero::before { background: linear-gradient(180deg, var(--scrim) 0%, var(--scrim-mid) 100%); }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-logo { width: 180px; }
}

/* ---------- cards / lists ---------- */
.card { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
a.card { color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
a.card:hover { border-color: var(--link); border-color: color-mix(in srgb, var(--brand-blue) 50%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card h3 { font-size: var(--fs-h3); }
.card p { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
.card .text-link { margin-top: auto; padding-top: 4px; }
.card-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }

.check-list { display: grid; gap: 10px; list-style: none; padding: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.check-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--brand-blue); stroke-width: 2; }
.check-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.check-list.small li { font-size: var(--fs-small); }
@media (max-width: 639px) { .check-list.cols-2 { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--bg-tint); color: var(--fg-strong); font-size: var(--fs-small); font-weight: 500; }

.tbd { display: inline-flex; align-items: center; padding: 1px 10px; border: 1px dashed var(--tbd-line); border-radius: 999px; background: var(--tbd-bg); color: var(--tbd-fg); font-size: var(--fs-xs); font-weight: 500; line-height: 1.7; white-space: nowrap; }
.draft-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px dashed var(--tbd-line); border-radius: var(--radius); background: var(--tbd-bg); color: var(--tbd-fg); font-size: var(--fs-small); line-height: 1.55; }
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--bg-tint); color: var(--fg-strong); line-height: 1.6; }
.callout .icon { color: var(--icon-fg); margin-top: 2px; }

/* ---------- home: intro ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.intro-copy { display: grid; gap: 18px; justify-items: start; }
.intro-copy p { max-width: 62ch; }
.brand-panel { position: relative; isolation: isolate; overflow: hidden; margin: 0; border-radius: var(--radius-lg); background: var(--brand-grad); color: var(--on-brand); display: grid; grid-template-rows: 1fr auto; min-height: 320px; }
.brand-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 0% 0%, rgba(3, 44, 72, .35), transparent 60%); }
.brand-panel::after { content: ""; position: absolute; z-index: -1; right: -18%; bottom: -10%; width: 90%; aspect-ratio: 533 / 281; background: url("../img/crown-white.svg") no-repeat center / contain; opacity: .08; }
.brand-panel img { place-self: center; width: min(300px, 74%); margin-block: 36px 28px; }
.brand-panel figcaption { padding: 14px 20px; background: rgba(3, 38, 62, .42); font-size: var(--fs-small); line-height: 1.5; }
@media (max-width: 899px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- home: services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 0; overflow: hidden; }
.feature-brand { position: relative; isolation: isolate; display: grid; place-items: center; align-content: center; gap: 18px; padding: 36px; min-height: 280px; background: var(--brand-grad); color: var(--on-brand); }
.feature-brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 44, 72, .32), transparent); }
.feature-brand img { width: min(280px, 82%); }
.feature-brand .card-label { color: var(--on-brand); letter-spacing: .16em; }
.feature-body { display: grid; gap: 16px; align-content: center; padding: clamp(24px, 3.2vw, 44px); }
.feature-body h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.feature-body > p { color: var(--muted); max-width: 60ch; }
.service-card .icon-chip { margin-bottom: 4px; }
@media (max-width: 899px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-feature { grid-template-columns: 1fr; }
  .feature-brand { min-height: 200px; }
  .service-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; row-gap: 8px; }
  .service-card .icon-chip { grid-row: span 3; margin: 0; }
}

/* ---------- value grid ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.value { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
.value::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--brand-grad); }
.value h3 { font-size: 1.125rem; }
.value p { color: var(--muted); font-size: var(--fs-small); }
.value .icon-chip { width: 44px; height: 44px; }
@media (max-width: 1023px) { .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- process steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
.step { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -14px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-blue), var(--brand-steel)); opacity: .45; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand-blue); color: var(--link); font-weight: 700; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.section-soft .step-num { background: var(--bg-soft); }
.step h3 { font-size: 1.0625rem; margin-top: 6px; }
.step p { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
.steps.vertical { grid-template-columns: 1fr; gap: 0; }
.steps.vertical .step { grid-template-columns: 46px minmax(0, 1fr); column-gap: 20px; row-gap: 4px; padding-bottom: 28px; }
.steps.vertical .step:last-child { padding-bottom: 0; }
.steps.vertical .step-num { grid-row: span 2; }
.steps.vertical .step h3 { margin-top: 10px; }
.steps.vertical .step:not(:last-child)::after { top: 54px; bottom: 6px; left: 22px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand-blue), var(--brand-steel)); }
@media (max-width: 1023px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { grid-template-columns: 46px minmax(0, 1fr); column-gap: 20px; row-gap: 4px; padding-bottom: 28px; }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: span 2; }
  .step h3 { margin-top: 10px; }
  .step:not(:last-child)::after { top: 54px; bottom: 6px; left: 22px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand-blue), var(--brand-steel)); }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-grad); color: var(--on-brand); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim-mid) 60%, var(--scrim-end) 100%); }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -4%; bottom: -22%; width: min(60%, 560px); aspect-ratio: 533 / 281; background: url("../img/crown-outline-white.svg") no-repeat center / contain; opacity: .36; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding: clamp(32px, 5vw, 64px); }
.cta-copy { display: grid; gap: 12px; max-width: 620px; min-width: 0; }
.cta-copy h2 { color: var(--on-brand); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.cta-copy p { color: var(--on-brand-soft); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) { .cta-band::before { background: linear-gradient(180deg, var(--scrim), var(--scrim-mid)); } }
@media (max-width: 479px) { .cta-actions .btn { flex: 1 1 100%; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-grid h2 { margin-bottom: 4px; }
.info-card { padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.0625rem; margin-bottom: 14px; }
.info-list { display: grid; margin: 0; }
.info-list > div { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.info-list dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--muted); padding-top: 2px; }
.info-list dd { margin: 0; color: var(--fg-strong); font-size: var(--fs-small); overflow-wrap: anywhere; }
.info-list dd a { color: var(--link); text-decoration: none; }
@media (max-width: 899px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 419px) { .info-list > div { grid-template-columns: 1fr; } }

.brand-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brand-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.brand-plate { display: grid; place-items: center; min-height: 220px; padding: 32px; background: var(--plate); border-bottom: 1px solid var(--line); }
.brand-plate img { max-height: 150px; width: auto; max-width: 78%; }
.brand-card-body { display: grid; gap: 8px; align-content: start; padding: 24px; }
.brand-card-body h3 { font-size: var(--fs-h3); }
.brand-card-body p { color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 767px) { .brand-cards { grid-template-columns: 1fr; } }

.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mv-card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--bg-soft); }
.mv-card h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.mv-card h3::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--brand-grad); }
.mv-card p { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; color: var(--fg-strong); font-weight: 500; letter-spacing: -.005em; }
@media (max-width: 767px) { .mv-grid { grid-template-columns: 1fr; } }

.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; }
.area-grid li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 500; color: var(--fg-strong); line-height: 1.4; }
.area-grid .icon-chip { width: 44px; height: 44px; }
@media (max-width: 899px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .area-grid { grid-template-columns: 1fr; } }
.after-grid { margin-top: 32px; }

/* ---------- services overview ---------- */
.flow { display: grid; gap: 14px; }
.flow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; }
.flow-step { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.flow-step h3 { font-size: 1.0625rem; }
.flow-step p { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.flow-step .icon-chip { width: 44px; height: 44px; }
.flow-arrow { position: absolute; top: 50%; right: -24px; width: 20px; height: 20px; transform: translateY(-50%); color: var(--brand-blue); }
.flow-base { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: var(--bg-tint); border: 1px dashed var(--line-strong); }
.flow-base strong { color: var(--fg-strong); }
.flow-base p { color: var(--fg); font-size: var(--fs-small); }
@media (max-width: 899px) {
  .flow-steps { grid-template-columns: 1fr; gap: 26px; }
  .flow-arrow { top: auto; bottom: -24px; right: auto; left: 34px; transform: rotate(90deg); }
}
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc-item { display: grid; gap: 14px; align-content: start; }
.svc-item .card-head { display: flex; align-items: center; gap: 16px; }
.svc-item h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
@media (max-width: 899px) { .svc-list { grid-template-columns: 1fr; } }

/* ---------- service detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-main { display: grid; gap: clamp(40px, 5vw, 56px); min-width: 0; }
.detail-main section { display: grid; gap: 18px; }
.detail-main h2 { font-size: clamp(1.375rem, 1.15rem + .9vw, 1.75rem); }
.detail-intro { font-size: clamp(1.125rem, 1.04rem + .35vw, 1.3125rem); line-height: 1.6; color: var(--fg-strong); max-width: 64ch; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.benefit { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.benefit h3 { font-size: 1.0625rem; }
.benefit p { color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.benefit .icon { color: var(--icon-fg); }
@media (max-width: 1099px) { .benefit-grid { grid-template-columns: 1fr; } .benefit { grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; } .benefit .icon { grid-row: span 2; } }
.sidebar { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 18px; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.side-card h2 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side-nav { display: grid; gap: 2px; list-style: none; padding: 0; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px; margin-inline: -10px; border-radius: var(--radius-sm); color: var(--fg-strong); text-decoration: none; font-weight: 500; font-size: var(--fs-small); line-height: 1.35; }
.side-nav a:hover { background: var(--bg-soft); color: var(--fg-strong); }
.side-nav a[aria-current="page"] { background: var(--bg-tint); color: var(--link); }
.side-nav .icon { color: var(--icon-fg); width: 22px; height: 22px; }
.side-contact { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--panel-bg); color: var(--panel-fg); border: 1px solid var(--panel-line); }
.side-contact h2 { font-size: 1.125rem; color: var(--panel-head); letter-spacing: -.01em; }
.side-contact p { font-size: var(--fs-small); color: var(--panel-muted); }
.side-contact .contact-lines { display: grid; gap: 8px; font-size: var(--fs-small); }
.side-contact .contact-lines a { display: inline-flex; align-items: center; gap: 10px; color: var(--panel-head); text-decoration: none; overflow-wrap: anywhere; }
.side-contact .contact-lines a:hover { text-decoration: underline; color: var(--panel-head); }
.side-contact .icon { width: 18px; height: 18px; color: var(--panel-icon); }
@media (max-width: 959px) { .detail { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* ---------- projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.project-media {
  position: relative; display: grid; place-items: center; align-content: center; gap: 8px; aspect-ratio: 4 / 3; max-width: 100%;
  color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background-color: var(--bg-tint);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
}
.project-media .icon { width: 32px; height: 32px; color: var(--icon-fg); }
.project-body { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 20px 22px 24px; }
.project-body h3 { font-size: 1.125rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 899px) { .projects-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-cards h2 { font-size: var(--fs-h3); margin-bottom: 4px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.contact-item .icon-chip { width: 44px; height: 44px; }
.contact-item-body { display: grid; gap: 6px; min-width: 0; flex: 1; }
.contact-item-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-item-value { color: var(--fg-strong); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.contact-item-value.plain { user-select: text; -webkit-user-select: text; }
.contact-item-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 4px; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: var(--link); font: inherit; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; cursor: pointer; text-decoration: none; }
.mini-btn:hover { color: var(--link-hover); text-decoration: underline; }
.mini-btn .icon { width: 16px; height: 16px; }
.mini-btn.is-copied { color: var(--fg-strong); }

.form-card { padding: clamp(24px, 3.2vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.form-card h2 { font-size: clamp(1.375rem, 1.15rem + .9vw, 1.75rem); }
.form-card > p { color: var(--muted); margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: 700; color: var(--fg-strong); }
.field .req { color: var(--muted); font-weight: 500; font-size: var(--fs-xs); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--fg-strong);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(9, 134, 212, .22); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--fs-xs); font-weight: 500; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); color: var(--fg); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--btn); }
.consent-wrap { grid-column: 1 / -1; display: grid; gap: 6px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.form-hint { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-tint); color: var(--fg-strong); font-size: var(--fs-small); line-height: 1.55; }
.form-status.is-ok { border-left: 3px solid var(--brand-blue); }
.form-status.is-error { border-left: 3px solid var(--danger); color: var(--danger); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }
.anchor-target { display: block; height: 0; }
@media (max-width: 959px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { flex: 1 1 100%; } }

/* ---------- prose (legal) ---------- */
.prose { max-width: 780px; }
.prose .updated { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.prose h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.prose p { margin: 0 0 14px; line-height: 1.75; }

/* ---------- 404 ---------- */
.notfound { display: grid; gap: 18px; justify-items: start; padding-block: clamp(80px, 12vw, 160px); }
.notfound .code { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .14em; color: var(--muted); }
.notfound h1 { font-size: var(--fs-h1); }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); }
.site-footer::before { content: ""; display: block; height: 4px; background: var(--brand-grad); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: clamp(48px, 6vw, 72px) 44px; }
.footer-brand img { width: 92px; }
.footer-brand p { margin-top: 20px; max-width: 36ch; color: var(--footer-muted); font-size: var(--fs-small); line-height: 1.6; }
.footer-col h2 { margin-bottom: 16px; color: var(--footer-head); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 10px; list-style: none; padding: 0; font-size: var(--fs-small); }
.footer-col a { color: var(--footer-fg); text-decoration: none; }
.footer-col a:hover { color: var(--footer-head); text-decoration: underline; }
.footer-col address { display: grid; gap: 10px; font-style: normal; font-size: var(--fs-small); line-height: 1.55; }
.footer-col address a, .footer-col address span { display: inline-flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-col .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--panel-icon); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px; border-top: 1px solid var(--footer-line); font-size: var(--fs-xs); color: var(--footer-muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: var(--footer-fg); text-decoration: none; }
.footer-bottom a:hover { color: var(--footer-head); text-decoration: underline; }
@media (max-width: 959px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 559px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-art .sway { animation: none; }
}
.stack { display: grid; gap: 28px; }

/* ---------- home: about band + brands (crown rising from the line) ---------- */
.about-band { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.about-band-inner { padding-block: var(--section-y) clamp(80px, 10vw, 140px); }
.about-home .intro-copy { max-width: 600px; }
.crown-line { position: absolute; z-index: -1; right: -8vw; bottom: -6vw; width: min(64vw, 900px); height: auto; fill: none; stroke: var(--crown-line); stroke-width: 1.4; opacity: .9; pointer-events: none; }
.brands-wrap { padding-block: clamp(40px, 5vw, 64px) var(--section-y); }
.brands-block { display: grid; gap: 18px; }
.brands-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 899px) {
  .about-band-inner { padding-bottom: 58vw; }
  .crown-line { width: 112vw; right: -18vw; bottom: -9vw; }
}

.brand-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.brand-tile { display: grid; gap: 8px; align-content: start; justify-items: start; min-width: 0; }
.brand-tile-plate { justify-self: stretch; display: grid; place-items: center; height: clamp(170px, 17vw, 240px); margin-bottom: 14px; background: var(--plate-soft); }
.brand-tile-plate img { width: auto; height: clamp(76px, 7.6vw, 108px); max-width: 74%; object-fit: contain; }
.brand-tile h3 { font-size: clamp(1.25rem, 1.12rem + .45vw, 1.5rem); }
.brand-tile p { color: var(--muted); font-size: 1.0625rem; }
.brand-tile .text-link { margin-top: 4px; }
.logo-on-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-on-light { display: none; } :root:not([data-theme="light"]) .logo-on-dark { display: block; } }
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }
@media (max-width: 639px) { .brand-tiles { grid-template-columns: 1fr; } }

/* ---------- projects: status tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border: 0; background: none; color: var(--muted); font: inherit; font-size: var(--fs-body); font-weight: 700; cursor: pointer; }
.tab:hover { color: var(--fg-strong); }
.tab[aria-selected="true"] { color: var(--fg-strong); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand-grad); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-done { background: var(--st-done-dot); }
.dot-active { background: var(--brand-blue); }
.dot-planned { background: var(--st-planned-dot); }
.tab-panel { display: grid; gap: 22px; }
.tab-panel + .tab-panel { margin-top: 32px; }
.js-tabs .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel:focus-visible { outline-offset: 8px; }
.panel-head { display: grid; gap: 4px; }
.panel-head h2 { font-size: clamp(1.375rem, 1.15rem + .9vw, 1.75rem); }
.panel-head p { color: var(--muted); }
.js-tabs .panel-head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.status { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; line-height: 1.7; }
.status-done { background: var(--st-done-bg); color: var(--st-done-fg); }
.status-active { background: var(--bg-tint); color: var(--link); }
.status-planned { background: var(--st-planned-bg); color: var(--st-planned-fg); }
@media (max-width: 559px) { .tab { padding: 12px 12px; font-size: var(--fs-small); } }
.section-soft .brand-tile-plate { background: var(--surface); }

/* ---------- page background: faint crown relief on every page ---------- */
/* fixed and behind every section: it shows only where the page itself is the background */
.bg-crown { position: fixed; z-index: -1; right: -7vw; bottom: -9vh; width: min(60vw, 860px); height: auto; fill: none; stroke: var(--crown-line); stroke-width: 1.4; opacity: .5; pointer-events: none; }
.about-band { background: var(--bg); }
@media (max-width: 899px) { .bg-crown { width: 118vw; right: -30vw; bottom: -14vw; opacity: .42; } }
@media print { .bg-crown { display: none; } }

/* ---------- home: one feature card per brand ---------- */
.services-grid { grid-template-columns: 1fr; }
.feature-logo.logo-vzr-group { width: min(168px, 56%); }
@media (min-width: 900px) {
  .service-feature.is-flipped { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .service-feature.is-flipped .feature-brand { order: 2; }
  .service-feature.is-flipped .feature-brand::before { background: linear-gradient(270deg, rgba(3, 44, 72, .32), transparent); }
}

/* ---------- service detail: sub-areas + sidebar sub-links ---------- */
.area-blocks { display: grid; gap: 16px; }
.area-block { display: grid; gap: 12px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 24px); }
.area-head { display: flex; align-items: center; gap: 14px; }
.area-head h3 { font-size: 1.25rem; }
.area-block > p { color: var(--muted); }
.side-sub { display: grid; list-style: none; padding: 0 0 4px; }
.side-nav .side-sub a { padding: 6px 10px 6px 44px; font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.side-nav .side-sub a:hover { color: var(--fg-strong); }
.page-hero-logo.is-square { width: clamp(112px, 11vw, 160px); }
@media (max-width: 899px) { .page-hero-logo.is-square { width: 112px; } }

/* ---------- coming soon ---------- */
.soon-section { padding-block: clamp(80px, 10vw, 140px); }
.soon-card { display: grid; justify-items: center; gap: 18px; max-width: 640px; margin-inline: auto; text-align: center; }
.soon-crown { width: 104px; height: auto; fill: none; stroke: var(--brand-blue); stroke-width: 7; margin-bottom: 4px; }
.soon-card h2 { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.25rem); line-height: 1; letter-spacing: -.035em; }
.soon-card > p { color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 50ch; }
.soon-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.soon-card > p.soon-mail { font-size: var(--fs-small); color: var(--muted); }
.soon-mail a { color: var(--link); font-weight: 500; text-decoration: none; }
.soon-mail a:hover { text-decoration: underline; }
.soon-contact { display: grid; gap: 14px; max-width: 640px; }
.soon-contact .h2 { margin-bottom: 10px; }
.contact-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 639px) { .contact-grid-2 { grid-template-columns: 1fr; } .soon-actions .btn { flex: 1 1 100%; } }
