/* dozens.studio — Blue Ridge Deco. The palette and ornament rules live in site/CLAUDE.md. */

:root {
  --ground: #0F1A17;
  --card: #152420;
  --card-border: #2A3B36;
  --brass: #C19A45;
  --brass-hover: #D9B35C;
  --brass-on-cream: #7A6128;
  --brass-soft: rgba(193, 154, 69, .5);
  --brass-faint: rgba(193, 154, 69, .45);
  --text: #EEE8DA;
  --lead: #D6D1C0;
  --body: #B3B0A0;
  --cream: #F1EBDD;
  --cream-text: #1A1F1C;
  --cream-lead: #2A2E2A;
  --cream-body: #474B45;
  --slate: #1B2E3A;
  --bark: #3A2418;
  --gilt: linear-gradient(115deg, rgba(255, 246, 220, .22), rgba(255, 246, 220, 0) 42%, rgba(0, 0, 0, .14));
  --wash: linear-gradient(180deg, rgba(238, 232, 218, .06), rgba(238, 232, 218, 0) 520px);

  --display: 'Josefin Sans', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *:before, *:after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--serif);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; transition: color .6s var(--ease); }
a:hover { color: var(--brass); }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

.dz-page { width: 100%; min-height: 100vh; background: var(--ground); position: relative; overflow: hidden; overflow: clip; }  /* clip, not a scroll container, so scroll-driven animations follow the page */
.dz-wrap { max-width: 1160px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.dz-section { padding-top: 112px; padding-bottom: 112px; }

/* Type */
.dz-display { font-family: var(--display); font-weight: 400; letter-spacing: .22em; text-transform: uppercase; line-height: 1.1; }
.dz-h1 { font-size: 68px; margin: 0; font-weight: 600; letter-spacing: .24em; }
.dz-h2 { font-size: 36px; margin: 0; font-weight: 300; letter-spacing: .26em; }
.dz-h3 { font-size: 15px; margin: 0; font-weight: 600; letter-spacing: .24em; }
.dz-label { font-family: var(--display); font-size: 11px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); }
.dz-lead { font-size: 22px; line-height: 1.6; color: var(--lead); margin: 0; }
.dz-body { font-size: 18px; line-height: 1.65; color: var(--body); margin: 0; }

