/* Baltibe Creative — site styles
   Brand colours from the Baltibe brand kit. Fonts are close Google Fonts
   matches to the Canva kit — swap the two families below if the kit names differ. */

:root {
  --teal: #005a5d;      /* primary: buttons, links, dark sections */
  --mint: #4ad3ba;      /* accent: on dark backgrounds and decoration only */
  --lilac: #b8a3c4;     /* secondary: highlight blocks, never small text */
  --cream: #f6f7eb;     /* page background */
  --ink: #1f1f1f;       /* body text */
  --ink-soft: #4a4d4a;
  --line: #dfe1d3;
  --white: #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: 16px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--mint); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--ink); color: var(--cream); padding: 8px 14px; z-index: 10; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 65ch; }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-soft); max-width: 46ch; }
.eyebrow { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: block; }
.dark .eyebrow { color: var(--mint); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--teal); }
.nav { display: flex; gap: 4px 22px; flex-wrap: wrap; align-items: center; padding: 8px 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; }
.nav .btn { padding: 9px 18px; font-size: 0.95rem; }
.nav .btn:hover { color: var(--cream); text-decoration: none; }
@media (max-width: 640px) {
  .site-header .wrap { padding-top: 10px; padding-bottom: 6px; }
  .nav { width: 100%; justify-content: space-between; gap: 6px 14px; }
  .nav a { font-size: 0.95rem; }
  .nav .btn { display: none; }
}

/* Buttons */
.btn { display: inline-block; background: var(--teal); color: var(--cream); font-weight: 600; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--teal); transition: background .15s, color .15s; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.dark .btn { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.dark .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.8rem; }

/* Sections */
section { padding: clamp(56px, 9vw, 112px) 0; }
.hero { padding-top: clamp(48px, 8vw, 104px); }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--teal); }
.dark { background: var(--teal); color: var(--cream); }
.dark a:not(.btn) { color: var(--mint); }
.dark .lede, .dark p { color: #e3ece6; }
.tint { background: #ecedde; }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card-lilac { background: var(--lilac); border-color: var(--lilac); }
.dark .card { background: rgba(255,255,255,0.06); border-color: rgba(246,247,235,0.18); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 0 64px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--serif); font-weight: 700; font-size: 1.9rem; color: var(--mint); line-height: 1; }

.stat { font-family: var(--serif); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--teal); margin-bottom: 0.3em; }

/* Founder */
.founder { display: grid; gap: 32px; align-items: center; }
@media (max-width: 819px) { .photo { aspect-ratio: 1 / 1; max-width: 220px; } }
@media (min-width: 820px) { .founder { grid-template-columns: 300px 1fr; gap: 56px; } }
.photo { aspect-ratio: 4 / 5; max-width: 300px; width: 100%; border-radius: var(--radius); background: var(--lilac); display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--ink); font-size: 0.95rem; }
blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; font-weight: 500; }

/* Case study */
.snapshot { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 2rem 0 3rem; }
@media (min-width: 760px) { .snapshot { grid-template-columns: repeat(4, 1fr); } }
.snapshot div { background: var(--white); padding: 18px 20px; }
.snapshot dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 4px; }
.snapshot dd { margin: 0; font-weight: 600; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }

/* Engagement list */
.offer { border-top: 1px solid var(--line); padding: 36px 0; display: grid; gap: 12px 48px; }
@media (min-width: 820px) { .offer { grid-template-columns: 1fr 1.4fr; } }
.offer:last-child { border-bottom: 1px solid var(--line); }
.offer dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 0.98rem; }
.offer dt { font-weight: 600; }
.offer dd { margin: 0; }

/* Contact */
.contact-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.contact-box .big { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; word-break: break-word; }

