/* supernupur.com · drafting-sheet style
   Ink on paper. Color only where it means something:
   indigo = Super Nupur, blue = links and buttons. */

:root {
  --paper: #FAFAF7;
  --ink: #141416;
  --ink-rgb: 20, 20, 22;
  --label2: rgba(60, 60, 67, .62);
  --label3: rgba(60, 60, 67, .42);
  --rule: rgba(20, 20, 22, .16);
  --rule-strong: rgba(20, 20, 22, .72);
  --grid-minor: rgba(20, 20, 22, .035);
  --grid-major: rgba(20, 20, 22, .07);
  --blue-rgb: 0, 136, 255;
  --indigo-rgb: 97, 85, 245;
  --blue: rgb(var(--blue-rgb));
  --indigo: rgb(var(--indigo-rgb));
  --card: rgba(250, 250, 247, .86);
  --display: "Architects Daughter", "Bradley Hand", cursive;
  --text: system-ui, -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E0E10;
    --ink: #EDEDEA;
    --ink-rgb: 237, 237, 234;
    --label2: rgba(235, 235, 245, .62);
    --label3: rgba(235, 235, 245, .4);
    --rule: rgba(237, 237, 234, .16);
    --rule-strong: rgba(237, 237, 234, .7);
    --grid-minor: rgba(237, 237, 234, .03);
    --grid-major: rgba(237, 237, 234, .06);
    --blue-rgb: 0, 145, 255;
    --indigo-rgb: 109, 124, 255;
    --card: rgba(22, 22, 25, .86);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  /* graph paper: 8 px minor, 40 px major */
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  font: 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* the sheet border, like a drafting sheet */
body::before {
  content: ""; position: fixed; inset: 12px; pointer-events: none; z-index: 50;
  border: 1px solid var(--rule-strong);
  outline: 1px solid var(--rule); outline-offset: 4px;
}
@media (max-width: 640px) { body::before { display: none; } }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* type ------------------------------------------------------------------- */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.005em; }
h1.display { font-size: clamp(46px, 7.4vw, 92px); line-height: 1.02; margin: 18px 0 26px; }
.h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; margin: 14px 0 18px; max-width: 18ch; }
.h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; margin: 6px 0 12px; }
.eyebrow, .label, .legend, .progress-label, .nav a, .brand {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 14px;
}
.eyebrow { color: var(--label2); display: flex; align-items: center; gap: 12px; }
.label { color: var(--label2); }
.tag {
  display: inline-block; padding: 2px 8px 1px; border: 1px solid var(--rule-strong); border-radius: 2px;
  color: var(--ink); letter-spacing: .1em; font-size: 13px;
}
.lede { font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 36em; }
.lede.quiet { color: var(--label2); font-size: 17px; margin-top: 14px; }
.sheet-head .lede { color: var(--label2); }

/* links and buttons: the only blue on the page -------------------------- */
.link { color: var(--blue); text-decoration: none; font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.as-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  color: var(--blue); font-weight: 600; text-decoration: none;
  background: rgba(var(--blue-rgb), .1); border: 1px solid rgba(var(--blue-rgb), .55);
  transition: background .2s;
}
.btn:hover { background: rgba(var(--blue-rgb), .16); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* top bar ----------------------------------------------------------------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 36px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: url(img/app-icon.png) center/cover; box-shadow: 0 0 0 .5px var(--rule-strong); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--label2); font-size: 13px; padding: 10px 0; }
.nav a:hover { color: var(--blue); }
@media (max-width: 640px) { .nav { display: none; } .topbar { padding-top: 20px; } }

/* sheets ------------------------------------------------------------------ */
.sheet { padding-top: clamp(72px, 10vw, 128px); }
.sheet + .sheet { border-top: 0; }
.sheet-head { position: relative; padding-top: 28px; border-top: 1px solid var(--rule-strong); margin-bottom: 40px; }
.sheet-head::before { /* a second hairline, like a drawing border */
  content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid var(--rule);
}

