/* Page-specific content rhythms for inquiry, trust, audience, and heritage pages. */

body[data-page-type="inquire"] .inquiry-heading {
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px);
  border: 1px solid var(--interior-line);
  border-left: 3px solid var(--interior-copper);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(110deg, rgba(200,149,108,.09), transparent 52%), var(--interior-panel-soft);
}
body[data-page-type="inquire"] .inquiry-heading h2 { max-width: 10ch; }
body[data-page-type="inquire"] .inquiry-shell {
  grid-template-columns: minmax(250px,.31fr) minmax(0,1fr);
  gap: clamp(24px,3.5vw,46px);
}
body[data-page-type="inquire"] .inquiry-sidebar {
  overflow: hidden;
  border-left: 3px solid var(--interior-copper);
  border-radius: 0 18px 18px 0;
  background: radial-gradient(circle at 0 0, rgba(200,149,108,.13), transparent 42%), var(--interior-panel);
}
body[data-page-type="inquire"] .inquiry-progress {
  position: relative;
  display: grid;
  padding: 9px 0;
  border: 0;
}
body[data-page-type="inquire"] .inquiry-progress::before {
  content: "";
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 5px;
  width: 1px;
  background: linear-gradient(var(--interior-copper), rgba(200,149,108,.12));
}
body[data-page-type="inquire"] .inquiry-progress span {
  position: relative;
  padding: 10px 0 10px 26px;
  border: 0;
}
body[data-page-type="inquire"] .inquiry-progress span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(200,149,108,.48);
  border-radius: 50%;
  background: var(--interior-panel);
  transform: translateY(-50%);
}
body[data-page-type="inquire"] .inquiry-progress span.active::before {
  background: var(--interior-copper);
  box-shadow: 0 0 0 5px rgba(200,149,108,.12);
}
body[data-page-type="inquire"] .inquiry-panel {
  position: relative;
  border-radius: 4px 22px 22px 4px;
  background: linear-gradient(90deg,rgba(116,76,45,.08),transparent 18px), linear-gradient(145deg,rgba(255,255,255,.42),transparent 38%), #f1ebe1;
}
body[data-page-type="inquire"] .inquiry-panel::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 12px;
  z-index: 2;
  width: 1px;
  background: rgba(126,79,46,.18);
  pointer-events: none;
}

body[data-page-type="trust"] .answer-card {
  position: relative;
  overflow: hidden;
  padding-left: clamp(32px,5vw,70px);
  border-left: 3px solid var(--interior-copper);
  border-radius: 0 18px 18px 0;
}
body[data-page-type="trust"] .answer-card::after {
  content: "CARE";
  position: absolute;
  right: 22px;
  bottom: -.24em;
  color: rgba(168,191,187,.045);
  font-family: var(--font-display,Georgia,serif);
  font-size: clamp(5rem,12vw,10rem);
  letter-spacing: -.06em;
  pointer-events: none;
}
body[data-page-type="trust"] .policy-stat-grid { grid-template-columns: repeat(3,1fr); border-radius: 0; }
body[data-page-type="trust"] .policy-stat-grid article {
  display: flex;
  min-height: 250px;
  padding: clamp(28px,4vw,48px);
  flex-direction: column;
}
body[data-page-type="trust"] .policy-stat-grid span { display:block; margin-bottom:auto; color:var(--interior-copper); }
body[data-page-type="trust"] .care-stage-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body[data-page-type="trust"] .care-stage-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 74px;
  width: 1px;
  background: linear-gradient(var(--interior-copper),rgba(168,191,187,.08));
}
body[data-page-type="trust"] .care-stage-grid .care-stage-card {
  display: grid;
  grid-template-columns: 100px minmax(190px,.62fr) minmax(0,1fr);
  gap: clamp(18px,4vw,54px);
  align-items: start;
  min-height: 0;
  padding: 34px 0;
  border: 0;
  border-bottom: 1px solid var(--interior-line);
  background: transparent;
}
body[data-page-type="trust"] .care-stage-grid .policy-number {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 1px solid var(--interior-copper);
  border-radius: 50%;
  background: var(--interior-ink);
  color: var(--interior-copper);
  line-height: 36px;
  text-align: center;
}
body[data-page-type="trust"] .care-stage-grid h3,
body[data-page-type="trust"] .care-stage-grid p { margin: 0; }
body[data-page-type="trust"] .traveler-care-grid {
  grid-template-columns: minmax(0,1.18fr) minmax(280px,.82fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--interior-line);
  background: var(--interior-line);
}
body[data-page-type="trust"] .traveler-care-card { min-height:360px; border:0; border-radius:0; }
body[data-page-type="trust"] .policy-boundary-note {
  max-width: 900px;
  margin-left: auto;
  padding: clamp(34px,5vw,64px);
  border: 1px solid rgba(168,191,187,.32);
  border-radius: 18px 0 18px 18px;
  background: linear-gradient(135deg,rgba(168,191,187,.09),transparent 62%);
}

