:root {
  /* Layout idea: black and deep navy, with gold reserved for what matters: the close shrinking, the AI path advancing, the one call to action. */
  --bg: #000000;
  --surface: #070b14;
  --raise: #0e1729;
  --navy: #14213d;
  --line: #1f2d4d;
  --text: #ffffff;
  --muted: #a9adb5;
  --soft: #e5e5e5;
  --accent: #fca311;
  --accent-dim: rgba(252, 163, 17, .14);
  --cool: #e5e5e5;
  --placeholder-bg: rgba(252, 163, 17, .08);
  --placeholder-line: #a77a1f;
  --font-display: "Open Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  /* Type scale: 16px base x 1.618 (golden ratio). Half step (x1.272) for small headings. */
  --step-min: 0.75rem;                               /* 12px, smallest allowed */
  --step-0: 1rem;                                    /* 16px body */
  --step-1: 1.272rem;                                /* 20.4px lede, card titles */
  --step-2: 1.618rem;                                /* 25.9px project titles */
  --step-3: clamp(1.9rem, 4.2vw, 2.618rem);          /* 41.9px section headings */
  --step-4: clamp(2.4rem, 6.4vw, 4.236rem);          /* 67.8px main headline */
  --space-1: 0.618rem; --space-2: 1rem; --space-3: 1.618rem; --space-4: 2.618rem; --space-5: 4.236rem; --space-6: 6.854rem;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;  /* 16px x 1.6 = 25.6px */
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
h1 { font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-weight: 400; line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-weight: 600; line-height: 1.3; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--font-mono); }
.ph { background: var(--placeholder-bg); outline: 1px dashed var(--placeholder-line); padding: 0 .3em; }


/* Image blocks: large, rounded, spaced */
.imgblock { position: relative; border-radius: 22px; overflow: hidden; background: var(--surface) center / cover no-repeat; border: 1px solid var(--line); }
.imgblock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.imgblock > .inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 5vw, 64px); }
.banner { min-height: clamp(340px, 52vw, 560px); margin-top: 0; }
.bg-flow { background-image: url("../images/flow.jpg"); }
.bg-columns { background-image: url("../images/columns.jpg"); }
.bg-dots { background-image: url("../images/dots.jpg"); }
.bg-network { background-image: url("../images/network.jpg"); }

/* Hero as a full photo block */
.hero { padding: 16px 16px 0; }
.hero .photo { position: relative; min-height: min(88vh, 860px); border-radius: 26px; overflow: hidden; background: #000000 url("../images/hero.jpg") 100% center / cover no-repeat; display: flex; align-items: flex-end; }
.hero .photo::before { content: ""; position: absolute; inset: 0; background:
   linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 34%, rgba(0,0,0,.25) 62%, rgba(0,0,0,0) 80%),
   linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 40%); }
.hero .copy { position: relative; z-index: 1; width: min(1160px, 100% - 32px); margin-inline: auto; padding-block: 120px clamp(40px, 7vw, 84px); }
.hero .copy > div { max-width: 640px; }
.hero-stats { margin-top: var(--space-4); display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: var(--step-2); }
.hero-stats .stat b em { font-style: normal; color: var(--accent); }
@media (max-width: 760px) {
  .hero .photo { background-position: 80% top; background-size: auto 62%; background-color: var(--bg); align-items: flex-end; min-height: 0; }
  .hero .photo::before { background: linear-gradient(0deg, var(--bg) 42%, rgba(0,0,0,.2) 75%, rgba(0,0,0,0) 100%); }
  .hero .copy { padding-top: 58vw; }
}

/* Close block */
.close-block { min-height: clamp(420px, 50vw, 600px); }
.close-block::after { background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.2) 100%); }
.close-block .inner { justify-content: center; }
.close-grid { margin-top: var(--space-4); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .close-grid { grid-template-columns: 1fr; } }

/* About */
.about-photo { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; background: var(--surface); }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.whole { margin-top: var(--space-5); min-height: clamp(380px, 44vw, 520px); }
.whole::after { background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.15) 100%); }
.whole .inner { justify-content: center; max-width: 720px; }
.whole p.lead { margin-top: 16px; color: var(--muted); font-size: var(--step-1); max-width: 46ch; }
.stack { display: grid; gap: 28px; }


