/* Ravelia Studio
   Spruce + mint brand, warm coral for action. One family: Schibsted Grotesk. */

:root {
  --paper: #ffffff;
  --mist: #f1f3f0;
  --ink: #17201c;
  --slate: #56635c;
  --line: #dde2de;
  --spruce: #0b3b32;
  --spruce-deep: #072620;
  --spruce-hover: #14574a;
  --mint: #bfe8d4;
  --mint-hover: #d3f1e2;
  --coral: #ff7a59;
  --coral-hover: #ff9576;
  --danger: #b3261e;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1240px;
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --radius-lg: 28px;
  --radius-md: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--spruce); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .service-feature :focus-visible { outline-color: var(--mint); }

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

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.75rem 1.25rem; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-lg { width: 32px; height: 32px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--spruce); }
.brand-mark { width: 36px; height: 36px; --mark-stroke: #fff; }
.brand-word { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--ink); }
.brand-word .dot, .footer-big span { color: var(--coral); }
.brand-light { color: var(--mint); }
.brand-light .brand-mark { --mark-stroke: var(--spruce); }
.brand-light .brand-word { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; }
.nav { display: flex; align-items: center; gap: 2rem; font-size: 0.97rem; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; padding: 0.5rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.3s var(--ease); }
.nav a:not(.btn):hover { background-size: 100% 1.5px; }

.menu-btn { display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.25rem; font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; color: inherit; }
.menu-btn-icon, .menu-btn-icon::before { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s var(--ease); }
.menu-btn-icon { position: relative; }
.menu-btn-icon::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu-btn[aria-expanded="true"] .menu-btn-icon { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-icon::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.6rem; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 56px; padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { background: var(--coral-hover); box-shadow: 0 8px 24px -10px rgba(255, 122, 89, 0.7); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--spruce-hover); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.nav-cta { min-height: 44px; padding: 0.5rem 1.3rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.link-arrow:hover { text-decoration-color: var(--coral); }

/* ---------- Type ---------- */
.h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; max-width: 20ch; }
.lede { margin-top: 1.25rem; max-width: 38rem; font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--slate); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--spruce); min-height: min(88vh, 900px); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform-origin: 72% 55%; animation: settle 2.4s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 38, 32, 0.6) 0%, rgba(7, 38, 32, 0.3) 36%, rgba(7, 38, 32, 0) 58%); }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero-inner { padding-block: clamp(5rem, 10vw, 8rem); }
.status { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.95rem 0.4rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); font-size: 0.92rem; font-weight: 500; }
.status-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

.hero-title { margin-top: 1.5rem; font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; max-width: 11ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15); }
.hero-copy { margin-top: clamp(1.25rem, 2.4vw, 1.75rem); max-width: 26rem; font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.55; color: rgba(255, 255, 255, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.hero .link-arrow:hover { text-decoration-color: var(--mint); }

/* ---------- Promise strip ---------- */
.promises { background: var(--spruce-deep); color: rgba(255, 255, 255, 0.86); }
.promise-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promise-list li { display: flex; align-items: center; gap: 0.85rem; padding: 1.4rem 1.5rem 1.4rem 0; font-size: 0.96rem; line-height: 1.4; }
.promise-list li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.promise-list .icon { color: var(--mint); }
.promise-list strong { color: #fff; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--spruce); color: #fff; }
.section-dark .lede { color: rgba(255, 255, 255, 0.78); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split-head { position: sticky; top: 7rem; display: grid; gap: 2rem; justify-items: start; }

/* ---------- Before / after ---------- */
.difference .section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 4rem; align-items: end; }
.difference .lede { margin-top: 0; }
.compare-wrap figcaption { margin-top: 0.9rem; font-size: 0.9rem; color: var(--slate); }

.compare {
  --u: 1cqw;
  position: relative; container-type: inline-size;
  aspect-ratio: 2 / 1; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(11, 59, 50, 0.35);
  user-select: none; -webkit-user-select: none;
}
.layer { position: absolute; inset: 0; overflow: hidden; }
.layer-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 32, 28, 0.18); pointer-events: none; }
.knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--coral); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(23, 32, 28, 0.3); }
.compare:focus-within { outline: 3px solid var(--spruce); outline-offset: 4px; }
.tag { position: absolute; bottom: 14px; padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: rgba(23, 32, 28, 0.88); color: #fff; pointer-events: none; }
.tag-before { left: 14px; }
.tag-after { right: 14px; background: var(--mint); color: var(--spruce); }
.compare-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }

