/* TOI Studio — Totally Overthinking It. Website styles.
   Palette: Chocolate, Terracotta, Blush, Sand, Shell, Paper. Fine-line Māori-inspired elements. */
:root {
  --chocolate: #5B2E22;
  --tangerine: #D9612F;          /* logo terracotta: big accents, headings, art */
  --terra-ui: #B9501F;           /* deeper terracotta: buttons & small text (passes AA contrast) */          /* terracotta (kept the old variable name so every page updates) */
  --tangerine-text: #B9501F;
  --pink: #E9A898;               /* blush */
  --vanilla: #FBF5F0;            /* paper — the page background */
  --cream: #FFFCFA;              /* cards */
  --sand: #F5E6DA;               /* shell */
  --stone: #D9BFB0;              /* fine lines */
  --cocoa: #5B2E22;
  --mustard: #E9A898;
  --tan: #D4A98A;            /* retired: anything that used it is now blush */
  --line: #EADBD0;
  --muted: #8A6A5F;
  --radius: 22px;
  --wrap: 1200px;
  --display: 'Gloock', 'Georgia', serif;
  --italic: 'Lora', 'Georgia', serif;
  --body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--vanilla); color: var(--chocolate); font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--chocolate); text-underline-offset: 3px; }
a:hover { color: var(--tangerine); }
strong, b { font-weight: 500; }
:focus-visible { outline: 2px solid var(--tangerine); outline-offset: 3px; border-radius: 6px; }
.hidden, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--chocolate); color: var(--vanilla); padding: 10px 16px; z-index: 20; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: 128px 0; position: relative; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(50px, 6.6vw, 92px); line-height: 1.02; }
h2 { font-size: clamp(38px, 4.4vw, 58px); margin-bottom: 18px; }
h3 { font-size: 26px; }
h4 { font-family: var(--body); font-weight: 500; font-size: 17px; margin: 0; }
.accent { font-style: normal; color: var(--tangerine-text); }
h1 em, h2 em, h3 em, .display em { font-family: var(--italic); font-style: italic; font-weight: 500; color: var(--tangerine); letter-spacing: -0.015em; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 22px; color: var(--chocolate); }
.eyebrow .reo { color: var(--tangerine); }
.lead { font-size: 19px; max-width: 580px; margin: 26px 0 0; color: #6F4A3F; }
.section-lead { margin: 0 0 56px; }
.section-title { margin-bottom: 56px; }
.hint { font-size: 15px; margin: 0; color: var(--muted); }
.rule { width: 56px; height: 1.5px; background: var(--tangerine); border: 0; margin: 28px 0; }

/* Retired heavy patterns: now calm, flat backgrounds (kept so older pages still work) */
.pat-fronds-choc, .pat-chevrons-choc { background: var(--chocolate); }
.pat-fronds-vanilla, .pat-diamonds-vanilla { background: var(--vanilla); }
.pat-diamonds-sand, .pat-chevrons-pink, .pat-diamonds-pink, .pat-fronds-tang { background: var(--sand); }

/* Fine-line decorations */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.section > .wrap { position: relative; z-index: 1; }
.deco-koru { left: 3%; bottom: 36px; width: 96px; opacity: .5; }
.deco-twist { left: 50%; top: 50%; width: 54px; transform: translate(-50%, -50%); opacity: .7; }
.deco-fern { left: 3%; bottom: 40px; width: 90px; opacity: .8; }
.deco-arches { right: -40px; top: 60px; width: 340px; opacity: .55; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-family: var(--body); font-weight: 500; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; padding: 17px 30px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn-primary, .btn-dark { background: var(--chocolate); color: var(--vanilla); }
.btn-primary:hover, .btn-dark:hover { background: var(--tangerine); color: #fff; }
.btn-outline { border-color: var(--chocolate); color: var(--chocolate); background: transparent; }
.btn-outline:hover { background: var(--chocolate); color: var(--vanilla); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn .arrow { font-size: 15px; letter-spacing: 0; }
.link-btn { background: none; border: 0; font: inherit; font-weight: 500; color: var(--chocolate); text-decoration: underline; cursor: pointer; padding: 8px 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 245, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { border-color: var(--tangerine); color: var(--chocolate); }
.nav .btn { padding: 13px 22px; font-size: 11.5px; }
.menu-btn { display: none; background: none; border: 0; color: var(--chocolate); padding: 8px; cursor: pointer; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 120px; }
.hero-copy { min-width: 0; }
.hero h1 .accent { display: block; }
.hero-art { min-width: 0; }
.hero-art img { width: 100%; height: auto; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* Band */
.band { background: var(--chocolate); color: var(--vanilla); position: relative; overflow: hidden; }
.band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-top: 64px; padding-bottom: 64px; }
.band .display { font-size: clamp(34px, 4vw, 48px); }
.band .display span { color: var(--pink); }
.band-sub { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); color: var(--sand); }

/* Grids & cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.arch-card { border-radius: 400px 400px var(--radius) var(--radius); padding: 74px 34px 42px; text-align: center; position: relative; }
.arch-card::before { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid currentColor; opacity: .35; pointer-events: none; }
.arch-card .letter { font-family: var(--display); font-size: 104px; line-height: 1; margin: 0; }
.arch-card h3 { font-family: var(--body); font-weight: 500; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; margin: 22px 0 12px; }
.arch-card p { margin: 0; font-size: 16px; }
.bg-choc { background-color: var(--chocolate); color: var(--vanilla); }
.bg-tang { background: var(--tangerine); color: #FFF8F3; }
.bg-pink { background: var(--sand); color: var(--chocolate); }
.bg-pink .letter { color: var(--tangerine); }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; }
.card .eyebrow { margin: 0; font-size: 11px; color: var(--tangerine); }
.card h3 { font-size: 28px; }
.card p { margin: 0; font-size: 16px; }
.card .num { font-family: var(--display); font-size: 15px; color: var(--stone); margin: 0 0 18px; }

/* Portfolio — interactive device previews */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 48px; }
.work-head h2 { margin: 0; }
.projects { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.project { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stage { height: 340px; display: flex; align-items: center; justify-content: center; padding: 28px; background: var(--sand); }
.device { background: var(--chocolate); box-shadow: 0 24px 50px rgba(91, 46, 34, .22); }
.device[hidden] { display: none; }
.laptop { width: 100%; max-width: 420px; aspect-ratio: 16 / 10; border-radius: 12px; padding: 8px; }
.phone { width: 150px; aspect-ratio: 9 / 19; border-radius: 26px; padding: 6px; }
.screen { display: block; width: 100%; height: 100%; overflow: hidden; border: 0; padding: 0; margin: 0; background: #fff; border-radius: 6px; cursor: zoom-in; position: relative; }
.phone .screen { border-radius: 20px; }
.screen img { width: 100%; height: auto; transform: translateY(0); transition: transform var(--scroll-time, 7s) ease-in-out; }
.screen:hover img, .screen:focus-visible img, .project.in-view .screen.auto img { transform: translateY(var(--scroll-to, 0px)); }
.project-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; padding: 24px 26px 28px; }
.project-info h3 { font-size: 26px; margin-bottom: 6px; }
.project-info p { margin: 0; font-size: 15px; }
.toggle { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 4px; }
.toggle button { font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .12em; border: 0; background: none; color: var(--chocolate); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--chocolate); color: var(--vanilla); }

/* Full-page viewer */
.viewer { border: 0; padding: 0; width: min(1100px, 94vw); height: 90vh; border-radius: 20px; background: var(--cream); overflow: hidden; }
.viewer::backdrop { background: rgba(91, 46, 34, .7); }
.viewer-scroll { height: 100%; overflow-y: auto; }
.viewer-scroll img { margin: 0 auto; }
.viewer-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--chocolate); color: var(--vanilla); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Free website review */
.check { background: var(--sand); color: var(--chocolate); overflow: hidden; }
.check-wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.check-copy { flex: 1 1 360px; min-width: 0; }
.check-copy .lead { margin-bottom: 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; }
.ticks li::before { content: ""; width: 18px; height: 1.5px; background: var(--tangerine); flex: none; transform: translateY(-4px); }
.check-panel { flex: 999 1 480px; min-width: 0; background: var(--cream); border-radius: var(--radius); padding: 40px; box-shadow: 0 30px 60px rgba(91, 46, 34, .08); color: var(--chocolate); }
.check-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.check-form label, .contact-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.full { grid-column: 1 / -1; }
.opt { font-weight: 300; letter-spacing: .05em; text-transform: none; opacity: .75; }
input, select, textarea { font: inherit; font-size: 16px; font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--chocolate); padding: 14px 16px; border: 1px solid var(--stone); border-radius: 12px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--tangerine); box-shadow: 0 0 0 3px rgba(200, 101, 63, .15); }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; margin: 0; color: var(--muted); }
.form-error { margin: 0; color: #9C2F12; font-weight: 500; }
.check-loading { display: flex; gap: 18px; align-items: center; padding: 20px 0; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--sand); border-top-color: var(--tangerine); animation: spin 1s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.score-row { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.score-row h3 { font-size: 32px; }
.score-row .eyebrow { margin-bottom: 6px; word-break: break-all; }
.score-ring { --c: var(--tangerine); width: 112px; height: 112px; flex: none; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--score) * 1%), var(--sand) 0); display: grid; place-items: center; }
.score-ring span { width: 92px; height: 92px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-family: var(--display); font-size: 36px; }
.wins { margin: 10px 0 18px; padding-left: 22px; display: grid; gap: 10px; }
.all-checks summary { cursor: pointer; font-weight: 500; padding: 6px 0; }
.all-checks ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.all-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 15px; padding: 10px 0; border-top: 1px solid var(--line); }
.all-checks li b { display: block; }
.dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 500; margin-top: 2px; }
.dot.pass { background: #4F7A57; } .dot.warn { background: #C8653F; } .dot.fail { background: #9C2F12; }
.result-cta { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.result-cta p { margin: 0; width: 100%; font-weight: 500; }

/* Packages */
.packages { background: var(--chocolate); color: var(--vanilla); overflow: hidden; }
.packages .eyebrow { color: var(--pink); }
.packages .section-lead { color: #E9D3C8; }
.price-card { border-radius: var(--radius); padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.price-card.light { background: var(--vanilla); color: var(--chocolate); }
.price-card.hot { background: var(--tangerine); color: #FFF8F3; }
.price-card .tag { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.price-card .badge { align-self: flex-start; background: var(--vanilla); color: var(--chocolate); padding: 7px 14px; border-radius: 999px; }
.price-card h3 { font-size: 32px; }
.price { font-family: var(--display); font-size: 50px; margin: 0; line-height: 1; }
.price small { font-family: var(--body); font-size: 14px; font-weight: 300; letter-spacing: .1em; }
.price-card ul { margin: 6px 0 10px; padding: 0; list-style: none; line-height: 1.6; display: grid; gap: 10px; font-size: 15.5px; }
.price-card li { padding-left: 24px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1.5px; background: currentColor; opacity: .6; }
.price-card .btn { margin-top: auto; }
.price-card.hot .btn { background: var(--chocolate); color: var(--vanilla); }
.price-card.hot .btn:hover { background: var(--vanilla); color: var(--chocolate); }
.extras-title { font-size: 32px; margin: 72px 0 22px; }
.extra { border: 1px solid rgba(230, 167, 155, .45); border-radius: var(--radius); padding: 28px; }
.extra h4 { margin: 0 0 6px; }
.extra p { margin: 0 0 12px; color: #E9D3C8; font-size: 15.5px; }
.extra .cost { color: var(--pink); font-family: var(--display); font-size: 22px; margin: 0; }

/* Steps (legacy) */
.step .num { font-family: var(--display); font-size: 58px; line-height: 1; margin: 0 0 10px; color: var(--tangerine-text); }
.step h3 { font-family: var(--body); font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; }

/* About */
.about .wrap { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.about-img { flex: 1 1 340px; min-width: 0; height: 540px; border-radius: 400px 400px var(--radius) var(--radius); display: flex; align-items: flex-end; justify-content: center; padding: 40px; overflow: hidden; position: relative; background: var(--tangerine) url(../images/elements/arch-fern.svg) center bottom / cover no-repeat; }
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-hello { position: relative; background: var(--vanilla); border-radius: 18px; padding: 20px 30px; font-family: var(--display); font-size: 32px; line-height: 1.1; text-align: center; box-shadow: 0 18px 40px rgba(91, 46, 34, .18); }
.about .copy { flex: 999 1 520px; min-width: 0; }
.about .quote { font-family: var(--display); font-size: 26px; line-height: 1.3; margin-top: 30px; }
.meanings { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.meanings li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; font-size: 15px; line-height: 1.6; }
.meanings img { width: 54px; height: 64px; object-fit: contain; }
.meanings b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; margin-bottom: 2px; }
.note-whanau { font-size: 13px; color: var(--muted); margin-top: 22px; }

/* Contact */
.contact { background: var(--chocolate); color: var(--vanilla); overflow: hidden; }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 56px; }
.contact .copy { flex: 1 1 360px; min-width: 0; }
.contact h2 { font-size: clamp(42px, 5vw, 64px); }
.contact .accent { color: var(--pink); }
.contact .copy p { color: #E9D3C8; }
.contact .eyebrow { color: var(--pink); }
.contact-lines a { color: var(--pink); }
.contact-form { flex: 999 1 520px; min-width: 0; background: var(--vanilla); color: var(--chocolate); border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; padding-top: 40px; padding-bottom: 40px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.site-footer img { height: 46px; width: auto; }

@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--vanilla); flex-direction: column; align-items: flex-start; padding: 12px 28px 26px; border-bottom: 1px solid var(--line); gap: 8px; }
  .nav.open { display: flex; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 80px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .deco-twist, .deco-arches { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .wrap { padding: 0 20px; }
  .logo img { height: 42px; }
  .about-img { height: 440px; }
  .check-panel, .contact-form { padding: 26px; }
  .stage { height: 290px; }
  .deco-koru, .deco-fern { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .screen img { transition: none; }
  .spinner { animation: none; }
}

/* ---------- Beyond the Brief ---------- */
.story-hero .wrap { padding-top: 80px; padding-bottom: 80px; }
.story-hero h1 { font-size: clamp(44px, 6.4vw, 92px); max-width: 1000px; }
.story-hero .eyebrow a { text-decoration: none; border-bottom: 2px solid var(--tangerine); }
.kicker { margin: 22px 0 0; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.story-hero-img { margin-top: -40px; }
.story-hero-img img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(91, 46, 34, .18); }
.story-steps { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 32px; padding-bottom: 8px; }
.story-steps a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .06em; padding: 9px 14px 6px; border-radius: 999px; background: var(--sand); }
.story-steps a:hover { background: var(--pink); }
.story-sec { padding: 80px 0; }
.story-grid { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 24px 48px; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } }
.num-label { margin: 0 0 18px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: 14px; color: var(--tangerine-text); }
.beyond .num-label, .next-story .eyebrow { color: var(--pink); }
.sub { font-family: var(--body); font-size: 20px; letter-spacing: .04em; margin: 32px 0 14px; }
.challenge-list { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.challenge-list li { counter-increment: c; background: var(--cream); border-radius: 18px; padding: 18px 20px; display: flex; gap: 14px; }
.challenge-list li::before { content: counter(c, decimal-leading-zero); font-family: var(--display); font-weight: 400; color: var(--tangerine-text); }
.process-row { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.process-row li { background: var(--cream); border: 1.5px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.process-row .pnum { width: 34px; height: 34px; border-radius: 50%; background: var(--chocolate); color: var(--vanilla); display: grid; place-items: center; font-weight: 500; padding-top: 3px; }
.process-row b { font-size: 18px; }
.process-row span:last-child { font-size: 16px; }
.ba { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: 0 24px 48px rgba(91, 46, 34, .2); margin: 20px 0 40px; aspect-ratio: 16 / 10; background: #fff; }
.ba > img, .ba-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: var(--vanilla); box-shadow: 0 0 0 1px var(--chocolate); pointer-events: none; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; padding: 0; border: 0; }
.ba input:focus-visible + * { outline: none; }
.ba:focus-within { outline: 3px solid var(--tangerine); outline-offset: 4px; }
.ba-tag { position: absolute; top: 14px; z-index: 2; background: var(--chocolate); color: var(--vanilla); font-weight: 500; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px 5px; border-radius: 999px; pointer-events: none; }
.ba-tag-l { left: 14px; } .ba-tag-r { right: 14px; background: var(--tangerine); color: var(--cocoa); }
.logo-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 20px 0 40px; }
.logo-compare figure { margin: 0; }
.lc-img { background: var(--vanilla); border-radius: var(--radius); padding: 30px; height: 260px; display: grid; place-items: center; }
.lc-before { background: #fff; }
.lc-img img { max-height: 200px; width: auto; }
.logo-compare figcaption { margin-top: 10px; }
.build-scroll .project-wide .stage { height: 460px; }
.build-scroll .project-wide .laptop { max-width: 700px; }
.build-scroll .project-wide .phone { width: 200px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.gallery figure { margin: 0; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption { padding: 16px 20px 18px; font-size: 16px; }
.beyond { background: var(--chocolate); color: var(--vanilla); }
.ask-deliver { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(280px, 2fr); gap: 20px; margin-top: 32px; }
@media (max-width: 760px) { .ask-deliver { grid-template-columns: 1fr; } }
.ask, .deliver { border-radius: var(--radius); padding: 28px; }
.ask { background: rgba(255, 243, 222, .1); border: 1.5px dashed rgba(230, 167, 155, .45); }
.deliver { background: var(--vanilla); color: var(--chocolate); }
.ask ul, .deliver ul { margin: 0; padding-left: 20px; line-height: 1.9; }
.deliver ul { columns: 2 260px; column-gap: 32px; }
.lead.big { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3vw, 36px); line-height: 1.25; max-width: 900px; margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 32px; }
.stat { background: var(--sand); border-radius: 22px; padding: 22px; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 54px; line-height: 1; color: var(--chocolate); }
.stat span { display: block; margin-top: 8px; }
.details { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.details div { background: var(--cream); border-radius: 18px; padding: 16px 18px; }
.details dt { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tangerine-text); }
.details dd { margin: 6px 0 0; }
.next-story { background: var(--chocolate); color: var(--vanilla); }
.next-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; text-decoration: none; color: var(--vanilla); font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 64px); border-bottom: 2px solid rgba(230, 167, 155, .45); padding-bottom: 20px; }
.next-link:hover { color: var(--pink); }
.next-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; }
.next-cta h2 { max-width: 760px; margin: 0; }
.next-story .accent { color: var(--pink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: inherit; font-size: 15px; font-weight: 500; border: 1px solid var(--chocolate); background: none; color: var(--chocolate); padding: 10px 18px 7px; border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--chocolate); color: var(--vanilla); }
.story-card .card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.story-card:hover { box-shadow: 0 20px 40px rgba(91, 46, 34, .15); transform: translateY(-3px); }
.story-card { transition: transform .2s ease, box-shadow .2s ease; }
.story-card .project-info { align-items: flex-end; }
.story-card .eyebrow { margin-bottom: 6px; font-size: 12px; color: var(--tangerine-text); }
.story-card .screen { cursor: pointer; }
.stage-img { padding: 0; overflow: hidden; }
.stage-img img { width: 100%; height: 100%; object-fit: cover; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag-pill { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; background: var(--sand); padding: 5px 10px 3px; border-radius: 999px; }
.read-more { font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid var(--tangerine); padding-bottom: 3px; }
.story-card[hidden] { display: none; }

/* ---------- Process (how we work) ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: j; }
.journey li { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.journey .jnum { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--tangerine-text); }
.journey h3 { font-size: 24px; }
.journey p { margin: 0; font-size: 16px; }
.journey .you { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.journey .you b { color: var(--tangerine-text); }
.story-card:hover .screen img { transform: translateY(var(--scroll-to, 0px)); }
.beyond .eyebrow, .ask .eyebrow, .next-story .eyebrow, .packages .eyebrow { color: var(--pink); }

/* ---------- TOI Studio components ---------- */
.btn-terra { background: var(--tangerine); color: #fff; }
.btn-terra:hover { background: var(--chocolate); color: var(--vanilla); }
.logo img { height: 52px; }
.hero .wrap.bar-wrap { display: block; padding-top: 0; padding-bottom: 40px; }
.hero .wrap { grid-template-columns: 1fr 1fr; padding-bottom: 0; }
.hero h1 { font-size: clamp(52px, 6.2vw, 90px); }
.hero h1 em { display: block; }
.hero-panel { position: relative; border-radius: 200px 22px 22px 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(91, 46, 34, .12); }
.hero-panel img { width: 100%; height: auto; }
.hero-panel .script { position: absolute; right: 34px; bottom: 34px; margin: 0; font-family: var(--italic); font-style: italic; font-weight: 500; font-size: 26px; line-height: 1.05; color: var(--vanilla); text-align: right; transform: rotate(-6deg); }
.hero-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin: 64px 0 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-bar .tagline { margin: 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--tangerine); line-height: 1.9; }
.hero-bar .tagline span { color: var(--chocolate); }
.hero-bar ul { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; }
.hero-bar li + li { border-left: 1px solid var(--line); }
.hero-bar a { display: block; padding: 4px 26px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.svc { border-radius: 200px 200px 18px 18px; overflow: hidden; display: flex; flex-direction: column; }
.svc-img { height: 210px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; }
.svc:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 28px 26px 34px; text-align: center; flex: 1; }
.svc-icon { width: 40px; height: 40px; margin: 0 auto 12px; }
.svc h3 { font-family: var(--body); font-weight: 500; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 12px; }
.svc p { margin: 0; font-size: 15px; line-height: 1.6; }
.svc-terra { background: var(--tangerine); color: #fff; }
.svc-blush { background: var(--pink); color: var(--chocolate); }
.svc-sand { background: var(--tan); color: var(--chocolate); }
.svc-shell { background: var(--sand); color: var(--chocolate); }
.approach { background: var(--pink); overflow: hidden; }
.approach .eyebrow { color: var(--chocolate); }
.approach h2 em { color: var(--chocolate); }
.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; }
.approach-grid > div { padding: 6px 34px 6px 0; }
.approach-grid > div + div { border-left: 1px solid rgba(91, 46, 34, .25); padding-left: 34px; }
.approach-grid h3 { font-size: 44px; margin-bottom: 14px; }
.approach-grid p { margin: 0; font-size: 16px; color: #5E3428; }
.about { background: var(--chocolate); color: var(--vanilla); }
.about .eyebrow { color: var(--pink); }
.about h2 em { color: var(--pink); }
.about .copy p { color: #EAD6CB; }
.about .copy b { color: var(--vanilla); }
.about .meanings b { color: var(--vanilla); }
.about .btn-outline { border-color: var(--vanilla); color: var(--vanilla); }
.about .btn-outline:hover { background: var(--vanilla); color: var(--chocolate); }
.about .meanings img { filter: brightness(1.6) saturate(.8); }
.contact .btn-terra:hover, .check .btn-terra:hover { background: var(--chocolate); }
.contact-form .btn-terra:hover { background: var(--chocolate); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-bar ul { margin: 0; }
  .hero-bar a { padding: 4px 14px; }
  .hero-bar li:first-child a { padding-left: 0; }
  .approach-grid > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(91, 46, 34, .25); padding-top: 22px; margin-top: 22px; }
}
@media (max-width: 700px) { .hero-panel .script { font-size: 17px; right: 16px; bottom: 16px; } .hero-panel { border-radius: 140px 18px 18px 18px; } }

/* ---------- Subtle pattern textures (original, tone-on-tone) ---------- */
.hero-panel { background: var(--sand) url(../images/patterns/pat-whakarare-sand.svg) 0 0 / 120px auto; }
.approach { background: var(--pink) url(../images/patterns/pat-tapatoru-pink.svg) 0 0 / 160px auto; }
.check { background: var(--sand) url(../images/patterns/pat-chevron-sand.svg) 0 0 / 140px auto; }
.packages { background: var(--chocolate) url(../images/patterns/pat-rauponga-choc.svg) 0 0 / 150px auto; }
.about { background: var(--chocolate) url(../images/patterns/pat-whakarare-choc.svg) 0 0 / 170px auto; }
.contact { background: #532A1F url(../images/patterns/pat-patiki-choc.svg) 0 0 / 110px auto; }
.svc-terra .svc-body { background: url(../images/patterns/pat-patiki-tangerine.svg) 0 0 / 90px auto; }
.svc-blush .svc-body { background: url(../images/patterns/pat-whakarare-pink.svg) 0 0 / 110px auto; }
.svc-sand .svc-body { background: url(../images/patterns/pat-chevron-sand.svg) 0 0 / 120px auto; }
.svc-shell .svc-body { background: url(../images/patterns/pat-whakarare-sand.svg) 0 0 / 150px auto; }
.stage { background: var(--sand) url(../images/patterns/pat-whakarare-sand.svg) 0 0 / 110px auto; }
.beyond, .next-story { background: var(--chocolate) url(../images/patterns/pat-rauponga-choc.svg) 0 0 / 150px auto; }
.band { background: var(--chocolate) url(../images/patterns/pat-tapatoru-choc.svg) 0 0 / 160px auto; }
.about-hello { color: var(--chocolate); }
.contact h2 em { color: var(--pink); }
.about-img { background: var(--tangerine) url(../images/patterns/pat-whakarare-tangerine.svg) 0 0 / 110px auto; }

/* ---------- Final brand pass: accessibility, SEO pages, footer, FAQ ---------- */
.btn-terra { background: var(--terra-ui); color: #fff; }
.btn-terra:hover { background: var(--chocolate); color: var(--vanilla); }
.btn-outline-light { border-color: var(--vanilla); color: var(--vanilla); background: transparent; }
.btn-outline-light:hover { background: var(--vanilla); color: var(--chocolate); }
.eyebrow .reo, .card .eyebrow, .hero-bar .tagline, .story-card .eyebrow, .num-label, .details dt, .journey .you b { color: var(--terra-ui); }
.check .eyebrow, .faq .eyebrow { color: var(--terra-ui); }
.svc-a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.svc-a:hover { color: inherit; }
.svc-more { display: inline-block; margin-top: 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.svc { transition: transform .25s ease, box-shadow .25s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 40px rgba(91,46,34,.15); }
.svc-terra { background: var(--terra-ui); }
/* nav dropdown */
.has-sub { position: relative; }
.has-sub > a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.has-sub .sub { display: none; position: absolute; top: 100%; left: -18px; min-width: 240px; padding: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px rgba(91,46,34,.12); flex-direction: column; gap: 2px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }
.has-sub .sub a { padding: 10px 12px; border-radius: 8px; text-decoration: none; letter-spacing: .12em; }
.has-sub .sub a:hover { background: var(--sand); }
@media (max-width: 1180px) { .has-sub .sub { display: flex; position: static; box-shadow: none; border: 0; background: none; padding: 4px 0 4px 14px; min-width: 0; } }
/* footer */
.site-footer { background: var(--sand); border-top: 0; color: var(--chocolate); }
.footer-grid { display: grid !important; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-top: 64px !important; padding-bottom: 40px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; align-items: start !important; }
.footer-grid img { height: 96px !important; width: auto; }
.f-brand p { margin: 16px 0 0; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; line-height: 2; }
.f-brand p span { color: var(--terra-ui); }
.f-h { font-family: var(--body); font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #6F4A3F; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--terra-ui); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px !important; padding-bottom: 28px !important; border-top: 1px solid rgba(91,46,34,.15); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative; font-weight: 500; font-size: 16.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 26px; font-weight: 300; color: var(--terra-ui); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 22px; color: #6F4A3F; font-size: 15.5px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; } }
/* service pages */
.crumbs { padding-top: 26px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 36px; padding-bottom: 96px; }
.svc-hero h1 { font-size: clamp(44px, 5.4vw, 76px); }
.svc-hero h1 em { display: block; }
.svc-hero-img { border-radius: 220px 22px 22px 22px; overflow: hidden; background: var(--sand) url(../images/patterns/pat-whakarare-sand.svg) 0 0 / 120px auto; padding: 44px 32px 0; box-shadow: 0 30px 60px rgba(91,46,34,.12); }
.svc-hero-img img { border-radius: 12px 12px 0 0; box-shadow: 0 -10px 40px rgba(91,46,34,.15); max-height: 440px; width: 100%; object-fit: cover; object-position: top; }
.from { margin: 22px 0 0; font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.from b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--chocolate); }
.inc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.inc { background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; }
.inc-n { font-family: var(--display); font-size: 15px; color: var(--stone); }
.inc h3 { font-size: 26px; margin: 10px 0 10px; }
.inc p { margin: 0; font-size: 15.5px; color: #6F4A3F; }
.related { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.also { display: grid; gap: 10px; }
.svc-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); text-decoration: none; font-weight: 500; }
.svc-link:hover { border-color: var(--terra-ui); color: var(--terra-ui); }
.contact .next-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.contact .next-cta h2 { max-width: 720px; margin: 0; }
@media (max-width: 900px) { .svc-hero-grid, .related { grid-template-columns: 1fr; gap: 32px; } .svc-hero-grid { padding-bottom: 64px; } }

/* =====================================================================
   ABE "Retro Extra" theme for TOI Studio
   Fraunces (soft, heavy) + Josefin Sans · chocolate, tangerine, pink, vanilla
   Patterns: only 3 places, single colour, tone-on-tone (calm, not busy)
   ===================================================================== */
:root {
  --chocolate: #783E32; --cocoa: #783E32;
  --tangerine: #ED794E; --tangerine-text: #C8572B; --terra-ui: #ED794E;
  --pink: #F1B9B4; --vanilla: #FFF3DE; --cream: #FFF8EC; --sand: #F5E2C6; --tan: #F5E2C6;
  --line: #EAD6B8; --stone: #E2C3A6; --muted: #9A6A5E; --mustard: #F1B9B4;
  --radius: 28px;
  --display: 'Fraunces', Georgia, serif;
  --italic: 'Fraunces', Georgia, serif;
  --body: 'Josefin Sans', 'Century Gothic', 'Avenir', sans-serif;
}
body { font-weight: 400; font-size: 18px; line-height: 1.6; background: var(--vanilla); }
h1, h2, h3, .display { font-weight: 900; font-variation-settings: 'SOFT' 100, 'opsz' 144; letter-spacing: -0.02em; }
h1 { font-size: clamp(48px, 7vw, 100px); line-height: .95; }
h2 { font-size: clamp(38px, 5vw, 58px); }
h1 em, h2 em, h3 em, .display em, .accent { font-family: var(--display); font-style: italic; font-weight: 700; font-variation-settings: 'SOFT' 100; color: var(--tangerine-text); letter-spacing: -0.02em; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .18em; color: var(--chocolate); }
.eyebrow .reo, .card .eyebrow, .story-card .eyebrow, .num-label, .details dt, .journey .you b, .check .eyebrow, .faq .eyebrow { color: var(--tangerine-text); }
.lead { color: var(--chocolate); font-size: 21px; }
.hint, .form-note { color: var(--muted); }
strong, b { font-weight: 700; }

/* buttons: tangerine with chocolate text, chocolate with vanilla */
.btn { font-weight: 700; font-size: 15px; letter-spacing: .1em; padding: 17px 30px 14px; border-width: 2px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(120, 62, 50, .18); }
.btn-terra, .btn-primary { background: var(--tangerine); color: var(--chocolate); }
.btn-terra:hover, .btn-primary:hover { background: var(--chocolate); color: var(--vanilla); }
.btn-dark { background: var(--chocolate); color: var(--vanilla); }
.btn-outline { border-color: var(--chocolate); }
.nav { font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.nav .btn { padding: 12px 22px 9px; font-size: 14px; }
.site-header { background: rgba(255, 243, 222, .95); }
.logo img { height: 54px; }

/* hero: arch with one calm pattern + floating badge */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 96px; grid-template-columns: none; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.hero h1 .accent { display: block; }
.hero-art { flex: 1 1 360px; min-width: 0; height: 540px; border-radius: 260px 260px 32px 32px; background: var(--tangerine) url(../images/patterns/pat-whakarare-tangerine.svg) 0 0 / 130px auto; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 10px var(--vanilla), inset 0 0 0 12px var(--chocolate); }
.hero-badge { background: var(--vanilla); border-radius: 50%; width: 280px; height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 20px 40px rgba(120, 62, 50, .25); text-align: center; animation: bob 6s ease-in-out infinite; }
.hero-badge img { width: 150px; height: auto; }
.hero-badge span { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; color: var(--chocolate); }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-2deg); } }

/* band: the second (and last) patterned area besides packages */
.band { background: var(--chocolate) url(../images/patterns/pat-tapatoru-choc.svg) 0 0 / 170px auto; }
.band .display { font-size: 42px; }
.band .display span { color: var(--pink); }
.band-sub { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 24px; color: var(--sand); }

/* TOI way arch cards */
.approach { background: var(--vanilla); }
.approach h2 em { color: var(--tangerine-text); }
.arch-card { border-radius: 170px 170px var(--radius) var(--radius); padding: 60px 32px 40px; }
.arch-card::before { display: none; }
.arch-card .letter { font-family: var(--display); font-weight: 900; font-variation-settings: 'SOFT' 100; font-size: 112px; line-height: .9; }
.arch-card h3 { font-family: var(--body); font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: none; margin: 18px 0 10px; }
.bg-choc { background: var(--chocolate); color: var(--vanilla); }
.bg-tang { background: var(--tangerine); color: var(--chocolate); }
.bg-pink { background: var(--pink); color: var(--chocolate); }
.bg-pink .letter { color: var(--chocolate); }

/* services: flat brand colours, no patterns */
.svc { border-radius: 170px 170px var(--radius) var(--radius); }
.svc-body { background: none !important; }
.svc h3 { font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: .16em; }
.svc p { font-size: 16px; }
.svc-terra { background: var(--chocolate); color: var(--vanilla); }
.svc-blush { background: var(--tangerine); color: var(--chocolate); }
.svc-sand { background: var(--pink); color: var(--chocolate); }
.svc-shell { background: var(--sand); color: var(--chocolate); }
.svc-terra .svc-icon { filter: none; }

/* calm, flat sections */
.stage { background: var(--sand); }
.check { background: var(--pink); }
.check-panel { background: var(--vanilla); }
.packages { background: var(--chocolate) url(../images/patterns/pat-rauponga-choc.svg) 0 0 / 160px auto; }
.price-card.hot { background: var(--tangerine); color: var(--chocolate); }
.price-card.hot .btn { background: var(--chocolate); color: var(--vanilla); }
.price { font-weight: 900; font-variation-settings: 'SOFT' 100; }
.extra .cost { color: var(--pink); font-family: var(--display); font-weight: 700; }
.extra { border-color: rgba(241, 185, 180, .4); }
.steps { background: var(--vanilla); }
.journey li { background: var(--cream); }
.journey .jnum { font-weight: 900; font-variation-settings: 'SOFT' 100; color: var(--tangerine-text); }
.journey h3 { font-family: var(--body); font-weight: 700; font-size: 21px; }
.about { background: var(--vanilla); color: var(--chocolate); }
.about .eyebrow { color: var(--chocolate); }
.about h2 em { color: var(--tangerine-text); }
.about .copy p { color: var(--chocolate); }
.about .copy b, .about .meanings b { color: var(--chocolate); }
.about .btn-outline { border-color: var(--chocolate); color: var(--chocolate); }
.about .btn-outline:hover { background: var(--chocolate); color: var(--vanilla); }
.about .meanings img { filter: none; }
.about-img { background: var(--tangerine); border-radius: 220px 220px var(--radius) var(--radius); }
.about-hello { font-family: var(--display); font-weight: 900; font-variation-settings: 'SOFT' 100; }
.faq { background: var(--sand); }
.faq-item { background: var(--vanilla); }
.faq-item summary { font-weight: 700; }
.contact { background: var(--chocolate); }
.contact h2 em { color: var(--pink); }
.contact .copy p { color: var(--sand); }
.contact-form { background: var(--vanilla); }
.deco { display: none; }
.beyond, .next-story { background: var(--chocolate); }
.svc-hero-img { background: var(--tangerine); }
.inc { background: var(--cream); }
.inc h3 { font-weight: 900; }
.site-footer { background: var(--sand); }
.f-brand p span { color: var(--tangerine-text); }
input, select, textarea { font-size: 17px; border: 1.5px solid #D9B99A; border-radius: 14px; font-weight: 400; }
.check-form label, .contact-form label { font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: none; }
@media (max-width: 700px) { .hero-art { height: 400px; } .hero-badge { width: 220px; height: 220px; } .hero-badge img { width: 110px; } }
.packages h2 em { color: var(--pink); }
.logo img { height: 66px; }
.footer-grid img { height: 120px !important; margin-left: -18px; }
@media (max-width: 700px) { .logo img { height: 52px; } }

/* No arch curves: clean rectangles with soft corners everywhere */
.hero-art, .arch-card, .svc, .about-img, .hero-panel, .svc-hero-img { border-radius: var(--radius) !important; }
.hero-art { background: var(--tangerine) url(../images/patterns/pat-tapatoru-tangerine.svg) 0 0 / 150px auto; height: 520px; }
.arch-card { padding: 44px 32px 40px; }
.svc-img { border-radius: 0; }
.stage, .svc-hero-img { background-image: none; }
@media (max-width: 700px) { .hero-art { height: 380px; } }
.hero-art { box-shadow: 0 24px 50px rgba(120, 62, 50, .18); }

/* v7 patterns: crisp retro lines, tone-on-tone, only 4 places */
.hero-art { background: var(--tangerine) url(../images/patterns/pat-tapatoru-tangerine.svg) 0 0 / 150px auto; }
.band { background: var(--chocolate) url(../images/patterns/pat-niho-choc.svg) 0 0 / 90px auto; }
.packages { background: var(--chocolate) url(../images/patterns/pat-rauponga-choc.svg) 0 0 / 120px auto; }
.faq { background: var(--sand) url(../images/patterns/pat-whakarare-sand.svg) 0 0 / 150px auto; }
.about-img { background: var(--tangerine) url(../images/patterns/pat-chevron-tangerine.svg) 0 0 / 80px auto; }
.contact, .beyond, .next-story, .check, .stage, .svc-hero-img { background-image: none; }

/* Hero: real client work instead of the abstract badge panel */
.hero-work { flex: 1 1 420px; min-width: 0; position: relative; height: 500px; border-radius: var(--radius); background: var(--sand) url(../images/patterns/pat-tapatoru-sand.svg) 0 0 / 140px auto; }
.hero-work .device { position: absolute; display: block; text-decoration: none; }
.hw-laptop { left: 6%; top: 60px; width: 82%; max-width: none; }
.hw-phone { right: 4%; bottom: 46px; width: 128px; box-shadow: 0 24px 40px rgba(120, 62, 50, .35); }
.hero-work .screen img { transition: transform 9s ease-in-out; }
.hero-work:hover .screen img { transform: translateY(-55%); }
.hw-tag { position: absolute; left: 6%; bottom: 22px; margin: 0; font-size: 13px; letter-spacing: .04em; color: var(--chocolate); }
.hw-tag b { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--tangerine-text); }
@media (max-width: 700px) { .hero-work { height: 380px; } .hw-laptop { top: 34px; width: 86%; } .hw-phone { width: 92px; bottom: 54px; } }
.hw-laptop { top: 96px; } @media (max-width: 700px) { .hw-laptop { top: 48px; } }
.meanings li { grid-template-columns: 64px 1fr; gap: 18px; }
.meanings img { width: 64px; height: 78px; object-fit: contain; }

.meanings img { width:64px; height:73px; object-fit:contain; }

.meanings li { grid-template-columns: 1fr; }
.meanings li b { display:block; }

/* ---- How we work flowcharts ---- */
.flow-sec.alt, .section.alt { background: var(--sand); }
.flow { max-width: 860px; margin: 44px 0 0; }
.frow { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 56px; align-items: center; }
.fnode { grid-column: 1; display: flex; gap: 16px; align-items: flex-start; background: var(--cream); border: 2px solid var(--chocolate); border-radius: 8px; padding: 16px 20px; box-shadow: 4px 4px 0 var(--chocolate); }
.fnode b { display: block; font-size: 18px; line-height: 1.25; }
.fnode small { display: block; font-size: 15px; line-height: 1.45; margin-top: 4px; color: var(--chocolate); }
.fnum { flex: 0 0 auto; background: var(--tangerine); color: var(--chocolate); font-weight: 700; font-size: 14px; letter-spacing: .08em; padding: 5px 8px 2px; border-radius: 4px; }
.fdec { background: var(--chocolate); color: var(--vanilla); border-color: var(--chocolate); justify-content: center; text-align: center; box-shadow: 4px 4px 0 var(--tangerine); clip-path: none; border-radius: 0; padding: 18px 40px; position: relative; }
.fdec::before, .fdec::after { content: ''; position: absolute; top: 50%; width: 14px; height: 14px; background: var(--tangerine); transform: translateY(-50%) rotate(45deg); }
.fdec::before { left: 14px; } .fdec::after { right: 14px; }
.fend { background: var(--tangerine); }
.fsoft { background: var(--vanilla); border-style: solid; border-color: var(--stone); box-shadow: none; }
.farrow { grid-column: 1; position: relative; height: 46px; }
.farrow::before { content: ''; position: absolute; left: 50%; top: 6px; bottom: 10px; border-left: 2px solid var(--chocolate); }
.farrow::after { content: ''; position: absolute; left: calc(50% - 6px); bottom: 4px; border: 7px solid transparent; border-top: 8px solid var(--chocolate); border-bottom: 0; }
.farrow span { position: absolute; left: calc(50% + 14px); top: 11px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tangerine-text); }
.fside { grid-column: 2; position: relative; }
.fside::before { content: ''; position: absolute; left: -56px; top: 50%; width: 50px; border-top: 2px solid var(--chocolate); }
.fside::after { content: ''; position: absolute; left: -8px; top: calc(50% - 6px); border: 7px solid transparent; border-left: 8px solid var(--chocolate); border-right: 0; }
.flab { position: absolute; left: -50px; top: calc(50% - 26px); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tangerine-text); }
.fbox { background: var(--vanilla); border: 2px solid var(--tangerine); border-radius: 8px; padding: 14px 18px; font-size: 16px; line-height: 1.45; }
.flow-sec.alt .fbox, .flow-sec.alt .fsoft { background: var(--cream); }
.fback { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fback::before { content: '\21BA\00a0'; color: var(--tangerine-text); }
@media (max-width: 760px) {
  .frow { grid-template-columns: 1fr; }
  .fside { grid-column: 1; margin: 14px 0 0 28px; padding-left: 18px; border-left: 2px solid var(--chocolate); }
  .fside::before, .fside::after { display: none; }
  .flab { position: static; display: block; margin-bottom: 6px; }
  .fdec { padding: 18px 40px; }
}
.tl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.tl { background: var(--cream); border: 2px solid var(--chocolate); border-radius: 8px; padding: 24px; }
.tl h3 { font-size: 24px; margin: 0; }
.tl-time { font-weight: 700; color: var(--tangerine-text); letter-spacing: .06em; margin: 6px 0 10px; }
@media (max-width: 860px) { .tl-grid { grid-template-columns: 1fr; } }
.need-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.need-list li { border-left: 4px solid var(--tangerine); padding: 4px 0 4px 18px; }
.need-list b { display: block; font-size: 19px; }

/* ---- Terms and payment policy ---- */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; max-width: 1100px; }
.legal-toc { position: sticky; top: 110px; align-self: start; font-size: 15px; }
.legal-toc ol { padding-left: 20px; margin: 10px 0 0; line-height: 1.9; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { color: var(--tangerine-text); }
.legal-sec { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.legal-sec:first-child { border-top: 0; padding-top: 0; }
.legal-sec h2 { font-size: 30px; margin: 0 0 12px; }
.legal-sec ul { padding-left: 22px; } .legal-sec li { margin: 6px 0; }
.legal-note { margin-top: 30px; background: var(--sand); border-radius: 8px; padding: 18px 22px; }
.pay-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 16px; }
.pay-table th { text-align: left; background: var(--chocolate); color: var(--vanilla); padding: 10px 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.pay-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pay-table tr:nth-child(even) td { background: var(--cream); }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; gap: 20px; } .legal-toc { position: static; } }
@media (max-width: 560px) { .pay-table th:nth-child(3), .pay-table td:nth-child(3) { display: block; } .pay-table thead { display: none; } .pay-table td { display: block; border: 0; padding: 4px 14px; } .pay-table tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; } .pay-table td:first-child { font-weight: 700; } }
.page-intro > * { max-width: 780px; }
.page-intro .btn-row { max-width: none; }

/* ---- Flowcharts v2: softer, lighter colouring ---- */
.flow-sec.alt { background: var(--sand); }
.fnode { background: var(--cream); border: 1.5px solid var(--stone); border-radius: 14px; box-shadow: 0 6px 18px rgba(120,62,50,.07); padding: 16px 20px; }
.flow-sec.alt .fnode { background: var(--vanilla); }
.fnode b { font-family: var(--display); font-weight: 700; font-size: 20px; font-variation-settings: 'SOFT' 100; letter-spacing: -.01em; }
.fnum { background: var(--pink); color: var(--chocolate); border-radius: 50%; width: 38px; height: 38px; padding: 0; display: grid; place-items: center; font-size: 14px; letter-spacing: 0; }
.fdec { background: var(--pink); color: var(--chocolate); border: 0; border-radius: 14px; box-shadow: none; padding: 18px 46px; }
.fdec b { font-size: 19px; }
.fdec::before, .fdec::after { background: var(--tangerine); width: 10px; height: 10px; }
.fdec::before { left: 18px; } .fdec::after { right: 18px; }
.fend { background: var(--tangerine); border-color: var(--tangerine); box-shadow: 0 8px 22px rgba(237,121,78,.25); }
.fend .fnum { background: var(--vanilla); }
.fend small { color: var(--chocolate); }
.fsoft { background: transparent !important; border: 1.5px solid var(--stone); box-shadow: none; }
.fsoft b::after { content: ''; }
.farrow::before { border-left: 2px solid var(--tangerine); }
.farrow::after { border-top-color: var(--tangerine); }
.fside::before { border-top: 2px solid var(--tangerine); }
.fside::after { border-left-color: var(--tangerine); }
.fbox { background: var(--sand); border: 0; border-radius: 14px; }
.flow-sec.alt .fbox { background: var(--vanilla); }
.farrow span, .flab { color: var(--tangerine-text); }
.fback { color: var(--chocolate); opacity: .75; }
@media (max-width: 760px) { .fside { border-left-color: var(--tangerine); } }
.tl, .need-list li { border-color: var(--stone); }
.tl { border-width: 1.5px; border-radius: 14px; background: var(--vanilla); }
.need-list li { border-left: 4px solid var(--pink); }
.pay-table th { background: var(--pink); color: var(--chocolate); }
.legal-note { border-radius: 14px; }

/* ---- Flowcharts v3: centred and balanced ---- */
.flow-sec .wrap { text-align: center; }
.flow-sec .section-lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.flow { text-align: left; max-width: 880px; margin: 48px auto 0; }
.frow { grid-template-columns: 360px 400px 360px; column-gap: 0; justify-content: center; margin: 0 -240px; }
.fnode, .farrow { grid-column: 2; }
.fside { grid-column: 3; margin-left: 56px; }
@media (max-width: 1240px) {
  .frow { grid-template-columns: minmax(0, 400px) minmax(0, 340px); margin: 0; }
  .fnode, .farrow { grid-column: 1; }
  .fside { grid-column: 2; }
  .flow { max-width: 796px; }
}
@media (max-width: 760px) {
  .flow-sec .wrap { text-align: left; }
  .frow { grid-template-columns: 1fr; }
  .fside { grid-column: 1; margin-left: 28px; }
}

/* ---- Care plans ---- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier { position: relative; background: var(--cream); border: 1.5px solid var(--stone); border-radius: 14px; padding: 30px 26px; display: flex; flex-direction: column; }
.tier.feat { background: var(--sand); border-color: var(--tangerine); box-shadow: 0 14px 34px rgba(237,121,78,.18); }
.tier-tag { position: absolute; top: -14px; left: 26px; background: var(--tangerine); color: var(--chocolate); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px 4px; border-radius: 6px; }
.tier h3 { font-size: 28px; margin: 0; }
.tier-price { font-family: var(--display); font-weight: 900; font-size: 46px; margin: 10px 0 0; color: var(--tangerine-text); line-height: 1; }
.tier-price small { font-family: var(--body); font-size: 15px; font-weight: 400; color: var(--chocolate); }
.tier-for { font-size: 16px; margin: 12px 0 8px; }
.tier ul { padding-left: 20px; margin: 8px 0 24px; flex: 1; font-size: 16px; } .tier li { margin: 6px 0; }
.tier .btn { align-self: flex-start; }
.care-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.care-notes > div { background: var(--sand); border-radius: 14px; padding: 24px 26px; }
.care-notes h3 { font-size: 22px; margin: 0 0 6px; } .care-notes ul { padding-left: 20px; margin: 0; font-size: 16px; }
@media (max-width: 900px) { .tier-grid, .care-notes { grid-template-columns: 1fr; } }
/* ---- Welcome pack ---- */
.wl-steps { padding-left: 22px; } .wl-steps li { margin: 10px 0; } .wl-steps b, .wl-check b { display: block; }
.wl-flag { background: var(--pink); border-radius: 12px; padding: 14px 18px; }
.wl-check { list-style: none; padding: 0; } .wl-check li { padding-left: 32px; position: relative; margin: 8px 0; }
.wl-check li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border: 2px solid var(--tangerine); border-radius: 4px; }
@media print { .site-header, .site-footer, .crumbs, .legal-toc, .btn-row { display: none !important; } .legal-grid { grid-template-columns: 1fr; } body { background: #fff; } }
.extra-link { display:inline-block; margin-top:8px; font-size:14px; font-weight:700; letter-spacing:.08em; color: var(--tangerine-text); text-decoration:none; }

.m-screen { min-height: 470px; }
.m-bar small { display: block; font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.m-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--line); margin: 12px -16px 0; padding: 8px 4px 0; text-align: center; font-size: 10px; color: var(--muted); }
.m-tabs .on { color: var(--chocolate); font-weight: 700; box-shadow: inset 0 2px 0 var(--tangerine); padding-top: 4px; }
.m-cap { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 4px 0 6px; }
.m-sel { border: 1.5px solid var(--tangerine); border-radius: 8px; padding: 6px 9px 4px; background: var(--vanilla); }
.m-stock { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.m-sr { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; } .m-sr:first-child { margin-top: 0; }
.m-sr b { display: block; font-size: 13px; } .m-sr small { font-size: 10.5px; color: var(--muted); }
.m-bar2 { position: relative; height: 6px; background: var(--sand); border-radius: 4px; margin: 6px 0 4px; }
.m-bar2 i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--tangerine); border-radius: 4px; }
.m-bar2 em { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--chocolate); }

/* ---- Systems and automations ---- */
.study:nth-of-type(even) { background: var(--sand); }
.study-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 20px 64px; align-items: start; }
.study h2 { font-size: clamp(34px, 4vw, 50px); margin: 4px 0 6px; }
.study-for { font-size: 20px; color: var(--tangerine-text); font-weight: 600; margin: 0 0 10px; }
.study h3 { font-size: 21px; margin: 24px 0 6px; }
.study-list { padding-left: 20px; margin: 0; } .study-list li { margin: 6px 0; }
.auto-chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.auto-chips li { background: var(--pink); color: var(--chocolate); font-size: 14px; font-weight: 700; letter-spacing: .06em; padding: 7px 12px 5px; border-radius: 6px; }
.study-extra { background: var(--vanilla); border-left: 4px solid var(--tangerine); border-radius: 8px; padding: 14px 18px; margin-top: 22px; }
.study:nth-of-type(odd) .study-extra { background: var(--sand); }
.study-tech { font-size: 16px; margin-top: 22px; color: var(--muted); } .study-tech b { color: var(--chocolate); margin-right: 4px; }
.study-art { display: flex; justify-content: center; position: sticky; top: 110px; }
.study-flow { grid-column: 1 / -1; margin-top: 18px; }
.pflow { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: none; }
.pflow li { position: relative; background: var(--cream); border: 1.5px solid var(--stone); border-radius: 12px; padding: 14px 14px 12px; margin-right: 30px; font-size: 15px; line-height: 1.4; }
.study:nth-of-type(even) .pflow li { background: var(--vanilla); }
.pflow li:last-child { margin-right: 0; background: var(--tangerine) !important; border-color: var(--tangerine); }
.pflow li span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--tangerine-text); margin-bottom: 4px; }
.pflow li:last-child span { color: var(--chocolate); }
.pflow li:not(:last-child)::after { content: ''; position: absolute; right: -24px; top: 50%; width: 16px; border-top: 2px solid var(--tangerine); }
.pflow li:not(:last-child)::before { content: ''; position: absolute; right: -26px; top: calc(50% - 5px); border: 6px solid transparent; border-left: 7px solid var(--tangerine); border-right: 0; }
/* phone mockups */
.mock { width: 290px; background: var(--vanilla); border: 9px solid var(--chocolate); border-radius: 34px; padding: 18px 16px 12px; box-shadow: 0 24px 50px rgba(120,62,50,.18); font-size: 13px; line-height: 1.35; }
.m-bar { font-family: var(--display); font-weight: 800; font-size: 19px; margin-bottom: 12px; }
.m-hero { background: var(--chocolate); color: var(--vanilla); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.m-hero small { display: block; opacity: .8; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.m-hero b { display: block; font-family: var(--display); font-size: 30px; line-height: 1.1; }
.m-hero span { color: var(--pink); font-size: 12px; }
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.m-tile { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.m-tile b { display: block; font-family: var(--display); font-size: 22px; color: var(--tangerine-text); }
.m-tile small { font-size: 11px; }
.m-split { display: flex; height: 10px; border-radius: 6px; overflow: hidden; } .m-split i:nth-child(1) { background: var(--chocolate); } .m-split i:nth-child(2) { background: var(--tangerine); } .m-split i:nth-child(3) { background: var(--pink); }
.m-legend { display: flex; justify-content: space-between; font-size: 10px; margin-top: 6px; color: var(--muted); }
.m-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.m-pill { font-size: 11px; font-weight: 700; padding: 3px 8px 2px; border-radius: 5px; background: var(--sand); white-space: nowrap; }
.m-pill.ok { background: #DCEAD4; } .m-pill.warn { background: var(--pink); } .m-pill.bad { background: var(--tangerine); } .m-pill.soft { background: var(--sand); }
.m-q { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.m-q small { color: var(--muted); font-size: 11px; } .m-q b { display: block; font-size: 16px; margin: 4px 0 8px; }
.m-opts { display: flex; flex-wrap: wrap; gap: 6px; } .m-opts span { border: 1.5px solid var(--stone); border-radius: 6px; padding: 5px 9px 3px; } .m-opts .on { background: var(--tangerine); border-color: var(--tangerine); font-weight: 700; }
.m-auto { background: var(--pink); border-radius: 12px; padding: 10px 12px; margin: 10px 0 4px; } .m-auto small { display: block; font-weight: 700; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.m-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; } .m-btns span { background: var(--chocolate); color: var(--vanilla); border-radius: 8px; padding: 7px 10px 5px; font-weight: 700; font-size: 12px; }
.m-note { text-align: center; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin: 12px 0 0; }
@media (max-width: 980px) { .study-grid { grid-template-columns: 1fr; } .study-art { position: static; order: -1; } .pflow { grid-template-columns: 1fr; } .pflow li { margin: 0 0 26px; } .pflow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -20px; width: 0; height: 14px; border-top: 0; border-left: 2px solid var(--tangerine); } .pflow li:not(:last-child)::before { right: auto; left: calc(50% - 5px); top: auto; bottom: -26px; border: 6px solid transparent; border-top: 7px solid var(--tangerine); border-bottom: 0; } }
/* ---- Home: systems teaser ---- */
.sys-teaser { background: var(--sand); }
.sys-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.sys-card { display: block; text-decoration: none; background: var(--vanilla); border: 1.5px solid var(--stone); border-radius: 14px; padding: 22px; transition: transform .15s, border-color .15s; }
.sys-card:hover { transform: translateY(-3px); border-color: var(--tangerine); }
.sys-card b { display: block; font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.2; margin-bottom: 8px; }
.sys-card span { font-size: 16px; line-height: 1.45; }
@media (max-width: 960px) { .sys-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sys-cards { grid-template-columns: 1fr; } }

/* ---- Packages: four cards ---- */
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-extras { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-4, .grid-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-4, .grid-extras { grid-template-columns: 1fr; } }
.grid-4 .price-card h3 { font-size: 26px; }
.pay-plan { margin: 26px 0 0; text-align: center; font-size: 18px; } .pay-plan b { color: var(--tangerine-text); }

/* ---- Review: automation results ---- */
.auto-box { background: var(--sand); border-radius: 14px; padding: 18px 20px; margin: 18px 0 6px; }
.auto-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.auto-head h4 { margin: 0; }
.auto-level { background: var(--chocolate); color: var(--vanilla); font-size: 13px; font-weight: 700; letter-spacing: .08em; padding: 6px 12px 4px; border-radius: 6px; }
.auto-ideas { list-style: none; padding: 0; margin: 12px 0 8px; display: grid; gap: 10px; }
.auto-ideas li { background: var(--vanilla); border-left: 4px solid var(--tangerine); border-radius: 8px; padding: 10px 14px; font-size: 15px; line-height: 1.45; }
.auto-ideas b { display: block; font-size: 16px; margin-bottom: 2px; }

/* ---- Discovery workbook ---- */
.wb-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px 48px; align-items: start; }
.wb-progress, .wb-dots { grid-column: 1 / -1; }
.wb-progress { height: 8px; background: var(--sand); border-radius: 6px; overflow: hidden; }
.wb-progress i { display: block; height: 100%; width: 12%; background: var(--tangerine); border-radius: 6px; transition: width .3s; }
.wb-dots { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.wb-dots li.now { color: var(--chocolate); font-weight: 700; } .wb-dots li.done { color: var(--tangerine-text); }
.wb { background: var(--cream); border: 1.5px solid var(--stone); border-radius: 16px; padding: 30px 32px; }
.wb-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wb-step legend { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; padding: 0; font-variation-settings: 'SOFT' 100; }
.wb-n { display: block; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tangerine-text); margin-bottom: 6px; }
.wb-sub { margin: 6px 0 18px; }
.wb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wb-f { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 16px; margin: 0 0 16px; }
.wb-f small, .wb-q small { font-weight: 400; color: var(--muted); font-size: 14px; }
.wb-f input:not([type=file]), .wb-f textarea { font: inherit; font-weight: 400; border: 1.5px solid var(--stone); border-radius: 10px; padding: 12px 14px; background: var(--vanilla); color: var(--chocolate); width: 100%; }
.wb-f textarea { min-height: 96px; resize: vertical; }
.wb-f input:focus, .wb-f textarea:focus { outline: 2px solid var(--tangerine); outline-offset: 1px; }
.wb-q { font-weight: 700; margin: 18px 0 8px; }
.wb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.wb-chip { position: relative; cursor: pointer; }
.wb-chip input { position: absolute; opacity: 0; inset: 0; }
.wb-chip span { display: inline-block; padding: 9px 14px 7px; border: 1.5px solid var(--stone); border-radius: 8px; background: var(--vanilla); font-size: 15px; }
.wb-chip input:checked + span { background: var(--tangerine); border-color: var(--tangerine); font-weight: 700; }
.wb-chip input:focus-visible + span, .wb-card input:focus-visible ~ .wb-lab { outline: 2px solid var(--chocolate); outline-offset: 2px; }
.wb-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 6px 0 16px; }
.wb-card { position: relative; cursor: pointer; display: flex; flex-direction: column; gap: 8px; }
.wb-card > input { position: absolute; opacity: 0; top: 0; left: 0; }
.wb-prev { position: relative; display: block; height: 120px; border-radius: 12px; border: 2px solid var(--line); overflow: hidden; padding: 14px; }
.wb-prev b { display: block; font-size: 26px; line-height: 1; }
.wb-prev i { display: block; height: 7px; border-radius: 4px; margin-top: 12px; width: 70%; }
.wb-prev em { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; border: 6px solid; }
.wb-lab { font-size: 15px; font-weight: 700; }
.wb-card input:checked ~ .wb-prev, .wb-card input:checked ~ .wb-sw, .wb-card input:checked ~ .wb-ft { border-color: var(--tangerine); box-shadow: 0 0 0 3px var(--tangerine); }
.wb-card input:checked ~ .wb-lab::before { content: '\2713  '; color: var(--tangerine-text); }
.wb-sw { display: flex; height: 64px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); }
.wb-sw i { flex: 1; }
.wb-own-sw { gap: 0; } .wb-own-sw input { flex: 1; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.wb-help { align-items: center; justify-content: center; font-family: var(--display); font-size: 30px; font-weight: 900; background: var(--sand); }
.wb-ft { display: flex; flex-direction: column; justify-content: center; height: 100px; border-radius: 12px; border: 2px solid var(--line); background: var(--vanilla); padding: 10px 14px; font-size: 40px; line-height: 1; }
.wb-ft small { font-family: var(--body); font-size: 13px; margin-top: 6px; }
.wb-own { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; cursor: pointer; } .wb-own input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--tangerine); }
.wb-summary { background: var(--sand); border-radius: 12px; padding: 4px 18px 14px; margin: 18px 0; font-size: 15px; }
.wb-summary:empty { display: none; }
.wb-summary div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.wb-summary div:last-child { border-bottom: 0; }
.wb-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.wb-nav .link-btn { margin-left: auto; }
.wb-next-steps { background: var(--sand); border-radius: 16px; padding: 24px; position: sticky; top: 110px; }
.wb-next-steps ol { padding-left: 20px; margin: 8px 0 12px; } .wb-next-steps li { margin: 8px 0; }
@media (max-width: 980px) { .wb-wrap { grid-template-columns: 1fr; } .wb-next-steps { position: static; } .wb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wb { padding: 22px 18px; } .wb-grid { grid-template-columns: 1fr; } .wb-dots { display: none; } .wb-summary div { grid-template-columns: 1fr; gap: 2px; } }

/* ---- Tips ---- */
.tip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tip-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--cream); border: 1.5px solid var(--stone); border-radius: 14px; padding: 24px; transition: transform .15s, border-color .15s; }
.tip-card:hover { transform: translateY(-3px); border-color: var(--tangerine); }
.tip-tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tangerine-text); }
.tip-card b { font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.2; }
.tip-card span:not(.tip-tag) { font-size: 16px; line-height: 1.45; flex: 1; }
.tip-card em { font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: .06em; color: var(--tangerine-text); }
.tip-wrap { max-width: 780px; }
.tip-article h1 { font-size: clamp(38px, 5vw, 60px); margin: 6px 0 14px; }
.tip-body h2 { font-size: 26px; margin: 30px 0 8px; }
.tip-body p { margin: 0; }
.tip-src { font-size: 14px; color: var(--muted); margin-top: 24px !important; }
.tip-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--sand); border-radius: 16px; padding: 24px 26px; margin-top: 40px; }
.tip-cta h3 { font-size: 24px; margin: 0 0 4px; } .tip-cta p { margin: 0; }
.tip-more { margin-top: 26px; } .tip-more a { font-weight: 700; color: var(--tangerine-text); text-decoration: none; }
@media (max-width: 960px) { .tip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tip-grid { grid-template-columns: 1fr; } }
