/* ai-consultant.co.uk — single stylesheet, no frameworks */

@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument";
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument";
  src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0f1c;
  --ink-2: #374151;
  --muted: #6b7280;
  --line: #ebe8e1;
  --bg: #fbfaf6;
  --paper: #ffffff;
  --sand: #f3f1ea;
  --blue: #3048ff;
  --blue-ink: #2236d6;
  --blue-soft: #e9ecff;
  --lime: #dcf35c;
  --lime-soft: #f4fbd2;
  --peach: #ffe6d5;
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 28, .05), 0 2px 8px rgba(10, 15, 28, .04);
  --shadow: 0 2px 4px rgba(10, 15, 28, .04), 0 18px 48px -12px rgba(10, 15, 28, .16);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --sans: "Jakarta", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument", "Iowan Old Style", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lime); color: var(--ink); }

h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); letter-spacing: -0.045em; line-height: 1; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 em, h2 em { font-size: 1.08em; line-height: .9; }

.mark { white-space: nowrap; background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 .08em; }
.blue { color: var(--blue); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 10px 0 20px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(10, 15, 28, .06);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.scrolled .nav { background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px -10px rgba(10, 15, 28, .18); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.03em; font-size: 1.1rem; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--blue); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 9px 14px; border-radius: 999px; transition: background-color .15s ease, color .15s ease; }
.nav-links a:not(.btn):hover { color: var(--ink); background: var(--sand); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--ink); background: var(--sand); }
.nav-links .btn { margin-left: 6px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sand); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .close { display: none; }
.mobile-menu { display: none; }

@media (max-width: 880px) {
  .nav-links .hide-sm { display: none; }
  .menu-btn { display: grid; }
  .nav { padding-right: 8px; }
  .nav-links .btn { margin-left: 0; }
  .site-header.open .menu-btn .open { display: none; }
  .site-header.open .menu-btn .close { display: block; }
  .mobile-menu {
    pointer-events: auto;
    display: block; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
    padding: 10px; opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-header.open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
  .mobile-menu a { display: block; padding: 14px 16px; border-radius: 14px; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
  .mobile-menu a:hover { background: var(--sand); }
}
@media (max-width: 420px) { .nav-links .btn { padding: 10px 14px; font-size: .9rem; } .brand { font-size: 1rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 17px 26px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), background-color .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -8px rgba(48, 72, 255, .6); }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2436; color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #cfe84a; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: rgba(10, 15, 28, .12); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); background: #fff; }
.btn-sm { padding: 12px 18px; font-size: .94rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 100px); }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -140px 0 auto 0; height: 900px; pointer-events: none;
  background:
    radial-gradient(520px 420px at 78% 30%, rgba(48, 72, 255, .16), transparent 70%),
    radial-gradient(420px 360px at 92% 78%, rgba(220, 243, 92, .38), transparent 70%),
    radial-gradient(460px 380px at 8% 18%, rgba(255, 214, 186, .45), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); padding: 7px 16px 7px 8px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.pill .dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); }
.pill .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); list-style: none; padding-left: 0; }
.proof li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.proof svg { width: 22px; height: 22px; color: var(--blue); flex: none; }

