/* =========================================================================
   IVORY — Luxury Car Hire Melbourne (WORKING NAME)
   Design system · white-led / light palette (deliberately not black)
   Style: editorial luxury · Cormorant Garamond display + Inter body
   Accent: champagne bronze. Charcoal ink (not pure black).
   All colours are CSS custom properties — no hardcoded hex in components.
   ========================================================================= */

:root {
  /* Surfaces (white-led) */
  --paper:      #FBFAF7;   /* primary warm white */
  --paper-2:    #F4F1EA;   /* alt sections / cards */
  --paper-3:    #ECE7DC;   /* deeper sand for frames */

  /* Ink (near-black, never pure #000) */
  --ink:        #1C1B18;   /* headings + body */
  --ink-soft:   #5B564C;   /* muted copy */
  --ink-faint:  #8B8578;   /* labels / meta */

  /* Champagne bronze accent */
  --gold:       #B08D57;   /* decorative rules / fills */
  --gold-soft:  #CBB489;   /* light lines */
  --gold-deep:  #7A5E31;   /* accent TEXT (AA on paper) */

  --line:       #E4DFD4;   /* hairlines */

  /* Type */
  --font-display: "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --unit: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: 0.005em; color: var(--ink); }
.display  { font-size: clamp(2.9rem, 7.2vw, 6.1rem); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p  { color: var(--ink-soft); max-width: 65ch; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; color: var(--ink); font-weight: 300; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--gold); display: inline-block; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--paper-2); }
.stack > * + * { margin-top: 1.1rem; }
.measure { max-width: 62ch; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 1.9rem;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--gold { border-color: var(--gold); color: var(--paper); background: var(--gold); }
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--lg { min-height: 58px; padding: 0 2.4rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: gap .3s var(--ease), color .3s var(--ease); }
.link-arrow:hover { gap: 0.9em; color: var(--gold-deep); }
.link-arrow::after { content: "\2192"; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled { background: var(--paper); padding-block: 0.9rem; box-shadow: 0 1px 0 var(--line); }
.brand { font-family: var(--font-display); font-size: 1.65rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink); padding-left: 0.32em; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.52rem; letter-spacing: 0.42em; color: var(--ink-faint); margin-top: 2px; padding-left: 0.1em; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); position: relative; padding-block: 4px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.nav a:not(.btn):hover::after { width: 100%; }
.nav .btn { min-height: 44px; padding: 0 1.3rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 20px; height: 1.5px; background: var(--ink); transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 6rem;
  background:
    radial-gradient(120% 90% at 50% -10%, #FFFFFF 0%, var(--paper) 42%, var(--paper-2) 100%);
}
.hero::after { /* fine top hairline of light */ content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.5), transparent 25%); }
.hero__inner { position: relative; z-index: 2; max-width: 960px; }
.hero .display { margin-top: 1.6rem; }
.hero__sub { margin-top: 1.7rem; font-size: clamp(1.05rem, 1.6vw, 1.32rem); font-weight: 300; color: var(--ink-soft); max-width: 52ch; }
.hero__cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-faint); }
.hero__scroll span.rule { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); }

/* Image slot — intentional, luxe placeholder for real fleet photography */
.slot {
  position: relative; background: var(--paper-3); border: 1px solid var(--line);
  overflow: hidden; aspect-ratio: 16 / 10;
}
.slot::before { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,.55) 50%, transparent 58%),
    repeating-linear-gradient(125deg, var(--paper-2) 0 22px, var(--paper-3) 22px 44px);
  opacity: .9; }
.slot__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; z-index: 2; }
.slot__label .k { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-faint); }
.slot__label .n { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink-soft); }
.slot--tall { aspect-ratio: 3 / 4; }
.slot--wide { aspect-ratio: 21 / 9; }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; }
.section-head.center p { margin-inline: auto; }