/* Ornament */
.dz-gold { height: 1px; background: var(--brass); }
.dz-rule { --rule: var(--brass); --rule-glint: #E6CB86; --rule-shade: #8C6D2E; --rule-fade: rgba(193, 154, 69, .2); display: flex; align-items: center; gap: 14px; justify-content: center; }
.dz-rule .l { flex: 1; max-width: 160px; height: 1px; background: var(--rule); }
.dz-rule .l:first-child { background: linear-gradient(90deg, var(--rule-fade), var(--rule) 60%, var(--rule-glint)); transform-origin: right; }
.dz-rule .l:last-child { background: linear-gradient(270deg, var(--rule-fade), var(--rule) 60%, var(--rule-glint)); transform-origin: left; }
.dz-rule .d { width: 7px; height: 7px; background: linear-gradient(135deg, var(--rule-glint), var(--rule) 50%, var(--rule-shade)); transform: rotate(45deg); }
.dz-rule-start { justify-content: flex-start; }
.dz-rule-start .l { max-width: 80px; }
.dz-frame {
  position: relative;
  padding: 5px;
  margin: 0 auto;
  background-color: var(--ground);
  background-image: linear-gradient(var(--brass), var(--brass)), linear-gradient(var(--brass), var(--brass)), linear-gradient(var(--brass), var(--brass)), linear-gradient(var(--brass), var(--brass));
  background-repeat: no-repeat;
  background-position: left top, right top, right bottom, left bottom;
  background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
}
.dz-frame:before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--brass-faint); pointer-events: none; }
.dz-corners { position: absolute; inset: 13px; pointer-events: none; }
.dz-corners span { position: absolute; width: 16px; height: 16px; border-top: 1px solid var(--brass); border-left: 1px solid var(--brass); }
.dz-corners span:before { content: ""; position: absolute; top: 3px; left: 3px; width: 8px; height: 8px; border-top: 1px solid var(--brass); border-left: 1px solid var(--brass); }
.dz-corners span:after { content: ""; position: absolute; top: 7px; left: 7px; width: 3px; height: 3px; background: var(--brass); }
.dz-corners span:nth-child(1) { top: 0; left: 0; }
.dz-corners span:nth-child(2) { top: 0; right: 0; transform: scaleX(-1); }
.dz-corners span:nth-child(3) { bottom: 0; right: 0; transform: scale(-1); }
.dz-corners span:nth-child(4) { bottom: 0; left: 0; transform: scaleY(-1); }
.dz-chevron {
  height: 12px;
  background:
    repeating-linear-gradient(135deg, var(--brass) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(45deg, var(--brass) 0 1px, transparent 1px 10px);
  opacity: .55;
}
.dz-cornice { display: flex; flex-direction: column; align-items: center; }
.dz-cornice .rule { height: 1px; background: var(--brass); }
.dz-cornice .tick { height: 10px; border-left: 1px solid var(--brass); border-right: 1px solid var(--brass); }
.dz-cornice .w100 { width: 100%; }
.dz-cornice .w70 { width: 70%; }
.dz-cornice .w44 { width: 44%; }

/* Scroll reveal. Only hidden once site.js has marked the page, so it renders fully without JS. */
.js .dz-reveal { opacity: 0; transform: translateY(36px); }
.dz-reveal { transition: opacity 1.2s var(--ease) var(--delay, 0s), transform 1.2s var(--ease) var(--delay, 0s); }
.js .dz-reveal.in { opacity: 1; transform: none; }
.dz-delay-1 { --delay: .1s; }
.dz-delay-2 { --delay: .2s; }
.js .dz-reveal .dz-rule .l { transform: scaleX(0); transition: transform 1.1s var(--ease) calc(var(--delay, 0s) + .45s); }
.js .dz-reveal .dz-rule .d { transform: rotate(-45deg) scale(0); transition: transform .9s var(--ease) calc(var(--delay, 0s) + .35s); }
.js .dz-reveal.in .dz-rule .l { transform: none; }
.js .dz-reveal.in .dz-rule .d { transform: rotate(45deg); }

/* Frames trace themselves clockwise from the top left, then the inner line and stepped corners appear */
.js .dz-frame.dz-reveal { background-size: 0 1px, 1px 0, 0 1px, 1px 0; }
.js .dz-frame.dz-reveal.in { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%; animation: dz-trace 1.8s linear .2s both; }
.js .dz-frame.dz-reveal:before, .js .dz-frame.dz-reveal .dz-corners { opacity: 0; transition: opacity 1s var(--ease) 1.7s; }
.js .dz-frame.dz-reveal.in:before, .js .dz-frame.dz-reveal.in .dz-corners { opacity: 1; }
@keyframes dz-trace {
  0% { background-size: 0 1px, 1px 0, 0 1px, 1px 0; }
  25% { background-size: 100% 1px, 1px 0, 0 1px, 1px 0; }
  50% { background-size: 100% 1px, 1px 100%, 0 1px, 1px 0; }
  75% { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 0; }
  100% { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%; }
}

/* Ruled lists cascade: each rule draws left to right, then its row settles in, one after another */
.dz-step:nth-child(2) { --row: .15s; }
.dz-step:nth-child(3) { --row: .3s; }
.dz-step:nth-child(4) { --row: .45s; }
.js .dz-steps.dz-reveal { opacity: 1; transform: none; }
.js .dz-steps.dz-reveal .dz-step:before, .js .dz-steps.dz-reveal .dz-step:last-child:after { transform: scaleX(0); transition: transform 1s var(--ease) calc(var(--row, 0s) + .1s); }
.js .dz-steps.dz-reveal .dz-step:last-child:after { transition-delay: .7s; }
.js .dz-steps.dz-reveal .dz-step > * { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease) calc(var(--row, 0s) + .35s), transform .9s var(--ease) calc(var(--row, 0s) + .35s); }
.js .dz-steps.dz-reveal.in .dz-step:before, .js .dz-steps.dz-reveal.in .dz-step:last-child:after { transform: none; }
.js .dz-steps.dz-reveal.in .dz-step > * { opacity: 1; transform: none; }

