/* ==========================================================================
   Nova Business HTML Template by WebArray
   Main stylesheet. Plain CSS, no build step.

   HOW TO THEME
   1. Change the values in :root below (colors, fonts, sizes).
   2. Each service/feature has a "tone" (tone-1 ... tone-5). A tone is three colors:
      --tone       decorative fill (shapes, dots, rings)
      --tone-ink   text color that stays readable on white and on the tint
      --tone-tint  pale background
      Apply a tone by adding a class like "tone-2" to an element.
   ========================================================================== */

:root {
  /* Brand colors */
  --color-ink: #1e1b2e;          /* main text, dark sections, primary buttons */
  --color-ink-soft: #57536a;     /* secondary text */
  --color-paper: #f7f7fb;        /* page background */
  --color-surface: #ffffff;      /* cards, white sections */
  --color-line: rgba(30, 27, 46, 0.12);
  --color-accent: #e8622c;       /* button hover, focus ring, highlights */
  --color-accent-ink: #b5441a;   /* accent used as text (passes contrast) */

  /* Tones: one per service / feature. Keep --tone-ink dark enough for text. */
  --tone-1: #6fa83a; --tone-1-ink: #3f6b1c; --tone-1-tint: #eef6e3;   /* green  */
  --tone-2: #e8622c; --tone-2-ink: #b5441a; --tone-2-tint: #fdebe2;   /* orange */
  --tone-3: #5b3fa0; --tone-3-ink: #5b3fa0; --tone-3-tint: #ece7f7;   /* purple */
  --tone-4: #c99a2e; --tone-4-ink: #7a5a10; --tone-4-tint: #f8f0d8;   /* gold   */
  --tone-5: #2a4fa8; --tone-5-ink: #2a4fa8; --tone-5-tint: #e4eaf8;   /* blue   */

  /* Typography */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container-width: 1320px;
  --gutter: 20px;
  --header-height: 76px;
  --section-space: 80px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow-soft: 0 24px 60px rgba(30, 27, 46, 0.12);
}

@media (min-width: 1024px) {
  :root { --gutter: 40px; --section-space: 112px; --header-height: 84px; }
}

/* Tone classes (see note at the top) */
.tone-1 { --tone: var(--tone-1); --tone-ink: var(--tone-1-ink); --tone-tint: var(--tone-1-tint); }
.tone-2 { --tone: var(--tone-2); --tone-ink: var(--tone-2-ink); --tone-tint: var(--tone-2-tint); }
.tone-3 { --tone: var(--tone-3); --tone-ink: var(--tone-3-ink); --tone-tint: var(--tone-3-tint); }
.tone-4 { --tone: var(--tone-4); --tone-ink: var(--tone-4-ink); --tone-tint: var(--tone-4-tint); }
.tone-5 { --tone: var(--tone-5); --tone-ink: var(--tone-5-ink); --tone-tint: var(--tone-5-tint); }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--color-ink); color: var(--color-paper); padding: 12px 20px; border-radius: 999px;
}
.skip-link:focus { left: 12px; }

.container { width: 100%; max-width: var(--container-width); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-space); }

/* Section backgrounds */
.bg-paper { background: var(--color-paper); }
.bg-surface { background: var(--color-surface); }
.bg-ink { background: var(--color-ink); color: var(--color-paper); }
.bg-tint { background: var(--tone-tint); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 400; }
.display { font-size: clamp(42px, 11.5vw, 92px); line-height: 1.02; }
@media (min-width: 640px) { .display { font-size: clamp(48px, 8vw, 92px); } }
@media (min-width: 1024px) { .display { font-size: clamp(48px, 5.6vw, 92px); line-height: 0.98; } }
.h1 { font-size: clamp(38px, 5.2vw, 80px); line-height: 1.03; }
.h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.06; }
.h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.kicker { color: var(--color-ink-soft); font-size: 18px; }
.eyebrow { font-weight: 600; color: var(--tone-ink, var(--color-accent-ink)); }
.lede { color: var(--color-ink-soft); font-size: 18px; line-height: 1.6; max-width: 56ch; }
@media (min-width: 1024px) { .lede--lg { font-size: 20px; } }
.muted { color: var(--color-ink-soft); }
.balance { text-wrap: balance; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; border-radius: 999px; padding: 14px 28px;
  font-weight: 600; text-decoration: none; line-height: 1.2; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-accent-ink); }
