/* Truvik redesign preview. Palette is taken from the Truvik logo: navy, blue, red. */
:root {
  --ink: #0a0f21;
  --ink-2: #111930;
  --ink-3: #1b2542;
  --navy: #15498b;
  --blue: #1d89ca;
  --red: #e32226;
  --red-d: #c1181c;
  --paper: #f6f4ef;
  --stone: #e8e4da;
  --white: #fff;
  --text: #151a2b;
  --muted: #5a6173;
  --line: rgba(10, 15, 33, .12);
  --line-l: rgba(255, 255, 255, .16);
  --fd: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fb: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fm: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1360px;
  --gut: clamp(20px, 4.2vw, 64px);
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--fb); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, blockquote, p, ol, ul, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.mono { font: 500 12px/1 var(--fm); letter-spacing: .08em; text-transform: uppercase; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

h1, h2, h3, .statement, blockquote { font-family: var(--fd); font-weight: 600; letter-spacing: -.028em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(46px, 8.4vw, 132px); font-stretch: 108%; letter-spacing: -.04em; line-height: .94; }
h2 { font-size: clamp(32px, 4.4vw, 64px); }
h3 { font-size: 22px; letter-spacing: -.015em; line-height: 1.15; }

.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow.light { color: rgba(255, 255, 255, .78); }
.tick { width: 22px; height: 2px; background: var(--red); flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font: 600 14.5px/1 var(--fb); letter-spacing: -.005em; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); border: 1px solid transparent; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr, .link-arrow:hover .arr { transform: translateX(4px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 15.5px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); }
.btn-ghost { border-color: rgba(255, 255, 255, .42); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--stone); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--fb); padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-l); color: #fff; background: rgba(10, 15, 33, .45); backdrop-filter: blur(8px); font-size: 11px; }
.chip.dark { border-color: var(--line); color: var(--ink); background: transparent; backdrop-filter: none; }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .35s, box-shadow .35s, transform .35s var(--ease); }
.header-in { display: flex; align-items: center; height: 84px; gap: 40px; transition: height .35s var(--ease); }
.site-header.scrolled, .solid-header .site-header { background: rgba(10, 15, 33, .9); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.site-header.scrolled .header-in { height: 68px; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; height: 100%; }
.nav > a, .nav-item > a { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; color: rgba(255, 255, 255, .88); font: 500 15px/1 var(--fb); transition: background .2s, color .2s; }
.nav > a:hover, .nav-item:hover > a, .nav a[aria-current] { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-item { height: 100%; display: flex; align-items: center; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--gut); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { max-width: calc(var(--wrap) - 2 * var(--gut)); margin: 0 auto; background: rgba(10, 15, 33, .96); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.mega-item { display: flex; align-items: center; gap: 16px; padding: 10px; border-radius: 12px; color: #fff; font: 500 16px/1.2 var(--fd); transition: background .2s; }
.mega-item:hover { background: rgba(255, 255, 255, .08); }
.mega-thumb { width: 76px; height: 56px; border-radius: 8px; overflow: hidden; flex: none; }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-txt { display: flex; flex-direction: column; gap: 8px; }
.mega-txt .mono { color: rgba(255, 255, 255, .5); font-size: 10.5px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .12); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: #fff; padding: 104px var(--gut) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-cats { display: grid; border-top: 1px solid var(--line-l); }
.mobile-cats a { display: flex; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-l); font: 600 24px/1.1 var(--fd); letter-spacing: -.02em; }
.mobile-cats .mono { color: rgba(255, 255, 255, .45); }
.mobile-links { display: flex; gap: 24px; margin: 28px 0; font-weight: 500; }

/* hero */
.hero { position: relative; min-height: clamp(660px, 100svh, 1080px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-slides, .hero-slide, .page-hero-bg, .cta-bg { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img, .page-hero-bg img, .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.on img { animation: drift 9s ease-out both; }
@keyframes drift { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 33, .62) 0%, rgba(10, 15, 33, .12) 26%, rgba(10, 15, 33, .2) 48%, rgba(10, 15, 33, .9) 100%), linear-gradient(90deg, rgba(10, 15, 33, .55), rgba(10, 15, 33, 0) 62%); }
.hero-in { position: relative; padding-top: 140px; padding-bottom: clamp(28px, 5vh, 56px); }
.hero-sub { max-width: 560px; margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-foot { position: relative; display: flex; align-items: center; justify-content: space-between; padding-block: 22px 28px; border-top: 1px solid var(--line-l); }
.hero-count { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .7); }
.hero-bars { display: flex; gap: 5px; }
.hero-bars i { width: 28px; height: 2px; background: rgba(255, 255, 255, .26); transition: background .5s; }
.hero-bars i.on { background: #fff; }
.hero-scroll { color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: 10px; }
.hero-scroll::after { content: ''; width: 1px; height: 26px; background: currentColor; animation: nudge 2s ease-in-out infinite; transform-origin: top; }
@keyframes nudge { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* intro */
.intro { padding: clamp(80px, 11vw, 168px) 0 clamp(56px, 7vw, 104px); }
.intro-in { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; align-items: start; }
.statement { font-size: clamp(30px, 4.3vw, 66px); line-height: 1.06; font-weight: 500; }
.statement.sm { font-size: clamp(26px, 3vw, 44px); margin-bottom: 36px; }
.statement em, blockquote em { font-style: normal; color: var(--navy); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 110px); border-top: 1px solid var(--line); }
.fact { padding: 28px 28px 0 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.fact + .fact { padding-left: 28px; }
.fact:last-child { border-right: 0; }
.fact b { font: 600 clamp(38px, 4.4vw, 62px)/1 var(--fd); letter-spacing: -.04em; }
.fact span { color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 24ch; }

/* section heads */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.products-sec { padding: clamp(40px, 5vw, 72px) 0 clamp(80px, 10vw, 150px); }
.products-sec.flat { padding-top: clamp(56px, 7vw, 100px); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--ink); color: #fff; min-height: 340px; isolation: isolate; }
.t-a { grid-column: span 5; min-height: 480px; } .t-b { grid-column: span 7; min-height: 480px; }
.t-c { grid-column: span 4; min-height: 400px; } .t-d { grid-column: span 6; min-height: 380px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); z-index: -2; }
.tile:hover img { transform: scale(1.06); }
.tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 15, 33, .34) 0%, rgba(10, 15, 33, 0) 34%, rgba(10, 15, 33, .82) 100%); }
.tile-top { position: absolute; inset: 20px 20px auto 22px; display: flex; justify-content: space-between; align-items: center; }
.tile-go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); transition: background .3s, color .3s, transform .4s var(--ease); flex: none; }
.tile:hover .tile-go, .sub-card:hover .tile-go { background: var(--red); transform: rotate(45deg); }
.tile-body { position: absolute; inset: auto 22px 22px 22px; display: flex; flex-direction: column; }
.tile-name { font: 600 clamp(24px, 2.3vw, 34px)/1.05 var(--fd); letter-spacing: -.025em; }
.tile-blurb { max-width: 40ch; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .84); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .5s var(--ease); }
.tile:hover .tile-blurb, .tile:focus-visible .tile-blurb { max-height: 80px; opacity: 1; margin-top: 10px; }