/* Hero visual */
.hero-visual { position: relative; max-width: 560px; justify-self: end; width: 100%; }
@media (max-width: 980px) { .hero-visual { justify-self: center; margin-top: 8px; } }
.hero-photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--sand); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 28, .35)); }
.float {
  position: absolute; z-index: 2; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; box-shadow: var(--shadow);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.35;
  animation: bob 6s ease-in-out infinite;
}
.float strong { display: block; font-size: .95rem; }
.float small { color: var(--muted); font-size: .8rem; }
.float .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float .ic svg { width: 20px; height: 20px; }
.float-1 { top: 9%; left: -12%; }
.float-2 { bottom: 16%; right: -9%; animation-delay: -3s; }
.float-3 { bottom: -22px; left: 8%; animation-delay: -1.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 620px) {
  .float-1 { left: -4px; top: 5%; }
  .float-2 { right: -4px; }
  .float-3 { left: 12px; }
  .float { padding: 10px 12px; font-size: .82rem; }
  .float .ic { width: 34px; height: 34px; }
}
.badge-spin { position: absolute; z-index: 3; top: -34px; right: -26px; width: 128px; height: 128px; }
.badge-spin .ring { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-spin .core { position: absolute; inset: 30px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: var(--lime); }
.badge-spin .core svg { width: 28px; height: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 620px) { .badge-spin { width: 100px; height: 100px; right: -6px; top: -26px; } .badge-spin .core { inset: 24px; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg); margin: 0 -20px; box-shadow: 0 20px 40px -20px rgba(10, 15, 28, .4); }
.marquee-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 40px; padding: 0 20px; margin: 0; list-style: none; }
.marquee li { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.marquee li:nth-child(even) em { color: var(--lime); }
.marquee li::after { content: "✦"; color: var(--lime); font-size: .8em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-statement { padding-block: clamp(72px, 10vw, 140px) clamp(8px, 2vw, 24px); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.15rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* Editorial statement with inline pictures */
.statement { font-size: clamp(1.9rem, 4.6vw, 3.9rem); line-height: 1.18; font-weight: 600; letter-spacing: -0.035em; max-width: 1100px; margin: 0; }
.statement .muted-ink { color: #a3a8b3; }
.inline-pic { display: inline-block; vertical-align: middle; width: 1.9em; height: .95em; border-radius: 999px; overflow: hidden; margin: -.1em .08em 0; background: var(--sand); box-shadow: var(--shadow-sm); }
.inline-pic img { width: 100%; height: 100%; object-fit: cover; }

/* Bento services */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); background: var(--paper); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-height: 280px; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: auto; }
.tile p { color: var(--ink-2); margin: 0; font-size: 1rem; max-width: 30em; }
.tile .num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--muted); margin-bottom: 28px; }
.t-a { grid-column: span 4; }
.t-b { grid-column: span 2; }
.t-c, .t-d, .t-e { grid-column: span 2; }
.t-f { grid-column: span 6; }
.tile-photo { color: #fff; border: 0; min-height: 380px; background: var(--ink); }
.tile-photo picture, .tile-photo > img { position: absolute; inset: 0; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.tile-photo:hover img { transform: scale(1.04); }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 28, .05) 20%, rgba(10, 15, 28, .82)); }
.tile-photo > *:not(picture) { position: relative; z-index: 1; }
.tile-photo p { color: rgba(255, 255, 255, .86); }
.tile-photo .num { color: rgba(255, 255, 255, .7); }
.tile-blue { background: var(--blue); color: #fff; border: 0; }
.tile-blue p, .tile-blue .num { color: rgba(255, 255, 255, .82); }
.tile-lime { background: var(--lime); border: 0; }
.tile-lime p { color: #2a3212; }
.tile-lime .num { color: #56621d; }
.tile-ink { background: var(--ink); color: #fff; border: 0; }
.tile-ink p, .tile-ink .num { color: rgba(255, 255, 255, .72); }
.tile-f-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; height: 100%; }
.tile .ic-lg { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); margin-bottom: 28px; }
.tile .ic-lg svg { width: 26px; height: 26px; }
.tile-lime .ic-lg { background: rgba(10, 15, 28, .08); }
.tile-plain .ic-lg { background: var(--blue-soft); color: var(--blue); }
@media (max-width: 980px) {
  .t-a, .t-f { grid-column: span 6; }
  .t-b, .t-c, .t-d, .t-e { grid-column: span 3; }
  .tile-f-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .bento > .tile { grid-column: span 6; }
  .tile { min-height: 240px; }
  .tile-photo { min-height: 340px; }
}

/* Split with photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.photo-stack { position: relative; padding: 0 0 40px 40px; }
.photo-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius-xl); background: var(--lime); }
.photo-stack .main { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow); background: var(--sand); }
.photo-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .quote { position: absolute; right: -12px; bottom: 6px; max-width: 290px; background: #fff; border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow); font-size: .98rem; line-height: 1.45; }
.photo-stack .quote em { font-size: 1.35rem; display: block; line-height: 1.15; margin-bottom: 6px; color: var(--ink); }
@media (max-width: 620px) { .photo-stack { padding: 0 0 28px 20px; } .photo-stack .quote { position: relative; right: auto; bottom: auto; margin: -40px 12px 0 auto; } }

.translate { display: grid; gap: 10px; margin-top: 32px; }
.translate div { display: grid; grid-template-columns: 1fr 28px 1.15fr; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.translate div:hover { border-color: var(--blue); transform: translateX(4px); }
.translate s { color: var(--muted); font-size: .95rem; text-decoration-color: rgba(107, 114, 128, .55); }
.translate b { font-weight: 600; }
.translate span { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: .9rem; font-weight: 700; }
@media (max-width: 480px) { .translate div { grid-template-columns: 1fr; gap: 4px; } .translate span { display: none; } }

/* Steps */
.steps-wrap { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px); position: relative; overflow: hidden; }
.steps-wrap::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(48, 72, 255, .55), transparent 65%); pointer-events: none; }
.steps-wrap::after { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(220, 243, 92, .22), transparent 65%); pointer-events: none; }
.steps-wrap .section-head p { color: #b9c0cf; }
.steps-wrap .kicker { color: var(--lime); }
.steps { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; padding: 28px 26px 30px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .25s ease, transform .25s ease; }
.steps li:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--lime); margin-bottom: 26px; }
.steps h3 { color: #fff; }
.steps p { color: #b9c0cf; margin: 0; font-size: 1rem; }

/* Light steps variant (contact page) */
.steps-light li { background: #fff; border-color: var(--line); }
.steps-light li:hover { background: #fff; box-shadow: var(--shadow); }
.steps-light li::before { color: var(--blue); }
.steps-light h3 { color: var(--ink); }
.steps-light p { color: var(--ink-2); }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industries { grid-template-columns: 1fr 1fr; gap: 12px; } }
.ind { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); color: #fff; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.ind:hover img { transform: scale(1.06); }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 15, 28, .85)); }
.ind div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.ind h3 { margin: 0 0 4px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.ind p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .8); line-height: 1.45; }
@media (max-width: 480px) { .ind div { padding: 14px; } .ind p { display: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .95rem; font-weight: 500; color: var(--ink-2); }

/* Local banner */
.local { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; color: #fff; background: var(--ink); }
.local picture, .local > img { position: absolute; inset: 0; }
.local img { width: 100%; height: 100%; object-fit: cover; }
.local::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 28, .78) 0%, rgba(10, 15, 28, .35) 55%, rgba(10, 15, 28, .1)), linear-gradient(0deg, rgba(10, 15, 28, .5), transparent 50%); }
.local-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; width: 100%; padding: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) { .local-inner { grid-template-columns: 1fr; } .local { min-height: 0; } .local::after { background: linear-gradient(0deg, rgba(10, 15, 28, .88) 30%, rgba(10, 15, 28, .35)); } }
.local h2 { color: #fff; }
.local .kicker { color: var(--lime); }
.local p { color: rgba(255, 255, 255, .86); font-size: 1.1rem; max-width: 32em; }
.glass { background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .22); border-radius: 26px; padding: 28px; }
.glass address { font-style: normal; font-size: 1.08rem; line-height: 1.7; margin: 8px 0 22px; }
.glass .label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
.areas li { font-size: .88rem; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-aside { position: sticky; top: 120px; }
@media (max-width: 900px) { .faq-aside { position: static; } }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 0 26px; transition: box-shadow .25s ease, border-color .25s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%230a0f1c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .3s ease, background-color .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq details p { color: var(--ink-2); padding-bottom: 24px; margin: 0; }

/* CTA */
.cta { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--blue); color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 480px; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-copy { padding: clamp(36px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 4rem); }
.cta h2 em { color: var(--lime); }
.cta p { color: rgba(255, 255, 255, .86); font-size: 1.15rem; max-width: 30em; }
.cta .cta-row { margin-top: 20px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.cta-photo { position: relative; min-height: 320px; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--blue), rgba(48, 72, 255, 0) 40%); }
@media (max-width: 900px) { .cta-photo::before { background: linear-gradient(180deg, var(--blue), rgba(48, 72, 255, 0) 40%); } }

