/* ==========================================================================
   Live with Dora — editorial stylesheet
   No build step, no dependencies. Deploy as-is.

   Design direction: quiet luxury / editorial.
   Rules the whole file obeys:
     1. Hairlines instead of boxes. No rounded corners, no card shadows.
     2. Vertical rhythm is generous — sections breathe at 76–140px.
     3. Serif display type + neutral grotesque for everything structural.
     4. Exactly one accent colour (deep teal). Nothing else is coloured.
     5. Motion is slow and only ever opacity / colour / border.
   ========================================================================== */

/* ---------- tokens ---------- */

:root {
  /* ink & paper */
  --bg:        #FAF8F3;
  --surface:   #FFFFFF;
  --surface-2: #F2EFE7;
  --ink:       #131310;
  --ink-2:     #45443C;
  --muted:     #6F6D63;
  --faint:     #9C998E;

  /* one accent, and only one */
  --accent:    #0E5C46;
  --accent-dk: #0A4635;
  --accent-sf: #E9F1EC;

  /* hairlines */
  --line:      #E4E0D5;
  --line-2:    #CCC6B6;

  /* placeholder markers — anything still waiting on a real fact */
  --ph-bg: #FDF2D4;
  --ph-bd: #B98514;
  --ph-tx: #5E3606;

  /* type stacks — webfont first, system serif fallback is deliberate:
     Didot / Bodoni 72 / Big Caslon keep the look if the webfont never loads */
  --serif: "Cormorant Garamond", Didot, "Bodoni 72", "Big Caslon", Baskerville,
           "Hoefler Text", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "Helvetica Neue", Arial, sans-serif;

  /* metrics */
  --wrap:  1240px;
  --pad-y: clamp(76px, 9.5vw, 140px);
  --gut:   clamp(20px, 4vw, 44px);
  --ease:  cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent-sf); color: var(--accent-dk); }

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

/* ---------- typography ---------- */

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { font-size: clamp(2.35rem, 6.1vw, 4.7rem); line-height: 1.02; letter-spacing: -0.019em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.8rem); line-height: 1.1;  letter-spacing: -0.014em; }
h3 { font-size: 1.32rem; line-height: 1.28; letter-spacing: -0.008em; }

p { margin: 0 0 1.05em; }
a { color: var(--accent); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
strong { font-weight: 500; }

.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 26px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--line-2); flex: 0 0 auto; }

.lede { font-size: 1.08rem; line-height: 1.72; color: var(--ink-2); max-width: 56ch; }

/* ---------- placeholder markers ---------- */

.ph {
  background: var(--ph-bg);
  border-bottom: 1px dashed var(--ph-bd);
  color: var(--ph-tx);
  padding: 0 4px;
  border-radius: 0;
  white-space: nowrap;
}

.fill-note {
  background: var(--ph-bg);
  border: 1px solid var(--ph-bd);
  border-radius: 0;
  padding: 16px 18px;
  font-size: 0.85rem;
  color: var(--ph-tx);
  margin: 32px 0 0;
}

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--wrap); margin: 0 auto;
  padding: 17px var(--gut);
  display: flex; align-items: center; gap: 34px;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: inherit; margin-right: auto; }
.brand strong { font-family: var(--serif); font-size: 1.32rem; font-weight: 400; letter-spacing: -0.01em; }
.brand span { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.btn) {
  color: var(--ink); text-decoration: none;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.nav-links a:not(.btn):hover,
.nav-links a.on { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 900px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--ink);
  color: #FAF8F3 !important;
  text-decoration: none;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.71rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF !important; }

