/* Taylor Bespoke Travel — site styles
   Colors and fonts carried over from the original Squarespace design. */

:root {
  --sage: #495a58;        /* headings, buttons */
  --sage-dark: #36433f;
  --ink: #303636;         /* body text */
  --muted: #5d6766;
  --terracotta: #b9775c;  /* accent (darkened from #d4967d for readable text) */
  --terracotta-soft: #d4967d;
  --paper: #f7f5f1;       /* page background */
  --stone: #e9e6e0;       /* alternate sections */
  --line: #d9d4cb;
  --white: #ffffff;

  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "PT Serif", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sage); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--sage);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw + 0.5rem, 4.25rem); }
h2 { font-size: clamp(1.9rem, 2.5vw + 0.75rem, 2.9rem); }
h3 { font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); }
p { margin: 0 0 1.1em; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--sage); color: var(--white); padding: 0.75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.section { padding: var(--section) 0; }
.section--stone { background: var(--stone); }
.section--sage { background: var(--sage); color: #eef1ef; }
.section--sage h2, .section--sage h3 { color: var(--white); }
.center { text-align: center; }
.lead { font-size: 1.15em; color: var(--muted); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.split img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split .tall { aspect-ratio: 4 / 5; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 241, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 1rem;
}
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a {
  font-family: var(--font-display);
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--terracotta); }
.nav .btn { color: var(--white); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 859px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .nav .btn { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .brand img { width: 128px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius);
  background: var(--sage);
  color: var(--white);
  border: 1px solid var(--sage);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); }
.btn--light { background: var(--white); color: var(--sage); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--sage); }
.btn--ghost:hover { background: var(--sage); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.center .btn-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 82vh, 860px);
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28, 34, 33, 0.82) 0%, rgba(28, 34, 33, 0.45) 45%, rgba(28, 34, 33, 0.08) 75%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero h1 { color: var(--white); max-width: 14ch; margin-bottom: 0.35em; }
.hero p { font-size: 1.2em; max-width: 36ch; margin-bottom: 0; }
.hero .eyebrow { color: #f1d2c2; }
.hero--short { min-height: clamp(380px, 56vh, 600px); }

/* ---------- Cards / features ---------- */
.grid-3 { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.feature h3 { margin-bottom: 0.4em; }
.feature .num {
  font-family: var(--font-display);
  color: var(--terracotta);
  font-size: 0.9rem; letter-spacing: 0.18em; display: block; margin-bottom: 0.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); color: inherit; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 1.5rem 1.6rem 1.8rem; }
.card-body h3 { margin-bottom: 0.3em; }
.card-meta { color: var(--terracotta); font-family: var(--font-display); letter-spacing: 0.06em; font-size: 0.95rem; margin-bottom: 0.6rem; }
.card-link { font-family: var(--font-display); color: var(--sage); letter-spacing: 0.06em; }

.credentials {
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: center;
  font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem;
  color: var(--muted);
}

blockquote.pull {
  margin: 0; padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.2rem);
  line-height: 1.35;
  color: var(--sage);
  text-align: center;
}
blockquote.pull cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-size: 1rem; font-style: normal; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band p { max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ---------- Trip pages ---------- */
.trip-hero .meta { font-family: var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 1rem; color: #f1d2c2; }
.highlights { display: grid; gap: 2rem 3rem; }
@media (min-width: 760px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
.highlights h3 { font-size: 1.3rem; }
.highlights h3::before { content: "❋ "; color: var(--terracotta); }

.day { border-top: 1px solid var(--line); padding-top: 2rem; }
.stay-list { list-style: none; padding: 0; margin: 0; }
.stay-list li { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.stay-list li:last-child { border-bottom: 1px solid var(--line); }
.stay-list strong { font-family: var(--font-display); font-weight: normal; color: var(--sage); font-size: 1.1rem; }
.day .when { font-family: var(--font-display); color: var(--terracotta); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; }
.time { font-family: var(--font-display); color: var(--sage); }

.rates { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.rates th, .rates td { padding: 0.85rem 1.25rem; text-align: left; border-bottom: 1px solid var(--stone); }
.rates th { background: var(--sage); color: var(--white); font-family: var(--font-display); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; }
.rates td:last-child, .rates th:last-child { text-align: right; white-space: nowrap; }
.rates tr:nth-child(even) td { background: #faf8f5; }
.fine { font-size: 0.92rem; color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; }
.steps > li { position: relative; padding-left: 3.5rem; }
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0.1rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--sage); color: var(--white);
  font-family: var(--font-display); display: grid; place-items: center;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 0.3em; }

.package {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
}
.package img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.package .card-body { flex: 1; display: flex; flex-direction: column; }
.package .price { font-family: var(--font-display); font-size: 1.8rem; color: var(--terracotta); margin-bottom: 0.6rem; }
.package .btn { margin-top: auto; align-self: flex-start; }
.package .badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--terracotta); color: var(--white);
  font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem;
  padding: 0.35rem 0.7rem; border-radius: 2px;
}
.package.is-sold-out .price { color: var(--muted); text-decoration: line-through; }
.sold-out { font-family: var(--font-display); color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-top: auto; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.checklist li { padding-left: 1.75rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--terracotta); }

figure { margin: 0; }
figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 0.6rem; }

/* ---------- Forms ---------- */
.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-family: var(--font-display); letter-spacing: 0.04em; margin-bottom: 0.35rem; color: var(--sage); }
.field .opt { color: var(--muted); font-family: var(--font-body); font-size: 0.9em; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--terracotta-soft); outline-offset: 0; border-color: var(--terracotta-soft); }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); display: none; }
.form-status.is-ok { display: block; background: #e5efe9; color: #24493a; }
.form-status.is-err { display: block; background: #f6e4dc; color: #7a3b22; }
.form .btn { justify-self: start; }

@media (max-width: 859px) { .contact-photo { display: none; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.6rem; }
.contact-list span { font-family: var(--font-display); color: var(--terracotta); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sage-dark); color: #d7dedb; padding: 4rem 0 2rem; font-size: 0.98rem; }
.site-footer a { color: #f3ede6; }
.site-footer a:hover { color: var(--terracotta-soft); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-logo { width: 170px; margin-bottom: 1.25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.85rem; color: #aebbb7; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