/* hero -------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(32px, 6vw, 72px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero-stage { position: relative; margin: 0; padding-bottom: 8px; }
.house { width: 100%; height: auto; overflow: visible; }
.house .draw, .house .north, .house .dim { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.house .heavy { stroke-width: 2; }
.house .fine { stroke-width: .75; }
.house .construct line { stroke: var(--rule); stroke-width: .75; stroke-dasharray: 2 5; }
.house .ground-fill { opacity: .9; }
.house .hatch-line { stroke: rgba(var(--ink-rgb), .35); stroke-width: .75; }
.house .dim { stroke-width: .75; stroke: var(--label2); }
.house .dim .ext { stroke: var(--label3); }
.house .tick { stroke: var(--ink); stroke-width: 1.2; }
.house text { font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; fill: var(--label2); stroke: none; }
.house .plate { font-size: 14px; fill: var(--ink); letter-spacing: .04em; }
.house .north path { fill: rgba(var(--ink-rgb), .9); stroke: none; }
.house .north circle { stroke: var(--label2); stroke-width: .75; }
.house .leader circle { fill: var(--label2); }
/* the drawing draws itself */
.house .draw > *, .house .dim > line, .house .dim > path { stroke-dasharray: var(--len, 1200); stroke-dashoffset: 0; }
.js .house:not(.drawn) .draw > *, .js .house:not(.drawn) .dim > line, .js .house:not(.drawn) .dim > path { stroke-dashoffset: var(--len, 1200); }
.house .draw > *, .house .dim > line, .house .dim > path { transition: stroke-dashoffset 1.6s cubic-bezier(.6, 0, .2, 1); }
.house text, .house .ground-fill, .house .north path { transition: opacity .8s .9s; }
.js .house:not(.drawn) text, .js .house:not(.drawn) .ground-fill, .js .house:not(.drawn) .north path { opacity: 0; }

/* title block */
.titleblock { font-size: 13px; border: 1px solid var(--rule-strong); background: var(--card); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.titleblock .tb-name { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; padding: 10px 14px; border-bottom: 1px solid var(--rule-strong); }
.titleblock dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.titleblock dl > div { padding: 8px 14px 9px; border-top: 1px solid var(--rule); }
.titleblock dl > div:nth-child(odd) { border-right: 1px solid var(--rule); }
.titleblock dl > div:nth-child(-n+2) { border-top: 0; }
.titleblock dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--label2); }
.titleblock dd { margin: 0; font-variant-numeric: tabular-nums; }
.hero .titleblock { width: min(320px, 100%); margin: 12px 0 0 auto; }

