/* Travel Saltaire — design tokens + styles, recreated from the Claude Design export */

:root {
  --ink: #1B3A4B;
  --ink-deep: #143845;
  --body-secondary: #2C4A59;
  --mist: #DCE3E3;
  --sand: #F3F1EC;
  --sea: #6E8C95;
  --gold: #B89B5E;
  --crystal: #38B6D3;
  --light-1: #C5D2D3;
  --light-2: #9DB2B7;
  --light-3: #5A7480;
  --error: #D8B877;
  --gallery-placeholder: #C8D4D5;
  --hairline: rgba(110, 140, 149, 0.14);
  --hairline-strong: rgba(110, 140, 149, 0.4);
}

html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--sand); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--ink); color: var(--sand); }
::placeholder { color: var(--sea); opacity: 0.6; }
input, textarea, button, select { font-family: inherit; }
input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.container { max-width: 1080px; margin: 0 auto; }

/* ── Rules / eyebrows ──────────────────────────────────────────────────── */
.rule { width: 28px; height: 1px; background: var(--sea); }
.rule-lg { width: 34px; }
.rule-gold { background: var(--gold); }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow-center { justify-content: center; gap: 14px; margin-bottom: 22px; }
.eyebrow-label { font-size: 11.5px; letter-spacing: 0.32em; color: var(--sea); font-weight: 500; }
.eyebrow-light { color: var(--light-2); font-size: 12px; letter-spacing: 0.34em; }
.eyebrow-gold { color: var(--gold); font-size: 12px; letter-spacing: 0.34em; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-block; text-decoration: none; border: none; border-radius: 1px; cursor: pointer; }
.btn-cta { background: var(--crystal); color: var(--ink-deep); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; padding: 16px 40px; transition: background .25s ease; }
.btn-cta:hover { background: #2da3bf; }
.nav-cta { padding: 13px 24px; font-weight: 500; }
.btn-cta-lg { padding: 17px 38px; font-size: 13px; letter-spacing: 0.16em; }
.btn-back { background: transparent; color: var(--light-2); border: none; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; padding: 16px 4px; cursor: pointer; }
.btn-back:disabled { color: rgba(157, 178, 183, 0.3); cursor: default; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 5vw, 64px); background: rgba(243, 241, 236, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.logo { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-main { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 24px; letter-spacing: 0.16em; padding-left: 0.16em; }
.logo-sub-wrap { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.logo-sub { font-size: 8.5px; letter-spacing: 0.42em; color: var(--sea); font-weight: 400; padding-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { text-decoration: none; color: var(--ink); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.nav-link-active { color: var(--crystal); }

@media (max-width: 600px) {
  .nav { padding: 16px 18px; }
  .logo-main { font-size: 19px; }
  .logo-sub { font-size: 7px; letter-spacing: 0.36em; }
  .logo-sub-wrap .rule { width: 11px; }
  .nav-links { gap: 12px; }
  .nav-link { font-size: 10.5px; letter-spacing: 0.06em; }
  .nav-cta { padding: 10px 14px; font-size: 10.5px; letter-spacing: 0.08em; }
}

/* ── Generic page header (About / Deals / Travel Profile) ─────────────────── */
.page-header { padding: 160px clamp(20px, 5vw, 64px) 60px; text-align: center; max-width: 760px; margin: 0 auto; }
.page-header .eyebrow { justify-content: center; margin-bottom: 22px; }
.page-h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(36px, 6vw, 64px); line-height: 1.08; margin: 0 0 18px; color: var(--ink); }
.page-sub { font-size: 17px; line-height: 1.65; font-weight: 300; color: var(--body-secondary); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 140px clamp(20px, 5vw, 64px) 90px; }
.hero-bg { position: absolute; inset: 0; background-color: var(--mist); background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?fm=jpg&q=80&w=2400&auto=format&fit=crop'); background-size: cover; background-position: center 38%; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(243,241,236,0.97) 0%, rgba(243,241,236,0.92) 26%, rgba(243,241,236,0.66) 48%, rgba(243,241,236,0.2) 70%, rgba(243,241,236,0) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 920px; }
.hero-content .eyebrow { margin-bottom: 30px; }
.hero-h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(44px, 8vw, 92px); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 26px; color: var(--ink); text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); line-height: 1.65; font-weight: 300; color: var(--body-secondary); max-width: 560px; margin: 0 0 40px; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 64px); background: var(--sand); }
.section-mist { background: var(--mist); }
.section .eyebrow { margin-bottom: 64px; }
.grid { display: grid; gap: clamp(36px, 5vw, 72px); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 30px; margin: 0 0 16px; line-height: 1.1; }
.body-text { font-size: 16px; line-height: 1.7; font-weight: 300; color: var(--body-secondary); max-width: 30ch; }

.h2-how { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(32px, 4.5vw, 52px); margin: 0 0 64px; line-height: 1.05; max-width: 16ch; }
.step { border-top: 1px solid var(--hairline-strong); padding-top: 26px; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.step-h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 26px; margin: 0 0 12px; }
.step .body-text { font-size: 15.5px; max-width: 32ch; }

/* ── Gallery ────────────────────────────────────────────────────────────── */
.gallery-section { padding: clamp(70px, 10vh, 120px) 0; background: var(--sand); }
.gallery-eyebrow { margin: 0 auto 40px; max-width: 1080px; padding: 0 clamp(20px, 5vw, 64px); }
.gallery-strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 34vw, 440px); gap: 18px; overflow-x: auto; padding: 0 clamp(20px, 5vw, 64px); scrollbar-width: none; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-card { aspect-ratio: 3 / 4; background-image: repeating-linear-gradient(135deg, rgba(110,140,149,0.10) 0px, rgba(110,140,149,0.10) 2px, transparent 2px, transparent 20px); background-color: var(--gallery-placeholder); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 22px; }
.gallery-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,42,56,0.66) 0%, rgba(20,42,56,0.14) 40%, rgba(20,42,56,0) 62%); }
.gallery-label { position: relative; z-index: 1; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 25px; letter-spacing: 0.04em; color: var(--sand); }

