/* Forster Web Designs. Light, coastal and friendly. Colours come from the Altitude logo gradient. */
:root {
  --sand: #fbf8f3;
  --sand-deep: #f4ede1;
  --white: #ffffff;
  --mist: #eef7f9;
  --ink: #1f2a3d;
  --muted: #566176;
  --line: #e4ddd0;
  --ocean: #253b7f;
  --ocean-deep: #1b2c61;
  --lagoon: #1d7591;
  --aqua: #8bd4e3;
  --coral: #ef8a6f;
  --sun: #f7d488;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 61, .08);
  --shadow-lift: 0 18px 40px rgba(31, 42, 61, .12);
  --wrap: 1140px;
  --head: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito", "Nunito Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon); text-underline-offset: 3px; }
a:hover { color: var(--ocean); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lagoon); margin-bottom: .7rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; cursor: pointer; font: inherit; font-weight: 800; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ocean); color: var(--white); box-shadow: 0 8px 20px rgba(37, 59, 127, .25); }
.btn-primary:hover { background: var(--ocean-deep); color: var(--white); }
.btn-soft { background: var(--white); color: var(--ocean); border-color: var(--line); }
.btn-soft:hover { border-color: var(--aqua); color: var(--ocean); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 243, .92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 92px; height: auto; aspect-ratio: 148 / 70; }
.brand-name { font-family: var(--head); font-weight: 600; font-size: 1.15rem; line-height: 1.1; border-left: 1px solid var(--line); padding-left: 12px; }
.brand-name small { display: block; font-family: var(--body); font-size: .74rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: .5em .8em; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--mist); color: var(--ocean); }
.menu .btn { margin-left: 8px; padding: .65em 1.15em; }
.menu .btn:hover { background: var(--ocean-deep); color: var(--white); }
.menu-toggle { display: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .menu { display: none; position: absolute; left: 16px; right: 16px; top: 72px; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-lift); }
  .menu.open { display: flex; }
  .menu .btn { margin: 6px 0 0; justify-content: center; }
  .brand-name { font-size: 1rem; }
  .brand img { width: 74px; }
}

/* Sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--white); }
.section-mist { background: var(--mist); }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 span { color: var(--lagoon); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 1.6rem 0 0; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero-points li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); margin-right: 8px; vertical-align: 1px; }
.hero-art { width: 100%; max-width: 560px; justify-self: center; }
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 440px; } }

.wave { display: block; width: 100%; height: 48px; color: var(--white); }
.wave.mist { color: var(--mist); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.section-tint .card { background: var(--sand); box-shadow: none; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--mist); color: var(--lagoon); }
.card .icon svg { width: 26px; height: 26px; }
.card.link-card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; display: block; }
.card.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card .more { font-weight: 800; color: var(--lagoon); }

/* Work */
.work-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.work-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; border-bottom: 1px solid var(--line); }
.work-card .body { padding: 20px 22px 24px; }
.work-card .where { font-size: .85rem; font-weight: 800; color: #b4502f; text-transform: uppercase; letter-spacing: .06em; }
.work-card h3 { margin: .25em 0 .35em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: .8em 0 0; }
.tags li { font-size: .8rem; font-weight: 700; background: var(--mist); color: var(--ocean); padding: 3px 10px; border-radius: 999px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; }

/* Pricing */
.price { font-family: var(--head); font-size: 2.2rem; font-weight: 600; color: var(--ocean); line-height: 1; margin: .2em 0 .1em; }
.price small { font-family: var(--body); font-size: .9rem; color: var(--muted); font-weight: 700; }
.card.featured { border: 2px solid var(--aqua); position: relative; }
.badge { display: inline-block; background: var(--sun); color: var(--ink); font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.ticks { list-style: none; padding: 0; margin: 1em 0 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: .45em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7591' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 420px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--sand-deep); font-weight: 800; }
tr:last-child td { border-bottom: 0; }

/* Reviews */
.quote { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
.quote p { font-size: 1.05rem; }
.quote footer { font-weight: 800; color: var(--ink); }
.quote footer span { display: block; font-weight: 600; color: var(--muted); font-size: .9rem; }
.stars { color: #e0a43a; letter-spacing: 2px; margin-bottom: .4em; }

/* Areas */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span { display: inline-block; padding: .5em 1em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.chips a:hover { border-color: var(--aqua); color: var(--ocean); }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--lagoon); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Family band */
.family { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .family { grid-template-columns: 1fr; } }

/* CTA */
.cta-band { background: linear-gradient(135deg, var(--ocean) 0%, var(--lagoon) 100%); color: var(--white); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { opacity: .92; }
.cta-band .btn-row { justify-content: flex-end; margin: 0; }
.cta-band .btn-primary { background: var(--sun); color: var(--ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: #fbe2a8; color: var(--ink); }
.cta-band .btn-soft { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Prose (guides) */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.callout { background: var(--mist); border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.6em 0; }
.callout p:last-child { margin-bottom: 0; }
.article-meta { color: var(--muted); font-size: .95rem; }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 100px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 800; margin-bottom: 6px; }
label .opt { font-weight: 600; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 4px rgba(139, 212, 227, .45); }
[aria-invalid="true"] { border-color: #c2412d; }
.field-error { color: #b0361f; font-size: .9rem; font-weight: 700; min-height: 1em; display: block; margin-top: 4px; }
.form-status { font-weight: 800; min-height: 1.5em; }
.form-status.ok { color: #1c7a4a; }
.form-status.bad { color: #b0361f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list strong { display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #d6dbe5; padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #f2f4f8; text-decoration: none; }
.site-footer a:hover { color: var(--aqua); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--body); font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-logo { width: 150px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: #aeb6c5; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } .btn, .card.link-card { transition: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wave.flip { transform: rotate(180deg); }
.menu a.btn-primary, .menu a.btn-primary:hover { color: var(--white); }
.menu a.btn-primary:hover { background: var(--ocean-deep); }
.site-footer p a { text-decoration: underline; }