/* Super Nupur ------------------------------------------------------------- */
.sn { position: absolute; left: 0; top: 0; width: clamp(120px, 16vw, 200px); cursor: pointer; z-index: 5; transform-origin: 50% 50%; will-change: transform; -webkit-tap-highlight-color: transparent; }
.sn:focus-visible { outline-offset: 6px; }
.sn-svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 6px 8px rgba(20, 20, 40, .18)); }
.sn-svg g { transform-box: view-box; }
.sn-face-front { opacity: 0; transition: opacity .25s ease; }
.sn-face-side { transition: opacity .25s ease; }
.sn.front .sn-face-front { opacity: 1; }
.sn.front .sn-face-side { opacity: 0; }
.sn-cape { transform-origin: 34px 22px; animation: cape .9s ease-in-out infinite alternate; }
.sn-strand { transform-origin: 38px 12.5px; animation: strand .9s ease-in-out infinite alternate; }
.sn-sparkles { animation: twinkle 1.3s ease-in-out infinite alternate; }
.sn-bob { animation: bob 2.2s ease-in-out infinite alternate; }
.sn-arm { transform-origin: 41px 28.4px; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.sn.waving .sn-arm { animation: wave .42s ease-in-out infinite alternate; }
.sn.blink .sn-eyes { transform-origin: 48.6px 16.9px; transform: scaleY(.12); }
.sn-eyes { transition: transform .08s; }
@keyframes cape { from { transform: scaleX(.94) rotate(-4deg); } to { transform: scaleX(1) rotate(3deg); } }
@keyframes strand { from { transform: rotate(3deg); } to { transform: rotate(-4deg); } }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
@keyframes bob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
@keyframes wave { from { transform: rotate(-58deg); } to { transform: rotate(-96deg); } }

.bubble {
  position: absolute; left: 34%; bottom: calc(100% + 6px); width: max-content; max-width: min(240px, 70vw);
  font-family: var(--display); font-size: 17px; line-height: 1.3; color: var(--ink);
  padding: 12px 16px; background: var(--card); border: 1px solid rgba(var(--indigo-rgb), .55);
  border-radius: 16px 16px 16px 4px; box-shadow: 0 8px 24px rgba(20, 20, 40, .08);
  opacity: 0; transform: translateY(6px) scale(.96); transform-origin: 0 100%;
  transition: opacity .25s, transform .3s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none;
}
.bubble.show { opacity: 1; transform: none; }

.flyby { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.flyby .sn { cursor: default; }
.flyby .sn-svg { filter: drop-shadow(0 10px 14px rgba(20, 20, 40, .2)); }

@media (prefers-reduced-motion: reduce) {
  .sn-cape, .sn-strand, .sn-sparkles, .sn-bob, .sn.waving .sn-arm { animation: none; }
}

/* the 30 days -------------------------------------------------------------- */
.progress { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.progress-line { position: relative; flex: 1; height: 1px; background: var(--rule-strong); }
.progress-line::before, .progress-line::after { content: ""; position: absolute; top: -6px; height: 13px; border-left: 1px solid var(--rule-strong); }
.progress-line::before { left: 0; } .progress-line::after { right: 0; }
.progress-fill { position: absolute; left: 0; top: -2px; height: 5px; width: 0; background: rgba(var(--indigo-rgb), .2); border: 1px solid rgba(var(--indigo-rgb), .7); border-radius: 3px; transition: width 1.2s cubic-bezier(.3, 0, .2, 1); }
.progress-label { color: var(--ink); white-space: nowrap; }

.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.day { position: relative; aspect-ratio: 1; border: 1px dashed rgba(var(--ink-rgb), .3); border-radius: 4px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.day .dn { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--label2); position: relative; z-index: 1; }
.day.open::after { /* drafting convention for an opening still to be filled */
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background:
    linear-gradient(to top right, transparent calc(50% - .5px), rgba(var(--ink-rgb), .09) 50%, transparent calc(50% + .5px)),
    linear-gradient(to bottom right, transparent calc(50% - .5px), rgba(var(--ink-rgb), .09) 50%, transparent calc(50% + .5px));
}
.day.next { border-color: rgba(var(--ink-rgb), .55); }
.day.next .dn { color: var(--ink); }
.day .soon { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--label3); position: relative; z-index: 1; }
.day.built { border: 1px solid var(--rule-strong); background: var(--card); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.day.built:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 20, 40, .1); }
.day.built img { height: auto; aspect-ratio: 1; width: 44%; max-width: 72px; border-radius: 22%; box-shadow: 0 0 0 .5px var(--rule-strong); }
.day .name, .day .meta { display: block; }
.day .name { font-family: var(--display); font-size: 19px; line-height: 1.15; margin-top: 8px; }
.day .meta { font-size: 13px; color: var(--label2); font-variant-numeric: tabular-nums; margin-top: 2px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 20px; color: var(--label2); font-size: 13px; }
.key { width: 16px; height: 16px; border-radius: 3px; display: inline-block; }
.key-built { border: 1px solid var(--rule-strong); }
.key-open { border: 1px dashed rgba(var(--ink-rgb), .35); }
.legend > span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; margin-right: 18px; }

@media (max-width: 900px) { .days { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .days { gap: 6px; }
  .day { aspect-ratio: 1; padding: 6px; justify-content: center; align-items: center; text-align: center; }
  .day .dn { font-size: 13px; letter-spacing: .06em; }
  .day .dn .word, .day .soon, .day .name, .day .meta { display: none; }
  .day.built { padding: 6px; gap: 4px; }
  .day.built img { width: 62%; }
  .day.open::after { inset: 4px; }
}

/* day 01 ------------------------------------------------------------------ */
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.screen { margin: 0; }
.screen img { width: 100%; height: auto; border-radius: 9% / 4.2%; box-shadow: 0 0 0 1px var(--rule-strong), 0 20px 40px -18px rgba(20, 20, 40, .35); background: #000; }
.screen figcaption { margin-top: 16px; font-size: 15px; color: var(--label2); line-height: 1.4; }
.screen figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--ink); margin-bottom: 2px; }
.screen .num { display: block; font-family: var(--display); font-size: 13px; letter-spacing: .14em; color: var(--label3); margin-bottom: 4px; }
@media (max-width: 900px) {
  .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 12px; scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screen { flex: 0 0 min(62vw, 260px); scroll-snap-align: start; }
  .screens::after { content: ""; flex: 0 0 1px; }
}

.specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 72px); margin-top: 64px; align-items: start; }
.schedule { margin: 0; border-top: 1px solid var(--rule-strong); }
.schedule > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.schedule dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--label2); }
.schedule dd { margin: 0; text-align: right; font-size: 15px; }
.num-lg { font-size: 22px !important; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.timeline-wrap .label { margin-bottom: 8px; }
.timeline svg { width: 100%; height: auto; overflow: visible; display: block; }
.timeline text { font-family: var(--text); font-size: 13px; fill: var(--label2); font-variant-numeric: tabular-nums; }
.timeline .t-name { font-family: var(--display); font-size: 15px; fill: var(--ink); }
.timeline .axis { stroke: var(--rule-strong); stroke-width: 1; }
.timeline .tick { stroke: var(--rule-strong); stroke-width: 1; }
.timeline .minor { stroke: var(--rule); stroke-width: 1; }
.timeline .lead { stroke: var(--label3); stroke-width: .75; }
.timeline .dot { fill: var(--paper); stroke: var(--ink); stroke-width: 1.25; }
.timeline .dot.end { fill: rgba(var(--indigo-rgb), .2); stroke: rgb(var(--indigo-rgb)); }
.timeline .band { fill: rgba(var(--ink-rgb), .06); stroke: rgba(var(--ink-rgb), .45); stroke-width: 1; }
.timeline .band.wait { fill: url(#tl-hatch); stroke-dasharray: 3 3; }
.timeline .hatch { stroke: rgba(var(--ink-rgb), .25); stroke-width: .75; }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr; } }

/* live -------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.stat { padding: 20px 20px 22px 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--rule); }
.stat .v { font-size: clamp(34px, 4.4vw, 48px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: .45em; font-weight: 500; color: var(--label2); margin-left: 4px; letter-spacing: 0; }
.stat .k { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--label2); margin-top: 6px; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
.charts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: 48px; }
.chart { margin: 0; min-width: 0; }
.chart .label { margin-bottom: 16px; }
.cats { display: grid; gap: 14px; }
.cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.cat .n { font-size: 15px; }
.cat .h { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cat .h small { font-weight: 400; color: var(--label2); }
.cat .bar { grid-column: 1 / -1; height: 10px; border-radius: 2px; background: rgba(var(--ink-rgb), .07); border: 1px solid rgba(var(--ink-rgb), .5); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s cubic-bezier(.3, 0, .2, 1); }
.cat .bar-track { grid-column: 1 / -1; }
.in .cat .bar { transform: scaleX(1); }
.perday svg { width: 100%; height: auto; display: block; overflow: visible; }
.perday text { font-family: var(--text); font-size: 12px; fill: var(--label2); font-variant-numeric: tabular-nums; }
.perday .grid { stroke: var(--rule); stroke-width: 1; }
.perday .base { stroke: var(--rule-strong); stroke-width: 1; }
.perday .col { fill: rgba(var(--ink-rgb), .07); stroke: rgba(var(--ink-rgb), .5); stroke-width: 1; }
.perday .col.today { fill: rgba(var(--indigo-rgb), .16); stroke: rgb(var(--indigo-rgb)); }
.perday .col:hover { fill: rgba(var(--ink-rgb), .16); }
.footnote { margin-top: 32px; font-size: 13px; color: var(--label2); max-width: 60em; }
@media (max-width: 900px) { .charts { grid-template-columns: 1fr; } }

/* about ------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.person { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.person p:not(.label) { color: var(--label2); margin-bottom: 18px; max-width: 34em; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* footer ------------------------------------------------------------------ */
.footer { padding-top: clamp(80px, 10vw, 128px); padding-bottom: 48px; }
.titleblock.wide { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; }
.titleblock.wide .tb-name { border-bottom: 0; border-right: 1px solid var(--rule-strong); display: flex; align-items: center; }
.titleblock.wide dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.titleblock.wide dl > div { border-top: 0; border-right: 1px solid var(--rule); }
.titleblock.wide dl > div:last-child { border-right: 0; }

/* phone ------------------------------------------------------------------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage { margin-top: 8px; }
  .hero .titleblock { position: static; width: 100%; margin-top: 16px; }
  .titleblock.wide { grid-template-columns: 1fr; }
  .titleblock.wide .tb-name { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .titleblock.wide dl { grid-template-columns: 1fr 1fr; }
  .titleblock.wide dl > div:nth-child(2) { border-right: 0; }
  .titleblock.wide dl > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .lede { font-size: 18px; }
}
.timeline .band.solid { fill: var(--paper); }
.timeline .band.wait.solid { fill: var(--paper); }
@media (max-width: 640px) {
  .house text { font-size: 19px; letter-spacing: .1em; }
  .house .plate { font-size: 18px; }
}
@media (prefers-color-scheme: dark) {
  .sn-svg { filter: drop-shadow(0 0 12px rgba(109, 124, 255, .35)) drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
}

/* ---- A-001 blueprint plan (replaces the house elevation) ---- */
.plan .construct line { stroke: var(--rule); stroke-width: .75; stroke-dasharray: 10 3 2 3; }
.plan .bubble-g circle { fill: var(--paper); stroke: var(--label2); stroke-width: .75; }
.plan .bubble-g text { font-family: var(--display); font-size: 12px; fill: var(--label2); letter-spacing: 0; text-transform: none; }
.plan .draw { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.plan .poche { fill: url(#hatch); stroke: var(--ink); stroke-width: 1.25; }
.plan .wall { stroke-width: 3; stroke-linecap: butt; }
.plan .fine { stroke-width: .75; }
.plan .swing { stroke-width: .6; stroke-dasharray: 2 2; }
.plan .dashed { stroke-dasharray: 3 3; }
.plan .board { stroke-width: 2.5; }
.plan .today { fill: rgba(var(--ink-rgb), .14); }
.plan .built-slot { fill: rgba(var(--indigo-rgb), .25); stroke: rgb(var(--indigo-rgb)); stroke-width: .75; }
.plan .hatch-line { stroke: rgba(var(--ink-rgb), .45); stroke-width: .75; }
.plan .room-name { font-family: var(--display); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); }
.plan .room-sub { font-family: var(--display); font-size: 11.5px; letter-spacing: .08em; fill: var(--label2); text-transform: none; }
.plan .room { cursor: pointer; outline: none; }
.plan .room-fill { fill: transparent; stroke: transparent; stroke-width: 1; transition: fill .35s, stroke .35s; }
.plan .room:hover .room-fill { fill: rgba(var(--ink-rgb), .04); }
.plan .room.active .room-fill { fill: rgba(var(--indigo-rgb), .1); stroke: rgba(var(--indigo-rgb), .55); }
.plan .room:focus-visible .room-fill { stroke: var(--blue); stroke-width: 2; }
.plan .labels, .plan .bubble-g, .plan .built-slot { transition: opacity .8s 1s; }
.js .plan:not(.drawn) .labels, .js .plan:not(.drawn) .bubble-g, .js .plan:not(.drawn) .built-slot, .js .plan:not(.drawn) .poche { opacity: 0; }
.plan .poche { transition: opacity .8s .6s, stroke-dashoffset 1.6s cubic-bezier(.6, 0, .2, 1); }
.plan .dim text { font-family: var(--display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; fill: var(--label2); }
@media (max-width: 640px) {
  .plan .room-name { font-size: 17px; letter-spacing: .08em; }
  .plan .room-sub { display: none; }
  .plan .dim text { font-size: 16px; letter-spacing: .06em; }
  .plan .bubble-g text { font-size: 16px; }
  .plan .bubble-g circle { r: 13px; }
}

/* hats */
.sn-hat { opacity: 0; transform-origin: 48.6px 8px; transform: translateY(-6px) scale(.5); transition: opacity .2s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.sn[data-hat="coach"] [data-hat="coach"], .sn[data-hat="designer"] [data-hat="designer"],
.sn[data-hat="builder"] [data-hat="builder"], .sn[data-hat="storyteller"] [data-hat="storyteller"],
.sn[data-hat="planner"] [data-hat="planner"], .sn[data-hat="teacher"] [data-hat="teacher"] { opacity: 1; transform: none; }
/* the headband stays under every hat; the beret, hard hat, cap and mortarboard cover it */

/* bubble anchors so it never leaves the drawing */
.bubble.mid { left: 50%; translate: -50% 0; border-radius: 16px; }
.bubble.end { left: auto; right: 34%; border-radius: 16px 16px 4px 16px; transform-origin: 100% 100%; }
.sn { z-index: 6; }

.plan .room-name.short { display: none; }
@media (max-width: 640px) {
  .plan .room-name.long { display: none; }
  .plan .room-name.short { display: inline; }
}

/* general note: her rule, set like a note on a drawing sheet */
.note { position: relative; margin: 0 0 28px; padding: 14px 0 14px 20px; border-left: 2px solid var(--ink); max-width: 30em; }
.note::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; border-left: 1px solid var(--rule); }
.note-tag { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--label2); }
.note-text { font-family: var(--display); font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; margin-top: 6px; }
.note-sub { font-size: 17px; color: var(--label2); margin-top: 4px; }
