/* Trezza / editorial refinement. Original animation keyframes and timings remain in trezza.css. */
html body {
  --paper: #faf8f4;
  --paper-2: #f0ebe3;
  --stone: #e4d9c9;
  --line: #dcd2c4;
  --ink: #211b17;
  --ink-2: #423b34;
  --muted: #70665b;
  --gold: #ae8448;
  --gold-hi: #e7c99a;
  --noir: #211c18;
  --noir-2: #302821;
}
/* Reserve the original logo band before hydration; no incorrect logo position on opening. */
body[data-page]:not(.tz-ready)::before { content: ''; display:block; height:120px; }
body[data-home]:not(.tz-ready)::before { height: calc(176px + min(880px, 93.6vw) * .276423); }
@media(max-width:1180px){ body[data-page]:not(.tz-ready)::before{height:96px} body[data-home]:not(.tz-ready)::before{height:calc(120px + min(560px, 93.6vw) * .276423)} }
body .section { padding-block: clamp(72px, 8vw, 132px); }
body .section--tight { padding-block: clamp(48px, 5.6vw, 88px); }
body .section-head { margin-bottom: clamp(30px, 4vw, 64px); }
body .section-head .display { letter-spacing: -.035em; }
body .hhero { background: linear-gradient(125deg,#f4eee4,#faf8f4 70%); min-height: min(710px, 75svh); margin: clamp(12px,2vw,30px) var(--pad) 0; border-radius: 24px; overflow: hidden; }
body .hhero__copy { padding:clamp(32px,5vw,84px); }
body .hhero__copy .display { font-size:clamp(48px,5.2vw,91px); line-height:.98; letter-spacing:-.045em; }
body .hhero__media { border-radius: 0 24px 24px 0; }
body .phero { margin:clamp(12px,2vw,30px) var(--pad) 0; border-radius:24px; overflow:hidden; background:var(--paper-2); min-height:min(690px,76svh); }
body .phero__copy { padding:clamp(32px,5vw,80px); }
body .phero__copy .display { letter-spacing:-.035em; }
body .chero { margin:clamp(12px,2vw,30px) var(--pad) 0; border-radius:24px; }
body .frame, body .tile__img, body .twin__img, body .wcard__img, body .ctile__img, body .mega__frame { border-radius: 10px; }
body .wcard__body { padding:0 4px 12px; }
body .ctile__cap { padding:0 4px; }
body .btn { border-radius: 999px; letter-spacing:.12em; min-height:50px; padding-inline:clamp(20px,2.2vw,34px); }
body .btn-row { gap:12px; }
body .link { letter-spacing:.13em; }
body .ctaband { margin:0 var(--pad) clamp(20px,3vw,48px); border-radius:24px; overflow:hidden; }
body .hdr__bg { background:var(--paper); box-shadow:none; }
/* Keep the bar geometry identical for the scroll-scrubbed wordmark. Only the surface floats. */
body .hdr.is-compact .hdr__bg { background:transparent; pointer-events:none; }
body .hdr.is-compact .navbar::before { content:''; position:absolute; inset: 5px clamp(8px,1.7vw,26px); background:rgba(250,248,244,.96); border:1px solid rgba(174,132,72,.18); border-radius:18px; box-shadow:0 10px 35px rgba(40,30,20,.10); pointer-events:none; backdrop-filter:blur(18px); }
body .hdr.is-compact .nav { position:relative; }
body .hdr.is-compact .mega { left:clamp(8px,1.7vw,26px); right:clamp(8px,1.7vw,26px); border:1px solid var(--line); border-radius:18px; overflow:hidden; }
body .tx-subnav { background:rgba(250,248,244,.96); }
body .ftr { background:var(--noir); }
body .ftr__giant { opacity:.13; }
@media (max-width:900px) {
 body .hhero,body .phero,body .chero,body .ctaband { border-radius:16px; margin-inline:clamp(10px,2vw,20px); }
 body .hhero { min-height:0; }
 body .hhero__media { border-radius:0; }
 body .hhero__copy { padding:32px 24px 44px; }
 body .phero { min-height:0; }
 body .phero__copy { padding:32px 24px 44px; }
 body .section { padding-block: clamp(52px,9vw,90px); }
 body .section--tight { padding-block:clamp(40px,7vw,68px); }
}
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto!important} }
/* The non-v1 home hero did not previously stagger its copy. Match the existing house reveal. */
@media(prefers-reduced-motion:no-preference) {
 .js .hhero[data-reveal] .hhero__copy > * { animation:tz-up 1000ms var(--ease-out) both; animation-delay:calc(240ms + var(--i,0)*100ms); }
}