body[data-page-type="creators"] .answer-card {
  transform: translateX(-6vw);
  border-left: 3px solid var(--interior-copper);
  border-radius: 0 18px 18px 0;
}
body[data-page-type="creators"] .manifesto-grid {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body[data-page-type="creators"] .manifesto-grid article {
  position: relative;
  min-height: 260px;
  padding: clamp(28px,4vw,48px);
  border: 1px solid var(--interior-line);
  border-radius: 4px;
  background: var(--interior-panel);
}
body[data-page-type="creators"] .manifesto-grid article:nth-child(1),
body[data-page-type="creators"] .manifesto-grid article:nth-child(4) { grid-column:span 7; }
body[data-page-type="creators"] .manifesto-grid article:nth-child(2),
body[data-page-type="creators"] .manifesto-grid article:nth-child(3) { grid-column:span 5; }
body[data-page-type="creators"] .manifesto-grid article:nth-child(2),
body[data-page-type="creators"] .manifesto-grid article:nth-child(4) { transform:translateY(20px); }
body[data-page-type="creators"] .manifesto-grid article::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 24px;
  height: 24px;
  border-right: 1px solid rgba(208,166,108,.5);
  border-bottom: 1px solid rgba(208,166,108,.5);
}
body[data-page-type="creators"] .audience-image-figure { grid-template-columns:minmax(0,1.5fr) minmax(250px,.5fr); border-radius:4px; }
body[data-page-type="creators"] .audience-image-figure img { min-height:560px; }
body[data-page-type="creators"] main > .section-narrow:not(.answer-section) {
  padding-top: clamp(46px,6vw,76px);
  padding-bottom: clamp(46px,6vw,76px);
  border-top: 1px solid var(--interior-line);
}
body[data-page-type="creators"] main > .section-narrow:not(.answer-section) .hero-signals {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 34px;
}

body[data-page-type="advisors"] .answer-card {
  border-top: 3px solid var(--interior-copper);
  border-radius: 0;
  background: linear-gradient(90deg,rgba(155,181,176,.09),transparent 58%),var(--interior-panel);
}
body[data-page-type="advisors"] .manifesto-grid { grid-template-columns:repeat(2,minmax(0,1fr)); border-radius:0; }
body[data-page-type="advisors"] .manifesto-grid article {
  display:grid;
  grid-template-columns:42px 1fr;
  align-content:start;
  min-height:240px;
  padding:clamp(28px,4vw,44px);
}
body[data-page-type="advisors"] .manifesto-grid article::before { color:var(--interior-copper); font-size:.7rem; letter-spacing:.16em; }
body[data-page-type="advisors"] .manifesto-grid article:nth-child(1)::before { content:"A1"; }
body[data-page-type="advisors"] .manifesto-grid article:nth-child(2)::before { content:"A2"; }
body[data-page-type="advisors"] .manifesto-grid article:nth-child(3)::before { content:"A3"; }
body[data-page-type="advisors"] .manifesto-grid article:nth-child(4)::before { content:"A4"; }
body[data-page-type="advisors"] .manifesto-grid h3,
body[data-page-type="advisors"] .manifesto-grid p { grid-column:2; }
body[data-page-type="advisors"] .audience-image-figure { grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); }
body[data-page-type="advisors"] .audience-image-figure img { min-height:520px; }
body[data-page-type="advisors"] main { counter-reset:advisor-section; }
body[data-page-type="advisors"] main > .section-narrow:not(.answer-section) {
  position:relative;
  counter-increment:advisor-section;
  padding:clamp(42px,5vw,64px) clamp(28px,5vw,68px) clamp(42px,5vw,64px) clamp(72px,8vw,110px);
  border-top:1px solid var(--interior-line);
  background:linear-gradient(90deg,rgba(155,181,176,.055),transparent 52%);
}
body[data-page-type="advisors"] main > .section-narrow:not(.answer-section)::before {
  content:"0" counter(advisor-section);
  position:absolute;
  top:clamp(48px,5vw,70px);
  left:clamp(24px,4vw,50px);
  color:var(--interior-copper);
  font-size:.7rem;
  letter-spacing:.16em;
}
body[data-page-type="advisors"] blockquote {
  margin-top:32px;
  padding:clamp(28px,4vw,48px);
  border-left:2px solid var(--interior-copper);
  font-family:var(--font-display,Georgia,serif);
  font-size:clamp(1.65rem,2.5vw,2.35rem);
  line-height:1.25;
}

