/* ============================================================================
   ADRIANO JEWELRY · inner.css  (bespoke / about / contact page bodies + booking)
   Shared so the three inner pages cost one stylesheet, not three (perf budget).
   Depends on tokens.css + base.css + components.css. Page-scoped classes are
   prefixed by page (bespoke-/about-/contact-) so nothing bleeds across pages.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   Page hero — short band under the header (kicker · H1 · gold rule · lede).
   Reused on all three inner pages; replaces the P0 .shell-intro placeholder.
   --------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(7rem, 12vh, 11rem) clamp(3rem, 7vh, 6rem); }
.page-hero__inner { max-width: 54ch; }
.page-hero__title { font-size: var(--fs-h1); font-weight: 600; line-height: var(--lh-display); margin-top: var(--space-sm); }
.page-hero .rule-gold { margin-block: var(--space-md); }
.page-hero__lede { color: var(--text-dim); font-size: var(--fs-lede); line-height: 1.6; max-width: 52ch; }
.chapter--paper .page-hero__lede { color: var(--ink-dim); }

/* ===========================================================================
   BESPOKE — the process (oversized ghost numerals), services grid, materials
   =========================================================================== */
.process__head { max-width: 40ch; margin-bottom: var(--space-2xl); }
.process__head h2 { margin-top: var(--space-sm); }
.process__list {
  display: grid; grid-template-columns: 1fr; gap: var(--space-xl);
  counter-reset: step;
}
@media (min-width: 720px) { .process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-xl); } }
.process__step { position: relative; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
/* Ghost numeral behind each step — gold at 15%, oversized serif */
.process__step::before {
  content: attr(data-step);
  position: absolute; top: 0; left: -0.06em; z-index: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(4.5rem, 11vw, 8rem); line-height: 0.8;
  color: rgba(var(--accent-rgb), 0.15);
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.process__step > * { position: relative; z-index: 1; }
.process__step h3 { font-size: var(--fs-h3); margin-bottom: var(--space-xs); }
.process__step p { color: var(--text-dim); max-width: 42ch; }

.services__head { max-width: 40ch; margin-bottom: var(--space-xl); }
.services__head h2 { margin-top: var(--space-sm); }
.services__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--gutter);
  align-items: start;
}
@media (min-width: 620px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-card {
  background: var(--surface); border: var(--border); border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
}
.service-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-xs); }
.service-card p { color: var(--text-dim); font-size: var(--fs-small); line-height: 1.6; }

/* Materials strip — a single serif sentence on cream */
.materials { text-align: center; }
.materials__line {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-manifesto); line-height: 1.3; color: var(--ink);
  max-width: 28ch; margin-inline: auto; text-wrap: balance;
}
.materials__line em { font-style: italic; color: var(--accent-ink); }

/* CTA band shared with home §7 pattern */
.cta-band { text-align: center; }
.cta-band .rule-gold { margin: 0 auto var(--space-xl); }
.cta-band h2 { max-width: 22ch; margin: 0 auto var(--space-lg); font-size: var(--fs-h1); }
.cta-band p { color: var(--text-dim); max-width: 44ch; margin: 0 auto var(--space-lg); }

/* ===========================================================================
   ABOUT — editorial story column, drop-cap, pull-quote, vertical timeline
   =========================================================================== */
.about-portrait__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: center; }
@media (min-width: 860px) { .about-portrait__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-2xl); } }
.about-portrait__copy h1 { font-size: var(--fs-h1); font-weight: 600; line-height: var(--lh-display); }
.about-portrait__copy .rule-gold { margin-block: var(--space-md); }
.about-portrait__copy p { color: var(--text-dim); font-size: var(--fs-lede); line-height: 1.6; max-width: 40ch; }

.story { }
.story__col { max-width: 65ch; margin-inline: auto; }
.story__col > p { margin-bottom: var(--space-md); }
.story__col > p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 600;
  float: left; font-size: 3.4em; line-height: 0.72;
  padding-right: 0.08em; margin-top: 0.06em; color: var(--accent-ink);
}
.story__quote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; color: var(--ink);
  margin-block: var(--space-xl); padding-left: var(--space-md);
  border-left: 2px solid var(--accent-ink); max-width: 34ch;
}

