/* 1st Call Premier Blinds: shared styles. Tokens from _work/design-plan.md */
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url(../fonts/newsreader-italic.woff2) format('woff2'); font-style: italic; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Archivo Fallback'; src: local('Arial'); size-adjust: 96%; ascent-override: 92%; descent-override: 24%; }
@property --o { syntax: '<length>'; inherits: false; initial-value: 0px; }

:root {
  --red: #DC4444; --red-band: #C73B3E; --red-deep: #B8303A; --red-soft: #F4A9A3;
  --night: #14212B; --night-2: #1C2E3B; --ink: #1C1A19; --ink-2: #4A4643;
  --sky: #E6EEF2; --oak: #A86E3E; --oak-dark: #7E5029; --oak-tint: #F2E8DC; --white: #FFFFFF;
  --line: rgba(28, 26, 25, .14); --line-l: rgba(255, 255, 255, .18);
  --r: 32px; --corner: var(--r) 0 0 0; --pill: 999px;
  --wrap: 1360px; --gut: clamp(16px, 4vw, 56px);
  --hdr: 96px;
  --f: 'Archivo', 'Archivo Fallback', Arial, sans-serif;
  --f-it: 'Newsreader', Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f); font-size: 1.0625rem; line-height: 1.62; font-weight: 400; overflow-x: clip; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f); font-stretch: 72%; font-weight: 800; line-height: 1.02; letter-spacing: -.005em; margin: 0 0 .45em; text-wrap: balance; display: flow-root; }
