/* ================================================
   FORGED BY FIRE — DESIGN SYSTEM
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&family=Space+Mono:wght@400;700&display=swap');

/* ================================================
   TOKENS
   ================================================ */

:root {
  --bg:        #F4F1EA;
  --surface:   #ECE7DD;
  --accent:    #C2924F;
  --text:      #211D17;
  --muted:     #6F675B;
  --hairline:  rgba(33, 29, 23, 0.12);
  --border:    rgba(33, 29, 23, 0.10);

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
  --mono:   'Space Mono', 'Courier New', monospace;

  --max-w:  1360px;
  --nav-h:  68px;
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================
   RESET
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

/* ================================================
   NAV
   ================================================ */

.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 200;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}

.nav--solid {
  background: rgba(14, 14, 12, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}

.nav__brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav__brand img {
  display: block;
  height: 72px;
  max-height: 72px;
  width: auto;
}

.nav__brand em { color: var(--accent); font-style: normal; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s;
}

.nav__link:hover { color: var(--text); }

.nav__cta {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: background 0.2s, color 0.2s;
}

.nav__cta:hover {
  background: var(--accent);
  color: var(--text);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.2s;
}

.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg) url('../images/Front.png') center 30% / cover no-repeat;
  background-attachment: fixed;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(14,14,12,0.15) 0%,
    rgba(14,14,12,0.05) 30%,
    rgba(14,14,12,0.55) 60%,
    rgba(14,14,12,0.96) 100%
  );
}

.hero__body {
  position: relative;
  z-index: 2;
  padding: 0 3rem 4.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}


.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.75rem;
}

.hero__pill::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #F5F2EB;
  max-width: 900px;
  margin-bottom: 2rem;
}

.hero__h1 em { font-style: italic; color: var(--accent); }

.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.9rem 2rem;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-fill {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.btn-fill:hover { background: transparent; color: var(--accent); }

.btn-line {
  background: transparent;
  border-color: rgba(33,29,23,0.28);
  color: var(--text);
}

.btn-line:hover { border-color: var(--text); }

.btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost:hover { background: var(--accent); color: var(--text); }

/* ================================================
   STATS STRIP
   ================================================ */

.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}

.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}

.stat {
  padding: 2rem 3rem;
  border-right: 1px solid var(--hairline);
}

.stat:last-child { border-right: none; }

.stat__n {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__n em { color: var(--accent); font-style: normal; font-weight: 400; }

.stat__l {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
}

/* ================================================
   WRAP / LAYOUT
   ================================================ */

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}

.line {
  height: 1px;
  background: var(--hairline);
  border: none;
}

/* Simple form alert styles */
.form-alert { padding: 0.9rem 1rem; border-radius: 6px; margin-bottom: 1rem; font-family: var(--mono); font-size: 0.95rem; display: none; }
.form-alert--success { background: rgba(194,146,79,0.12); color: var(--accent); border: 1px solid rgba(194,146,79,0.16); display: block; }
.form-alert--error { background: rgba(210,60,60,0.07); color: #D23C3C; border: 1px solid rgba(210,60,60,0.12); display: block; }

/* ================================================
   PRODUCT SECTION
   ================================================ */

.product {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  min-height: 680px;
}

.product__img {
  overflow: hidden;
}

.product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.product__img:hover img { transform: scale(1.04); }

.product__info {
  background: var(--surface);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--hairline);
}

.product__eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.product__name {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.product__price {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2.5rem;
}

.product__price sub {
  font-size: 0.9rem;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--muted);
  vertical-align: bottom;
}

.specs {
  border-top: 1px solid var(--hairline);
  margin-bottom: 2.5rem;
}

.spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(33,29,23,0.08);
}

.spec__k {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.spec__v {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  text-align: right;
}

.spec__v--hi { color: var(--accent); }

/* ================================================
   GALLERY
   ================================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  height: 560px;
  margin: 0;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.gallery__item:hover img { transform: scale(1.05); }

/* room label, lower-left, over a soft scrim */
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 13, 0.5) 0%, transparent 38%);
  pointer-events: none;
}
.gallery__cap {
  position: absolute;
  left: 1.4rem;
  bottom: 1.3rem;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #F7F4EE;
}

