@font-face { font-family: "Mona Sans"; src: url("../fonts/facade/mona-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("../fonts/facade/mona-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fragment Mono"; src: url("../fonts/facade/fragment-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* FACADE (theme key "facade", round 35): an architect's drawing. From the 2026 signals: asymmetric arch die-cuts, layered
   angular cut-outs from architectural drawing, wave-edge cuts, clean sans with mono labels. Intro: a doorway drawn on a
   plaster wall with its measurements; tap and it opens towards you until you walk through. Cover: a drawing sheet with
   title-block labels, your photo in an asymmetric arch cut-out over a layered plane, dimension lines carrying the date
   and the place. Sections: every other one on a wave-cut colour band; numbered headings (core/dress.php); venues on a
   numbered route. Palette: --tone the bands and the wall, --plane the layered plane. Plaster (original), Stucco Sage,
   Night Drawing. Type: Mona Sans 600/400 (names, headings, text), Fragment Mono (labels, dimensions). */
:root {
  --bg: #f1ece4; --paper: #f8f5f0; --tone: #e6ddd0; --ink: #2b2724; --muted: #6e665e; --line: rgba(43, 39, 36, .22);
  --accent: #b5603d; --accent-ink: #f8f5f0; --plane: #e3c3ae;
  --display: "Mona Sans", "Helvetica Neue", Arial, sans-serif; --text: "Mona Sans", system-ui, sans-serif; --mono: "Fragment Mono", ui-monospace, monospace; --script: var(--display);
  --radius: 4px; --maxw: 540px; --arch: 100% 0 0 0 / 52% 0 0 0;
}
body { font-family: var(--text); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--bg); }
.fc-tb { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 0 0 8px; border-bottom: 1px solid var(--line); font: 400 .62rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fc-tb i { font-style: normal; margin: 0 .2em; }

/* the doorway drawing */
.fc-door { display: block; overflow: visible; }
.fc-door .fc-fill { fill: var(--bg); }
.fc-door .fc-draw { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: fc-draw 1.8s cubic-bezier(.5, 0, .2, 1) .2s forwards; }
.fc-door .fc-draw.is-in { stroke-width: .8; opacity: .55; animation-delay: .7s; }
.fc-door .fc-dim { fill: none; stroke: var(--accent); stroke-width: .8; opacity: 0; animation: fc-fade .8s ease 1.4s forwards; }
.fc-door text { font: 400 9px var(--mono); fill: var(--accent); opacity: 0; animation: fc-fade .8s ease 1.6s forwards; }
@keyframes fc-draw { to { stroke-dashoffset: 0; } }
@keyframes fc-fade { to { opacity: 1; } }

/* ---------- intro: walk through the door ---------- */
.fc-intro { --intro-ms: 1900; background: var(--tone); overflow: hidden; transition: opacity .5s ease 1.3s, visibility 0s linear 1.9s; }
.fc-start { position: relative; display: grid; justify-items: center; align-content: center; gap: 22px; width: 100%; height: 100%; padding: 24px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.fc-start .fc-tb { position: absolute; top: 22px; left: var(--gutter); right: var(--gutter); }
.fc-intro .fc-door { width: min(62vw, 250px); height: auto; transform-origin: 50% 62%; transition: transform 1.3s cubic-bezier(.7, 0, .2, 1); }
.fc-for { font: 600 1.15rem/1.3 var(--display); } .fc-for b { font-weight: 600; }
.fc-tap { font: 400 .66rem var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); animation: fc-pulse 2.8s ease-in-out infinite; }
@keyframes fc-pulse { 50% { opacity: .35; } }
.is-opening .fc-intro .fc-door { transform: scale(14); }
.is-opening .fc-door .fc-draw, .is-opening .fc-door .fc-dim, .is-opening .fc-door text { opacity: 0; transition: opacity .3s; }
.is-opening .fc-tap, .is-opening .fc-for, .is-opening .fc-start .fc-tb { opacity: 0; animation: none; transition: opacity .25s; }
@media (prefers-reduced-motion: reduce) { .fc-door .fc-draw, .fc-door .fc-dim, .fc-door text { animation: none; stroke-dashoffset: 0; opacity: 1; } .fc-tap { animation: none; } }

/* ---------- cover: the drawing sheet ---------- */
.t-facade .fc-hero { justify-items: normal; align-items: normal; display: block; min-height: 100svh; padding: 22px var(--gutter) 64px; text-align: left; }
.t-facade .fc-hero > * { max-width: 520px; margin-left: auto; margin-right: auto; }
.t-facade .fc-hero > .fc-tb { padding-right: 46px; }
.fc-hero .hero-guest { margin-top: 22px; font: 600 1.1rem/1.3 var(--display); } .fc-hero .hero-guest b { font-weight: 600; }
.fc-hero .hero-k, .t-facade .sh-k { margin-top: 30px; font: 400 .66rem/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.t-facade .hero-t { margin-top: 10px; font: 600 clamp(2.7rem, 14vw, 4.4rem)/.94 var(--display); letter-spacing: -.035em; color: var(--ink); }
.t-facade .hero-t span { display: block; }
.t-facade .hero-t i { display: block; margin: 4px 0; font: 400 .9rem/1.4 var(--mono); font-style: normal; letter-spacing: 0; color: var(--accent); }

.fc-frame { position: relative; width: calc(100% - 44px); margin-top: 34px; margin-bottom: 46px; }
.fc-plane { position: absolute; inset: -16px -22px 22px 22px; background: var(--plane); clip-path: polygon(0 18%, 30% 0, 100% 0, 100% 100%, 0 100%); }
.fc-ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); background: var(--tone); box-shadow: 0 0 0 1px var(--line); }
.fc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc-ph .hero-media-tag { bottom: 10px; font-size: .5rem; }
.fc-dm { position: absolute; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.fc-dm b { padding: 0 6px; background: var(--bg); font: 400 .64rem/1.2 var(--mono); letter-spacing: .06em; white-space: nowrap; color: var(--ink); }
.fc-dm.is-v { top: 0; bottom: 0; right: -32px; width: 1px; background: var(--accent); }
.fc-dm.is-v b { transform: rotate(90deg); }
.fc-dm.is-h { left: 0; right: 0; bottom: -24px; height: 1px; background: var(--accent); }
.fc-dm::before, .fc-dm::after { content: ""; position: absolute; background: var(--accent); }
.fc-dm.is-v::before, .fc-dm.is-v::after { left: -6px; width: 13px; height: 1px; } .fc-dm.is-v::before { top: 0; } .fc-dm.is-v::after { bottom: 0; }
.fc-dm.is-h::before, .fc-dm.is-h::after { top: -6px; width: 1px; height: 13px; } .fc-dm.is-h::before { left: 0; } .fc-dm.is-h::after { right: 0; }
.fc-when { margin-top: 24px; font: 400 .74rem/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.fc-hero .hero-line { margin-top: 18px; max-width: 22em; color: var(--muted); }
.t-facade .hero-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; margin-top: 22px; padding: 12px 22px; border: 0; border-radius: 0;
  background: var(--accent); color: var(--accent-ink); font: 600 .9rem var(--display); letter-spacing: .02em; text-decoration: none; }
.t-facade .hero-cta::after { content: "→"; font-family: var(--mono); transition: transform .3s; }
.t-facade .hero-cta:hover::after { transform: translateX(4px); }

/* ---------- sections: wave-cut bands, numbered ---------- */
.t-facade .s:not(.s-hero) { position: relative; padding-top: 80px; padding-bottom: 80px; }
.t-facade .s:nth-of-type(even):not(.s-hero):not(.s-closing) { background: var(--tone); }
.t-facade .s:nth-of-type(even):not(.s-hero):not(.s-closing)::before, .t-facade .s:nth-of-type(even):not(.s-hero):not(.s-closing)::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px; background: var(--tone); pointer-events: none;
  -webkit-mask: radial-gradient(ellipse 50% 100% at 50% 100%, #000 98%, #0000 100%) 0 0 / 64px 18px repeat-x; mask: radial-gradient(ellipse 50% 100% at 50% 100%, #000 98%, #0000 100%) 0 0 / 64px 18px repeat-x; }
.t-facade .s:nth-of-type(even):not(.s-hero):not(.s-closing)::before { top: -17px; }
.t-facade .s:nth-of-type(even):not(.s-hero):not(.s-closing)::after { bottom: -17px; transform: scaleY(-1); }
.t-facade .sh { text-align: left; margin-bottom: 32px; }
.t-facade .sh-n { display: inline-block; margin-bottom: 8px; font: 400 .7rem var(--mono); letter-spacing: .1em; color: var(--accent); }
.t-facade .sh-n::before { content: "No. "; }
.t-facade .sh-k { margin-top: 0; }
.t-facade .sh-t { font: 600 clamp(2.1rem, 10vw, 3rem)/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.t-facade .sh::after { content: ""; display: block; width: 100%; margin-top: 16px; border-top: 1px solid var(--line); }
.t-facade .cd-u b { font: 600 clamp(2.3rem, 11vw, 3rem)/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.t-facade .cd-u span { font: 400 .58rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.t-facade .vn-c, .t-facade .dr-roles > div, .t-facade .rs, .t-facade .rs-done, .t-facade .gl-c, .t-facade .gl-it {
  border: 1px solid var(--line); border-radius: 26px 0 0 0; background: var(--paper); box-shadow: none; }
.t-facade .vn-l, .t-facade .dr-roles dt, .t-facade .bio-r, .t-facade .tml-d { font: 400 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.t-facade .vn-n, .t-facade .pp-h, .t-facade .tml-t { font: 600 1.3rem/1.15 var(--display); letter-spacing: -.02em; color: var(--ink); }
.t-facade .tl-time { color: var(--accent); font: 400 .78rem var(--mono); }
.t-facade .tl-title { font: 600 1.05rem var(--display); }
.t-facade .f-in, .t-facade .ch span { border-radius: 0; background: var(--bg); border-color: var(--line); }
.t-facade .rs-btn, .t-facade .gl-btn { border-radius: 0; background: var(--accent); color: var(--accent-ink); font: 600 .95rem var(--display); }
.t-facade .btn-line { min-height: 46px; border-radius: 0; border-color: var(--ink); color: var(--ink); font: 400 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.t-facade .btn-line:hover { background: var(--ink); color: var(--bg); }
.t-facade .faq summary { font: 600 1.05rem var(--display); }
.t-facade .gal-i img, .t-facade .gal-ph { border-radius: 0; }
.t-facade .gal-i:first-child img { border-radius: var(--arch); }
.t-facade .tml::before { background: var(--accent); width: 1px; }
.t-facade .tml-dot { background: var(--bg); border: 1px solid var(--accent); border-radius: 0; }

/* ---------- closing ---------- */
.t-facade .fc-end { padding: 80px var(--gutter) 110px; text-align: center; }
.t-facade .fc-end > * { margin-left: auto; margin-right: auto; }
.fc-door.is-end { width: 120px; height: auto; margin-bottom: 26px; }
.fc-door.is-end .fc-fill { fill: var(--tone); }
.t-facade .fc-end .cl-line { font: 400 1.2rem/1.55 var(--display); max-width: 19em; text-wrap: balance; }
.t-facade .fc-end .cl-sign { margin-top: 10px; font: 600 2rem/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.t-facade .fc-end .cl-tag { font: 400 .66rem var(--mono); letter-spacing: .12em; color: var(--accent); }
.t-facade body.is-demo .fc-end { padding-bottom: 140px; }