/* ---------- Fleet grid ---------- */
.grid { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-fleet { background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card-fleet:hover { transform: translateY(-4px); box-shadow: 0 18px 50px -30px rgba(28,27,24,.5); }
.card-fleet .slot { aspect-ratio: 4 / 3; border: 0; border-bottom: 1px solid var(--line); }
.card-fleet__body { padding: 1.4rem 1.5rem 1.6rem; }
.card-fleet__body .k { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.card-fleet__body h3 { margin: 0.5rem 0 0.5rem; }
.card-fleet__body p { font-size: 0.95rem; margin-bottom: 1rem; }
.flag { display: inline-block; margin-top: 0.4rem; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); border: 1px dashed var(--line); padding: 3px 7px; }

/* ---------- Experiences list ---------- */
.exp { border-top: 1px solid var(--line); }
.exp__row { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: 1.5rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); transition: padding-left .35s var(--ease); }
.exp__row:hover { padding-left: 0.7rem; }
.exp__row .num { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }
.exp__row h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.exp__row p { font-size: 0.92rem; margin-top: 0.3rem; max-width: 60ch; }
.exp__row .go { color: var(--ink-faint); font-size: 1.4rem; transition: color .3s var(--ease), transform .3s var(--ease); }
.exp__row:hover .go { color: var(--gold-deep); transform: translateX(5px); }

/* ---------- Feature band ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature--rev { direction: rtl; } .feature--rev > * { direction: ltr; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); }
.value .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.value h3 { font-size: 1.15rem; margin: 0.9rem 0 0.5rem; }
.value p { font-size: 0.92rem; }
.value { padding-top: 1.3rem; border-top: 1px solid var(--ink); }

/* ---------- Journal ---------- */
.card-post .slot { aspect-ratio: 3 / 2; border: 0; border-bottom: 1px solid var(--line); }
.card-post { border: 1px solid var(--line); background: var(--paper); transition: transform .4s var(--ease); }
.card-post:hover { transform: translateY(-4px); }
.card-post__body { padding: 1.3rem 1.4rem 1.5rem; }
.card-post__body .k { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.card-post__body h3 { font-size: 1.25rem; margin-top: 0.5rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--paper-2); border-block: 1px solid var(--line); text-align: center; }
.cta-band .display { margin: 1rem auto 0; max-width: 16ch; }
.cta-band .btn { margin-top: 2rem; }

/* ---------- Contact / form ---------- */
.form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.15rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  padding: 0.9rem 1rem; border-radius: 0; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.6rem; }
.contact-aside .eyebrow { margin-bottom: 1rem; }
.contact-aside dl { margin-top: 1.6rem; }
.contact-aside dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-top: 1.1rem; }
.contact-aside dd { font-size: 1.05rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand { font-size: 1.9rem; }
.footer-brand p { margin-top: 1.1rem; font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; margin-bottom: 1.1rem; }
.footer-col a { display: block; font-size: 0.92rem; color: var(--ink-soft); padding: 0.32rem 0; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold-deep); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-faint); }
.footer-base a { color: var(--ink-faint); } .footer-base a:hover { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature, .form-grid { grid-template-columns: 1fr; }
  .feature--rev { direction: ltr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem; background: var(--paper); padding: 2rem 2.2rem; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 60px -30px rgba(0,0,0,.4); }
  .nav.open { transform: none; }
  .nav a { font-size: 1rem; }
  .nav-toggle { display: inline-flex; z-index: 120; }
  body.menu-open { overflow: hidden; }
  .grid--3, .grid--2, .values { grid-template-columns: 1fr; }
  .exp__row { grid-template-columns: 2.6rem 1fr; }
  .exp__row .go { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero__scroll { display: none; }
}
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

/* =========================================================================
   INNER PAGES (generated) — page hero, prose, FAQ, related, wide footer
   ========================================================================= */
.page-hero { padding: clamp(8rem,13vw,10.5rem) 0 clamp(2.5rem,5vw,3.5rem);
  background: radial-gradient(120% 100% at 50% -20%, #fff, var(--paper) 45%, var(--paper-2)); border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-faint); } .breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { margin: 0 .55em; color: var(--gold-soft); }
.page-hero h1 { margin-top: 1.1rem; max-width: 20ch; }
.page-hero .hero__sub { margin-top: 1.2rem; }
.page-hero .btnrow { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.body-wrap { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.prose { max-width: 72ch; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.6rem,2.8vw,2.25rem); }
.prose h3 { margin: 1.9rem 0 .7rem; font-size: 1.3rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: .5rem; padding-left: .3rem; }
.prose a { color: var(--gold-deep); border-bottom: 1px solid var(--gold-soft); transition: border-color .25s var(--ease); }
.prose a:hover { border-color: var(--gold-deep); }
.prose strong { color: var(--ink); font-weight: 600; }

.enquire-card { position: sticky; top: 6.5rem; background: var(--paper-2); border: 1px solid var(--line); padding: 1.8rem 1.7rem; }
.enquire-card .eyebrow { margin-bottom: .9rem; }
.enquire-card h3 { font-size: 1.35rem; }
.enquire-card p { font-size: .9rem; margin: .6rem 0 1.3rem; }
.enquire-card .btn { width: 100%; }

.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 1.22rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: .9rem; color: var(--ink-soft); max-width: 68ch; }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.related-grid a { border: 1px solid var(--line); padding: 1.3rem 1.4rem; background: var(--paper); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.related-grid a:hover { transform: translateY(-3px); border-color: var(--gold-soft); }
.related-grid .k { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.related-grid span.t { display: block; font-family: var(--font-display); font-size: 1.22rem; margin-top: .4rem; color: var(--ink); }

/* Wider 5-column footer (brand + 4 link columns) */
.footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); }

@media (max-width: 1000px) {
  .body-wrap { grid-template-columns: 1fr; }
  .enquire-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Preview-only: highlight unconfirmed placeholders. Removed at go-live once filled. */
.todo { background: #FBF3D9; color: var(--gold-deep); border-bottom: 1px dashed var(--gold); padding: 0 .22em; font-size: .92em; border-radius: 2px; }

/* footer: brand + 5 link columns (Areas We Serve added) */
.footer-grid { grid-template-columns: 1.2fr repeat(5, 1fr); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.nav { gap: clamp(0.9rem, 1.8vw, 1.8rem); }

/* ---------- real imagery ---------- */
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 62%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--paper) 0%, rgba(251,250,247,.94) 30%, rgba(251,250,247,.62) 50%, rgba(251,250,247,0) 74%); }
.hero__inner { z-index: 2; }
.card-fleet img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.card-post img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.feature-img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); }
@media (max-width: 820px) {
  .hero__media img { object-position: 68% 60%; }
  .hero::before { background: linear-gradient(170deg, var(--paper) 0%, rgba(251,250,247,.93) 38%, rgba(251,250,247,.55) 62%, rgba(251,250,247,.15) 100%); }
}

/* polish: footer wordmark was wrapping to 3 lines; hero copy needed more contrast over the car */
.footer-brand .brand { font-size: 1.15rem; letter-spacing: 0.16em; }
.hero::before { background: linear-gradient(100deg, var(--paper) 0%, rgba(251,250,247,.97) 38%, rgba(251,250,247,.78) 56%, rgba(251,250,247,0) 80%); }
.hero__sub { color: var(--ink); }

/* ===================================================================
   DESIGN LOOP — ROUND 1
   Collapse to the bar: 5 type sizes, 2 weights, accent <=2 per screen.
   =================================================================== */
:root{
  --t-display: clamp(3.4rem, 6.8vw, 6.1rem);
  --t-h2:      clamp(1.9rem, 3vw, 2.5rem);
  --t-h3:      1.375rem;
  --t-body:    1rem;
  --t-label:   0.75rem;
}

/* --- exactly five sizes --- */
.display, .hero .display, .cta-band .display,
h1, .page-hero h1                                   { font-size: var(--t-display); }
h2, .prose h2, .section-head h2                      { font-size: var(--t-h2); }
h3, h4, .prose h3, .card-fleet__body h3, .card-post__body h3,
.value h3, .value .num, .exp__row h3, .enquire-card h3,
.faq summary, .related-grid span.t, .slot__label .n,
.brand, .footer-brand .brand                         { font-size: var(--t-h3); }
p, li, .lead, .hero__sub, .card-fleet__body p, .exp__row p,
.value p, .enquire-card p, .faq details p, .footer-col a,
.footer-brand p, .contact-aside dd, .prose p, .prose li,
.field input, .field select, .field textarea         { font-size: var(--t-body); }
.eyebrow, .btn, .nav a, .breadcrumb, .flag, .form-note,
.card-fleet__body .k, .card-post__body .k, .related-grid .k,
.footer-col h4, .footer-base, .contact-aside dt,
.field label, .exp__row .num, .hero__scroll,
.slot__label .k, .brand small, .todo                 { font-size: var(--t-label); }

/* --- exactly two weights: 400 body, 600 micro-labels --- */
body, h1, h2, h3, h4, p, li, a, span, div, .display, .lead,
.hero__sub, .brand, .faq summary, .value .num, .exp__row .num { font-weight: 400; }
.eyebrow, .btn, .nav a, .footer-col h4, .card-fleet__body .k,
.card-post__body .k, .related-grid .k, .contact-aside dt,
.field label, .breadcrumb, .prose strong                      { font-weight: 600; }

/* --- accent discipline: hero gets none, eyebrow rules go neutral --- */
.eyebrow::before, .eyebrow.center::after { background: var(--line); }
.hero .eyebrow { color: var(--ink-faint); }
.hero__scroll  { color: var(--ink-faint); }
.hero__scroll span.rule { background: linear-gradient(var(--line), transparent); }

/* headline breathing room at the new scale */
.display { line-height: 1.02; letter-spacing: -0.015em; }
.page-hero h1 { line-height: 1.05; }
.link-arrow { font-size: var(--t-label); font-weight: 600; }

/* ===================================================================
   DESIGN LOOP — ROUND 2
   Craft critic FAIL: hero was a left-copy/right-car split, not full-bleed;
   two filled accent blocks above the fold; no moment of scale.
   Fix: one photograph edge to edge behind the nav, one centred type block,
   headline on one line, no filled button above the fold.
   =================================================================== */
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 0; }
.hero::before, .hero::after { content: none; }           /* kill the wipe gradient entirely */
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 58%; }
/* uniform light scrim: keeps the photograph visible to all four edges instead of erasing half of it */
.hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(251,250,247,.40); }
.hero__inner { position: relative; z-index: 2; max-width: 1240px; }

