/* ---------- Reset & base ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, canvas { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

:root {
  --paper: #f6f4ef;
  --paper-2: #ecebe5;
  --ink: #0c0c0c;
  --ink-soft: #4a4a48;
  --ink-mute: #8a8a86;
  --rule: rgba(12,12,12,0.10);
  --rule-soft: rgba(12,12,12,0.06);
  --accent: #a5763a;     /* warm bronze that echoes the wood interior */
  --accent-deep: #7a5526;
  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Typography ---------- */
.display {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.5vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent-deep);
}
.section-title {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--accent-deep); font-weight: 700; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.lede {
  font-size: clamp(15px, 1.15vw, 18px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 22px;
  line-height: 1.6;
}

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: grid; place-items: center; align-content: center;
  gap: 28px;
  transition: opacity .8s var(--ease), visibility .8s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  width: clamp(190px, 28vw, 270px);
  height: auto;
}
.loader-bar {
  width: min(320px, 60vw); height: 1px;
  background: var(--rule);
  overflow: hidden;
}
.loader-bar-fill { height: 100%; width: 0%; background: var(--ink); transition: width .25s linear; }
.loader-text { font-size: 12px; letter-spacing: 0.2em; color: var(--ink-mute); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--pad-x);
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--rule-soft);
  padding-top: 7px; padding-bottom: 7px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-logo {
  width: clamp(88px, 9vw, 122px);
  height: auto;
}
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.55vw, 24px); }
.menu-toggle { display: none; }
.nav-links a {
  font-size: 16px; font-weight: 700; letter-spacing: 0.02em;
  color: #000;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink) !important;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }
.language-toggle {
  min-width: 76px;
  padding: 8px 13px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--ink-soft);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: var(--ink);
  background: rgba(246, 244, 239, 0.72);
  color: var(--ink);
  outline: none;
}
@media (max-width: 860px) {
  .nav {
    padding: 8px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left));
  }
  .nav.menu-open,
  .nav.scrolled {
    background: rgba(246, 244, 239, 0.96);
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    margin-inline-start: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--rule);
    border-radius: 50%;
    background: rgba(246,244,239,.78);
  }
  .menu-toggle span {
    width: 18px;
    height: 1.5px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform .25s var(--ease), opacity .2s var(--ease);
  }
  .menu-toggle:focus-visible {
    outline: 3px solid rgba(165,118,58,.45);
    outline-offset: 3px;
  }
  .nav.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    max-height: calc(100svh - 76px);
    overflow-y: auto;
    border: 1px solid var(--rule);
    border-radius: 14px;
    background: rgba(246,244,239,.98);
    box-shadow: 0 18px 44px rgba(12,12,12,.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s var(--ease), visibility .22s, transform .22s var(--ease);
  }
  .nav.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-links a,
  .nav-links a:not(.nav-cta) {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 15px;
  }
  .nav-links a:hover { background: var(--paper-2); }
  .nav-cta {
    justify-content: center;
    margin-top: 4px;
    padding: 10px 12px;
  }
  .language-toggle {
    width: 100%;
    min-height: 46px;
    margin-top: 2px;
    padding: 10px 12px;
  }
}
@media (max-width: 560px) {
  .brand-logo { width: 86px; }
}
@media (max-width: 360px) {
  .brand-logo { width: 76px; }
}

/* ---------- Scroll stage (scrubbed canvas) ---------- */
.scroll-stage {
  position: relative;
  height: 400vh; /* total scroll length = roughly 4× viewport */
}
.sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: var(--paper);
}

/* Subtle vignette to ground the white frames */
.sticky-wrap::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.06) 100%),
    linear-gradient(to bottom, rgba(246,244,239,0.0) 65%, rgba(246,244,239,0.55) 100%);
}
@media (max-width: 979px) {
  .scroll-stage { height: 320vh; }
  .sticky-wrap::after {
    background:
      radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.03) 100%),
      linear-gradient(to bottom, rgba(246,244,239,0.0) 80%, rgba(246,244,239,0.25) 100%);
  }
}
/* Left-side scrim: gives the overlay text clean negative space when the
   exploded view spreads across the full width. Stronger on wide screens. */