.timeline__head { max-width: 34ch; margin-bottom: var(--space-2xl); }
.timeline__head h2 { margin-top: var(--space-sm); }
.timeline { position: relative; max-width: 40rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(var(--accent), rgba(var(--accent-rgb), 0.1));
}
.timeline__node { position: relative; padding-left: var(--space-xl); padding-bottom: var(--space-xl); }
.timeline__node:last-child { padding-bottom: 0; }
.timeline__node::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);
}
.timeline__when { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-kicker); color: var(--accent); }
.timeline__node h3 { font-size: var(--fs-h3); margin-block: var(--space-3xs) var(--space-xs); }
.timeline__node p { color: var(--text-dim); max-width: 46ch; }

/* Trust band — full-width serif on cream */
.trust { text-align: center; }
.trust__line {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.2; color: var(--ink);
  max-width: 22ch; margin-inline: auto; text-wrap: balance;
}

/* ===========================================================================
   CONTACT — split (info + map), hours table, contact form, booking stepper
   =========================================================================== */
.contact-split__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); }
@media (min-width: 900px) { .contact-split__grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: start; } }

.contact-info h2 { font-size: var(--fs-h2); margin-top: var(--space-sm); }
.contact-info .rule-gold { margin-block: var(--space-md); }
.contact-block { margin-bottom: var(--space-lg); }
.contact-block__label { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-kicker); color: var(--accent); margin-bottom: var(--space-2xs); }
.contact-block a { color: var(--text); }
.contact-block a:hover { color: var(--accent); }
.contact-block address { font-style: normal; color: var(--text-dim); line-height: 1.7; }

.hours-table { width: 100%; max-width: 22rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { text-align: left; padding: var(--space-2xs) 0; color: var(--text-dim); font-weight: 400; }
.hours-table td { text-align: right; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--accent); font-weight: 500; }
.hours-table .is-closed { color: var(--text-dim); } /* must-read hours info — AA, not the decorative faint token */
.open-status { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--fs-small); margin-top: var(--space-sm); }
.open-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); flex: 0 0 auto; }
.open-status.is-open .open-status__dot { background: #6FA56A; }
.open-status.is-open { color: var(--text); }
.open-status.is-closed { color: var(--text-dim); }

/* Map — dark placeholder until it intersects, then a lazy iframe fades in */
.contact-map {
  position: relative; border: var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--placeholder); min-height: 320px; height: 100%;
}
.contact-map__ph {
  position: absolute; inset: 0; display: grid; place-content: center; gap: var(--space-xs);
  text-align: center; color: var(--text-faint); padding: var(--space-lg);
}
.contact-map__ph .kicker { color: var(--text-faint); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; opacity: 0; transition: opacity var(--dur-reveal) var(--ease-out); }
.contact-map.is-loaded iframe { opacity: 1; }
.contact-map.is-loaded .contact-map__ph { opacity: 0; pointer-events: none; }

/* ---- Contact form (underline inputs, floating labels) --------------------- */
.form-field { position: relative; margin-bottom: var(--space-lg); }
.form-field input,
.form-field textarea {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid var(--line); color: var(--text);
  font: inherit; font-size: var(--fs-body); padding: var(--space-sm) 0 var(--space-2xs);
  border-radius: 0; transition: border-color var(--dur-micro) var(--ease-out);
}
.form-field textarea { resize: vertical; min-height: 4.5rem; }
.form-field label {
  position: absolute; left: 0; top: var(--space-sm); color: var(--text-dim);
  pointer-events: none; transform-origin: left; font-size: var(--fs-body);
  transition: transform var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
/* Float when focused or filled (:not(:placeholder-shown) needs a placeholder=" ") */
.form-field input:focus + label,
.form-field textarea:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.35rem) scale(0.78); color: var(--accent);
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form-field input:-webkit-autofill { -webkit-text-fill-color: var(--text); transition: background-color 9999s; }
.form-field.has-error input, .form-field.has-error textarea { border-bottom-color: var(--danger); }
.form-error { display: block; color: var(--danger-text); font-size: var(--fs-small); margin-top: var(--space-2xs); min-height: 1.1em; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */

.form-success { text-align: center; padding: var(--space-2xl) var(--space-md); }
.form-success h3 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; margin-bottom: var(--space-sm); }
.form-success p { color: var(--text-dim); max-width: 40ch; margin-inline: auto; }
.form-note { color: var(--text-faint); font-size: var(--fs-small); margin-top: var(--space-sm); }

/* ===========================================================================
   BOOKING STEPPER
   =========================================================================== */
.booking { max-width: 46rem; margin-inline: auto; }
.booking__head { text-align: center; margin-bottom: var(--space-xl); }
.booking__head h2 { font-size: var(--fs-h2); margin-top: var(--space-sm); }

