/* Crate & Key — site stylesheet
   Pure CSS, no build step. System font stacks only. */

:root {
  /* REPLACEABLE IMAGES */
  --img-hero: url("assets/hero.jpg");
  --img-logo: url("assets/logo.png");
  /* END REPLACEABLE IMAGES */

  --ink: #1c1c1c;
  --ink-soft: #4a4a46;
  --ink-muted: #6f6e68;
  --paper: #ffffff;
  --sand: #f5f2ed;
  --sand-deep: #ebe5db;
  --line: #e2ddd3;
  --olive: #5a6b5d;
  --olive-deep: #46554a;
  --olive-tint: #e6ebe6;
  --taupe: #8c7b68;
  --tote: #f2c230;          /* the yellow of the tote lids, used sparingly */
  --tote-tint: #fbf1cf;

  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(28, 28, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 28, 28, 0.14);
  --max: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-deep); text-underline-offset: 0.15em; }
a:hover { color: var(--olive); }
:focus-visible { outline: 3px solid var(--tote); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 40ch; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.9rem;
}
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem;
  border-radius: var(--radius-sm); z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font: 600 1rem/1.2 var(--font-body);
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--olive); color: #fff; box-shadow: 0 6px 16px rgba(90, 107, 93, 0.28); }
.btn--primary:hover { background: var(--olive-deep); color: #fff; box-shadow: 0 10px 22px rgba(90, 107, 93, 0.34); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--olive-deep); }
.btn--light:hover { background: var(--sand); color: var(--olive-deep); }
.btn--lg { padding: 1rem 2rem; font-size: 1.08rem; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em;
}
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand span small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); margin-top: 0.1rem; }
.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav ul { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  display: inline-block; padding: 0.5rem 0.8rem;
  color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.97rem;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav a:not(.btn):hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) { color: var(--olive-deep); background: var(--olive-tint); }
.header-cta { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.5rem; }
.header-phone { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; padding: 0.5rem 0.6rem; border-radius: 999px; }
.header-phone:hover { background: var(--sand); color: var(--ink); }
.header-phone svg { width: 1em; height: 1em; vertical-align: -0.12em; margin-right: 0.35rem; color: var(--olive); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line); cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.5rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; padding: 0.7rem 0.6rem; font-size: 1.05rem; }
  .header-cta { flex-direction: column; align-items: stretch; margin: 0.5rem 0 0; }
  .header-cta .btn { width: 100%; }
  .header-phone { text-align: center; }
  /* Without JS the menu is still reachable: the toggle is a link to #nav */
  .nav:target { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--tote-tint) 0%, rgba(251, 241, 207, 0) 60%),
    linear-gradient(180deg, var(--sand) 0%, #fbfaf7 100%);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-bottom: 1.6rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.95rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-proof svg { width: 1.05em; height: 1.05em; color: var(--olive); flex: none; }
.hero-media { position: relative; display: flex; justify-content: center; }
.hero-media::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%;
  background: var(--olive-tint); border-radius: 28px; z-index: 0;
}
.hero-media img {
  position: relative; z-index: 1;
  width: auto; max-width: 100%;
  max-height: min(640px, 78vh);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 859px) {
  .hero-media img { max-height: 70vh; }
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.step img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.step-body { padding: 1.25rem 1.35rem 1.5rem; }
.step-num {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem;
  border-radius: 50%; background: var(--tote); color: var(--ink); font-weight: 700; font-size: 0.9rem;
  margin-bottom: 0.7rem;
}
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); }