.btn--light { background: var(--color-paper); color: var(--color-ink); }
.btn--light:hover { background: var(--tone-1-tint); }
.btn--outline { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn--outline:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--sm { padding: 9px 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: var(--color-accent-ink); }

.icon-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  border: 2px solid var(--color-line); background: transparent;
}
.icon-btn:hover { border-color: var(--color-ink); }
.icon-btn--solid { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.icon-btn--solid:hover { background: var(--color-accent-ink); border-color: var(--color-accent-ink); }
.icon-btn svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: color-mix(in srgb, var(--color-paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand__name { font-family: var(--font-display); font-size: 23px; line-height: 1; }

.nav__links { display: none; align-items: center; gap: 30px; font-size: 15px; }
@media (min-width: 1024px) { .nav__links { display: flex; } }
.nav__links > li > a:not(.btn) { text-decoration: none; padding-block: 8px; }
.nav__links a:not(.btn):hover, .nav__links a[aria-current="page"]:not(.btn) { color: var(--color-accent-ink); }
.nav__links .btn[aria-current="page"] { background: var(--color-ink); color: var(--color-paper); }

/* Dropdown: opens on hover and on keyboard focus */
.nav-drop { position: relative; }
.nav-drop__toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop__toggle svg { width: 12px; height: 12px; }
.nav-menu {
  position: absolute; left: 50%; top: 100%; width: 360px; margin-left: -180px; padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu ul { background: var(--color-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 10px; }
.nav-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); text-decoration: none; }
.nav-menu a:hover { background: var(--color-paper); }
.nav-menu .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); margin-top: 7px; flex: none; }
.nav-menu strong { display: block; font-weight: 600; }
.nav-menu small { display: block; color: var(--color-ink-soft); font-size: 14px; }
.nav-menu .nav-menu__all { border-top: 1px solid var(--color-line); margin-top: 6px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; }

.menu-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--color-ink); background: transparent; }
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* Mobile menu: a full-screen panel below the header (outside the header so the header blur can't trap it) */
.mobile-menu {
  position: fixed; inset: var(--header-height) 0 0; z-index: 45; overflow-y: auto;
  background: var(--color-paper); border-top: 1px solid var(--color-line); padding: 12px var(--gutter) 40px;
}
.mobile-menu[hidden] { display: none; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu__list > li { border-bottom: 1px solid var(--color-line); }
.mobile-menu__list > li > a, .mobile-menu__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 16px 0; font-family: var(--font-display); font-size: 28px; text-decoration: none; background: none; border: 0; text-align: left;
}
.mobile-menu__toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.mobile-menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu__sub { padding: 0 0 16px 12px; }
.mobile-menu__sub a { display: block; padding: 9px 12px; border-radius: 12px; text-decoration: none; font-size: 18px; }
.mobile-menu a[aria-current="page"] { color: var(--color-accent-ink); }
.mobile-menu .btn { width: 100%; margin-top: 24px; }
.mobile-menu__contact { margin-top: 20px; color: var(--color-ink-soft); }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: var(--header-height); }
.hero__grid { display: grid; gap: 48px; align-items: center; padding-block: 32px 112px; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.25fr 1fr; gap: 40px; min-height: calc(100vh - var(--header-height)); padding-block: 24px 64px; }
}
.hero .display { margin-top: 20px; }
.hero__stage { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin-inline: auto; }
@media (min-width: 1024px) { .hero__stage { max-width: 600px; justify-self: end; margin-inline: 0; } }
.hero__stage svg.hero__blob { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__img { position: absolute; inset: 0; margin: auto; width: 64%; height: auto; filter: drop-shadow(0 26px 26px rgba(30, 27, 46, .18)); }
/* Only the first image shows until the script cycles through the rest */
.hero__img:not(:first-of-type) { opacity: 0; visibility: hidden; }
.hero__caption {
  position: absolute; left: 0; bottom: 8px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--color-surface); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(30, 27, 46, .08);
}
@media (min-width: 640px) { .hero__caption { left: 24px; bottom: 24px; } }
.hero__caption-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone-1); }
.hero__wave { position: absolute; inset: auto 0 0; width: 100%; height: 80px; pointer-events: none; }
@media (min-width: 1024px) { .hero__wave { height: 120px; } }

