/* Before the Brick: one page. Dashed = proposed, solid = built: the logo's idea runs through the page. */
:root {
  --navy: #1f2a44; --brick: #c4532d; --brick-dark: #a8431f; --cream: #f4efe4; --paper: #fbf8f1;
  --ink: var(--navy); --muted: rgba(31, 42, 68, .74); --rule: rgba(31, 42, 68, .18);
  --ui: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gap: clamp(20px, 3vw, 36px);
  --side: clamp(18px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 var(--ui); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(196, 83, 45, .6); outline-offset: 3px; border-radius: 4px; }

/* side padding and section spacing are set on different axes, so a section can also be a .wrap */
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--side); }
main > section { padding-block: clamp(44px, 5vw, 72px); }
[id] { scroll-margin-top: 78px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 9px; border: 1.5px solid var(--brick);
       background: var(--brick); color: #fff; font: 700 16px/1.1 var(--ui); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--brick-dark); border-color: var(--brick-dark); }
.btn.small { padding: 10px 16px; font-size: 14.5px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px dashed var(--navy); }
.btn.ghost:hover { border-style: solid; background: rgba(31, 42, 68, .06); }

/* header: its logo and button stand on the page's own left and right edges */
.top { position: sticky; top: 0; z-index: 20; padding-block: 12px;
       background: rgba(244, 239, 228, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 28px; }
.brand img { height: 34px; width: auto; }
.top nav { margin-left: auto; display: flex; gap: 26px; font: 500 15px/1 var(--ui); }
.top nav a { text-decoration: none; padding: 6px 0; border-bottom: 1.5px dashed transparent; }
.top nav a:hover { border-bottom-color: var(--navy); }

/* hero: the words, the video beside them a size larger, and three facts along the bottom like a sheet's title block */
main > .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 4vw, 52px) clamp(28px, 5vw, 64px); align-items: center;
               padding-block: clamp(34px, 4.6vw, 64px) clamp(24px, 3vw, 40px); }
.label { font: 500 12.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brick); }
h1 { font-weight: 800; font-size: clamp(40px, 5.4vw, 74px); line-height: .98; letter-spacing: -.024em; margin: 16px 0 20px; }
h1 span { display: block; color: var(--brick); }
.lede { font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 33em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proof { grid-column: 1 / -1; list-style: none; margin: 0; padding: 16px 0 0; border-top: 1.5px solid var(--navy);
         display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px var(--gap); font: 400 15.5px/1.4 var(--ui); color: var(--muted); }
.proof b { display: block; font: 700 16.5px/1.3 var(--ui); color: var(--ink); }
.proof li, .pack li, .checklist li { position: relative; padding-left: 22px; }
.proof li::before, .pack li::before, .checklist li::before { content: ''; position: absolute; left: 0; top: .5em; width: 11px; height: 4.5px; background: var(--brick); }
/* behind the video, its outline in dashes, set off up and to the right: proposed, then built, as in the logo */
.hero-media { position: relative; margin: 0; --off: clamp(9px, 1.3vw, 18px); }
.hero-media::before { content: ''; position: absolute; inset: calc(-1 * var(--off)) calc(-1 * var(--off)) var(--off) var(--off);
                      border: 1.5px dashed rgba(31, 42, 68, .42); border-radius: 18px; }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--navy); border: 1px solid var(--rule);
         box-shadow: 0 30px 60px -30px rgba(31, 42, 68, .55); }
.frame video { width: 100%; height: 100%; object-fit: cover; }

