/* Sparehand: look B "Coastal practical" (Dave, 24 October 2026). Always light. */
:root {
  --ocean: #0B4F6C;
  --ocean-dark: #073447;
  --ocean-soft: #CFE0E7;
  --sand: #F3EBDD;
  --sand-deep: #E6D9C3;
  --line: #D6C9B2;
  --coral: #C2462E;
  --coral-dark: #A33923;
  --ink: #17262E;
  --muted: #3E4C53;
  --white: #FFFFFF;
  --photo: #A9BFC7;
  --radius: 16px;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --brand: 'Hanken Grotesk', var(--sans);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { display: block; }
a { color: var(--ocean); }
a:hover { color: var(--ocean-dark); }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--ocean); }
h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.5px; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 21px; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.section-tight { padding-top: 8px; padding-bottom: 72px; }
.section-lead { margin: 14px 0 36px; font-size: 19px; color: var(--muted); max-width: 680px; }
.page-top h1 { font-size: clamp(38px, 5vw, 60px); }
.h-small { font-family: var(--sans); font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 18px; }
.small-note { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 800 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 18px; }
.btn-accent { background: var(--coral); color: var(--white); }
.btn-accent:hover { background: var(--coral-dark); color: var(--white); }
.btn-sand { background: var(--sand); color: var(--ocean); border-color: var(--sand); }
.btn-sand:hover { background: var(--white); color: var(--ocean); }
.btn-navy { background: var(--ocean); color: var(--sand); }
.btn-navy:hover { background: var(--ocean-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--ocean); }
.btn-white:hover { background: var(--sand); color: var(--ocean); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-ghost-light { border-color: var(--sand); color: var(--sand); background: transparent; }
.btn-ghost-light:hover { background: var(--sand); color: var(--ocean); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }

/* Top bar */
.topbar { background: var(--ocean); color: var(--sand); position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sand); font: 800 28px/1 var(--brand); letter-spacing: -0.6px; }
.brand:hover { color: var(--white); }
.brand .logo-mark { color: var(--coral); }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { color: var(--sand); text-decoration: none; font-weight: 700; font-size: 15px; }
.menu a:hover { color: var(--white); text-decoration: underline; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: transparent; color: var(--sand); border: 2px solid rgba(243,235,221,0.4); border-radius: 999px; font: 700 15px var(--sans); cursor: pointer; }

/* Hero */
.hero, .page-hero { background: var(--ocean); color: var(--sand); }
.hero h1, .page-hero h1 { color: var(--sand); }
.hero-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; padding-top: 56px; }
.hero-text { flex: 1 1 540px; min-width: 0; padding-bottom: 72px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ocean-soft); margin-bottom: 18px; }
.hero-lead { margin-top: 24px; font-size: 20px; line-height: 1.6; color: var(--ocean-soft); max-width: 580px; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--ocean-soft); }
.hero-media { flex: 1 1 400px; min-width: 0; position: relative; }
.call-card { position: absolute; left: -24px; bottom: 32px; width: 310px; max-width: 85%; background: var(--white); color: var(--ink); border-radius: 14px; padding: 18px 20px; box-shadow: 0 12px 32px rgba(7,52,71,0.28); }
.call-card-top { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ocean); margin-bottom: 8px; }
.call-card-quote { font-size: 15px; line-height: 1.45; }
.call-card-foot { margin-top: 6px; font-size: 14px; color: var(--muted); }
.page-hero-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.page-hero-text { flex: 1 1 520px; min-width: 0; }
.page-hero-media { flex: 1 1 380px; min-width: 0; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); }

/* Photos (a labelled placeholder when a photo isn't chosen yet) */
.photo { background: var(--photo); display: flex; align-items: flex-end; padding: 16px; color: #0A2E3D; font-size: 14px; font-weight: 700; border-radius: var(--radius); background-size: cover; background-position: center; }
.photo-tall { aspect-ratio: 4 / 5; border-radius: 18px 18px 0 0; }
.photo-wide { aspect-ratio: 16 / 10; }
.photo.has-img { padding: 0; overflow: hidden; }
.photo.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Before and after */
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding-top: 56px; }
.pair { background: var(--white); border-radius: var(--radius); padding: 24px 26px; }
.was { font-size: 16px; color: #6A5E4C; text-decoration: line-through; }
.now { margin-top: 10px; font-size: 19px; font-weight: 800; color: var(--ocean); line-height: 1.35; }

/* Split list */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split-side { flex: 1 1 320px; min-width: 0; }
.split-side p { margin: 18px 0 20px; font-size: 18px; color: var(--muted); }
.split-main { flex: 2 1 560px; min-width: 0; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.row:hover .row-name { text-decoration: underline; }
.row-name { flex: 0 0 240px; font-size: 21px; font-weight: 800; color: var(--ocean); }
.row-text { flex: 1 1 280px; color: var(--muted); }

/* Bands */
.band-sand { background: var(--sand-deep); }
.band-accent { background: var(--coral); color: var(--white); }
.band-accent h2 { color: var(--white); flex: 1 1 520px; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.band-in .btn-row { margin-top: 0; }

/* Cards */
.cards { display: grid; gap: 20px; margin-top: 36px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; color: var(--ink); text-decoration: none; }
.band-sand .card { background: var(--sand); }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--muted); }
.card-link { display: flex; flex-direction: column; gap: 4px; }
.card-link h3 { margin-top: 0; color: var(--ocean); }
.card-link .link-arrow { margin-top: auto; padding-top: 14px; }
.card-link:hover h3 { text-decoration: underline; }
.card-photo { padding: 0; overflow: hidden; }
.card-photo .photo { border-radius: 0; }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { margin: 0 0 8px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--ocean); color: var(--sand); font-weight: 800; font-size: 18px; }
.tag { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; background: var(--ocean); color: var(--sand); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px; }
.chip:hover { background: var(--ocean-dark); color: var(--white); }

