/* ============================================================
   Aligned Bodywork — styles.css
   Design tokens from HANDOFF.md §3–5. Edit tokens here to retheme.
   ============================================================ */
:root {
  --paper: #F4EEE4;
  --paper-alt: #EBE2D4;
  --card: #FBF8F2;
  --ink: #2A2521;
  --ink-soft: #6B6055;
  --ink-soft-2: #5C5248;
  --muted: #8A7E70;
  --muted-2: #9C8D77;
  --line: #E7DCCB;
  --line-med: #DDD0BC;
  --line-strong: #D3C6B2;
  --line-header: #E1D6C5;
  --clay: #9C5A40;
  --clay-tint: #FBF2ED;
  --sage: #6E7358;
  --on-dark: #F4EEE4;
  --on-dark-soft: #E8DECB;
  --on-dark-muted: #B7A98F;
  --on-dark-muted-2: #9A8D77;
  --dark-line: #3A332C;
  --dark-line-2: #4A423A;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(42,37,33,.025) 1px, transparent 0),
    radial-gradient(1px 1px at 70px 80px, rgba(42,37,33,.02) 1px, transparent 0);
  background-size: 90px 90px;
}
::selection { background: var(--clay); color: #fff; }
input, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise, .rise-slow { animation: none !important; }
  html { scroll-behavior: auto; }
}
.rise { animation: riseIn .8s ease both; }
.rise-slow { animation: riseIn 1s ease both; }

.wrap { max-width: 1140px; margin: 0 auto; padding-left: clamp(20px,5vw,40px); padding-right: clamp(20px,5vw,40px); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244,238,228,.82);
  border-bottom: 1px solid var(--line-header);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-name { font-family: var(--serif); font-size: 20px; letter-spacing: .01em; }
.nav-desktop { display: flex; align-items: center; gap: 30px; }
.nav-desktop a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-desktop a.btn-nav { background: var(--clay); color: #fff; padding: 11px 22px; border-radius: 999px; font-weight: 600; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); display: block; }
.nav-mobile { display: none; border-top: 1px solid var(--line-header); background: var(--paper); padding: 8px clamp(20px,5vw,40px) 20px; flex-direction: column; gap: 4px; }
.nav-mobile a { text-decoration: none; color: var(--ink); font-size: 17px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav-mobile a.btn-nav { background: var(--clay); color: #fff; padding: 14px; border-radius: 12px; font-size: 16px; font-weight: 600; text-align: center; margin-top: 10px; border-bottom: none; }
@media (max-width: 859px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-mobile.open { display: flex; }
}

/* ---------- Shared type ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.eyebrow .rule { width: 28px; height: 1px; background: var(--clay); }
.eyebrow .label { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
h1.display { font-family: var(--serif); font-weight: 400; font-size: clamp(42px,7.5vw,74px); line-height: 1.03; letter-spacing: -0.02em; margin: 0 0 24px; }
h1.display em { font-style: italic; color: var(--clay); }
h2.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px,4.5vw,48px); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 16px; }
.lede { font-size: clamp(16px,1.8vw,18px); line-height: 1.7; color: var(--ink-soft); margin: 0; }
.section-head { max-width: 640px; margin: 0 0 clamp(40px,5vw,64px); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-decoration: none; border-radius: 999px; font-size: 16px; font-weight: 600; cursor: pointer; text-align: center; }
.btn-primary { background: var(--clay); color: #fff; padding: 16px 30px; border: none; box-shadow: 0 8px 24px rgba(156,90,64,.22); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); padding: 16px 30px; background: rgba(255,255,255,.4); }
.btn-on-dark { border: 1px solid var(--dark-line-2); color: var(--on-dark); padding: 15px 28px; background: none; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px,7vw,96px); padding-bottom: clamp(40px,6vw,80px); }
.hero-grid { display: flex; flex-wrap: wrap; gap: clamp(32px,5vw,64px); align-items: center; }
.hero-copy { flex: 1 1 420px; min-width: min(100%,420px); }
.hero-copy .lede { font-size: clamp(17px,2vw,20px); line-height: 1.65; max-width: 32em; margin: 0 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.trust-line { font-size: 14px; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.trust-line .dot { color: #C9BCA8; }
.hero-media { flex: 1 1 320px; min-width: min(100%,300px); }
.photo-frame { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-header); box-shadow: 0 30px 60px -30px rgba(42,37,33,.3); }
.photo-frame.r45 { aspect-ratio: 4/5; }
.photo-frame.r34 { aspect-ratio: 3/4; max-width: 420px; box-shadow: 0 30px 60px -34px rgba(42,37,33,.35); border-color: var(--line-med); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #EBE2D4 0%, #E0D4C0 55%, #D6C7AE 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.photo-caption { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-left: 4px; }
.photo-caption span { font-size: 13px; color: var(--muted); font-style: italic; font-family: var(--serif); }

/* ---------- Sections ---------- */
.section { padding-top: clamp(64px,9vw,120px); padding-bottom: clamp(64px,9vw,120px); }
.band { background: var(--paper-alt); border-top: 1px solid var(--line-header); border-bottom: 1px solid var(--line-header); }

/* About */
.about-grid { display: flex; flex-wrap: wrap; gap: clamp(32px,5vw,72px); }
.about-media { flex: 1 1 300px; min-width: min(100%,280px); }
.about-copy { flex: 1 1 440px; min-width: min(100%,440px); }
.about-copy p { font-size: clamp(16px,1.8vw,18px); line-height: 1.75; color: var(--ink-soft-2); margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { border: 1px solid var(--line-strong); color: var(--ink-soft-2); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(255,255,255,.5); }

/* Services */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; margin-bottom: 44px; }
.service-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; }
.service-card .num { font-family: var(--serif); font-size: 15px; color: var(--clay); margin-bottom: 16px; }
.service-card h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 12px; line-height: 1.2; }
.service-card p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin: 0; }
.pricing-panel { background: var(--ink); border-radius: 20px; padding: clamp(28px,4vw,44px); color: var(--on-dark); }
.pricing-top { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; justify-content: space-between; }
.pricing-top h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,3vw,32px); margin: 0 0 8px; }
.pricing-top .sub { font-size: 14px; color: var(--on-dark-muted); margin: 0; }
.rate-tiles { display: flex; flex-wrap: wrap; gap: 14px; }
.rate-tile { border: 1px solid var(--dark-line-2); border-radius: 14px; padding: 18px 26px; min-width: 120px; }
.rate-tile .dur { font-size: 13px; color: var(--on-dark-muted); letter-spacing: .05em; }
.rate-tile .price { font-family: var(--serif); font-size: 30px; margin-top: 4px; }
.pricing-note { font-size: 14px; color: var(--on-dark-muted-2); margin: 24px 0 0; border-top: 1px solid var(--dark-line); padding-top: 20px; }