/* Progress — a thin gold line with 4 stops */
.booking__progress { display: flex; align-items: center; gap: var(--space-2xs); margin-bottom: var(--space-2xl); list-style: none; }
.booking__progress li { flex: 1; display: flex; align-items: center; gap: var(--space-2xs); font-size: var(--fs-small); color: var(--text-faint); }
.booking__progress .step-dot { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-variant-numeric: tabular-nums; font-size: 0.75rem; transition: all var(--dur-micro) var(--ease-out); }
.booking__progress .step-label { display: none; }
@media (min-width: 620px) { .booking__progress .step-label { display: inline; } }
.booking__progress li.is-active { color: var(--text); }
.booking__progress li.is-active .step-dot { border-color: var(--accent); color: var(--accent); }
.booking__progress li.is-done .step-dot { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.booking__progress .step-bar { flex: 1; height: 1px; background: var(--line); }
.booking__progress li.is-done .step-bar { background: var(--accent); }

.booking__panel { display: none; }
.booking__panel.is-current { display: block; animation: bookingFade var(--dur-reveal) var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .booking__panel.is-current { animation: none; } }
@keyframes bookingFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.booking__panel h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3); margin-bottom: var(--space-md); }

/* Option chips (service, time slots) */
.booking__options { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
@media (min-width: 520px) { .booking__options { grid-template-columns: repeat(2, 1fr); } }
.booking__option {
  text-align: left; background: var(--surface); border: var(--border); border-radius: var(--radius);
  color: var(--text); padding: var(--space-md); font: inherit; cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease-out), background var(--dur-micro) var(--ease-out);
}
.booking__option:hover { border-color: var(--accent-soft); }
.booking__option[aria-pressed="true"] { border-color: var(--accent); background: var(--surface-hover); }
.booking__option .opt-name { display: block; font-weight: 500; }
.booking__option .opt-desc { display: block; color: var(--text-dim); font-size: var(--fs-small); margin-top: 2px; }

/* Calendar */
.cal { max-width: 22rem; }
.cal__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-sm); }
.cal__title { font-weight: 500; font-variant-numeric: tabular-nums; }
.cal__nav { background: transparent; border: var(--border); border-radius: var(--radius); color: var(--text); width: 44px; height: 44px; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.cal__nav:disabled { opacity: 0.35; cursor: not-allowed; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); padding-bottom: var(--space-2xs); }
.cal__day { aspect-ratio: 1; min-height: 44px; background: var(--surface); border: 1px solid transparent; border-radius: var(--radius); color: var(--text); cursor: pointer; font-variant-numeric: tabular-nums; font: inherit; transition: border-color var(--dur-micro) var(--ease-out); }
.cal__day:hover:not(:disabled) { border-color: var(--accent-soft); }
.cal__day:disabled { color: var(--text-faint); opacity: 0.4; cursor: not-allowed; background: transparent; }
.cal__day[aria-pressed="true"] { background: var(--accent); color: var(--bg); font-weight: 600; }
.cal__day.is-empty { background: transparent; border: 0; cursor: default; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: var(--space-2xs); }
.slot { background: var(--surface); border: var(--border); border-radius: var(--radius); color: var(--text); min-height: 44px; padding: var(--space-2xs) var(--space-xs); cursor: pointer; font: inherit; font-variant-numeric: tabular-nums; text-align: center; transition: border-color var(--dur-micro) var(--ease-out); }
.slot:hover:not(:disabled) { border-color: var(--accent-soft); }
.slot:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.slot[aria-pressed="true"] { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 500; }

.booking__nav { display: flex; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-xl); }
.booking__hint { color: var(--text-faint); font-size: var(--fs-small); margin-top: var(--space-sm); min-height: 1.1em; }

/* Confirmation */
.booking__confirm { text-align: center; padding: var(--space-xl) 0; }
.booking__confirm h3 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; }
.booking__ref { display: inline-block; margin-top: var(--space-md); padding: var(--space-xs) var(--space-md); border: 1px solid var(--accent); border-radius: var(--radius); color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.booking__summary { list-style: none; max-width: 24rem; margin: var(--space-lg) auto 0; text-align: left; }
.booking__summary li { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-2xs) 0; border-bottom: 1px solid var(--line); }
.booking__summary .k { color: var(--text-dim); }
.booking__summary .v { color: var(--text); text-align: right; }
