/* =================================================================
   ALEX & KELLYN — AUTUMN WEDDING
   Design tokens
   ================================================================= */

/* Self-hosted fonts — served from /fonts/ on this domain, not Google's
   servers. This is the single source of truth for font loading; no
   <link> tags to fonts.googleapis.com exist anywhere on the site. */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/fraunces-v38-latin_latin-ext_vietnamese-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/fraunces-v38-latin_latin-ext_vietnamese-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/fraunces-v38-latin_latin-ext_vietnamese-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('../fonts/fraunces-v38-latin_latin-ext_vietnamese-500italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/fraunces-v38-latin_latin-ext_vietnamese-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 600; font-display: swap;
  src: url('../fonts/fraunces-v38-latin_latin-ext_vietnamese-600italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/fraunces-v38-latin_latin-ext_vietnamese-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 700; font-display: swap;
  src: url('../fonts/fraunces-v38-latin_latin-ext_vietnamese-700italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/playfair-display-v40-cyrillic_latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/work-sans-v24-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/work-sans-v24-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/work-sans-v24-latin_latin-ext-600.woff2') format('woff2');
}

:root {
  /* Palette */
  --cream:      #FBF6EC;
  --white:      #FFFFFF;
  --chocolate:  #DD733A; /* rust / burnt orange */
  --granite:    #43584C; /* deep sage */
  --gold:       #F5CE62;
  --bordeaux:   #470712;
  --blush:      #E6A8AF; /* dusty pink */
  --lilac:      #E3C5ED; /* light lavender */
  --olive:      #898C79; /* muted sage-olive */

  /* Semantic roles */
  --bg:         var(--cream);
  --ink:        var(--granite);
  --ink-soft:   #6b6e5c;
  --accent:     var(--chocolate);
  --accent-deep:var(--bordeaux);
  --line:       rgba(67, 88, 76, 0.18);

  /* Type */
  --display: 'Fraunces', serif;
  --body: 'Work Sans', -apple-system, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--accent-deep);
  text-decoration: none;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0 0 0.4em;
  color: var(--bordeaux);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =================================================================
   Signature element: the sprig divider
   A hand-arranged trio of leaf shapes on a thin branch —
   used as the recurring visual signature across the whole site.
   ================================================================= */

.sprig {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.5rem 0;
  gap: 0;
}
.sprig svg { width: 130px; height: 34px; }

/* =================================================================
   Nav
   ================================================================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-mark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--bordeaux);
}
.nav-amp {
  font-family: 'Playfair Display', serif;
  color: var(--chocolate);
}
.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-chat { margin-left: auto; padding-left: clamp(14px, 3vw, 34px); position: relative; }
.nav-chat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  border-left: 1px solid var(--line);
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--bordeaux); cursor: pointer; }

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 10px var(--gutter) 26px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-chat { margin-left: 0; padding-left: 0; }
  .nav-chat::before { display: none; }
  .nav-toggle { display: block; }
}

/* =================================================================
   Hero (index page)
   ================================================================= */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-image: linear-gradient(160deg, var(--bordeaux) 0%, var(--granite) 55%, #212a23 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--cream);
}
.hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 40px var(--gutter);
}
.hero .eyebrow { color: var(--gold); text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.hero h1 {
  color: var(--cream);
  font-weight: 400;
  margin: 0.3em 0 0.2em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero .amp {
  display: inline-block;
  color: var(--chocolate);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  padding: 0 0.15em;
}
.hero-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(251,246,236,0.92);
  margin-top: 0.5em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-details {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-details strong { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--gold); font-weight: 500; }
.hero-details a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.hero-details a:hover { color: var(--chocolate); }

.countdown {
  margin-top: 2.6rem;
  display: flex;
  gap: clamp(14px, 4vw, 34px);
  justify-content: center;
}
.countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown .num {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--cream);
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.countdown .lbl {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chocolate);
  margin-top: 6px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* =================================================================
   Sections / general layout
   ================================================================= */

section { padding: clamp(56px, 9vw, 108px) 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.section-head p { color: var(--ink-soft); }

.band-dark {
  background: var(--granite);
  color: var(--cream);
}
.band-dark h2, .band-dark h3 { color: var(--gold); }
.band-dark p { color: rgba(251,246,236,0.85); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.card .btn { margin-top: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid var(--accent-deep);
  background: var(--accent-deep);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--chocolate); border-color: var(--chocolate); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--accent-deep); }
.btn.ghost:hover { background: var(--accent-deep); color: var(--cream); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--bordeaux); }
.btn.gold:hover { background: var(--chocolate); border-color: var(--chocolate); color: var(--cream); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* =================================================================
   Story page
   ================================================================= */

.story-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(48px, 8vw, 90px);
}
.story-item.rev .story-copy { order: 2; }
.story-item.rev .story-photo { order: 1; }
.story-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18px 40px -20px rgba(71,7,18,0.35);
}
.story-photo.landscape img { aspect-ratio: 3/2; }
.story-year {
  font-family: var(--display);
  font-style: italic;
  color: var(--chocolate);
  font-size: 1.1rem;
  margin-bottom: 0.2em;
}
@media (max-width: 760px) {
  .story-item, .story-item.rev { grid-template-columns: 1fr; }
  .story-item.rev .story-copy, .story-item.rev .story-photo { order: initial; }
}

