/* Unwritten Journey Travel — site styles */
:root {
  --navy: #1a3556;
  --navy-deep: #12263f;
  --gold: #a8875a;
  --gold-soft: #d9c7a8;
  --cream: #f7f5f1;
  --paper: #ffffff;
  --ink: #2b2b2b;
  --muted: #5d6470;
  --line: #e4ddd1;
  --radius: 10px;
  --wrap: 1120px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold); }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .6em; }
.rule { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.4em; }
.center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.2rem; color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.brand img { width: 170px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; color: var(--navy); cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.nav a, .nav button.drop {
  display: block; padding: 10px 14px; text-decoration: none; color: var(--navy);
  font-size: 1rem; font-weight: 600; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav a:hover, .nav button.drop:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .has-sub { position: relative; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: 0 10px 30px rgba(18,38,63,.12); flex-direction: column; gap: 0;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.open .sub { display: flex; }
.nav .sub a { font-weight: 500; padding: 9px 12px; border-radius: 6px; }
.nav .sub a:hover { background: var(--cream); }
.nav .cta a { background: var(--navy); color: #fff; border-radius: 999px; padding: 10px 20px; }
.nav .cta a:hover { background: var(--gold); color: #fff; }

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; padding: 14px 28px; border-radius: 999px; font-weight: 600; border: 2px solid var(--navy); font-family: var(--sans); font-size: 1rem; cursor: pointer; }
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Sections */
section { padding: 80px 0; }
.band-paper { background: var(--paper); }
.band-navy { background: var(--navy); color: #e8edf3; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: var(--gold-soft); }
.band-navy a:not(.btn) { color: var(--gold-soft); }

/* Hero */
.hero { padding: 96px 0 88px; background:
  radial-gradient(1200px 400px at 85% 0%, rgba(168,135,90,.16), transparent 60%),
  linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .lead { max-width: 560px; }
.hero-mark { justify-self: center; opacity: .95; }
.hero-mark img { width: min(280px, 60vw); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.page-hero { padding: 72px 0 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 720px; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: var(--ink); display: block; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18,38,63,.10); color: var(--ink); }
a.card .more { color: var(--gold); font-weight: 600; }
.card .tag { display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .8em; }
.band-navy .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #e8edf3; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding: 20px 22px 20px 78px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; display: grid; place-items: center; }
.steps strong { color: var(--navy); }
.three-steps .step-num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: .2em; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: .7em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border: 2px solid var(--gold); border-radius: 4px; }
.reasons { display: grid; gap: 18px; }
.reasons div { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; }
.reasons h3 { font-size: 1.3rem; margin-bottom: .2em; }

/* FAQ */
details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--gold); font-family: var(--sans); }
details[open] summary::after { content: "–"; }
details p { margin: .9em 0 0; }

/* Forms */
form .field { margin-bottom: 16px; }
label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfc6b6; border-radius: 8px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
textarea { min-height: 130px; resize: vertical; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check-row input { margin-top: 6px; }
.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.signup input[type=email] { flex: 1 1 240px; }
.center .signup { margin: 0 auto; }
.hp { position: absolute; left: -5000px; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }

/* Callout */
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; }

/* CTA band */
.cta-band { text-align: center; padding: 72px 0; }
.cta-band h2 { margin-bottom: .4em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9d3df; padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.site-footer h3 { color: #fff; font-size: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4em; }
.footer-signup input[type=email] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.footer-signup input::placeholder { color: #9fb0c3; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #9fb0c3; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav button.drop { width: 100%; text-align: left; pointer-events: none; color: var(--muted); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
  .nav .cta { margin-top: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brand img { width: 140px; }
}

/* Photo carousel (page heroes) */
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.carousel { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--line);
  box-shadow: 0 18px 40px rgba(18,38,63,.18); border: 1px solid var(--line); }
.carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.carousel img.active { opacity: 1; }
.carousel .dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.carousel .dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.carousel .dots button[aria-current="true"] { background: #fff; }
.hero .carousel { justify-self: stretch; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-grid .carousel { display: block; }
}
@media (prefers-reduced-motion: reduce) { .carousel img { transition: none; } }

/* Instagram handle with icon */
.ig-link { display: inline-flex; align-items: center; gap: .45em; }
.ig-icon { flex: none; }
.nowrap { white-space: nowrap; }