/* ---------- Feature strip ---------- */
.features { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 1.4rem 1.4rem 1.5rem; background: var(--sand); border-radius: var(--radius); }
.feature svg { width: 30px; height: 30px; color: var(--olive); margin-bottom: 0.8rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.feature p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Split (text + image) ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split figure { margin: 0; }
.split figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split .btn { margin-top: 0.5rem; }

/* ---------- Packages ---------- */
.packages { display: grid; gap: 1.5rem; }
@media (min-width: 840px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.package {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.package:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.package--featured { border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-tint), var(--shadow); }
.package-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  background: var(--tote); color: var(--ink); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px;
}
.package img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.package-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.package-fit { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); margin-bottom: 0.4rem; }
.package h3 { margin-bottom: 0.4rem; }
.package-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; line-height: 1; margin: 0.4rem 0 0.15rem; }
.package-term { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.package-desc { color: var(--ink-soft); margin-bottom: 1rem; }
.package-includes { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 0.45rem; font-size: 0.97rem; }
.package-includes li { display: flex; gap: 0.55rem; align-items: flex-start; }
.package-includes svg { width: 1.15em; height: 1.15em; flex: none; color: var(--olive); margin-top: 0.2em; }
.package .btn { margin-top: auto; width: 100%; }

.price-notes { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .price-notes { grid-template-columns: repeat(3, 1fr); } }
.price-note { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.price-note strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: 0.2rem; }
.price-note span { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.6rem 1.5rem;
  border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.stars { display: inline-flex; gap: 2px; color: var(--tote); margin-bottom: 0.9rem; }
.stars svg { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 1rem; font-size: 1.02rem; color: var(--ink-soft); flex: 1; }
.testimonial blockquote p::before { content: "\201C"; }
.testimonial blockquote p::after { content: "\201D"; }
.testimonial figcaption { font-weight: 700; }
.testimonial figcaption span { display: block; font-weight: 400; color: var(--ink-muted); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; max-width: 820px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%;
  width: 10px; height: 10px; border-right: 2px solid var(--olive); border-bottom: 2px solid var(--olive);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--olive-deep); }
.faq-item p { padding: 0 1.25rem 1.2rem; color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--olive); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.86); }
.cta-band .lede { color: rgba(255, 255, 255, 0.86); }
.cta-band a:not(.btn) { color: #fff; }
.cta-band-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .cta-band-grid { grid-template-columns: 1.3fr 1fr; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.contact-list li { display: flex; gap: 0.8rem; align-items: center; }
.contact-list svg { width: 22px; height: 22px; flex: none; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; font-size: 0.85rem; opacity: 0.8; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--sand); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 56ch; }

/* ---------- Reserve / Contact ---------- */
.action-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}
.action-card h2 { font-size: 1.6rem; }
.two-col { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.2fr 0.8fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { width: 1.2em; height: 1.2em; flex: none; color: var(--olive); margin-top: 0.2em; }
.side-card { background: var(--sand); border-radius: var(--radius); padding: 1.6rem; }
.side-card h2, .side-card h3 { font-size: 1.3rem; }
.side-card .contact-list a { color: var(--ink); }
.side-card .contact-list svg { color: var(--olive); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: t; }
.timeline li { position: relative; padding-left: 2.6rem; counter-increment: t; color: var(--ink-soft); }
.timeline li::before {
  content: counter(t); position: absolute; left: 0; top: 0.05rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--olive); color: #fff;
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 700;
}
.timeline strong { color: var(--ink); }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.8rem 0.95rem; border: 1px solid #cfc9be; border-radius: var(--radius-sm); background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-tint); }
.field textarea { min-height: 150px; resize: vertical; }
.field-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status--ok { background: var(--olive-tint); color: var(--olive-deep); }
.form-status--err { background: #fbe7e2; color: #8a3320; }
.form-fine { font-size: 0.88rem; color: var(--ink-muted); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 0.8fr 1.2fr; } }
.about-photo { margin: 0; position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.about-photo figcaption { margin-top: 0.7rem; font-size: 0.9rem; color: var(--ink-muted); }
.about-copy p { font-size: 1.08rem; }
.pull { border-left: 4px solid var(--tote); padding-left: 1.2rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; color: var(--ink); margin: 1.6rem 0; }

/* ---------- Social ---------- */
.social { display: flex; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.social a {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink); background: #fff; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.social a:hover { background: var(--olive); border-color: var(--olive); color: #fff; }
.social svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d6cf; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--tote); }
.footer-grid { display: grid; gap: 2.2rem; padding-bottom: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand span small { color: #a9a49a; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; color: #b8b4ab; }
.site-footer h2 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer .contact-list a { text-decoration: none; }
.site-footer .contact-list svg { color: var(--tote); }
.site-footer .social a { background: transparent; border-color: #3a3a38; color: #fff; }
.site-footer .social a:hover { background: var(--tote); border-color: var(--tote); color: var(--ink); }
.footer-bottom {
  border-top: 1px solid #333330; padding: 1.3rem 0 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.85rem; color: #8f8b82;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b8b4ab; }
[data-ss-credit] { font-size: 0.85rem; color: #8f8b82; }
[data-ss-credit] a { color: #b8b4ab; text-decoration: underline; }
