/* HOUSELIGHT
   Plaster, ink and projector amber. A media room with a scene keypad that
   dims it, what we fit, a cinema designer that places speakers at Dolby's
   angles and prices the room, how it works, reviews, FAQ, design visit. */

:root {
  --background: #F2F0EB;
  --card: #FFFFFF;
  --foreground: #171614;
  --primary-cta: #171614;
  --primary-cta-text: #FFFFFF;
  --secondary-cta: transparent;
  --secondary-cta-text: #171614;
  --accent: #A4520F;
  --background-accent: #E7E4DD;
  --radius: 0.5rem;
  --content-width: 86vw;
  --section-head-size: var(--text-7xl);
  --nav-ink: var(--foreground);
  --font-body: 'Plein', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Clash Grotesk', 'Plein', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --tint: #E7E4DD;
  --line: #DCD8CF;
  --muted: #57534C;
  --glow: #F2A93B;
  --btn-radius: 6px;
  --btn-icon-radius: 4px;
  --card-radius: 8px;
  --nav-radius: 8px;
  --btn-icon-bg: rgba(255, 255, 255, 0.14);
  --nav-bg: rgba(242, 240, 235, 0.94);
  --lead-bg: #171614;
  --footer-bg: #171614;
  --footer-head: #F2A93B;
  --star: #A4520F;
}

@media (width >= 1600px) {
  :root { --content-width: clamp(40rem, 86vw, 94rem); }
}


/* --- Shared base for this batch: resets and the standard blocks ----------- */

.ambient { display: none; }
body { background: var(--background); }
figure, dd, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); }