.sticky-wrap::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    to right,
    rgba(246,244,239,0.96) 0%,
    rgba(246,244,239,0.78) 18%,
    rgba(246,244,239,0.30) 38%,
    rgba(246,244,239,0) 58%
  );
  opacity: 0;
  transition: opacity .6s var(--ease);
}
@media (min-width: 980px) {
  .sticky-wrap.scrim-on::before { opacity: 1; }
}
/* Mobile scrim: lighter, only covers the text area at the top */
@media (max-width: 979px) {
  .sticky-wrap::before {
    background: linear-gradient(
      to bottom,
      rgba(246,244,239,0.92) 0%,
      rgba(246,244,239,0.75) 20%,
      rgba(246,244,239,0.2) 40%,
      rgba(246,244,239,0) 50%
    );
    opacity: 1;
  }
}

/* Overlay frames */
.stage-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 4;
}
.overlay-frame {
  position: absolute;
  left: var(--pad-x); right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  max-width: 720px;
  opacity: 0;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  will-change: opacity, transform;
}
.overlay-frame .lede { color: var(--ink-soft); }
@media (max-width: 979px) {
  .overlay-frame .lede { display: none; }
}
.overlay-frame.is-active {
  opacity: 1;
}
.overlay-frame:not(.is-active) {
  transform: translateY(calc(-50% + 14px));
}

/* First overlay (hero) — anchor left, optionally upper third on tall screens */
.overlay-frame:first-child {
  top: clamp(120px, 22vh, 220px);
  transform: none;
}
.overlay-frame:first-child:not(.is-active) { transform: translateY(14px); }
.overlay-frame:first-child.is-active { transform: none; }

/* Mobile: stack text on top, image below */
@media (max-width: 979px) {
  .overlay-frame {
    top: clamp(92px, 13svh, 128px);
    transform: none;
  }
  .overlay-frame:not(.is-active) {
    transform: translateY(14px);
  }
  .overlay-frame.is-active {
    transform: none;
  }
  .overlay-frame:first-child {
    top: clamp(92px, 13svh, 128px);
  }
}

@media (min-width: 980px) {
  .overlay-frame {
    left: var(--pad-x);
    right: auto;
    width: min(640px, 46vw);
  }
}

/* Scroll hint */
.scroll-hint {
  position: absolute; left: 50%; bottom: 36px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--ink-mute);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  transition: opacity .4s var(--ease);
}
.scroll-hint.hidden { opacity: 0; }
.scroll-line {
  width: 1px; height: 56px; background: var(--ink-mute);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute; top: -56px; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  animation: scroll-tick 2.2s var(--ease) infinite;
}
@keyframes scroll-tick {
  0% { top: -56px; }
  100% { top: 56px; }
}

/* ---------- Sections after the scroll stage ---------- */
section { padding: clamp(80px, 12vh, 160px) var(--pad-x); scroll-margin-top: 72px; }
.section-head { max-width: var(--maxw); margin: 0 auto 64px; }
@media (max-width: 560px) {
  .display { font-size: clamp(36px, 11vw, 48px); }
  .section-title { font-size: clamp(30px, 9vw, 42px); }
  section { padding: 72px 18px; }
  .section-head { margin-bottom: 42px; }
  .scroll-stage { height: 280vh; padding-inline: 0; }
}

/* Services */
.services {
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
}
.service-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.service {
  padding: 40px 32px 44px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  transition: background .35s var(--ease);
}
.service:hover { background: var(--paper-2); }
.service-num {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 13px; letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--accent-deep);
  display: inline-block; margin-bottom: 32px;
}
.service h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.service p { font-size: 14.5px; color: var(--ink-soft); }