/* scale */
.scale { background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 140px) 0; }
.scale-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.scale-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 5/6; }
.scale-media img { width: 100%; height: 100%; object-fit: cover; }
.scale-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .76); margin: 24px 0 30px; max-width: 48ch; }
.steps { margin-top: 48px; border-top: 1px solid var(--line-l); }
.steps li { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-l); }
.steps .mono { color: var(--blue); padding-top: 6px; }
.steps b { display: block; font: 600 19px/1.25 var(--fd); letter-spacing: -.01em; }
.steps div span { display: block; color: rgba(255, 255, 255, .64); font-size: 15px; margin-top: 4px; }

/* rails */
.systems-sec, .others { padding: clamp(80px, 10vw, 150px) 0 clamp(64px, 8vw, 120px); overflow: hidden; }
.others { background: var(--stone); padding-block: clamp(64px, 7vw, 104px); }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; --rp: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); padding: 4px var(--rp) 24px; scroll-padding-inline: var(--rp); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-card { position: relative; flex: 0 0 min(78vw, 460px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; }
.rail-card.sm { flex-basis: min(62vw, 300px); }
.rail-img { display: block; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: var(--stone); }
.rail-card.sm .rail-img { aspect-ratio: 1; }
.rail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rail-card:hover .rail-img img { transform: scale(1.05); }
.rail-card .chip { position: absolute; top: 16px; left: 16px; }
.rail-name { font: 600 22px/1.15 var(--fd); letter-spacing: -.02em; }
.rail-card.sm .rail-name { font-size: 18px; }

/* about teaser */
.about-teaser { padding: 0 0 clamp(80px, 10vw, 150px); }
.about-teaser-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.about-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
blockquote { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.08; font-weight: 500; }
.about-teaser p:not(.eyebrow) { color: var(--muted); margin: 26px 0 30px; max-width: 54ch; }

/* cta band */
.cta-band { position: relative; color: #fff; background: var(--ink); padding: clamp(96px, 13vw, 200px) 0; overflow: hidden; text-align: center; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: rgba(10, 15, 33, .74); }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-in h2 { font-size: clamp(40px, 7vw, 108px); letter-spacing: -.04em; line-height: .96; }
.cta-in p:not(.eyebrow) { max-width: 600px; margin: 26px 0 34px; color: rgba(255, 255, 255, .82); }

/* footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); border-top: 1px solid var(--line-l); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 72px 56px; }
.footer-brand p { max-width: 34ch; margin: 22px 0 26px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 24px 96px; border-top: 1px solid var(--line-l); font-size: 13.5px; }
.footer-bottom .mono { color: rgba(255, 255, 255, .45); }

/* page hero */
.page-hero { position: relative; min-height: min(72svh, 680px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero-in { position: relative; padding-top: 150px; padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(42px, 7vw, 104px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; color: rgba(255, 255, 255, .6); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* product intro */
.intro-block { padding: clamp(56px, 7vw, 104px) 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 110px); }
.intro-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.big-n { font: 500 13px/1 var(--fm); color: var(--muted); }
.lead { font: 500 clamp(22px, 2.3vw, 32px)/1.28 var(--fd); letter-spacing: -.018em; }
.intro-copy p + p { margin-top: 22px; color: var(--muted); max-width: 62ch; }
.catalogs { display: grid; gap: 8px; width: 100%; max-width: 340px; }
.catalog { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, transform .3s var(--ease); }
.catalog:hover { border-color: var(--ink); transform: translateY(-2px); }
.catalog-ic { width: 38px; height: 38px; border-radius: 9px; background: var(--paper); display: grid; place-items: center; color: var(--red); flex: none; }
.catalog b { display: block; font: 600 14.5px/1.2 var(--fb); }
.catalog small { font: 500 10.5px/1 var(--fm); letter-spacing: .1em; color: var(--muted); }

.block { padding: 0 0 clamp(64px, 8vw, 120px); }

/* galleries */
.g-item { display: block; width: 100%; overflow: hidden; border-radius: var(--r); background: var(--stone); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.g-mosaic .g-item { aspect-ratio: 4/3; grid-column: span 6; }
.g-mosaic .g-item:nth-child(4n+1) { grid-column: span 7; aspect-ratio: auto; min-height: 420px; }
.g-mosaic .g-item:nth-child(4n+2) { grid-column: span 5; aspect-ratio: auto; min-height: 420px; }
.g-mosaic .g-item:nth-child(4n+3) { grid-column: span 5; aspect-ratio: auto; min-height: 420px; }
.g-mosaic .g-item:nth-child(4n+4) { grid-column: span 7; aspect-ratio: auto; min-height: 420px; }
.g-mosaic .g-item:last-child:nth-child(odd) { grid-column: span 12; min-height: 0; aspect-ratio: 21/9; }
.g-strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 310px); gap: 12px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.g-strip .g-item { aspect-ratio: 4/3; }

/* systems / lines */
.system { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: 70px; }
.system-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: 14px; }
.system.alt .system-lead { order: 2; }
.system.alt .system-head { grid-template-columns: 1fr 1.5fr; }
.system-lead { aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; background: var(--stone); }
.system-lead img { width: 100%; height: 100%; object-fit: cover; }
.system-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 8px; }
.system-copy h2 { font-size: clamp(28px, 3.3vw, 50px); }
.sys-n { color: var(--muted); }
.system-copy .link-arrow { margin-top: 10px; }

/* sub cards */
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sub-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.sub-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(10, 15, 33, .12); }
.sub-img { aspect-ratio: 4/3.4; overflow: hidden; }
.sub-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sub-card:hover .sub-img img { transform: scale(1.05); }
.sub-meta { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.sub-meta .mono { color: var(--muted); }
.sub-name { font: 600 26px/1.1 var(--fd); letter-spacing: -.022em; }
.sub-blurb { color: var(--muted); font-size: 15px; line-height: 1.5; }
.sub-card .tile-go { position: absolute; top: 16px; right: 16px; color: #fff; background: rgba(10, 15, 33, .5); }

/* doors */
.door-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 18px; }
.door .g-item { aspect-ratio: 4/3; }
.door-meta { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 8px; }
.door-meta .mono { color: var(--red); }
.door p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.door .mat { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); font-size: 13.5px; }
.door .mat .mono { display: block; font-size: 10px; color: var(--muted); margin-bottom: 7px; }

/* flooring */
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.swatch { position: relative; aspect-ratio: 3/4.4; }
.swatch-meta { position: absolute; inset: auto 12px 12px 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 10px; padding: 12px 14px; display: flex; align-items: baseline; gap: 10px; text-align: left; }
.swatch-meta b { font: 600 17px/1 var(--fd); letter-spacing: -.01em; }
.swatch-meta .mono { color: var(--muted); font-size: 10.5px; }
.spec-block { background: #fff; padding-block: clamp(64px, 8vw, 120px); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.spec-grid h2 { margin-bottom: 24px; }
.spec-grid p:not(.eyebrow) { color: var(--muted); margin-top: 16px; max-width: 56ch; }
.specs { border-top: 1px solid var(--ink); }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-top: 5px; }
.specs dd { font-weight: 500; text-align: right; }

/* product list rows */
.list { border-top: 1px solid var(--ink); }
.row { position: relative; display: grid; grid-template-columns: 56px 1.1fr 1.3fr 150px 44px; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .3s; }
.row:hover { padding-inline: 18px; background: #fff; }
.row-n { color: var(--muted); }
.row-name { font: 600 clamp(24px, 2.8vw, 42px)/1.05 var(--fd); letter-spacing: -.03em; }
.row-blurb { color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.row-img { width: 150px; height: 100px; border-radius: 10px; overflow: hidden; }
.row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.row:hover .row-img img { transform: scale(1.08); }
.row-go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.row:hover .row-go { background: var(--red); color: #fff; border-color: var(--red); }

/* about page */
.about-page { padding: clamp(64px, 8vw, 120px) 0; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.about-copy p:not(.statement) { color: var(--muted); margin-bottom: 20px; max-width: 62ch; }
.about-copy .btn { margin-top: 14px; }
.about-side { display: grid; gap: 14px; position: sticky; top: 96px; }
.about-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.about-img.sm { aspect-ratio: 16/9; width: 72%; justify-self: end; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--ink); }
.pillar { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.pillar .mono { color: var(--red); }
.pillar b { font: 600 26px/1.1 var(--fd); letter-spacing: -.02em; }
.pillar span:last-child { color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 28ch; }

/* contact */
.contact-page { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 100svh; }
.contact-side { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.contact-side-bg { position: absolute; inset: 0; }
.contact-side-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-side-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 33, .82), rgba(10, 15, 33, .9)); }
.contact-side-in { position: sticky; top: 0; padding: 150px var(--gut) 64px; max-width: 640px; margin-left: auto; }
.contact-side h1 { font-size: clamp(42px, 5.2vw, 78px); }
.contact-side-in > p:not(.eyebrow) { color: rgba(255, 255, 255, .8); margin-top: 24px; max-width: 46ch; }
.contact-form-wrap { background: var(--paper); padding: 140px var(--gut) 96px; }
.form, .form-done { max-width: 620px; }
.form h2, .form-done h2 { font-size: 30px; margin-bottom: 28px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: block; margin-bottom: 16px; }
.f > span, .f legend { display: block; font: 500 13px/1 var(--fb); color: var(--muted); margin-bottom: 9px; }
.f i { font-style: normal; opacity: .7; }
.f input, .f textarea { width: 100%; font: 400 16px/1.4 var(--fb); color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.f input:focus, .f textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(21, 73, 139, .12); }
.f textarea { resize: vertical; }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 14px/1 var(--fb); cursor: pointer; transition: all .2s; }
.chip-opt span:hover { border-color: var(--ink); }
.chip-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.drop { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1.5px dashed rgba(10, 15, 33, .28); border-radius: 12px; cursor: pointer; margin-bottom: 24px; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--navy); background: #fff; }
.drop-ic { width: 44px; height: 44px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--navy); transform: rotate(180deg); flex: none; }
.drop b { display: block; font: 600 15px/1.3 var(--fb); }
.drop small { color: var(--muted); font-size: 13.5px; }
.f-err { color: var(--red-d); font-size: 14.5px; margin-bottom: 16px; }
.done-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 26px; }
.form-done > p { color: var(--muted); }
.done-demo { margin-top: 34px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.done-demo .mono { color: var(--red); margin-bottom: 10px; }
.done-demo p { margin-bottom: 18px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.btn[disabled] { opacity: .7; cursor: progress; }
/* quote request page */
.side-card { position: relative; display: flex; flex-direction: column; gap: 8px; margin-top: 44px; padding: 24px 76px 24px 24px; border: 1px solid var(--line-l); border-radius: var(--r); background: rgba(255, 255, 255, .07); backdrop-filter: blur(8px); transition: background .3s, border-color .3s; }
.side-card:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .4); }
.side-card .mono { color: rgba(255, 255, 255, .6); } .side-card b { font: 600 26px/1.1 var(--fd); letter-spacing: -.02em; }
.side-card span:not(.mono):not(.tile-go) { color: rgba(255, 255, 255, .76); font-size: 15px; line-height: 1.5; }
.side-card .tile-go { position: absolute; top: 22px; right: 22px; } .side-card:hover .tile-go { background: var(--red); transform: rotate(45deg); }
.q-sec { padding-bottom: 20px; margin-bottom: 36px; border-bottom: 1px solid var(--line); } .q-sec.last { border-bottom: 0; margin-bottom: 8px; padding-bottom: 0; }
.q-head { display: flex; gap: 18px; align-items: baseline; margin-bottom: 22px; } .q-head .mono { color: var(--red); }
.form .q-head h2 { font-size: 28px; margin: 0; } .q-head p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.drop.big { flex-direction: column; text-align: center; gap: 8px; padding: 44px 24px; margin-bottom: 0; background: rgba(255, 255, 255, .55); }
.drop.big b { font: 600 19px/1.3 var(--fd); letter-spacing: -.01em; } .drop.big small { max-width: 44ch; font-size: 14px; line-height: 1.5; }
.drop.big .drop-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; margin-bottom: 6px; }
.drop.big.has { padding-block: 26px; } .drop.over { border-style: solid; }
.files { display: grid; gap: 8px; margin-top: 12px; }
.files li { display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; animation: filein .35s var(--ease); }
@keyframes filein { from { opacity: 0; transform: translateY(6px); } }
.files .ext { flex: none; min-width: 46px; height: 34px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; background: var(--ink); color: #fff; font-size: 10.5px; }
.fname { flex: 1; min-width: 0; } .fname b { display: block; font: 600 14.5px/1.3 var(--fb); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fname small { color: var(--muted); font-size: 12.5px; }
.files button { width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--muted); flex: none; } .files button:hover { background: var(--paper); color: var(--red-d); }
.f select { width: 100%; font: 400 16px/1.4 var(--fb); color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235a6173' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.f select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(21, 73, 139, .12); }
.done-sum { margin-top: 28px; border-top: 1px solid var(--ink); } .done-sum div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.done-sum dt { color: var(--muted); padding-top: 5px; } .done-sum dd { font-weight: 500; overflow-wrap: anywhere; }

/* demo pill */
.demo-pill { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: 0 10px 34px rgba(10, 15, 33, .24), 0 0 0 1px rgba(10, 15, 33, .08); font: 500 13px/1 var(--fb); color: var(--ink); }
.demo-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #23a45c; box-shadow: 0 0 0 4px rgba(35, 164, 92, .18); }
.demo-pill a { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.demo-pill a:hover { background: var(--navy); }
.demo-pill .arr { width: 14px; height: 14px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 9, 20, .95); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; color: #fff; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100vh; padding: 56px 0 28px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); border-radius: 8px; object-fit: contain; }
.lightbox figcaption { font: 500 12px/1.3 var(--fm); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-align: center; }
.lb-prev, .lb-next, .lb-close { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; margin: auto; transition: background .2s; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: rgba(255, 255, 255, .26); }
.lb-prev svg { transform: rotate(180deg); }
.lb-close { position: absolute; top: 16px; right: 16px; font-size: 26px; line-height: 1; margin: 0; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.on img, .hero-scroll::after { animation: none; }
}

/* responsive */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .header-in { height: 72px; }
  .intro-in, .intro-grid, .scale-in, .about-teaser-in, .spec-grid, .about-grid, .system-head, .system.alt .system-head { grid-template-columns: 1fr; }
  .system.alt .system-lead { order: 0; }
  .facts, .pillars { grid-template-columns: 1fr 1fr; }
  .fact { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); }
  .fact + .fact { padding-left: 20px; }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(2n+1) { padding-left: 0; }
  .pillar { padding-bottom: 26px; }
  .t-a, .t-b, .t-d { grid-column: span 6; min-height: 380px; }
  .t-c { grid-column: span 6; min-height: 340px; }
  .bento .tile:last-child:nth-child(odd) { grid-column: span 12; }
  .tile-blurb { max-height: 80px; opacity: 1; margin-top: 10px; }
  .door-grid { grid-template-columns: repeat(2, 1fr); }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .sub-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .row { grid-template-columns: 40px 1fr 110px; }
  .row-blurb, .row-go { display: none; }
  .row-img { width: 110px; height: 76px; }
  .about-side { position: static; }
  .contact-page { grid-template-columns: 1fr; }
  .contact-side-in { position: static; padding: 120px var(--gut) 48px; margin: 0; max-width: none; }
  .contact-form-wrap { padding: 48px var(--gut) 110px; }
  .scale-media { aspect-ratio: 16/10; }
  .lightbox { grid-template-columns: 52px 1fr 52px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .bento { gap: 10px; }
  .t-a, .t-b, .t-c, .t-d { grid-column: span 12; min-height: 300px; }
  .g-mosaic .g-item, .g-mosaic .g-item:nth-child(n) { grid-column: span 12; min-height: 0; aspect-ratio: 4/3; }
  .door-grid, .sub-grid, .f-row { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .facts, .pillars { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding-left: 0; border-right: 0; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-bars i { width: 14px; }
  .demo-pill-label { display: none; }
  .demo-pill { right: 12px; bottom: 12px; padding-left: 14px; }
  .done-sum div { grid-template-columns: 1fr; gap: 4px; }
  .lightbox { grid-template-columns: 0 1fr 0; padding: 0 12px; }
  .lb-prev, .lb-next { position: absolute; bottom: 16px; } .lb-prev { left: calc(50% - 56px); } .lb-next { left: calc(50% + 10px); }
}