/* Case studies with screenshots */
.case.with-shots .shots { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.case.with-shots .shots.one { grid-template-columns: 1fr; }
.case figure { margin: 0; }
.case figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.case figure figcaption { margin-top: 8px; font-size: var(--step-min); color: var(--muted); letter-spacing: .02em; }
.case-cta { margin-top: 16px !important; }
.case-cta a { color: var(--accent); font-weight: 600; text-decoration: none; }
.case-cta a:hover { text-decoration: underline; }
@media (max-width: 800px) { .case.with-shots .shots { grid-template-columns: 1fr; } }

/* Free tool */
.free { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--space-5); align-items: center; }
.free .shot img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(252,163,17,.25); }
.free h3.small { font-family: var(--font-body); font-size: var(--step-min); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-top: var(--space-3); }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; color: var(--soft); }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--accent); }
.mods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.mods li { font-size: .88rem; border: 1px solid var(--line); background: var(--raise); border-radius: 999px; padding: 6px 14px; color: var(--soft); }
form.grab { margin-top: var(--space-4); display: grid; gap: 12px; padding: 22px; background: var(--surface); border: 1px solid #4d3a12; border-radius: 14px; }
form.grab .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
form.grab .consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-weight: 400; font-size: .88rem; color: var(--muted); align-items: start; }
form.grab .consent input { width: 16px; height: 16px; margin-top: 3px; padding: 0; }
form.grab .fine { font-size: var(--step-min); color: var(--muted); }
@media (max-width: 900px) { .free { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form.grab .row { grid-template-columns: 1fr; } }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { text-decoration: none; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; font-size: 1.3rem; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a { text-decoration: none; font-size: .93rem; color: var(--muted); }
nav.main a:hover { color: var(--text); }
@media (max-width: 860px) { nav.main a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 0; cursor: pointer; font: 600 .95rem/1 var(--font-body); padding: 14px 22px; border-radius: 999px; background: var(--accent); color: #000000; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #fdb84a; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--muted); background: transparent; }
nav.main .btn { color: #000000; padding: 11px 18px; }

/* Hero */
.eyebrow { font-family: var(--font-body); font-size: var(--step-min); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.hero h1 { margin-top: var(--space-3); font-size: var(--step-4); }
.hero h1 .out { color: var(--muted); font-style: italic; font-weight: 300; }
.hero .lede { margin-top: var(--space-3); font-size: var(--step-1); color: var(--muted); max-width: 40ch; }
.hero .lede strong { color: var(--text); font-weight: 500; }
.hero .actions { margin-top: var(--space-4); display: flex; gap: 12px; flex-wrap: wrap; }

/* Close-time panel */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.panel .label { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; }
.bars { margin-top: 22px; display: grid; gap: 16px; }
.bar-row { display: grid; gap: 8px; }
.bar-row .t { display: flex; justify-content: space-between; font-size: .9rem; }
.bar-row .t b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.track { height: 12px; background: var(--raise); border-radius: 99px; overflow: hidden; }
.fill { height: 100%; border-radius: 99px; }
.fill.before { width: 100%; background: repeating-linear-gradient(45deg, #3a4452 0 6px, #2e3744 6px 12px); }
.fill.after { width: 33%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .fill.after { animation: shrink 1.6s cubic-bezier(.2,.8,.2,1) .4s both; }
  @keyframes shrink { from { width: 100%; } to { width: 33%; } }
}
.panel .foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat b { display: block; font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; line-height: 1.2; }
.stat span { font-size: .82rem; color: var(--muted); }

/* Logos strip: tools */
.tools { border-block: 1px solid var(--line); background: var(--surface); }
.tools .wrap { display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center; padding-block: 20px; font-family: var(--font-mono); font-size: .88rem; color: var(--muted); }
.tools .wrap strong { color: var(--text); font-weight: 500; font-family: var(--font-body); }

/* Sections */
section.block { padding-block: var(--space-6); }
.kicker { margin-bottom: var(--space-2) !important; font-family: var(--font-body); font-size: var(--step-min); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 18px; }
.block h2 { font-size: var(--step-3); max-width: 20ch; }
.block .intro { margin-top: var(--space-2); color: var(--muted); font-size: var(--step-1); line-height: 1.55; max-width: 58ch; }
.alt { background: linear-gradient(180deg, var(--surface), #0b1426); border-block: 1px solid var(--line); }

/* AI path */
.path { margin-top: var(--space-4); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.path::before { content: ""; position: absolute; top: 15px; left: 16px; right: 16px; height: 2px; background: linear-gradient(90deg, var(--line), var(--accent)); }
.stage { position: relative; padding-right: 24px; }
.stage .dot { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.stage:nth-child(2) .dot { border-color: #5c4a22; }
.stage:nth-child(3) .dot { border-color: #a77a1f; }
.stage:nth-child(4) .dot { border-color: var(--accent); background: var(--accent); color: #000000; font-weight: 600; }
.stage h3 { margin-top: 22px; font-size: var(--step-1); }
.stage .when { font-family: var(--font-body); font-size: var(--step-min); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cool); margin-top: 6px; display: block; }
.stage p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; gap: 30px; }
  .path::before { top: 16px; bottom: 16px; left: 15px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--line), var(--accent)); }
  .stage { padding: 0 0 0 52px; }
  .stage .dot { position: absolute; left: 0; top: 0; }
  .stage h3 { margin-top: 2px; }
}

/* Services */
.services { margin-top: var(--space-4); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { background: var(--raise); border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.svc.lead, .svc.wide { grid-column: span 2; }
.svc.lead { background: linear-gradient(135deg, rgba(252,163,17,.13), var(--raise) 60%); border-color: #4d3a12; }
.svc .tag { font-family: var(--font-body); font-size: var(--step-min); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.svc.lead .tag { color: var(--accent); }
.svc h3 { font-size: var(--step-1); }
.svc p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } .svc.lead, .svc.wide { grid-column: auto; } }

/* Close section */
.close { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.big-num { font-family: var(--font-display); font-weight: 300; font-size: clamp(4rem, 12vw, 9rem); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.big-num s { color: var(--muted); text-decoration-thickness: 6px; text-decoration-color: var(--accent); font-weight: 500; }
.big-num .arrow { color: var(--accent); font-weight: 500; }
.big-cap { margin-top: 14px; font-family: var(--font-body); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem !important; color: var(--muted); font-size: .88rem; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); }
.checks li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 2px; background: var(--accent); }
.checks li strong { color: var(--text); font-weight: 500; }
@media (max-width: 900px) { .close { grid-template-columns: 1fr; } }

/* Work */
.work { margin-top: var(--space-4); display: grid; gap: 18px; }
.case { display: grid; grid-template-columns: 220px 1fr; gap: 34px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.case .meta { font-family: var(--font-body); font-size: var(--step-min); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: grid; gap: 8px; align-content: start; }
.case .meta .sector { color: var(--accent); }
.case h3 { font-size: var(--step-2); }
.case p { margin-top: 12px; color: var(--muted); max-width: 66ch; }
.case ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.case li { font-family: var(--font-mono); font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--text); }
@media (max-width: 800px) { .case { grid-template-columns: 1fr; gap: 14px; } }

/* About */
.about { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.portrait-old { aspect-ratio: 4 / 5; border-radius: 14px; background: var(--placeholder-bg); border: 1px dashed var(--placeholder-line); display: grid; place-items: center; text-align: center; font-family: var(--font-mono); font-size: .85rem; color: #fca311; padding: 20px; }
.about .body { margin-top: 20px; max-width: 62ch; color: var(--muted); display: grid; gap: 16px; }
.about .body strong { color: var(--text); font-weight: 500; }
.pillars { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar { border-top: 2px solid var(--accent); padding-top: 14px; }
.pillar h3 { font-size: 1.05rem; }
.pillar p { margin-top: 6px; font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .portrait-old { max-width: 280px; } .pillars { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { margin-top: var(--space-4); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; background: var(--raise); border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--soft); }
.quote figcaption { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.quote figcaption strong { color: var(--accent); font-weight: 500; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact .side p { margin-top: 18px; color: var(--muted); }
.contact .side .actions { margin-top: 28px; }
.social { margin-top: 30px; display: flex; gap: 20px; flex-wrap: wrap; }
.social a { font-weight: 500; text-underline-offset: 5px; text-decoration-color: var(--line); }
form.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 30px; display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; font-size: .9rem; font-weight: 500; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); width: 100%; }
textarea { min-height: 130px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-msg { display: none; padding: 12px 14px; background: var(--accent-dim); border-radius: 8px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .panel .foot { grid-template-columns: 1fr 1fr; } }

footer.site { border-top: 1px solid var(--line); padding-block: 30px; font-size: .88rem; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Sub-pages ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border-top: 2px solid var(--accent); padding-top: 16px; }
.step .n { font-family: var(--font-display); font-weight: 300; font-size: 2.618rem; color: var(--accent); line-height: 1; }
.step h3 { margin-top: 10px; font-size: var(--step-1); }
.step p { margin-top: 8px; color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.sub-hero { padding-block: var(--space-5) var(--space-4); }
.sub-hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-5); align-items: center; }
.sub-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: var(--space-2); }
.sub-hero .lede { margin-top: var(--space-3); font-size: var(--step-1); color: var(--muted); max-width: 44ch; }
.sub-hero img, .two img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.sub-hero img { box-shadow: 0 30px 60px -30px rgba(252,163,17,.25); }
.tabgrid { margin-top: var(--space-4); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tab { background: var(--raise); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.tab h3 { font-size: 1.05rem; color: var(--accent); }
.tab p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.two { margin-top: var(--space-4); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two figure { margin: 0; } .two figcaption { margin-top: 8px; font-size: var(--step-min); color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; max-width: 70ch; }
details summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; }
details p { margin-top: 10px; color: var(--muted); }
.faq { margin-top: var(--space-3); }
@media (max-width: 900px) { .sub-hero .wrap, .two { grid-template-columns: 1fr; } .tabgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tabgrid { grid-template-columns: 1fr; } }

/* ---------- Service pages ---------- */
.svc .more { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; font-size: .92rem; text-decoration: none; }
.svc .more:hover { text-decoration: underline; }
.svc { transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.svc:hover { border-color: #4d3a12; box-shadow: 0 18px 40px -24px rgba(252,163,17,.35); }
.page-banner { min-height: clamp(300px, 40vw, 460px); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
.cols2 .ticks { margin-top: var(--space-3); }
.fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: var(--space-4); }
.fit .tab h3 { color: var(--text); }
.cta-band { margin-top: var(--space-5); padding: clamp(28px, 5vw, 56px); border-radius: 22px; border: 1px solid #4d3a12; background: linear-gradient(135deg, rgba(252,163,17,.14), var(--surface) 65%); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: var(--step-3); max-width: 22ch; }
.cta-band p { margin-top: 10px; color: var(--muted); max-width: 52ch; }
.crumbs { font-size: var(--step-min); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--accent); }
.related { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.related a { display: inline-block; text-decoration: none; border: 1px solid var(--line); background: var(--raise); border-radius: 999px; padding: 8px 16px; color: var(--soft); font-size: .92rem; transition: border-color .2s ease, color .2s ease; }
.related a:hover { border-color: var(--accent); color: var(--accent); }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site nav a { text-decoration: none; color: var(--muted); } footer.site nav a:hover { color: var(--accent); }
footer.site .wrap.cols { display: grid; grid-template-columns: 1fr auto; gap: 18px; }
@media (max-width: 900px) { .cols2, .fit { grid-template-columns: 1fr; } footer.site .wrap.cols { grid-template-columns: 1fr; } }

/* ---------- Motion (only when the visitor allows it) ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #a77a1f, var(--accent)); z-index: 40; pointer-events: none; }
header.site { transition: background .3s ease, box-shadow .3s ease; }
header.site.scrolled { background: rgba(0,0,0,.94); box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); }
.typed::after { content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 4px; vertical-align: -0.08em; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .imgblock.reveal { transform: translateY(26px) scale(.985); }
  .js .imgblock.reveal.in { transform: none; }
  .js .hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.45em); animation: wordIn .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.15s + var(--i) * .09s); }
  @keyframes wordIn { to { opacity: 1; transform: none; } }
  .js .hero .lede, .js .hero .actions, .js .hero-stats, .js .hero .eyebrow { opacity: 0; animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .hero .eyebrow { animation-delay: .05s; } .js .hero .lede { animation-delay: .9s; } .js .hero .actions { animation-delay: 1.1s; } .js .hero-stats { animation-delay: 1.3s; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .hero .photo { animation: heroDrift 26s ease-in-out infinite alternate; }
  @keyframes heroDrift { from { background-position: 100% 50%; } to { background-position: 92% 46%; } }
  .eyebrow::before { animation: pulse 2.8s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px var(--accent-dim); } 50% { box-shadow: 0 0 0 9px rgba(252,163,17,0); } }
  .typed::after { animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .js .path::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s cubic-bezier(.2,.7,.2,1) .2s; }
  .js .path.in::before { transform: scaleX(1); }
  .js .path .stage .dot { transition: border-color .4s ease, box-shadow .6s ease; }
  .js .path.in .stage .dot { box-shadow: 0 0 0 6px rgba(252,163,17,.08); }
  .svc:hover, .case:hover, .quote:hover, .tab:hover { transform: translateY(-3px); }
  .case, .quote, .tab { transition: transform .3s ease, border-color .3s ease; }
  .case:hover, .quote:hover, .tab:hover { border-color: #33466e; }
  .gold-sweep { background: linear-gradient(90deg, var(--text) 0%, var(--text) 40%, var(--accent) 50%, var(--text) 60%, var(--text) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sweep 7s ease-in-out infinite; }
  @keyframes sweep { 0% { background-position: 100% 0; } 60%,100% { background-position: 0 0; } }
}
@media (max-width: 760px) { .hero .photo { animation: none; } }
@media (prefers-reduced-motion: reduce) { .progress { display: none; } .typed::after { display: none; } }
.stat b span { font-size: inherit; color: inherit; }

/* ---------- Booking ---------- */
.book-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-5); align-items: end; }
.book-points { margin: 0; }
.book-frame { margin-top: var(--space-4); border-radius: 18px; overflow: hidden; border: 1px solid #4d3a12; background: #ffffff; box-shadow: 0 30px 60px -30px rgba(252,163,17,.25); }
.book-frame iframe { display: block; width: 100%; height: 720px; border: 0; }
.book-alt { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.book-alt a { color: var(--accent); text-decoration: none; font-weight: 600; } .book-alt a:hover { text-decoration: underline; }
@media (max-width: 900px) { .book-head { grid-template-columns: 1fr; gap: var(--space-3); } .book-frame iframe { height: 1050px; } }