/* Products and cabin collections */
.products {
  background:
    radial-gradient(circle at 88% 8%, rgba(165,118,58,.09), transparent 24%),
    var(--paper);
}
.product-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}
.product-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 520px;
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255,255,255,.62);
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(12,12,12,.035);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.product-card::before {
  content: ''; position: absolute; z-index: -1;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transform: scaleX(.22); transform-origin: left;
  transition: transform .4s var(--ease);
}
.product-card::after {
  content: ''; position: absolute; z-index: -2;
  width: 190px; height: 190px; top: -100px; right: -95px;
  border: 1px solid rgba(165,118,58,.13); border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(165,118,58,.025), 0 0 0 58px rgba(165,118,58,.018);
}
.product-card:hover {
  color: var(--paper);
  border-color: rgba(12,12,12,.85);
  background: var(--ink);
  box-shadow: 0 22px 50px rgba(12,12,12,.09);
  transform: translateY(-6px);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover::after {
  border-color: rgba(255,255,255,.11);
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 58px rgba(255,255,255,.015);
}
.product-card:focus-visible {
  outline: 3px solid rgba(165,118,58,.55);
  outline-offset: 4px;
}
.product-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.product-num {
  display: block;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--accent-deep);
}
.product-card:hover .product-num { color: var(--accent); }
.product-icon {
  width: 62px; height: 62px; flex: 0 0 62px;
  display: grid; place-items: center;
  border: 1px solid rgba(12,12,12,.12); border-radius: 50%;
  color: var(--accent-deep);
  background: rgba(255,255,255,.34);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.product-icon svg {
  width: 34px; height: 34px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.product-card:hover .product-icon { transform: rotate(-4deg) scale(1.06); }
.product-card:hover .product-icon { border-color: rgba(255,255,255,.16); color: var(--accent); background: rgba(255,255,255,.04); }
.product-media {
  position: relative; z-index: 1; overflow: hidden;
  width: 100%; aspect-ratio: 321 / 211;
  margin: 22px 0 26px;
  border: 1px solid rgba(12,12,12,.08); border-radius: 10px;
  background: var(--paper-2);
}
.product-media::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  pointer-events: none;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9) contrast(1.02);
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.045); filter: saturate(1) contrast(1.02); }
.product-card-body { position: relative; z-index: 1; margin-top: auto; }
.product-tag {
  display: inline-flex; align-items: center;
  min-height: 26px; margin-bottom: 14px; padding: 5px 10px;
  border: 1px solid rgba(165,118,58,.25); border-radius: 999px;
  color: var(--accent-deep);
  font-size: 10px; font-weight: 700; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase;
}
.product-card:hover .product-tag { color: var(--accent); border-color: rgba(165,118,58,.5); }
.product-card h3,
.collection-title,
.cabin-group h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
}
.product-card h3 { font-size: clamp(21px, 1.65vw, 25px); line-height: 1.15; margin-bottom: 14px; }
.product-card p { max-width: 38ch; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.product-card:hover p { color: rgba(255,255,255,.63); }
.product-card-link {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--accent-deep);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.product-card-link > span:last-child { font-size: 17px; transition: transform .3s var(--ease); }
.product-card:hover .product-card-link > span:last-child { transform: translate(3px,-3px); }
.product-card:hover .product-card-link { color: var(--accent); border-top-color: rgba(255,255,255,.12); }
.collection-intro {
  max-width: var(--maxw); margin: clamp(80px, 10vw, 140px) auto 42px;
}
.collection-title { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
.collection-intro > p:last-child {
  max-width: 72ch; margin-top: 24px;
  font-size: clamp(15px, 1.15vw, 18px); color: var(--ink-soft);
}
.cabin-groups {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 22px;
}
.cabin-group {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--rule); border-radius: 14px;
  background: rgba(236,235,229,.72);
}
.cabin-group h4 { font-size: 20px; margin-bottom: 24px; }
.cabin-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.cabin-list li {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(12,12,12,.08); border-radius: 10px;
  background: rgba(255,255,255,.58);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cabin-list li:hover { transform: translateY(-5px); border-color: rgba(165,118,58,.36); box-shadow: 0 16px 28px rgba(12,12,12,.09); }
.cabin-list figure {
  overflow: hidden; aspect-ratio: 176 / 203;
  margin-bottom: 14px; border-radius: 7px;
  background: var(--paper);
}
.cabin-list figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s var(--ease);
}
.cabin-list li:hover figure img { transform: scale(1.045); }
.cabin-list li span {
  display: block; margin-bottom: 5px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 11px; letter-spacing: .12em; color: var(--accent-deep);
}
.cabin-list li strong { display: block; font-size: 13px; line-height: 1.35; font-weight: 600; }
@media (max-width: 820px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cabin-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; padding: 22px; }
  .product-icon { width: 52px; height: 52px; flex-basis: 52px; }
  .product-icon svg { width: 29px; height: 29px; }
  .product-media { margin: 18px 0 22px; }
  .collection-intro { margin-top: 80px; }
  .cabin-group { padding: 18px; }
  .cabin-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cabin-list { gap: 8px; }
  .cabin-list li { padding: 8px; }
  .cabin-list li strong { font-size: 12px; }
}

