/* ============================================================
   French Detours — shared stylesheet
   Multi-page site. Edit design tokens once here; they apply
   across every page. Component classes replace the inline
   styles and non-standard style-hover attributes used in the
   original single-page prototype.
   ============================================================ */

/* ---- Design tokens ------------------------------------------------ */
:root {
  --ink:        #1D3557;   /* deep French blue          */
  --night:      #12191C;   /* near-black                */
  --cream:      #F9F5EC;   /* page background           */
  --cream-2:    #F3ECE0;   /* alt light background      */
  --taupe:      #E9E3D6;   /* warm neutral              */
  --taupe-2:    #EEE6D9;
  --sand:       #E6C9A0;   /* gold accent (on dark)     */
  --terracotta: #8C5527;   /* primary accent (on light) */
  --terracotta-hi: #B8783A;
  --terracotta-dk: #6F411C;
  --body:       #4C565A;   /* body text on light        */
  --muted:      #5B6C78;
  --blue-mist:  #8EA3B4;   /* muted text on dark        */
  --blue-mist-2:#A9BDD0;
  --line-light: #DCD3C4;
  --line-cream: #EBE3D4;

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, sans-serif;
  --mono:  'IBM Plex Mono', monospace;

  --header-h: 74px;
  --maxw: 1240px;
}

/* ---- Reset / base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--cream);
  color: #1A2427;
  font-family: var(--sans);
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--terracotta-hi); }
:focus-visible { outline: 2px solid var(--terracotta-hi); outline-offset: 4px; }
::selection { background: var(--sand); color: var(--night); }

@keyframes fdrise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Interior pages (everything except the home hero) push content
   below the fixed header. Home leaves the hero under it. */
body.has-hero { --pad-top: 0px; }
body:not(.has-hero) main { padding-top: var(--header-h); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 12px 18px; font-family: var(--mono); font-size: 12px;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--cream); }

/* ---- Layout helpers ---------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(20px, 4vw, 64px); }
.container.wide   { max-width: 1440px; }
.container.narrow { max-width: 1000px; }
.container.slim   { max-width: 880px; }

.section       { padding-block: clamp(72px, 9vw, 132px); padding-inline: clamp(20px, 4vw, 64px); }
.section.tight { padding-block: clamp(64px, 8vw, 116px); }

.bg-cream  { background: var(--cream);   color: #1A2427; }
.bg-cream2 { background: var(--cream-2); }
.bg-taupe  { background: var(--taupe); }
.bg-taupe2 { background: var(--taupe-2); }
.bg-ink    { background: var(--ink);   color: var(--cream-2); }
.bg-night  { background: var(--night); color: var(--cream-2); }

/* ---- Typography --------------------------------------------------- */
.eyebrow {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 18px; color: var(--terracotta);
}
.bg-ink .eyebrow, .bg-night .eyebrow { color: var(--sand); }

.display {
  font-family: var(--serif); font-weight: 300; line-height: 1.06;
  color: var(--ink); text-wrap: balance; letter-spacing: -0.005em;
  font-size: clamp(38px, 4.8vw, 68px);
}
.h2 {
  font-family: var(--serif); font-weight: 300; line-height: 1.1;
  color: var(--ink); text-wrap: balance; font-size: clamp(32px, 4vw, 54px);
}
.h2.sm { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.14; }
.h3 { font-family: var(--serif); font-weight: 300; line-height: 1.15; color: var(--ink); font-size: 28px; }
.bg-ink .display, .bg-ink .h2, .bg-ink .h3,
.bg-night .display, .bg-night .h2, .bg-night .h3 { color: var(--cream); }