.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-2); }
.btn.ghost:hover { background: transparent; color: var(--accent) !important; border-color: var(--accent); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- section rhythm ---------- */

section { padding: var(--pad-y) 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
section[id] { scroll-margin-top: 96px; }

.hero { padding: clamp(86px, 12vw, 166px) 0 clamp(58px, 8vw, 106px); }
.hero h1 { max-width: 20ch; }
.hero .lede { margin-top: 34px; }
.hero--home h1 { max-width: 18ch; }

.sec-head { margin-bottom: 4px; }
.sec-head h2 { max-width: 26ch; }

/* ---------- grids & columns ---------- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 52px 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 48px; }
@media (max-width: 940px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 42px; } }

/* a card is a column separated by a hairline — not a box */
.card {
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 30px 0 0;
}
.card h3 { margin-bottom: 11px; }
.card p { color: var(--ink-2); }
.card p:last-child { margin-bottom: 0; }

.card .more, .more {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 5px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.card .more:hover, .more:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }

/* ---------- two headline offers ---------- */

.paths { margin-top: 56px; }
.path { border-top: 1px solid var(--line-2); padding-top: 30px; }
.path-num { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.06em; color: var(--faint); margin: 0 0 20px; }
.path h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: 16px; }
.path p { color: var(--ink-2); max-width: 46ch; }

/* ---------- numbered index (uses <ol>) ---------- */

.index-grid {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; counter-reset: i;
}
.index-grid > li { counter-increment: i; border-top: 1px solid var(--line); padding-top: 26px; }
.index-grid > li::before {
  content: counter(i, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font-family: var(--serif); font-size: 1rem; letter-spacing: 0.06em; color: var(--faint);
}
.index-grid h3 { font-size: 1.3rem; margin-bottom: 11px; }
.index-grid p { color: var(--ink-2); font-size: 0.98rem; margin: 0; }
@media (max-width: 940px) { .index-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .index-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- trust / facts row ---------- */

.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: none;
  padding: 19px 0;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.trustbar-in { display: flex; flex-wrap: wrap; gap: 12px 42px; align-items: center; }
.trustbar b { color: var(--ink); font-weight: 600; }

/* ---------- image band ---------- */

.band { margin: 0; }
.band img {
  width: 100%; display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-ph {
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #EFEBE0 0%, #E7E2D4 46%, #DFD9C7 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 30px; text-align: center;
}
.band-ph span {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); max-width: 44ch; line-height: 2.1;
}
.band figcaption {
  max-width: var(--wrap); margin: 0 auto;
  padding: 17px var(--gut) 0;
  font-size: 0.75rem; letter-spacing: 0.07em; color: var(--faint);
}

/* ---------- numbered steps ---------- */

.steps { list-style: none; padding: 0; margin: 46px 0 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 30px 0 30px 112px;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 27px;
  font-family: var(--serif); font-size: 2.1rem; line-height: 1;
  color: var(--line-2);
}
.steps li strong { display: block; margin-bottom: 5px; font-family: var(--serif); font-size: 1.34rem; font-weight: 400; }
.steps li span { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 620px) {
  .steps li { padding: 26px 0 26px 62px; }
  .steps li::before { font-size: 1.5rem; top: 26px; }
  .steps li strong { font-size: 1.18rem; }
}

/* ---------- checklist (dash, not bullet) ---------- */

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 0 0 13px 26px; position: relative; color: var(--ink-2); }
.ticks li:last-child { padding-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 13px; height: 1px; background: var(--accent); }
.ticks.no li::before { background: var(--line-2); }

/* ---------- table ---------- */

.tbl-wrap { overflow-x: auto; margin-top: 34px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0 0 24px; }
th, td { text-align: left; padding: 19px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child,  td:last-child  { padding-right: 0; }
th {
  font-weight: 500; font-size: 0.67rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); background: none; border-bottom-color: var(--line-2); padding-top: 0;
}
tbody td:first-child { font-family: var(--serif); font-size: 1.18rem; }
tbody tr:hover { background: none; }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 26px 0;
  font-family: var(--serif); font-size: 1.24rem; line-height: 1.3;
  list-style: none;
  display: flex; justify-content: space-between; gap: 24px;
  transition: color .3s var(--ease);
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 0.95rem; color: var(--muted); font-weight: 400; line-height: 1.7; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 26px; color: var(--ink-2); margin: 0; max-width: 68ch; }

/* ---------- pull quote ---------- */

.pull {
  border-left: 1px solid var(--accent);
  padding: 2px 0 2px 26px;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.58rem);
  line-height: 1.36;
  color: var(--ink);
  max-width: 46ch;
}