/* ---------- Inner page header ---------- */
.page-head { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px); }
.page-head::before { content: ""; position: absolute; z-index: -1; inset: -140px 0 auto 0; height: 640px; pointer-events: none; background: radial-gradient(520px 360px at 80% 30%, rgba(48, 72, 255, .13), transparent 70%), radial-gradient(420px 320px at 10% 20%, rgba(255, 214, 186, .45), transparent 70%), radial-gradient(360px 280px at 60% 90%, rgba(220, 243, 92, .3), transparent 70%); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "→"; margin-right: 8px; color: #b6bdc9; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }

.contact-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .contact-hero { grid-template-columns: 1fr; } }
.contact-hero .photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--sand); }
.contact-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-hero .photo .float { animation: none; left: 16px; bottom: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 44px); }
.panel-ink { background: var(--ink); color: #fff; border: 0; position: relative; overflow: hidden; }
.panel-ink::before { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(48, 72, 255, .6), transparent 65%); }
.panel-ink > * { position: relative; }
.panel-ink .kicker { color: var(--lime); }
.email-big { display: inline-block; font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; color: #fff; text-decoration: none; word-break: break-word; margin: 4px 0 30px; border-bottom: 2px solid var(--lime); line-height: 1.25; }
.email-big:hover { color: var(--lime); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; color: #d4d9e3; }
.info-list .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--lime); display: grid; place-items: center; }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #8e97a8; font-weight: 700; margin-bottom: 4px; }
.info-list address { font-style: normal; color: #fff; }
.hours { width: 100%; border-collapse: collapse; color: #fff; }
.hours td { padding: 2px 0; }
.hours td:last-child { text-align: right; color: #d4d9e3; }

.form { display: grid; gap: 18px; }
.form label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid #e2ded4; border-radius: 14px; padding: 15px 16px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230a0f1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(48, 72, 255, .14); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form .btn { justify-self: start; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

.map-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: var(--sand); height: clamp(420px, 55vw, 560px); }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-info { position: absolute; left: 20px; top: 20px; max-width: 320px; background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.map-info address { font-style: normal; line-height: 1.6; color: var(--ink-2); margin: 6px 0 18px; }
.map-info .cta-row { margin-top: 0; gap: 8px; }
@media (max-width: 620px) {
  .map-card { height: auto; display: flex; flex-direction: column-reverse; }
  .map-card iframe { height: 380px; }
  .map-info { position: static; max-width: none; border-radius: 0; box-shadow: none; }
}

/* ---------- Legal / prose ---------- */
.prose-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .prose-layout { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px 20px; font-size: .92rem; }
@media (max-width: 900px) { .toc { position: static; } }
.toc strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 2.2em; letter-spacing: -0.025em; }
.prose h2:first-of-type { margin-top: .6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue); }
.prose .meta { display: inline-block; color: var(--ink); font-size: .9rem; font-weight: 600; background: var(--lime-soft); border-radius: 999px; padding: 6px 14px; }
.prose address { font-style: normal; color: var(--ink-2); margin-bottom: 1em; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4cad6; margin-top: clamp(72px, 10vw, 140px); padding-block: clamp(56px, 8vw, 96px) calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .96rem; position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: var(--lime); }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #7f889a; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #e7eaf0; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer .btn-lime, .site-footer .btn-lime:hover { color: var(--ink); }
.site-footer .brand rect { fill: #1d2538; }
.site-footer address { font-style: normal; line-height: 1.8; }
.foot-tag { margin: 18px 0 26px; max-width: 26em; font-size: 1.05rem; }
.foot-big { font-size: clamp(3.2rem, 13vw, 12rem); font-weight: 800; letter-spacing: -0.06em; line-height: .9; color: #fff; margin: clamp(48px, 7vw, 88px) 0 0; white-space: nowrap; overflow: hidden; }
.foot-big em { color: var(--lime); font-weight: 400; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #7f889a; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose em { font-family: inherit; font-style: italic; font-size: inherit; }
