/* =========================================================
   Goodman Bureau — shared stylesheet
   Plain CSS, mobile-first. One file for every page.

   Visual world: 1920s golden-age-of-travel stationery.
   Marcellus (display) + Work Sans (text); paper / ink /
   Pullman green / brass. One committed light theme, every
   colour painted explicitly.

   Sections: tokens, reset, layout, type, buttons, header,
   hero crest, dividers, media, lists, steps, callout,
   cards, forms, footer, utilities.
   ========================================================= */

/* ---- Design tokens ---------------------------------------- */
:root {
  --cream:     #F1EBDD;   /* paper — base ground             */
  --cream-2:   #EFE8D8;   /* faint panel band               */
  --panel:     #E7DFCB;   /* deeper panel / footer ground   */
  --ink:       #23221C;   /* primary text                   */
  --ink-70:    #4A4536;   /* secondary text                 */
  --ink-50:    #6A6450;   /* muted text / captions          */
  --sage:      #1C3B34;   /* primary accent — Pullman green  */
  --sage-deep: #142B26;   /* green for hovers / deep panels  */
  --brass:     #A97F3D;   /* line-work / ornament accent     */
  --brass-lit: #CBA35C;   /* brass on a green ground         */
  --rule:      #D8CFB8;   /* hairline borders on paper       */

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(3rem, 7vw, 5.5rem);
  --radius: 3px;
  --measure: 63ch;

  --font-display: "Marcellus", "Hoefler Text", Georgia,
    "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset-ish ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a {
  color: var(--sage);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  text-decoration-color: var(--brass);
}
a:hover { color: var(--brass); }
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 1px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Layout helpers ------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}
.section { padding-block: var(--section-y); }
.section--tint  { background: var(--cream-2); }
/* The closing call-to-action on every page: an engraved green plate. */
.section--panel {
  background: var(--sage);
  color: var(--cream);
  border-top: 1px solid var(--brass-lit);
  border-bottom: 1px solid var(--brass-lit);
}
.section--panel h1,
.section--panel h2,
.section--panel h3 { color: var(--cream); }
.section--panel a:not(.btn) { color: var(--brass-lit); }
.section--panel .btn--primary {
  background: var(--cream);
  color: var(--sage);
  border-color: var(--cream);
}
.section--panel .btn--primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--sage-deep);
}
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1rem; }
.center { text-align: center; }
.stack > * + *    { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }
.lead {
  font-size: clamp(1.12rem, 0.6vw + 1rem, 1.35rem);
  line-height: 1.6;
  color: var(--ink-70);
}
.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
}
.section--panel .eyebrow { color: var(--brass-lit); }

/* ---- Typography --------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4vw + 1rem, 3.4rem); }
h2 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2.3rem);
  color: var(--sage);
}
h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); }
h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ---- Buttons ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.7em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, text-decoration-color 0.18s ease;
}
.btn--primary {
  background: var(--sage);
  color: var(--cream);
  border-color: var(--sage);
}
.btn--primary:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: var(--cream);
}
/* Ghost = a quiet text link with a brass underline (hero only). */
.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--sage);
  padding: 0.9em 0.2em;
  border-radius: 0;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
}
.btn--ghost:hover { color: var(--sage-deep); text-decoration-color: var(--sage); }
.btn--ghost span { color: var(--brass); }
.btn--sm { padding: 0.62em 1.15em; font-size: 0.85rem; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.75rem;
}

/* ---- Skip link -------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sage);
  color: var(--cream);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---- Header / nav ---------------------------------- */
.site-header { border-bottom: 1px solid var(--brass); background: var(--cream); }
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 72px;
}
.brand {
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-decoration: none;
}

.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); }
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: 0;
}
.primary-nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-50);
  text-decoration: none;
  padding-block: 0.4rem;
}
.primary-nav a:hover { color: var(--sage); }
.primary-nav a[aria-current="page"] {
  color: var(--sage);
  box-shadow: inset 0 -2px 0 var(--brass);
}
.primary-nav .btn--primary,
.primary-nav .btn--primary:hover { color: var(--cream); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 55.99em) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--brass);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
    z-index: 50;
  }
  .site-header[data-nav-open="true"] .primary-nav { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .primary-nav li { border-bottom: 1px solid var(--rule); }
  .primary-nav ul a { display: block; padding: 0.95rem 0; font-size: 0.82rem; }
  .primary-nav a[aria-current="page"] { box-shadow: none; }
  .primary-nav .btn { margin-top: 1.1rem; align-self: flex-start; }
}

