/* A and K Blinds: "Light fall". Every page stands in the light of a blind.
   Tokens and measured contrast: design/aandk-blinds.md */

@property --bar { syntax: '<length>'; inherits: true; initial-value: 26px; }

:root {
  --plaster: #E2E1DC;
  --plaster-deep: #D6D4CE;
  --sun: #F8E6C6;
  --sun-edge: #EFD6AC;
  --ink: #1F1D1A;
  --slate: #57534C;
  --red: #E4002B;
  --red-deep: #B8001F;
  --night: #1A1917;
  --mist: #B9B5AE;
  --rule: rgba(31, 29, 26, 0.16);
  --display: 'Gowun Batang', 'Iowan Old Style', Georgia, serif;
  --sans: 'SUSE', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gut: clamp(20px, 5vw, 76px);
  --max: 1320px;
  --sa-accent: #E4002B;
  --sa-accent-ink: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--plaster); color: var(--ink);
  font: 400 18px/1.62 var(--sans); font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(46px, 6.2vw, 98px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.1vw, 58px); line-height: 1.07; }
h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.18; }
p { margin: 0 0 1em; max-width: 64ch; }
ul { margin: 0; padding: 0; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; border-radius: 2px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

/* ------------------------------------------------------------ buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--red); color: #fff; font: 600 16px/1.1 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #3a3733; }
.tel, .more {
  font: 500 17px/1.3 var(--sans); color: var(--ink); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.tel:hover, .more:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

/* ------------------------------------------------------------ the header: a quiet headrail */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gut); background: rgba(226, 225, 220, 0.94);
  backdrop-filter: saturate(1.1) blur(10px); -webkit-backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.brand { display: block; flex: none; line-height: 0; border-radius: 2px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: 10px; }
