/* Luxury Blinds & Awnings: spec site. A Bayside interiors feature with a live cover. */

@font-face { font-family: 'Bodoni Moda'; src: url(fonts/bodoni-moda-var.woff2) format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(fonts/bodoni-moda-italic-var.woff2) format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(fonts/jost-var.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(fonts/jost-italic-var.woff2) format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --ink: #231F20;          /* their wordmark */
  --ink-2: #4A4446;
  --muted: #625B5D;
  --paper: #FFFFFF;
  --blue: #7AA2D6;         /* their logo bar */
  --blue-ink: #2D5A8E;     /* the blue, deep enough for text on white */
  --mist: #EDF2F8;         /* the blue at a whisper, for quiet spreads */
  --sun: #EFB447;          /* only where light is */
  --on-ink: #F4F1EC;
  --on-ink-2: #C9C2BC;
  --rule: rgba(35, 31, 32, .16);
  --display: 'Bodoni Moda', 'Bodoni 72', Didot, serif;
  --text: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --gut: clamp(16px, 4vw, 64px);
  --sec: clamp(72px, 9vw, 144px);
  --top: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 8px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
sup { font-size: .55em; line-height: 0; vertical-align: .6em; }
::selection { background: var(--blue); color: var(--ink); }
input, textarea { caret-color: var(--blue-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
html { scrollbar-color: var(--blue) var(--mist); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.1rem); line-height: 1.02; letter-spacing: -.02em; }
h3 { font-size: 1.6rem; line-height: 1.1; font-weight: 500; }
.faq summary, .bay li, .steps li::before { font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tbc { font-style: italic; color: var(--muted); }
.tbc::before { content: ''; display: inline-block; width: .45em; height: .45em; border-radius: 50%; background: var(--blue); margin-right: .4em; vertical-align: .1em; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.4em; border: 1px solid var(--ink); border-radius: 0; font: 500 .95rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--blue); color: var(--ink); }
.btn--line { background: var(--paper); color: var(--ink); }
.btn--line:hover { background: var(--mist); }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .82rem; }
.btn--lg { min-height: 56px; padding: 0 2em; }

/* ---- the masthead: their wordmark, set in type until the vector arrives ---- */
.top { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--rule); }
.top__in { height: var(--top); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); max-width: 1600px; margin: 0 auto; }
.mark { display: inline-grid; text-decoration: none; color: var(--ink); line-height: 1; }
.mark__word { font: 500 1.9rem/0.9 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.mark__line { display: flex; align-items: center; gap: .55em; margin-top: 4px; }
.mark__bar { width: 2.7em; height: 6px; background: var(--blue); transform: skewX(-12deg); }
.mark__sub { white-space: nowrap; font: italic 300 .72rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.mark:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); font-size: .95rem; }
.nav a:not(.btn) { text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--ink); }
.nav__tel { font-variant-numeric: tabular-nums; }
.menu, .top__book { display: none; }