/* ---- Hero crest (home) ----------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  text-align: center;
  /* Poster: shown until the clip plays, and whenever it doesn't
     (reduced motion, blocked autoplay, no JS). */
  background: var(--panel) url("assets/hero-amsterdam.jpg") center 42% / cover no-repeat;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero.is-playing .hero__video { opacity: 1; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* A soft green vignette so the footage settles behind the stationery
     card without the old cream wash. */
  background:
    radial-gradient(62% 58% at 50% 46%, rgba(20, 43, 38, 0) 0%, rgba(20, 43, 38, 0.34) 100%),
    linear-gradient(rgba(20, 43, 38, 0.14), rgba(20, 43, 38, 0.32));
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
.hero .container { position: relative; z-index: 2; }
.crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3.5rem);
  background: rgba(241, 235, 221, 0.82);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(169, 127, 62, 0.55);
  border-radius: var(--radius);
}
.crest__mark { color: var(--brass); width: 88px; height: auto; }
.crest .eyebrow { color: var(--ink-50); }
.wordmark-lg {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  letter-spacing: clamp(0.1em, 1vw, 0.24em);
  line-height: 1.05;
  color: var(--ink);
}
.rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(340px, 70%);
  color: var(--brass);
  margin-block: 0.3rem 1.4rem;
}
.rule::before,
.rule::after {
  content: "";
  flex: 1;
  height: 3px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.rule i { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw + 0.6rem, 2.05rem);
  line-height: 1.34;
  color: var(--ink-70);
  max-width: 30ch;
  margin-inline: auto;
}
.hero .btn-row { justify-content: center; margin-top: 0.6rem; }

/* ---- Divider ornament ------------------------------ */
.flourish {
  display: flex;
  justify-content: center;
  color: var(--brass);
  margin-block: clamp(2.25rem, 5vw, 3.5rem);
}
.flourish svg { width: 200px; height: auto; }
.flourish--tight { margin-block: clamp(1.25rem, 3vw, 1.75rem); }

/* ---- Real photo slots ------------------------------ */
.portrait-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  background: var(--panel);
}
.portrait-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.portrait-media--scene img { object-position: center 45%; }

.wide-media {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  background: var(--panel);
}
.wide-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Two-column text + media row ------------------- */
.feature-row {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 56em) {
  .feature-row { grid-template-columns: 0.9fr 1.1fr; }
  .feature-row > .feature-row__media { order: 1; }
  .feature-row > .feature-row__text { order: 2; }
}

/* ---- Lists with a brass lozenge marker ------------- */
.leaf-list { list-style: none; padding: 0; }
.leaf-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-block: 0.7rem;
  max-width: 64ch;
}
.leaf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--brass);
  transform: rotate(45deg);
}
.section--panel .leaf-list li::before { background: var(--brass-lit); }

/* ---- Steps --------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.25rem;
}
.steps li {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.35rem);
  color: var(--ink);
}
.steps li:not(:last-child)::after {
  content: "\2192";
  margin-inline: 0.75rem 0.25rem;
  color: var(--brass);
  font-family: var(--font-body);
}

/* ---- Callout / pull-quote ------------------------ */
.callout {
  max-width: 62ch;
  margin-inline: auto;
  border-left: 2px solid var(--brass);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--cream-2);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem);
  line-height: 1.42;
  color: var(--ink);
}
.callout cite {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* ---- Cards / grid ------------------------------- */
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 48em) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--cream-2);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.card--price .amount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5vw + 1.4rem, 2.5rem);
  color: var(--sage);
  line-height: 1;
  margin: 0.4rem 0 0.75rem;
}

.note-panel {
  background: var(--cream-2);
  border-top: 2px solid var(--brass);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 68ch;
}

/* ---- Forms ------------------------------------- */
.form { max-width: 34rem; }
.form p { margin-bottom: 1.1rem; }
.form label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.form input,
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream-2);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--sage);
}
.form textarea { min-height: 170px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.optional { color: var(--ink-50); font-weight: 400; }

/* ---- Footer ----------------------------------- */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--brass);
  color: var(--ink-50);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
}
.site-footer a { color: var(--sage); text-decoration: none; }
.site-footer a:hover { color: var(--brass); text-decoration: underline; }
.site-footer__flourish {
  display: flex;
  justify-content: center;
  color: var(--brass);
  margin-bottom: 2rem;
}
.site-footer__flourish svg { width: 180px; }
.site-footer__grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 40em) {
  .site-footer__grid { grid-template-columns: 1fr auto; }
}
.site-footer .wordmark {
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--ink);
  display: inline-block;
  margin-bottom: 0.5rem;
}
.site-footer nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer .fineprint {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* ---- Utilities ------------------------------- */
.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;
}