h1 { font-size: clamp(2.9rem, 6.2vw, 6.4rem); line-height: .96; }
h2 { font-size: clamp(2.1rem, 3.5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 1.7vw, 1.9rem); line-height: 1.08; }
h1 em, h2 em, h3 em { font-family: var(--f-it); font-style: italic; font-weight: 500; font-stretch: 100%; letter-spacing: -.01em; color: var(--red-deep); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--red-soft); }
@media (max-width: 700px) { h1 em, h2 em { display: block; } }
.lede { font-size: clamp(1.08rem, 1.2vw, 1.2rem); line-height: 1.55; color: var(--ink-2); }
.on-dark { color: #fff; }
.on-dark .lede, .on-dark p { color: rgba(255, 255, 255, .84); }
.ln { display: block; }
.ln-wrap { display: block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: .85em 1.6em; border-radius: var(--pill); font-weight: 700; font-size: 1rem; letter-spacing: .005em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; will-change: transform; }
.btn svg { width: 18px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--red { background: var(--red-deep); color: #fff; }
.btn--red:hover { background: #9E2630; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: rgba(255, 255, 255, .12); }
.on-light .btn--line:hover, .btn--line.on-light:hover { background: rgba(28, 26, 25, .06); }
.textlink { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(50% + .78em) / 100% 2px no-repeat; }
.textlink svg { width: 16px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--line); transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.hdr { display: flex; align-items: center; gap: 20px; height: var(--hdr); transition: height .4s var(--ease); }
.brand { flex: none; display: block; }
.brand img { height: 70px; width: auto; transition: height .4s var(--ease); }
.nav { margin-left: auto; flex: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 11px; font-weight: 600; font-size: .98rem; font-stretch: 88%; text-decoration: none; background: none; border: 0; cursor: pointer; position: relative; white-space: nowrap; }
.nav__link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link.is-current::after, .nav__btn[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__btn svg { width: 11px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s; }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 44px; font-size: 1rem; }
.hdr__phone svg { width: 18px; height: 18px; fill: var(--red); }
.hdr__cta { min-height: 48px; padding: .7em 1.3em; white-space: nowrap; }
.site-header--over:not(.is-solid) { background: transparent; box-shadow: none; }
.site-header--over:not(.is-solid)::before { content: ''; position: absolute; inset: 0 0 -70px; background: linear-gradient(rgba(8, 13, 18, .82), rgba(8, 13, 18, .55) 55%, rgba(8, 13, 18, 0)); pointer-events: none; z-index: -1; }
.site-header--over:not(.is-solid) .nav__link, .site-header--over:not(.is-solid) .hdr__phone { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
/* header text waits for the web font (max 1.5 s) so the right-aligned row does not jump sideways */
html.js:not(.fonts) .nav, html.js:not(.fonts) .hdr__phone, html.js:not(.fonts) .hdr__cta { visibility: hidden; }
.site-header--over:not(.is-solid) .nav__link, .site-header--over:not(.is-solid) .hdr__phone, .site-header--over:not(.is-solid) .burger { color: #fff; }
.site-header.is-solid { box-shadow: 0 10px 30px rgba(20, 33, 43, .1); }
.site-header.is-small .hdr { height: 76px; }
.site-header.is-small .brand img { height: 54px; }
.site-header.is-hidden { transform: translateY(-100%); }
main { display: block; }
body:not(.page-home) main { padding-top: var(--hdr); }

/* dropdown */
.drop::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.drop { position: absolute; top: calc(100% + 10px); left: -120px; width: min(780px, 80vw); display: none; }
.drop.is-open { display: block; }
.drop__inner { background: #fff; color: var(--ink); border-radius: var(--corner); box-shadow: 0 30px 60px rgba(20, 33, 43, .2); padding: 18px; }
.drop__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.drop__card { display: flex; gap: 14px; align-items: center; padding: 8px; text-decoration: none; transition: background-color .25s; }
.drop__card:hover, .drop__card.is-current { background: var(--sky); }
.drop__img { flex: none; width: 92px; aspect-ratio: 4/3; overflow: hidden; border-radius: 16px 0 0 0; }
.drop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.drop__card:hover .drop__img img { transform: scale(1.08); }
.drop__txt strong { display: block; font-stretch: 80%; font-size: 1.08rem; line-height: 1.2; }
.drop__txt span { display: block; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.drop__all { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 14px 12px; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; min-height: 44px; }
.drop__all svg { width: 18px; height: 14px; fill: none; stroke: var(--red-deep); stroke-width: 2; }

/* burger + mobile nav */
.burger { display: none; align-items: center; gap: 10px; min-height: 48px; min-width: 48px; padding: 8px 4px 8px 12px; background: none; border: 0; cursor: pointer; font-weight: 700; }
.burger__lines { display: grid; gap: 5px; width: 24px; }
.burger__lines i { display: block; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] .burger__lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff; padding: calc(var(--hdr) + 12px) var(--gut) 32px; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__row { border-bottom: 1px solid var(--line-l); }
.mnav__top { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 58px; font-size: 1.6rem; font-stretch: 75%; font-weight: 800; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; padding: 0; color: #fff; }
.mnav__btn svg { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.mnav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__sub { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; }
.mnav__sub a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: rgba(255, 255, 255, .86); font-size: 1.08rem; }
.mnav__foot { display: grid; gap: 14px; margin-top: 28px; }
.mnav__foot .btn { justify-content: center; }
.mnav__tel { display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 700; color: #fff; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--night) !important; box-shadow: none; }
body.menu-open .site-header .burger, body.menu-open .site-header .hdr__cta { color: #fff; }

@media (max-width: 1380px) {
  .hdr__phone span { display: none; }
  .hdr__phone { min-width: 44px; justify-content: center; }
}
@media (max-width: 1240px) {
  .nav__link { padding: 8px 9px; font-size: .95rem; }
  .nav__link::after { left: 9px; right: 9px; }
}
@media (max-width: 1100px) {
  :root { --hdr: 80px; }
  .nav, .hdr__phone { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .brand img { height: 58px; }
  .site-header.is-small .hdr { height: 68px; }
  .site-header.is-small .brand img { height: 48px; }
}
@media (max-width: 600px) {
  :root { --hdr: 72px; }
  .hdr__cta { display: none; }
  .brand img { height: 52px; }
  .burger__label { display: none; }
}

/* ---------- shared blocks ---------- */
.sec { position: relative; padding-block: clamp(64px, 7vw, 108px); }
.sec--white { background: var(--white); }
.sec--sky { background: var(--sky); }
.sec--oak { background: var(--oak-tint); }
.sec--night { background: var(--night); color: #fff; }
.sec--red { background: var(--red-band); color: #fff; }
.head { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.head h2 { margin: 0; }
.head .lede { margin: 0; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 18px; } }

/* photos: one rounded corner, top left (corner rule: 19 letters, remainder 4) */
.frame { position: relative; overflow: hidden; border-radius: var(--corner); background: var(--sky); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }

/* light through slats: drifting stripe shadows, used on tinted bands */
.slatlight { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.slatlight::before { content: ''; position: absolute; inset: -40% -20%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='58'%3E%3Crect y='34' width='8' height='24' fill='%23fff' fill-opacity='.5'/%3E%3C/svg%3E") 0 0 / 8px 58px repeat; mix-blend-mode: soft-light; opacity: .9; transform: rotate(-8deg); animation: slatdrift 16s linear infinite; }
.sec--oak .slatlight::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='58'%3E%3Crect y='34' width='8' height='24' fill='%23A86E3E' fill-opacity='.1'/%3E%3C/svg%3E") 0 0 / 8px 58px repeat; mix-blend-mode: multiply; }
.slatlight--soft::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='58'%3E%3Crect y='34' width='8' height='24' fill='%2314212B' fill-opacity='.035'/%3E%3C/svg%3E") 0 0 / 8px 58px repeat; mix-blend-mode: multiply; }
@keyframes slatdrift { from { transform: rotate(-8deg) translate3d(0, 0, 0); } to { transform: rotate(-8deg) translate3d(0, 116px, 0); } }
.sec > .wrap { position: relative; z-index: 1; }

/* forms */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.field label span { font-weight: 400; opacity: .8; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid rgba(28, 26, 25, .25); border-radius: 0; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 6.5l6 6 6-6' fill='none' stroke='%231C1A19' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-deep); box-shadow: 0 0 0 3px rgba(184, 48, 58, .2); }
.form[hidden] { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 14px 18px; font-weight: 600; margin: 0; }
.form__status--ok { background: #E3F1E6; color: #1D4D2A; }
.form__status--err { background: #FBE4E2; color: #7A1E22; }
.form__note { font-size: .95rem; margin: 0; }
.form .btn { justify-self: start; }
#enquiry-form, #enquiry-form-home { scroll-margin-top: 110px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* CTA band (red): form + numbers */
.cta { overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.cta h2 em { color: #fff; }
.sec--red .lede, .sec--red p:not(.form__note):not(.form__status) { color: #fff; }
.sec--red .cta__card p { color: var(--ink-2); }
.cta__nums { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.cta__nums a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .28); text-decoration: none; font-weight: 800; font-stretch: 75%; font-size: clamp(1.4rem, 2vw, 2rem); }
.cta__nums span { font-weight: 500; font-stretch: 100%; font-size: .95rem; opacity: .9; }
.cta__card p, .on-dark .cta__card p { color: var(--ink-2); }
.cta__card { background: #fff; color: var(--ink); padding: clamp(24px, 3vw, 40px); border-radius: var(--corner); box-shadow: 0 40px 80px rgba(60, 10, 14, .3); }
.cta__card h3 { margin-bottom: 6px; }
.cta__stripes { position: absolute; inset: -25% 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='50'%3E%3Crect y='46' width='8' height='4' fill='%23000' fill-opacity='.08'/%3E%3C/svg%3E") 0 0 / 8px 50px repeat; }
html.motion .cta__stripes { animation: stripedrift 7s linear infinite; }
@keyframes stripedrift { to { background-position: 0 50px; } }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .86); position: relative; overflow: hidden; }
.site-footer > *:not(.ftr__light) { position: relative; z-index: 1; }
.ftr__light { position: absolute; inset: -30% -10%; pointer-events: none; background: repeating-linear-gradient(168deg, rgba(255, 255, 255, 0) 0 60px, rgba(255, 255, 255, .035) 60px 96px); }
html.motion .ftr__light { animation: ftrdrift 14s linear infinite; }
@keyframes ftrdrift { to { transform: translate3d(-100px, 96px, 0); } }
.ftr__marquee { border-bottom: 1px solid var(--line-l); padding-block: 26px; overflow: hidden; }
.ftr__track { display: flex; width: max-content; }
.ftr__run { display: flex; align-items: center; flex: none; }
.ftr__run span { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 800; font-stretch: 65%; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); white-space: nowrap; padding-inline: 28px; line-height: 1.1; }
.ftr__run i { width: 12px; height: 12px; background: var(--red); flex: none; }
.ftr { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(56px, 6vw, 88px) 40px; }
.ftr__logo img { height: 70px; width: auto; margin-bottom: 20px; }
.ftr__brand p { max-width: 42ch; font-size: 1rem; } /* the logo column beside three link columns */
.ftr__h { font-size: 1.15rem; font-stretch: 80%; font-weight: 800; color: #fff; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ftr ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: rgba(255, 255, 255, .86); font-size: 1rem; transition: color .2s; }
.ftr ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr__contact li { display: grid; gap: 0; margin-bottom: 8px; }
.ftr__contact span { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red-soft); font-weight: 700; }
.ftr__contact a { min-height: 44px; font-weight: 700; color: #fff !important; font-size: 1.1rem !important; }
.ftr__contact address { font-size: 1rem; }
.ftr__base { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; padding-block: 22px 28px; border-top: 1px solid var(--line-l); font-size: .95rem; }
.ftr__base p { margin: 0; }
.ftr__base a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
.ftr__credit { margin-left: auto !important; }
@media (max-width: 1000px) { .ftr { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ftr { grid-template-columns: 1fr; } .ftr__credit { margin-left: 0 !important; } }

/* ---------- motion: hidden start states (only when GSAP will reveal them) ---------- */
html.motion:not(.safety) [data-slat], html.motion.gsap-ready [data-slat],
html.motion:not(.safety) [data-up], html.motion.gsap-ready [data-up],
html.motion:not(.safety) [data-ftr], html.motion.gsap-ready [data-ftr] { opacity: 0; }
html.motion:not(.safety) [data-reveal], html.motion.gsap-ready [data-reveal] { --o: 0px; }
html.motion [data-reveal].is-masked { -webkit-mask-image: var(--mask); mask-image: var(--mask); }
[data-reveal] { --p: 46px; --mask: repeating-linear-gradient(180deg, transparent 0, transparent calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) + var(--o)) / 2), transparent calc((var(--p) + var(--o)) / 2), transparent var(--p)); }
[data-reveal="vanes"] { --p: 70px; --mask: repeating-linear-gradient(90deg, transparent 0, transparent calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) + var(--o)) / 2), transparent calc((var(--p) + var(--o)) / 2), transparent var(--p)); }
.slatline { --p: 9px; -webkit-mask-image: repeating-linear-gradient(180deg, transparent 0, transparent calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) + var(--o)) / 2), transparent calc((var(--p) + var(--o)) / 2), transparent var(--p)); mask-image: repeating-linear-gradient(180deg, transparent 0, transparent calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) + var(--o)) / 2), transparent calc((var(--p) + var(--o)) / 2), transparent var(--p)); }

/* first-screen intro in CSS, so it never waits for scripts: lines open through slats */
@keyframes slatopen { from { --o: 0px; opacity: 0; transform: translateY(.35em); } 30% { opacity: 1; } to { --o: 9px; opacity: 1; transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.motion .intro-ln { --p: 9px; animation: slatopen 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 1s + .12s); -webkit-mask-image: repeating-linear-gradient(180deg, transparent 0, transparent calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) + var(--o)) / 2), transparent calc((var(--p) + var(--o)) / 2), transparent var(--p)); mask-image: repeating-linear-gradient(180deg, transparent 0, transparent calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) - var(--o)) / 2), #000 calc((var(--p) + var(--o)) / 2), transparent calc((var(--p) + var(--o)) / 2), transparent var(--p)); }
html.motion .intro-ln.is-done { -webkit-mask-image: none; mask-image: none; }
html.motion .intro-up { animation: fadeup .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 1s + .2s); }
/* first-screen text opens once the web font is in (max 1.5 s), so nothing re-wraps or jumps as it arrives */
html.motion:not(.fonts) .intro-ln, html.motion:not(.fonts) .intro-up { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .slatlight::before { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* 404 */
.nf { padding-block: clamp(80px, 10vw, 150px); }
.nf__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.nf h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.nf__links { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.nf__links a { display: flex; justify-content: space-between; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 800; font-stretch: 75%; font-size: 1.35rem; }
.nf__links svg { width: 18px; height: 14px; fill: none; stroke: var(--red-deep); stroke-width: 2; transition: transform .3s var(--ease); }
.nf__links a:hover svg { transform: translateX(5px); }
@media (max-width: 800px) { .nf__grid { grid-template-columns: 1fr; } }