.lead { font-size: 17px; line-height: 1.75; color: var(--body); text-wrap: pretty; }
.body { font-size: 16.5px; line-height: 1.75; color: var(--body); text-wrap: pretty; }
.small { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.note  { font-family: var(--sans); font-size: 12.5px; font-style: italic; color: #8C9599; }
.bg-ink .lead, .bg-ink .body, .bg-night .lead, .bg-night .body { color: #C9D3D8; }
.bg-ink .small, .bg-night .small { color: var(--blue-mist-2); }

.serif-quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  line-height: 1.5; color: var(--ink); text-wrap: pretty;
}
.bg-ink .serif-quote, .bg-night .serif-quote { color: var(--sand); }

/* ---- Buttons & links --------------------------------------------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 15px;
  padding: 14px 26px; border-radius: 3px; cursor: pointer; border: 0;
  transition: background .35s ease, transform .35s ease, color .3s ease;
}
.btn--primary { background: var(--terracotta); color: #FDFBF6; }
.btn--primary:hover { background: var(--terracotta-dk); color: #FDFBF6; transform: translateY(-1px); }
.btn--sand { background: var(--sand); color: var(--night); }
.btn--sand:hover { background: var(--terracotta-hi); color: var(--cream); transform: translateY(-1px); }

.link-underline {
  display: inline-block; font-family: var(--sans); font-size: 14.5px;
  color: var(--ink); border-bottom: 1px solid var(--terracotta-hi);
  padding-bottom: 6px; transition: color .3s ease, border-color .3s ease;
}
.link-underline:hover { color: var(--terracotta); border-color: var(--terracotta); }
.bg-ink .link-underline, .bg-night .link-underline { color: var(--cream); border-color: var(--terracotta-hi); }
.bg-ink .link-underline:hover, .bg-night .link-underline:hover { color: var(--sand); border-color: var(--sand); }

/* ---- Header / navigation ----------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; color: #FBF7EE;
  transition: color .4s ease;
}
.site-header__bg {
  position: absolute; inset: 0; opacity: 0;
  background: rgba(246,241,230,0.94);
  border-bottom: 1px solid #EAE1CF;
  backdrop-filter: saturate(130%) blur(7px);
  transition: opacity .4s ease;
}
.site-header.is-solid { color: var(--ink); }
.site-header.is-solid .site-header__bg { opacity: 1; }

.site-header__inner {
  position: relative; max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; color: inherit; }
.brand__mark { width: auto; height: 34px; object-fit: contain; display: block; filter: brightness(0) invert(1); transition: filter .4s ease; }
.site-header.is-solid .brand__mark { filter: none; }
.brand__word {
  font-family: var(--serif); font-weight: 300; font-size: 12px;
  letter-spacing: 0.24em; color: inherit; padding-left: 0.24em;
  line-height: 1.55; opacity: 0.9;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); flex-wrap: nowrap; white-space: nowrap; }
.nav a {
  font-family: var(--sans); font-size: 14.5px; color: inherit; opacity: 0.78;
  transition: opacity .3s ease, color .3s ease;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--terracotta-hi); }
.site-header.is-solid .nav a:hover, .site-header.is-solid .nav a[aria-current="page"] { color: var(--terracotta); }
.nav a.nav-cta { border-bottom: 1px solid currentColor; padding-bottom: 3px; opacity: 0.9; }
.nav a.nav-cta:hover { color: inherit; border-color: var(--terracotta-hi); }

/* mobile toggle + menu */
.nav-toggle {
  display: none; background: transparent; border: 1px solid currentColor;
  border-radius: 4px; color: inherit; opacity: 0.85; font-family: var(--sans);
  font-size: 14px; padding: 9px 15px; cursor: pointer;
}
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--cream); border-top: 1px solid var(--line-cream);
  padding: 26px clamp(20px, 4vw, 64px) 32px;
  flex-direction: column; align-items: flex-start; gap: 20px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-family: var(--sans); font-size: 16px; color: var(--ink); }
.mobile-menu a:hover { color: var(--terracotta); }
.mobile-menu a.nav-cta {
  color: #FDFBF6; background: var(--terracotta); border-radius: 3px;
  padding: 14px 20px; align-self: stretch; text-align: center; font-size: 15px;
}
.mobile-menu a.nav-cta:hover { background: var(--terracotta-dk); color: #FDFBF6; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
}