/* =================================================================
   Forms (RSVP + photo upload)
   ================================================================= */

.gate {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.gate input { text-align: center; }

form.site-form {
  max-width: 640px;
  margin: 0 auto;
}
.field { margin-bottom: 1.5rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--granite);
  margin-bottom: 0.5em;
}
.field .hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.4em; }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="file"],
select,
textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
}
textarea { resize: vertical; min-height: 100px; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--chocolate);
  outline-offset: 1px;
}

.radio-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.radio-card {
  flex: 1;
  min-width: 130px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(221,115,58,0.08);
}
.radio-row--lilac .radio-card:has(input:checked) {
  border-color: #b988c9;
  background: rgba(227,197,237,0.35);
}
.radio-card span { font-weight: 600; font-size: 0.92rem; }

.form-msg {
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}
.form-msg.success { background: rgba(67,88,76,0.12); color: var(--granite); border: 1px solid rgba(67,88,76,0.3); }
.form-msg.error { background: rgba(71,7,18,0.08); color: var(--bordeaux); border: 1px solid rgba(71,7,18,0.25); }

fieldset { border: 1px dashed var(--line); border-radius: 4px; padding: 1.2rem 1.4rem; margin: 0 0 1.5rem; }
fieldset legend { font-family: var(--display); font-style: italic; color: var(--chocolate); padding: 0 6px; }

/* =================================================================
   Registry
   ================================================================= */

.registry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.registry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.registry-card .thumb {
  aspect-ratio: 4/3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.registry-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.registry-card .thumb .placeholder {
  font-family: var(--display);
  font-style: italic;
  color: var(--line);
  font-size: 2rem;
}
.registry-card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.registry-card .store { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.registry-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.registry-card .note { color: var(--ink-soft); font-size: 0.9rem; flex: 1; }
.registry-card .btn { margin-top: 14px; align-self: flex-start; padding: 10px 22px; font-size: 0.75rem; }

.address-box {
  max-width: 620px;
  margin: 0 auto 3rem;
  background: var(--bordeaux);
  border-radius: 6px;
  padding: 30px 34px;
  text-align: center;
  color: var(--cream);
}
.address-box p { color: rgba(251,246,236,0.85); font-size: 0.92rem; max-width: 440px; margin: 4px auto 16px; }
.address-lines {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gold);
}

.registry-card.is-purchased { opacity: 0.7; }
.registry-card.is-purchased .thumb img { filter: grayscale(0.4); }
.purchased-ribbon {
  position: absolute;
  top: 12px; left: -34px;
  transform: rotate(-40deg);
  background: var(--blush);
  color: var(--bordeaux);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 40px;
}
.registry-card .thumb { position: relative; }
.purchased-note {
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--granite);
}
.purchase-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.purchase-form input[type="text"] {
  padding: 9px 12px;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.purchase-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
  cursor: pointer;
}
.purchase-check input { width: auto; }
.btn.small { padding: 8px 18px; font-size: 0.7rem; }

/* =================================================================
   Photo gallery
   ================================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.gallery-thumb { aspect-ratio: 1; overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-cap {
  padding: 8px 10px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery-cap-text {
  font-size: 0.8rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-cap-by {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 0;
  font-style: italic;
  font-family: var(--display);
}

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(30, 10, 6, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(90vw, 900px);
  max-height: 90vh;
}
.lightbox img { max-height: 72vh; max-width: 100%; border-radius: 4px; display: block; }
.lightbox-caption {
  margin-top: 16px;
  text-align: center;
  color: var(--cream);
  max-width: 560px;
  flex-shrink: 0;
}
.lb-cap-text {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 4px;
}
.lb-cap-by {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.lightbox .close-x {
  position: absolute; top: 24px; right: 30px;
  color: var(--cream); font-size: 2rem; cursor: pointer; background: none; border: none;
  z-index: 3;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(30, 10, 6, 0.6);
  border: 1px solid rgba(251,246,236,0.4);
  color: var(--cream);
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.lightbox-nav:hover { background: rgba(221,115,58,0.7); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox img { max-height: 62vh; }
  .lightbox-nav {
    width: 46px; height: 46px; font-size: 1.7rem;
    bottom: 18px; top: auto; transform: none;
  }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
}

/* =================================================================
   Footer
   ================================================================= */