/* ---- the cover ---- */
.cover { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; height: calc(100svh - var(--top)); min-height: 640px; max-height: 1080px; position: relative; }
.cover__stage { grid-area: 1 / 1 / 3 / 2; position: relative; background: var(--mist); overflow: hidden; touch-action: pan-y; cursor: grab; }
.cover__stage.is-drag { cursor: grabbing; }
.cover__room, .cover__still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cover__still { object-fit: cover; object-position: 70% 50%; display: none; }
.no-gl .cover__still { display: block; }
.no-gl .cover__room { display: none; }
.ctl__drag { font: italic 400 .8rem/1 var(--text); letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: .3em; transition: opacity .6s var(--ease); }
.ctl__drag.is-gone { opacity: 0; }
.cover__head { grid-area: 1 / 1 / 2 / 2; z-index: 2; padding: clamp(24px, 4.5vh, 56px) var(--gut) 0; max-width: min(48rem, 54vw); pointer-events: none; }
.cover__head h1 { font-size: clamp(2.8rem, min(6vw, 9.6vh), 5.6rem); line-height: .94; letter-spacing: -.03em; }
.cover__head h1 em { display: block; }
.cover__more { grid-area: 2 / 1 / 3 / 2; z-index: 2; align-self: start; justify-self: start; padding: clamp(14px, 2.4vh, 24px) var(--gut) 0; max-width: min(34rem, 42vw); }
.lede { font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
.cover__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.cover__addr { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* ---- the dock: the window's controls ---- */
.dock { grid-row: 3; display: grid; grid-template-columns: auto minmax(180px, 1fr) minmax(260px, 1.3fr); gap: clamp(20px, 2.6vw, 44px); align-items: center; padding: 14px var(--gut); border-top: 1px solid var(--rule); background: var(--paper); }
.dock fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.dock__products { display: flex; gap: 4px; }
.prod { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; min-height: 56px; cursor: pointer; transition: background .25s var(--ease); }
.prod input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.prod svg { width: 30px; height: 30px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.prod span { display: grid; line-height: 1.15; }
.prod b { font-weight: 500; font-size: .98rem; }
.prod small { font-size: .82rem; color: var(--muted); }
.prod:hover { background: var(--mist); }
.prod:has(input:checked) { background: var(--blue); }
.prod:has(input:checked) small { color: var(--ink); }
.prod:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.dock__ctl, .dock__sun { display: flex; align-items: center; gap: 20px; min-width: 0; }
.ctl { display: grid; gap: 4px; flex: 1; min-width: 0; }
.ctl__name { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; display: flex; gap: .6em; align-items: baseline; }
.ctl__name output { font: italic 400 1.0625rem/1 var(--display); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.ctl__ends { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type=range]::-moz-range-track { height: 2px; background: var(--ink); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 0 2px 6px rgba(35, 31, 32, .2); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
/* the day's sky along the sun track, and the sun as its handle */
.ctl--sun input[type=range]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, #E9A27A, #F3D7A6 12%, #A9C6E8 30%, #7AA2D6 55%, #A9C6E8 80%, #F0B07E 96%); }
.ctl--sun input[type=range]::-moz-range-track { height: 6px; background: linear-gradient(90deg, #E9A27A, #F3D7A6 12%, #A9C6E8 30%, #7AA2D6 55%, #A9C6E8 80%, #F0B07E 96%); }
.ctl--sun input[type=range]::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -10px; background: var(--sun); border: 1.5px solid var(--ink); }
.ctl--sun input[type=range]::-moz-range-thumb { width: 24px; height: 24px; background: var(--sun); border: 1.5px solid var(--ink); }
.fabric[hidden] { display: none; }
.fabric, .facing { display: flex; flex: none; border: 1px solid var(--ink); }
.fabric label, .facing label { position: relative; cursor: pointer; }
.fabric input, .facing input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fabric span, .facing span { display: grid; place-items: center; min-height: 44px; padding: 4px 12px; font-size: .85rem; line-height: 1.1; text-align: center; transition: background .2s; }
.facing small { font-size: .82rem; color: var(--muted); }
.fabric label + label span, .facing label + label span { border-left: 1px solid var(--ink); }
.fabric input:checked + span, .facing input:checked + span { background: var(--ink); color: var(--paper); }
.facing input:checked + span small { color: var(--on-ink-2); }
.fabric input:focus-visible + span, .facing input:focus-visible + span { outline: 2px solid var(--blue-ink); outline-offset: -4px; }
.cover__credit { grid-row: 4; margin: 0; padding: 10px var(--gut) 12px; border-top: 1px solid var(--rule); font: italic 400 .9rem/1.4 var(--text); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .3em 1.2em; }
.cover__read { font-style: normal; font-variant-numeric: tabular-nums; color: var(--muted); }
.cover__credit a { margin-left: auto; font-style: normal; font-weight: 500; }

/* ---- the showroom spread ---- */
.show { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; }
.show__photo { margin: 0; position: relative; min-height: 640px; }
.show__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; }
.show__photo figcaption { position: absolute; left: var(--gut); bottom: 18px; background: var(--paper); padding: 6px 12px; font: italic 400 .85rem/1.3 var(--text); }
.show__text { padding: var(--sec) var(--gut) var(--sec) clamp(28px, 5vw, 88px); max-width: 44rem; }
.show__text h2 { margin-bottom: .55em; }
.show__text > p { max-width: 36em; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin: 34px 0; }
.facts dt { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.show__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- the range: the contents page, on their blue ---- */
.range { background: var(--blue); padding: var(--sec) 0; }
.range__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.range__head p { margin: 0; font-size: 1.0625rem; max-width: 30em; }
.index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; }
.entry { border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; }
.entry h3 { font-size: 1.6rem; margin-bottom: 14px; }
.entry ul { list-style: none; margin: 0 0 18px; padding: 0; }
.entry li { padding: 3px 0; line-height: 1.4; }
.entry--local h3 em { font-style: italic; }
.try { display: inline-flex; align-items: center; gap: .5em; margin-top: auto; padding: 8px 0; font-weight: 500; font-size: .95rem; text-decoration: none; border-bottom: 1px solid var(--ink); align-self: flex-start; }
.try + .try { margin-top: 6px; }
.try::after { content: ''; width: 18px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain; transform: rotate(-90deg); transition: transform .3s var(--ease); }
.try:hover::after { transform: rotate(-90deg) translateX(3px); }

/* ---- from Bayside homes ---- */
.homes { padding: var(--sec) 0; }
.homes__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 36px); }
.homes__h { grid-column: 1 / 8; margin-bottom: clamp(28px, 4vw, 56px); }
.homes figure { margin: 0; }
.homes__a { grid-column: 1 / 8; }
.homes__b { grid-column: 8 / 13; align-self: end; }
.homes img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.homes__a img { aspect-ratio: 5 / 4; }
.homes figcaption { font: italic 400 .9rem/1.45 var(--text); color: var(--ink-2); padding-top: 10px; }
.quote { grid-column: 2 / 12; margin: clamp(56px, 7vw, 112px) 0 0; }
.quote p { font: italic 400 clamp(1.7rem, 3.2vw, 3rem)/1.18 var(--display); letter-spacing: -.01em; margin-bottom: .6em; text-wrap: balance; }
.quote footer { font-size: .95rem; color: var(--ink-2); }
.quote footer::before { content: ''; display: inline-block; width: 40px; height: 1px; background: var(--ink); vertical-align: middle; margin-right: 14px; }

/* ---- how it works ---- */
.how { background: var(--mist); padding: var(--sec) 0; }
.how h2 { max-width: 15em; margin-bottom: clamp(40px, 5vw, 72px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font: italic 400 4.2rem/1 var(--display); color: var(--blue-ink); margin-bottom: 18px; }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--ink-2); margin: 0; }

/* ---- the area, on ink ---- */
.area { background: var(--ink); color: var(--on-ink); padding: var(--sec) 0; }
.area__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 112px); align-items: start; }
.area__text p { color: var(--on-ink-2); max-width: 32em; }
.area__text h2 { margin-bottom: .6em; }
.area .tbc { color: var(--on-ink-2); }
.area__note { font-size: .92rem; }
.bay { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; columns: 1; }
.bay::before { content: ''; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px; background: var(--blue); }
.bay li { position: relative; padding: 7px 0; font: 400 clamp(1.15rem, 1.7vw, 1.45rem)/1.25 var(--display); }
.bay li::before { content: ''; position: absolute; left: -28px; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--ink); border: 1px solid var(--blue); }
.bay li:has(b)::before { background: var(--blue); border-color: var(--blue); width: 13px; height: 13px; left: -30px; margin-top: -6px; }
.bay b { font: italic 400 .95rem var(--text); color: var(--blue); }

