/* ==========================================================================
   THE SCALE: six text sizes, reused everywhere. Loaded last.
   1 Display  2 Heading  3 Title  4 Lead   (Cormorant Garamond)
   5 Body     6 Label                       (Jost)
   Decorative graphics (footer word, city bands, map text) and the logo are excluded.
   ========================================================================== */
:root {
  --t-display: clamp(2.9rem, 1.5rem + 4vw, 5.6rem);   /* ~90px on 1920 */
  --t-heading: clamp(2.1rem, 1.5rem + 2vw, 3.5rem);   /* ~56px */
  --t-title:   clamp(1.35rem, 1.15rem + .55vw, 1.75rem); /* ~28px */
  --t-lead:    clamp(1.12rem, 1rem + .35vw, 1.35rem); /* ~22px */
  --t-body:    1rem;                                  /* 16px */
  --t-label:   .75rem;                                /* 12px */
}

/* 1. DISPLAY */
.hero h1, .yard-big, .rx .room-text h3, .price-num, .city-big, .promise blockquote
{ font-size: var(--t-display) !important; }

/* 2. HEADING */
main section h2:not(.city-big), .story-quote, .rooms-mobile-head h2,
.stat-num, .story-sign .stat-num, .founder-facts .stat-num, .hero-foot .stat-num, .rx-roman
{ font-size: var(--t-heading) !important; }

/* 3. TITLE */
.finish h3, .oc-state, .stone-name, .cta-over .stone-name, .yi-title, .faq summary, .visit-row .v,
.price-kind, .ir-place, .founder-sign, .oc-note p, .italy-quote, .tab, .lb-cap, .rx-sub, .ob-label,
.oc-num, .mm-list span, .f-img .f-num, .finish .f-num, .room-card h3
{ font-size: var(--t-title) !important; }

/* 4. LEAD */
.lead, main section .lead
{ font-size: var(--t-lead) !important; }

/* 5. BODY */
.section p:not([class]), .faq-body p, .rx .room-text p, .room-text p, .room-card p, .finish p, .oc-known,
.price-note, .stone-use, .tab-note, .thickness p, .collection-foot p, .price-fine, .form-note,
.field input, .field select, .field textarea, .footer li, .footer li a, .header-phone, .oc-km,
.rx .rooms-index .rx-l, .ob-count span, .yard-points li, .city .lead + p
{ font-size: var(--t-body) !important; }

/* 6. LABEL */
.eyebrow, .nav a, .btn, .header .btn, .stat-label, .founder-facts .stat-label, .hero-foot .stat-label,
.room-stones span, .rx-tag, .rx-tag b, .rx .rooms-index .rx-n, .rx-hint, .rooms-progress, .stone-origin,
.yi-sub, .oc-towns li, .oc-known span, .oc-km small, .ob-count, .ir-region, .ir-stones, .finish .f-feel,
.price-from, .price-num small, .mm-list li, .builder-types li, .founder-role, .founder-photo figcaption,
.story-figure figcaption, .visit-row .k, .field label, .footer h4, .footer-base, .promise cite, .link-line,
.sound-toggle, .yard-big small, .room-img .room-cap, .scroll-cue, .room-card .num
{ font-size: var(--t-label) !important; }

/* labels inside a big number keep their own proportion */
.stat-num sup { font-size: .42em !important; }
.price-num .rupee { font-size: .5em !important; }
.price-num small { font-size: var(--t-label) !important; }

/* strays folded into the scale */
.section p.reveal:not(.lead):not(.story-quote):not(.founder-sign):not(.italy-quote), .faq-aside p, .footer p, .visit p:not(.lead):not(.form-note) { font-size: var(--t-body) !important; }
.stat-num sup { font-size: var(--t-label) !important; letter-spacing: .14em; vertical-align: super; }
/* Title steps down a touch on laptops so cards stay compact */
:root { --t-title: clamp(1.25rem, .9rem + .8vw, 1.75rem); }
.section p.founder-sign.reveal, .section p.italy-quote { font-size: var(--t-title) !important; }
.section .oc-note p { font-size: var(--t-lead) !important; }