/* ── Form section ───────────────────────────────────────────────────────── */
.form-section { padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 64px); background: var(--ink); color: var(--sand); }
.form-container { max-width: 720px; margin: 0 auto; }
.form-header { text-align: center; margin-bottom: 54px; }
.form-h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(34px, 5.5vw, 60px); line-height: 1.05; margin: 0 0 18px; }
.form-sub { font-size: 16.5px; line-height: 1.6; font-weight: 300; color: var(--light-1); max-width: 42ch; margin: 0 auto; }

.progress { display: flex; gap: 10px; margin-bottom: 44px; }
.progress-seg { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.progress-bar { height: 2px; background: rgba(157, 178, 183, 0.25); transition: background .3s ease; }
.progress-seg.reached .progress-bar { background: var(--gold); }
.progress-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--light-3); transition: color .3s ease; }
.progress-seg.reached .progress-label { color: var(--light-2); }
.progress-seg.current .progress-label { color: var(--sand); }

.form-step { display: flex; flex-direction: column; gap: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.label { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--light-2); margin-bottom: 10px; }
.label-optional { text-transform: none; letter-spacing: 0; color: var(--sea); }
.input, .input-date { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(157,178,183,0.35); color: var(--sand); font-size: 17px; font-weight: 300; padding: 10px 0; }
.input-date { color-scheme: dark; font-size: 16px; }
.textarea { width: 100%; background: transparent; border: 1px solid rgba(157,178,183,0.35); color: var(--sand); font-size: 16px; font-weight: 300; padding: 14px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: transparent; color: var(--light-1); border: 1px solid rgba(157,178,183,0.4); font-size: 13.5px; font-weight: 300; letter-spacing: 0.02em; padding: 10px 18px; border-radius: 1px; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.pill.selected { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 500; }

.form-error { color: var(--error); font-size: 14px; font-weight: 300; margin: 24px 0 0; }
.form-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; }
.form-controls-single { justify-content: center; }
.form-controls-single .btn-cta { width: 100%; max-width: 360px; }

.success { text-align: center; padding: clamp(40px, 10vh, 100px) 0; }
.success-h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 0 0 20px; }
.success-sub { font-size: 17px; line-height: 1.65; font-weight: 300; color: var(--light-1); max-width: 38ch; margin: 0 auto 28px; }
.success-link { display: inline-block; color: var(--gold); font-size: 14px; letter-spacing: 0.04em; text-decoration: none; border-bottom: 1px solid rgba(184,155,94,0.4); padding-bottom: 2px; }
.success-link:hover { border-bottom-color: var(--gold); }

/* ── Profile sections (travel-profile.html long form) ──────────────────── */
.profile-section { display: flex; flex-direction: column; gap: 28px; padding-top: 36px; margin-top: 36px; border-top: 1px solid rgba(157,178,183,0.2); }
.profile-section:first-child { padding-top: 0; margin-top: 0; border-top: none; }
.profile-section .eyebrow { margin-bottom: 4px; }

/* ── About page ─────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.about-portrait { aspect-ratio: 4 / 5; background-color: var(--mist); background-image: repeating-linear-gradient(135deg, rgba(110,140,149,0.10) 0px, rgba(110,140,149,0.10) 2px, transparent 2px, transparent 20px); }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-lead { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: var(--ink); max-width: none; }
.about-copy .body-text { max-width: 60ch; }
.about-cta { text-align: center; }
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 280px; margin: 0 auto; }
}

/* ── Deals page ─────────────────────────────────────────────────────────── */
.deals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 48px); }
.deal-card { display: flex; flex-direction: column; background: var(--sand); }
.deal-card-image { aspect-ratio: 4 / 3; background-color: var(--gallery-placeholder); background-size: cover; background-position: center; }
.deal-card-body { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; }
.deal-card-eyebrow { font-size: 10.5px; letter-spacing: 0.26em; color: var(--gold); font-weight: 600; }
.deal-card-title { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 26px; margin: 0; }
.deal-card-dates { font-size: 13px; color: var(--sea); font-weight: 400; margin: 0; }
.deal-card-desc { max-width: none; font-size: 15px; }
.deal-card-price { font-size: 15px; font-weight: 500; color: var(--ink); margin: 4px 0 6px; }
.deal-card-cta { align-self: flex-start; padding: 13px 28px; font-size: 11.5px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--sand); color: var(--ink); padding: clamp(56px, 8vh, 90px) clamp(20px, 5vw, 64px) 40px; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 36px; }
.footer-logo { align-items: center; margin-bottom: 16px; }
.footer-logo .logo-main { font-size: 26px; }
.footer-tagline { font-size: 14px; font-weight: 300; color: var(--body-secondary); max-width: 30ch; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { text-decoration: none; color: var(--ink); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-bottom { max-width: 1080px; margin: 48px auto 0; padding-top: 22px; border-top: 1px solid rgba(110,140,149,0.2); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12px; color: var(--sea); font-weight: 300; letter-spacing: 0.12em; }

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .form-controls { flex-wrap: wrap; }
}
