/* ==========================================================================
   sunraysiaweb — Stylesheet
   --------------------------------------------------------------------------
   CUSTOMIZING: nearly everything you'd want to change lives in the
   :root variables below — colors, fonts, radii, spacing. Change a value
   there and it updates site-wide.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette — Sunraysia Web (warm cream + gold + ink) */
  --gold:        #F4B233; /* primary action / highlight — use sparingly (~10% of a page) */
  --gold-deep:   #E6941C; /* small gold text on light bg (better contrast) */
  --ink:         #241F18; /* body text, primary buttons, dark sections */
  --muted:       #6D6455; /* secondary text, captions */
  --cream:       #FCF8EF; /* default page background */
  --surface:     #FFFFFF; /* cards / raised surfaces */
  --line:        #E7DFCE; /* borders, dividers */
  --accent:      #1F7A5A; /* forest-green secondary (links / success) */
  --ink-invert:  #FCF8EF; /* text on dark sections */

  /* Derived / legacy aliases — kept so component rules restyle cleanly */
  --ink-deep:    #17130D; /* darkest ink for dark-section gradients */
  --paper:       var(--cream);
  --ink-soft:    var(--muted);
  --accent-strong: var(--gold-deep); /* gold highlights on light */
  --accent-ink:  var(--ink);         /* text on gold buttons */
  --on-dark:     var(--cream);       /* text on dark sections */
  --on-dark-dim: #C7BCA6;            /* secondary text on dark */
  --line-dark:   rgba(252, 248, 239, 0.12);

  /* Type */
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Shape & motion */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(60, 45, 20, 0.05), 0 10px 26px -18px rgba(60, 45, 20, 0.5);
  --shadow-lg: 0 18px 40px -24px rgba(60, 45, 20, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 74px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 6vw, 4rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0; padding: 0; }