/* ================================================
   STORY / QUOTE
   ================================================ */

.story {
  padding: 10rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8rem;
  align-items: start;
}

.story__kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 2rem;
  display: block;
}

.story__quote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.story__quote em { font-style: normal; color: var(--accent); }

.story__attr {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.story__body p {
  font-size: 1.0625rem;
  color: rgba(33,29,23,0.72);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.story__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  margin-top: 4rem;
  grid-column: 1 / -1;
}

.fact {
  padding: 3rem 0;
  border-right: 1px solid var(--hairline);
  padding-right: 2rem;
  padding-left: 0;
}

.fact:first-child { border-left: none; }
.fact:last-child { border-right: none; }

.fact__n {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.fact__n sup { font-size: 1.4rem; color: var(--muted); }

.fact__l {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  line-height: 1.65;
}

/* ================================================
   CLADDING SELECTOR
   ================================================ */

.cladding-section {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 6rem 3rem;
}

.cladding-section .wrap { max-width: var(--max-w); margin: 0 auto; padding: 0; }

.cladding-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.cladding-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.cl-input { position: absolute; opacity: 0; pointer-events: none; }

.cl-tabs {
  display: flex;
  gap: 0.5rem;
}

.cl-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
  min-width: 110px;
}

.cl-tab:hover { border-color: rgba(192,90,31,0.3); }

.cl-sw {
  width: 44px;
  height: 16px;
  border-radius: 1px;
}

.cl-sw--k { background: #0D0C0B; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.cl-sw--i { background: linear-gradient(135deg, #6B4226, #8B5E3C); }
.cl-sw--g { background: linear-gradient(135deg, #5A5A58, #6E6E6C); }
.cl-sw--w { background: linear-gradient(135deg, #DDD9D0, #EFEBE3); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }

.cl-tab-name {
  font-family: var(--mono);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.cl-display { display: none; }

.cl-display img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 40%;
}

.cl-display__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-top: none;
}

.cl-display__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.cl-display__code {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* :checked state — tabs are inside .cladding-head sibling, displays are direct siblings */
#cl-k:checked ~ .cladding-head .cl-tab[for="cl-k"] { border-color: var(--accent); }
#cl-k:checked ~ .cladding-head .cl-tab[for="cl-k"] .cl-tab-name { color: var(--accent); }
#cl-k:checked ~ .cl-display--k { display: block; }

#cl-i:checked ~ .cladding-head .cl-tab[for="cl-i"] { border-color: var(--accent); }
#cl-i:checked ~ .cladding-head .cl-tab[for="cl-i"] .cl-tab-name { color: var(--accent); }
#cl-i:checked ~ .cl-display--i { display: block; }

#cl-g:checked ~ .cladding-head .cl-tab[for="cl-g"] { border-color: var(--accent); }
#cl-g:checked ~ .cladding-head .cl-tab[for="cl-g"] .cl-tab-name { color: var(--accent); }
#cl-g:checked ~ .cl-display--g { display: block; }

#cl-w:checked ~ .cladding-head .cl-tab[for="cl-w"] { border-color: var(--accent); }
#cl-w:checked ~ .cladding-head .cl-tab[for="cl-w"] .cl-tab-name { color: var(--accent); }
#cl-w:checked ~ .cl-display--w { display: block; }

/* ================================================
   CERTIFICATIONS
   ================================================ */

.certs {
  padding: 7rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.certs__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.certs__title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.certs__title em { font-style: italic; color: var(--accent); }

.certs__note {
  font-size: 1.0625rem;
  color: rgba(33,29,23,0.68);
  line-height: 1.8;
  max-width: 480px;
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.cert {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s;
}

.cert:hover { border-color: rgba(192,90,31,0.35); }

.cert__std {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.cert__title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.cert__desc {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  line-height: 1.65;
}

/* ================================================
   CONTACT
   ================================================ */

.contact-section {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-aside {
  padding: 7rem 3rem;
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-aside__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 3.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
}

.contact-aside__title em { font-style: italic; color: var(--accent); }

.contact-line {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
}

.contact-line__l {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  min-width: 80px;
  flex-shrink: 0;
}

.contact-line__v {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
}

.contact-line__v a { transition: color 0.2s; }
.contact-line__v a:hover { color: var(--accent); }

.contact-note {
  font-family: var(--mono);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 2.5rem;
  line-height: 1.8;
}

.contact-form-wrap {
  padding: 7rem 4rem;
}

.form-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.fg { margin-bottom: 1.25rem; }

.fl {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.fi, .ft, .fs {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.875rem 1.125rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

.fi:focus, .ft:focus, .fs:focus { border-color: var(--accent); }
.fi::placeholder, .ft::placeholder { color: rgba(136,136,128,0.3); }
.ft { min-height: 120px; resize: vertical; }
.fs { appearance: none; cursor: pointer; }

.fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ================================================
   FOOTER
   ================================================ */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 3rem 0;
  overflow: hidden;
}

/* top row: section links left, copyright/meta right */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 1.25rem;
}
.footer__links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer__links a,
.footer__meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.footer__links a { transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__meta { letter-spacing: 0.12em; }

/* gable crest, centred, brand overlaid on the cladding */
.footer__crest {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vh, 3rem);
}
.footer__gable {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
}
.footer__brand {
  position: absolute;
  left: 50%;
  bottom: 96px;            /* lift the wordmark clear of the sticky bar */
  top: auto;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}
.footer__mono {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.footer__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.6vw, 1.15rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #F7F4EE;
  margin-top: 0.9rem;
  text-shadow: 0 1px 14px rgba(0,0,0,0.5);
}
.footer__tag {
  font-family: var(--mono);
  font-size: clamp(0.55rem, 1vw, 0.66rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.55rem;
}

/* ================================================
   SCROLL REVEAL
   ================================================ */

@keyframes up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .r {
    animation: up 0.8s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

/* ================================================
   MOBILE
   ================================================ */

@media (max-width: 900px) {
  .nav__inner { padding: 0 1.5rem; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(14,14,12,0.98);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--hairline);
    backdrop-filter: blur(12px);
  }

  .hero { background-attachment: scroll; }
  .hero__body { padding: 0 1.5rem 3.5rem; }
  .hero__h1 { font-size: clamp(2.5rem, 8vw, 4rem); }

  .stats__row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.5rem; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--hairline); border-right: 1px solid var(--hairline); }
  .stat:nth-child(4) { border-top: 1px solid var(--hairline); border-right: none; }

  .product { grid-template-columns: 1fr; }
  .product__img { height: 320px; }
  .product__info { padding: 3rem 1.5rem; border-left: none; border-top: 1px solid var(--hairline); }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item { height: 300px; }
  .gallery__cap { left: 1rem; bottom: 1rem; font-size: 0.56rem; }

  .hero__cue { display: none; }   /* avoid overlap with the CTAs on mobile */

  .story {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 1.5rem;
  }

  .story__facts { grid-template-columns: 1fr; }
  .fact { border-right: none; border-bottom: 1px solid var(--hairline); padding: 2rem 0; }
  .fact:last-child { border-bottom: none; }

  .cladding-section { padding: 4rem 1.5rem; }
  .cladding-head { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .cl-tabs { flex-wrap: wrap; }
  .cl-display img { height: 300px; }

  .certs { padding: 4rem 1.5rem; }
  .certs__intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .certs__grid { grid-template-columns: 1fr 1fr; }

  .contact-inner { grid-template-columns: 1fr; }
  .contact-aside { padding: 4rem 1.5rem 3rem; border-right: none; border-bottom: 1px solid var(--hairline); }
  .contact-form-wrap { padding: 3rem 1.5rem; }
  .fr2 { grid-template-columns: 1fr; }

  .footer { padding: 2rem 1.5rem 0; }
  .footer__top { flex-direction: column; gap: 0.75rem; text-align: center; justify-content: center; }
  .footer__links { justify-content: center; gap: 1.1rem; }
  .footer__gable { max-width: 460px; }
  .footer__name { letter-spacing: 0.3em; }
  .footer__brand { bottom: 74px; }

  .wrap { padding: 0 1.5rem; }
}

@media (max-width: 560px) {
  .certs__grid { grid-template-columns: 1fr; }
}

/* ================================================================
   ✦ ULTRA UPGRADE — cinematic hero, texture & micro-interactions
   (appended; rules below intentionally override earlier ones)
   ================================================================ */

/* ---- Film grain + vignette ------------------------------------ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 190;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 189;
  pointer-events: none;
  background: radial-gradient(120% 100% at 50% 38%, transparent 62%, rgba(33,29,23,0.06) 100%);
}

/* ---- Cinematic scroll hero ------------------------------------ */
.hero {
  position: relative;
  display: block;
  height: 210vh;          /* pinned track length */
  min-height: 0;
  background: var(--bg);
  background-attachment: initial;
}
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg);
}

/* backdrop: outer layer parallaxes with scroll, inner image drifts (Ken-Burns) */
.hero__media {
  position: absolute;
  inset: -8%;
  z-index: 0;
  transform: scale(calc(1 + var(--p, 0) * 0.12)) translateY(calc(var(--p, 0) * -5%));
  will-change: transform;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  animation: heroDrift 28s ease-in-out infinite alternate;
}
/* Scroll-scrubbed video: hidden until decoded, then crossfades over the still */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  pointer-events: none;
}
.hero.is-video .hero__video { opacity: 1; }
/* once the video carries the motion, stop the still's Ken-Burns drift */
.hero.is-video .hero__img { animation: none; }
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.15) translate3d(-1.5%, -2.2%, 0); }
}

/* cinematic colour grade */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(14,14,12,0.34) 0%, rgba(14,14,12,0.04) 28%, rgba(14,14,12,0.10) 58%, rgba(14,14,12,0.40) 100%),
    radial-gradient(110% 80% at 18% 92%, rgba(192,90,31,0.16), transparent 60%);
}
/* low-opacity veil over the bottom ~30%, deepening as the headline rises */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(14,14,12, calc(0.40 + var(--ti, 0) * 0.42)) 0%,
    rgba(14,14,12, calc(0.22 + var(--ti, 0) * 0.28)) 16%,
    transparent 32%
  );
}

