@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 950;font-display:swap;src:url("assets/dm-sans.woff2") format("woff2")}
@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url("assets/instrument.woff2") format("woff2")}

:root{
  color-scheme:dark;
  --bg:#131414;
  --fg:#f4f3ef;
  --muted:#c1c0bb;
  --accent:#f15247;
  --sans:"DM Sans",Arial,sans-serif;
  --serif:"Instrument Serif",Georgia,serif;
  --gutter:clamp(22px,4.45vw,82px);
  font-family:var(--sans);
  color:var(--fg);
  background:var(--bg);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:1.2rem}
body{margin:0;min-width:280px;-webkit-font-smoothing:antialiased}
button,a{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{text-decoration:none}
img{display:block;max-width:100%}
:where(a,button):focus-visible{outline:2px solid #ff8279;outline-offset:4px}
::selection{background:#eedbd7;color:#181818}
.shell{width:min(calc(100% - 2 * var(--gutter)),1600px);margin-inline:auto}
[hidden]{display:none!important}
.skip,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{width:auto;height:auto;clip-path:none;top:8px;left:16px;background:white;color:#151515;z-index:150;padding:12px}
.topbar{position:relative;z-index:5;background:var(--bg)}
.nav-inner{height:clamp(78px,6.1vw,94px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.brand{width:72px;display:block;justify-self:start}
.brand img{width:100%;height:auto}
.main-nav,.nav-actions{display:flex;align-items:center}
.main-nav{gap:clamp(20px,2.55vw,42px)}
.main-nav a,.mobile-nav a{font-weight:530;font-size:.92rem}
.main-nav a{padding:12px 0;position:relative;color:#d6d6d2}
.main-nav a::after{content:'';position:absolute;left:0;right:0;bottom:6px;height:1px;background:#cfccc7;transform:scaleX(0);transform-origin:left;transition:transform .2s}
.main-nav a:hover{color:#fff}.main-nav a:hover::after{transform:scaleX(1)}
.nav-actions{justify-self:end;gap:9px}
.visit{display:inline-flex;min-height:42px;align-items:center;gap:9px;padding:9px 17px;border:1px solid #51524e;border-radius:24px;font-size:.87rem;font-weight:580}
.visit svg,.hero-location svg,.all-stock svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}
.visit:hover{border-color:#d4d2cd;background:#242524}
.menu-button,.mobile-nav{display:none}
.hero-frame{
  position:relative;isolation:isolate;overflow:hidden;
  width:min(calc(100% - 2 * clamp(10px,1.65vw,36px)),1760px);
  height:clamp(470px,40.1vw,690px);
  margin:0 auto;background:#141617;border:1px solid #363836;border-radius:14px;
}
.hero-art,.hero-shade,.feature-picture{position:absolute;inset:0}
.hero-art{left:22%;overflow:hidden;background:#191b1b}
.feature-picture{opacity:0;transition:opacity .75s cubic-bezier(.21,.65,.25,1)}
.feature-picture.is-visible{opacity:1}
.feature-picture img{width:100%;height:100%;object-fit:cover;object-position:50% 64%;filter:brightness(.9) saturate(.83)}
.hero-frame[data-car="cls"] .feature-picture.is-visible img{object-position:50% 63%}
.hero-shade{
  pointer-events:none;
  background:linear-gradient(90deg,#101213 1%,rgba(16,18,19,.98) 14%,rgba(16,18,19,.88) 27%,rgba(16,18,19,.57) 38%,rgba(16,18,19,.13) 53%,transparent 66%),
             linear-gradient(0deg,rgba(8,9,9,.73),transparent 24%,transparent 88%,rgba(19,19,18,.08));
}
.hero-copy{position:absolute;top:46.5%;left:clamp(24px,4.45vw,82px);transform:translateY(-50%);max-width:52%}
.eyeline{display:flex;gap:10px;align-items:center;margin:0;color:#d6d4ce;font-size:.74rem;font-weight:640;letter-spacing:.16em;text-transform:uppercase;line-height:1.3}
.eyeline>span{width:23px;height:2px;background:var(--accent);flex:none}
.hero-words{margin-block:clamp(21px,2vw,34px) clamp(24px,2.25vw,37px)}
.hero-words h1{margin:0;font-size:clamp(66px,7.1vw,130px);font-weight:520;letter-spacing:-.079em;line-height:.87}
.hero-words h1 span,.hero-words h1 em{display:block}
.hero-words h1 em{font-family:var(--serif);font-style:italic;font-weight:400;font-size:1.145em;letter-spacing:-.046em;line-height:.96}
.hero-frame[data-car="cls"] .hero-words h1 span,.hero-frame[data-car="c-klasse"] .hero-words h1 span{font-size:.68em;line-height:1.07;letter-spacing:-.065em}
.hero-specs{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:clamp(17px,1.5vw,26px) 0 0;font-size:clamp(.94rem,1.14vw,1.13rem);color:#e0e0db;letter-spacing:-.015em}
.hero-specs i{width:3px;height:3px;background:#b1b0aa;border-radius:50%;flex:none}
.light-button{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;background:#f2f0e9;color:#1c1e1e;min-height:44px;padding:11px 23px;font-size:.9rem;font-weight:680;transition:background .18s,transform .18s}
.light-button:hover{background:#fff;transform:translateY(-1px)}
.hero-bottom{position:absolute;left:clamp(24px,4.45vw,82px);right:clamp(17px,2.3vw,45px);bottom:clamp(16px,1.7vw,30px);display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none}
.hero-location{display:inline-flex;align-items:center;gap:6px;color:#cbccc6;font-size:.78rem;line-height:1.4;padding-bottom:3px}
.hero-location svg{width:15px;height:15px}
.chooser{display:none;align-items:center;gap:7px;pointer-events:auto}
.js .chooser{display:flex}
.chooser button{position:relative;display:block;width:clamp(57px,5.1vw,90px);aspect-ratio:1.64;background:rgba(22,23,22,.78);padding:3px;border:1px solid #a6a7a570;border-radius:6px;transition:border-color .2s,transform .2s}
.chooser img{width:100%;height:100%;object-fit:cover;object-position:50% 65%;border-radius:2px;opacity:.75;transition:opacity .22s}
.chooser button[aria-pressed="true"]{border-color:#f9eee0;box-shadow:0 0 0 1px #f9eee063}
.chooser button[aria-pressed="true"] img,.chooser button:hover img{opacity:1}
.chooser button:hover{transform:translateY(-2px)}
.frame-count{display:flex;align-items:center;gap:7px;padding-right:7px;color:#dddcd6;font-size:.72rem;letter-spacing:.035em;font-variant-numeric:tabular-nums}
.frame-count b{font-weight:650;color:#fff}
.frame-count i{display:inline-block;width:20px;height:1px;background:#a7a6a3}
.selection{padding-block:clamp(49px,4.95vw,88px) clamp(66px,6.4vw,112px)}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:clamp(24px,2.3vw,42px)}
.section-heading .eyeline{color:var(--muted)}
.section-heading h2{margin:10px 0 -2px;font-weight:510;font-size:clamp(2.85rem,4.45vw,5.6rem);letter-spacing:-.073em;line-height:1}
.section-heading h2 em{font:italic 400 1.115em/.95 var(--serif);letter-spacing:-.04em}
.all-stock{display:inline-flex;align-items:center;gap:9px;padding:9px 0 6px;border-bottom:1px solid #63645f;font-size:.91rem;font-weight:550}
.all-stock:hover{border-color:var(--fg)}
.all-stock svg{width:15px;height:15px}
.fallback-stock{padding:0;list-style:none;line-height:2}.fallback-stock a{text-decoration:underline}

.opening{display:none}
.introduce .opening{
  position:fixed;inset:0;z-index:90;display:grid;place-items:center;pointer-events:none;isolation:isolate;
  background:radial-gradient(ellipse at 50% 53%,#212325 0%,#121314 48%,#101112 100%);
  animation:opening-exit .54s cubic-bezier(.55,.01,.26,1) 1.13s both;
}
.opening-sign{width:clamp(150px,17vw,265px)}
.opening-sign svg{width:100%;height:auto;display:block;overflow:visible}
.opening-sign #wb-monogram{transform-box:fill-box;transform-origin:50% 80%;animation:mark-in .86s cubic-bezier(.17,.85,.24,1) both}
.opening-sign #wb-wordmark{transform-box:fill-box;transform-origin:50% 100%;animation:word-in .62s cubic-bezier(.17,.85,.24,1) .26s both}
@keyframes mark-in{from{opacity:0;clip-path:inset(0 100% 0 0);transform:translateX(-18px) skewX(-5deg)}to{opacity:1;clip-path:inset(-2% -2%);transform:none}}
@keyframes word-in{from{opacity:0;clip-path:inset(0 0 100%);transform:translateY(13px)}to{opacity:1;clip-path:inset(-2% -2%);transform:none}}
@keyframes opening-exit{0%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
.hero-words.is-entering{animation:copy-in .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes copy-in{from{opacity:.15;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(min-width:1800px){.hero-copy,.hero-bottom{left:80px}}
@media(max-width:900px) and (min-width:701px){.hero-art{left:17%}.hero-copy,.hero-bottom{left:32px}.hero-words h1{font-size:70px}.hero-frame{height:445px}.main-nav{gap:17px}.main-nav a{font-size:.86rem}.chooser button{width:56px}.hero-bottom{right:18px}}
@media(max-width:700px){
  :root{--gutter:clamp(18px,5.2vw,32px)}
  .nav-inner{height:66px;display:flex;justify-content:space-between}
  .brand{width:60px}.main-nav{display:none}.visit{font-size:.81rem;min-height:38px;padding:7px 12px;gap:6px}.visit svg{width:14px;height:14px}
  .js .menu-button{display:grid;width:40px;height:40px;align-content:center;justify-content:center;gap:5px;border:1px solid #494b49;background:transparent;border-radius:50%}
  .menu-button span{display:block;width:16px;height:1px;background:#e7e7e2;transition:transform .18s}
  .menu-button[aria-expanded="true"] span:first-child{transform:translateY(3px) rotate(45deg)}
  .menu-button[aria-expanded="true"] span:last-child{transform:translateY(-3px) rotate(-45deg)}
  .mobile-nav:not([hidden]){position:absolute;top:calc(100% - 1px);right:var(--gutter);display:grid;background:#202122;border:1px solid #4c4d49;min-width:190px;border-radius:8px;padding:6px;box-shadow:0 12px 30px #0006}
  .mobile-nav a{padding:13px 14px}
  .hero-frame{width:calc(100% - 16px);height:clamp(495px,118vw,610px);border-radius:11px}
  .hero-art{left:0;height:67%}
  .feature-picture img{object-position:50% 58%;filter:brightness(.96) saturate(.88)}
  .hero-shade{background:linear-gradient(0deg,#131516 0%,#131516 28%,rgba(19,21,22,.95) 35%,rgba(19,21,22,.47) 49%,transparent 64%),linear-gradient(90deg,#15171718,transparent 30%)}
  .hero-copy{top:auto;bottom:72px;left:20px;max-width:calc(100% - 40px);transform:none}
  .hero-copy .eyeline{font-size:.65rem;letter-spacing:.145em}
  .hero-copy .eyeline span{width:16px}
  .hero-words{margin:10px 0 15px}
  .hero-words h1{font-size:clamp(44px,10.8vw,66px);line-height:.9}
  .hero-words h1 em{font-size:1.22em;line-height:.92}
  .hero-frame[data-car="cls"] .hero-words h1 span,.hero-frame[data-car="c-klasse"] .hero-words h1 span{font-size:.78em}
  .hero-specs{margin-top:11px;font-size:.88rem;gap:8px}
  .light-button{min-height:40px;padding:9px 17px;font-size:.85rem}
  .hero-bottom{left:20px;right:16px;bottom:15px;align-items:center}
  .hero-location{font-size:.71rem;padding-bottom:0;gap:4px}.hero-location svg{width:12px;height:12px}
  .chooser{gap:4px}.chooser button{width:clamp(38px,10.2vw,56px);aspect-ratio:1.36;padding:2px;border-radius:4px}
  .frame-count{display:none}
  .section-heading{margin-bottom:20px;gap:10px}
  .section-heading .eyeline{font-size:.67rem}.section-heading .eyeline span{width:16px}
  .section-heading h2{font-size:clamp(2.5rem,9.2vw,3.4rem);margin-top:8px}
  .all-stock{font-size:.8rem;gap:5px}.all-stock svg{width:13px}
}
@media(min-width:485px) and (max-width:700px){.hero-frame{height:585px}.hero-art{height:74%}.hero-copy,.hero-bottom{left:28px}.hero-copy{bottom:80px}}
@media(max-width:365px){.hero-copy,.hero-bottom{left:14px}.hero-bottom{right:12px}.hero-location{font-size:.65rem}.chooser button{width:34px}.visit{font-size:.76rem}.hero-frame{height:477px}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.introduce .opening{display:none}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