footer {
  background: var(--bordeaux);
  color: rgba(251,246,236,0.75);
  text-align: center;
  padding: 46px var(--gutter) 34px;
}
footer .nav-mark { color: var(--gold); display: block; margin-bottom: 10px; font-size: 1.6rem; }
footer a { color: var(--gold); }
footer .fine { font-size: 0.78rem; margin-top: 18px; opacity: 0.7; }

/* Admin table */
table.admin-table { width: 100%; border-collapse: collapse; background: var(--white); }
table.admin-table th, table.admin-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  vertical-align: top;
}
table.admin-table th {
  background: var(--cream);
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  color: var(--granite);
}
.admin-block { margin-bottom: 3.5rem; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }
.pill.yes { background: rgba(67,88,76,0.15); color: var(--granite); }
.pill.no { background: rgba(71,7,18,0.1); color: var(--bordeaux); }

/* =================================================================
   Travel page
   ================================================================= */

.travel-block { margin-bottom: clamp(48px, 7vw, 80px); }
.travel-block .eyebrow { display: block; margin-bottom: 0.5em; }
.travel-block > h2 { margin-bottom: 1.2em; }

.travel-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
}
@media (max-width: 760px) {
  .travel-grid { grid-template-columns: 1fr; }
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 24px 26px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.detail-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.detail-row:first-child { padding-top: 4px; }
.detail-row span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
}
.detail-row strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--bordeaux);
  text-align: right;
  line-height: 1.3;
}

.travel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 1.5rem;
}
.travel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
}
.travel-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.travel-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--chocolate);
  background: rgba(221,115,58,0.09);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.travel-card p { flex: 1; }
.travel-card .btn { align-self: flex-start; margin-top: 8px; }

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  border-top: 1px solid var(--line);
}
.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.mini-list span {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 600;
}
.mini-list strong { font-weight: 500; color: var(--bordeaux); text-align: right; }

/* =================================================================
   Travel chat
   ================================================================= */

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-empty {
  text-align: center;
  padding: 40px 24px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: var(--white);
}
.chat-day {
  text-align: center;
  margin: 12px 0 4px;
  position: relative;
}
.chat-day::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1px solid var(--line);
  z-index: 0;
}
.chat-day span {
  position: relative;
  z-index: 1;
  background: var(--cream);
  padding: 0 14px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bordeaux);
  font-weight: 700;
}
.chat-msg {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--chocolate);
  border-radius: 4px;
  padding: 14px 18px 16px;
}
.chat-msg-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.chat-author {
  font-family: var(--display);
  font-weight: 700;
  color: var(--bordeaux);
  font-size: 1.1rem;
  letter-spacing: -0.005em;
}
.chat-time {
  font-size: 0.72rem;
  color: var(--granite);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.chat-body {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
  word-wrap: break-word;
}
.chat-composer {
  margin-top: 0.5rem;
}
.chat-reply-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--chocolate);
  cursor: pointer;
}
.chat-reply-toggle:hover { color: var(--bordeaux); text-decoration: underline; }
.chat-reply-toggle.is-open { color: var(--bordeaux); }
.chat-replies {
  margin-top: 14px;
  margin-left: 20px;
  padding-left: 22px;
  border-left: 3px solid var(--chocolate);
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-reply {
  background: var(--cream);
  border-radius: 4px;
  padding: 10px 14px;
}
.chat-reply .chat-msg-head {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 4px;
}
.chat-reply .chat-author { font-size: 0.95rem; }
.chat-reply .chat-body { font-size: 0.92rem; }
.chat-reply-form {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.chat-reply-form input[type="text"] {
  margin-bottom: 8px;
  padding: 9px 12px;
  font-size: 0.88rem;
}
.chat-reply-form textarea {
  margin-bottom: 8px;
  padding: 9px 12px;
  font-size: 0.9rem;
}
.chat-notify-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 6px 0 10px;
  cursor: pointer;
}
.chat-notify-check input { width: auto; }
.chat-reply-form .chat-notify-check { margin-top: 2px; }

/* =================================================================
   FAQ
   ================================================================= */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--chocolate);
  border-radius: 4px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--bordeaux);
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--chocolate); }
.faq-q {
  flex: 1;
  line-height: 1.3;
}
.faq-icon {
  flex-shrink: 0;
  font-family: var(--body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--chocolate);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.15s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: rgba(221, 115, 58, 0.12);
}
.faq-item[open] summary {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.faq-a {
  padding: 16px 22px 22px;
  color: var(--ink);
  line-height: 1.7;
  max-width: 620px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
