/* Palette: three Sherwin-Williams colors from the "Paisley Leaves" set:
   Cotton SW 9581, Labradorite SW 7619, Seaworthy SW 7620. Tints below are mixed from them. */
:root {
  --cotton: #EFEDE0;
  --labradorite: #647B83;
  --seaworthy: #34495A;

  --ink: #2A3B48;              /* Seaworthy, a shade deeper for body text */
  --ink-soft: #4A5B66;         /* between Seaworthy and Labradorite, readable on Cotton */
  --cream: #F3F6F7;            /* cool off-white, alternating sections */
  --paper: #FFFFFF;
  --primary: var(--seaworthy); /* the one button color */
  --primary-dark: #263846;
  --accent: var(--labradorite);
  --accent-text: #52686F;      /* Labradorite deepened enough for small text */
  --tint: #E2EAEC;             /* light Labradorite */
  --header: #FFFFFF;           /* header bar and phone menu */
  --band-text: #D5DEE1;        /* body text on the Seaworthy band */
  --price-fill: #5A717A;       /* Labradorite deepened so white text stays readable */
  --tint-mid: #C9D4D7;
  --muted-day: #B3B8B9;
  --field: #C6CCCD;
  --line: #DCE3E5;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(52, 73, 90, .10);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.placeholder { background: #FFF1B8; padding: 0 .3em; border-radius: 4px; }

/* Buttons: one CTA color everywhere */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(52, 73, 90, .28);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.text-link {
  background: none; border: 0; padding: 0;
  color: var(--primary); font: inherit; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; }
.brand-tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--primary); }
.nav-book { display: none; }

/* Menu button: phones and tablets only */
.menu-btn {
  display: none; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.menu-btn .close, .menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .close { display: inline; }

/* Sections alternate cream/white; the photo band shares cream with "how",
   so it drops its top gap instead of doubling it */
section { padding: 80px 0; }
.features, .pricing, .faq { background: var(--paper); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-sub { color: var(--ink-soft); margin-top: -.3em; margin-bottom: 2em; }

/* Hero */
.hero { padding: 64px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--accent-text); margin-bottom: .8em; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -.01em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--ink-soft); margin: 0; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--labradorite); display: grid; place-items: center; margin-bottom: 16px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* How it works */
.how-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.how-photo { margin: 0; }
.how-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.steps li { display: flex; gap: 18px; }
.steps p { color: var(--ink-soft); margin: 0; }
.step-num {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--labradorite); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.2rem;
}

/* Photo band */
.photo-band { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 12px; padding: 0 12px 80px; }

/* The deep band: "How it works" and the photo strip share Seaworthy, with Cotton as
   the warm highlight. It breaks up the light sections so the page has some contrast. */