/* Buttons */
.dz-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  min-height: 58px;
  padding: 0 40px;
  border: 1px solid var(--brass);
  background-color: transparent;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  transition: color .6s var(--ease), background-color .6s var(--ease);
}
.dz-btn:after {
  content: "";
  position: absolute;
  left: -60%;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(238, 232, 218, .35), transparent);
  transform: skewX(-20deg);
  transition: left .9s var(--ease);
}
.dz-btn:hover { background-color: var(--brass); background-image: var(--gilt); color: var(--ground); }
.dz-btn:hover:after { left: 130%; }
.dz-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.dz-btn-gold { background-color: var(--brass); background-image: var(--gilt); color: var(--ground); }
.dz-btn-gold:hover { background-color: var(--brass-hover); color: var(--ground); }
.dz-actions { display: flex; flex-wrap: wrap; justify-content: center; }

/* Cards */
.dz-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: opacity 1.2s var(--ease) var(--delay, 0s), transform 1.2s var(--ease) var(--delay, 0s), border-color .6s var(--ease);
}
.dz-card:before { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--brass); transition: width .9s var(--ease); }
.dz-card:hover:before { width: 100%; }
.dz-card:hover { border-color: var(--brass); }

/* Layout */
.dz-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dz-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.dz-stack { display: flex; flex-direction: column; gap: 24px; }
.dz-section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; margin-bottom: 56px; }

/* Section numerals: huge outlined Roman numerals behind each section head */
.dz-section-head, .dz-letter-inner { position: relative; isolation: isolate; }
.dz-numeral { position: absolute; z-index: -1; left: 50%; top: -72px; transform: translateX(-50%); font-family: var(--serif); font-weight: 500; font-size: 240px; line-height: 1; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px var(--brass); opacity: .22; pointer-events: none; user-select: none; white-space: nowrap; }
.dz-letter .dz-numeral { top: 8px; }
/* Numerals drift: they lag a little behind the page as it scrolls, never dropping below where they rest */
@supports (animation-timeline: view()) {
  .dz-numeral { animation: dz-drift linear both; animation-timeline: view(); }
}
@keyframes dz-drift { from { translate: 0 -48px; } }
.dz-cream .dz-numeral { position: static; z-index: auto; transform: none; animation: none; margin-top: 8px; font-size: 300px; line-height: .8; -webkit-text-stroke-color: var(--brass-on-cream); opacity: .3; }