/* Engineering */
.engineering {
  background: var(--ink);
  color: var(--paper);
}
.engineering .eyebrow { color: rgba(255,255,255,0.55); }
.engineering .section-title { color: var(--paper); }
.engineering .section-title em { color: var(--accent); }
.eng-text { max-width: var(--maxw); margin: 0 auto; }
.eng-lede {
  margin-top: 36px;
  font-size: clamp(16px, 1.25vw, 19px);
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  line-height: 1.6;
}
.eng-stats {
  list-style: none;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.eng-stats li {
  padding: 28px 0 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: 24px;
  text-align: center;
}
.eng-stats li:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 560px) {
  .eng-lede { margin-top: 28px; }
  .eng-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .eng-stats li { padding: 24px 12px; border-right: 1px solid rgba(255,255,255,.08); }
  .eng-stats li:nth-child(even) { border-right: 0; }
  .eng-stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .stat-label { font-size: 10px; letter-spacing: .12em; }
}

/* Why */
.why { background: var(--paper-2); }
.why-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.why-card {
  background: var(--paper);
  padding: 36px 28px;
  transition: transform .35s var(--ease);
}
.why-card:hover { transform: translateY(-3px); }
.why-card h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}
.why-card p { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Process and AMC */
.process { background: var(--ink); color: var(--paper); }
.process .eyebrow { color: rgba(255,255,255,.55); }
.process .section-title { color: var(--paper); }
.process .section-title em { color: var(--accent); }
.process-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.14);
}
.process-step {
  padding: 34px 28px 38px 0;
  border-right: 1px solid rgba(255,255,255,.1);
}
.process-step:not(:first-child) { padding-left: 28px; }
.process-step:last-child { border-right: 0; }
.process-step > span {
  display: block; margin-bottom: 42px;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .18em;
}
.process-step h3,
.amc-panel h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
}
.process-step h3 { font-size: 21px; margin-bottom: 12px; }
.process-step p { font-size: 14px; color: rgba(255,255,255,.62); }
.amc-panel {
  max-width: var(--maxw); margin: 72px auto 0;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px; align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(165,118,58,.8);
  border-radius: 2px;
  background: rgba(255,255,255,.035);
}
.amc-panel h3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
.amc-copy > p:last-child { margin-top: 20px; max-width: 58ch; color: rgba(255,255,255,.68); }
.job-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 13px; }
.job-list li { position: relative; padding-left: 28px; font-size: 14px; color: rgba(255,255,255,.82); }
.job-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .amc-panel { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step,
  .process-step:not(:first-child) { padding: 28px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .process-step:first-child { border-top: 0; }
  .process-step > span { margin-bottom: 22px; }
  .amc-panel { margin-top: 48px; padding: 28px 22px; }
}

/* Contact */
.contact {
  background: var(--paper);
  text-align: center;
}
.contact-inner { max-width: 860px; margin: 0 auto; }
.contact .eyebrow { margin-bottom: 22px; }
.contact-lede {
  margin: 32px auto 44px;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.15vw, 18px);
}