.how, .photo-band { background: var(--seaworthy); }
.how { color: var(--cotton); }
.how .section-title, .how h3 { color: #fff; }
.how .steps p { color: var(--band-text); }
.how .step-num { background: var(--cotton); color: var(--seaworthy); }
.photo-band img { width: 100%; height: 320px; object-fit: cover; border-radius: 12px; }

/* Pricing */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--cream); }
.price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--primary); margin: 0 0 .3em; }
.price-card p:last-child { color: var(--ink-soft); margin: 0; }
.price-one { border-radius: var(--radius); padding: 32px; background: var(--price-fill); color: #fff; max-width: 560px; box-shadow: var(--shadow); }
.price-one .price { color: #fff; }
.price-one .price { font-size: 3rem; line-height: 1; margin-bottom: .4em; }
.price-one .per { font-family: var(--sans); font-size: 1.1rem; font-weight: 500; color: var(--cotton); }
.price-one p:last-child { color: #EEF2F3; margin: 0; }
.price-one .turnaround { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .3); display: grid; gap: 8px; }
.price-one .turnaround li { padding-left: 26px; position: relative; }
.price-one .turnaround li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2.5px solid var(--cotton); border-bottom: 2.5px solid var(--cotton); transform: rotate(-45deg); }
.price-one p.pay { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .3); color: #fff; }

/* Booking */
.booker { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.cal, .book-side { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { margin: 0; font-size: 1.25rem; }
.cal-nav {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.cal-nav:hover { background: var(--tint); }
.cal-nav[disabled] { opacity: .3; cursor: default; background: var(--paper); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 4px; }
.cal-day {
  aspect-ratio: 1; border-radius: 10px; border: 0; background: none;
  font: inherit; font-size: .95rem; color: var(--muted-day); cursor: default;
}
.cal-day.open { background: var(--tint); color: var(--primary); font-weight: 700; cursor: pointer; }
.cal-day.open:hover { background: var(--tint-mid); }
.cal-day.selected { background: var(--primary); color: #fff; }
.cal-day.today { outline: 2px solid var(--labradorite); outline-offset: -2px; }
/* Customer calendar: open days are filled with a dot, booked-up days say Full */
.book .cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; line-height: 1.1; padding: 0; }
.book .cal-day.open { background: var(--labradorite); color: #fff; }
.book .cal-day.open:hover { background: var(--primary); }
.book .cal-day.selected { background: var(--primary); }
.book .cal-day .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cotton); }
.book .cal-day.full { background: var(--cream); color: var(--ink-soft); }
.book .cal-day.full small { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .85rem; color: var(--ink-soft); }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.key { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.key-open { background: var(--labradorite); }
.key-full { background: var(--cream); border: 1px solid var(--field); }
.book-form label.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.book-form .agree input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; padding: 0; accent-color: var(--primary); }
.agree a { color: var(--primary); font-weight: 700; }

.times { display: flex; flex-wrap: wrap; gap: 10px; }
.time {
  border: 1.5px solid var(--accent-text); background: var(--paper); color: var(--primary);
  border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 700; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25;
}
.time small { font-weight: 400; color: var(--ink-soft); font-size: .78rem; }
.time:hover { background: var(--tint); }
.time.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.time.selected small { color: var(--tint); }
.muted { color: var(--ink-soft); }

.book-form { display: grid; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.book-form label, .contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
.book-form input, .book-form select, .book-form textarea,
.contact-form input, .contact-form textarea {
  font: inherit; padding: 11px 12px; border: 1px solid var(--field); border-radius: 10px; background: var(--paper); color: var(--ink);
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: var(--accent-text); }
.picked { font-weight: 700; margin: 0; }
.form-msg { color: #A33A2A; margin: 0; min-height: 1.2em; }
.done { text-align: left; }
.done h3 { font-size: 1.6rem; color: var(--primary); }

/* Drop-off terms page */
.terms { background: var(--paper); padding: 48px 0 72px; }
.terms h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .2em; }
.terms h2 { font-size: 1.3rem; margin-top: 1.8em; }
.terms .updated { color: var(--ink-soft); font-size: .9rem; }
.terms ul { padding-left: 1.2em; margin: 0 0 1em; }
.terms li { margin-bottom: .6em; }
.terms .callout { background: var(--tint); border-left: 4px solid var(--primary); border-radius: 8px; padding: 14px 16px; }
.terms .back { margin-top: 2.4em; }

/* Contact */
.contact-form { display: grid; gap: 14px; background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .btn { justify-self: start; }
.contact .done { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--seaworthy); color: var(--cotton); padding: 48px 0; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: var(--tint-mid); }
.site-footer a { color: var(--tint-mid); }
.footer-inner { display: grid; gap: 14px; }
.footer-inner p { margin: 0; }
.fine { font-size: .8rem; color: #AFBCC2; }

.sticky-book { display: none; }

/* Tablet */
@media (max-width: 900px) {
  .header-inner { gap: 12px; }
  .site-header .btn { margin-left: auto; }
  .menu-btn { display: grid; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 4px 24px 12px;
    background: var(--header); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .nav a:last-child { border-bottom: 0; }
  .nav a.nav-book { display: block; font-weight: 700; color: var(--primary); }
  .hero-inner, .how-inner, .booker { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .how-photo { display: none; }
  .cards, .price-cards { grid-template-columns: 1fr; gap: 16px; }
  .photo-band { grid-template-columns: 1fr 1fr; }
  .photo-band img:nth-child(3) { display: none; }
}

/* Phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding: 32px 0 48px; }
  .hero-photo { display: none; }
  .site-header .btn { display: none; } /* the sticky bottom bar does this job on phones */
  .menu-btn { margin-left: auto; }
  .nav { padding: 4px 16px 12px; }
  .header-inner { min-height: 64px; }
  .brand-name { font-size: 1.2rem; }
  .brand img { width: 38px; height: 38px; }
  .photo-band { grid-template-columns: 1fr; padding-bottom: 56px; }
  .photo-band img { height: 200px; }
  .photo-band img:nth-child(2) { display: none; }
  .cal, .book-side { padding: 16px; }
  .card, .price-card { padding: 22px; }
  .contact-form { padding: 18px; }
  .contact-form .two { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .sticky-book {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  }
  .sticky-book .btn { display: block; text-align: center; }
  .site-footer { padding-bottom: 96px; }
}