body[data-page-type="heritage-journey"] .heritage-intro {
  border-top:1px solid rgba(200,149,108,.38);
  border-bottom:1px solid rgba(200,149,108,.18);
}
body[data-page-type="heritage-journey"] main > .section:nth-of-type(4) .heritage-grid {
  gap:0;
  border-top:1px solid var(--interior-line);
  border-left:1px solid var(--interior-line);
}
body[data-page-type="heritage-journey"] main > .section:nth-of-type(4) .journey-card {
  min-height:220px;
  border:0;
  border-right:1px solid var(--interior-line);
  border-bottom:1px solid var(--interior-line);
  border-radius:0;
}
body[data-page-type="heritage-journey"] main > .section:nth-of-type(5) .heritage-grid {
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:12px;
}
body[data-page-type="heritage-journey"] main > .section:nth-of-type(5) .journey-card { grid-column:span 4; min-height:230px; border-radius:4px; }
body[data-page-type="heritage-journey"] main > .section:nth-of-type(5) .journey-card:nth-child(2),
body[data-page-type="heritage-journey"] main > .section:nth-of-type(5) .journey-card:nth-child(5) { transform:translateY(18px); }
body[data-page-type="heritage-journey"] .heritage-route-grid {
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  padding-left:clamp(44px,7vw,96px);
  border:0;
}
body[data-page-type="heritage-journey"] .heritage-route-grid::before {
  content:"";
  position:absolute;
  top:8px;
  bottom:8px;
  left:18px;
  width:1px;
  background:linear-gradient(var(--interior-copper),rgba(200,149,108,.08));
}
body[data-page-type="heritage-journey"] .heritage-day-card {
  position:relative;
  display:grid;
  grid-template-columns:minmax(160px,.35fr) minmax(240px,.65fr) minmax(0,1fr);
  gap:clamp(20px,4vw,54px);
  align-items:start;
  min-height:0;
  padding:clamp(30px,4vw,48px) 0;
  border:0;
  border-bottom:1px solid var(--interior-line);
  border-radius:0;
  background:transparent !important;
}
body[data-page-type="heritage-journey"] .heritage-day-card::before {
  content:"";
  position:absolute;
  top:45px;
  left:calc(clamp(44px,7vw,96px) * -1 + 13px);
  width:11px;
  height:11px;
  border:1px solid var(--interior-copper);
  border-radius:50%;
  background:var(--interior-ink);
}
body[data-page-type="heritage-journey"] .heritage-day-card .journey-index { color:var(--interior-copper); }
body[data-page-type="heritage-journey"] .heritage-day-card h3,
body[data-page-type="heritage-journey"] .heritage-day-card p { margin-top:0; }
body[data-page-type="heritage-journey"] .heritage-day-card .heritage-day-list { grid-column:3; grid-row:1; color:rgba(240,234,224,.5); }
body[data-page-type="heritage-journey"] .heritage-day-card > p:last-child {
  grid-column:2 / 4;
  margin-top:-8px;
  font-family:var(--font-display,Georgia,serif);
  font-size:clamp(1.3rem,2vw,1.8rem);
  line-height:1.35;
}
body[data-page-type="heritage-journey"] .heritage-day-card-final { grid-column:1; }

@media (max-width:900px) {
  body[data-page-type="trust"] .care-stage-grid .care-stage-card,
  body[data-page-type="heritage-journey"] .heritage-day-card { grid-template-columns:82px 1fr; }
  body[data-page-type="trust"] .care-stage-grid .care-stage-card p,
  body[data-page-type="heritage-journey"] .heritage-day-card .heritage-day-list,
  body[data-page-type="heritage-journey"] .heritage-day-card > p:last-child { grid-column:2; grid-row:auto; }
  body[data-page-type="heritage-journey"] main > .section:nth-of-type(5) .journey-card { grid-column:span 6; }
}