/* Mockup: the old site */
.old { width: 100%; height: 100%; background: #e7e2a5; font-family: "Times New Roman", Times, serif; color: #111; font-size: calc(var(--u) * 1.15); line-height: 1.25; }
.old-banner { background: #1b1bd6; color: #ffff33; text-align: center; font-weight: 700; font-size: calc(var(--u) * 2.3); padding: calc(var(--u) * 1.2) 0; letter-spacing: 0.04em; }
.old-nav { background: #c9c9c9; border-bottom: 2px solid #777; padding: calc(var(--u) * 0.6) calc(var(--u) * 1.5); font-size: calc(var(--u) * 1.35); color: #0000ee; text-align: center; }
.old-body { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: calc(var(--u) * 1.5); padding: calc(var(--u) * 1.6); }
.old-col p { margin-bottom: calc(var(--u) * 0.9); }
.old-red { color: #dd0000; font-weight: 700; font-size: calc(var(--u) * 1.7); }
.old-uc { background: #ffff00; border: 2px dashed #dd0000; text-align: center; font-weight: 700; padding: calc(var(--u) * 0.4); }
.old-img { height: calc(var(--u) * 20); border: 3px outset #aaa; background: repeating-linear-gradient(45deg, #bdbdbd 0 8px, #d0d0d0 8px 16px); display: grid; place-items: center; font-family: "Courier New", monospace; font-size: calc(var(--u) * 1.3); color: #555; }
.old-phone { font-family: "Comic Sans MS", "Comic Sans", cursive; color: #cc00cc; font-weight: 700; font-size: calc(var(--u) * 1.7); }
.old-count { background: #000; color: #00ff00; font-family: "Courier New", monospace; display: inline-block; padding: calc(var(--u) * 0.3) calc(var(--u) * 0.7); }
.old-small { font-size: calc(var(--u) * 0.9); color: #666; }

/* Mockup: the redesigned site */
.new { width: 100%; height: 100%; background: #fff; color: #10233d; font-size: calc(var(--u) * 1.5); line-height: 1.4; display: flex; flex-direction: column; }
.new-nav { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 2); padding: calc(var(--u) * 1.6) calc(var(--u) * 3); border-bottom: 1px solid #e5eaf0; }
.new-logo { font-weight: 700; font-size: calc(var(--u) * 2.1); letter-spacing: -0.03em; }
.new-links { display: flex; gap: calc(var(--u) * 3); color: #4a5b70; margin-left: auto; margin-right: calc(var(--u) * 2); }
.new-links i { font-style: normal; }
.new-btn { background: #f26b2b; color: #fff; font-weight: 600; border-radius: 999px; padding: calc(var(--u) * 0.8) calc(var(--u) * 2); white-space: nowrap; }
.new-ghost { border: 1.5px solid #10233d; border-radius: 999px; padding: calc(var(--u) * 0.7) calc(var(--u) * 2); font-weight: 600; white-space: nowrap; }
.new-hero { flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: calc(var(--u) * 3); padding: calc(var(--u) * 2) calc(var(--u) * 3); }
.new-text h3 { font-size: calc(var(--u) * 4.6); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
.new-text p { margin-top: calc(var(--u) * 1.4); color: #4a5b70; font-size: calc(var(--u) * 1.7); max-width: 34ch; }
.new-actions { display: flex; gap: calc(var(--u) * 1.2); margin-top: calc(var(--u) * 2); flex-wrap: wrap; }
.new-visual { height: 100%; max-height: calc(var(--u) * 24); border-radius: calc(var(--u) * 2); background: linear-gradient(150deg, #10233d 0%, #1d4a7a 100%); position: relative; }
.new-slot { position: absolute; left: calc(var(--u) * 2); bottom: calc(var(--u) * 2); background: #fff; border-radius: calc(var(--u) * 1.2); padding: calc(var(--u) * 1.2) calc(var(--u) * 1.8); }
.new-slot small { display: block; color: #4a5b70; font-size: calc(var(--u) * 1.2); }
.new-slot strong { font-size: calc(var(--u) * 2); letter-spacing: -0.02em; }
.new-points { display: flex; gap: calc(var(--u) * 4); padding: calc(var(--u) * 1.6) calc(var(--u) * 3); border-top: 1px solid #e5eaf0; color: #4a5b70; font-weight: 500; }

/* ---------- Problems ---------- */
.rows li { padding: 2rem 0; border-top: 1px solid #cdd4cf; }
.rows li:last-child { border-bottom: 1px solid #cdd4cf; }
.rows h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.rows p { margin-top: 0.6rem; max-width: 52ch; color: var(--slate); }

/* ---------- Who it's for ---------- */
.who-title { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.who-list li {
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0.5rem 2rem; align-items: center;
  padding: clamp(1rem, 2vw, 1.5rem) 0; border-top: 1px solid var(--line);
}
.who-list li:last-child { border-bottom: 1px solid var(--line); }
.who-word { font-size: clamp(2.4rem, 7.5vw, 6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; transition: color 0.3s var(--ease), transform 0.4s var(--ease); }
.who-desc { color: var(--slate); }
@media (hover: hover) {
  .who-list li:hover .who-word { color: var(--spruce-hover); transform: translateX(0.6rem); }
}

/* ---------- Services (bento) ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service { display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--paper); border-radius: var(--radius-md); border: 1px solid var(--line); }
.service .icon { color: var(--spruce); margin-bottom: 0.75rem; }
.service h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.service p { color: var(--slate); max-width: 38ch; }
.service-feature { grid-row: span 2; background: var(--spruce); color: #fff; border-color: var(--spruce); padding: clamp(2rem, 3.5vw, 2.75rem); }
.service-feature .icon { color: var(--mint); }
.service-feature h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 500; letter-spacing: -0.035em; }
.service-feature p { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; }
.service-feature .btn { margin-top: auto; align-self: flex-start; }
.service-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 0.5rem 2rem; background: var(--mint); border-color: var(--mint); }
.service-wide .icon { margin: 0; }
.service-wide p { color: var(--spruce); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0 2rem; }
.chips li { padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(191, 232, 212, 0.14); border: 1px solid rgba(191, 232, 212, 0.3); color: var(--mint); font-size: 0.88rem; font-weight: 500; }

/* ---------- Process ---------- */
.steps { display: grid; }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.step-num { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1.5px solid var(--mint); color: var(--mint); font-size: 1.2rem; font-weight: 600; }
.steps h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; padding-top: 0.6rem; }
.steps p { margin-top: 0.5rem; color: rgba(255, 255, 255, 0.78); max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; padding: 1.1rem 0; font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 500; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317201c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform 0.3s var(--ease), background-color 0.2s var(--ease); }
.faq summary:hover::after { background-color: var(--mint); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mint); }
.faq details p { padding: 0 3.5rem 1.5rem 0; max-width: 56ch; color: var(--slate); }

/* ---------- Book ---------- */
.book { padding-top: 0; }
.book-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.5rem, 5vw, 4.5rem); border-radius: var(--radius-lg); background: var(--spruce); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.book-card::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 89, 0.35), rgba(255, 122, 89, 0) 65%); }
.book-intro .lede { color: rgba(255, 255, 255, 0.8); }
.ticks { margin-top: 2rem; display: grid; gap: 0.85rem; }
.ticks li { position: relative; padding-left: 2.1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3b32' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

.form-panel { background: var(--paper); color: var(--ink); border-radius: calc(var(--radius-lg) - 8px); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.97rem; }
.optional { font-weight: 400; color: var(--slate); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid #9aa6a0; border-radius: 12px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--spruce); box-shadow: 0 0 0 3px rgba(11, 59, 50, 0.22); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.hint { margin-top: 0.35rem; font-size: 0.875rem; color: var(--slate); }
.error { margin-top: 0.4rem; font-size: 0.9rem; font-weight: 500; color: var(--danger); }
.form-error { margin-bottom: 1rem; padding: 0.85rem 1rem; border-radius: 12px; background: #fbeceb; color: #7d1a14; font-size: 0.95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { padding: 1rem 0; }
.success:focus { outline: none; }
.success h3 { font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.success p { margin-top: 0.75rem; color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--spruce-deep); color: #fff; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; overflow: hidden; }
.footer-inner { display: grid; gap: 2rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; font-weight: 500; }
.footer-nav a { padding: 0.5rem 0; text-underline-offset: 4px; color: rgba(255, 255, 255, 0.85); }
.footer-nav a:hover { color: #fff; }
.footer-big { font-size: clamp(5rem, 22vw, 19rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.85; color: var(--spruce); margin: 1rem 0 0 -0.04em; user-select: none; }
.footer-note { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .promise-list li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-feature { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem; font-size: 1.15rem;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); background: none; }
  .nav-cta { margin-top: 1.25rem; min-height: 52px; }

  .split, .book-card, .difference .section-head { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }

  /* Hero: photo sits behind the text, like desktop. Text over the wall, laptop below */
  .hero { min-height: min(125svh, 1060px); align-items: flex-start; }
  .hero-media { top: 30%; }
  .hero-media img { object-position: 70% 62%; }
  .hero-media::after { background: linear-gradient(180deg, var(--spruce) 0%, rgba(11, 59, 50, 0.72) 22%, rgba(7, 38, 32, 0.35) 52%, rgba(7, 38, 32, 0.1) 75%, rgba(7, 38, 32, 0.25) 100%); }
  .hero-inner { padding-block: 3.5rem 3rem; }
  .hero-title { max-width: 13ch; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-word { font-size: 1.45rem; }
  .brand-mark { width: 32px; height: 32px; }
  .promise-list { grid-template-columns: minmax(0, 1fr); }
  .promise-list li, .promise-list li + li { padding: 1.05rem 0; border-left: 0; }
  .promise-list li + li { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service-feature { grid-column: auto; }
  .service-wide { display: flex; flex-direction: column; align-items: flex-start; }
  .service-wide .icon { margin-bottom: 0.75rem; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .book-card { border-radius: var(--radius-md); }
  .faq details p { padding-right: 0; }

  .compare { --u: 2.5cqw; aspect-ratio: 4 / 5; border-radius: var(--radius-md); }
  .tag { bottom: 10px; }
  .tag-before { left: 10px; }
  .tag-after { right: 10px; }
  .old-body { grid-template-columns: 1fr; }
  .old-mid { display: none; }
  .old-col p { margin-bottom: calc(var(--u) * 0.6); }
  .old-banner { font-size: calc(var(--u) * 2.4); }
  .new-nav { padding: calc(var(--u) * 1.6) calc(var(--u) * 2.4); }
  .new-links { display: none; }
  .new-hero { grid-template-columns: 1fr; padding: calc(var(--u) * 2.4); gap: calc(var(--u) * 2); align-content: center; }
  .new-text h3 { font-size: calc(var(--u) * 3.9); }
  .new-text p { font-size: calc(var(--u) * 1.9); }
  .new-visual { display: none; }
  .new-nav .new-btn { font-size: calc(var(--u) * 1.6); }
  .new-points { flex-direction: column; gap: calc(var(--u) * 0.6); padding: calc(var(--u) * 1.8) calc(var(--u) * 2.4); }
  .who-list li { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .status-dot::after { display: none; }
}
