/* James Spence & Colleagues: "Solent" design. Seaside Ryde, beach-hut yellow, brushed steel for the crowns. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-normal.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/literata-normal.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/literata-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy: #0e2f44; --navy-2: #163f5a; --glass: #a8d5c9; --glass-2: #d6ece6; --paper: #f2f6f5; --white: #ffffff;
  --sun: #f4c542; --ink: #0b1f2c; --ink-2: #3f5866; --line: #c9d9d5;
  --steel: linear-gradient(135deg, #f4f7f8 0%, #b9c4ca 38%, #e6ebee 52%, #8d9aa2 100%);
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Literata", Georgia, "Times New Roman", serif;
  --gut: clamp(20px, 5vw, 64px); --max: 1200px; --r: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.7 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.small { font-size: .92rem; color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--sun); color: var(--ink); padding: 10px 16px; font-family: var(--head); font-weight: 700; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; padding: 12px var(--gut); background: rgba(242, 246, 245, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(242, 246, 245, .8); backdrop-filter: blur(10px); } }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--sun); font: 800 1rem var(--head); letter-spacing: -.03em; }
.brand-text { font: 800 1.15rem/1.05 var(--head); letter-spacing: -.02em; }
.brand-text small { display: block; font-weight: 500; font-size: .8rem; color: var(--ink-2); letter-spacing: 0; }
.nav { display: flex; gap: 4px; }
.nav a { font: 600 .95rem var(--head); color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 999px; }
.nav a:hover { background: var(--glass-2); }
.nav a[aria-current="page"] { background: var(--navy); color: var(--white); }
.head-call { display: inline-flex; align-items: center; gap: 8px; font: 700 .98rem var(--head); color: var(--ink); background: var(--sun); padding: 10px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; font: 700 .95rem var(--head); color: var(--white); background: var(--navy); border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; }

.crumbs { max-width: var(--max); margin: 0 auto; padding: 20px var(--gut) 0; font: 500 .9rem var(--head); color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 1rem var(--head); text-decoration: none; border: 2px solid transparent; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14, 47, 68, .18); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-steel { background: var(--steel); color: var(--ink); border-color: #7f8d95; }
.link-arrow { font: 700 1rem var(--head); color: var(--navy); text-underline-offset: 6px; padding: 12px 0; }
.link-arrow::after { content: " \2192"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 28px 0 20px; }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--gut); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.kicker { font: 600 .98rem var(--head); color: var(--navy-2); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); line-height: .98; letter-spacing: -.035em; max-width: 11ch; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-2); max-width: 46ch; }
.hours-note { font-size: .95rem; color: var(--ink-2); }
.hero-art .sea { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(14, 47, 68, .16)); }
@media (prefers-reduced-motion: no-preference) {
  .waves path { animation: drift 9s ease-in-out infinite alternate; }
  .waves path:nth-child(2) { animation-duration: 11s; }
  .waves path:nth-child(3) { animation-duration: 13s; }
}
@keyframes drift { from { transform: translateX(-18px); } to { transform: translateX(18px); } }

/* Facts */
.facts { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: var(--white); border-radius: var(--r); padding: 22px; border: 1px solid var(--line); }
.fact b { display: block; font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--head); color: var(--navy); letter-spacing: -.03em; margin-bottom: 6px; }
.fact span { font-size: .95rem; color: var(--ink-2); }