/* origin cards: state on one line, towns in normal case, one distance line */
.oc-state { white-space: nowrap; }
.oc-towns { gap: 2px 0 !important; }
.oc-towns li { text-transform: none !important; letter-spacing: .02em !important; font-size: var(--t-body) !important; padding: 0 !important; border: 0 !important; color: var(--gold-bright); }
.oc-towns li:not(:last-child)::after { content: " · "; color: var(--ivory-faint); white-space: pre; }
.oc-dist { margin: 12px 0 0 !important; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--t-label) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); }
.oc-dist { white-space: nowrap; }

/* ---------- origin cards, decluttered: towns and "known for" split into clean lists ---------- */
#origins .origin-cards { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: clamp(12px, 1.2vw, 18px) !important; }
#origins .origin-card { display: flex; flex-direction: column; padding: clamp(18px, 1.6vw, 26px) clamp(16px, 1.4vw, 22px) !important; }
#origins .oc-num { font-size: var(--t-label) !important; letter-spacing: .24em; color: var(--gold); -webkit-text-stroke: 0 !important; margin-bottom: 6px; }
#origins .oc-state { font-size: var(--t-title) !important; margin: 0 0 14px !important; padding-bottom: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.oc-block { margin-bottom: 14px; }
.oc-label { display: block; font-size: var(--t-label); letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-faint); margin-bottom: 8px; }
#origins .oc-towns { list-style: none; margin: 0 !important; padding: 0; display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px 12px !important; }
#origins .oc-towns li { font-size: var(--t-body) !important; line-height: 1.4; color: var(--ivory); text-transform: none !important; letter-spacing: 0 !important; padding: 0 !important; border: 0 !important; }
#origins .oc-towns li::after { content: none !important; }
.oc-known-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.oc-known-list li { position: relative; padding-left: 16px; font-size: var(--t-body); line-height: 1.4; color: var(--gold-bright); }
.oc-known-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border: 1px solid var(--gold); transform: rotate(45deg); }
#origins .oc-dist { margin-top: auto !important; padding-top: 12px; }

/* origin cards: identical rows across all five (subgrid), so every block lines up */
@media (min-width: 601px) {
  #origins .origin-cards { grid-template-rows: auto auto auto auto auto; row-gap: 0 !important; }
  #origins .origin-card { display: grid !important; grid-row: span 5; grid-template-rows: subgrid; align-content: start; row-gap: 0; }
  #origins .origin-card > * { margin-top: 0; }
  #origins .oc-block { margin-bottom: 0; padding-bottom: 14px; }
  #origins .oc-dist { margin-top: 0 !important; align-self: end; }
}
/* a little less vertical air in the Origins head so the section fits one screen */
@media (min-width: 1081px) {
  #origins .section-head { gap: 10px !important; }
  #origins .italy-copy { padding: 18px 24px !important; gap: 14px !important; }
  #origins .origin-band { margin-top: 14px !important; margin-bottom: 12px !important; }
}
@media (min-width: 601px) {
  #origins .oc-block { padding-bottom: 10px; }
  #origins .oc-state { margin-bottom: 10px !important; padding-bottom: 10px; }
  #origins .origin-card { padding-top: 16px !important; padding-bottom: 16px !important; }
}
/* Italy regions: same rhythm as the cards */
#origins .ir-stones { white-space: normal; line-height: 1.5; }