/* Nav */
.dz-header { padding-top: 28px; padding-bottom: 28px; }
.dz-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.dz-brand { font-size: 20px; letter-spacing: .4em; display: inline-flex; align-items: center; gap: 16px; min-height: 44px; }
.dz-mark { display: block; flex: none; }
.dz-navlinks { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.dz-navlinks a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-family: var(--display); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
.dz-navlinks .dz-btn-sm { padding: 0 22px; font-size: 10px; }
.dz-navlinks a:not(.dz-btn) { position: relative; }
.dz-navlinks a:not(.dz-btn):before, .dz-navlinks a:not(.dz-btn):after { content: ""; position: absolute; background: var(--brass); transition: transform .6s var(--ease); }
.dz-navlinks a:not(.dz-btn):before { left: 16px; right: 16px; bottom: 10px; height: 1px; transform: scaleX(0); }
.dz-navlinks a:not(.dz-btn):after { left: 50%; bottom: 8px; width: 5px; height: 5px; margin-left: -2.5px; transform: rotate(-45deg) scale(0); }
.dz-navlinks a:not(.dz-btn):hover:before, .dz-navlinks a:not(.dz-btn):focus-visible:before { transform: none; }
.dz-navlinks a:not(.dz-btn):hover:after, .dz-navlinks a:not(.dz-btn):focus-visible:after { transform: rotate(45deg); }

/* Mobile menu (900px and below, with JavaScript): a panel slides in from the left and the toggle turns into a close button */
.dz-menu-toggle, .dz-menu-close { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; transition: color .6s var(--ease); }
.dz-menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.dz-menu-toggle span { display: block; height: 1.5px; background: currentColor; }
.dz-menu-toggle span:nth-child(1) { width: 24px; }
.dz-menu-toggle span:nth-child(2) { width: 16px; }
.dz-menu-toggle span:nth-child(3) { width: 8px; }
.dz-menu-toggle:hover, .dz-menu-close:hover { color: var(--brass); }
.dz-menu-toggle:focus-visible, .dz-menu-close:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
html:has(.dz-menu[open]) { overflow: hidden; }
html:has(.dz-menu[open]) .dz-menu-toggle { visibility: hidden; }

.dz-menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: rgba(15, 26, 23, .72); color: var(--text); opacity: 1; transition: opacity .45s var(--ease), overlay .5s allow-discrete, display .5s allow-discrete; }
.dz-menu::backdrop { background: transparent; }
.dz-menu:not([open]) { opacity: 0; }
.dz-menu-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(calc(100% - 76px), 420px);
  display: flex;
  flex-direction: column;
  padding: 0 20px 32px;
  overflow-y: auto;
  background: linear-gradient(var(--brass-faint), var(--brass-faint)) right 6px top / 1px 100% no-repeat, var(--ground);
  border-right: 1px solid var(--brass);
  transition: transform .5s var(--ease);
}
.dz-menu:not([open]) .dz-menu-panel { transform: translateX(-100%); }
.dz-menu-panel .dz-chevron { flex: none; margin: 0 -20px 28px; }
.dz-menu-panel .dz-brand { align-self: flex-start; }
.dz-menu-links { list-style: none; margin: 40px 0 0; padding: 0; }
.dz-menu-links li { border-top: 1px solid var(--brass-soft); transition: opacity .5s var(--ease) var(--i, 0s), transform .5s var(--ease) var(--i, 0s); }
.dz-menu-links li:last-child { border-bottom: 1px solid var(--brass-soft); }
.dz-menu-links li:nth-child(1) { --i: .12s; }
.dz-menu-links li:nth-child(2) { --i: .18s; }
.dz-menu-links li:nth-child(3) { --i: .24s; }
.dz-menu-links li:nth-child(4) { --i: .3s; }
.dz-menu-links a { display: flex; align-items: baseline; gap: 16px; padding: 20px 0; font-family: var(--display); font-size: 14px; letter-spacing: .28em; text-transform: uppercase; }
.dz-menu-num { flex: none; width: 34px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: .8; letter-spacing: .06em; color: var(--brass); }
.dz-menu-panel .dz-btn { flex: none; margin-top: 40px; }
.dz-menu-foot { margin: auto 0 0; padding-top: 32px; color: var(--body); text-wrap: balance; }
.dz-menu-close { position: absolute; top: 40px; right: 20px; z-index: 1; }
.dz-menu-close span { position: absolute; left: 10px; top: 21px; width: 24px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease) .1s; }
.dz-menu-close span:nth-child(1) { transform: rotate(45deg); }
.dz-menu-close span:nth-child(2) { transform: rotate(-45deg); }
/* Opening: the scrim fades in, the panel slides from the left, the links follow, and the toggle's top and bottom lines turn into the X */
@starting-style {
  .dz-menu[open] { opacity: 0; }
  .dz-menu[open] .dz-menu-panel { transform: translateX(-100%); }
  .dz-menu[open] .dz-menu-links li { opacity: 0; transform: translateX(-16px); }
  .dz-menu[open] .dz-menu-close span:nth-child(1) { transform: translateY(-7.5px); }
  .dz-menu[open] .dz-menu-close span:nth-child(2) { transform: translateY(7.5px); }
}