/* ---- book ---- */
.book { padding: var(--sec) 0; }
.book__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px clamp(40px, 6vw, 112px); align-items: start; }
.book__intro { position: sticky; top: calc(var(--top) + 32px); }
.book__intro h2 { margin-bottom: .55em; }
.book__intro p { color: var(--ink-2); max-width: 28em; }
.book__carry { border-top: 1px solid var(--ink); padding-top: 16px; margin-top: 28px; font: italic 400 1rem/1.5 var(--text); color: var(--ink) !important; }
.book__carry b { font-style: normal; font-weight: 500; }
.form { display: grid; gap: 26px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .field label { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; padding: 0; }
.form legend small, .field label small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; }
.seg legend { width: 100%; }
.seg label, .chips label, .days label { position: relative; cursor: pointer; }
.seg input, .chips input, .days input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); margin-right: -1px; transition: background .2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span, .chips input:focus-visible + span, .days input:focus-visible + span { outline: 2px solid var(--blue-ink); outline-offset: 2px; position: relative; z-index: 1; }
.days__row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.days span { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border: 1px solid var(--rule); transition: background .2s, border-color .2s; }
.days span b { font: 400 1.7rem/1 var(--display); }
.days span small { font-size: .82rem; color: var(--muted); text-align: center; line-height: 1.2; }
.days label:hover span { border-color: var(--ink); }
.days input:checked + span { background: var(--blue); border-color: var(--blue); }
.days input:checked + span small { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--rule); font-size: .95rem; transition: background .2s, border-color .2s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.row { display: grid; grid-template-columns: 1.2fr 1fr .6fr; gap: 16px; }
.field { display: grid; align-content: start; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid rgba(35, 31, 32, .4); border-radius: 0; min-height: 52px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 0; border-color: var(--blue-ink); }
.field input[aria-invalid=true] { border-color: #A3261E; }
.field__err { color: #A3261E; font-size: .9rem; margin: 6px 0 0; }
.form .btn { justify-self: start; }
.form__note { background: var(--mist); padding: 18px 20px; margin: 0; }
.form__note b { display: block; margin-bottom: 4px; }

/* ---- questions ---- */
.faq { padding: 0 0 var(--sec); }
.faq__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px clamp(40px, 6vw, 112px); padding-top: clamp(24px, 3vw, 48px); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font: 400 1.45rem/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--ink), var(--ink)) center / 16px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 38em; margin: 0 0 22px; }