.section-head h2,
.grad-head { background: none; color: var(--foreground); }
.section-head h2 { max-width: 17ch; line-height: 1.02; }
.section-head > p { max-width: 54ch; color: var(--muted); }
.section--flush { padding-top: 1rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Buttons */
.btn { height: 3.1rem; padding-inline: 1.4rem 0.5rem; border-radius: var(--btn-radius, 8px); font-size: var(--text-base); font-weight: 600; }
.btn:not(.btn--arrow) { padding-inline: 1.4rem; }
.btn--arrow .btn__icon { width: 2.05rem; height: 2.05rem; border-radius: var(--btn-icon-radius, 6px); background: var(--btn-icon-bg, rgba(0, 0, 0, 0.18)); color: var(--btn-icon-ink, currentColor); }
.btn--arrow .btn__icon svg { width: 1rem; height: 1rem; }
.primary-button, .secondary-button { box-shadow: none; }
.secondary-button { border: 1px solid var(--foreground); }
.secondary-button.btn--arrow .btn__icon { background: var(--foreground); color: var(--background); }

/* Nav */
.navbar--bar .navbar__bar {
  background: var(--nav-bg, rgba(255, 255, 255, 0.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nav-line, var(--line));
  border-radius: var(--nav-radius, 10px);
}
.navbar__brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.01em; }
.navbar__toggle { border: 1px solid var(--nav-line, var(--line)); background: transparent; }
.navbar--bar .navbar__actions .btn { height: 2.65rem; }

/* Menu open: the panel behind the bar is dark, so the bar goes clear and the
   brand and close button, which the core turns white, stay readable. */
.nav-open .navbar--bar .navbar__bar { background: transparent; border-color: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Long menu words ("Conservatories") in a wide face overran a phone screen. */
@media (width <= 640px) {
  .navbar__panel a { font-size: clamp(1.9rem, 9vw, 3.25rem); }
}

/* Stars */
.stars { display: flex; gap: 0.2rem; color: var(--star, #C98A0B); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.reviews--lead { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.review { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.review blockquote { font-size: var(--text-lg); line-height: 1.55; }
.review__tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.review__who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; font-size: var(--text-sm); color: var(--muted); }
.review__who strong { display: block; font-size: var(--text-base); color: var(--foreground); }
.review__who img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; flex: none; }
.review--lead { background: var(--lead-bg, var(--foreground)); border-color: var(--lead-bg, var(--foreground)); color: var(--lead-ink, #fff); }
.review--lead blockquote { font-family: var(--font-heading); font-size: var(--text-3xl); line-height: 1.22; }
.review--lead .review__who, .review--lead .review__tag { color: var(--lead-muted, rgba(255, 255, 255, 0.78)); }
.review--lead .review__who strong { color: var(--lead-ink, #fff); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__intro { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.faq__intro h2, .faq__body h2 { font-size: var(--section-head-size); line-height: 1.02; max-width: 13ch; }
.faq__intro > p:not(.kicker) { max-width: 40ch; font-size: var(--text-lg); line-height: 1.55; color: var(--muted); }
.faq__body { display: flex; flex-direction: column; gap: 1.2rem; }
.faq__media img { width: 100%; height: 36rem; object-fit: cover; border-radius: var(--card-radius, 10px); }
.accordion__item { border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.accordion__trigger h3 { font-size: var(--text-xl); }
.accordion .badge-num { width: 2.1rem; height: 2.1rem; flex: none; border-radius: var(--btn-icon-radius, 6px); }
.accordion .badge-num svg { width: 1rem; height: 1rem; transition: transform 0.3s; }
.accordion__item[data-open='true'] .badge-num svg { transform: rotate(45deg); }
.accordion__panel p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.contact__panel { display: flex; flex-direction: column; gap: 0.9rem; padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--card-radius, 10px); background: var(--card); }
.contact__panel h2 { font-size: var(--text-6xl); line-height: 1.02; max-width: 13ch; }
.contact__panel > p:not(.kicker) { font-size: var(--text-lg); line-height: 1.5; color: var(--muted); margin-bottom: 0.5rem; }
.contact__panel .form button { height: 3.25rem; border-radius: var(--btn-radius, 8px); font-weight: 600; }
.form input, .form select, .form textarea { border-radius: var(--btn-radius, 8px); background: var(--field, #FCFBF8); }
.contact__media { position: relative; overflow: hidden; border-radius: var(--card-radius, 10px); }
.contact__media img { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; }
.contact__media figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  border-radius: var(--btn-radius, 8px);
  background: var(--card);
  color: var(--foreground);
  font-size: var(--text-sm);
  font-weight: 500;
}
.contact__media figcaption a { display: inline-flex; align-items: center; flex: none; height: 2.6rem; padding-inline: 1rem; border-radius: var(--btn-icon-radius, 6px); background: var(--primary-cta); color: var(--primary-cta-text); font-weight: 600; }

/* Footer */
.site-footer { padding-block: 4.5rem 3rem; border-radius: 0; background: var(--footer-bg, var(--foreground)); color: var(--footer-ink, #fff); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.footer-brand { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 700; line-height: 1.05; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2.5rem; }
.footer-nav h3 { margin-bottom: 1rem; font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--footer-head, rgba(255, 255, 255, 0.75)); }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: var(--text-lg); color: var(--footer-link, rgba(255, 255, 255, 0.88)); transition: color 0.2s; }
.footer-nav a:hover { color: var(--footer-ink, #fff); }
.footer-legal-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--footer-line, rgba(255, 255, 255, 0.15)); font-size: var(--text-base); color: var(--footer-muted, rgba(255, 255, 255, 0.72)); }
.footer-legal-bar div { display: flex; gap: 1.25rem; }

@media (width <= 1100px) {
  .reviews--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews--lead .review--lead { grid-column: 1 / -1; }
}

@media (width <= 960px) {
  .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .faq__media img { height: 22rem; }
}

@media (width <= 768px) {
  .faq__intro h2, .faq__body h2 { font-size: var(--text-6xl); }
  .contact__panel { padding: 1.5rem; }
  .contact__panel h2 { font-size: var(--text-6xl); }
  .contact__media img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .contact__media figcaption { position: static; border-radius: 0; flex-wrap: wrap; }
  .review--lead blockquote { font-size: var(--text-2xl); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .footer-brand { font-size: var(--text-4xl); }
}


.hero__title, .section-head h2, .faq__intro h2, .faq__body h2, .contact__panel h2, .footer-brand { font-weight: 500; letter-spacing: -0.025em; }
.navbar__brand { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.navbar__brand::before { content: ''; width: 0.7rem; height: 0.7rem; flex: none; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.28); }
.kicker { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.12em; }

/* --- Hero: the room, and the keypad that runs it --------------------------------- */

.hero { padding-top: 8.25rem; padding-bottom: 4.5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.35rem; }
.hero__title { max-width: 11ch; font-size: clamp(3.2rem, 5.8vw, 6.4rem); line-height: 0.98; }
.hero__lede { max-width: 42ch; font-size: var(--text-xl); line-height: 1.55; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 34rem; margin-top: 0.4rem; border-top: 1px solid var(--line); }
.hero__facts li { padding: 0.9rem 0.8rem 0 0; font-size: var(--text-sm); color: var(--muted); }
.hero__facts b { display: block; font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 500; color: var(--foreground); }
.hero__visual { position: relative; padding: 0 0 2.5rem 3.5rem; }
.hero__photo { display: block; width: 100%; height: min(72svh, 40rem); min-height: 27rem; object-fit: cover; object-position: 30% 50%; border-radius: var(--card-radius); transition: filter 1.4s cubic-bezier(0.32, 0.72, 0, 1); }
.hero__visual[data-scene='movie'] .hero__photo { filter: brightness(0.34) saturate(0.85); }
.hero__visual[data-scene='dinner'] .hero__photo { filter: brightness(0.8) sepia(0.3) saturate(1.2); }
.hero__visual[data-scene='night'] .hero__photo { filter: brightness(0.22) saturate(0.45); }
.keypad { position: absolute; left: 0; bottom: 0; width: 14.5rem; padding: 1rem 1rem 0.9rem; border-radius: 14px; background: linear-gradient(160deg, #FBFAF7, #ECE8E0); box-shadow: 0 24px 50px -22px rgba(23, 22, 20, 0.55), inset 0 1px 0 #FFFFFF; }
.keypad__room { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.keypad__room i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #5BA86A; }
.keypad__btns { display: grid; gap: 0.4rem; }
.keypad__btns button { display: flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; padding: 0 0.85rem; border: 1px solid #D8D2C7; border-radius: 8px; background: #FFFFFF; color: var(--foreground); font: inherit; font-family: var(--font-heading); font-size: var(--text-base); font-weight: 500; text-align: left; cursor: pointer; transition: background 0.3s, border-color 0.3s; }
.keypad__btns i { width: 0.5rem; height: 0.5rem; flex: none; border-radius: 50%; background: #D8D2C7; transition: background 0.3s, box-shadow 0.3s; }
.keypad__btns button[aria-pressed='true'] { border-color: var(--foreground); }
.keypad__btns button[aria-pressed='true'] i { background: var(--glow); box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.3); }
.keypad__btns button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.keypad__read { min-height: 2.6em; margin-top: 0.75rem; font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.45; color: var(--muted); }

/* --- What we fit --------------------------------------------------------------------- */

.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.svc__card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--card); }
.svc__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc__card div { display: flex; flex: 1; flex-direction: column; gap: 0.45rem; padding: 1.1rem 1.15rem 1.25rem; }
.svc__card h3 { font-size: var(--text-2xl); font-weight: 500; }
.svc__card p { font-size: var(--text-sm); line-height: 1.55; color: var(--muted); }
.svc__card b { margin-top: auto; padding-top: 0.4rem; font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 500; color: var(--accent); }

/* --- Cinema designer --------------------------------------------------------------------- */

.section--tint { background: var(--tint); }
.cin { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 1rem; align-items: start; }
.cin__stage { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.2rem; border-radius: var(--card-radius); background: #FBFAF7; background-image: linear-gradient(rgba(23, 22, 20, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 22, 20, 0.04) 1px, transparent 1px); background-size: 24px 24px; }
.cin__svg { display: block; width: 100%; height: 38rem; }
.cin__svg text { font-family: var(--font-mono); font-weight: 500; fill: #171614; }
.cin__svg .cl-lab { font-family: var(--font-heading); font-weight: 500; }
.cin__svg .cl-tag { fill: #3B3934; }
.cin__svg .cl-deg { fill: #A4520F; }
.cin__key { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; font-size: var(--text-sm); color: var(--muted); }
.cin__key li { display: inline-flex; align-items: center; gap: 0.45rem; }
.k { display: inline-block; width: 0.95rem; height: 0.95rem; flex: none; border-radius: 50%; }
.k--spk { background: #D07A1E; box-shadow: inset 0 0 0 1.5px #171614; }
.k--top { background: #FFFFFF; box-shadow: inset 0 0 0 2.5px #D07A1E; }
.k--seat { border-radius: 3px; background: #3B3934; }
.k--mlp { background: #F2A93B; box-shadow: 0 0 0 2px #FBFAF7, 0 0 0 3.5px #171614; }
.cin__side { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--card); }
.sl { display: grid; gap: 0.1rem; font-weight: 500; }
.sl > span { display: flex; justify-content: space-between; align-items: baseline; }
.sl output { font-family: var(--font-mono); font-size: var(--text-lg); font-weight: 500; }
.sl input { width: 100%; height: 2.6rem; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sl input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: #DCD8CF; }
.sl input::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -10px; border: 5px solid #FFFFFF; border-radius: 50%; background: var(--foreground); box-shadow: 0 0 0 1px rgba(23, 22, 20, 0.35); -webkit-appearance: none; }
.sl input::-moz-range-track { height: 4px; border-radius: 4px; background: #DCD8CF; }
.sl input::-moz-range-thumb { width: 14px; height: 14px; border: 5px solid #FFFFFF; border-radius: 50%; background: var(--foreground); }
.sl input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.lab { margin-top: 0.35rem; font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.seg { display: flex; gap: 0.2rem; padding: 0.25rem; border-radius: 8px; background: var(--background); }
.seg button { flex: 1; min-height: 2.75rem; padding: 0 0.45rem; border: 0; border-radius: 6px; background: transparent; color: var(--foreground); font: inherit; font-size: var(--text-sm); font-weight: 500; cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--primary-cta); color: #FFFFFF; }
.cin__note { padding: 0.6rem 0.8rem; border-radius: 6px; background: #FBF1E3; font-size: var(--text-sm); color: #7A3E0B; }
.cin__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin: 0.4rem 0 0; }
.cin__stats div { padding: 0.7rem 0.75rem; border-radius: 6px; background: var(--background); }
.cin__stats dt { font-size: var(--text-xs); color: var(--muted); }
.cin__stats dd { margin: 0.15rem 0 0; font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 500; }
.cin__out { display: grid; gap: 0.4rem; margin-top: 0.3rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.cin__price { font-size: var(--text-base); color: var(--muted); }
.cin__price b { font-family: var(--font-heading); font-size: var(--text-5xl); font-weight: 500; line-height: 1; color: var(--foreground); }
.cin__lines { display: grid; gap: 0.25rem; margin: 0; font-size: var(--text-sm); color: var(--muted); }
.cin__lines div { display: flex; justify-content: space-between; gap: 1rem; }
.cin__lines dd { margin: 0; font-family: var(--font-mono); font-weight: 500; color: var(--foreground); white-space: nowrap; }
.cin__side .btn { align-self: flex-start; margin-top: 0.6rem; }

/* --- How it works -------------------------------------------------------------------------- */

.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.how li { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1.1rem; border-top: 2px solid var(--foreground); }
.how__n { font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 500; color: var(--accent); }
.how h3 { font-size: var(--text-2xl); font-weight: 500; }
.how p { line-height: 1.55; color: var(--muted); }

/* --- Standard blocks -------------------------------------------------------------------------- */

.accordion .badge-num { background: var(--primary-cta); color: #FFFFFF; }
.review__tag { font-family: var(--font-mono); font-weight: 500; }

/* --- Laptop and below -------------------------------------------------------------------------- */

@media (width <= 1100px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cin { grid-template-columns: minmax(0, 1fr); }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}

@media (width <= 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (width <= 768px) {
  .hero { padding-top: 6.75rem; padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.8rem, 12.5vw, 4rem); }
  .hero__lede { font-size: var(--text-lg); }
  .hero__facts b { font-size: var(--text-xl); }
  .hero__visual { padding: 0; }
  .hero__photo { height: 20rem; min-height: 0; }
  .keypad { position: relative; width: auto; margin: -3rem 0.8rem 0; }
  .keypad__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc__card { display: grid; grid-template-columns: 8rem minmax(0, 1fr); }
  .svc__card img { height: 100%; aspect-ratio: auto; min-height: 10rem; }
  .svc__card div { padding: 0.95rem 1rem; }
  .cin__stage { padding: 0.7rem; }
  .cin__svg { height: 28rem; }
  .cin__side { padding: 1.1rem; }
  .cin__stats dd { font-size: var(--text-xl); }
  .cin__price b { font-size: var(--text-4xl); }
  .how { grid-template-columns: minmax(0, 1fr); row-gap: 1.4rem; }
}
