/* Common Carbon Travel: site styles
   Tokens follow Brand Guidelines v1.0 (Deep Plum primary palette, Cormorant Garamond + Figtree).
   Rules carried from the guidelines:
   - ~60% light neutrals, 30% plum, 10% gold accents
   - Warm Gold is never text or an icon on Stone or White (1.8:1 / 2.0:1)
   - Cormorant only at 22px and larger
   - The thin gold rule is the brand's one decorative device
   - No gradients, glows or drop shadows in brand graphics */

:root {
  --plum: #3D2850;
  --plum-deep: #2E1D3D;      /* plum darkened ~25% for hover states only */
  --gold: #D6B07A;
  --gold-soft: #E6CDA6;      /* hover on gold buttons */
  --stone: #F4F1EC;
  --stone-2: #EAE5DD;        /* a second neutral step for alternating bands */
  --ink: #221B29;
  --ink-75: rgba(34, 27, 41, 0.75);
  --white: #FFFFFF;
  --line: rgba(34, 27, 41, 0.14);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --measure: 34rem;          /* ~66 characters of body text */
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4.5rem, 9vw, 8rem);
  --radius-tile: 5%;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
.on-plum :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold); }

.skip-link { position: absolute; left: var(--gutter); top: -4rem; z-index: 100; background: var(--plum); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 0.75rem; color: var(--white); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type scale (guidelines: Title 56, Subtitle 30, Heading 28, Subheading 20, Body 16, Quote 26, Caption 12) ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
.t-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 3.5rem); line-height: 1.1; letter-spacing: -0.005em; }
.t-display { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 8.2vw, 6.25rem); line-height: 1.02; letter-spacing: -0.01em; }
.t-subtitle { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.25; color: var(--plum); }
.t-heading { font-family: var(--sans); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 1.75rem); line-height: 1.25; }
.t-subheading { font-family: var(--sans); font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: var(--plum); }
.t-label { font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.08em; color: var(--plum); margin: 0 0 var(--space-2); }
.t-quote { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(1.625rem, 3vw, 2.125rem); line-height: 1.3; }
.t-lead { font-size: 1.1875rem; line-height: 1.6; max-width: var(--measure); }
.t-caption { font-size: 0.75rem; line-height: 1.4; color: var(--ink-75); }
p { margin: 0 0 var(--space-2); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

/* The brand's one decorative device: a 3px Warm Gold rule above a title or tagline */
.rule::before { content: ""; display: block; width: 3rem; height: 3px; background: var(--gold); margin-bottom: var(--space-3); }
.rule-on-light::before { background: var(--plum); } /* gold fails contrast on Stone, so the device turns plum on light grounds */

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }
.band-2 { background: var(--stone-2); }
.on-plum { background: var(--plum); color: var(--white); }
.on-plum h1, .on-plum h2, .on-plum h3 { color: var(--white); }
.on-plum .t-label, .on-plum .t-subtitle { color: var(--gold); }
.on-plum a { color: var(--gold); }
.on-plum a:hover { color: var(--white); }
.stack > * + * { margin-top: var(--space-3); }

