:root{
  --bg:        #F5F4F2;   /* warm off-white */
  --dark:      #111111;
  --dark-2:    #0D0D0D;
  --ink:       #1A1A1A;
  --orange:    #E85C0D;   /* OFA signature */
  --copper:    #B87040;
  --steel:     #C8CDD2;
  --steel-lo:  #E8E6E3;
  --steel-hi:  #D4D0CB;
  --grey:      #888888;
  --grey-2:    #666666;

  --anton: "Anton", "Arial Narrow", sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --mono:  "DM Mono", ui-monospace, "SF Mono", monospace;

  --pad: clamp(22px, 5vw, 96px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
body{
  background:var(--bg); color:var(--ink);
  font-family:var(--mono); font-weight:300; line-height:1.6;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
::selection{ background:var(--orange); color:#fff; }
a:focus-visible, button:focus-visible{ outline:2px solid var(--orange); outline-offset:4px; }

.label{
  font-family:var(--mono); font-size:10px; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--grey-2); font-weight:400;
}
.label.o{ color:var(--orange); }

/* fade-up base — visible by default; JS arms the hidden state so content
   still shows if the script never runs (e.g. opened over file://). */
.fu.armed{ opacity:0; transform:translateY(30px); }
.fu.armed.in{ opacity:1; transform:none; transition:opacity .7s var(--ease), transform .7s var(--ease); }

/* ===================== NAV ===================== */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:100;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  padding:18px var(--pad);
  background:transparent; transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.solid{ background:rgba(245,244,242,0.92); box-shadow:0 1px 0 rgba(0,0,0,0.06); backdrop-filter:blur(10px) saturate(1.1); padding-block:12px; }
.nav .brand{ display:flex; align-items:center; color:var(--ink); }
.nav .brand img{ height:56px; width:auto; display:block; transition:height .3s ease; }
.nav.solid .brand img{ height:46px; }

/* segmented capsule nav */
.nav .links{
  display:flex; align-items:center; gap:4px; justify-self:center;
  padding:5px; border-radius:999px;
  background:rgba(17,17,17,0.05);
  border:1px solid rgba(17,17,17,0.07);
  backdrop-filter:blur(6px);
}
.nav .links a{
  font-family:var(--mono); font-size:12.5px; font-weight:500;
  letter-spacing:0.1em; text-transform:uppercase;
  color:var(--ink); padding:9px 18px; border-radius:999px;
  transition:color .25s var(--ease), background .25s var(--ease);
}
.nav .links a:hover{ background:rgba(17,17,17,0.07); }
.nav .links a.active{ background:var(--orange); color:#fff; box-shadow:0 4px 14px rgba(232,92,13,0.35); }

.nav .mail{
  justify-self:end; font-family:var(--mono); font-size:12.5px; font-weight:400;
  letter-spacing:0.04em; color:var(--ink);
  padding-bottom:2px; border-bottom:1px solid transparent;
  transition:color .25s var(--ease), border-color .25s var(--ease);
}
.nav .mail:hover{ color:var(--orange); border-color:var(--orange); }

/* hamburger button — hidden on desktop, shown on mobile */
.nav-burger{ display:none; }
.mobile-menu{ display:none; }

@media (max-width:768px){
  .nav .links, .nav .mail{ display:none; }
  /* flex layout so logo sits left, burger right */
  .nav{ display:flex; grid-template-columns:none; justify-content:space-between; align-items:center; }

  .nav-burger{
    display:flex; flex-direction:column; justify-content:center; gap:5px;
    width:42px; height:42px; padding:0 9px; border:none; background:transparent;
    cursor:pointer; z-index:120; -webkit-tap-highlight-color:transparent;
  }
  .nav-burger span{ display:block; height:2px; width:100%; background:var(--ink); border-radius:2px; transition:transform .3s var(--ease), opacity .2s ease; }
  .nav-burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  /* slide-down panel */
  .mobile-menu{
    display:flex; flex-direction:column; gap:2px;
    position:fixed; top:0; left:0; right:0; z-index:90;
    padding:84px var(--pad) 26px;
    background:rgba(245,244,242,0.97); backdrop-filter:blur(12px) saturate(1.1);
    box-shadow:0 12px 30px rgba(0,0,0,0.10);
    transform:translateY(-100%); transition:transform .42s var(--ease);
  }
  .mobile-menu.open{ transform:translateY(0); }
  .mobile-menu a{
    font-family:var(--mono); font-size:15px; font-weight:500; letter-spacing:0.1em;
    text-transform:uppercase; color:var(--ink); padding:15px 2px;
    border-bottom:1px solid rgba(26,26,26,0.08);
  }
  .mobile-menu a:active{ color:var(--orange); }
  .mobile-menu .mm-mail{ text-transform:none; font-weight:400; letter-spacing:0.02em; font-size:13px; color:var(--grey-2); border-bottom:none; padding-top:20px; }
}

/* ===================== HERO ===================== */
.hero{
  min-height:100svh; position:relative; display:flex; flex-direction:column;
  align-items:center; justify-content:center; padding:120px var(--pad) 70px; text-align:center;
}
.hero-stage{ position:relative; display:flex; align-items:center; justify-content:center; width:100%; }
.hero-ghost{
  position:absolute; font-family:var(--anton); font-size:clamp(150px, 30vw, 340px);
  color:var(--steel-lo); line-height:0.8; z-index:0; user-select:none; pointer-events:none;
  left:50%; top:50%; transform:translate(-50%,-54%);
}
.hero-vtext{
  position:absolute; left:clamp(-6px,2vw,40px); top:50%;
  transform:translateY(-50%) rotate(-90deg); transform-origin:center;
  font-family:var(--mono); font-size:10px; letter-spacing:0.3em; text-transform:uppercase; color:var(--grey-2);
  white-space:nowrap; z-index:2;
}
.hero-prod{ position:relative; z-index:1; height:min(56vh,460px); width:auto; object-fit:contain;
  filter:drop-shadow(0 40px 50px rgba(26,26,26,0.18)); }
.hero-copy{ position:relative; z-index:2; margin-top:36px; }
.hero h1{ font-family:var(--serif); font-weight:400; font-size:clamp(34px,5.6vw,56px); line-height:1.05; color:var(--ink); }
.hero h1 .o{ color:var(--orange); }
.hero-sub{ font-family:var(--mono); font-size:13px; color:var(--grey-2); margin-top:16px; letter-spacing:0.02em; }
.scroll-cue{ position:absolute; bottom:22px; transform:translateX(-50%); font-family:var(--mono); font-size:9px; letter-spacing:0.3em; color:var(--grey); }
/* on mobile the rotated label crowds the product — hide it, keep product centred */
@media (max-width:768px){ .hero-vtext{ display:none; } .hero-prod{ max-width:100%; } }

/* staggered load */
.load{ opacity:0; transform:translateY(22px); animation:loadUp .9s var(--ease) forwards; }
.load.d0{ animation-delay:.05s; } .load.d1{ animation-delay:.4s; } .load.d2{ animation-delay:.7s; } .load.d3{ animation-delay:1s; }
@keyframes loadUp{ to{ opacity:1; transform:none; } }

/* ===================== PHILOSOPHY ===================== */
.philo{ background:var(--dark); color:#fff; padding:clamp(80px,14vh,170px) var(--pad); }
.philo-grid{ display:grid; grid-template-columns:45fr 55fr; gap:clamp(34px,6vw,90px); max-width:1400px; margin:0 auto; }
.philo-quote{ font-family:var(--serif); font-weight:400; font-size:clamp(28px,3.4vw,42px); line-height:1.15; color:#fff; margin-top:22px; }
.philo-body{ display:flex; flex-direction:column; justify-content:flex-end; gap:1.4em; }
.philo-body p{ font-family:var(--mono); font-size:14px; color:var(--grey); line-height:1.75; max-width:48ch; }
.philo-body p.text-orange{ color:var(--orange);}
.philo-rule{ max-width:1400px; margin:clamp(50px,8vw,90px) auto 0; height:1px; background:#333; }
@media (max-width:768px){ .philo-grid{ grid-template-columns:1fr; } }

/* ===================== TWO MODELS ===================== */
.models-title{ text-align:center; padding:clamp(70px,12vh,140px) var(--pad) clamp(34px,5vw,60px); }
.models-title h2{ font-family:var(--serif); font-weight:400; font-size:clamp(32px,5vw,52px); color:var(--ink); }
.models{ display:grid; grid-template-columns:1fr 1fr; grid-template-rows:repeat(7, auto); }
/* Each card is a subgrid sharing the parent's 7 rows so the label, image,
   heading, copy, specs, signature and finishes line up across both cards. */
.model{
  display:grid; grid-row:1 / span 7; grid-template-rows:subgrid; align-content:start;
  padding:clamp(34px,4vw,68px) var(--pad) clamp(50px,6vw,90px);
  transition:transform .4s var(--ease);
}
.model.m1{ grid-column:1; }
.model.lg{ grid-column:2; }
.model:hover{ transform:scale(1.005); }
.model.m1{ background:var(--bg); }
.model.lg{ background:var(--ink); color:#fff; }
.model .fig{ position:relative; height:clamp(340px,44vh,460px); display:flex; align-items:center; justify-content:center; margin:24px 0 34px; }
/* glow centered behind the product so it sits inside the halo */
.model .fig::before{ content:""; position:absolute; left:50%; top:50%;
  width:clamp(290px,38vh,400px); height:clamp(310px,42vh,440px); transform:translate(-50%,-50%);
  background:radial-gradient(closest-side, rgba(184,112,64,0.20), transparent 74%); pointer-events:none; }
.model.lg .fig::before{ background:radial-gradient(closest-side, rgba(200,205,210,0.16), transparent 74%); }
/* uniform image treatment — clamp to the figure box so it never overlaps text */
.model .fig img{ position:relative; height:100%; max-width:100%; width:auto; object-fit:contain; filter:drop-shadow(0 26px 34px rgba(0,0,0,0.35)); transition:transform .5s var(--ease); }
.model:hover .fig img{ transform:scale(1.03); }
.model h3{ font-family:var(--serif); font-weight:400; font-size:clamp(22px,2.4vw,28px); line-height:1.15; margin-top:6px; }
.model p.copy{ font-family:var(--mono); font-size:13px; line-height:1.7; margin-top:14px; max-width:42ch; color:var(--grey-2); }
.model.lg p.copy{ color:#9a9a9a; }
.pills{ display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.pill{ font-family:var(--mono); font-size:9px; letter-spacing:0.08em; border:1px solid var(--ink); border-radius:4px; padding:5px 11px; text-transform:uppercase; white-space:nowrap; }
.model.lg .pill{ border-color:rgba(255,255,255,0.5); }
.colors{ display:flex; gap:26px; margin-top:24px; }
.swatch{ text-align:center; width:64px; }
.swatch .dot{ width:24px; height:24px; border-radius:50%; margin:0 auto 8px; border:1px solid rgba(255,255,255,0.18); }
.swatch span{ display:block; font-family:var(--mono); font-size:8px; letter-spacing:0.04em; text-transform:uppercase; color:var(--grey-2); line-height:1.4; }
.model.lg .swatch span{ color:#9a9a9a; }

/* per-model detail */
.ml{ display:block; font-family:var(--mono); font-size:9px; letter-spacing:0.2em; text-transform:uppercase; color:var(--grey-2); margin-bottom:13px; }
.mspec{ margin-top:26px; }
.mspec .srow{ display:grid; grid-template-columns:auto 1fr; gap:18px; align-items:baseline; padding:9px 0; border-top:1px solid rgba(26,26,26,0.1); }
.mspec .srow:last-child{ border-bottom:1px solid rgba(26,26,26,0.1); }
.model.lg .mspec .srow{ border-top-color:rgba(255,255,255,0.12); }
.model.lg .mspec .srow:last-child{ border-bottom-color:rgba(255,255,255,0.12); }
.mspec dt{ font-family:var(--mono); font-size:9px; letter-spacing:0.14em; text-transform:uppercase; color:var(--grey-2); }
.model.lg .mspec dt{ color:#8c8c8c; }
.mspec dd{ font-family:var(--mono); font-size:12px; text-align:right; color:var(--ink); }
.model.lg .mspec dd{ color:#e8e8e8; }
.mfeat{ margin-top:30px; }
.mfeat ul{ list-style:none; display:flex; flex-direction:column; gap:8px; }
.mfeat li{ font-family:var(--mono); font-size:12px; color:var(--ink); padding-left:18px; position:relative; }
.mfeat li::before{ content:""; position:absolute; left:0; top:7px; width:5px; height:5px; background:var(--orange); border-radius:50%; }
.model.lg .mfeat li{ color:#dddddd; }
.finishes{ margin-top:30px; }

/* comparison table (replaces giant-number specs) */
.compare{ padding:clamp(30px,4vh,52px) var(--pad) clamp(80px,13vh,160px); }
.compare-wrap{ max-width:1200px; margin:0 auto; }
.compare-head{ text-align:center; margin-bottom:clamp(40px,6vw,72px); }
.compare-head h2{ font-family:var(--serif); font-weight:400; font-size:clamp(30px,4.4vw,52px); color:var(--ink); margin-top:14px; line-height:1.06; }
.ctable{ width:100%; border-collapse:collapse; }
.ctable th, .ctable td{ text-align:left; padding:17px 18px; vertical-align:top; }
.ctable thead th{ font-family:var(--serif); font-weight:400; font-size:clamp(20px,2.3vw,32px); color:var(--ink); border-bottom:1px solid var(--ink); line-height:1; }
.ctable thead th span{ display:block; font-family:var(--mono); font-size:9px; letter-spacing:0.16em; text-transform:uppercase; color:var(--grey-2); margin-top:8px; }
.ctable thead th:first-child{ border-bottom:none; }
.ctable tbody tr{ border-bottom:1px solid rgba(26,26,26,0.1); transition:background .25s ease; }
.ctable tbody tr:hover{ background:rgba(26,26,26,0.025); }
.ctable td{ font-family:var(--mono); font-size:13px; color:var(--ink); }
/* spec-name column as an orange-accented rail — stronger + highlighted */
.ctable td.rl{
  font-size:11px; font-weight:500; letter-spacing:0.13em; text-transform:uppercase;
  color:var(--ink); width:30%;
  border-left:2px solid var(--orange); padding-left:22px;
  background:linear-gradient(90deg, rgba(232,92,13,0.06), rgba(232,92,13,0.015) 70%, transparent);
}
.ctable tbody tr:hover td.rl{ background:linear-gradient(90deg, rgba(232,92,13,0.12), rgba(232,92,13,0.03) 70%, transparent); }
.ctable td.hi{ color:var(--orange); }
.ctable td.mut{ color:#bbbbbb; }
.cnote{ font-family:var(--mono); font-size:11px; color:var(--grey-2); margin-top:30px; line-height:1.75; max-width:84ch; }
@media (max-width:680px){ .ctable th, .ctable td{ padding:12px 8px; } .ctable td{ font-size:11px; } .ctable td.rl{ font-size:9px; padding-left:12px; } }
@media (max-width:768px){
  .models{ grid-template-columns:1fr; grid-template-rows:none; }
  .model{ display:block; grid-column:1 !important; grid-row:auto; }
}

/* ===================== FEATURE GRID ===================== */
.features{ padding:0 var(--pad) clamp(80px,13vh,160px); text-align:center; }
.feat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(14px,1.6vw,24px); margin-top:clamp(40px,5vw,64px); text-align:left; max-width:1400px; margin-inline:auto; }
.fcard{ border:1px solid rgba(26,26,26,0.12); padding:30px 28px 34px; background:transparent; transition:transform .3s var(--ease), border-top-color .3s ease, box-shadow .3s ease; }
.fcard:hover{ transform:translateY(-4px); border-top-color:var(--orange); box-shadow:0 14px 30px rgba(26,26,26,0.07); }
.fcard .glyph{ height:46px; margin-bottom:26px; color:var(--ink); }
.fcard h4{ font-family:var(--mono); font-size:12px; font-weight:500; letter-spacing:0.08em; text-transform:uppercase; }
.fcard p{ font-family:var(--mono); font-size:11px; color:var(--grey-2); margin-top:9px; line-height:1.6; }
@media (max-width:768px){ .feat-grid{ grid-template-columns:1fr; } }

/* ===================== SPECS ===================== */
.specs{ background:var(--dark-2); color:#fff; padding:clamp(80px,13vh,170px) var(--pad); }
.specs-wrap{ max-width:1300px; margin:0 auto; }
.specs .label{ color:var(--orange); }
.spec-row{ display:grid; grid-template-columns:auto 1fr; align-items:baseline; gap:clamp(20px,4vw,60px); padding:clamp(22px,3vw,40px) 0; border-top:1px solid #333; }
.spec-row:first-of-type{ border-top:none; }
.spec-num{ font-family:var(--anton); font-size:clamp(64px,11vw,140px); line-height:0.82; color:var(--orange); }
.spec-name{ font-family:var(--mono); font-size:clamp(10px,1vw,12px); letter-spacing:0.18em; text-transform:uppercase; color:#aaa; justify-self:start; }
@media (max-width:768px){ .spec-row{ grid-template-columns:1fr; gap:10px; } }

/* ===================== GALLERY ===================== */
.gallery{ padding:clamp(80px,13vh,160px) var(--pad) clamp(8px,1.5vh,16px); }
.gallery-wrap{ max-width:1480px; margin:0 auto; }
.gallery-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom:clamp(28px,4vw,46px); }
.gallery-head h2{ font-family:var(--serif); font-weight:400; font-size:clamp(28px,4vw,46px); color:var(--ink); margin-top:12px; line-height:1.05; }
.gtoggle{ display:flex; gap:5px; border:1px solid rgba(26,26,26,0.18); border-radius:7px; padding:4px; }
.gtoggle button{ font-family:var(--mono); font-size:10px; letter-spacing:0.14em; text-transform:uppercase; padding:9px 18px; border:none; background:transparent; color:var(--grey-2); border-radius:4px; cursor:pointer; transition:background .3s, color .3s; white-space:nowrap; }
.gtoggle button.on{ background:var(--ink); color:#fff; }
/* 16:9 stage; images are object-fit:contain so nothing is ever cropped.
   Best look once all source photos share one ratio (user edits them). */
.gstage{ position:relative; aspect-ratio:16/9; background:linear-gradient(158deg,#EFEDEA,#E3E0DB); border:1px solid rgba(26,26,26,0.08); border-radius:5px; overflow:hidden; display:grid; place-items:center; touch-action:pan-y; }
.gslide{ position:absolute; inset:0; display:grid; place-items:center; padding:26px; opacity:0; transition:opacity .5s var(--ease); pointer-events:none; }
.gslide.on{ opacity:1; pointer-events:auto; }
.gslide img{ max-width:70%; max-height:70%; width:auto; height:auto; object-fit:contain; filter:drop-shadow(0 32px 40px rgba(0,0,0,0.2)); -webkit-user-select:none; user-select:none; }
.gcap{ position:absolute; left:22px; bottom:18px; font-family:var(--mono); font-size:10px; letter-spacing:0.1em; text-transform:uppercase; color:var(--grey-2); z-index:2; }
.gcount{ position:absolute; right:22px; bottom:18px; font-family:var(--mono); font-size:10px; letter-spacing:0.08em; color:var(--grey-2); z-index:2; }
.garrow{ position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%; border:1px solid rgba(26,26,26,0.2); background:rgba(245,244,242,0.75); color:var(--ink); font-size:18px; display:grid; place-items:center; cursor:pointer; z-index:3; transition:background .3s, border-color .3s, color .3s; }
.garrow:hover{ background:var(--orange); border-color:var(--orange); color:#fff; }
.garrow.prev{ left:18px; } .garrow.next{ right:18px; }
.gthumbs{ display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-top:14px; }
.gthumb{ aspect-ratio:16/9; border:1px solid rgba(26,26,26,0.12); border-radius:4px; background:#EEEBE6; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:8px; overflow:hidden; transition:border-color .25s, transform .25s; }
.gthumb img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; pointer-events:none; }
.gthumb:hover{ transform:translateY(-3px); }
.gthumb.on{ border-color:var(--orange); box-shadow:inset 0 0 0 1px var(--orange); }
/* taller stage on mobile so the product reads larger in the narrow column */
@media (max-width:768px){ .gstage{ aspect-ratio:4/3; } }
@media (max-width:680px){ .gthumbs{ grid-template-columns:repeat(5,1fr); gap:7px; } .gthumb{ padding:5px; } }

/* ===================== BRAND STATEMENT ===================== */
.statement{ background:#fff; padding:clamp(45px,7vh,80px) var(--pad); text-align:center; }
.statement h2{ font-family:var(--serif); font-weight:400; font-size:clamp(44px,8vw,72px); color:var(--ink); }
.statement .rule{ width:60px; height:2px; background:var(--orange); margin:30px auto; }
.statement p{ font-family:var(--mono); font-size:14px; letter-spacing:0.1em; color:var(--grey-2); }

/* ===================== FOOTER ===================== */
.foot{ background:var(--dark); color:#fff; padding:clamp(60px,8vw,104px) var(--pad) 34px; }
.foot-inner{ max-width:1400px; margin:0 auto; display:grid; grid-template-columns:1.15fr 2fr; gap:clamp(40px,6vw,96px); align-items:start; }
.foot-brand img{ height:clamp(84px,9vw,116px); width:auto; display:block; }
.foot-tag{ font-family:var(--serif); font-weight:400; font-size:clamp(18px,1.5vw,23px); color:#e9e7e4; line-height:1.32; margin-top:26px; max-width:30ch; }
.foot-cols{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,3vw,40px); }
.foot-col{ display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.foot-label{ font-family:var(--mono); font-size:10px; letter-spacing:0.22em; text-transform:uppercase; color:var(--orange); margin-bottom:6px; }
.foot-col a, .foot-col address{ font-family:var(--mono); font-style:normal; font-size:12px; color:#a6a6a6; line-height:1.75; letter-spacing:0.02em; transition:color .25s ease; }
.foot-col a{ position:relative; }
.foot-col a:hover{ color:#fff; }
.foot-rule{ max-width:1400px; margin:clamp(46px,5.5vw,68px) auto 22px; height:1px; background:#2a2a2a; }
.foot-bottom{ max-width:1400px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.foot-copy{ font-family:var(--mono); font-size:10px; color:#6a6a6a; letter-spacing:0.06em; }
.foot-made{ font-family:var(--mono); font-size:10px; color:#6a6a6a; letter-spacing:0.18em; text-transform:uppercase; }
.foot-made::before{ content:"·"; color:var(--orange); margin-right:8px; }
@media (max-width:880px){ .foot-inner{ grid-template-columns:1fr; gap:44px; } }
@media (max-width:560px){ .foot-cols{ grid-template-columns:1fr 1fr; row-gap:30px; } .foot-bottom{ justify-content:center; text-align:center; } }