.hero .display {
  white-space: nowrap; margin: 1.4rem 0 0; line-height: 1;
  letter-spacing: -0.018em; color: var(--ink);
}
.hero__byline {
  margin: 1.5rem auto 0; font-size: var(--t-label); font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
}
/* no filled button above the fold — an underlined word, like the reference */
.hero__cta {
  display: inline-block; margin-top: 2.6rem; font-size: var(--t-label); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 6px;
  transition: opacity .3s var(--ease);
}
.hero__cta:hover { opacity: .6; }
/* nav Enquire is a ghost while it sits over the hero, so the hero holds zero filled accents */
.site-header:not(.scrolled) .nav .btn--gold {
  background: transparent; border-color: var(--ink); color: var(--ink);
}
/* the closing band was competing with the hero headline at the same size */
.cta-band .display { font-size: var(--t-h2); }

@media (max-width: 900px) {
  .hero .display { white-space: normal; }
  .hero__media img { object-position: 64% 56%; }
  .hero__media::after { background: rgba(251,250,247,.52); }
}

/* ===================================================================
   DESIGN LOOP — ROUND 3
   Craft critic: 6/7 pass. M7 failed (nav tracking ~1px vs 2px floor).
   Real issue: type printed ON the car, and mobile washed out to buy contrast.
   Fix: move the type block up onto the even sky field, drop the car lower in
   frame, scrim only the sky band (not the subject), raise nav tracking.
   =================================================================== */