/* ---- Hero (home) -------------------------------------------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; background: #241C13; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.hero__scrim-1 { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(24,23,26,0.88) 0%, rgba(24,23,26,0.82) 35%, rgba(24,23,26,0.68) 53%, rgba(24,23,26,0.24) 76%, rgba(24,23,26,0.20) 100%); }
.hero__scrim-2 { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(29,53,87,0) 54%, rgba(29,53,87,0.12) 68%, rgba(29,53,87,0.48) 86%, var(--ink) 100%); }
.hero__inner { position: relative; width: 100%; max-width: 1440px; margin: 0 auto; padding: clamp(124px,17vh,190px) clamp(20px,4vw,64px) clamp(56px,7vw,94px); }
.hero__content { max-width: 720px; animation: fdrise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero__eyebrow { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 18px; color: var(--sand); }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px,4.8vw,68px); line-height: 1.06; color: #FBF7EE; margin-top: 20px; text-wrap: balance; letter-spacing: -0.005em; }
.hero__lead { font-size: 17.5px; line-height: 1.72; color: #E4DCCC; margin-top: 24px; max-width: 570px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 34px; }
.hero__actions .ghost { font-family: var(--sans); font-size: 15px; color: #FBF7EE; border-bottom: 1px solid rgba(251,247,238,0.45); padding-bottom: 3px; transition: border-color .3s ease, color .3s ease; }
.hero__actions .ghost:hover { color: var(--sand); border-color: var(--sand); }
.hero__tagline { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 17px; line-height: 1.5; color: #DCD1BC; margin-top: clamp(40px,6vw,72px); }

/* Interior page banner (small hero for sub-pages) */
.page-banner { position: relative; background: var(--ink); color: var(--cream); padding: clamp(120px,16vh,176px) clamp(20px,4vw,64px) clamp(52px,7vw,84px); overflow: hidden; }
.page-banner__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.page-banner h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px,4.6vw,62px); line-height: 1.08; color: var(--cream); margin-top: 18px; text-wrap: balance; }
.page-banner p { font-size: 17px; line-height: 1.72; color: var(--blue-mist-2); margin-top: 20px; max-width: 560px; text-wrap: pretty; }

/* ---- Generic split layout ---------------------------------------- */
.split { display: flex; flex-wrap: wrap; gap: clamp(36px,6vw,88px); align-items: center; }
.split.top { align-items: flex-start; }
.split > .media { flex: 1 1 500px; min-width: 300px; overflow: hidden; }
.split > .copy  { flex: 1 1 430px; min-width: 280px; }
.arch { -webkit-mask-image: url(img/arch-mask.svg); -webkit-mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-image: url(img/arch-mask.svg); mask-size: 100% 100%; mask-repeat: no-repeat; }
.zoom-img { display: block; width: 100%; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.media:hover .zoom-img, .zoom-wrap:hover .zoom-img { transform: scale(1.05); }
.zoom-wrap { overflow: hidden; }

/* ---- Journeys (Travel with Us) ----------------------------------- */
.journeys-head { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; padding-bottom: 34px; border-bottom: 1px solid rgba(243,236,224,0.22); }
.journey-feature { display: flex; flex-wrap: wrap; gap: clamp(30px,4vw,64px); margin-top: clamp(40px,5vw,68px); align-items: stretch; }
.journey-feature .media { flex: 1 1 540px; min-width: 300px; overflow: hidden; }
.journey-feature .media img { width: 100%; height: clamp(340px,42vw,540px); object-fit: cover; }
.journey-feature .copy { flex: 1 1 390px; min-width: 280px; display: flex; flex-direction: column; }
.journey-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(28px,3vw,42px); margin-top: clamp(56px,7vw,92px); align-items: start; }
.journey-card { border-top: 1px solid rgba(243,236,224,0.28); padding-top: 24px; }
.journey-card img { width: 100%; height: 260px; object-fit: cover; }
.journey-card .placeholder { height: 260px; display: flex; align-items: center; justify-content: center; background: rgba(243,236,224,0.08); border: 1px solid rgba(243,236,224,0.12); color: var(--blue-mist); font-family: var(--serif); font-style: italic; font-size: 17px; }
.kicker { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 16px; color: var(--sand); }

