/* =========================================================
   SPRINGWOOD design, adapted from the live Springwood Care site ("Open Door").
   Brand colours come from the logo kit: navy, forest, leaf and cream. Navy and leaf follow the
   main and accent colours chosen under Design. Layout responds to the width of the page itself
   (container queries), so the editor's phone preview behaves like a real phone.
   Every rule starts with .d-springwood so it never clashes with the shared blocks' styles.
   ========================================================= */

.site.d-springwood, .sw-extras {
  --navy: var(--c-main, #0B2E44);
  --navy-2: color-mix(in srgb, var(--navy) 86%, #fff);
  --forest: #1B894A;
  --forest-ink: #16703D;
  --leaf: var(--c-accent, #9AC767);
  --leaf-soft: color-mix(in srgb, var(--leaf) 42%, #fff);
  --cream: #F7F4E7;
  --mist: #EEF2E8;
  --ink: var(--navy);
  --soft: #4F616C;
  --muted: #8A96A1;
  --line: #E1E6E8;
  --wrap: 1160px;
  --gutter: clamp(16px, 4cqi, 48px);
  --sans: var(--f-body, "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif);
  --serif: "Source Serif 4", Georgia, serif;
}
.site.d-springwood { position: relative; font-family: var(--sans); color: var(--ink); font-size: 17px; line-height: 1.6; background: #fff; }

/* Resets for Springwood's own parts only. They carry no weight, so the rules below always win. */
:where(.d-springwood .sw) :is(p, h1, h2, h3, h4, ul, ol, dl, dd, blockquote, figure) { margin: 0; }
:where(.d-springwood .sw) :is(ul, ol) { padding: 0; }
:where(.d-springwood .sw) :is(h1, h2, h3, h4) { font-family: var(--f-head, var(--sans)); font-weight: 500; letter-spacing: normal; line-height: 1.2; text-wrap: balance; color: inherit; }
:where(.d-springwood .sw) a { color: inherit; text-decoration: none; }
:where(.d-springwood .sw) img { display: block; max-width: 100%; }

.d-springwood .sw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); box-sizing: border-box; }
.d-springwood .sw-ph { overflow: hidden; }
.d-springwood .sw-ph img { width: 100%; height: 100%; object-fit: cover; }
.d-springwood .sw-ph > .ed-img-ph { width: 100%; height: 100%; min-height: 120px; aspect-ratio: auto; border-radius: inherit; }
.d-springwood .sw-q { font-family: var(--serif); font-style: italic; }
.d-springwood .sw-gap-14 { margin-top: 14px; }
.d-springwood .sw-gap-18 { margin-top: 18px; }
.d-springwood .sw-gap-20 { margin-top: 20px; }
.d-springwood .sw-gap-24 { margin-top: 24px; }
.d-springwood .sw-gap-56 { margin-top: 56px; }
.d-springwood .sw-mb-12 { margin-bottom: 12px; }
.d-springwood .sw-mb-28 { margin-bottom: 28px; }
.d-springwood .sw-small { font-size: 15px; margin-top: 14px; }

/* ---------- Buttons (these also restyle the shared blocks' buttons) ---------- */
.d-springwood .btn, .sw-extras .btn {
  display: inline-block; font: 600 15px/1.2 var(--sans); padding: 13px 20px; border-radius: 8px; border: 0; cursor: pointer;
  white-space: nowrap; text-align: center; text-decoration: none; transform: none; transition: background-color .2s, color .2s, box-shadow .2s;
}
.d-springwood .btn:hover, .sw-extras .btn:hover { transform: none; }
.d-springwood .btn.sw-white, .sw-extras .btn.sw-white { background: #fff; color: var(--navy); box-shadow: none; }
.d-springwood .btn.sw-white:hover, .sw-extras .btn.sw-white:hover { background: var(--mist); }
.d-springwood .btn.sw-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.d-springwood .btn.sw-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); }
.d-springwood .btn.sw-navy, .sw-extras .btn.sw-navy { background: var(--navy); color: #fff; box-shadow: none; }
.d-springwood .btn.sw-navy:hover, .sw-extras .btn.sw-navy:hover { background: var(--navy-2); }
.d-springwood .btn.sw-line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.d-springwood .btn.sw-line:hover { background: var(--mist); }
.d-springwood .sw-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.d-springwood .sw-ctas:empty { display: none; }

/* ---------- Logo (five leaves unfold on the public site) ---------- */
.d-springwood .sw-blogo { position: relative; display: inline-block; aspect-ratio: 1654 / 709; height: 78px; margin-block: -12px; flex: none; }
.d-springwood .sw-blogo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.d-springwood .sw-logo-img { height: 54px; width: auto; }
.js .d-springwood .sw-blogo .leaf { transition: transform 1s cubic-bezier(.3, 1.4, .5, 1), opacity .5s ease; transition-delay: calc(var(--i) * 150ms + 200ms); }
.js .d-springwood .sw-blogo:not(.in) .leaf { transform: scale(.15) rotate(-20deg); opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .d-springwood .sw-blogo .leaf { transition: opacity .7s ease !important; }
  .js .d-springwood .sw-blogo:not(.in) .leaf { transform: none; }
}

/* ---------- Header ---------- */
.d-springwood .sw-head { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: #fff; }
.d-springwood .sw-head.is-solid { position: relative; background: var(--navy); }
.d-springwood .sw-head-row { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.d-springwood .sw-brand { display: inline-flex; }
.d-springwood .sw-nav-links { display: flex; gap: 24px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 15px; }
.d-springwood .sw-nav-links a { opacity: .88; padding-block: 6px; border-bottom: 1.5px solid transparent; transition: opacity .2s, border-color .2s; }
.d-springwood .sw-nav-links a:hover { opacity: 1; border-bottom-color: var(--leaf); }
.d-springwood .sw-nav-refer { display: none; }
.d-springwood .sw-nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 8px; border: 0; background: rgba(11, 46, 68, .92); color: #fff; cursor: pointer; position: relative; z-index: 31; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.d-springwood .sw-nav-toggle span, .sw-fab-menu span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.d-springwood .sw-nav-toggle span:nth-child(1), .sw-fab-menu span:nth-child(1) { top: 16px; }
.d-springwood .sw-nav-toggle span:nth-child(2), .sw-fab-menu span:nth-child(2) { top: 22px; }
.d-springwood .sw-nav-toggle span:nth-child(3), .sw-fab-menu span:nth-child(3) { top: 28px; }
.d-springwood.menu-open .sw-nav-toggle span:nth-child(1), .sw-fab-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.d-springwood.menu-open .sw-nav-toggle span:nth-child(2), .sw-fab-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.d-springwood.menu-open .sw-nav-toggle span:nth-child(3), .sw-fab-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* On the public site a floating menu button takes over, so it stays on screen while scrolling. */
.d-springwood.sw-live .sw-nav-toggle { visibility: hidden; }

@container site (max-width: 980px) {
  .d-springwood .sw-nav-toggle { display: block; }
  .d-springwood .sw-head-row > .btn { display: none; }
  .d-springwood .sw-nav-links { display: none; }
  /* In the editor's phone preview the menu opens over the top of the page. */
  .d-springwood.menu-open .sw-nav-links {
    display: flex; position: absolute; top: 0; left: 0; right: 0; z-index: 30; min-height: 640px; flex-direction: column; gap: 4px;
    padding: 104px var(--gutter) 32px; background: var(--navy); font-size: 26px; font-weight: 500;
  }
  .d-springwood.menu-open .sw-nav-links a { display: block; padding-block: 10px; opacity: 1; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .d-springwood.menu-open .sw-nav-refer { display: block; margin-top: 20px; }
  .d-springwood.menu-open .sw-nav-refer .btn { width: 100%; font-size: 17px; padding: 16px; }
  .d-springwood.menu-open .sw-brand { position: relative; z-index: 31; }
}

/* ---------- Photo hero ---------- */
.d-springwood section.sw-hero { position: relative; background: var(--navy); color: #fff; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.d-springwood .sw-hero > .sw-wrap { position: relative; z-index: 1; }
.d-springwood .sw-hero .sw-bg { position: absolute; inset: 0; }
.d-springwood .sw-hero .sw-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) brightness(.92); }
.d-springwood .sw-hero .sw-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.d-springwood .sw-hero .sw-bg > .ed-img-ph { position: absolute; right: 18px; bottom: 18px; z-index: 2; width: auto; min-height: 0; aspect-ratio: auto; flex-direction: row; padding: 10px 14px; border-style: solid; background: rgba(255, 255, 255, .92); }
.d-springwood .sw-hero h1 { font-size: clamp(40px, 5.8cqi, 72px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 500; }
.d-springwood .sw-hero .sw-lead { font-size: 17.5px; opacity: .9; max-width: 46ch; }
.d-springwood .sw-hero .sw-ctas { margin-top: 22px; }
.d-springwood .sw-facts { border-top: 1px solid rgba(255, 255, 255, .24); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.d-springwood .sw-facts > div { padding: 18px 0 22px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.d-springwood .sw-facts b { display: block; font-size: 17px; font-weight: 600; color: #fff; }
.d-springwood .sw-hero-home { min-height: 760px; }
.d-springwood .sw-hero-home .sw-bg img { object-position: 50% 72%; }
.d-springwood .sw-hero-home .sw-bg::after { background: linear-gradient(180deg, rgba(11, 46, 68, .9) 0%, rgba(11, 46, 68, .72) 30%, rgba(11, 46, 68, 0) 50%, rgba(11, 46, 68, 0) 80%, rgba(11, 46, 68, .9) 100%); }
.d-springwood .sw-hero-home .sw-body { padding-top: 116px; margin-bottom: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px 32px; align-items: end; }
.d-springwood .sw-hero-page { min-height: 640px; }
.d-springwood .sw-hero-page .sw-bg::after { background: linear-gradient(180deg, rgba(11, 46, 68, .62) 0%, rgba(11, 46, 68, 0) 24%, rgba(11, 46, 68, .05) 44%, rgba(11, 46, 68, .9) 88%), linear-gradient(90deg, rgba(11, 46, 68, .55) 0%, rgba(11, 46, 68, 0) 60%); }
.d-springwood .sw-hero-page .sw-body { margin-top: auto; padding-top: 150px; padding-bottom: 30px; }
.d-springwood .sw-crumb { font-size: 14px; opacity: .85; margin-bottom: 14px; }
.d-springwood .sw-crumb .link-crumb { border-bottom: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.d-springwood .sw-hero-page h1 { font-size: clamp(46px, 7cqi, 92px); }
.d-springwood .sw-hero-page .sw-lead { margin-top: 16px; font-size: 19px; max-width: 42ch; }

/* ---------- Sections ---------- */
.d-springwood section.sw-section { padding-block: clamp(64px, 9cqi, 120px); }
.d-springwood section.sw-tight { padding-block: clamp(48px, 6cqi, 80px); }
.d-springwood .sw-main > section:not(.sw) { padding: 72px 0; }
.d-springwood .sw-bg-mist { background: var(--mist); }
.d-springwood .sw-bg-cream { background: var(--cream); }
.d-springwood .sw-bg-white { background: #fff; }
.d-springwood .sw-bg-navy { background: var(--navy); color: #fff; }
.d-springwood .sw-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-ink); margin-bottom: 12px; }
.d-springwood .sw-bg-navy .sw-label { color: var(--leaf); }
.d-springwood .sw .sw-h2 { font-size: clamp(30px, 3.8cqi, 48px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 500; }
.d-springwood .sw .sw-h3 { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.d-springwood .sw-intro { color: var(--soft); margin-top: 16px; max-width: 58ch; font-size: 18px; }
.d-springwood .sw-bg-navy .sw-intro { color: #B9C8D2; }
.d-springwood .sw-prose p + p { margin-top: 14px; }
.d-springwood .sw-prose p, .d-springwood .sw-prose .ed-text { max-width: 62ch; }
.d-springwood .sw-muted { color: var(--soft); }
.d-springwood .sw-bg-navy .sw-muted { color: #B9C8D2; }
.d-springwood .sw-head-center { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.d-springwood .sw-head-center .sw-intro { margin-inline: auto; }
.d-springwood .sw-head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 44px; }
.d-springwood .sw-head-split .sw-intro { margin-top: 0; }

/* Big statement: one sentence, second half softer */
.d-springwood .sw-mission p { font-size: clamp(24px, 2.9cqi, 36px); line-height: 1.28; letter-spacing: -0.015em; max-width: 34ch; }
.d-springwood .sw-mission .sw-soft { color: var(--muted); }

/* Half-circle photo pairs */
.d-springwood section.sw-pair-sec { padding-block: 28px; }
.d-springwood .sw-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6cqi, 80px); align-items: center; }
.d-springwood .sw-halves { display: grid; grid-template-columns: 1fr 1fr; max-width: 500px; width: 100%; }
.d-springwood .sw-halves > div { aspect-ratio: 1 / 2; overflow: hidden; border-radius: 0 999px 999px 0; }
.d-springwood .sw-halves .sw-ph img { object-position: 30% 50%; }
.d-springwood .sw-pair h2 { font-size: clamp(28px, 3.4cqi, 42px); line-height: 1.1; letter-spacing: -0.02em; }
.d-springwood .sw-pair p { color: var(--soft); margin-top: 14px; max-width: 46ch; }
.d-springwood .sw-pair .sw-label { color: var(--soft); letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: 14px; }
.d-springwood .sw-pair.flip .sw-halves { order: 2; justify-self: end; }

/* Numbered points */
.d-springwood .sw-commit { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; counter-reset: c; }
.d-springwood .sw-commit li { counter-increment: c; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding-block: 22px; border-top: 1px solid var(--line); }
.d-springwood .sw-commit li::before { content: counter(c, decimal-leading-zero); grid-row: span 2; font-size: 15px; font-weight: 600; color: var(--forest-ink); padding-top: 3px; }
.d-springwood .sw-commit h3 { font-size: 19px; font-weight: 600; }
.d-springwood .sw-commit p { color: var(--soft); font-size: 16px; }
.d-springwood .sw-bg-navy .sw-commit li { border-color: rgba(255, 255, 255, .14); }
.d-springwood .sw-bg-navy .sw-commit li::before { color: var(--leaf); }
.d-springwood .sw-bg-navy .sw-commit p { color: #B9C8D2; }
.d-springwood .sw-note { border-left: 3px solid var(--leaf); background: var(--mist); padding: 18px 22px; border-radius: 0 12px 12px 0; color: var(--soft); max-width: 70ch; }
.d-springwood .sw-bg-mist .sw-note { background: #fff; }
.d-springwood .sw-note b { color: var(--ink); }
.d-springwood .sw-note-gap { margin-top: 36px; }

/* Text cards */
.d-springwood .sw-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.d-springwood .sw-card { background: #fff; border-radius: 16px; padding: 26px 26px 28px; border: 1px solid var(--line); color: var(--ink); }
.d-springwood .sw-bg-mist .sw-card, .d-springwood .sw-bg-cream .sw-card { border-color: transparent; }
.d-springwood .sw-card::before { content: ""; display: block; width: 36px; height: 18px; border-radius: 999px 999px 0 0; background: var(--leaf); margin-bottom: 18px; }
.d-springwood .sw-card:nth-child(3n+2)::before { background: var(--forest); }
.d-springwood .sw-card:nth-child(3n)::before { background: var(--navy); }
.d-springwood .sw-card h3 { font-size: 19px; font-weight: 600; }
.d-springwood .sw-card p { color: var(--soft); font-size: 16px; margin-top: 8px; }

/* Photo steps */
.d-springwood .sw-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.d-springwood .sw-steps.n-1 { grid-template-columns: minmax(0, 420px); }
.d-springwood .sw-steps.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.d-springwood .sw-steps.n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.d-springwood .sw-steps .sw-ph { aspect-ratio: 4 / 5; border-radius: 14px; }
.d-springwood .sw-steps h3 { font-size: 18px; font-weight: 600; margin-top: 14px; }
.d-springwood .sw-steps p { font-size: 16px; color: var(--soft); margin-top: 4px; }

/* Tick lists */
.d-springwood .sw-ticks { list-style: none; display: grid; gap: 0; }
.d-springwood .sw-ticks li { position: relative; padding: 13px 0 13px 32px; border-top: 1px solid var(--line); }
.d-springwood .sw-ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 8px; border-left: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(-45deg); }
.d-springwood .sw-ticks.two { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.d-springwood .sw-bg-navy .sw-ticks li { border-color: rgba(255, 255, 255, .14); }
.d-springwood .sw-bg-navy .sw-ticks li::before { border-color: var(--leaf); }

/* Step-by-step timeline */
.d-springwood .sw-process { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 20px; position: relative; }
.d-springwood .sw-process::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: #D5DECD; }
.d-springwood .sw-process::after { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--forest); transform-origin: left; transform: scaleX(var(--p, 1)); }
.d-springwood .sw-process li { position: relative; }
.d-springwood .sw-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--leaf); display: grid; place-items: center; font-weight: 700; position: relative; z-index: 1; transition: background-color .5s ease, color .5s ease; }
.d-springwood .sw-process h3 { font-size: 17px; font-weight: 600; margin-top: 14px; }
.d-springwood .sw-process p { font-size: 15px; color: var(--soft); margin-top: 4px; }

/* Homes list */
.d-springwood .sw-home-row { display: grid; grid-template-columns: 84px minmax(0, 1.1fr) minmax(0, 1.4fr) auto 20px; gap: 22px; align-items: center; padding-block: 16px; border-top: 1px solid var(--line); transition: background-color .2s; color: var(--ink); }
.d-springwood .sw-home-row:last-child { border-bottom: 1px solid var(--line); }
.d-springwood a.sw-home-row:hover { background: var(--mist); }
.d-springwood .sw-home-row .sw-ph { width: 84px; height: 84px; border-radius: 50%; }
.d-springwood .sw-home-row .ed-img-ph { min-height: 0; padding: 0; }
.d-springwood .sw-home-row .ed-img-ph span { display: none; }
.d-springwood .sw-home-row h3 { font-size: 23px; font-weight: 500; letter-spacing: -0.01em; }
.d-springwood .sw-spec { color: var(--soft); font-size: 16px; }
.d-springwood .sw-age { font-size: 14px; background: var(--mist); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.d-springwood .sw-age:empty { visibility: hidden; }
.d-springwood a.sw-home-row:hover .sw-age { background: #fff; }
.d-springwood .sw-arrow { width: 12px; height: 12px; border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.d-springwood a.sw-home-row:hover .sw-arrow { transform: translateX(4px) rotate(45deg); }

/* Photo and text */
.d-springwood .sw-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6cqi, 80px); align-items: center; }
.d-springwood .sw-split > .sw-ph { border-radius: 20px; aspect-ratio: 4 / 5; }
.d-springwood .sw-split > .sw-ph.wide { aspect-ratio: 4 / 3; }
.d-springwood .sw-split.flip > :first-child { order: 2; }
.d-springwood .sw-twocol { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 6cqi, 80px); align-items: start; }

/* At-a-glance panel */
.d-springwood .sw-glance { background: var(--mist); border-radius: 18px; padding: 26px 26px 12px; }
.d-springwood .sw-bg-mist .sw-glance { background: #fff; }
.d-springwood .sw .sw-glance h2 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-ink); margin-bottom: 6px; line-height: 1.4; }
.d-springwood .sw-glance dl > div { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding-block: 12px; border-top: 1px solid #D3DBCB; font-size: 15.5px; }
.d-springwood .sw-glance dl > div:first-child { border-top: 0; }
.d-springwood .sw-glance dt { color: var(--soft); }
.d-springwood .sw-glance dd { font-weight: 500; }

/* Quote band */
.d-springwood .sw-quote-band .sw-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 6cqi, 80px); align-items: center; }
.d-springwood .sw-quote-band blockquote { font-size: clamp(24px, 3cqi, 36px); line-height: 1.3; }
.d-springwood .sw-quote-band cite { display: block; font-style: normal; font-family: var(--sans); font-size: 14px; opacity: .7; margin-top: 18px; }
.d-springwood .sw-quote-band .sw-ph { aspect-ratio: 1 / 1; border-radius: 50%; max-width: 340px; width: 100%; justify-self: end; }

/* Daily routine */
.d-springwood .sw-day { list-style: none; }
.d-springwood .sw-day li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.d-springwood .sw-day li:last-child { border-bottom: 1px solid var(--line); }
.d-springwood .sw-t { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--forest-ink); }
.d-springwood .sw-day p { color: var(--soft); }

/* Figures */
.d-springwood .sw-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.d-springwood .sw-figs > div { border-top: 2px solid var(--leaf); padding-top: 14px; }
.d-springwood .sw-figs b { display: block; font-size: clamp(32px, 4cqi, 48px); line-height: 1; font-weight: 500; letter-spacing: -0.02em; }
.d-springwood .sw-figs span { display: block; color: var(--soft); font-size: 15px; margin-top: 8px; }

/* Contact cards */
.d-springwood .sw-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.d-springwood .sw-contacts.n-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.d-springwood .sw-contacts.n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.d-springwood .sw-contact { border-radius: 16px; padding: 26px; background: #fff; color: var(--ink); }
.d-springwood .sw-bg-white .sw-contact { background: var(--mist); }
.d-springwood .sw-contact h3 { font-size: 19px; font-weight: 600; }
.d-springwood .sw-contact p { color: var(--soft); margin-top: 8px; font-size: 16px; }
.d-springwood .sw-num { display: inline-block; margin-top: 14px; font-size: 22px; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }

/* Call-to-action band */
.d-springwood section.sw-cta-band { background: var(--forest-ink); color: #fff; padding-block: 60px; }
.d-springwood .sw-cta-band .sw-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.d-springwood .sw-cta-band h2 { font-size: clamp(26px, 3cqi, 38px); line-height: 1.15; letter-spacing: -0.02em; max-width: 24ch; }
.d-springwood .sw-cta-band p { color: #D9EBDD; margin-top: 10px; max-width: 54ch; }

/* ---------- Footer ---------- */
.d-springwood .sw-foot { background: var(--mist); color: var(--soft); padding-block: 56px 32px; font-size: 15px; }
.d-springwood .sw-foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.d-springwood .sw-foot-logo { height: 72px; width: auto; margin: -12px 0 10px; }
.d-springwood .sw-foot p + p { margin-top: 12px; }
.d-springwood .sw .sw-foot h2, .d-springwood .sw-foot h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; line-height: 1.4; }
.d-springwood .sw-foot ul { list-style: none; display: grid; gap: 8px; }
.d-springwood .sw-foot a:hover { color: var(--ink); text-decoration: underline; }
.d-springwood .sw-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #D3DBCB; margin-top: 40px; padding-top: 20px; font-size: 14px; }

/* ---------- Narrower screens ---------- */
@container site (max-width: 860px) {
  .d-springwood .sw-process { grid-template-columns: 1fr; gap: 18px; }
  .d-springwood .sw-process::before, .d-springwood .sw-process::after { left: 19px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--p, 1)); }
  .d-springwood .sw-process li { display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; }
  .d-springwood .sw-process h3 { margin-top: 8px; }
  .d-springwood .sw-process p { grid-column: 2; }
  .d-springwood .sw-contacts, .d-springwood .sw-contacts.n-2, .d-springwood .sw-contacts.n-4 { grid-template-columns: 1fr; }
  .d-springwood .sw-twocol { grid-template-columns: 1fr; }
  .d-springwood .sw-foot-grid { grid-template-columns: 1fr 1fr; }
  .d-springwood .sw-foot-grid > :first-child { grid-column: 1 / -1; }
}
@container site (max-width: 820px) {
  .d-springwood .sw-head-split { grid-template-columns: 1fr; }
  .d-springwood .sw-split { grid-template-columns: 1fr; }
  .d-springwood .sw-split.flip > :first-child { order: 0; }
  .d-springwood .sw-split > .sw-ph, .d-springwood .sw-split > .sw-ph.wide { aspect-ratio: 4 / 3; }
}
@container site (max-width: 760px) {
  .d-springwood .sw-facts { grid-template-columns: 1fr; }
  .d-springwood .sw-facts > div { padding: 10px 0; }
  .d-springwood .sw-facts > div:first-child { padding-top: 16px; }
  .d-springwood .sw-hero-home { min-height: 900px; }
  .d-springwood .sw-hero-home .sw-body { grid-template-columns: 1fr; padding-top: 104px; }
  .d-springwood .sw-hero-home .sw-bg img { object-position: 34% 80%; }
  .d-springwood .sw-hero-home .sw-bg::after { background: linear-gradient(180deg, rgba(11, 46, 68, .92) 0%, rgba(11, 46, 68, .82) 50%, rgba(11, 46, 68, 0) 64%, rgba(11, 46, 68, 0) 70%, rgba(11, 46, 68, .92) 100%); }
  .d-springwood .sw-hero-page { min-height: 620px; }
  .d-springwood .sw-pair { grid-template-columns: 1fr; }
  .d-springwood .sw-pair.flip .sw-halves { order: 0; justify-self: start; }
  .d-springwood .sw-halves { max-width: 340px; }
  .d-springwood .sw-steps, .d-springwood .sw-steps.n-2, .d-springwood .sw-steps.n-4 { grid-template-columns: 1fr; }
  .d-springwood .sw-steps .sw-ph { aspect-ratio: 16 / 10; }
  .d-springwood .sw-ticks.two { grid-template-columns: 1fr; }
  .d-springwood .sw-home-row { grid-template-columns: 60px 1fr; gap: 4px 16px; }
  .d-springwood .sw-home-row .sw-ph { width: 60px; height: 60px; grid-row: span 3; }
  .d-springwood .sw-home-row .sw-spec, .d-springwood .sw-home-row .sw-age { grid-column: 2; }
  .d-springwood .sw-home-row .sw-age { justify-self: start; margin-top: 4px; }
  .d-springwood .sw-home-row .sw-arrow { display: none; }
  .d-springwood .sw-quote-band .sw-cols { grid-template-columns: 1fr; }
  .d-springwood .sw-quote-band .sw-ph { justify-self: start; max-width: 260px; }
  .d-springwood .sw-figs { grid-template-columns: 1fr 1fr; }
}
@container site (max-width: 700px) {
  .d-springwood .sw-day li { grid-template-columns: 1fr; gap: 2px; }
}
@container site (max-width: 420px) {
  .d-springwood .sw-glance dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Motion on the public site only (the editor never adds .motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion .d-springwood .sw-ph img, .motion .d-springwood .sw-hero .sw-bg img { transition: transform 1.9s cubic-bezier(.2, .7, .2, 1); }
  .motion .d-springwood .sw-ph:not(.in) img, .motion .d-springwood .sw-hero .sw-bg:not(.in) img { transform: scale(1.08); }
  .motion .d-springwood .sw-hero-home .sw-bg { animation: sw-drift 28s ease-in-out 2s infinite alternate; }
  @keyframes sw-drift { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
  .motion .d-springwood .sw-rise { transition: opacity .8s ease, transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
  .motion .d-springwood .sw-rise:not(.in) { opacity: 0; transform: translateY(24px); }
  .motion .d-springwood [data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .16em 0; margin: 0 -.08em -.16em 0; }
  .motion .d-springwood [data-words] .w > span { display: inline-block; transition: transform .9s cubic-bezier(.2, .75, .2, 1); transition-delay: calc(var(--d, 0ms) + var(--wi) * 55ms); }
  .motion .d-springwood [data-words]:not(.in) .w > span { transform: translateY(115%); }
  .motion .d-springwood [data-fill] .fw { opacity: .22; transition: opacity .35s ease; }
  .motion .d-springwood [data-fill] .fw.on { opacity: 1; }
  .motion .d-springwood .sw-process li:not(.lit) .sw-dot { background: #fff; color: var(--soft); box-shadow: inset 0 0 0 2px #D5DECD; }
}

/* ---------- Public-site extras: floating menu button, phone menu, back to top, referral form ---------- */
.sw-extras { font-family: var(--sans); color: var(--ink); }
.sw-fab-menu { display: none; position: fixed; z-index: 75; top: calc(26px + var(--proto-bar, 0px) + env(safe-area-inset-top, 0px)); right: var(--gutter); width: 46px; height: 46px; border-radius: 8px; border: 0; background: rgba(11, 46, 68, .92); color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(11, 46, 68, .28), inset 0 0 0 1px rgba(255, 255, 255, .18); }
@media (max-width: 980px) { .sw-fab-menu { display: block; } }
.sw-mobile-menu { position: fixed; inset: 0; z-index: 72; overflow-y: auto; padding: 104px var(--gutter) 32px; background: var(--navy); color: #fff; font-size: 26px; font-weight: 500; }
.sw-mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sw-mobile-menu a { display: block; padding-block: 10px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sw-mobile-refer { margin-top: 20px; }
.sw-mobile-refer .btn { width: 100%; font-size: 17px; padding: 16px; box-sizing: border-box; }
body.sw-nav-open { overflow: hidden; }
.sw-to-top { position: fixed; z-index: 25; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(11, 46, 68, .3), inset 0 0 0 1px rgba(255, 255, 255, .16); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, background-color .2s; }
.sw-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.sw-to-top:hover { background: var(--forest-ink); }
.sw-to-top span { position: absolute; left: 50%; top: 53%; width: 12px; height: 12px; border-top: 2.5px solid currentColor; border-left: 2.5px solid currentColor; transform: translate(-50%, -30%) rotate(45deg); }
body.sw-nav-open .sw-to-top { display: none; }
@media (min-width: 981px) { .sw-to-top { right: 24px; bottom: 24px; } }

.sw-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 46, 68, .72); display: flex; align-items: flex-start; justify-content: center; padding: 32px 16px; overflow-y: auto; }
.sw-modal[hidden] { display: none; }
.sw-modal-panel { position: relative; width: 100%; max-width: 700px; margin: auto; background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(24px, 5vw, 44px); box-shadow: 0 30px 80px rgba(11, 46, 68, .35); box-sizing: border-box; }
.sw-modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--mist); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; }
.sw-modal-head { margin-bottom: 24px; padding-right: 40px; }
.sw-modal-head .sw-label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-ink); margin-bottom: 8px; }
.sw-modal-head h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; font-weight: 500; margin: 0 0 10px; }
.sw-modal-head p { color: var(--soft); margin: 0; }
.sw-rf fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.sw-rf legend { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--forest-ink); margin-bottom: 14px; }
.sw-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .sw-row2 { grid-template-columns: 1fr; } }
.sw-fg { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.sw-fg label { font-size: 15px; font-weight: 600; }
.sw-req { color: var(--forest-ink); }
.sw-fg input, .sw-fg select, .sw-fg textarea { font: 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #C9D2D6; border-radius: 10px; padding: 11px 13px; }
.sw-fg input:focus, .sw-fg select:focus, .sw-fg textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(27, 137, 74, .18); }
.sw-check { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.sw-check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--forest-ink); }
.sw-rf-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.sw-rf-actions p { margin: 0; }
.sw-extras .sw-small { font-size: 14px; }
.sw-extras .sw-muted { color: var(--soft); }
.sw-rf-done { text-align: center; padding: 40px 16px; }
.sw-rf-tick { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--forest-ink); color: #fff; font-size: 28px; margin-bottom: 18px; }
.sw-rf-done h3 { font-size: 26px; font-weight: 500; margin: 0 0 10px; }
.sw-rf-done p { color: var(--soft); margin: 0 0 8px; }
.sw-err { font-size: 13.5px; color: #B42318; min-height: 1em; }
.sw-err:empty { min-height: 0; }
.sw-fg .sw-invalid { border-color: #B42318; }
.sw-rf-failed { width: 100%; margin: 0; }
.sw-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