/* Expect */
.expect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 2px; background: var(--line-med); border: 1px solid var(--line-med); border-radius: 18px; overflow: hidden; }
.expect-cell { background: var(--paper); padding: 32px 28px; }
.expect-cell .step { font-family: var(--serif); font-size: 15px; color: var(--clay); margin-bottom: 14px; }
.expect-cell h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 0 0 10px; }
.expect-cell p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* ---------- Booking ---------- */
.book-grid { display: flex; flex-wrap: wrap; gap: clamp(20px,3vw,32px); align-items: flex-start; }
.book-panel {
  flex: 1 1 480px; min-width: min(100%,480px);
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px,3.5vw,40px);
  box-shadow: 0 24px 50px -34px rgba(42,37,33,.28);
}
.progress { display: flex; gap: 8px; margin-bottom: 32px; }
.progress span { flex: 1; height: 4px; border-radius: 999px; background: #E3D7C5; }
.progress span.done { background: var(--clay); }
.step-tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 6px; }
.step-title { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 22px; }
.step-subtitle { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 0 0 16px; }
.option-list { display: flex; flex-direction: column; gap: 12px; }
.opt {
  text-align: left; width: 100%; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line-med); background: #fff; cursor: pointer; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; font-size: 16px;
}
.opt .t { font-weight: 600; font-size: 16px; }
.opt .d { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; font-weight: 400; }
.opt.sel { border: 2px solid var(--clay); box-shadow: 0 0 0 4px rgba(156,90,64,.1); padding: 17px 19px; }
.len-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 12px; }
.len { text-align: center; padding: 20px 12px; border-radius: 14px; border: 1px solid var(--line-med); background: #fff; cursor: pointer; color: var(--ink); }
.len .t { font-size: 15px; font-weight: 600; }
.len .p { display: block; font-family: var(--serif); font-size: 26px; margin-top: 8px; }
.len.sel { border: 2px solid var(--clay); box-shadow: 0 0 0 4px rgba(156,90,64,.1); padding: 19px 11px; }
.date-scroller { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 26px; }
.date-chip {
  flex: 0 0 auto; min-width: 58px; text-align: center; padding: 10px 8px; border-radius: 12px;
  border: 1px solid var(--line-med); background: #fff; cursor: pointer; color: var(--ink);
}
.date-chip .dow { font-size: 12px; color: var(--muted-2); }
.date-chip .day { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.1; margin: 3px 0; }
.date-chip .mon { font-size: 11px; color: var(--muted-2); }
.date-chip.sel { border: 2px solid var(--clay); background: var(--clay-tint); padding: 9px 7px; }
.date-chip:disabled { opacity: .4; cursor: not-allowed; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(96px,1fr)); gap: 10px; }
.slot { padding: 12px 8px; border-radius: 12px; border: 1px solid var(--line-med); background: #fff; cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 500; }
.slot.sel { border: 2px solid var(--clay); background: var(--clay-tint); padding: 11px 7px; color: var(--clay); font-weight: 600; }
.slot-status { font-size: 14px; color: var(--muted-2); margin: 6px 0 0; }
.field { display: block; margin-bottom: 16px; }
.field .lab { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft-2); margin-bottom: 6px; }
.field .lab .opt-note { color: var(--muted-2); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-med); border-radius: 12px;
  font-size: 16px; background: #fff; color: var(--ink); outline: none;
}
.field textarea { resize: vertical; }
.field .err { display: none; font-size: 13px; color: #A3402A; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #A3402A; }
.field.invalid .err { display: block; }
.consent-row { display: flex; align-items: flex-start; gap: 12px; text-align: left; background: none; border: none; cursor: pointer; padding: 4px 0; width: 100%; }
.consent-box {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; margin-top: 1px;
  border: 1px solid #C6B79F; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.consent-row[aria-checked="true"] .consent-box { border-color: var(--clay); background: var(--clay); }
.consent-row .txt { font-size: 14px; line-height: 1.55; color: var(--ink-soft-2); }
.privacy-note { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; margin: 14px 0 0; }
.wizard-nav { display: flex; gap: 12px; margin-top: 32px; }
.btn-back { padding: 15px 24px; border: 1px solid var(--line-strong); background: none; color: var(--ink-soft-2); border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn-next { flex: 1; padding: 16px 24px; border: none; border-radius: 999px; color: #fff; background: var(--clay); font-size: 16px; font-weight: 600; cursor: pointer; }
.btn-next:disabled { background: #D8C9B6; cursor: not-allowed; color: var(--paper); }
.form-error { background: #F7E8E2; border: 1px solid #DBA68F; border-radius: 12px; padding: 14px 16px; font-size: 14.5px; color: #7A3221; line-height: 1.55; margin-top: 20px; display: none; }
.form-error.show { display: block; }

/* confirmation */
.confirm-wrap { text-align: center; padding: 20px 0; }
.confirm-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.confirm-title { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 12px; }
.confirm-copy { font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 34em; margin: 0 auto 24px; }
.confirm-card { display: inline-block; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-bottom: 24px; }
.confirm-card .svc { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.confirm-card .len { font-family: var(--serif); font-size: 22px; }
.confirm-card .when { font-size: 15px; color: var(--ink-soft-2); margin-top: 8px; }

/* Summary sidebar */
.summary {
  flex: 1 1 280px; min-width: min(100%,280px);
  background: var(--ink); color: var(--on-dark); border-radius: 22px;
  padding: clamp(24px,3vw,32px); position: sticky; top: 88px;
}
.summary .head { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted-2); font-weight: 600; margin-bottom: 20px; }
.summary .rows { display: flex; flex-direction: column; gap: 16px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--dark-line); padding-bottom: 16px; }
.summary .row .k { color: var(--on-dark-muted); font-size: 15px; }
.summary .row .v { font-size: 15px; font-weight: 500; text-align: right; }
.summary .total { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-top: 4px; }
.summary .total .k { color: var(--on-dark-muted); font-size: 15px; }
.summary .total .v { font-family: var(--serif); font-size: 30px; }
.summary .note { font-size: 13px; color: #8A7E70; line-height: 1.6; margin: 24px 0 0; border-top: 1px solid var(--dark-line); padding-top: 20px; }

/* Details */
.details-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px 40px; }
.detail-block { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.detail-block h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.detail-block p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-inner { padding-top: clamp(56px,8vw,100px); padding-bottom: clamp(56px,8vw,100px); }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; margin-bottom: 56px; }
.footer-cta { flex: 1 1 360px; min-width: min(100%,320px); }
.footer-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px,4.5vw,46px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 20px; }
.footer-cta p { font-size: 17px; line-height: 1.65; color: #C4B7A0; max-width: 26em; margin: 0 0 28px; }
.footer-cta .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-cta .btn-primary { padding: 15px 28px; box-shadow: none; }
.footer-cols { flex: 0 1 auto; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.footer-col .head { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted-2); font-weight: 600; margin-bottom: 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--on-dark-soft); text-decoration: none; font-size: 16px; }
.footer-col .sub { color: var(--on-dark-muted-2); font-size: 13px; margin-top: -6px; }
.footer-bottom { border-top: 1px solid var(--dark-line); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand span { font-family: var(--serif); font-size: 17px; }
.footer-copy { font-size: 13px; color: #8A7E70; }
.footer-ack { font-size: 12px; color: #6E6558; line-height: 1.6; margin: 24px 0 0; max-width: 60em; }