/* ---------- closing cta (inset ink panel) ---------- */

.cta {
  background: var(--ink);
  border: 0;
  border-radius: 0;
  padding: clamp(54px, 7vw, 92px) clamp(28px, 5vw, 76px);
  text-align: center;
}
.cta h2 { color: #F7F5EF; margin-bottom: 16px; }
.cta p { color: rgba(247, 245, 239, 0.66); max-width: 54ch; margin: 0 auto 30px; }
.cta .btn-row { justify-content: center; margin-top: 0; }
.cta .btn { background: #F7F5EF; color: var(--ink) !important; border-color: #F7F5EF; }
.cta .btn:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF !important; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 62px 0 74px;
  font-size: 0.85rem;
  color: var(--muted);
}
.foot-top {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 34px;
  margin-bottom: 32px; padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.foot-top a {
  color: var(--ink); text-decoration: none;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.foot-top a:hover { color: var(--accent); }
.foot-top > span { font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; }
.foot-top .ph { text-transform: none; letter-spacing: 0; font-size: 0.8rem; }
footer .small { font-size: 0.76rem; line-height: 1.7; max-width: 88ch; color: var(--faint); }

/* ---------- about ---------- */

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  border: 1px dashed var(--line-2);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 26px;
  color: var(--muted); font-size: 0.8rem; line-height: 1.9;
  letter-spacing: 0.08em; text-transform: uppercase;
}
/* 有真照片之后的形态:去掉虚线框,照片铺满 */
.portrait--img { padding: 0; border: 1px solid var(--line); background: none; }
.portrait--img img { width: 100%; height: 100%; object-fit: cover; }

.bg-strip { background: var(--surface-2); }

/* ---------- forms ---------- */

.field { margin-bottom: 18px; }
.field label {
  display: block; margin-bottom: 8px;
  font-size: 0.67rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans); font-size: 1rem; line-height: 1.5;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .3s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2l5 5 5-5' fill='none' stroke='%236F6D63' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  background-size: 12px 8px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent-sf); outline-offset: 1px;
  border-color: var(--accent);
}
.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 7px; }
form button { font-family: var(--sans); cursor: pointer; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* the long trip brief reads as sentences, not as form labels */
.brief .field label, .brief .grp {
  display: block; margin-bottom: 8px;
  text-transform: none; letter-spacing: 0;
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
}
.brief .req { color: var(--accent); font-weight: 500; }
.brief .field textarea { min-height: 116px; resize: vertical; line-height: 1.62; }
.brief .field input, .brief .field select, .brief .field textarea { font-size: 0.95rem; }

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 18px; }
.opts label {
  display: flex; align-items: flex-start; gap: 11px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 0; padding: 14px 16px;
  font-size: 0.9rem; line-height: 1.45;
  transition: border-color .3s var(--ease);
}
.opts label:hover { border-color: var(--accent); }
.opts input { margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--accent); }

.brief-side { position: sticky; top: 108px; }
@media (max-width: 860px) { .brief-side { position: static; } }

.sent { color: var(--accent); margin: 16px 0 0; font-size: 0.88rem; }

.alt-path { background: var(--surface-2); border: 0; border-radius: 0; padding: 34px 32px; }

/* ---------- callouts ---------- */

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0;
  padding: 24px 26px;
  margin: 0 0 20px;
}
.note strong { display: block; margin-bottom: 8px; font-weight: 500; }
.note p:last-child { margin-bottom: 0; }
.note.warn { border-left-color: var(--ph-bd); background: #FFFCF3; }
.note.warn strong { color: var(--ph-tx); }

.cross-link {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: none;
  border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 26px 0;
  margin: 0 0 20px;
}
.cross-link p { margin: 0; flex: 1 1 380px; }
.cross-link .btn { flex: 0 0 auto; }