/* ---- footer ---- */
.foot { background: var(--ink); color: var(--on-ink); padding: clamp(56px, 7vw, 96px) 0 24px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--on-ink-2); }
.foot a { color: var(--on-ink); }
.foot__h { font: 500 .8rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; color: var(--on-ink); }
.mark--light { color: var(--on-ink); margin-bottom: 18px; }
.foot__tm, .foot__demo { font-size: .82rem; max-width: 70em; margin-top: 40px; }
.foot__demo { margin-top: 8px; }
.foot__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(244, 241, 236, .16); margin-top: 32px; padding-top: 20px; }
.foot__last p { margin: 0; font-size: .85rem; }
.powered { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--on-ink) !important; text-decoration: none; opacity: .6; transition: opacity .2s; }
.powered:hover, .powered:focus-visible { opacity: 1; }
.powered img { height: 15px; width: auto; }

/* ---- gate and action dialogs ---- */
.gate, .act { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(35, 31, 32, .55); }
.gate[hidden], .act[hidden] { display: none; }
.gate__card, .act__card { background: var(--paper); max-width: 34rem; padding: clamp(24px, 4vw, 40px); box-shadow: 0 24px 60px rgba(35, 31, 32, .3); }
.gate__card h2, .act__card h2 { font-size: 1.6rem; line-height: 1.1; margin-bottom: .6em; }
.gate__card p, .act__card p { color: var(--ink-2); }
.gate__small { font-size: .92rem; }
.credit { font-size: .82rem; color: var(--muted) !important; margin: 18px 0 0; }
.gate-open body { overflow: hidden; }

/* ---- motion: the page arrives once ---- */
@media (prefers-reduced-motion: no-preference) {
  .cover__head h1 { animation: rise 1.1s var(--ease) both .15s; }
  .cover__more { animation: rise 1.1s var(--ease) both .35s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
}

/* ---- narrower ---- */
@media (max-width: 1180px) {
  .days__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dock { grid-template-columns: 1fr 1fr; }
  .dock__products { grid-column: 1 / -1; }
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --top: 64px; }
  .top__book { display: inline-flex; margin-left: auto; white-space: nowrap; padding: 0 14px; }
  .top__in { gap: 10px; }
  .menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: none; border: 1px solid var(--ink); font: 500 .85rem var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
  .menu svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 14px; min-height: 48px; }
  .mark__word { font-size: 1.6rem; }
  h2, .cover__head h1 { font-weight: 500; }

  .cover { height: auto; max-height: none; min-height: 0; grid-template-rows: auto auto auto auto; }
  .cover__stage { grid-area: 1 / 1 / 2 / 2; height: min(58svh, 520px); min-height: 360px; }
  .cover__head { grid-area: 1 / 1 / 2 / 2; max-width: none; padding-top: 18px; }
  .cover__head h1 { font-size: clamp(2.25rem, 10.5vw, 4.1rem); }
  .cover__head h1 em { display: inline; }
  .dock { grid-row: 2; grid-template-columns: 1fr; gap: 14px; padding: 12px var(--gut) 16px; }
  .dock__products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .prod { flex-direction: column; gap: 4px; padding: 8px 2px; text-align: center; min-height: 64px; }
  .prod span { justify-items: center; }
  .prod b { font-size: .9rem; }
  .prod small { font-size: .82rem; letter-spacing: -.01em; }
  .dock__ctl, .dock__sun { gap: 14px; }
  .cover__more { grid-area: 3 / 1 / 4 / 2; align-self: start; max-width: none; margin: 0; padding: 26px var(--gut) 8px; border-top: 1px solid var(--rule); }
  .cover__credit { grid-row: 4; }
  .cover__credit a { margin-left: 0; }

  .show { grid-template-columns: 1fr; }
  .show__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .show__text { padding: 48px var(--gut) var(--sec); }
  .range__head, .area__in, .book__in, .faq__in { grid-template-columns: 1fr; }
  .book__intro { position: static; }
  .homes__h, .homes__a, .homes__b, .quote { grid-column: 1 / -1; }
  .homes__b { margin-top: 28px; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .menu { padding: 0 10px; }
  .menu__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mark__word { font-size: 1.4rem; }
  .index, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .dock__sun { flex-wrap: wrap; }
  .facing { width: 100%; }
  .facing label { flex: 1; }
  .facing span { flex-direction: row; }
  .dock__ctl { flex-wrap: wrap; }
  .fabric { width: 100%; }
  .fabric label { flex: 1; }
}
.ctl__name output, .ctl__drag { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1380px) { .ctl__drag { display: none; } }