/* Steel section: the one bold moment */
.steel { background: var(--navy); color: var(--white); padding: clamp(56px, 8vw, 110px) max(var(--gut), calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; overflow: hidden; }
.steel::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: var(--steel); opacity: .16; }
.steel h2 { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.4rem); }
.steel p { color: #d5e3ea; max-width: 48ch; }
.steel-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.steel-points li { background: var(--steel); color: var(--ink); border-radius: var(--r); padding: 22px 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 30px rgba(0, 0, 0, .25); }
.steel-points b { display: block; font: 800 1.2rem var(--head); color: var(--navy); }
.steel-points span { font-size: .95rem; color: #24323b; }

/* Cards */
.cards-sec { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 100px) var(--gut); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.card { display: block; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--navy); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card h3::after { content: " \2192"; color: var(--sun); -webkit-text-stroke: .5px var(--navy); }
.card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.card:nth-child(3n+1) { border-top: 6px solid var(--sun); }
.card:nth-child(3n+2) { border-top: 6px solid var(--glass); }
.card:nth-child(3n) { border-top: 6px solid var(--navy); }

.team-teaser { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(56px, 8vw, 100px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.people li { background: var(--glass-2); border-radius: var(--r); padding: 18px 22px; }
.people b { display: block; font: 700 1.25rem var(--head); color: var(--navy); }
.people span { font-size: .95rem; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--sun); padding: clamp(36px, 5vw, 56px) max(var(--gut), calc((100vw - var(--max)) / 2)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-big { font: 800 clamp(1.4rem, 3vw, 2.1rem)/1.15 var(--head); color: var(--ink); margin: 0; max-width: 26ch; letter-spacing: -.02em; }
.cta-band .btn-sun { background: var(--navy); color: var(--white); }

/* Inner pages */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gut) clamp(28px, 4vw, 44px); }
.page-head h1 { max-width: 18ch; }
.steel-head h1 { background: linear-gradient(100deg, #0e2f44 0%, #4f6876 45%, #0e2f44 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.side-box h2 { font-size: 1.15rem; margin-bottom: 10px; }
.side-box ul { margin: 0; padding-left: 1.1em; }
.side-box li { margin: 4px 0; }
.side-box p:last-child { margin: 0; }
.side-navy { background: var(--navy); border-color: var(--navy); color: #d5e3ea; }
.side-navy h2 { color: var(--white); }
.side-navy a { color: var(--sun); }
.side-sun { background: var(--sun); border-color: var(--sun); }
.side-steel { background: var(--steel); border-color: #8d9aa2; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 3px var(--navy); }
.cols { columns: 2; column-gap: 32px; }
.cols li { break-inside: avoid; }
.link-list { padding-left: 1.1em; }
.bio { border-left: 4px solid var(--sun); padding: 4px 0 4px 20px; margin: 20px 0; }
.bio h3 { margin-bottom: 2px; }
.cred { font: 600 .92rem var(--head); color: var(--ink-2); }

.plan-steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 10px; }
.plan-steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
.plan-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 800 1.3rem var(--head); color: var(--white); background: var(--navy); }
.plan-steps li:nth-child(2)::before { background: var(--navy-2); }
.plan-steps li:nth-child(3)::before { background: var(--glass); color: var(--ink); }
.plan-steps li:nth-child(4)::before { background: var(--sun); color: var(--ink); }
.plan-steps b { font: 700 1.1rem var(--head); color: var(--navy); }
.plan-steps span { color: var(--ink-2); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font: 700 1.08rem var(--head); color: var(--navy); padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }

/* Fees */
.notice { max-width: calc(var(--max) - 2 * var(--gut)); margin: 0 auto 28px; margin-inline: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); background: var(--white); border-left: 6px solid var(--sun); border-radius: 10px; padding: 16px 20px; }
.fee-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fee-card, .plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; font-weight: 400; }
td { text-align: right; white-space: nowrap; font: 700 1.05rem var(--head); color: var(--navy); padding-left: 16px; font-variant-numeric: tabular-nums; }
.plans { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gut); }
.plans > p { max-width: 68ch; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 40px; }
.plan-navy { background: var(--navy); color: #d5e3ea; border-color: var(--navy); }
.plan-navy h3 { color: var(--white); }
.bands { margin: 16px 0; }
.bands th, .bands td { text-align: center; padding: 10px 4px; font-size: .95rem; white-space: nowrap; }
.bands thead th { font: 700 .9rem var(--head); }
.bands tbody th { text-align: left; }
.plan-navy .bands td { color: var(--sun); }
.plan-navy th, .plan-navy td { border-color: rgba(255, 255, 255, .2); }
.plan-navy .small { color: #b8cbd4; }

/* Emergencies */
.em-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.em { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.em-navy { background: var(--navy); border-color: var(--navy); color: #d5e3ea; }
.em-navy h2 { color: var(--white); }
.em-navy a { color: var(--sun); font-weight: 600; }
.em h2 { font-size: 1.4rem; }

/* Contact */
.contact-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-main { background: var(--navy); color: #d5e3ea; border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.contact-main a { color: var(--white); }
.big-phone { display: block; font: 800 clamp(2.2rem, 5vw, 3.2rem)/1.1 var(--head); color: var(--sun) !important; text-decoration: none; letter-spacing: -.02em; margin-bottom: 12px; }
address { font-style: normal; margin: 20px 0 24px; line-height: 1.6; color: var(--white); }
.contact-main .btn-navy { background: var(--sun); color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #b8cbd4; padding: clamp(40px, 6vw, 64px) var(--gut) 28px; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a { color: var(--white); }
.foot-name { font: 800 1.2rem var(--head); color: var(--white); }
.foot-h { font: 700 1rem var(--head); color: var(--sun); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.foot-small { max-width: var(--max); margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }

.call-bar { display: none; }

/* Tablet */
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; box-shadow: 0 20px 30px rgba(14, 47, 68, .12); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .no-js .nav { display: flex; position: static; box-shadow: none; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .hero, .steel, .team-teaser, .prose-grid, .contact-grid, .fee-grid, .plan-grid, .em-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
/* Phone */
@media (max-width: 600px) {
  .head-call { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .cards, .steel-points { grid-template-columns: 1fr; }
  .cols { columns: 1; }
  .hero { padding-top: 24px; }
  .hero-art { order: -1; }
  .call-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 45; min-height: 54px; align-items: center; justify-content: center; gap: 10px; background: var(--sun); color: var(--ink); font: 700 1.05rem var(--head); text-decoration: none; border-radius: 999px; box-shadow: 0 8px 24px rgba(11, 31, 44, .3); }
  body { padding-bottom: 84px; }
  .fee-card td { white-space: normal; width: 6.5rem; }
  .bands thead { display: none; }
  .bands tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bands tbody th { grid-column: 1 / -1; border: 0; padding: 0; font: 700 .9rem var(--head); }
  .bands td { text-align: left; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
  .plan-navy .bands td { border-color: rgba(255, 255, 255, .25); }
  .bands td::before { content: 'Group ' attr(data-g); display: block; font: 600 .75rem var(--head); color: var(--ink-2); }
  .plan-navy .bands td::before { color: #b8cbd4; }
}
@media (prefers-reduced-motion: reduce) { .btn, .card { transition: none; } .btn:hover, .card:hover { transform: none; } }