/* Hero */
.dz-hero { padding-top: 112px; padding-bottom: 96px; position: relative; }
.dz-hero-ornament { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: 900px; height: 380px; pointer-events: none; opacity: .55; }
.dz-hero-ornament svg { width: 100%; height: 100%; display: block; }
.dz-hero-inner { position: relative; container-type: inline-size; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.dz-hero .dz-h1 { max-width: 920px; text-shadow: 0 0 4px var(--ground), 0 0 10px var(--ground); }  /* a halo in the ground color lifts it off the linework */
.dz-hero .dz-lead { max-width: 660px; margin-top: 28px; }  /* starts below the ornament's base so no rules run through it */
.dz-hero .dz-actions { gap: 20px; padding-top: 8px; }
.dz-wnc-short { display: none; }

/* Sunrise on load: the sky warms, the sun rises from behind the peak, the rays draw outward, the dividers open */
.dz-hero:before { content: ""; position: absolute; left: 50%; top: 420px; width: 1100px; height: 640px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(193, 154, 69, .16), rgba(193, 154, 69, .06) 50%, rgba(193, 154, 69, 0)); pointer-events: none; animation: dz-fade-in 2.6s var(--ease) both; }
.dz-hero-ornament .dz-sun { animation: dz-rise 2.2s var(--ease) .1s both; }
.dz-hero-ornament .dz-rays path { stroke-dasharray: 1; animation: dz-draw 1.5s var(--ease) .6s both; }
.dz-hero-ornament .dz-rays path:nth-child(n+2) { animation-delay: .7s; }
.dz-hero-ornament .dz-rays path:nth-child(n+4) { animation-delay: .8s; }
.dz-hero-ornament .dz-rays path:nth-child(n+6) { animation-delay: .9s; }
.dz-hero-ornament .dz-rays path:nth-child(n+8) { animation-delay: 1s; }
.dz-hero-ornament .dz-rays path:nth-child(n+10) { animation-delay: 1.1s; }
.dz-hero .dz-rule .l { animation: dz-grow 1.2s var(--ease) .9s both; }
.dz-hero .dz-rule .d { animation: dz-turn 1s var(--ease) .8s both; }
.dz-hero .dz-h1 + .dz-rule .l { animation-delay: 1.1s; }
.dz-hero .dz-h1 + .dz-rule .d { animation-delay: 1s; }
.dz-hero .dz-btn-gold:after { animation: dz-glint 1.4s var(--ease) 2.6s backwards; }
@keyframes dz-fade-in { from { opacity: 0; } }
@keyframes dz-glint { from { left: -60%; } to { left: 130%; } }
@keyframes dz-rise { from { transform: translateY(120px); } }
@keyframes dz-draw { from { stroke-dashoffset: 1; } }
@keyframes dz-grow { from { transform: scaleX(0); } }
@keyframes dz-turn { from { transform: rotate(-45deg) scale(0); } }