/* precise fixes: Italy line one line + smaller, India band up, number and state on one line */
#origins .italy-quote, .section p.italy-quote { font-size: var(--t-lead) !important; white-space: nowrap; }
@media (min-width: 1081px) {
  #origins > .wrap { row-gap: 0 !important; }
  #origins .section-head { align-self: start !important; }
  #origins .origin-band { margin-top: 4px !important; }
  #origins .origin-cards + .origin-band { margin-bottom: 8px !important; }
}
#origins .oc-state { display: flex; align-items: baseline; gap: 10px; }
#origins .oc-state .oc-num { margin: 0 !important; font-size: var(--t-label) !important; }
@media (min-width: 601px) {
  #origins .origin-card { grid-row: span 4 !important; }
  #origins .origin-cards { grid-template-rows: auto auto auto auto !important; }
}
@media (min-width: 1081px) {
  #origins .section-head { margin-bottom: 0 !important; padding-bottom: 0 !important; }
  #origins .italy { min-height: 0 !important; }
  #origins .origin-band:not(.origin-cards + .origin-band) { margin-top: 18px !important; }
}

/* ---------- Visit card, redone: address on top, then clean label | value rows, map below ---------- */
#visit .visit-card { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; padding: clamp(24px, 2.2vw, 34px) !important; }
#visit .visit-card .visit-row { grid-column: auto !important; display: grid !important; grid-template-columns: 150px 1fr; align-items: baseline; column-gap: 20px;
  padding: 14px 0 !important; border-bottom: 1px solid var(--line) !important; position: static !important; }
#visit .visit-card .visit-row .k { margin: 0; }
#visit .visit-card .visit-row .v { font-size: var(--t-lead) !important; line-height: 1.35; white-space: nowrap; }
/* address row: label above, address below, directions link under it */
#visit .visit-card .visit-row:first-child { grid-template-columns: 1fr; row-gap: 8px; padding-top: 0 !important; }
#visit .visit-card .visit-row:first-child .v { white-space: normal; font-size: var(--t-title) !important; line-height: 1.3; }
#visit .visit-card .visit-row:first-child .link-line { position: static !important; justify-self: start; margin-top: 6px !important; }
#visit .visit-card .visit-map { margin-top: 18px; aspect-ratio: 16 / 7; border-radius: 6px; }
@media (max-width: 600px) {
  #visit .visit-card .visit-row { grid-template-columns: 1fr; row-gap: 4px; }
  #visit .visit-card .visit-row .v { white-space: normal; }
}
#visit .visit-card .visit-map { width: 100% !important; max-width: none !important; aspect-ratio: 16 / 6 !important; justify-self: stretch; }

/* enquiry form: actions, status, honeypot */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.form-actions .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; min-height: 1.4em; font-size: var(--t-body) !important; }
.form-status[data-kind="ok"] { color: #b9d8a6; }
.form-status[data-kind="err"] { color: #e7a58f; }
.form-status[data-kind="wait"] { color: var(--ivory-dim); }
.cf-turnstile { min-height: 0; }
@media (min-width: 861px) { #visit .visit-card .visit-map { aspect-ratio: 16 / 5 !important; } }

/* ---------- The Yard: 30,000 as the showpiece, copy readable over the photo ---------- */
.yard-big { font-size: clamp(5rem, 1.5rem + 9.5vw, 11.5rem) !important; line-height: .95 !important; letter-spacing: -.01em; }
.yard-big small { color: var(--gold-bright) !important; margin-top: 18px !important; }
.yard::before { background:
  linear-gradient(90deg, rgba(22,17,13,.82) 0%, rgba(22,17,13,.55) 45%, rgba(22,17,13,.7) 100%),
  linear-gradient(0deg, var(--ink), transparent 22%, transparent 78%, var(--ink)) !important; }
.yard-copy { background: rgba(20, 16, 12, .74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 194, 147, .28); border-radius: 14px; padding: clamp(22px, 2.4vw, 36px) !important; }
.yard-copy .lead { color: var(--ivory) !important; }
.yard-points li { color: rgba(238, 230, 216, .9) !important; }
@media (max-width: 600px) { .yard-big { font-size: clamp(4.2rem, 3rem + 6vw, 5.2rem) !important; } }