.hero { align-items: start; }
.hero__inner { padding-top: clamp(6.5rem, 15vh, 10rem); }

/* push the car down and right so the upper band is clean sky for the type */
.hero__media img { object-position: 62% 76%; }

/* scrim ONLY the pale sky band where type sits; the car keeps full strength */
.hero__media::after {
  background: linear-gradient(180deg,
    rgba(251,250,247,.58) 0%,
    rgba(251,250,247,.30) 38%,
    rgba(251,250,247,0)   66%);
}

/* M7: nav caps were ~1px; hero labels are 2.4px. Match them. */
.nav a, .nav .btn, .site-header .btn { letter-spacing: 0.2em; }

/* wordmark must not change value between breakpoints */
.brand, .site-header .brand { color: var(--ink); }

@media (max-width: 900px) {
  .hero__media img { object-position: 60% 82%; }
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(251,250,247,.60) 0%,
      rgba(251,250,247,.28) 42%,
      rgba(251,250,247,0)   70%);
  }
  .hero__inner { padding-top: clamp(5.5rem, 13vh, 8rem); }
}

/* ===================================================================
   ROUND 3b — UI/UX critic FAIL (measured WCAG sampling)
   Root cause: --ink-faint (a muted label token) reused over a photograph.
   Measured 2.4-3.1:1 in three places, all below minimum.
   =================================================================== */