/* section heads: a sheet number, the title, and a rule running out like a dimension line */
.sechead { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.sechead::after { content: ''; flex: 1; border-top: 1px solid var(--rule); }
.sheet { flex: none; font: 500 12.5px/1 var(--mono); letter-spacing: .1em; border: 1.5px solid currentColor; border-radius: 999px; padding: 7px 11px; }
h2 { font-weight: 800; font-size: clamp(28px, 3.3vw, 44px); line-height: 1.05; letter-spacing: -.018em; }
.intro { font-size: 18px; color: var(--muted); max-width: 46em; margin-bottom: 28px; }

/* live model */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tabs button { font: 600 15px/1 var(--ui); padding: 11px 17px; border-radius: 999px; border: 1.5px dashed var(--navy); background: transparent; color: var(--ink); cursor: pointer; }
.tabs button:hover { border-style: solid; }
.tabs button[aria-selected="true"] { border-style: solid; background: var(--navy); color: var(--cream); }
.stage { position: relative; aspect-ratio: 16 / 9.4; border-radius: 16px; overflow: hidden; background: var(--navy); border: 1px solid var(--rule);
         box-shadow: 0 30px 60px -34px rgba(31, 42, 68, .6); }
.stage::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31, 42, 68, 0) 45%, rgba(31, 42, 68, .34)); }
.stage .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage .open { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; font-size: 17px; padding: 17px 28px; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .55); }
.stage .live { position: absolute; left: 16px; top: 16px; z-index: 2; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
               color: var(--cream); background: rgba(31, 42, 68, .8); padding: 7px 10px 7px 24px; border-radius: 6px; }
.stage .live::before { content: ''; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #ee7a52; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #eef1ee; }
.trynote { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; color: var(--muted); }
.trynote a { color: var(--brick-dark); font-weight: 600; }

/* grids */
.grid { display: grid; gap: var(--gap); }
.grid.six, .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.item { padding-top: 18px; border-top: 1.5px solid var(--navy); }
.item svg { width: 44px; height: 44px; fill: none; stroke: var(--navy); stroke-width: 2; }
.item svg .fill { fill: var(--brick); stroke: var(--brick); }
.item svg .dash { stroke-dasharray: 4 3; }
.item svg .accent { stroke: var(--brick); }
.item h3 { font: 700 19px/1.2 var(--ui); margin: 14px 0 6px; }
.item p, .steps p { color: var(--muted); font-size: 16px; }

/* the dark band */
main > .band { background: var(--navy); color: var(--cream); }
.band .sechead::after { border-top-color: rgba(244, 239, 228, .25); }
.band article { padding-top: 22px; border-top: 1.5px dashed rgba(244, 239, 228, .5); }
.kicker { font: 500 12.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #f0a585; }
.band h3 { font: 700 22px/1.2 var(--ui); margin: 10px 0 10px; }
.band article p:last-child { color: rgba(244, 239, 228, .84); font-size: 16.5px; }

/* steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--navy);
                    display: grid; place-items: center; font: 500 15px/1 var(--mono); }
.steps li::after { content: ''; position: absolute; top: 21px; left: 54px; right: calc(12px - var(--gap)); border-top: 1.5px dashed rgba(31, 42, 68, .4); }
.steps li:last-child::after { display: none; }
.steps h3 { font: 700 19px/1.2 var(--ui); margin-bottom: 6px; }

/* packages: proposed (dashed) until you point at one */
.packs { align-items: stretch; margin-top: 8px; }
.pack { display: flex; flex-direction: column; background: var(--paper); border: 1.5px dashed rgba(31, 42, 68, .55); border-radius: 16px; padding: 24px 24px 24px; }
.pack:hover { border-style: solid; }
.pack.lead { border: 2px solid var(--brick); background: #fffdf8; }
.offer { align-self: flex-start; font: 500 12.5px/1 var(--mono); letter-spacing: .03em; padding: 7px 10px; border-radius: 6px; margin-bottom: 18px; color: var(--brick-dark); border: 1.5px dashed var(--brick); }
.pack.lead .offer { background: var(--brick); border: 1.5px solid var(--brick); color: #fff; }
.pack h3 { font: 800 24px/1.1 var(--ui); }
.price { font: 800 46px/1 var(--ui); letter-spacing: -.02em; margin: 10px 0 8px; }
.price small { font: 500 15px/1 var(--mono); letter-spacing: 0; color: var(--muted); vertical-align: .55em; }
.what { font: 600 16.5px/1.3 var(--ui); margin-bottom: 16px; }
.pack ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.4; }
.best { margin-top: auto; padding-top: 4px; margin-bottom: 18px; font-size: 14.5px; color: var(--muted); }
/* bigger projects: a schedule, as on a drawing, beside two worked examples */
.more { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start;
        margin-top: clamp(30px, 4vw, 48px); padding-top: 22px; border-top: 1.5px solid var(--navy); }
.more h3 { font: 800 24px/1.1 var(--ui); }
.more h3 + p { margin: 8px 0 16px; font-size: 16px; color: var(--muted); max-width: 36em; }
.schedule { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.35; }
.schedule th, .schedule td { padding: 11px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.schedule thead th { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--navy); }
.schedule tbody th { font-weight: 500; padding-right: 14px; }
.schedule td, .schedule thead th + th { text-align: right; padding-left: 14px; }
.schedule td { font: 500 15px/1.35 var(--mono); white-space: nowrap; }
.schedule tbody tr:first-child td { font-weight: 600; }
.examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.examples li { background: var(--paper); border: 1.5px dashed rgba(31, 42, 68, .55); border-radius: 14px; padding: 16px 18px 15px; font-size: 15.5px; }
.examples .label + p { margin: 6px 0 10px; }
.examples .sum { font: 500 13.5px/1.5 var(--mono); padding-top: 7px; margin-top: 7px; border-top: 1px solid var(--rule); }
.examples .sum span { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.examples .sum b { font-weight: 600; color: var(--brick-dark); white-space: nowrap; }
.fine { margin-top: 22px; font-size: 14.5px; color: var(--muted); max-width: 60em; }
.fine + .fine { margin-top: 6px; }
.fine b { font-weight: 600; color: var(--ink); }

/* pictures */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(210px, 27vw, 390px); gap: 14px; }
.gallery figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy); }
.gallery .wide { grid-column: span 2; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--cream); background: rgba(31, 42, 68, .78); padding: 6px 9px; border-radius: 6px; }
.gallery video + figcaption { top: 12px; bottom: auto; }

