/* SandSift — beach-town service site. Light, warm, plain-spoken.
   Navy ink and sea blue for trust, sand and foam tints for sections,
   lifeguard yellow for the one action that matters: booking a walk-through. */
:root {
  --ink: #10324a;
  --sea: #1f6f8b;
  --sea-deep: #175a71;
  --foam: #eef6f8;
  --sand: #f6efe2;
  --sand-deep: #e8d9bb;
  --grape: #3e6b48;
  --sun: #f4b63f;
  --sun-deep: #e3a224;
  --muted: #4d6271;
  --line: #d9e2e6;
  --white: #ffffff;
  --error: #a33a2c;
  --display: "Zilla Slab", "Rockwell", Georgia, serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sea); }
a:hover { color: var(--sea-deep); }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }
.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sea);
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-deep); color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 0.98rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.01em; }
.brand-name span { color: var(--sea); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--sea); }
.nav a[aria-current="page"] { color: var(--sea); border-bottom-color: var(--sun); }
.header-cta { white-space: nowrap; }
@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 6px; padding-bottom: 6px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 20px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); padding-top: 4px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 0.95rem; white-space: nowrap; padding-block: 8px; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 1.35rem; }
  .header-cta.btn-small { padding: 8px 14px; font-size: 0.92rem; }
  .nav { gap: 16px; }
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }

/* Small helpers */
.h3 { font-size: 1.3rem; font-weight: 600; }
.mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }
.mb-28 { margin-bottom: 28px; }

/* Inner page header */
.page-hero { background: var(--foam); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: 56px 52px; display: grid; gap: 14px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); max-width: 26ch; }
@media (max-width: 640px) { .page-hero .wrap { padding-block: 40px 36px; } }

/* Closing call to action */
.cta-band { background: var(--ink); color: #d6e2e8; }
.cta-band .wrap { padding-block: 64px; display: grid; gap: 14px; justify-items: start; }
.cta-band h2 { color: var(--white); }
.cta-band p { font-size: 1.1rem; }
.cta-band a:not(.btn) { color: var(--white); }
.cta-band .btn { margin-top: 8px; }
@media (max-width: 640px) { .cta-band .wrap { padding-block: 48px; } }

.more { margin-top: 32px; font-weight: 700; }
.more a::after { content: " \2192"; }

/* Hero */
.hero { background: var(--foam); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero-copy { display: grid; gap: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-note { font-size: 0.98rem; color: var(--muted); }
.hero-art { border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(16, 50, 74, 0.45); background: var(--sand-deep); }
.hero-art img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px 48px; }
  .hero-art img { aspect-ratio: 4 / 3; object-position: 50% 58%; }
}

/* Promise strip */
.promises { border-bottom: 1px solid var(--line); }
.promises ul { list-style: none; margin: 0 auto; padding-block: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promises li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; }
.promises svg { flex: none; width: 26px; height: 26px; }
@media (max-width: 860px) { .promises ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .promises ul { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
.section { padding-block: 80px; }
.section.tint-sand { background: var(--sand); }
.section.tint-foam { background: var(--foam); }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 720px; }
@media (max-width: 640px) { .section { padding-block: 56px; } }

/* Why machines miss it */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split p + p { margin-top: 14px; }
.split .body { color: var(--muted); font-size: 1.1rem; }
.split-top { align-items: start; }
.diagram { margin: 0; background: var(--white); border: 1px solid var(--sand-deep); border-radius: var(--radius); padding: 20px; }
.diagram figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Audience cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; align-content: start; }
.card-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand-deep); }
.card-img.pos-low { object-position: 50% 72%; }
.card-body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.card p { color: var(--muted); }
@media (max-width: 860px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before {
  content: counter(step);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white);
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
}
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Beach rules and the not-included card */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rules li { padding-left: 18px; border-left: 3px solid var(--sun); color: var(--muted); }
.rules b { color: var(--ink); }
.side-card { background: var(--sand); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.side-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.side-card p { color: var(--ink); font-weight: 600; }

/* Included list */
.included { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks svg { width: 26px; height: 26px; margin-top: 1px; }
.report {
  margin: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px; display: grid; gap: 12px; max-width: 380px; justify-self: center; width: 100%;
  box-shadow: 0 14px 36px -26px rgba(16, 50, 74, 0.5);
}
.report-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.report-top b { color: var(--ink); font-size: 0.95rem; }
.report-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report-photos figure { margin: 0; display: grid; gap: 4px; }
.report-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--sand-deep); }
.report-photos figcaption { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.report-msg { background: var(--foam); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 0.98rem; }
.report-label { font-size: 0.8rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .included { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: grid; gap: 10px; align-content: start; }
.price-card.featured { border: 2px solid var(--sea); }
.badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--sea); color: var(--white);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.price { font-family: var(--display); font-weight: 700; font-size: 2.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.price-card .visits { font-weight: 700; color: var(--sea); }
.price-card p { color: var(--muted); }
.price-note { margin-top: 28px; color: var(--muted); max-width: 70ch; }
@media (max-width: 860px) { .prices { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Home page pricing teaser */
.teaser { display: grid; gap: 28px; justify-items: start; }
.teaser .section-head { margin-bottom: 0; }
.teaser .prices { width: 100%; }
.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; }
@media (max-width: 640px) { 
/* Area */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.area-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; background: var(--sand-deep); }
@media (max-width: 860px) { .area-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.area-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--sea); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-copy { display: grid; gap: 16px; }
.contact-copy h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.next-steps { margin: 4px 0 0; padding-left: 22px; display: grid; gap: 6px; color: var(--muted); }
.field-note { margin-top: -8px; font-size: 0.92rem; }
.contact-direct { margin-top: 8px; display: grid; gap: 6px; font-size: 1.05rem; }
.contact-direct a { font-weight: 700; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 0.98rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #b9c7ce; border-radius: 10px;
  padding: 12px 14px; min-height: 50px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sea); outline: 3px solid rgba(31, 111, 139, 0.18); outline-offset: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span { display: inline-block; padding: 10px 16px; border: 1.5px solid #b9c7ce; border-radius: 999px; font-weight: 600; font-size: 0.98rem; }
.choices input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choices input:focus-visible + span { outline: 3px solid var(--sun-deep); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--error); font-weight: 600; }
.form-fine { font-size: 0.9rem; color: var(--muted); }
.thanks { background: var(--white); border: 2px solid var(--grape); border-radius: 18px; padding: 32px 28px; display: grid; gap: 10px; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 520px) { .row { grid-template-columns: minmax(0, 1fr); } .form { padding: 22px; } }

/* Footer */
.site-footer { background: var(--ink); color: #d6e2e8; padding-block: 40px; font-size: 0.98rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.footer-about { display: grid; gap: 10px; max-width: 46ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 32px; }
.footer-contact { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 18px; }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }
.site-footer a { color: var(--white); }
.site-footer .brand { color: var(--white); }
.site-footer .brand-name span { color: #8fd0e4; }

/* Simple pages (thanks, 404) */
.simple { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.simple .wrap { display: grid; gap: 18px; justify-items: center; max-width: 640px; }
.simple .hero-actions { justify-content: center; }