/* label colours over imagery must clear 4.5:1 - ink-faint never goes on a photo */
.hero .eyebrow          { color: var(--ink); }
.site-header .brand small { color: var(--ink-soft); }

/* the CTA underline was the only "this is a link" cue and it measured 2.4:1 on the car */
.hero__cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 6px 8px;
  color: var(--ink); border-bottom: 1.5px solid var(--ink);
}
/* real 44x44 tap targets (hamburger rendered 42x43) */
.nav-toggle { width: 46px; height: 46px; }
/* MELBOURNE measured 3.61:1 over the building edge - ink-soft is not enough on a photo */
.site-header .brand small { color: var(--ink); }

/* ===================================================================
   DESIGN LOOP — ROUND 4
   Craft critic: M3, M8, M9 FAIL. Mobile was buying legibility twice over:
   washing the top half of the car AND shrinking the headline to 3.7x so the
   faded field was big enough. Fix = win the field by MOVING THE CROP.
   =================================================================== */

/* desktop: shift the frame left so the building corner stops cutting "Melbourne" */
.hero__media img { object-position: 46% 74%; }

@media (max-width: 900px) {
  /* 1. delete the wash entirely - the photograph stays at full strength */
  .hero__media::after { background: none; }

  /* 2. win the field by cropping: type drops onto the even concrete apron,
        car sits above it at full strength */
  .hero { align-items: end; }
  .hero__inner { padding-top: 0; padding-bottom: clamp(2.5rem, 7vh, 4rem); }
  .hero__media img { object-position: 54% 50%; }

  /* 3. restore the moment of scale - was ~48px (3.7x), now ~76px (~6x) */
  .hero .display { font-size: clamp(3.4rem, 18.5vw, 4.9rem); line-height: .96; }

  /* 4. wordmark was 7px-tracked at desktop scale and collided with the hamburger */
  .site-header .brand { font-size: 1.02rem; letter-spacing: 0.16em; }
  .site-header .brand small { letter-spacing: 0.3em; }

  /* 5. eyebrow on one line, no dangling separator */
  .hero .eyebrow { white-space: nowrap; font-size: 0.66rem; letter-spacing: 0.2em; }
  .hero .eyebrow::before, .hero .eyebrow.center::after { width: 18px; }
}

/* ===================================================================
   ROUND 4b — UI/UX: CTA rendered 163x25px, not the 44px min-height claimed.
   Hit area now comes from padding; the underline is a pseudo-element so it
   stays tight to the text instead of dropping to the bottom of the box.
   =================================================================== */
.hero__cta {
  position: relative; display: inline-block;
  min-height: 48px; padding: 16px 14px 18px;
  border-bottom: 0;
}
.hero__cta::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px;
  height: 1.5px; background: var(--ink);
}
.nav-toggle { width: 48px; height: 48px; }

/* ===================================================================
   ROUND 4c — mobile art direction
   Removing the wash exposed the real problem: a landscape photo on a portrait
   viewport shows its full height, so object-position cannot push the car down
   and the headline ended up printed on the car. Fixed with a purpose-shot
   PORTRAIT hero (car in the bottom third, sky reserved above) served only to
   mobile, with the type block back at the top on the even sky field.
   =================================================================== */
.hero__media picture { display: block; position: absolute; inset: 0; }
@media (max-width: 900px) {
  .hero { align-items: start; }
  .hero__inner { padding-top: clamp(5.5rem, 15vh, 8.5rem); padding-bottom: 0; }
  .hero__media img { object-position: 50% 42%; }
  .hero__media::after { background: none; }
}