/* I · The idea */
.dz-cream { background-color: var(--cream); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .17 0 0 0 .3 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); color: var(--cream-text); }
.dz-cream .dz-body { color: var(--cream-body); }
.dz-cream .dz-lead { color: var(--cream-lead); }
.dz-cream .dz-label { color: var(--brass-on-cream); }
.dz-cream .dz-rule { --rule: var(--brass-on-cream); --rule-glint: #A88B45; --rule-shade: #5C4819; --rule-fade: rgba(122, 97, 40, .2); }
.dz-cream a { color: var(--cream-text); }
.dz-cream a:focus-visible { outline-color: var(--cream-text); }

/* Links in running text: a 1px brass underline, like the rules */
.dz-body a { text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: var(--brass); text-underline-offset: .2em; }
.dz-cream .dz-body a { text-decoration-color: var(--brass-on-cream); }
.dz-cream .dz-body a:hover { color: var(--brass-on-cream); }

/* II · What we build, IV · Partners: ruled rows */
.dz-steps { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; }
.dz-step { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 33px 0 32px; align-items: baseline; }
.dz-step:before, .dz-step:last-child:after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--brass-soft); transform-origin: left; }
.dz-step:before { top: 0; }
.dz-step:last-child { padding-bottom: 33px; }
.dz-step:last-child:after { bottom: 0; }
.dz-traits { margin-top: 56px; }
.dz-traits .dz-step-label { grid-column: span 3; font-size: 13px; color: var(--brass); letter-spacing: .2em; }
.dz-traits .dz-body { grid-column: 4 / span 9; }
.dz-partners .dz-section-head { margin-bottom: 40px; }
.dz-step-numeral { grid-column: span 2; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: .8; color: var(--brass); letter-spacing: .08em; }
.dz-partners .dz-h3 { grid-column: span 4; }
.dz-partners .dz-body { grid-column: span 6; }

/* III · The School */
.dz-school { background-color: var(--slate); background-image: var(--wash); border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass); }
.dz-school .dz-section-head { margin-bottom: 48px; }
.dz-school .dz-lead { max-width: 640px; margin-top: 8px; }  /* clears the III behind the head */
.dz-school-card { max-width: 860px; }
.dz-school-grid { padding: 44px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.dz-school-how { grid-column: span 7; display: flex; flex-direction: column; gap: 18px; }
.dz-school-title { font-size: 24px; margin: 0; font-weight: 300; letter-spacing: .2em; line-height: 1.2; }
.dz-facts { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--brass-soft); padding-left: 32px; margin: 0; }
.dz-facts > div { display: flex; align-items: baseline; gap: 10px; }
.dz-facts dt { display: flex; flex: 1; align-items: baseline; gap: 10px; white-space: nowrap; }
.dz-facts dt:after { content: ""; flex: 1; min-width: 16px; border-bottom: 1px dotted var(--brass-soft); }
.dz-facts dd { margin: 0; font-size: 17px; text-align: right; text-wrap: balance; }
.dz-school .dz-actions { grid-column: 1 / -1; gap: 16px; padding-top: 16px; border-top: 1px solid var(--brass-soft); }

/* V · Write to us */
.dz-contact { position: relative; background-color: var(--bark); background-image: var(--wash); border-top: 1px solid var(--brass); }
.dz-sunset { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: 360px; height: 100px; pointer-events: none; }
.dz-sunset svg { width: 100%; height: 100%; display: block; opacity: .55; }
.js .dz-sunset.dz-reveal { transform: none; }
.dz-sunset .dz-sun { transition: transform 2.6s var(--ease) .3s; }
.js .dz-sunset:not(.in) .dz-sun { transform: translateY(-30px); }
.dz-contact .dz-section { padding-bottom: 128px; }
.dz-letter { max-width: 680px; }
.dz-letter-inner { padding: 56px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.dz-letter .dz-lead { max-width: 460px; margin-top: 16px; }  /* clears the V behind the head */
.dz-email { font-size: 20px; letter-spacing: .18em; color: var(--brass); text-transform: none; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }
.dz-signoff { font-size: 15px; }

/* Footer */
.dz-footer { border-top: 1px solid var(--brass); background: var(--ground); }
.dz-footer-inner { padding-top: 17px; padding-bottom: 17px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.dz-footer-brand { font-size: 14px; letter-spacing: .4em; display: inline-flex; align-items: center; gap: 12px; }
.dz-footer-links { display: flex; gap: 0 24px; flex-wrap: wrap; }
.dz-footer .dz-label { color: var(--body); }
.dz-footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.dz-footer-links a:hover { color: var(--brass); }

@media (max-width: 900px) {
  .dz-grid3, .dz-grid2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .dz-h1 { font-size: 34px; letter-spacing: .14em; }
  /* The label reads "A startup studio" / "Asheville & WNC"; screen readers still hear "Western North Carolina" */
  .dz-hero .dz-label { line-height: 1.6; }
  .dz-hero .dz-label-sep { display: block; height: 0; overflow: hidden; }
  .dz-hero .dz-wnc-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dz-hero .dz-wnc-short { display: inline; }
  .dz-h2 { font-size: 24px; letter-spacing: .18em; }
  .dz-hero .dz-lead { margin-top: 83px; }
  .dz-wrap { padding-left: 20px; padding-right: 20px; }
  .dz-step { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 10px; }
  .dz-steps .dz-step > * { grid-column: 1 / -1; }
  .dz-school-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); padding: 32px 24px; }
  .dz-school-grid > * { grid-column: 1 / -1; }
  .dz-facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--brass-soft); padding-top: 32px; }
  .dz-school .dz-btn { padding: 0 24px; }
  .dz-numeral { top: -48px; font-size: 160px; }
  .dz-cream .dz-numeral { display: none; }
  .dz-sunset { width: 300px; height: 83px; }
  .has-menu .dz-navlinks { display: none; }
  .has-menu .dz-menu-toggle { display: inline-flex; }
}