.hero__progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 5;
  background: rgba(240,237,230,0.06);
}
.hero__progress span {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--accent), #E8893F);
}

/* headline group rises from the bottom as you scroll */
.hero__body {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem 5.5vh;
  transform: translateY(calc((1 - var(--ti, 0)) * 46px));
}
.hero__pill {
  opacity: calc(0.62 + var(--ti, 0) * 0.38);
  transform: translateY(calc((1 - var(--ti, 0)) * 14px));
  background: rgba(14,14,12,0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero__h1 {
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
  max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.45);
}
.hero__sub { text-shadow: 0 1px 16px rgba(0,0,0,0.5); }
.hero__h1 .ln { display: block; overflow: hidden; }
.hero__h1 .ln > span {
  display: block;
  transform: translateY(calc((1 - var(--ti, 0)) * 116%));
  will-change: transform;
}
.hero__sub {
  max-width: 40ch;
  margin-bottom: 2.25rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(240,237,230,0.72);
  opacity: var(--ti, 0);
  transform: translateY(calc((1 - var(--ti, 0)) * 22px));
}
.hero__actions {
  opacity: var(--ti, 0);
  transform: translateY(calc((1 - var(--ti, 0)) * 22px));
}

/* scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 2.6vh;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  opacity: var(--cue, 1);
  pointer-events: none;
}
.hero__cue-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.hero__cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: cuePulse 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cuePulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ---- Button micro-interactions -------------------------------- */
.btn { position: relative; overflow: hidden; gap: 0.5rem; }
.btn__arr { transition: transform 0.35s var(--ease); display: inline-block; }
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(192,90,31,0.75); }
.btn-fill:hover .btn__arr { transform: translateX(4px); }
.btn-line:hover { transform: translateY(-2px); }