/* CTA band */
.cta-band h2 { max-width: 20ch; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd2c6; padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer a { color: var(--cream); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .logo { color: var(--cream); }
.site-footer .logo span { color: var(--mint); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.legal { border-top: 1px solid #3a3a3a; margin-top: 36px; padding-top: 20px; font-size: 0.85rem; color: #a9ad9f; }

/* Placeholders: visible on purpose so nothing ships unfinished.
   Search the files for "NEEDS" to find every one. */
.needs { background: #fff3a8; color: #1f1f1f; font-family: var(--sans); font-size: 0.85em; font-weight: 600; font-style: normal; padding: 1px 6px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; letter-spacing: 0; }
.draft-note { background: #fff3a8; color: var(--ink); padding: 10px var(--gutter); font-size: 0.85rem; text-align: center; }

/* v2 additions */
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 600px) and (max-width: 899px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.steps li::before { color: var(--teal); }
.dark .steps li::before { color: var(--mint); }
.offer { scroll-margin-top: 24px; }
.offer .sub { font-size: 1.1rem; color: var(--ink-soft); margin-top: 0.4rem; }
.offer h3 { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 1.6rem 0 0.6rem; }
.offer ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.offer li { margin-bottom: 0.3em; }
.contact-box ul { padding-left: 1.2em; }

/* Founder photo */
picture { display: block; }
img.photo { padding: 0; width: 100%; height: auto; object-fit: cover; object-position: center 35%; background: var(--lilac); }
.nav a.btn, .nav a.btn:hover { color: var(--cream); text-decoration: none; }

/* Client reviews */
.review { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.review blockquote { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; font-weight: 500; position: relative; padding-top: 28px; }
.review blockquote::before { content: "\201C"; position: absolute; top: -14px; left: -2px; font-size: 3.6rem; line-height: 1; color: var(--teal); }
.review figcaption { font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 14px; }
.review figcaption span { color: var(--ink-soft); }

/* Industries strip */
.industries { margin-top: 2.5rem; }
.industries h3 { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 0 0 0.9rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; }
.chips li.chip-market { background: transparent; border-color: var(--teal); color: var(--teal); }

/* Project cards (Work page) */
.case h3 { font-size: 1.25rem; }
.case .eyebrow { margin-bottom: 0.6rem; font-size: 0.75rem; }
.case-lilac .eyebrow, .card-lilac .eyebrow { color: var(--ink); }
.case .did { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin: 1rem 0 0.4rem; }
.case ul { padding-left: 1.1em; margin: 0; font-size: 0.97rem; }
.case li { margin-bottom: 0.25em; }
.card h3:only-child { margin: 0; }

/* ===================== v4: engagement layer ===================== */

/* Calmer labels: sentence case instead of tracked capitals */
.eyebrow, .industries h3, .offer h3, .case .did {
  text-transform: none; letter-spacing: 0; font-size: 0.98rem;
}
.kicker { font-weight: 600; color: var(--mint); margin: 0 0 1.2rem; }
.dark .btn-ghost { background: transparent; color: var(--cream); border-color: rgba(246,247,235,.55); }
.dark .btn-ghost:hover { background: var(--cream); color: var(--teal); border-color: var(--cream); }

/* --- Home hero: copy + search demo --- */
.hero-home { padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.hero-home h1 { max-width: 13ch; color: var(--cream); }

.serp {
  margin: 0; background: var(--cream); color: var(--ink); border-radius: 22px;
  padding: 22px 22px 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
  transform: rotate(-1.2deg);
}
@media (max-width: 979px) { .serp { transform: none; } }
.serp-bar {
  display: flex; align-items: center; gap: 12px; background: var(--white);
  border: 2px solid var(--teal); border-radius: 999px; padding: 12px 18px; min-height: 52px;
  color: var(--teal); font-size: 1.05rem;
}
.serp-q { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { width: 2px; height: 1.25em; background: var(--teal); margin-left: -8px; flex: none; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.serp-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 14px 4px 6px; font-size: 0.85rem; }
.pill { background: var(--lilac); border-radius: 999px; padding: 3px 11px; font-weight: 600; }
.serp-intent { color: var(--ink-soft); }
.serp-result {
  margin: 10px 0 0; padding: 16px 18px; background: var(--white); border-radius: 14px;
  border-left: 4px solid var(--mint);
  opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease;
}
.serp-result.show { opacity: 1; transform: none; }
.serp-result p { margin: 0; max-width: none; }
.serp-url { font-size: 0.85rem; color: var(--ink-soft); }
.serp-title { font-family: var(--serif); font-size: 1.28rem; font-weight: 700; color: var(--teal); line-height: 1.25; margin: 4px 0 6px !important; }
.serp-desc { font-size: 0.95rem; line-height: 1.5; color: #333; }
.serp-ghost { display: grid; gap: 8px; margin: 16px 18px 4px; }
.serp-ghost span { height: 9px; border-radius: 6px; background: #e3e5d6; }
.serp-ghost span:nth-child(1) { width: 62%; } .serp-ghost span:nth-child(2) { width: 88%; } .serp-ghost span:nth-child(3) { width: 74%; }
.serp figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: 0.82rem; color: var(--ink-soft); }
.serp figcaption span { flex: 1 1 220px; }
.serp-next {
  font: inherit; font-weight: 600; color: var(--teal); background: transparent; cursor: pointer;
  border: 1.5px solid var(--teal); border-radius: 999px; padding: 6px 14px;
}
.serp-next:hover { background: var(--teal); color: var(--cream); }

/* --- Query ticker --- */
.ticker { background: var(--lilac); padding: 26px 0 30px; overflow: hidden; }
.ticker-label { max-width: var(--wrap); margin: 0 auto 14px; padding: 0 var(--gutter); font-weight: 600; font-size: 0.95rem; }
.ticker-row { display: flex; width: max-content; }
.ticker-row + .ticker-row { margin-top: 10px; }
.ticker-row ul { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0 10px 0 0; }
.ticker-row li {
  white-space: nowrap; background: var(--cream); border-radius: 999px; padding: 8px 16px 8px 36px;
  font-size: 0.95rem; position: relative;
}
.ticker-row li::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: 2px solid var(--teal); border-radius: 50%;
}
.ticker-row li::after {
  content: ""; position: absolute; left: 24px; top: 50%; width: 5px; height: 2px; margin-top: 3px;
  background: var(--teal); transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-row { animation: drift 60s linear infinite; }
  .ticker-row.rev { animation-direction: reverse; animation-duration: 70s; }
  .ticker:hover .ticker-row { animation-play-state: paused; }
}
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-row { width: auto; flex-wrap: wrap; padding: 0 var(--gutter); }
  .ticker-row ul[aria-hidden] { display: none; }
  .ticker-row ul { flex-wrap: wrap; }
  .caret { animation: none; }
}

/* --- Process steps that draw themselves --- */
.flow { position: relative; }
@media (min-width: 900px) {
  .flow { padding-top: 34px; }
  .flow::before, .flow::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; border-radius: 3px; }
  .flow::before { width: 100%; background: rgba(127,127,127,.22); }
  .flow::after { width: 100%; background: var(--teal); transform-origin: left; }
  .dark .flow::after { background: var(--mint); }
  .js .flow.armed::after { transform: scaleX(0); }
  .js .flow.armed.run::after { transform: scaleX(1); transition: transform 2.2s cubic-bezier(.6,.05,.3,1); }
}
.js .flow.armed li { opacity: .28; transition: opacity .5s ease; }
.js .flow.armed.run li { opacity: 1; }
.js .flow.armed.run li:nth-child(1) { transition-delay: .1s; }
.js .flow.armed.run li:nth-child(2) { transition-delay: .65s; }
.js .flow.armed.run li:nth-child(3) { transition-delay: 1.2s; }
.js .flow.armed.run li:nth-child(4) { transition-delay: 1.75s; }

/* --- Client types: lined columns rather than more cards --- */
.types .type { border-top: 3px solid var(--teal); padding-top: 18px; }
.types .type h3 { font-size: 1.3rem; }
.types .type p { margin: 0; color: var(--ink-soft); }

/* --- Work: tags and filter --- */
.tags { list-style: none; padding: 0 !important; margin: 0 0 12px !important; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem !important; }
.tags li { background: #ecedde; border-radius: 999px; padding: 3px 10px; margin: 0 !important; font-weight: 600; color: var(--teal); }
.card-lilac .tags li { background: rgba(255,255,255,.55); color: var(--ink); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 24px; }
.filter button {
  font: inherit; font-size: 0.95rem; cursor: pointer; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--teal); background: transparent; color: var(--teal);
}
.filter button[aria-pressed="true"] { background: var(--teal); color: var(--cream); }
.filter button:hover:not([aria-pressed="true"]) { background: #e6ece2; }
.filter-status { font-size: 0.85rem; color: var(--ink-soft); margin-left: 6px; }
.cases .case[hidden] { display: none; }
.case.pop { animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }

/* --- Services: sticky section nav --- */
.spy { position: sticky; top: 0; z-index: 5; background: rgba(246,247,235,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.spy .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.spy a { white-space: nowrap; text-decoration: none; color: var(--ink); padding: 7px 14px; border-radius: 999px; font-size: 0.95rem; }
.spy a:hover { background: #e6ece2; }
.spy a[aria-current="true"] { background: var(--teal); color: var(--cream); }
.offer { scroll-margin-top: 72px; }
.dark .serp p, .dark .serp figcaption { color: var(--ink-soft); }
.dark .serp .serp-title { color: var(--teal); }
.dark .serp .serp-desc { color: #333; }
.dark .serp .serp-meta { color: var(--ink); }
.hero-home h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 14ch; }

/* ===================== v5: search look on every page ===================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inner-hero { padding-bottom: clamp(56px, 8vw, 96px); }
.inner-hero h1 { color: var(--cream); font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 16ch; }
.serp.flat { transform: none; }
.serp-bar input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; padding: 0;
}
.serp-bar:focus-within { box-shadow: 0 0 0 3px rgba(74,211,186,.55); }
.serp-bar button[type="submit"] {
  font: inherit; font-weight: 600; font-size: 0.95rem; border: 0; cursor: pointer; flex: none;
  background: var(--teal); color: var(--cream); border-radius: 999px; padding: 8px 16px; margin: -4px -8px -4px 0;
}
.serp-bar button[type="submit"]:hover { background: var(--ink); }
.caret { display: none; }
.serp-bar.is-typing .caret, [data-serp] .caret { display: block; }
.dark .serp .serp-count, .dark .serp .serp-note, .dark .serp .paa-title, .dark .serp .ask-sub { color: var(--ink-soft); font-size: 0.85rem; margin: 14px 4px 8px; }
.dark .serp a:not(.btn) { color: var(--teal); }

/* Services: results that jump to each section */
.results { display: grid; gap: 8px; }
.result { display: block; text-decoration: none; background: var(--white); border-radius: 14px; padding: 12px 16px; border-left: 4px solid transparent; transition: border-color .2s, transform .2s; }
.result:hover, .result:focus-visible { border-left-color: var(--mint); transform: translateX(3px); }
.result span { display: block; }
.result .serp-title { font-size: 1.12rem; margin: 2px 0 2px !important; text-decoration: underline; text-decoration-color: transparent; }
.result:hover .serp-title { text-decoration-color: currentColor; }
.result .serp-desc { font-size: 0.92rem; color: #333; }

/* Work: search panel */
html:not(.js) .work-search { display: none; }
.work-search .filter { margin: 14px 0 0; }
.work-search .filter button { background: var(--white); }
.work-search .filter button[aria-pressed="true"] { background: var(--teal); color: var(--cream); }
.filter-status { min-height: 1.5em; font-size: 0.95rem; color: var(--ink-soft); margin: -12px 0 14px; }
.no-results { background: var(--white); border: 1px dashed var(--teal); border-radius: 14px; padding: 18px 20px; }

/* How we work: People also ask */
.paa { background: var(--white); border-radius: 14px; overflow: hidden; }
.paa details { border-bottom: 1px solid var(--line); }
.paa details:last-child { border-bottom: 0; }
.paa summary {
  list-style: none; cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 600; position: relative; color: var(--ink);
}
.paa summary::-webkit-details-marker { display: none; }
.paa summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .25s;
}
.paa details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.paa summary:hover { background: #f3f5ea; }
.dark .serp .paa p { color: #333; padding: 0 18px 16px; margin: 0; font-size: 0.97rem; }
@media (prefers-reduced-motion: no-preference) {
  .paa details[open] p { animation: pop .3s ease both; }
}

/* About: profile panel */
@media (min-width: 980px) { .inner-hero .kp { order: 2; } }
.kp-head { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; margin: 16px 0 12px; }
.kp-photo { width: 112px; height: 140px; object-fit: cover; object-position: center 30%; border-radius: 12px; display: block; }
.dark .serp .kp-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.1; }
.dark .serp .kp-sub { margin: 4px 0 0; font-size: 0.95rem; }
.kp-facts { margin: 0; background: var(--white); border-radius: 14px; padding: 6px 16px; }
.kp-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.kp-facts div:last-child { border-bottom: 0; }
.kp-facts dt { font-weight: 600; }
.kp-facts dd { margin: 0; }
.dark .serp .kp-link { margin: 12px 4px 0; font-size: 0.95rem; }

/* Contact: ask box */
.dark .serp .ask-label { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--ink); margin: 0 4px 12px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-chips button {
  font: inherit; font-size: 0.92rem; cursor: pointer; background: var(--white); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px;
}
.ask-chips button:hover { border-color: var(--teal); color: var(--teal); }
.hero-grid > * { min-width: 0; }
.serp-bar input { width: 100%; }
@media (max-width: 480px) { .serp-bar button[type="submit"] { padding: 8px 12px; } .ask .serp-bar { padding-right: 14px; } }

/* ===================== v6: brief v1.1 ===================== */
/* Brand fonts (brand kit): Young Serif for headlines, Montserrat for text.
   Young Serif has one weight, so headings never use faux bold. */
:root {
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ink-soft: #55595a;
}
body { font-size: 1rem; line-height: 1.7; }
h1, h2, h3, h4, .logo, .serp-title, .kp-name, .stat, blockquote, .ask-label, .price, .proof strong {
  font-weight: 400; font-synthesis: none;
}
h1 { letter-spacing: -0.015em; }
.nav a { font-size: 0.93rem; }
.btn { font-weight: 600; }
.btn-small { padding: 10px 20px; font-size: 0.95rem; }
.kicker { font-weight: 600; }

/* Example label on demo panels */
.serp-label { margin: 0 4px 10px; font-size: 0.78rem; font-weight: 700; color: var(--teal) !important; letter-spacing: 0.04em; }

/* Proof strip */
.proof { background: var(--lilac); padding: 28px 0; }
.proof ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 32px; }
@media (min-width: 720px) { .proof ul { grid-template-columns: repeat(3, auto); justify-content: start; } }
.proof li { display: flex; align-items: baseline; gap: 10px; }
.proof strong { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: var(--ink); }
.proof span { font-weight: 600; }

/* Markets block */
.markets { display: grid; gap: 28px; }
@media (min-width: 860px) { .markets { grid-template-columns: 1fr 1fr; gap: 48px; } }
.markets h3 { font-size: 1.25rem; margin-bottom: 12px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1.5px solid var(--teal); color: var(--teal); border-radius: 999px; padding: 6px 14px; font-size: 0.95rem; font-weight: 500; }

/* Offers teaser and offer blocks */
.price { font-family: var(--serif); font-size: 1.4rem; color: var(--teal); margin: 0.4rem 0 0.6rem; }
.dark .offer-card { background: rgba(255,255,255,0.07); }
.dark .offer-card .price { color: var(--mint); }
.dark .offer-card h3 { color: var(--cream); }
.offers-head { margin: 4rem 0 0.5rem; }
.offer .note { font-size: 0.95rem; color: var(--ink-soft); }
.offer .sub { margin-top: 0; }
.snap { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 40px); }
@media (min-width: 820px) { .snap { grid-template-columns: 1fr auto; } }
.snap h2 { margin-bottom: 0.4rem; }
.snap .price { color: var(--ink); margin: 0 0 0.3rem; }
.also { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: none; }
.faq-wrap .paa { max-width: 780px; border: 1px solid var(--line); }
.paa p { color: #333; padding: 0 18px 16px; margin: 0; }

/* Home: case cards, fit lists */
.case .result { font-weight: 600; color: var(--teal); }
.fit { display: grid; gap: 24px; }
@media (min-width: 820px) { .fit { grid-template-columns: 1.4fr 1fr; gap: 40px; } }
.fit h3 { font-size: 1.3rem; }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); }
.fit li::before { position: absolute; left: 4px; top: 11px; font-weight: 700; }
.fit-yes li::before { content: "✓"; color: var(--teal); }
.fit-no li::before { content: "✕"; color: #8a5a8f; }
.fit-no li { color: var(--ink-soft); }

/* Work: full case studies */
.case-study { display: grid; gap: 12px 48px; border-top: 3px solid var(--teal); padding: 28px 0 36px; scroll-margin-top: 24px; }
@media (min-width: 860px) { .case-study { grid-template-columns: 1fr 1.6fr; } }
.case-study[hidden] { display: none; }
.cs-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cs-body h4 { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; color: var(--teal); margin: 1.2rem 0 0.4rem; }
.cs-body h4:first-child { margin-top: 0; }
.cs-body ul { padding-left: 1.2em; margin: 0; }
.cs-body li { margin-bottom: 0.35em; }
.case-study.pop { animation: pop .35s ease both; }

/* How I work: ways list */
.ways { display: grid; gap: 10px; }
@media (min-width: 820px) { .ways { grid-template-columns: 1fr 1fr; } }
.way { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: 12px; padding: 16px 20px; }
.way:hover { border-color: var(--teal); }
.way-name { font-family: var(--serif); font-size: 1.2rem; color: var(--teal); }
.way-meta { font-size: 0.92rem; color: var(--ink-soft); }

/* Contact form */
.form-wrap { max-width: 860px; }
.enquiry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.form-grid { display: grid; gap: 16px 20px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; font-weight: 600; font-size: 0.95rem; }
.form-grid .field { margin-bottom: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--cream); border: 1.5px solid #c9ccbc;
  border-radius: 10px; padding: 11px 13px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(74,211,186,.6); border-color: var(--teal); }
.form-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 12px; }
.enquiry .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }

/* AI search panel */
.ai-box { background: var(--white); border-radius: 14px; padding: 14px 16px 16px; margin-top: 12px; }
.ai-tag { margin: 0 0 4px !important; font-weight: 700; color: var(--teal) !important; font-size: 0.85rem; }
.ai-box .serp-ghost { margin: 8px 0 14px; }
.ai-sources-title { margin: 0 0 8px !important; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft) !important; }
.ai-sources { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; }
.ai-sources li { background: #ecedde; border-radius: 999px; padding: 4px 11px; }
.ai-sources li.missing { background: transparent; border: 1.5px dashed #8a5a8f; color: #6b3f70; font-weight: 600; }
.ai-cols h2 { font-size: 1.5rem; }
.ai-cols ul { padding-left: 1.2em; }

/* LatAm panel */
.country-rows { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.country-rows li { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 12px; padding: 10px 14px; color: var(--ink); }
.country-rows .pill { flex: none; min-width: 92px; text-align: center; }

/* ===================== v7: logo, Dash and concept drawings ===================== */
.logo img { display: block; height: 46px; width: auto; }
.site-footer .logo img { height: 52px; }

/* Dash, the dachshund: the reels' six-frame loop, held on twos (1/6 s a frame). */
.dash {
  display: block; flex: none; width: 150px; aspect-ratio: 240 / 320;
  background: url("/assets/brand/dash-sprite.webp") 0 0 / 600% 100% no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .dash { animation: dash-loop 1s steps(6) infinite; }
}
@keyframes dash-loop { to { background-position: 120% 0; } }

.cta-grid { display: grid; gap: 24px; align-items: end; }
@media (min-width: 820px) { .cta-grid { grid-template-columns: 1fr auto; gap: 56px; } }
.dash-cta { width: 132px; }
@media (max-width: 819px) { .dash-cta { width: 92px; order: -1; } }

.nf .dash-404 { width: 170px; margin-bottom: 18px; }

/* Concept drawings from the brand kit (ink versions, light backgrounds only) */
.gfx { display: block; width: 84px; height: 84px; object-fit: contain; margin-bottom: 16px; }
.gfx-offer { width: 96px; height: 96px; }
.gfx-snap { width: 104px; height: 104px; margin: 0; }
@media (min-width: 820px) { .snap { grid-template-columns: auto 1fr auto; } }
.site-header .logo img { height: 56px; }
@media (max-width: 640px) { .site-header .logo img { height: 48px; } }

/* Newsletter (Search Across Borders) */
.nl-band { background: var(--lilac); }
.nl-band .eyebrow { color: var(--ink); }
.nl-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .nl-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.nl-gift { font-weight: 600; }
.nl-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); color: var(--ink); }
.nl-fields { display: grid; gap: 14px; }
.nl-form .field { margin-bottom: 0; }
.nl-form .opt { font-weight: 400; color: var(--ink-soft); }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; line-height: 1.45; margin: 16px 0; color: var(--ink-soft); }
.nl-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); flex-shrink: 0; }
.nl-consent a { color: var(--teal); }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.nl-form .btn[disabled] { opacity: .6; cursor: wait; }
.nl-status { margin: 12px 0 0; font-weight: 600; color: var(--teal); }
.nl-status:empty { display: none; }
.nl-done .nl-fields, .nl-done .nl-consent, .nl-done .btn { display: none; }
.nl-done .nl-status { margin: 0; }
.dark .serp.nl-hero-form .nl-form { border: 0; padding: 4px; }
/* Footer version */
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1.3fr 1fr 1fr; } }
.footer-nl-title { font-family: var(--serif); font-size: 1.25rem; color: var(--cream); margin: 0 0 6px; }
.footer-nl p { margin-top: 0; }
.nl-compact { background: transparent; border: 0; padding: 0; color: #cfd2c6; }
.nl-compact .nl-consent { color: #cfd2c6; font-size: 0.8rem; }
.nl-compact .nl-consent a { color: var(--cream); }
.nl-compact .btn { background: var(--mint); color: var(--ink); }
.nl-compact .btn:hover { background: var(--cream); color: var(--ink); }
.nl-compact .nl-status { color: var(--mint); }