.nav a { font: 500 16px/1 var(--sans); text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.top__act { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.top__tel { font: 500 17px/1 var(--sans); text-decoration: none; }
.top__tel:hover { text-decoration: underline; text-underline-offset: 5px; }
.top .btn { min-height: 48px; padding: 0 20px; }
.menu-btn { display: none; min-height: 46px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; }

/* the phone menu is a roller blind that lowers from the top, bottom bar and all */
.menu {
  position: fixed; inset: 0 0 auto 0; z-index: 40; background: var(--plaster); padding: 18px var(--gut) 30px;
  border-bottom: 10px solid #cfccc5; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transform-origin: top; animation: lower 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.menu[hidden] { display: none; }
@keyframes lower { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.menu__head { display: flex; align-items: center; justify-content: space-between; }
.menu__head img { height: 46px; width: auto; }
.menu nav a { display: block; font: 400 34px/1.2 var(--display); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.menu nav { margin: 18px 0 22px; }
.menu p { margin: 0 0 6px; }

/* ------------------------------------------------------------ light fall: the inner page header */
.fall { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(52px, 7vw, 104px); background: var(--plaster); isolation: isolate; }
.fall__light {
  position: absolute; z-index: -1; left: 2%; top: 16%; width: min(1040px, 74vw); height: 62%;
  transform: skewX(-21deg); filter: blur(1.4px);
  background: repeating-linear-gradient(180deg, var(--sun) 0 var(--bar), transparent var(--bar) calc(var(--bar) + 13px));
  -webkit-mask-image: linear-gradient(97deg, #000 0 58%, transparent 96%); mask-image: linear-gradient(97deg, #000 0 58%, transparent 96%);
  opacity: 0; animation: sunIn 1.2s 0.15s ease-out forwards;
}
@keyframes sunIn { from { opacity: 0; transform: skewX(-21deg) translateX(-26px); } to { opacity: 1; transform: skewX(-21deg) translateX(0); } }
.fall--wood .fall__light {
  --bar: 32px;
  background:
    linear-gradient(90deg, transparent 27%, rgba(120, 82, 44, 0.12) 27% 28.4%, transparent 28.4% 71%, rgba(120, 82, 44, 0.12) 71% 72.4%, transparent 72.4%),
    repeating-linear-gradient(180deg, #F6DDB0 0 var(--bar), transparent var(--bar) calc(var(--bar) + 16px));
}
.fall--vertical .fall__light {
  background: repeating-linear-gradient(90deg, var(--sun) 0 var(--bar), transparent var(--bar) calc(var(--bar) + 15px));
}
.fall--roller .fall__light {
  /* a sunscreen roller half down: filtered glow above the hem bar, full sun below it */
  background: linear-gradient(180deg, rgba(246, 222, 184, 0.55) 0 58%, rgba(150, 128, 98, 0.2) 58% 60.5%, var(--sun) 60.5% 100%);
  filter: blur(1.6px);
}
.fall--mesh .fall__light {
  /* sun through shade mesh: a fine grid of light over a softer glow */
  background: radial-gradient(circle, #FCEDD2 0 2.3px, transparent 2.9px) 0 0 / 7px 7px, linear-gradient(rgba(244, 219, 176, 0.62), rgba(244, 219, 176, 0.62));
  filter: blur(0.4px);
}
.fall__inner { position: relative; }
.crumbs { font: 500 15px/1.4 var(--sans); color: var(--slate); margin-bottom: clamp(26px, 4vw, 54px); }
.crumbs a { color: var(--slate); text-underline-offset: 4px; }
.crumbs span[aria-hidden] { margin: 0 8px; }
.fall h1 { max-width: 13ch; }
.fall__lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; max-width: 44ch; margin: 26px 0 0; color: var(--ink); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .fall__light { animation: sunIn 1.2s 0.15s ease-out forwards, tilt linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 70vh; }
    @keyframes tilt { from { --bar: 26px; } to { --bar: 9px; } }
  }
}

/* ------------------------------------------------------------ sections */
.band { padding: clamp(64px, 9vw, 132px) 0; position: relative; }
.band--sun { background: var(--sun); }
.band--deep { background: var(--plaster-deep); }
.band + .band:not(.band--sun):not(.band--deep):not(.band--night) { border-top: 1px solid var(--rule); }
.band h2 { max-width: 16ch; }
.lead { font-size: clamp(19px, 1.45vw, 21px); line-height: 1.6; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.stack > * + * { margin-top: 18px; }

/* the at-a-glance list: plain label and value, measurements in tabular figures */
.glance { list-style: none; border-top: 1px solid var(--ink); }
.glance li { display: grid; grid-template-columns: 11ch 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums lining-nums; }
.glance b { font-weight: 600; font-size: 15px; letter-spacing: 0.01em; padding-top: 3px; }

/* questions, as the business answers them */
.faq { border-top: 1px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 400 clamp(21px, 1.8vw, 25px)/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; margin-top: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 14px; }
.faq details p { padding: 0 0 24px; margin: 0; color: var(--ink); }

/* photographs and their captions */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; object-fit: cover; background: var(--plaster-deep); border-radius: 2px; }
.photo figcaption { font-size: 15px; line-height: 1.45; color: var(--slate); margin-top: 10px; }
.photos { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(22px, 2vw, 30px) clamp(14px, 1.6vw, 24px); align-items: start; }
.photos .photo { grid-column: span 4; }
.photos .photo img { aspect-ratio: 4 / 5; }
.photos--3 .photo:nth-child(3n + 1) { grid-column: span 5; }
.photos--3 .photo:nth-child(3n + 2) { grid-column: span 4; }
.photos--3 .photo:nth-child(3n + 3) { grid-column: span 3; }
.illus img { aspect-ratio: 16 / 10; }

/* related and product lists */
.list { list-style: none; border-top: 1px solid var(--ink); }
.list li { border-bottom: 1px solid var(--rule); }
.list a { display: grid; grid-template-columns: 120px 1fr auto; gap: 26px; align-items: center; padding: 18px 0; text-decoration: none; }
.list a:hover h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.list p { margin: 4px 0 0; color: var(--slate); font-size: 16px; }
.list .go { font: 500 15px var(--sans); color: var(--slate); }
/* each product's own light, as a swatch */
.swatch { height: 76px; border-radius: 2px; background-color: var(--plaster-deep); position: relative; overflow: hidden; }
.swatch::before { content: ''; position: absolute; inset: 10px 14px; transform: skewX(-18deg); background: repeating-linear-gradient(180deg, var(--sun) 0 7px, transparent 7px 11px); }
.swatch--wood::before { background: repeating-linear-gradient(180deg, #F6DDB0 0 9px, transparent 9px 14px); }
.swatch--vertical::before { background: repeating-linear-gradient(90deg, var(--sun) 0 8px, transparent 8px 13px); }
.swatch--roller::before { background: linear-gradient(180deg, transparent 0 40%, var(--sun) 44%); }
.swatch--mesh::before { background: radial-gradient(circle, var(--sun) 0 1.6px, transparent 2.2px) 0 0 / 5px 5px; }
.swatch--photo::before { display: none; }
.swatch img { width: 100%; height: 100%; object-fit: cover; }

/* a real sequence: consultation to after-care */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; padding: 22px 22px 0 0; border-right: 1px solid var(--rule); }
.steps li + li { padding-left: 22px; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(s); display: block; font: 400 44px/1 var(--display); color: var(--slate); margin-bottom: 18px; }
.steps h3 { font-size: 23px; margin-bottom: 8px; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* lists that are not a sequence: same rhythm, no numbers */
.steps--plain li::before { display: none; }
.steps--plain li { padding-top: 26px; }
.photos--pair { grid-template-columns: 1fr; }
.photos--pair .photo { grid-column: 1 / -1; }
.photos--pair .photo img { aspect-ratio: 4 / 3; }

/* the call to action band at the foot of a page */
.ask { background: var(--night); color: #fff; padding: clamp(60px, 8vw, 110px) 0; position: relative; overflow: hidden; isolation: isolate; }
.ask::before { content: ''; position: absolute; z-index: -1; right: -6%; top: -10%; width: 60%; height: 120%; transform: skewX(-21deg);
  background: repeating-linear-gradient(180deg, rgba(248, 230, 198, 0.08) 0 22px, transparent 22px 36px);
  -webkit-mask-image: linear-gradient(260deg, #000 20%, transparent 80%); mask-image: linear-gradient(260deg, #000 20%, transparent 80%); }
.ask h2 { max-width: 15ch; }
.ask p { color: #E9E6E0; }
.ask .tel { color: #fff; }
.ask :focus-visible { outline-color: var(--sun); }

/* the visit block: map, address and hours */
.visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.map { min-height: 380px; border: 0; width: 100%; height: 100%; border-radius: 2px; background: var(--plaster-deep); filter: grayscale(0.25) contrast(0.95); }
.facts { list-style: none; border-top: 1px solid var(--ink); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.facts a { text-underline-offset: 4px; }

/* the enquiry form */
.form { display: grid; gap: 18px; max-width: 620px; }
.form label { display: grid; gap: 8px; font: 600 15px/1.3 var(--sans); }
.form input, .form select, .form textarea {
  font: 400 17px/1.4 var(--sans); color: var(--ink); background: #F3F2EE; border: 1px solid #8f8a82; border-radius: 2px; padding: 14px 14px; min-height: 52px; width: 100%;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { min-height: 1.6em; margin: 0; font-weight: 500; }
.form__status.is-err { color: #9C0020; }

/* gallery */
.gallery { columns: 3 300px; column-gap: clamp(14px, 1.6vw, 22px); }
.gallery .photo { break-inside: avoid; margin-bottom: clamp(14px, 1.6vw, 22px); }
.gallery button { all: unset; display: block; cursor: zoom-in; border-radius: 2px; }
.gallery button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.gallery .photo img { height: auto; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(20, 19, 17, 0.94); display: grid; grid-template-rows: 1fr auto; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; }
.lightbox img { max-height: calc(100vh - 170px); max-width: 100%; width: auto; object-fit: contain; border-radius: 2px; }
.lightbox figcaption { color: #EDEAE4; margin-top: 14px; text-align: center; }
.lightbox__bar { display: flex; justify-content: center; gap: 14px; padding-top: 14px; }
.lightbox__bar button { min-height: 48px; padding: 0 20px; border: 1px solid #EDEAE4; background: #EDEAE4; color: var(--ink); font: 600 15px var(--sans); border-radius: 2px; cursor: pointer; }
.lightbox__bar button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ------------------------------------------------------------ home: the room */
#room { display: none; }
.scrim { display: none; }
.has-3d #room { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.home .top { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color 0.35s, border-color 0.35s; }
.home.is-past .top, .home:not(.has-3d-body) .top.is-solid { background: rgba(226, 225, 220, 0.94); border-bottom-color: var(--rule); backdrop-filter: saturate(1.1) blur(10px); -webkit-backdrop-filter: saturate(1.1) blur(10px); }
.journey { position: relative; z-index: 1; }
.beat { position: relative; min-height: 130vh; }
.beat--hero { min-height: 100vh; min-height: 100svh; }
.beat__still { margin: 0; }
.beat__still img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.beat__words { position: relative; z-index: 2; }
.beat__words:focus-within { opacity: 1 !important; }
.beat h2 { font-size: clamp(38px, 3.9vw, 58px); }
.beat__words p { font-size: 18px; }
.beat .lede { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.58; margin-top: 24px; }
.spec { list-style: none; margin: 22px 0 0; border-top: 1px solid var(--rule); font-size: 16px; font-variant-numeric: tabular-nums lining-nums; }
.spec li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.hint { margin-top: 34px; font-size: 15px; color: var(--slate); }
html:not(.has-3d) .hint { display: none; }
.more-pair { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.after { position: relative; z-index: 2; background: var(--plaster); }

/* the wand from their logo: a rod with the red ball, riding down as the blinds change */
.wand { display: none; }
@media (min-width: 1100px) {
  .has-3d .wand {
    display: block; position: fixed; z-index: 5; right: 34px; top: 22vh; height: 46vh; width: 150px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .has-3d body.in-journey .wand, .has-3d .in-journey .wand { opacity: 1; visibility: visible; }
  .wand ol { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
  .wand a { display: block; text-align: right; padding: 4px 26px 4px 0; font: 500 15px/1.2 var(--sans); color: var(--slate); text-decoration: none; }
  .wand a[aria-current="true"] { color: var(--ink); }
  .wand a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
  .wand__rod { position: absolute; right: 7px; top: 0; bottom: 0; width: 2px; background: rgba(31, 29, 26, 0.35); border-radius: 2px; }
  .wand__ball { position: absolute; right: 1px; top: calc(var(--wand, 0) * (100% - 14px)); width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--plaster); }
}

/* desktop with 3D: words on the shaded wall to the right of the window */
@media (min-width: 761px) {
  .has-3d .scrim { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(226, 225, 220, 0) 46%, rgba(226, 225, 220, 0.76) 58%, rgba(226, 225, 220, 0.92) 69%); }
  .has-3d .beat__still { position: absolute; inset: 0; }
  .has-3d .beat:not(.beat--hero) .beat__still { display: none; }
  .has-3d .beat--hero .beat__still { transition: opacity 0.9s ease; }
  .has-3d.room-live .beat--hero .beat__still { opacity: 0; }
  /* until the room is live, the hero still wears the same scrim, so the words never sit on the chair */
  .has-3d .beat--hero .beat__still::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(226, 225, 220, 0) 46%, rgba(226, 225, 220, 0.76) 58%, rgba(226, 225, 220, 0.92) 69%); }
  .has-3d .beat--hero .beat__still { overflow: hidden; }
  .has-3d .beat__words { position: sticky; top: max(110px, calc(50vh - 270px)); margin-left: auto; width: min(500px, 35vw); margin-right: clamp(150px, 12vw, 210px); padding: 0; }
  .has-3d .beat--hero .beat__words { position: relative; top: 0; padding-top: max(150px, calc(50vh - 210px)); }
  .has-3d .beat--hero { display: flex; align-items: flex-start; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .has-3d .beat__words { margin-right: var(--gut); width: min(460px, 44vw); }
}

/* no 3D (no WebGL, reduced motion, or it failed): each beat is its still with the words beside it */
html:not(.has-3d) .beat { min-height: 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding: clamp(40px, 5vw, 72px) var(--gut); border-bottom: 1px solid var(--rule); }
html:not(.has-3d) .beat--hero { padding-top: clamp(110px, 12vw, 150px); }
html:not(.has-3d) .beat__still img { aspect-ratio: 16 / 9; border-radius: 2px; }
html:not(.has-3d) .home .top { position: sticky; background: rgba(226, 225, 220, 0.94); border-bottom-color: var(--rule); }

/* ------------------------------------------------------------ footer */
.foot { background: var(--night); color: #F2EFEA; padding: clamp(56px, 7vw, 92px) 0 32px; position: relative; z-index: 2; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr 1.1fr; gap: 36px; }
.foot__brand img { width: 220px; height: auto; margin-bottom: 20px; }
.foot__brand p { color: var(--mist); font-size: 16px; max-width: 30ch; }
.foot h2 { font: 600 15px/1.3 var(--sans); letter-spacing: 0.01em; color: #fff; margin-bottom: 14px; }
.foot ul { list-style: none; }
.foot li { margin: 0 0 8px; }
.foot a { color: #F2EFEA; text-decoration: none; font-size: 16px; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot address { font-style: normal; color: #F2EFEA; font-size: 16px; margin-bottom: 12px; }
.foot p { font-size: 16px; color: var(--mist); margin-bottom: 12px; }
.foot :focus-visible { outline-color: var(--sun); }
.foot__legal { margin: 48px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; color: var(--mist); max-width: none; }

/* ------------------------------------------------------------ smaller screens */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .top__tel { display: none; }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav, .top .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .split, .split--flip, .split--even, .visit { grid-template-columns: 1fr; }
  .steps, .steps--4 { grid-template-columns: 1fr 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--rule); padding: 22px 0 24px !important; }
  .photos .photo, .photos--3 .photo:nth-child(n) { grid-column: span 6; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .brand img { height: 46px; }
  .top { padding: 10px 16px; }
  .fall__light { left: -12%; width: 118vw; top: 22%; height: 56%; }
  .list a { grid-template-columns: 76px 1fr; gap: 16px; }
  .list .go { display: none; }
  .swatch { height: 58px; }
  .glance li { grid-template-columns: 1fr; gap: 2px; }
  .steps, .steps--4 { grid-template-columns: 1fr; }
  .photos .photo, .photos--3 .photo:nth-child(n) { grid-column: span 12; }
  .gallery { columns: 2 150px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .actions .btn { width: 100%; }

  /* phones with 3D: the window rides in the top half, the words on a panel below */
  .has-3d .beat { min-height: 118vh; }
  .has-3d .beat--hero { min-height: 100svh; }
  .has-3d .beat__still { display: none; }
  /* the words sit at the top, the room shows in the lower half, and the corner stays the widget's */
  /* the room behind the hero is dark at the top on a phone: the header is solid from the start */
  .home .top { background: rgba(226, 225, 220, 0.94); border-bottom-color: var(--rule); }
  .has-3d .beat__words { position: sticky; top: 76px; margin: 0 12px; padding: 20px 20px 22px; background: rgba(226, 225, 220, 0.97); border-radius: 3px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
  .has-3d .beat--hero .beat__words { position: relative; top: auto; margin-top: 76px; }
  .has-3d .beat .lede { margin-top: 14px; }
  .has-3d .beat .actions { margin-top: 18px; }
  .has-3d .beat .spec, .has-3d .hint { display: none; }
  .beat h2 { font-size: 34px; }
  .beat h1 { font-size: 42px; }
  .beat .lede, .beat__words p { font-size: 17px; line-height: 1.55; }
  html:not(.has-3d) .beat { grid-template-columns: 1fr; padding: 28px 16px 36px; }
  html:not(.has-3d) .beat--hero { padding-top: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .fall__light { opacity: 1; }
}

/* QA stills (?still=N): the canvas alone */
.still-mode .beat__words, .still-mode .top, .still-mode .scrim, .still-mode .wand, .still-mode .beat__still,
.still-mode .after, .still-mode .foot, .still-mode .skip { visibility: hidden !important; }