details.trip { margin-top: 24px; padding: 18px 0; border-top: 1px solid rgba(243,236,224,0.22); border-bottom: 1px solid rgba(243,236,224,0.22); }
details.trip summary { cursor: pointer; font-family: var(--sans); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sand); }
details.trip dl { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(130px,1fr)); gap: 18px 24px; }
details.trip dt { font-size: 11px; text-transform: uppercase; color: var(--blue-mist); }
details.trip dd { margin: 6px 0 0; color: var(--cream-2); }

/* ---- The Craft (five ways) --------------------------------------- */
.craft-row { display: flex; flex-wrap: wrap; gap: clamp(20px,4vw,56px); align-items: center; padding: clamp(28px,3vw,42px) 0; border-top: 1px solid var(--line-light); }
.craft-row:last-child { border-bottom: 1px solid var(--line-light); }
.craft-row .num { flex: 0 0 auto; width: 52px; font-family: var(--serif); font-size: 21px; color: var(--terracotta); }
.craft-row .name { flex: 0 1 300px; min-width: 210px; }
.craft-row .name .label { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #8C9599; }
.craft-row .name h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px,3vw,40px); color: var(--ink); margin-top: 8px; }
.craft-row .desc { flex: 1 1 360px; min-width: 260px; font-size: 16.5px; line-height: 1.75; color: var(--body); }
.craft-row .desc em { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); }
.craft-row .thumb { width: 170px; height: 120px; object-fit: cover; display: block; }
.say-btn { display: inline-flex; align-items: center; gap: 9px; margin-top: 11px; background: rgba(184,120,58,0.10); border: 0; border-radius: 3px; padding: 7px 13px 7px 11px; cursor: pointer; color: #6F614C; font-family: var(--serif); font-style: italic; font-size: 14.5px; }
.say-btn:hover { background: rgba(184,120,58,0.18); }
.say-btn .tri { width: 0; height: 0; border-left: 7px solid var(--terracotta); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* ---- The difference comparison ----------------------------------- */
.difference-grid { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 18px clamp(20px,4vw,56px); margin-top: clamp(46px,5vw,72px); align-items: center; }
.difference-grid .from { text-align: right; font-family: var(--serif); font-size: clamp(20px,2.4vw,29px); line-height: 1.45; color: var(--blue-mist); }
.difference-grid .arrows { font-family: var(--serif); font-size: 24px; line-height: 1.45; color: var(--terracotta-hi); }
.difference-grid .to { font-family: var(--serif); font-size: clamp(20px,2.4vw,29px); line-height: 1.45; color: var(--cream); }

/* ---- Guest-journey timeline -------------------------------------- */
.timeline { display: flex; flex-wrap: wrap; gap: clamp(16px,2vw,28px); margin-top: clamp(44px,5vw,68px); }
.timeline .step { flex: 1 1 210px; border-top: 1px solid #DED2BC; padding-top: 18px; }
.timeline .step:first-child { border-top-color: #C89B62; }
.timeline .step .phase { font-family: var(--sans); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: #8C9599; }
.timeline .step:first-child .phase { color: var(--terracotta); }
.timeline .step .title { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); margin-top: 12px; line-height: 1.3; }
.timeline .step p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin-top: 12px; }

/* ---- Journal cards ----------------------------------------------- */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(24px,3vw,44px); margin-top: 34px; }
.journal-card { cursor: pointer; transition: opacity .3s ease; }
.journal-card:hover { opacity: 0.94; }
.journal-card img { width: 100%; height: 250px; object-fit: cover; }
.journal-card .tag { font-family: var(--sans); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--terracotta); margin-top: 18px; }
.journal-card h3 { font-family: var(--serif); font-weight: 300; font-size: 25px; line-height: 1.2; color: var(--ink); margin-top: 10px; }
.journal-card .story { font-size: 15.5px; line-height: 1.7; color: var(--body); margin-top: 14px; text-wrap: pretty; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .5s ease, opacity .4s ease, margin-top .4s ease; }
.journal-card.is-open .story { max-height: 320px; opacity: 1; }
.journal-card .toggle-label { font-family: var(--sans); font-size: 14px; font-style: italic; color: #8C9599; margin-top: 14px; }

/* ---- Phone mockup (looking ahead) -------------------------------- */
.phone { flex: 0 0 auto; width: 250px; margin: 0 auto; }
.phone__frame { width: 250px; height: 500px; background: var(--night); padding: 9px; border-radius: 26px; }
.phone__screen { width: 100%; height: 100%; background: var(--cream); border-radius: 19px; overflow: hidden; display: flex; flex-direction: column; }
.phone__status { display: flex; justify-content: space-between; padding: 14px 18px 0; font-family: var(--mono); font-size: 9.5px; color: #8C9599; }

/* ---- Contact CTA -------------------------------------------------- */
.cta { position: relative; background: var(--night); padding: clamp(80px,10vw,150px) clamp(20px,4vw,64px); }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta__scrim { position: absolute; inset: 0; background: linear-gradient(rgba(18,25,28,0.72), rgba(18,25,28,0.92)); }
.cta__inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.cta h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px,4.6vw,64px); line-height: 1.08; color: var(--cream); margin-top: 22px; text-wrap: balance; }
.cta p { font-size: 17.5px; line-height: 1.75; color: #C9D3D8; margin-top: 26px; max-width: 560px; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.cta .fineprint { font-size: 14.5px; line-height: 1.7; color: var(--blue-mist); margin-top: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---- Footer ------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--blue-mist-2); padding: clamp(56px,7vw,92px) clamp(20px,4vw,64px) 40px; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: clamp(30px,5vw,80px); justify-content: space-between; }
.site-footer h4 { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-mist); font-weight: 600; }
.site-footer .col-links { display: flex; flex-direction: column; gap: 11px; margin-top: 16px; font-size: 14.5px; }
.site-footer .col-links a { color: #DFE9EF; }
.site-footer .col-links a:hover { color: var(--sand); }
.site-footer p { font-size: 15px; line-height: 1.7; color: var(--blue-mist); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 44px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand span { font-family: var(--serif); font-size: 13px; letter-spacing: 0.3em; color: var(--cream); padding-left: 0.3em; line-height: 1.5; }
.newsletter { display: flex; gap: 0; margin-top: 16px; border-bottom: 1px solid rgba(243,236,224,0.4); }
.newsletter input { flex: 1; background: transparent; border: 0; color: var(--cream-2); font-family: var(--sans); font-size: 14px; padding: 10px 0; outline: none; }
.newsletter button { background: transparent; border: 0; color: var(--sand); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 15px; white-space: nowrap; cursor: pointer; padding: 10px 0 10px 14px; }
.newsletter button:hover { color: var(--cream); }
.social { display: flex; gap: 18px; margin-top: 26px; font-family: var(--sans); font-size: 14px; }
.social a { color: #DFE9EF; }
.social a:hover { color: var(--sand); }
.site-footer__base { margin-top: clamp(40px,5vw,66px); padding-top: 22px; border-top: 1px solid rgba(243,236,224,0.18); display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; font-family: var(--sans); font-size: 12.5px; font-style: italic; color: #5D757C; }

.sr-only { position: absolute; left: -9999px; }

/* ---- Responsive tweaks ------------------------------------------- */
@media (max-width: 520px) {
  .difference-grid { grid-template-columns: 1fr auto 1fr; gap: 9px; }
  .difference-grid .from, .difference-grid .to { font-size: 15px; }
}