/* ---- Section eyebrow underline accents ------------------------ */
.story__kicker, .product__eyebrow, .form-eyebrow {
  position: relative;
  padding-left: 2.4rem;
}
.story__kicker::before, .product__eyebrow::before, .form-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 1.7rem; height: 1px;
  background: var(--accent);
}

/* ---- Richer reveal fallback (non-Chromium) -------------------- */
@supports not (animation-timeline: view()) {
  .r { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .r.r--in { opacity: 1; transform: none; }
}

/* ---- Hover lift on cards/specs -------------------------------- */
.cert { transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; }
.cert:hover { transform: translateY(-3px); background: #E6DFD2; }

/* ---- Hero mobile ---------------------------------------------- */
@media (max-width: 900px) {
  .hero { height: 180vh; }
  .hero__stage { min-height: 560px; }
  .hero__body { padding: 0 1.5rem 6vh; }
  .hero__h1 { font-size: clamp(2.6rem, 11vw, 4.4rem); }
  .hero__sub { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img, .hero__cue-line { animation: none; }
  .hero { height: 100vh; }
  .hero__stage { position: relative; }
}

/* ================================================
   LIGHT PALETTE — contrast overrides
   The nav + hero copy sit over the dark video veil and must stay
   light; once the nav goes solid over the light page it flips to ink.
   ================================================ */

/* Nav: light over the hero, dark/ink once scrolled onto the page */
.nav__brand            { color: #F7F4EE; }
.nav__link             { color: rgba(247,244,238,0.72); }
.nav__link:hover       { color: #FFFFFF; }
.nav__toggle span      { background: #F7F4EE; }

.nav--solid            { background: rgba(244,241,234,0.9); border-bottom: 1px solid var(--hairline); }
.nav--solid .nav__brand        { color: var(--text); }
.nav--solid .nav__link         { color: var(--muted); }
.nav--solid .nav__link:hover   { color: var(--text); }
.nav--solid .nav__toggle span  { background: var(--text); }
.nav__cta:hover        { color: var(--text); }

/* Hero copy sits over the dark cinematic veil — keep it light */
.hero__h1              { color: #F7F4EE; }
.hero__h1 em,
.hero__h1 .ln em       { color: #EBB87E; }
#hero .btn-line        { color: #F7F4EE; border-color: rgba(247,244,238,0.4); }
#hero .btn-line:hover  { border-color: #F7F4EE; }

/* Filled / ghost buttons: ink text reads best on the pale champagne fill */
.btn-fill              { color: var(--text); }
.btn-fill:hover        { color: var(--accent); }
.btn-ghost:hover       { color: var(--text); }

/* ================================================
   HERO TITLE — clean, static statement with a gentle one-time reveal
   ================================================ */
.hero__body { transform: none; }   /* no scroll-tied drift */

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #F7F4EE;
  text-shadow: 0 2px 34px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.8rem;
  max-width: 16ch;
}
.hero__title .hl {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: heroReveal 1.2s var(--ease) forwards;
}
.hero__title .hl:nth-child(1) { animation-delay: 0.15s; }
.hero__title .hl:nth-child(2) { animation-delay: 0.30s; }
.hero__title .hl:nth-child(3) { animation-delay: 0.45s; }
.hero__title em { font-style: italic; color: #E7B57C; }

.hero__sub {
  opacity: 0;
  transform: none;
  animation: heroReveal 1.2s var(--ease) 0.6s forwards;
}
.hero__actions {
  opacity: 0;
  transform: none;
  animation: heroReveal 1.2s var(--ease) 0.75s forwards;
}
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .hero__title .hl, .hero__sub, .hero__actions { animation: none; opacity: 1; transform: none; }
}


/* ================================================
   FLOOR PLAN
   ================================================ */
/* ===== FLOOR PLAN — Gulfstream-style professional layout ===== */
.floorplan {
  background: linear-gradient(152deg, #CFC6B9 0%, #E2DBCF 42%, #EFE9DF 72%, #F5F2EB 100%);
  border-top: 1px solid rgba(33,29,23,0.08);
  border-bottom: 1px solid rgba(33,29,23,0.08);
  padding: clamp(5rem, 9vh, 8rem) 0 clamp(4rem, 7vh, 6rem);
}

/* Outer wrapper: full width, 3 columns */
.fp2-layout {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 4vw, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(2rem, 3vw, 3.5rem);
  align-items: start;
}

/* ---- LEFT ---- */
.fp2-left {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.fp2-left-top { margin-bottom: auto; }
.fp2-eyebrow {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(33, 29, 23, 0.55);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}
.fp2-model {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 5.5rem;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: #211D17;
  margin-bottom: 0;
}
.fp2-left-bottom { padding-top: 3.5rem; }

/* Specs: label above, value below, two per row */
.fp2-specs { display: flex; flex-direction: column; }
.fp2-spec-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(33, 29, 23, 0.1);
  padding: 0.55rem 0;
}
.fp2-spec-item { display: flex; flex-direction: column; gap: 0.1rem; padding-right: 0.25rem; }
.fp2-spec-k {
  font-family: var(--mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(33, 29, 23, 0.45);
  line-height: 1.3;
}
.fp2-spec-v {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: #211D17;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  word-break: break-word;
  hyphens: auto;
}
.fp2-spec-v--accent { color: var(--accent); }
.fp2-spec-divider {
  font-family: var(--mono);
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(33, 29, 23, 0.4);
  border-top: 1px solid rgba(33, 29, 23, 0.1);
  padding: 0.6rem 0 0.3rem;
}

/* ---- CENTRE ---- */
.fp2-centre {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.fp2-plan {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* The floor plan image is wide (landscape). We rotate it 90° to display it tall (portrait).
   Strategy: give the container a fixed height, make it overflow:hidden,
   then rotate the image inside with absolute positioning.
   The container width is controlled by the grid column, not the image. */
.fp2-plan-rotator {
  width: 100%;
  height: 680px;
  position: relative;
  overflow: hidden;
}
.fp2-plan-rotator img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 680px;    /* becomes visual HEIGHT after rotation — fills the 680px container */
  height: auto;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center center;
  display: block;
  filter: drop-shadow(0 16px 48px rgba(33,29,23,0.18));
  max-width: none;
}
.fp2-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.fp2-book {
  background: #211D17;
  color: #F5F2EB;
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.22s, color 0.22s;
  box-shadow: 0 8px 24px rgba(33,29,23,0.15);
}
.fp2-book:hover { background: var(--accent); color: #F5F2EB; }
.fp2-book-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #211D17;
  border: 1px solid #211D17;
  color: #F5F2EB;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
  box-shadow: 0 8px 24px rgba(33,29,23,0.15);
}
.fp2-book-icon:hover { background: var(--accent); border-color: var(--accent); transform: translateX(3px); }

/* ---- RIGHT ---- */
.fp2-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.fp2-right-top {}
.fp2-sub {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #211D17;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}
.fp2-cat {
  font-family: var(--mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(33, 29, 23, 0.45);
  margin-bottom: 1.2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(33, 29, 23, 0.12);
  padding-top: 1.5rem;
}
.fp2-desc {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(33, 29, 23, 0.65);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .fp2-layout { grid-template-columns: 1fr; gap: 3rem; }
  .fp2-plan-rotator { width: 100%; height: auto; position: static; }
  .fp2-plan-rotator img { position: static; transform: none; width: 100%; }
  .fp2-model { font-size: 4rem; }
}

/* ================================================
   STICKY CTA BAR
   ================================================ */
.ctabar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 180;
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -16px 40px rgba(33, 29, 23, 0.06);
  transform: translateY(110%);
  transition: transform 0.6s var(--ease);
}
.ctabar.is-visible { transform: translateY(0); }

.ctabar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.85rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ctabar__facts { display: flex; align-items: center; }
.ctabar__fact {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0 2.25rem;
}
.ctabar__fact:first-child { padding-left: 0; }
.ctabar__fact + .ctabar__fact { border-left: 1px solid var(--hairline); }

.ctabar__k {
  font-family: var(--mono);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.ctabar__v {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
}

.ctabar__actions { display: flex; align-items: center; gap: 1rem; }
.ctabar__note {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  margin-right: 0.25rem;
}
.ctabar .btn { padding: 0.75rem 1.5rem; }
/* Book Walkthrough = richer brown focal CTA */
.ctabar .btn-fill { background: #94623C; border-color: #94623C; color: #F7F4EE; }
.ctabar .btn-fill:hover { background: transparent; color: #94623C; }

.ctabar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.ctabar__close:hover { color: var(--text); background: rgba(33,29,23,0.05); }

@media (max-width: 900px) {
  .ctabar__inner { padding: 0.6rem 1rem; gap: 0.75rem; }
  .ctabar__note { display: none; }
  .ctabar__fact--class { display: none; }
  .ctabar__fact { padding: 0 1rem; }
  .ctabar__actions { gap: 0.5rem; }
  .ctabar .btn { padding: 0.7rem 1rem; font-size: 0.6rem; }
}