/* Product detail modal */
body.modal-open { overflow: hidden; }
body.modal-open .whatsapp-contact { opacity: 0; pointer-events: none; }
.product-modal {
  --modal-gutter: clamp(10px, 3vw, 36px);
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: var(--modal-gutter);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), visibility .3s;
}
.product-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.product-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,6,6,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.product-modal-dialog {
  position: relative; z-index: 1;
  width: min(1120px, 100%);
  height: min(840px, calc(100vh - 2 * var(--modal-gutter)));
  height: min(840px, calc(100dvh - 2 * var(--modal-gutter)));
  display: grid; grid-template-columns: minmax(300px,.86fr) minmax(0,1.14fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 32px 90px rgba(0,0,0,.38);
  transform: translateY(22px) scale(.985);
  transition: transform .4s var(--ease);
}
.product-modal.is-open .product-modal-dialog { transform: none; }
.product-modal-close {
  position: absolute; z-index: 4; top: 18px; right: 18px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(12,12,12,.12); border-radius: 50%;
  background: rgba(246,244,239,.9);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.product-modal-close:hover { background: #fff; transform: rotate(4deg); }
.product-modal-close:focus-visible { outline: 3px solid rgba(165,118,58,.5); outline-offset: 2px; }
.product-modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.product-modal-visual {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 54px);
  background:
    radial-gradient(circle at 20% 20%, rgba(165,118,58,.24), transparent 36%),
    var(--ink);
}
.product-modal-visual::before {
  content: ''; position: absolute; inset: 24px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  pointer-events: none;
}
.product-modal-visual img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: calc(100% - clamp(48px, 8vw, 108px));
  max-height: calc(100% - clamp(48px, 8vw, 108px));
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  box-shadow: 0 22px 50px rgba(0,0,0,.3);
}
.product-modal-tag {
  position: absolute; z-index: 2; left: clamp(34px, 5vw, 66px); bottom: clamp(34px, 5vw, 66px);
  padding: 7px 12px;
  border: 1px solid rgba(165,118,58,.7); border-radius: 999px;
  color: var(--paper); background: rgba(12,12,12,.78);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.product-modal-content {
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: clamp(42px, 5vw, 68px);
}
.product-modal-content > .eyebrow { margin-bottom: 14px; }
.product-modal-content > h2 {
  max-width: 14ch;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -.025em;
}
.product-modal-overview { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.product-modal-overview h3,
.product-modal-info h3 {
  margin-bottom: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-deep);
}
.product-modal-overview p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.product-modal-info {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 34px; margin-top: 34px;
}
.product-modal-info section { min-width: 0; padding: 0; }
.product-modal-info dl > div {
  display: grid; grid-template-columns: minmax(90px,.8fr) minmax(0,1.2fr);
  gap: 16px; padding: 9px 0;
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
}
.product-modal-info dt { color: var(--ink-mute); }
.product-modal-info dd { margin: 0; font-weight: 600; }
.product-modal-info ul { list-style: none; }
.product-modal-info li { position: relative; padding: 7px 0 7px 20px; font-size: 12.5px; color: var(--ink-soft); }
.product-modal-info li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-deep); font-weight: 700; }
.product-modal-cta { margin-top: 34px; }
@media (max-width: 820px) {
  .product-modal-dialog {
    height: auto;
    max-height: calc(100vh - 2 * var(--modal-gutter));
    max-height: calc(100dvh - 2 * var(--modal-gutter));
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .product-modal-visual { min-height: 300px; }
  .product-modal-visual img { width: min(440px, calc(100% - 48px)); }
  .product-modal-content { overflow: visible; }
}
@media (max-width: 560px) {
  .product-modal { --modal-gutter: 8px; }
  .product-modal-dialog {
    max-height: calc(100vh - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 12px;
  }
  .product-modal-visual { min-height: 230px; padding: 38px 24px 28px; }
  .product-modal-visual::before { inset: 12px; }
  .product-modal-tag { left: 32px; bottom: 34px; }
  .product-modal-content { padding: 34px 24px 30px; }
  .product-modal-info { grid-template-columns: 1fr; gap: 28px; }
  .product-modal-content > h2 { font-size: clamp(32px, 11vw, 44px); }
}
.contact-actions {
  display: inline-flex; flex-wrap: wrap;
  gap: 16px; justify-content: center;
}
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px; letter-spacing: 0.04em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn-primary {
  background: var(--ink); color: var(--paper);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* Footer */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.78);
  padding: 80px var(--pad-x) 36px;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand .footer-logo {
  width: min(240px, 100%);
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,0.6); max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  font-weight: 500;
}
.footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.78);
  transition: color .2s var(--ease);
}
.footer-col .footer-address { line-height: 1.55; }
.footer-col a:hover { color: var(--accent); }
.footer-base {
  max-width: var(--maxw); margin: 0 auto;
  padding-top: 26px;
  display: flex; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 600px) {
  .footer { padding: 64px 18px 110px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px; }
  .footer-base { flex-direction: column; gap: 8px; }
  .contact-actions { width: 100%; flex-direction: column; }
  .contact-actions a { width: 100%; min-height: 52px; justify-content: center; }
}