/* --------------------------------------------------------------------------
   Services showcase (home). Desktop pins and slides sheets; without JS they stack.
   -------------------------------------------------------------------------- */
.showcase { position: relative; background: var(--color-surface); }
.showcase__progress { display: none; }
.sheet { background: var(--tone-tint, var(--color-paper)); }
.sheet__grid { display: grid; gap: 40px; align-items: center; padding-block: 80px; }
@media (min-width: 1024px) {
  .sheet__grid { grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 64px; }
  /* JS adds .js-motion to <html>; only then do sheets stack for the pinned slide effect */
  .js-motion .showcase { height: 100vh; overflow: hidden; }
  .js-motion .sheet { position: absolute; inset: 0; }
  .js-motion .sheet__grid { height: 100%; padding-block: 64px 0; }
  .js-motion .showcase__progress {
    position: absolute; z-index: 5; left: var(--gutter); top: calc(var(--header-height) + 16px);
    display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600;
  }
}
.showcase__bar { position: relative; width: 160px; height: 3px; border-radius: 3px; background: var(--color-line); overflow: hidden; }
.showcase__bar span { position: absolute; inset: 0; background: var(--color-ink); transform-origin: left; transform: scaleX(0); }

.service-rows { display: grid; gap: 14px; }
.service-row {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center;
  background: var(--color-surface); border-radius: var(--radius-md); padding: 18px 20px; text-decoration: none;
}
/* CSS hover only when animations are off; with animations on, main.js handles it
   (a CSS transform transition would fight GSAP and leave elements stuck mid-move) */
html:not(.js-motion) .service-row { transition: transform .25s; }
html:not(.js-motion) .service-row:hover { transform: translateX(6px); }
/* Same illustration as on the services page, shown small on a tinted tile */
.service-row__icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--tone-tint); padding: 8px; }
.service-row__icon img { width: 100%; height: auto; transition: transform .3s; }
.service-row:hover .service-row__icon img { transform: rotate(-4deg) scale(1.08); }
@media (min-width: 640px) { .service-row__icon { width: 84px; height: 84px; } }
.service-row h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.2; }
.service-row p { color: var(--color-ink-soft); }
@media (min-width: 640px) { .service-row { padding: 22px 26px; } }

/* Colored disc behind an illustration; grows on hover */
.disc-stage { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; margin-inline: auto; }
@media (min-width: 1024px) { .disc-stage { max-width: 500px; } }
.disc-stage__disc { position: absolute; inset: 0; border-radius: 50%; background: var(--tone); clip-path: circle(36% at 50% 52%); }
.disc-stage__img { position: absolute; inset: 0; margin: auto; width: 66%; height: auto; filter: drop-shadow(0 22px 22px rgba(30, 27, 46, .2)); }
/* Hover effect without JavaScript; main.js does the same with GSAP when animations are on */
html:not(.js-motion) .disc-stage__disc { transition: clip-path .5s; }
html:not(.js-motion) .disc-stage:hover .disc-stage__disc { clip-path: circle(48% at 50% 52%); }
html:not(.js-motion) .disc-stage__img { transition: transform .5s; }
html:not(.js-motion) .disc-stage:hover .disc-stage__img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }

.checklist { display: grid; gap: 10px; margin-top: 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: var(--tone, var(--tone-1)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* --------------------------------------------------------------------------
   Process ring
   -------------------------------------------------------------------------- */
.process__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .js-motion .process { height: 100vh; padding-block: 0; display: flex; align-items: center; }
  .js-motion .process > .container { width: 100%; }
}
.process-steps { display: grid; gap: 18px; margin-top: 36px; font-size: 18px; }
.process-steps li { display: flex; gap: 16px; transition: opacity .3s, transform .3s; }
.process-steps .step-num { font-family: var(--font-display); color: var(--tone-ink); min-width: 1ch; }
.process-steps strong { font-weight: 600; }
.js-motion .process-steps li { opacity: .35; }
.js-motion .process-steps li.is-on { opacity: 1; transform: translateX(6px); }
.process-ring { width: 100%; max-width: 400px; margin-inline: auto; }
@media (min-width: 1024px) { .process-ring { max-width: 540px; } }
.process-ring text { font-family: var(--font-display); }

/* --------------------------------------------------------------------------
   Stats sentence
   -------------------------------------------------------------------------- */
.stats-sentence { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 76px); line-height: 1.14; max-width: 22ch; }
.stats-sentence .tone-1, .stats-sentence .tone-2, .stats-sentence .tone-3 { color: var(--tone-ink); }
.stats-note { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Testimonials: clothesline (home)
   -------------------------------------------------------------------------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head__controls { display: flex; gap: 8px; }
.clothesline { margin-top: 32px; overflow-x: auto; cursor: grab; scrollbar-width: none; overscroll-behavior-x: contain; }
.clothesline::-webkit-scrollbar { display: none; }
.clothesline.is-dragging { cursor: grabbing; }
.clothesline__track { position: relative; width: max-content; padding: 8px var(--gutter) 48px; }
.clothesline__tags { display: flex; align-items: flex-start; gap: 32px; }
.clothesline__line { position: absolute; left: 0; top: 0; width: 100%; height: 80px; overflow: visible; pointer-events: none; }
.clothesline__line path { fill: none; stroke: #8c7a5b; stroke-width: 2; stroke-linecap: round; }
.tag { position: relative; width: 236px; flex: none; padding-top: 30px; }
@media (min-width: 640px) { .tag { width: 256px; } }
.tag__peg { position: absolute; left: 50%; top: 12px; z-index: 2; width: 12px; height: 28px; margin-left: -6px; border-radius: 3px; background: #c9a46a; box-shadow: inset -3px 0 0 rgba(0, 0, 0, .12); }
.tag__swing, .tag__body { transform-origin: 50% -14px; }
.tag__body { background: var(--tone-tint); border-radius: 18px; padding: 16px 20px 20px; box-shadow: 0 14px 30px rgba(30, 27, 46, .1); }
.tag__hole { display: block; width: 10px; height: 10px; margin-inline: auto; border-radius: 50%; background: var(--color-paper); box-shadow: 0 0 0 1px var(--color-line); }
.tag blockquote { margin-top: 12px; font-family: var(--font-display); font-size: 15px; line-height: 1.65; }
.tag figcaption { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--color-line); font-size: 14px; line-height: 1.3; }

.stars { display: flex; gap: 2px; color: var(--tone-ink); }
.stars svg { width: 14px; height: 14px; }
.avatar {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--tone-ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.avatar--lg { width: 52px; height: 52px; font-size: 16px; font-family: var(--font-display); font-weight: 400; }
.avatar--xl { width: 96px; height: 96px; font-size: 28px; font-family: var(--font-display); font-weight: 400; }
.person__name { display: block; font-weight: 600; }
.person__role { display: block; color: var(--color-ink-soft); }

/* --------------------------------------------------------------------------
   Testimonials: card deck (inner pages)
   -------------------------------------------------------------------------- */
/* Clip the fanned-out back cards so they never cause sideways scrolling on phones */
.deck-section { overflow: hidden; }
.deck-section__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .deck-section__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.deck-controls { display: flex; align-items: center; gap: 12px; margin-top: 36px; }
.deck-controls .icon-btn { width: 56px; height: 56px; }
.deck-count { margin-left: 8px; font-family: var(--font-display); font-size: 24px; }
.deck-hint { margin-top: 14px; font-size: 14px; color: var(--color-ink-soft); }
/* Without JS the deck is a simple vertical list */
.deck { display: grid; gap: 20px; width: 100%; max-width: 460px; margin-inline: auto; }
.deck-card { display: flex; flex-direction: column; background: var(--tone-tint); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); }
.js-motion .deck { position: relative; display: block; height: 500px; touch-action: pan-y; }
@media (min-width: 640px) { .js-motion .deck { height: 520px; } }
.js-motion .deck-card { position: absolute; inset: 0; }
.js-motion .deck-hint { display: block; }
.deck-hint { display: none; }
.deck-card__top { display: flex; justify-content: space-between; align-items: center; }
.deck-card__mark { width: 44px; height: 44px; color: var(--tone); opacity: .45; }
.deck-card blockquote { flex: 1; margin-top: 22px; font-family: var(--font-display); font-size: 20px; line-height: 1.4; }
@media (min-width: 640px) { .deck-card { padding: 40px; } .deck-card blockquote { font-size: 23px; } }
.deck-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--color-line); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 1fr 1.4fr; gap: 80px; } }
.faq__list { border-top: 1px solid var(--color-line); }
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-surface); transition: transform .25s; }
.faq__icon svg { width: 14px; height: 14px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { padding: 0 48px 24px 0; color: var(--color-ink-soft); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band__inner {
  position: relative; overflow: hidden;
  display: grid; gap: 28px; align-items: end; background: var(--color-ink); color: var(--color-paper);
  border-radius: var(--radius-lg); padding: 40px 28px;
}
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1.4fr auto; padding: 64px; } }
.cta-band__inner .lede { color: rgba(247, 247, 251, .72); margin-top: 14px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--outline { border-color: rgba(247, 247, 251, .5); color: var(--color-paper); }
.cta-band .btn--outline:hover { background: var(--color-paper); color: var(--color-ink); }

/* --------------------------------------------------------------------------
   Inner page hero and breadcrumb
   -------------------------------------------------------------------------- */
.page-hero { padding-top: var(--header-height); background: var(--tone-tint, var(--color-paper)); }
.page-hero__grid { display: grid; gap: 40px; align-items: center; padding-block: 32px 64px; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 1.3fr 1fr; padding-block: 56px 96px; } }
.page-hero .h1 { margin-top: 22px; max-width: 18ch; }
.page-hero .lede { margin-top: 22px; }
/* Illustration stage: white blob + dashed ring behind a floating image */
.page-hero { position: relative; overflow: hidden; }
.page-hero__grid { position: relative; z-index: 1; }
.page-hero__stage { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; margin-inline: auto; }
@media (min-width: 1024px) { .page-hero__stage { max-width: 460px; } }
.page-hero__blob { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.page-hero__blob .morph-blob { fill: var(--color-surface); opacity: .75; }
.page-hero__blob .spin-ring { fill: none; stroke: var(--tone); stroke-width: 2; stroke-dasharray: 4 10; }
.page-hero__visual { position: absolute; inset: 0; margin: auto; width: 68%; filter: drop-shadow(0 22px 22px rgba(30, 27, 46, .16)); }
.page-hero__dot { position: absolute; z-index: 0; border-radius: 50%; background: var(--tone); opacity: .55; pointer-events: none; }
.page-hero__dot--1 { width: 18px; height: 18px; top: 26%; left: 46%; }
.page-hero__dot--2 { width: 12px; height: 12px; bottom: 16%; left: 6%; }
.page-hero__dot--3 { width: 30px; height: 30px; top: 18%; right: 5%; background: transparent; border: 3px solid var(--tone); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--color-ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--color-ink); }
.breadcrumb [aria-current="page"] { color: var(--color-ink); }