/* Everything in its final place: for reduced motion, and so print shows every section */
@media print, (prefers-reduced-motion: reduce) {
  .js .dz-reveal { opacity: 1; transform: none; }
  .js .dz-reveal .dz-rule .l { transform: none; }
  .js .dz-reveal .dz-rule .d { transform: rotate(45deg); }
  .js .dz-sunset:not(.in) .dz-sun { transform: none; }
  .js .dz-frame.dz-reveal, .js .dz-frame.dz-reveal.in { background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%; animation: none; }
  .js .dz-frame.dz-reveal:before, .js .dz-frame.dz-reveal .dz-corners { opacity: 1; }
  .js .dz-steps.dz-reveal .dz-step:before, .js .dz-steps.dz-reveal .dz-step:last-child:after { transform: none; }
  .js .dz-steps.dz-reveal .dz-step > * { opacity: 1; transform: none; }
  .dz-numeral { animation: none; }
}

/* Mobile headline sized to its line: "THE DOZENS" fills ~97% of the width. The lead's margin shrinks
   by the headline's extra height, so it stays 16–27px below the ornament as the headline grows. */
@supports (width: 1cqi) {
  @media (max-width: 900px) {
    .dz-hero-inner { --h1: clamp(30px, 100cqi / 8.4, 60px); }
    .dz-hero .dz-h1 { font-size: var(--h1); }
    .dz-hero .dz-lead { margin-top: max(16px, 83px - 2.2 * (var(--h1) - 34px)); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .dz-reveal, .dz-card { transition: border-color .6s var(--ease); }
  .dz-btn:after { display: none; }
  .dz-card:before { transition: none; }
  .dz-hero:before, .dz-hero-ornament .dz-sun, .dz-hero-ornament .dz-rays path, .dz-hero .dz-rule .l, .dz-hero .dz-rule .d { animation: none; }
  .js .dz-reveal .dz-rule .l, .js .dz-reveal .dz-rule .d, .dz-sunset .dz-sun, .dz-navlinks a:not(.dz-btn):before, .dz-navlinks a:not(.dz-btn):after { transition: none; }
  .js .dz-frame.dz-reveal:before, .js .dz-frame.dz-reveal .dz-corners, .js .dz-steps.dz-reveal .dz-step:before, .js .dz-steps.dz-reveal .dz-step:last-child:after, .js .dz-steps.dz-reveal .dz-step > * { transition: none; }
  .dz-menu, .dz-menu-panel, .dz-menu-links li, .dz-menu-close span { transition: none; }
}