.split { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .split--wide-text { grid-template-columns: 7fr 5fr; }
  .split--flip > :first-child { order: 2; }
}
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--stone-2); }
.photo--wide img { aspect-ratio: 3 / 2; }
.photo figcaption { margin-top: 0.5rem; font-size: 0.75rem; color: var(--ink-75); }
.photo figcaption a { color: inherit; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.875rem; padding: 0.7rem 1.4rem; border-radius: 999px; font: 600 0.9375rem/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--plum-deep); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: var(--white); border-color: var(--plum); }
.on-plum .btn-ghost, .hero .btn-ghost { color: var(--white); }
.on-plum .btn-ghost:hover, .hero .btn-ghost:hover { background: var(--white); color: var(--plum); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-4); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--stone); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 4.75rem; }
.lockup { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink); }
.lockup:hover { color: var(--ink); }
.lockup img { width: 2.75rem; height: 2.75rem; flex: none; }
.lockup-text { display: flex; flex-direction: column; line-height: 1.15; }
.lockup-name { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.005em; }
.lockup-descriptor { font-weight: 400; font-size: 0.6875rem; color: var(--ink-75); margin-top: 0.15rem; } /* ~60% of the name */
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; padding: 0.5rem 0; border-bottom: 1.5px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--plum); color: var(--plum); }
.nav-toggle { display: none; }
@media (max-width: 64rem) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.55rem 1rem; font: 600 0.875rem var(--sans); color: var(--ink); cursor: pointer; min-height: 2.75rem; }
  .nav { position: absolute; inset: 100% 0 auto 0; background: var(--stone); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) var(--space-3); display: none; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: var(--space-2); }
  .lockup-descriptor { display: none; }
}
@media (max-width: 64rem) and (min-width: 30rem) { .lockup-descriptor { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 52rem); display: flex; align-items: flex-end; color: var(--white); background: var(--plum); overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero img.hero-img { width: 100%; height: 100%; object-fit: cover; }
/* A flat scrim (no gradient) under the text block keeps white type above 4.5:1 on any photo */
.hero-panel { position: relative; width: 100%; padding-block: var(--space-6) var(--space-5); }
.hero-text { max-width: 44rem; background: rgba(34, 27, 41, 0.62); padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius); }
.hero h1, .hero .t-display { color: var(--white); }
.hero p { color: var(--white); font-size: 1.0625rem; max-width: 36rem; }
.hero .rule::before { background: var(--gold); }
.hero-credit { position: absolute; right: var(--gutter); bottom: 0.75rem; font-size: 0.6875rem; color: rgba(255,255,255,.85); background: rgba(34,27,41,.55); padding: 0.15rem 0.5rem; border-radius: 3px; }
.hero-credit a { color: inherit; }

.page-hero { padding-block: var(--space-6) var(--space-5); }
.page-hero .t-title { max-width: 18ch; }
.page-hero .t-lead { margin-top: var(--space-3); }
.page-hero--photo .split { align-items: end; }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (min-width: 48rem) { .pillars { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.pillar { border-top: 1px solid var(--line); padding-top: var(--space-3); }
.pillar .icon { width: 2.25rem; height: 2.25rem; color: var(--plum); margin-bottom: var(--space-2); }
.pillar h3 { margin-bottom: 0.5rem; }

/* ---------- Promise band ---------- */
.promise { display: grid; gap: var(--space-5); }
@media (min-width: 56rem) { .promise { grid-template-columns: 5fr 6fr; align-items: start; } }
.signature { margin-top: var(--space-3); font-weight: 500; color: var(--gold); }
.commitments { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.commitments li { border-top: 1px solid rgba(255,255,255,.22); padding-top: var(--space-2); }
.commitments strong { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--white); margin-bottom: 0.25rem; }
.commitments span { color: rgba(255,255,255,.88); }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; counter-reset: step; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(5, 1fr); gap: var(--space-3); } }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: var(--space-2); }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2.25rem; line-height: 1; color: var(--plum); margin-bottom: 0.75rem; }
.steps h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.35rem; }
.steps p { font-size: 0.9375rem; }

/* ---------- Trip rows ---------- */
.trip + .trip { margin-top: var(--space-6); }
.trip h2 { margin-bottom: var(--space-2); }
.trip ul { padding-left: 1.1rem; margin: var(--space-2) 0 0; max-width: var(--measure); }
.trip li + li { margin-top: 0.35rem; }

/* ---------- Checklist and plain lists ---------- */
.check { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: 0.85rem; max-width: 40rem; }
.check li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; }
.check svg { width: 1.25rem; height: 1.25rem; color: var(--plum); margin-top: 0.2rem; }
.on-plum .check svg { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--space-4); max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.25rem; top: 50%; width: 0.7rem; height: 0.7rem; border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 1.25rem; }

/* ---------- Element tile (About page: the name's story, drawn once) ---------- */
.element-tile { width: min(16rem, 70%); aspect-ratio: 1; background: var(--plum); color: var(--white); border-radius: var(--radius-tile); display: grid; place-items: center; position: relative; }
.element-tile img { width: 100%; height: 100%; }
.element-tile figcaption { position: absolute; left: 0; right: 0; bottom: -2.25rem; text-align: center; color: var(--ink-75); font-size: 0.875rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band .t-title { max-width: 20ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-3); max-width: 44rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.form legend { padding: 0; margin-bottom: var(--space-2); font-weight: 600; font-size: 1.25rem; color: var(--plum); }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; gap: var(--space-3); }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
label, .label { font-weight: 600; font-size: 0.9375rem; }
.hint { font-size: 0.875rem; color: var(--ink-75); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--white);
  border: 1.5px solid rgba(34,27,41,.35); border-radius: var(--radius); padding: 0.75rem 0.85rem; min-height: 2.875rem;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 400; min-height: 2.75rem; }