/* Floating WhatsApp contact */
.whatsapp-contact {
  position: fixed;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 30px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 30px rgba(8, 45, 21, 0.24);
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}
.whatsapp-contact:hover {
  background: #1fbd5a;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(8, 45, 21, 0.30);
}
.whatsapp-contact:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.32);
  outline-offset: 4px;
}
.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}
.whatsapp-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}
@media (max-width: 480px) {
  .whatsapp-contact {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    padding: 8px 14px 8px 8px;
    font-size: 13px;
  }
}

/* Arabic / RTL */
html[dir="rtl"] body {
  font-family: 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
}
html[dir="rtl"] .display,
html[dir="rtl"] .section-title,
html[dir="rtl"] .service h3,
html[dir="rtl"] .why-card h4,
html[dir="rtl"] .product-card h3,
html[dir="rtl"] .collection-title,
html[dir="rtl"] .cabin-group h4,
html[dir="rtl"] .process-step h3,
html[dir="rtl"] .amc-panel h3 {
  font-family: 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}
html[dir="rtl"] .display,
html[dir="rtl"] .section-title { line-height: 1.18; }
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .stat-label,
html[dir="rtl"] .product-tag,
html[dir="rtl"] .product-card-link,
html[dir="rtl"] .product-modal-tag,
html[dir="rtl"] .product-modal-overview h3,
html[dir="rtl"] .product-modal-info h3,
html[dir="rtl"] .footer-col h5,
html[dir="rtl"] .footer-base {
  letter-spacing: 0;
  text-transform: none;
}
html[dir="rtl"] .overlay-frame { text-align: right; }
html[dir="rtl"] .product-card::before { transform-origin: right; }
html[dir="rtl"] .product-modal-content > h2 {
  font-family: 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
  letter-spacing: 0; line-height: 1.18;
}
html[dir="rtl"] .product-modal-close { right: auto; left: 18px; }
html[dir="rtl"] .product-modal-tag { left: auto; right: clamp(34px, 5vw, 66px); }
html[dir="rtl"] .product-modal-info li { padding-left: 0; padding-right: 20px; }
html[dir="rtl"] .product-modal-info li::before { left: auto; right: 0; }
html[dir="rtl"] .eng-stats li {
  border-right: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-right: 0;
  padding-left: 24px;
}
html[dir="rtl"] .eng-stats li:last-child { border-left: 0; }
html[dir="rtl"] .process-step {
  border-right: 0;
  border-left: 1px solid rgba(255,255,255,.1);
  padding-right: 0;
  padding-left: 28px;
}
html[dir="rtl"] .process-step:not(:first-child) { padding-left: 28px; padding-right: 28px; }
html[dir="rtl"] .process-step:last-child { border-left: 0; }
html[dir="rtl"] .job-list li { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .job-list li::before { left: auto; right: 0; }
html[dir="rtl"] .ltr-value,
html[dir="rtl"] .service-num,
html[dir="rtl"] .stat-num,
html[dir="rtl"] .product-num,
html[dir="rtl"] .cabin-list li span,
html[dir="rtl"] .process-step > span {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .whatsapp-contact {
  right: auto;
  left: clamp(16px, 2.4vw, 32px);
  padding: 9px 9px 9px 16px;
}
@media (max-width: 900px) {
  html[dir="rtl"] .process-step:nth-child(2) { border-left: 0; }
}
@media (max-width: 560px) {
  html[dir="rtl"] .process-step,
  html[dir="rtl"] .process-step:not(:first-child) {
    padding: 28px 0;
    border-left: 0;
  }
  html[dir="rtl"] .product-modal-tag { right: 32px; }
}
@media (min-width: 980px) {
  html[dir="rtl"] .sticky-wrap::before {
    background: linear-gradient(
      to left,
      rgba(246,244,239,0.96) 0%,
      rgba(246,244,239,0.78) 18%,
      rgba(246,244,239,0.30) 38%,
      rgba(246,244,239,0) 58%
    );
  }
  html[dir="rtl"] .overlay-frame {
    left: auto;
    right: var(--pad-x);
  }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.product-card.reveal.in:hover { transform: translateY(-6px); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .scroll-line::after { display: none; }
}