/* questions */
.faq { max-width: 860px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font: 700 18px/1.3 var(--ui); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font: 400 26px/1 var(--mono); color: var(--brick); }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { padding: 0 40px 20px 0; color: var(--muted); max-width: 44em; }

/* send */
main > .send { background: var(--brick); color: #fff; }
.send .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.send .label { color: rgba(255, 255, 255, .86); }
.send h2 { font-size: clamp(36px, 5vw, 62px); margin: 10px 0 14px; }
.send p { font-size: 18px; max-width: 30em; }
.send .btn { margin-top: 24px; background: var(--navy); border-color: var(--navy); }
.send .btn:hover { background: #141c30; border-color: #141c30; }
.send .mail { margin-top: 12px; font: 400 14px/1.4 var(--mono); opacity: .92; }
.checklist { list-style: none; margin: 0; padding: 24px 26px; border: 1.5px dashed rgba(255, 255, 255, .75); border-radius: 14px; display: grid; gap: 11px; font: 600 16.5px/1.35 var(--ui); }
.checklist li::before { background: var(--cream); }

/* the page a wrong link lands on */
main > .notfound { min-height: 62vh; display: grid; align-content: center; justify-items: start; }

/* footer */
.foot { background: var(--navy); color: var(--cream); padding: 46px 0 56px; }
.foot img { height: 36px; width: auto; margin-bottom: 16px; }
.foot p { margin-top: 6px; }
.foot .small { font-size: 13.5px; color: rgba(244, 239, 228, .7); max-width: 58em; }

@media (max-width: 980px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  main > .hero, .send .wrap, .more { grid-template-columns: minmax(0, 1fr); }
  .grid.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .brand img { height: 28px; }
  .grid.six, .steps, .proof { grid-template-columns: minmax(0, 1fr); }
  .stage { aspect-ratio: 3 / 4.3; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 62vw; }
  .gallery .wide { grid-column: auto; }
  .sechead { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