@media (max-width:760px) {
  body[data-page-type="inquire"],
  body[data-page-type="trust"],
  body[data-page-type="creators"],
  body[data-page-type="advisors"],
  body[data-page-type="heritage-journey"] { overflow-x:clip; }
  body[data-page-type="inquire"] .hero-copy,
  body[data-page-type="inquire"] .hero-visual,
  body[data-page-type="trust"] .hero-copy,
  body[data-page-type="trust"] .hero-visual,
  body[data-page-type="creators"] .hero-copy,
  body[data-page-type="creators"] .hero-visual,
  body[data-page-type="advisors"] .hero-copy,
  body[data-page-type="advisors"] .hero-visual,
  body[data-page-type="heritage-journey"] .hero-copy,
  body[data-page-type="heritage-journey"] .hero-visual { min-width:0; }
  body[data-page-type="inquire"] .hero-actions,
  body[data-page-type="trust"] .hero-actions,
  body[data-page-type="creators"] .hero-actions,
  body[data-page-type="advisors"] .hero-actions,
  body[data-page-type="heritage-journey"] .hero-actions { flex-wrap:wrap; }
  body[data-page-type="inquire"] .hero-stat,
  body[data-page-type="trust"] .hero-stat,
  body[data-page-type="creators"] .hero-stat,
  body[data-page-type="advisors"] .hero-stat,
  body[data-page-type="heritage-journey"] .hero-stat {
    box-sizing:border-box;
    max-width:calc(100% - 32px) !important;
    overflow-wrap:anywhere;
  }
  body[data-page-type="inquire"] .inquiry-shell { grid-template-columns:1fr; }
  body[data-page-type="inquire"] .inquiry-sidebar { position:static; }
  body[data-page-type="inquire"] .inquiry-panel { border-radius:4px 14px 14px 4px; }
  body[data-page-type="trust"] .policy-stat-grid,
  body[data-page-type="trust"] .traveler-care-grid,
  body[data-page-type="creators"] .manifesto-grid,
  body[data-page-type="advisors"] .manifesto-grid,
  body[data-page-type="creators"] main > .section-narrow:not(.answer-section) .hero-signals { grid-template-columns:1fr; }
  body[data-page-type="trust"] .care-stage-grid::before { left:18px; }
  body[data-page-type="trust"] .care-stage-grid .care-stage-card { grid-template-columns:52px 1fr; }
  body[data-page-type="trust"] .care-stage-grid .care-stage-card p { grid-column:2; }
  body[data-page-type="creators"] .answer-card { transform:none; }
  body[data-page-type="creators"] .manifesto-grid article,
  body[data-page-type="creators"] .manifesto-grid article:nth-child(n) { grid-column:auto; min-height:0; transform:none; }
  body[data-page-type="creators"] .audience-image-figure,
  body[data-page-type="advisors"] .audience-image-figure { grid-template-columns:1fr; }
  body[data-page-type="creators"] .audience-image-figure img,
  body[data-page-type="advisors"] .audience-image-figure img { min-height:320px; }
  body[data-page-type="advisors"] main > .section-narrow:not(.answer-section) { padding-left:58px; }
  body[data-page-type="heritage-journey"] main > .section:nth-of-type(4) .heritage-grid,
  body[data-page-type="heritage-journey"] main > .section:nth-of-type(5) .heritage-grid { grid-template-columns:1fr; }
  body[data-page-type="heritage-journey"] main > .section:nth-of-type(5) .journey-card,
  body[data-page-type="heritage-journey"] main > .section:nth-of-type(5) .journey-card:nth-child(n) { grid-column:auto; min-height:0; transform:none; }
  body[data-page-type="heritage-journey"] .heritage-route-grid { padding-left:34px; }
  body[data-page-type="heritage-journey"] .heritage-route-grid::before { left:8px; }
  body[data-page-type="heritage-journey"] .heritage-day-card { grid-template-columns:1fr; padding:28px 0 32px; }
  body[data-page-type="heritage-journey"] .heritage-day-card::before { top:34px; left:-31px; }
  body[data-page-type="heritage-journey"] .heritage-day-card .heritage-day-list,
  body[data-page-type="heritage-journey"] .heritage-day-card > p:last-child { grid-column:1; }
}

@media (prefers-reduced-motion:reduce) {
  body[data-page-type="creators"] .manifesto-grid article,
  body[data-page-type="heritage-journey"] main > .section:nth-of-type(5) .journey-card { transform:none; }
}