/* Text pages */
.prose { max-width: 860px; }
.prose-block { margin-bottom: 56px; }
.prose-block h2 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 18px; }
.prose-block p { margin-bottom: 16px; font-size: 18px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { position: relative; padding: 10px 0 10px 36px; border-top: 1px solid var(--line); font-size: 18px; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 14px; height: 8px; border-left: 3px solid var(--coral); border-bottom: 3px solid var(--coral); transform: rotate(-45deg); }
.steps { padding-left: 22px; font-size: 18px; color: var(--muted); }
.steps li { margin-bottom: 10px; }
.example { background: var(--white); border-radius: var(--radius); padding: 26px 28px; margin-top: 8px; }
.example h3 { margin-bottom: 12px; color: var(--ocean); font-size: 24px; }
.example p { font-size: 17px; }
.faq details { background: var(--white); border-radius: 12px; margin-bottom: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 18px; min-height: 44px; }
.faq details p { padding-bottom: 18px; }
.work-item { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 40px; }
.work-item > .photo { flex: 1 1 360px; }
.work-item > div:last-child { flex: 1 1 460px; min-width: 0; }

/* Form */
.form-page { display: flex; flex-wrap: wrap; gap: 48px; }
.form-side { flex: 1 1 340px; min-width: 0; }
.form-main { flex: 1 1 480px; min-width: 0; }
.form { background: var(--white); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 16px; }
.form input, .form select, .form textarea { font: 400 17px var(--sans); padding: 12px 14px; min-height: 48px; border: 2px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ocean); outline: none; }
.form .hp { position: absolute; left: -9999px; }
.notice { background: var(--white); border-radius: var(--radius); padding: 30px; }
.notice h2 { margin-bottom: 10px; }

/* Footer */
.footer { background: var(--ocean); color: var(--ocean-soft); padding-top: 56px; }
.footer-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer h2 { font: 800 14px var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: var(--sand); margin-bottom: 12px; }
.footer a { display: block; color: var(--ocean-soft); text-decoration: none; padding: 4px 0; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer p { margin-top: 14px; max-width: 300px; }
.footer .brand { display: inline-flex; color: var(--sand); padding: 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 32px; padding-bottom: 110px; margin-top: 40px; border-top: 1px solid rgba(207,224,231,0.25); font-size: 15px; }
.footer-base a { display: inline; margin-left: 18px; }

/* Chat */
.chat-launch { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--coral); color: var(--white); font: 800 16px var(--sans); cursor: pointer; box-shadow: 0 10px 28px rgba(7,52,71,0.3); }
.chat-launch:hover { background: var(--coral-dark); }
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 48px); background: var(--white); border-radius: 18px; box-shadow: 0 20px 50px rgba(7,52,71,0.35); display: flex; flex-direction: column; overflow: hidden; }
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ocean); color: var(--sand); }
.chat-head .logo-mark { color: var(--coral); flex: none; }
.chat-head div { display: flex; flex-direction: column; line-height: 1.3; }
.chat-head span { font-size: 13px; color: var(--ocean-soft); }
.chat-close { margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--sand); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.chat-close:hover { background: rgba(255,255,255,0.12); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #FBF8F2; }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.msg-ai { background: var(--white); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-me { background: var(--ocean); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-wait { color: var(--muted); font-style: italic; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; font: 400 16px var(--sans); padding: 11px 12px; border: 2px solid var(--line); border-radius: 12px; min-height: 46px; max-height: 120px; }
.chat-form textarea:focus { border-color: var(--ocean); outline: none; }
.chat-form button { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--coral); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.chat-note { padding: 0 14px 12px; font-size: 12px; color: var(--muted); }

/* Phone bar: on phones, Call and Chat sit fixed at the bottom of every page */
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; background: var(--ocean); padding: 8px 24px 20px; border-top: 1px solid rgba(207,224,231,0.2); }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(207,224,231,0.15); }
  .topbar-call { display: none; }
  .topbar-in { position: relative; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .hero-text { padding-bottom: 40px; }
  .hero-in { padding-top: 36px; }
  .call-card { left: 12px; }
  .btn-lg { width: 100%; }
  .row-name { flex-basis: 100%; }
  .chat-launch { display: none; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ocean); box-shadow: 0 -6px 20px rgba(7,52,71,0.25); }
  .mobile-bar .btn { flex: 1; min-height: 52px; }
  .chat { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; border-radius: 0; }
}