/* --------------------------------------------------------------------------
   Services page: detail blocks and package cards
   -------------------------------------------------------------------------- */
.service-detail { display: grid; gap: 36px; align-items: center; background: var(--color-surface); border-radius: var(--radius-lg); padding: 28px; scroll-margin-top: calc(var(--header-height) + 16px); }
.service-detail + .service-detail { margin-top: 24px; }
@media (min-width: 640px) { .service-detail { padding: 40px; } }
@media (min-width: 1024px) {
  .service-detail { grid-template-columns: 380px 1fr; gap: 64px; padding: 56px; }
  .service-detail--flip { grid-template-columns: 1fr 380px; }
  .service-detail--flip .service-detail__media { order: 2; }
}
.service-detail__media { background: var(--tone-tint); border-radius: var(--radius-md); padding: 28px; overflow: hidden; }
.service-detail__media img { width: 100%; max-width: 300px; margin-inline: auto; }
.service-detail .h2 { margin-top: 8px; }
.service-detail .lede { margin-top: 18px; }
.meta-pill { display: inline-block; margin-top: 24px; background: var(--tone-tint); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; }

.cards-grid { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 640px) { .cards-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid--3 { grid-template-columns: repeat(3, 1fr); } .cards-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .cards-grid--3, .cards-grid--4 { grid-template-columns: repeat(2, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--color-surface); border-radius: var(--radius-lg); padding: 32px; }
.card__bar { width: 48px; height: 8px; border-radius: 8px; background: var(--tone); }
.card .h3 { margin-top: 24px; }
.card p { margin-top: 10px; color: var(--color-ink-soft); }
.card .checklist { flex: 1; margin-bottom: 28px; }
.card--featured { background: var(--color-ink); color: var(--color-paper); }
.card--featured p { color: rgba(247, 247, 251, .72); }
.card--featured .btn--primary { background: var(--color-paper); color: var(--color-ink); }
.card--featured .btn--primary:hover { background: var(--tone-1-tint); }
.card__badge { align-self: flex-start; margin-bottom: 20px; background: var(--tone); color: var(--color-ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */
.split { display: grid; gap: 40px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1.2fr; gap: 80px; } }
.split .lede + .lede { margin-top: 18px; }
.statement { border-radius: var(--radius-lg); padding: 32px; background: var(--tone-tint); }
@media (min-width: 1024px) { .statement { padding: 48px; } }
.statement p:last-child { margin-top: 18px; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.25; }
.value-card { background: var(--color-surface); border-radius: 28px; padding: 28px; }
.value-card__dot { width: 44px; height: 44px; border-radius: 50%; background: var(--tone); }
.value-card h3 { margin-top: 22px; font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.value-card p { margin-top: 8px; color: var(--color-ink-soft); }
.team-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; }
.team-card .avatar { margin-inline: auto; }
.team-card h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.team-card p { color: var(--color-ink-soft); }

/* --------------------------------------------------------------------------
   Contact page and form
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 80px; } }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-list a { font-size: 22px; text-decoration: none; border-bottom: 2px solid var(--tone, var(--color-accent)); width: fit-content; }
.contact-list a:hover { color: var(--color-accent-ink); }
.contact-address { margin-top: 18px; font-style: normal; color: var(--color-ink-soft); }
.hours { margin-top: 26px; display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; max-width: 340px; border-bottom: 1px dashed var(--color-line); padding-bottom: 6px; }
.form-card { background: var(--tone-tint); border-radius: var(--radius-lg); padding: 28px; }
@media (min-width: 640px) { .form-card { padding: 44px; } }
.form { display: grid; gap: 22px; margin-top: 28px; }
.field label { font-weight: 600; }
.field .optional { font-weight: 400; color: var(--color-ink-soft); }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 8px; padding: 15px 18px; border-radius: var(--radius-sm);
  border: 2px solid rgba(30, 27, 46, .15); background: var(--color-surface); font-size: 17px; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-ink); outline: none; }
.field [aria-invalid="true"] { border-color: var(--color-accent-ink); }
.field__error { margin-top: 8px; color: var(--color-accent-ink); font-size: 15px; }
.form-status { border-radius: var(--radius-sm); background: var(--color-surface); padding: 18px 20px; }
.form-status[hidden] { display: none; }
.form-status strong { display: block; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--color-ink); color: var(--color-paper); }
.site-footer__cols { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer .brand img { filter: none; }
.site-footer p, .site-footer li, .site-footer address { color: rgba(247, 247, 251, .72); font-style: normal; }
.site-footer h2 { font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--color-paper); }
.site-footer ul { margin-top: 14px; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--color-paper); text-decoration: underline; }
.site-footer__about p { margin-top: 14px; max-width: 34ch; }
.tone-stripe { display: flex; gap: 8px; height: 8px; }
.tone-stripe span { flex: 1; border-radius: 8px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; font-size: 14px; color: rgba(247, 247, 251, .6); }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-height) + 40px) var(--gutter) 80px; }
.not-found .h1 { margin-top: 16px; }
.not-found .lede { margin: 18px auto 0; }
.not-found .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-sm { margin-top: 16px; } .mt-md { margin-top: 28px; } .mt-lg { margin-top: 48px; }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* Reduced motion: no smooth scrolling or transitions */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Deck controls only make sense when the animated deck is active */
.deck-controls { display: none; }
.js-motion .deck-controls { display: flex; }

/* --------------------------------------------------------------------------
   Motion layers (used by main.js; harmless without JavaScript)
   -------------------------------------------------------------------------- */
/* Reading progress bar along the top edge */
.scroll-progress { display: none; position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--color-accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.js-motion .scroll-progress { display: block; }

/* Soft glow orbs inside the CTA band */
.cta-band__inner > :not(.cta-band__orb) { position: relative; z-index: 1; }
.cta-band__orb { position: absolute; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; filter: blur(10px); opacity: .45; }
.cta-band__orb--1 { right: -90px; top: -110px; background: radial-gradient(circle, var(--tone-2) 0%, transparent 68%); }
.cta-band__orb--2 { left: -120px; bottom: -150px; background: radial-gradient(circle, var(--tone-3) 0%, transparent 68%); }

/* Cards that tilt toward the cursor */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