.choices input { width: 1.15rem; height: 1.15rem; accent-color: var(--plum); }
.notice { border-left: 3px solid var(--plum); background: var(--white); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: 44rem; }
.notice[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 500; }
.newsletter { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: 30rem; }
.newsletter input[type="email"] { flex: 1 1 14rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: rgba(255,255,255,.88); padding-block: var(--space-5) var(--space-4); font-size: 0.9375rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: var(--space-4); }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer-brand img { width: 3rem; height: 3rem; margin-bottom: var(--space-2); }
.footer-brand .footer-name { font-weight: 600; color: var(--white); font-size: 1.125rem; margin: 0; }
.footer-brand .footer-desc { font-size: 0.8125rem; margin: 0.15rem 0 var(--space-3); }
.footer-tagline { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--white); margin: 0 0 var(--space-3); }
.site-footer h2 { font: 600 0.9375rem var(--sans); color: var(--gold); margin-bottom: var(--space-2); letter-spacing: 0.02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-legal { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,.2); font-size: 0.8125rem; display: grid; gap: 0.5rem; }
.footer-legal p { max-width: none; }
.site-footer label { color: var(--white); }
.site-footer input[type="email"] { border-color: transparent; }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; }
.legal h2 { font: 600 1.375rem/1.3 var(--sans); margin: var(--space-5) 0 var(--space-2); }
.legal h3 { font: 600 1.0625rem/1.35 var(--sans); margin: var(--space-3) 0 var(--space-1); }
.legal p, .legal li { max-width: none; }
.legal table { width: 100%; border-collapse: collapse; margin: var(--space-2) 0 var(--space-3); font-size: 0.9375rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); min-width: 10rem; }
.legal th { font-weight: 600; background: var(--stone-2); }
.legal blockquote { margin: var(--space-2) 0; padding: 0.75rem 1.25rem; border-left: 3px solid var(--plum); background: var(--white); }
.legal .meta { color: var(--ink-75); font-size: 0.9375rem; }
.draft-flag { display: inline-block; background: var(--white); border: 1.5px dashed var(--plum); color: var(--plum); padding: 0.4rem 0.8rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; }

/* ---------- Three ways (photo over text, no card chrome) ---------- */
.ways { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 52rem) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way a.way-link { text-decoration: none; color: inherit; display: block; }
.way img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); background: var(--stone-2); }
.way h3 { margin: var(--space-2) 0 0.4rem; }
.way .more { font-weight: 600; color: var(--plum); text-decoration: underline; text-underline-offset: .2em; }
.way a.way-link:hover .more { color: var(--ink); }

/* ---------- Jump links ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-3); padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .9375rem; }
.jump a:hover { border-color: var(--plum); color: var(--plum); }

/* ---------- Small grids ---------- */
.grid-2 { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 48rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-4 { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
@media (min-width: 40rem) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.item { border-top: 1px solid var(--line); padding-top: var(--space-2); }
.item h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.subtitle-line { margin-top: var(--space-2); }

/* Who-hosts tags */
.tags { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: .75rem; }
@media (min-width: 48rem) { .tags { grid-template-columns: 1fr 1fr; } }
.tags li { background: var(--white); border-radius: var(--radius); padding: 1rem 1.25rem; }
.tags strong { display: block; color: var(--plum); }

/* A quiet boxed note */
.aside-note { background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; max-width: 46rem; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; }
.contact-card dl { margin: 1rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .9375rem; }
.contact-card dt { font-weight: 600; }
.contact-card dd { margin: 0; }
.planning-layout { display: grid; gap: var(--space-5); }
@media (min-width: 64rem) { .planning-layout { grid-template-columns: 7fr 4fr; align-items: start; } .planning-layout aside { position: sticky; top: 6rem; } }

/* Signature card */
.signature-card { border-top: 3px solid var(--plum); background: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 0 0 var(--radius) var(--radius); max-width: 46rem; }

/* Buttons keep their own colors inside plum sections and the footer */
.on-plum a.btn-gold, .site-footer a.btn-gold, .hero a.btn-gold { color: var(--ink); }
.on-plum a.btn-gold:hover, .hero a.btn-gold:hover { color: var(--ink); background: var(--gold-soft); }
.on-plum a.btn-ghost, .hero a.btn-ghost { color: var(--white); }
.on-plum a.btn-ghost:hover, .hero a.btn-ghost:hover { color: var(--plum); }
