@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 500; font-display: swap; src: url(../fonts/barlow-condensed-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }

:root {
  --ink: #0e1114;
  --ink-2: #1a1f24;
  --blue: #3f78a8;
  --blue-d: #2c6391;
  --panel: #f3f4f3;
  --line: #d9dcdd;
  --mute: #5b6570;
  --ok: #2f7d4f;
  --warn: #c4472b;
  --paper: #fff;
  --gut: clamp(16px, 3.4vw, 56px);
  --gap: clamp(12px, 1.6vw, 24px);
  --disp: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'Barlow', Arial, sans-serif;
  --r: 3px;
  --panel-w: clamp(380px, 31vw, 480px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font: 400 17px/1.5 var(--body); color: var(--ink); background: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; padding-inline: var(--gut); }

.h-xxl { font: 700 clamp(64px, 11.2vw, 196px)/.9 var(--disp); letter-spacing: -.012em; }
.h-xl { font: 600 clamp(44px, 6.1vw, 104px)/.96 var(--disp); letter-spacing: -.008em; }
.h-lg { font: 600 clamp(34px, 3.5vw, 58px)/1 var(--disp); }
.p-lg { font-size: clamp(18px, 1.5vw, 23px); line-height: 1.42; }
.lnk { color: var(--blue-d); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.lnk:hover { color: var(--ink); }
.lnk:disabled { color: #aab0b4; text-decoration: none; cursor: default; }

/* The stage stays put behind everything. */
#stage-wrap { position: fixed; inset: 0; z-index: 0; background: var(--ink); overflow: hidden; }
#poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 60%; }
#stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .7s ease; touch-action: pan-y; }
#stage.is-ready { opacity: 1; }
#stage.is-ready.is-swap { opacity: 0; transition: opacity .16s ease; }
#flat { position: absolute; inset: 0; display: grid; place-items: center; background: var(--panel); padding: 8vh 6vw; }
#flat[hidden] { display: none; }
#flat .elev { max-width: 100%; max-height: 70vh; height: auto; }
.no-3d #stage, .no-3d .st-tools, .no-3d .st-overlay { display: none; }
.no-3d #flat { padding-right: calc(var(--panel-w) + 6vw); }
.no-3d:not(.in-studio) #flat { display: none; }

/* Header. */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; color: #fff; transition: background .25s, box-shadow .25s; }
.top-in { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); height: 76px; }
.logo img { height: 52px; width: auto; }
.top-nav { display: flex; gap: clamp(14px, 1.8vw, 30px); margin-left: auto; font-weight: 500; font-size: 16px; }
.top-nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.top-nav a:hover { border-color: currentColor; }
.top-tel { font: 600 22px/1 var(--disp); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.top-cta { font: 600 20px/1 var(--disp); text-decoration: none; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: var(--r); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.top-cta:hover { background: #dde3e7; }
.top:not(.is-solid) .top-cta { display: none; }
.top.is-solid .top-cta { opacity: 1; pointer-events: auto; }
.top.is-solid { background: var(--ink); box-shadow: 0 1px 0 #fff2; }
.in-studio .top, .in-studio #landing { display: none; }

/* Hero. */
.hero { position: relative; z-index: 1; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(10,12,15,.74) 0%, rgba(10,12,15,.58) 26%, rgba(10,12,15,.14) 46%, rgba(10,12,15,0) 60%),
  linear-gradient(180deg, rgba(10,12,15,.4) 0, rgba(10,12,15,0) 18%); }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: 120px clamp(28px, 5vh, 56px); }
.hero-copy { grid-column: 1 / span 5; }
.hero h1 { font: 700 clamp(72px, 9.1vw, 164px)/.86 var(--disp); letter-spacing: -.014em; margin-bottom: clamp(14px, 2vh, 24px); }
.hero-sub { font-size: clamp(19px, 1.55vw, 24px); line-height: 1.3; max-width: 26em; margin-bottom: clamp(26px, 5vh, 56px); }
.hero-q { font: 600 clamp(26px, 2.2vw, 36px)/1 var(--disp); margin-bottom: 10px; }
.uses { display: grid; }
.use { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; padding: clamp(11px, 1.6vh, 17px) 0; border-top: 1px solid #ffffff42; font: 500 clamp(24px, 2.1vw, 34px)/1.05 var(--disp); position: relative; transition: padding-left .22s ease, color .15s; }
.use::after { content: ''; width: 34px; height: 12px; flex: none; background: currentColor; clip-path: polygon(0 45%, 86% 45%, 72% 0, 78% 0, 100% 50%, 78% 100%, 72% 100%, 86% 55%, 0 55%); opacity: .75; transition: transform .22s ease, opacity .15s; }
.use:hover, .use:focus-visible { padding-left: 10px; }
.use:hover::after, .use:focus-visible::after { transform: translateX(-10px); opacity: 1; }
.uses .use:last-child, .last-uses .use:last-child { border-bottom: 1px solid #ffffff42; }
.use-small { font-size: clamp(19px, 1.5vw, 24px); padding-block: 10px; font-weight: 500; }
.hero-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: 16px; }
.hero-links a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Everything below the hero is opaque and scrolls over the stage. */
.sheet-of-paper { position: relative; z-index: 1; background: var(--paper); }
.compare, .last { position: relative; z-index: 1; }

/* Work. */
.work { padding-block: clamp(64px, 9vw, 150px) clamp(40px, 5vw, 90px); }
.work .h-xl { max-width: 13em; margin-bottom: clamp(28px, 4vw, 64px); }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.tile { position: relative; display: block; overflow: hidden; text-align: left; background: var(--panel); cursor: pointer; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.025); }
.tile-cap { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 44px clamp(12px, 1.3vw, 20px) clamp(10px, 1.1vw, 16px); color: #fff; font-weight: 500; background: linear-gradient(0deg, rgba(8,10,12,.72), rgba(8,10,12,0)); }
.tile-go { font-weight: 400; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tile-a7 { grid-column: span 7; height: clamp(260px, 38vw, 660px); }
.tile-a5 { grid-column: span 5; height: clamp(260px, 38vw, 660px); }
.tile-b4 { grid-column: span 4; height: clamp(220px, 27vw, 480px); }
.tile-c5 { grid-column: span 5; height: clamp(240px, 33vw, 580px); }
.tile-c7 { grid-column: span 7; height: clamp(240px, 33vw, 580px); }

/* Door rail. */
.rail { padding-block: clamp(40px, 5vw, 90px) clamp(64px, 9vw, 150px); }
.rail-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.rail-photo { grid-column: 1 / span 7; position: sticky; top: 92px; height: min(76vh, 780px); background: var(--panel); overflow: hidden; }
.rail-photo img { width: 100%; height: 100%; object-fit: cover; }
.rail-fig { position: absolute; left: 0; bottom: 0; width: clamp(120px, 12vw, 180px); padding: 10px 12px 6px; background: #fff; color: var(--ink); }
.rail-list { grid-column: 8 / span 5; padding-left: clamp(0px, 2vw, 32px); }
.rail-list .h-lg { margin-bottom: clamp(20px, 2.4vw, 36px); }
.rail-row { border-top: 1px solid var(--line); }
.rail-row:last-child { border-bottom: 1px solid var(--line); }
.rail-b { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; padding: 14px 0; text-align: left; }
.rail-name { font: 600 clamp(26px, 2.2vw, 36px)/1 var(--disp); }
.rail-src { color: var(--mute); font-size: 15px; text-align: right; }
.rail-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.rail-more > * { overflow: hidden; min-height: 0; }
.rail-more p { font-size: 17px; }
.rail-more .lnk { justify-self: start; }
.rail-row.is-on .rail-more { grid-template-rows: auto auto; padding-bottom: 16px; row-gap: 6px; }
.rail-row:not(.is-on) .rail-more > * { height: 0; }

/* Compare. */
.compare { background: var(--ink); color: #fff; padding-block: clamp(64px, 8vw, 130px); }
.cmp-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.cmp-copy { grid-column: 1 / span 4; }
.cmp-title { margin-bottom: 14px; }
.cmp-lede { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.36; margin-bottom: clamp(20px, 2.4vw, 34px); }
.cmp-figs { grid-column: 5 / span 8; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.cmp-fig figcaption { font: 600 clamp(26px, 2.3vw, 38px)/1 var(--disp); margin-bottom: 10px; }
.cmp-draw { background: #161b20; aspect-ratio: 1; overflow: hidden; }
.cmp-draw svg { display: block; width: 100%; height: 100%; }
.cmp-note { margin-top: 12px; min-height: 5.8em; color: #d4d9dd; font-size: 16.5px; line-height: 1.42; }
.c-ground { fill: #2a3036; }
.c-wall { fill: #2f3841; }
.c-open { fill: #0e1114; }
.c-snow { fill: #eef3f7; transition: opacity .3s; }
.c-truck { fill: #76838e; }
.c-door { stroke: #fff; stroke-width: .42; stroke-linejoin: round; stroke-linecap: round; }
.c-sweep { fill: none; stroke: #ffffff59; stroke-width: .09; stroke-dasharray: .4 .4; }
.c-pin { fill: var(--blue); }
.c-hit { fill: var(--warn); opacity: 0; }
.c-dim { stroke: #9fc4e2; stroke-width: .12; fill: none; }
.c-dimt { fill: #cfe2f2; font: 600 1.25px var(--disp); }
.cmp-ctrl { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid #ffffff2b; }
.cmp-range { display: grid; gap: 4px; font-weight: 500; }
.cmp-range output { font: 600 22px/1 var(--disp); margin-left: 6px; }
.cmp-toggles { display: grid; gap: 8px; }
.cmp-t { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.cmp-t input { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; }
.compare input[type=range] { width: 100%; accent-color: #fff; height: 28px; margin: 0; }
.cmp-more { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: clamp(32px, 4vw, 64px); padding-top: 18px; border-top: 1px solid #ffffff2b; align-items: end; }
.cmp-more p { grid-column: span 4; color: #d4d9dd; }
.cmp-more .btn-light { grid-column: span 4; justify-self: end; }
.btn-light { background: #fff; color: var(--ink); padding: 15px 22px; font: 600 22px/1 var(--disp); border-radius: var(--r); }
.btn-light:hover { background: #dde3e7; }

/* Service. */
.service { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-right: var(--gut); padding-block: clamp(64px, 9vw, 150px) 0; }
.service-photo { grid-column: 1 / span 6; position: relative; min-height: 60vh; }
.service-photo img { position: sticky; top: 76px; width: 100%; height: calc(100vh - 76px); object-fit: cover; }
.service-copy { grid-column: 7 / span 6; padding-left: clamp(0px, 3vw, 56px); padding-bottom: 8px; }
.service-copy .h-xl { margin-bottom: clamp(20px, 2.4vw, 40px); }
.service-copy .p-lg + .p-lg { margin-top: 14px; }
.quote-big { margin-top: clamp(36px, 5vw, 80px); padding-top: 18px; border-top: 3px solid var(--ink); }
.quote-big p { font: 500 clamp(28px, 2.7vw, 46px)/1.08 var(--disp); }
cite { display: block; margin-top: 10px; font-style: normal; color: var(--mute); }
.quote-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(24px, 3vw, 44px); }
.quote-pair blockquote { padding-top: 12px; border-top: 1px solid var(--line); }
.quote-pair p { font-size: 18px; line-height: 1.35; }

/* Map. */
.where { padding-block: clamp(64px, 9vw, 150px); }
.where-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.where-copy { grid-column: 1 / span 4; }
.where-copy .p-lg { margin: 16px 0 20px; }
.where-copy address { margin-bottom: 14px; }
.tel-big { font: 600 clamp(32px, 3vw, 50px)/1 var(--disp); text-decoration: none; }
.where-map { grid-column: 5 / span 8; aspect-ratio: 800 / 620; background: var(--panel); }
.where-map svg { width: 100%; height: 100%; display: block; }
.map-land { fill: #f3f4f3; }
.map-water { fill: #c3d3e0; }
.map-reach { stroke: var(--blue-d); stroke-width: 2.4; stroke-dasharray: 2 7; stroke-linecap: round; fill: none; }
.map-dot { fill: var(--ink); }
.map-home { fill: var(--blue-d); stroke: #fff; stroke-width: 3; }
.map-town { font: 500 19px var(--body); fill: #3b444c; }
.map-big { font: 700 34px var(--disp); fill: var(--ink); }

/* Last call. */
.last { background: var(--ink); color: #fff; }
.last-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding-block: clamp(64px, 9vw, 150px); }
.last .h-xxl { grid-column: 1 / -1; margin-bottom: clamp(28px, 4vw, 64px); }
.last-uses { grid-column: 1 / span 6; }
.last-trade { grid-column: 8 / span 5; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.4; align-self: end; }
.last-trade strong { display: block; font: 600 clamp(28px, 2.6vw, 42px)/1.05 var(--disp); margin-bottom: 8px; }
.foot { border-top: 1px solid #ffffff2b; padding-block: 28px; font-size: 16px; color: #cfd5da; }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.foot-logo { grid-column: span 3; height: 56px; width: auto; }
.foot p { grid-column: span 3; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Phones and small tablets. */
@media (max-width: 899px) {
  body { font-size: 16px; }
  .top-nav { display: none; }
  .top-in { height: 64px; justify-content: space-between; }
  .logo img { height: 42px; }
  .top-tel { font-size: 20px; margin-left: auto; }
  .top-cta { display: none; }
  .hero { min-height: 100svh; }
  .hero::before { background: linear-gradient(0deg, rgba(10,12,15,.96) 0%, rgba(10,12,15,.9) 46%, rgba(10,12,15,.22) 62%, rgba(10,12,15,0) 78%), linear-gradient(180deg, rgba(10,12,15,.5) 0, rgba(10,12,15,0) 14%); }
  .hero-grid { padding-block: 40vh 20px; }
  .hero-copy { grid-column: 1 / -1; }
  .hero h1 { font-size: clamp(64px, 19vw, 120px); }
  .hero h1 { margin-bottom: 22px; }
  .hero-sub { margin-bottom: 20px; }
  .use { padding-block: 12px; }
  .tile-a7, .tile-a5, .tile-b4, .tile-c5, .tile-c7 { grid-column: 1 / -1; height: 62vw; }
  .tile-go { display: inline; }
  .rail-photo { grid-column: 1 / -1; position: sticky; top: 64px; height: 56vw; z-index: 2; }
  .rail-list { grid-column: 1 / -1; padding: 22px 0 0; }
  .cmp-copy, .cmp-figs { grid-column: 1 / -1; }
  .cmp-figs { order: -1; margin-bottom: 18px; gap: 10px; }
  .cmp-copy { display: contents; }
  .cmp-title, .cmp-lede { grid-column: 1 / -1; order: -2; }
  .cmp-ctrl { grid-column: 1 / -1; }
  .cmp-note { min-height: 10.5em; font-size: 14.5px; line-height: 1.36; }
  .c-dimt { font-size: 2.1px; }
  .rail-fig { width: 92px; padding: 6px 7px 3px; }
  .cmp-more p, .cmp-more .btn-light { grid-column: 1 / -1; margin-bottom: 14px; justify-self: start; }
  .service { padding-right: 0; display: block; }
  .service-photo { min-height: 0; }
  .service-photo img { position: static; height: 72vw; }
  .service-copy { padding: 28px var(--gut) 0; }
  .quote-pair { grid-template-columns: 1fr; }
  .where-copy, .where-map { grid-column: 1 / -1; }
  .where-map { margin-top: 24px; }
  .last-uses, .last-trade { grid-column: 1 / -1; }
  .last-trade { margin-top: 32px; }
  .foot-logo, .foot p { grid-column: 1 / -1; margin-bottom: 14px; }
  #poster { object-position: 62% 0; height: 62%; }
  .no-3d #flat { padding: 12px 16px 60px; }
}

/* Spec sheet prints alone. */
.sheet { display: none; }
/* Phone held sideways: copy left, door right, all of it on one screen. */
@media (max-height: 500px) and (orientation: landscape) {
  .top-in { height: 52px; }
  .logo img { height: 34px; }
  .hero::before { background: linear-gradient(90deg, rgba(10,12,15,.8) 0%, rgba(10,12,15,.62) 34%, rgba(10,12,15,.14) 52%, rgba(10,12,15,0) 62%); }
  .hero-grid { padding-block: 54px 10px; }
  .hero-copy { grid-column: 1 / span 5; }
  .hero h1 { font-size: 50px; line-height: .95; margin-bottom: 6px; white-space: nowrap; }
  .hero-sub { font-size: 15px; margin-bottom: 8px; }
  .hero-q { font-size: 20px; margin-bottom: 5px; }
  .use { font-size: 20px; padding-block: 6px; }
  .use-small { font-size: 17px; padding-block: 5px; }
  .hero-links { margin-top: 8px; font-size: 14px; }
}

@media print {
  @page { size: letter; margin: 14mm; }
  body { background: #fff; color: #000; overflow: visible; }
  body > *:not(.sheet) { display: none !important; }
  .sheet { display: block !important; font: 400 11pt/1.35 var(--body); }
  .sh-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10mm; }
  .sh-top img { height: 18mm; width: auto; }
  .sh-top p { text-align: right; font-size: 9.5pt; }
  .sheet h1 { font: 700 30pt/1 var(--disp); margin-bottom: 5mm; }
  .sheet h2 { font: 600 18pt/1 var(--disp); margin: 7mm 0 3mm; }
  .sh-render { width: 100%; height: auto; margin-bottom: 6mm; }
  .sh-two { display: grid; grid-template-columns: 52mm 1fr; gap: 8mm; align-items: start; }
  .sh-elev svg { width: 100%; height: auto; }
  .sh-elev p { font-size: 8.5pt; margin-top: 2mm; }
  .sheet table { border-collapse: collapse; width: 100%; }
  .sheet th, .sheet td { text-align: left; padding: 1.3mm 0; border-bottom: .2mm solid #ccc; vertical-align: top; font-size: 10pt; }
  .sheet th { width: 34mm; font-weight: 600; padding-right: 4mm; }
  .sh-other { break-inside: avoid; }
  .sh-note { margin-top: 6mm; font-size: 9pt; color: #333; }
}