/* Anchor targets clear the sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Utilities ---------- */
.container {
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
}
.container-narrow { max-width: 760px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.lead { font-size: 1.2rem; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Primary — ink background, cream text (the default action) */
.btn-primary {
  background: var(--ink);
  color: var(--ink-invert);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #342d22; box-shadow: var(--shadow-lg); }

/* Gold — for the single most important CTA per view */
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(244, 178, 51, 0.7);
}
.btn-gold:hover { background: #f7c25a; box-shadow: 0 12px 26px -8px rgba(244, 178, 51, 0.8); }

/* Secondary / ghost — forest-green outline (on light backgrounds) */
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-ghost:hover { background: rgba(31, 122, 90, 0.08); border-color: var(--accent); }

.btn-outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.7); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(252, 248, 239, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.scrolled {
  background: rgba(252, 248, 239, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- Logo (inline wordmark: sunraysiaweb) ---------- */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.03654em;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  color: var(--ink);
}
.logo-i { position: relative; display: inline-block; }
.logo-sun {
  position: absolute;
  left: 50%;
  top: -0.17308em;
  /* centered via margin (not transform) so anime.js can rotate it freely */
  margin-left: -0.20192em;
  width: 0.44231em;
  height: 0.44231em;
}
.logo-sun::before {                 /* the 12 rays */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--gold) 0deg 2deg, transparent 2deg 30deg);
}
.logo-sun::after {                  /* solid center */
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: var(--gold);
}
.logo-web { color: var(--gold-deep); }

/* Dark-background variant (footer) */
.logo--dark { color: var(--cream); }
.logo--dark .logo-web { color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-nav a:not(.btn):hover { color: var(--ink); }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  /* Warm cream with a soft sunrise glow in the top-right */
  background:
    radial-gradient(760px 460px at 88% -12%, rgba(244, 178, 51, 0.30), transparent 62%),
    radial-gradient(620px 460px at -6% 6%, rgba(244, 178, 51, 0.10), transparent 60%),
    var(--cream);
  color: var(--ink);
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 4.5rem) 0 5.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 { color: var(--ink); margin-bottom: 0.5em; }
.hero h1 em {
  font-style: normal;
  color: var(--gold-deep);
}
.hero .lead { color: var(--muted); max-width: 34rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}
.hero-trust strong { color: var(--ink); font-weight: 700; }

/* --- Hero browser mockup (pure CSS, no images) --- */
.hero-visual { position: relative; }

.browser-frame {
  background: #fdfcfa;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  background: #eef0f2;
  border-bottom: 1px solid #e2e5e8;
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d3d8dd; }
.browser-bar .dot:first-child { background: #f0a19b; }
.browser-bar .dot:nth-child(2) { background: #f2cf8f; }
.browser-bar .dot:nth-child(3) { background: #a5d6a7; }
.browser-url {
  margin-left: 0.75rem;
  flex: 1;
  background: #fff;
  border-radius: 6px;
  font-size: 0.72rem;
  color: #8b95a1;
  padding: 0.3rem 0.7rem;
}

.browser-body { padding: 1.4rem 1.5rem 1.7rem; }
.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.mock-logo { width: 74px; height: 12px; border-radius: 4px; background: var(--ink); }
.mock-links { display: flex; gap: 10px; }
.mock-links i { width: 34px; height: 8px; border-radius: 4px; background: #dcd7cd; }
.mock-btn { width: 64px; height: 22px; border-radius: 999px; background: var(--gold); }

.mock-hero { margin-bottom: 1.6rem; }
.mock-line {
  display: block;
  height: 16px;
  border-radius: 5px;
  background: var(--ink);
  margin-bottom: 10px;
  opacity: 0.92;
}
.mock-line.thin { height: 8px; background: #dcd7cd; opacity: 1; }
.w-50 { width: 50%; } .w-60 { width: 60%; } .w-70 { width: 70%; } .w-80 { width: 80%; }
.mock-cta {
  display: inline-block;
  width: 110px; height: 30px;
  border-radius: 999px;
  background: var(--gold);
  margin-top: 8px;
}
.mock-cards { display: flex; gap: 12px; }
.mock-cards i {
  flex: 1;
  height: 74px;
  border-radius: 10px;
  background: linear-gradient(160deg, #f0ece4, #e4dfd4);
}

/* Floating proof cards over the mockup */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card-1 { top: -18px; right: -10px; }
.float-card-2 { bottom: -16px; left: -14px; animation-delay: -2.7s; }
.float-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--accent-ink);
  font-size: 0.75rem;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-tint { background: #F6EFDF; }
.section-dark {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--on-dark-dim);
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-sub { font-size: 1.1rem; }
.section-dark .section-sub { color: var(--on-dark-dim); }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(244, 178, 51, 0.45);
}
.card h3 { margin-bottom: 0.45em; }
.card p { font-size: 0.97rem; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(244, 178, 51, 0.14);
  color: var(--accent-strong);
  margin-bottom: 1.15rem;
}
.card-icon svg { width: 24px; height: 24px; }

.card-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  box-shadow: none;
}
.card-dark:hover { border-color: rgba(244, 178, 51, 0.5); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.card-dark p { color: var(--on-dark-dim); }
.card-dark .card-icon { background: rgba(244, 178, 51, 0.14); color: var(--gold); }
.card-accent { border-color: rgba(244, 178, 51, 0.4); }

/* ---------- Pricing ---------- */
.pricing-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--ink-deep);
  color: var(--on-dark-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pricing-main { padding: 3rem 3rem 2.6rem; }
.pricing-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.pricing-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  margin-bottom: 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}
.pricing-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--on-dark-dim);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.pricing-toggle-btn:hover { color: #fff; }
.pricing-toggle-btn.is-active { background: var(--gold); color: var(--ink); }
.pricing-toggle-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pricing-save {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
.pricing-toggle-btn.is-active .pricing-save { background: var(--ink); color: var(--gold); }
.price-billing {
  font-size: 0.8rem;
  margin-top: 0.35rem;
  color: var(--gold);
}

.pricing-figures {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem 1.6rem;
  margin-bottom: 2rem;
}
.price-block { display: flex; flex-direction: column; }
.price {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.price-per { font-size: 0.45em; color: var(--on-dark-dim); }
.price-note { font-size: 0.9rem; margin-top: 0.5rem; }
.price-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}

.pricing-cta { margin-bottom: 1.1rem; }
.pricing-fineprint { font-size: 0.85rem; opacity: 0.75; }

.pricing-includes {
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid var(--line-dark);
  padding: 3rem 2.6rem;
}
.includes-title { font-weight: 600; color: #fff; margin-bottom: 1.2rem; }

.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 2rem;
  font-size: 0.96rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(244, 178, 51, 0.18);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 0.98rem;
  width: 9px; height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.pricing-compare {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 1.02rem;
}
.pricing-compare s { opacity: 0.6; }
.pricing-compare strong { color: var(--ink); }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  counter-reset: step;
}
.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.process-step p { font-size: 0.93rem; }

/* ---------- Portfolio ---------- */
/* Two projects for now — show them 2-up; drop this rule (or switch the
   markup back to grid-3 sizing) once there are three or more */
.work-grid { grid-template-columns: repeat(2, 1fr); }

.work-card {
  display: block;
  text-decoration: none !important;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.work-thumb {
  aspect-ratio: 4 / 2.6;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  transition: filter 0.3s ease;
}
.work-card:hover .work-thumb { filter: saturate(1.15) brightness(1.03); }

/* Real screenshots (an <img> replaces the placeholder gradient div) */
img.work-thumb { width: 100%; padding: 0; object-fit: cover; }

/* Placeholder gradients — replace each .work-thumb div with an <img> when
   you have real screenshots (see the comment in index.html). */
.thumb-a { background: linear-gradient(135deg, #12263f, #35558a); }
.thumb-b { background: linear-gradient(135deg, #5a3d20, #c98940); }
.thumb-c { background: linear-gradient(135deg, #1e3d34, #4b8f74); }
.thumb-d { background: linear-gradient(135deg, #2b2b45, #6a6aa8); }
.thumb-e { background: linear-gradient(135deg, #45222c, #a15767); }
.thumb-f { background: linear-gradient(135deg, #1f3a4d, #3f7f9e); }

.thumb-mono {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
}

.work-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 1.2rem;
}
.work-meta h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.work-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s var(--ease);
  color: var(--accent-strong);
}
.work-card:hover .work-arrow { opacity: 1; transform: translateX(0); }
.work-tag { font-size: 0.82rem; color: var(--ink-soft); margin: 0; white-space: nowrap; }

/* ---------- Testimonials ---------- */
.quote-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.quote-card:hover { border-color: rgba(244, 178, 51, 0.45); transform: translateY(-4px); }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--on-dark);
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  margin-top: auto;
}
.quote-card figcaption strong { color: #fff; }
.quote-role { color: var(--on-dark-dim); }
.quote-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(244, 178, 51, 0.2);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(244, 178, 51, 0.5); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.03rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: var(--radius); }

/* plus/minus indicator */
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-strong);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-body { padding: 0 1.5rem 1.35rem; }
.faq-body p { font-size: 0.98rem; }

/* ---------- Contact ---------- */
.section-contact {
  background:
    radial-gradient(800px 400px at 110% 0%, rgba(244, 178, 51, 0.12), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--on-dark-dim);
}
.section-contact h2 { color: #fff; }
.section-contact .lead { color: var(--on-dark-dim); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.quote-btn { margin: 1.6rem 0 2.4rem; }

.contact-direct {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.8rem;
}
.contact-direct li { display: flex; gap: 1.2rem; align-items: baseline; }
.contact-label {
  flex-shrink: 0;
  width: 72px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
}
.contact-direct a { color: #fff; font-weight: 500; }
.contact-direct a:hover { color: var(--gold); }

/* Form */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.78rem 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #a9a294; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 178, 51, 0.22);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-status { font-size: 0.92rem; font-weight: 600; margin-top: 0.9rem; text-align: center; }
.form-status.success { color: #1c7c4c; }
.form-status.error { color: #c0392b; }
.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
}

/* ---------- Quote wizard ---------- */
.quote-modal {
  width: min(560px, calc(100vw - 2rem));
  max-height: min(86vh, 720px);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--paper);
  color: var(--ink-soft);
  box-shadow: var(--shadow-lg);
}
.quote-modal::backdrop { background: rgba(23, 19, 13, 0.55); }
.quote-modal [hidden] { display: none !important; }

.quote-inner { padding: 2.1rem 2rem 1.9rem; }

.quote-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.quote-close:hover { background: rgba(36, 31, 24, 0.07); color: var(--ink); }

.quote-progress-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0.2rem 0 0.45rem;
}
.quote-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  margin-bottom: 1.6rem;
  overflow: hidden;
}
.quote-progress-bar {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: 999px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.quote-step h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.quote-hint { font-size: 0.9rem; margin: -0.5rem 0 0.9rem; }
.quote-group-label { font-weight: 600; color: var(--ink); font-size: 0.95rem; margin: 1.15rem 0 0.6rem; }
.quote-group-label span { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.quote-step .quote-group-label:first-of-type { margin-top: 0; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease,
              transform 0.15s var(--ease), box-shadow 0.15s ease;
}
.chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 6px 14px -6px rgba(244, 178, 51, 0.7);
}

.quote-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.9rem;
}
.quote-back[disabled] { opacity: 0.35; cursor: default; transform: none; }

.quote-price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 1.2rem;
  margin-bottom: 1.1rem;
}
.quote-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.quote-price-row:last-child { border-bottom: 0; }
.quote-price-row strong { color: var(--ink); white-space: nowrap; }

.quote-note { font-size: 0.88rem; margin-bottom: 0.6rem; }
.quote-send { margin-top: 0.9rem; }
.quote-fineprint { font-size: 0.8rem; text-align: center; margin-top: 0.85rem; }

@media (max-width: 680px) {
  .quote-inner { padding: 1.7rem 1.25rem 1.5rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--on-dark-dim);
  padding: 3.5rem 0 0;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 2.5rem;
}
.site-footer .logo { font-size: 1.3rem; }
.footer-tag { font-size: 0.9rem; margin-top: 1rem; max-width: 26ch; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.6rem 2.5rem;
}
.footer-nav a { color: var(--on-dark-dim); font-size: 0.93rem; }
.footer-nav a:hover { color: #fff; text-decoration: none; }

.footer-social { display: flex; gap: 0.9rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: var(--on-dark-dim);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s var(--ease);
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  font-size: 0.85rem;
}

/* ---------- Scroll-reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
/* Stagger siblings inside grids */
.grid .reveal.in-view:nth-child(2), .process-grid .reveal.in-view:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal.in-view:nth-child(3), .process-grid .reveal.in-view:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal.in-view:nth-child(4), .process-grid .reveal.in-view:nth-child(4) { transition-delay: 0.24s; }
.grid .reveal.in-view:nth-child(5) { transition-delay: 0.32s; }
.grid .reveal.in-view:nth-child(6) { transition-delay: 0.40s; }

/* ---------- anime.js enhancements ----------
   main.js adds .has-anime to <body> when anime.js is available (and the user
   hasn't asked for reduced motion). Inline styles from anime.js then drive
   the reveals, so the CSS transitions/keyframes must step aside. */
.has-anime .reveal { transition: none; transform: none; }

/* Float cards: held still (and hidden) until the hero timeline pops them in,
   then .float-on re-enables the idle bobbing */
.has-anime .float-card { animation: none; opacity: 0; }
.has-anime .float-card.float-on { animation: floaty 5.5s ease-in-out infinite; }

/* Letters of the hero "light" need to be transformable */
.hero h1 .char { display: inline-block; }

/* Browser-mockup bars grow from the left when the hero draws itself in */
.has-anime .browser-body :is(.mock-logo, .mock-links i, .mock-btn, .mock-line, .mock-cta, .mock-cards i) {
  transform-origin: left center;
}

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  .btn:hover, .card:hover, .work-card:hover, .quote-card:hover { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  /* centered once the hero stacks — otherwise it hugs the left edge */
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-includes { border-left: 0; border-top: 1px solid var(--line-dark); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Collapse the nav to the hamburger while the header still has room —
   six links plus the CTA don't fit between 680px and ~840px */
@media (max-width: 840px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 1.5rem 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s var(--ease), opacity 0.25s ease, visibility 0.25s;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-nav a:not(.btn) {
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .nav-cta { margin-top: 1.1rem; text-align: center; }
}

@media (max-width: 680px) {
  .section { padding: 4.25rem 0; }

  /* Long CTAs go full-width instead of wrapping into a cramped pill */
  .pricing-cta, .quote-btn { width: 100%; }

  /* --- Hero, tuned for phones --- */
  .hero { padding: calc(var(--header-h) + 2.75rem) 0 4.25rem; }
  .hero-grid { gap: 3rem; }

  /* keep the long eyebrow labels on one line */
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.16em; }

  .hero h1 { font-size: clamp(2.2rem, 9.5vw, 2.75rem); }
  .hero .lead { font-size: 1.08rem; }

  /* full-width, thumb-friendly CTAs */
  .hero-ctas { flex-direction: column; margin-top: 1.7rem; }
  .hero-ctas .btn { width: 100%; }

  /* trust facts become a compact 3-up stat row */
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem 0.9rem;
    margin-top: 1.9rem;
    padding-top: 1.5rem;
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .hero-trust strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
  }
  .grid-3, .grid-4, .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .float-card-1 { right: 0; }
  .float-card-2 { left: 0; }
  .pricing-main, .pricing-includes { padding: 2.2rem 1.6rem; }
  .contact-form { padding: 1.8rem 1.4rem; }
}
