/*
 * Home page (Claude Design: Site Home). The design computes its responsive
 * values in script; here they are media queries at the same breakpoints
 * (640 / 900 / 1000 / 1240px) so the first paint is already correct.
 */
.h-page { background: var(--d-bg); overflow-x: clip; }
.h-page h1, .h-page h2, .h-page h3, .h-page p, .h-page blockquote { margin: 0; }
.h-page .d-eyebrow { margin: 0 0 20px; }
.h-h2 { font-family: var(--d-serif); font-weight: 300; font-size: clamp(36px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -0.02em; color: var(--d-text); text-wrap: balance; }
.h-chip { position: absolute; top: 14px; border-radius: 999px; background: rgba(19, 19, 19, 0.82); padding: 6px 12px; font-family: var(--d-label); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--d-text); pointer-events: none; }
.h-chip--l { left: 14px; }
.h-chip--r { right: 14px; color: var(--d-teal); }
.h-handle { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--d-teal); color: var(--d-ink); display: flex; align-items: center; justify-content: center; cursor: ew-resize; box-shadow: 0 4px 30px rgba(91, 184, 196, 0.25); touch-action: none; }
.h-seam { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--d-teal); pointer-events: none; }
.h-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- hero */
.h-hero { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; display: flex; align-items: flex-end; overflow: hidden; background: var(--d-ink); }
.h-slide img { object-fit: cover; }
.h-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1); transition: opacity 1800ms ease-out, transform 0ms linear 1800ms; }
.h-slide.is-on { opacity: 1; transition: opacity 1800ms ease-out, transform 9000ms linear; }
.h-hero.is-playing .h-slide.is-on { transform: scale(1.08); }
.h-hero__shade1 { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(14, 14, 14, 0.94) 0%, rgba(14, 14, 14, 0.78) 45%, rgba(14, 14, 14, 0.35) 75%, rgba(14, 14, 14, 0.15) 86%, rgba(14, 14, 14, 0.72) 100%); }
.h-hero__shade2 { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, rgba(14, 14, 14, 0.7), rgba(14, 14, 14, 0.25) 60%, rgba(14, 14, 14, 0)); }
.h-hero__in { position: relative; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px) clamp(40px, 7vh, 88px); }
.h-hero__eyebrow { font-family: var(--d-label); color: var(--d-teal-soft); font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; margin: 0 0 28px !important; }
.h-hero h1 { font-family: var(--d-serif); font-weight: 300; font-size: clamp(40px, 10vw, 136px); line-height: 0.96; letter-spacing: -0.025em; color: #F2F2F2; max-width: 1100px; text-wrap: balance; }
.h-hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; margin-top: clamp(36px, 5vh, 56px); }
.h-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.h-hero__photo { font-size: 16px; color: var(--d-text); display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(226, 226, 226, 0.35); padding-bottom: 4px; }
.h-hero__photo:hover { color: var(--d-teal); border-color: var(--d-teal); }
.h-hero__photo span { color: var(--d-teal); }
.h-hero__meta { display: flex; align-items: center; gap: 20px; }
.h-hero__meta > span { font-family: var(--d-label); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #BDBDBD; }
.h-play { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(226, 226, 226, 0.25); background: none; color: var(--d-text); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* Fills over each slide's 7s; its animationend is what advances the slideshow, so pause freezes both. */
.h-play__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.h-play__ring circle { fill: none; stroke: var(--d-teal); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: h-ring 7000ms linear both; animation-play-state: paused; }
.h-hero.is-playing .h-play__ring circle { animation-play-state: running; }
@keyframes h-ring { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.h-play:hover { border-color: var(--d-teal); color: var(--d-teal); }
.h-play .is-play { display: none; }
.h-hero:not(.is-playing) .h-play .is-play { display: inline-flex; }
.h-hero:not(.is-playing) .h-play .is-pause { display: none; }
@keyframes h-rise-20 { from { opacity: 0.01; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes h-rise-30 { from { opacity: 0.01; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.h-in1 { animation: h-rise-20 900ms cubic-bezier(0.25, 0.1, 0.25, 1) 280ms both; }
.h-in2 { animation: h-rise-30 1000ms cubic-bezier(0.25, 0.1, 0.25, 1) 480ms both; }
.h-in3 { animation: h-rise-20 900ms cubic-bezier(0.25, 0.1, 0.25, 1) 830ms both; }

/* ----------------------------------------------------------- statement */
.h-statement { background: var(--d-bg); padding: clamp(104px, 13vw, 192px) 0 clamp(88px, 10vw, 144px); }
.h-statement .d-eyebrow { margin-bottom: 40px; }
.h-statement__big { font-family: var(--d-serif); font-weight: 300; font-size: clamp(26px, 4.4vw, 68px); line-height: 1.18; letter-spacing: -0.015em; color: var(--d-text); max-width: 1180px; text-wrap: pretty; }
.h-statement__big span { color: #7A7A7A; }
.h-diffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 48px; margin-top: clamp(72px, 9vw, 128px); }
.h-diffs > div { padding-top: 22px; border-top: 1px solid var(--d-line); }
.h-diffs h3 { font-family: var(--d-sans); font-weight: 600; font-size: 17px; color: var(--d-text); margin-bottom: 10px; }
.h-diffs p { color: var(--d-muted); font-size: 15px; line-height: 1.625; text-wrap: pretty; }

/* ---------------------------------------------------- room chapters */
.h-chap { position: sticky; top: 0; height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--d-ink); }
.h-chap + .h-chap { box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.5); }
.h-chap__shade1 { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(14, 14, 14, 0.95) 0%, rgba(14, 14, 14, 0.8) 40%, rgba(14, 14, 14, 0.45) 65%, rgba(14, 14, 14, 0) 85%); }
.h-chap__shade2 { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to left, rgba(14, 14, 14, 0.6), rgba(14, 14, 14, 0) 50%); }
.h-chap__content { position: relative; left: 0; right: 0; bottom: 0; }
.h-chap__grid { max-width: 1440px; margin: 0 auto; padding: 120px clamp(20px, 4vw, 48px) 136px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: end; }
.h-chap__num { font-family: var(--d-label); font-size: 12px; letter-spacing: 0.22em; color: var(--d-teal-soft); margin: 0 0 20px !important; }
.h-chap h2 { font-family: var(--d-serif); font-weight: 300; font-size: clamp(48px, 14vw, 96px); line-height: 0.9; letter-spacing: -0.03em; color: #F2F2F2; margin-bottom: 16px; }
.h-chap__lede { font-size: 16px; line-height: 1.6; color: #D0D0D0; margin-bottom: 20px !important; max-width: 460px; text-wrap: pretty; }
.h-chap__explore { font-family: var(--d-label); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--d-teal); }
.h-chap nav { display: flex; flex-direction: column; }
.h-chap nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(226, 226, 226, 0.2); font-family: var(--d-serif); font-size: 20px; color: var(--d-text); transition: all 300ms ease-out; }
.h-chap nav a:last-child { border-bottom: 1px solid rgba(226, 226, 226, 0.2); }
.h-chap nav a:hover { color: var(--d-teal); padding-left: 8px; }
.h-chap nav a span { font-family: var(--d-label); font-size: 14px; }
@media (min-width: 900px) {
  .h-chap { height: 100vh; min-height: 640px; }
  .h-chap__content { position: absolute; }
  .h-chap__grid { padding: 0 clamp(20px, 4vw, 48px) clamp(80px, 13vh, 150px); grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 40px 64px; }
  .h-chap h2 { font-size: clamp(64px, 11vw, 176px); margin-bottom: 24px; }
  .h-chap__lede { font-size: 18px; margin-bottom: 28px !important; }
  .h-chap nav a { padding: 14px 0; font-size: 24px; }
}

/* ------------------------------------------------------------ process */
.h-proc { position: relative; z-index: 1; background: var(--d-bg); height: auto; }
.h-proc__pin { position: relative; top: 0; min-height: 0; display: flex; align-items: center; }
.h-proc__grid { width: 100%; max-width: 1440px; margin: 0 auto; padding: 88px clamp(20px, 4vw, 48px) 104px; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.h-proc h2 { margin-bottom: clamp(12px, 3vh, 48px); font-size: 32px; }
.h-proc__steps { position: relative; padding-left: 28px; }
.h-proc__track, .h-proc__line { position: absolute; left: 0; top: 6px; width: 1px; }
.h-proc__track { bottom: 6px; background: var(--d-line); }
.h-proc__line { height: calc(0% - 12px); background: var(--d-teal); }
.h-step { padding: clamp(6px, 1.6vh, 20px) 0; opacity: 0.32; transition: opacity 400ms ease-out; }
.h-step.is-on { opacity: 1; }
.h-step__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 6px; }
.h-step__head span:first-child { font-family: var(--d-serif); font-size: 22px; color: var(--d-teal); }
.h-step__head span:last-child { font-size: 20px; font-weight: 600; color: var(--d-text); }
.h-step p { padding-left: 38px; color: var(--d-muted); font-size: 15px; line-height: 1.6; max-width: 440px; overflow: hidden; max-height: 120px; transition: max-height 500ms var(--d-ease); }
.h-proc__img { position: sticky; top: 72px; z-index: 2; align-self: start; order: -1; height: min(56vw, 300px); border-radius: 6px; overflow: hidden; background: var(--d-bg-low); box-shadow: 0 0 0 20px #131313, 0 -90px 0 20px #131313, 0 36px 28px 18px #131313; }
.h-proc__img .h-cover + .h-cover { clip-path: inset(0 100% 0 0); }
.h-proc__seam { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--d-teal); left: 0; opacity: 0; }
.h-proc__img .h-chip { top: 16px; }
.h-proc__img .h-chip--l { left: 16px; color: var(--d-teal); opacity: 0; }
.h-proc__img .h-chip--r { right: 16px; color: var(--d-text); }
@media (min-width: 900px) {
  .h-proc { height: 300vh; }
  .h-proc__pin { position: sticky; min-height: 100vh; }
  .h-proc__grid { padding: clamp(76px, 10vh, 112px) clamp(20px, 4vw, 48px) clamp(16px, 3vh, 48px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .h-proc h2 { font-size: clamp(36px, 4.4vw, 68px); }
  .h-proc__img { position: relative; order: 0; height: min(64vh, 640px); box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5); }
}
@media (min-width: 900px) and (max-height: 719px) {
  .h-proc h2 { font-size: clamp(32px, 3.6vw, 52px); }
  .h-proc__img { height: min(56vh, 640px); }
  .h-step:not(.is-on) p { max-height: 0; }
}

/* ------------------------------------------------------- room designer */
.h-designer { position: relative; z-index: 1; background: var(--d-bg-low); padding: clamp(96px, 12vw, 176px) 0; scroll-margin-top: 40px; }
.h-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-bottom: clamp(48px, 6vw, 80px); }
.h-split > p { color: var(--d-muted); font-size: 17px; line-height: 1.625; max-width: 440px; text-wrap: pretty; }
.h-tool { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.h-tool__opts { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.h-label { font-family: var(--d-label); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--d-muted); margin: 0 0 12px !important; }
.h-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--d-bg); border-radius: 6px; }
.h-rooms button { padding: 12px 8px; border-radius: 4px; border: 0; background: transparent; color: var(--d-muted); font-family: var(--d-sans); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 200ms ease-out; }
.h-rooms button[aria-pressed="true"] { background: var(--d-bg-high); color: var(--d-text); }
.h-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.h-styles[hidden] { display: none; }
.h-style { padding: 0; border: 0; background: var(--d-bg); border-radius: 6px; overflow: hidden; cursor: pointer; text-align: left; box-shadow: 0 0 0 1px rgba(226, 226, 226, 0.08); transition: box-shadow 200ms ease-out; }
.h-style[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--d-teal); }
.h-style__img { display: block; aspect-ratio: 3 / 2; background-size: cover; background-position: center; }
.h-style__txt { display: block; padding: 10px 12px 12px; }
.h-style__txt b { display: block; font-family: var(--d-sans); font-size: 14px; font-weight: 600; color: var(--d-text); }
.h-style[aria-pressed="true"] .h-style__txt b, .h-pal[aria-pressed="true"] > span:last-child { color: var(--d-teal); }
.h-style__txt small { display: block; font-family: var(--d-sans); font-size: 12px; line-height: 1.45; color: var(--d-muted); margin-top: 3px; }
.h-pals { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.h-pal { padding: 8px; border: 0; background: var(--d-bg); border-radius: 6px; cursor: pointer; text-align: left; box-shadow: 0 0 0 1px rgba(226, 226, 226, 0.08); transition: box-shadow 200ms ease-out; display: flex; flex-direction: column; gap: 8px; }
.h-pal[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--d-teal); }
.h-pal__sw { display: flex; height: 28px; border-radius: 4px; overflow: hidden; }
.h-pal__sw span { flex: 1; }
.h-pal > span:last-child { font-family: var(--d-sans); font-size: 12px; font-weight: 500; color: var(--d-text); }
.h-gen { position: sticky; bottom: 96px; z-index: 3; padding: 20px 32px; border-radius: 4px; border: 0; background: var(--d-teal); color: var(--d-ink); font-family: var(--d-sans); font-size: 16px; font-weight: 600; cursor: pointer; transition: transform 300ms ease-out; box-shadow: 0 4px 30px rgba(91, 184, 196, 0.25), 0 12px 40px rgba(0, 0, 0, 0.6); }
.h-gen:hover { transform: scale(1.02); }
.h-gen[aria-busy="true"] { opacity: 0.6; }
.h-stage-wrap { min-width: 0; position: relative; order: -1; scroll-margin-top: 76px; }
.h-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--d-bg); box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5); outline: 2px solid transparent; outline-offset: -2px; user-select: none; }
.h-stage.is-drag { outline-color: var(--d-teal); }
.h-stage__before, .h-stage__after { position: absolute; inset: 0; background-size: cover; background-position: center; }
.h-stage [data-phase] { display: none; }
.h-stage[data-state="empty"] [data-phase~="empty"], .h-stage[data-state="photo"] [data-phase~="photo"], .h-stage[data-state="rendering"] [data-phase~="rendering"], .h-stage[data-state="done"] [data-phase~="done"] { display: block; }
.h-stage__pick { position: absolute; inset: 0; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; cursor: pointer; background: rgba(14, 14, 14, 0.72); border: 1px dashed rgba(226, 226, 226, 0.35); border-radius: 6px; transition: all 200ms ease-out; }
.h-stage:not([data-state="empty"]) .h-stage__pick { display: none !important; }
.h-stage__pick:hover { background: rgba(14, 14, 14, 0.62); }
.h-stage.is-drag .h-stage__pick { border-color: var(--d-teal); }
.h-stage__cam { width: 64px; height: 64px; border-radius: 50%; background: var(--d-teal); color: var(--d-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 30px rgba(91, 184, 196, 0.3); }
.h-stage__pick b { font-family: var(--d-serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; color: #F2F2F2; }
.h-stage__pick small { font-size: 14px; line-height: 1.5; color: #BDBDBD; max-width: 320px; }
.h-stage__pick em { font-style: normal; font-family: var(--d-label); font-size: 11px; letter-spacing: 0.04em; color: var(--d-muted); }
.h-hint-touch { display: none; }
@media (max-width: 759px) { .h-hint-touch { display: inline; } .h-hint-mouse { display: none; } }
.h-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.h-change { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 4px; background: rgba(19, 19, 19, 0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(226, 226, 226, 0.2); color: var(--d-text); font-family: var(--d-sans); font-size: 14px; font-weight: 500; cursor: pointer; }
.h-change:hover { border-color: var(--d-teal); color: var(--d-teal); }
.h-scan__dim { position: absolute; inset: 0; background: rgba(14, 14, 14, 0.45); }
.h-scan__ghost { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(6px) saturate(0.6); opacity: 0.75; clip-path: inset(0 0 100% 0); }
.h-scan__line { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: var(--d-teal); box-shadow: 0 0 24px 6px rgba(91, 184, 196, 0.45); }
.h-scan__bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 24px; background: linear-gradient(to top, rgba(14, 14, 14, 0.9), rgba(14, 14, 14, 0)); display: flex !important; align-items: center; justify-content: space-between; gap: 16px; }
.h-stage:not([data-state="rendering"]) .h-scan__bar { display: none !important; }
.h-scan__bar span:first-child { font-family: var(--d-serif); font-size: 22px; color: var(--d-text); }
.h-scan__bar span:last-child { font-family: var(--d-label); font-size: 12px; letter-spacing: 0.12em; color: var(--d-teal); }
.h-stage__after { clip-path: inset(0 0 0 50%); }
.h-tool__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 14px; }
.h-tool__meta > span:first-child { font-size: 14px; color: var(--d-text); font-weight: 500; }
.h-note { display: inline-flex; align-items: center; gap: 6px; font-family: var(--d-label); font-size: 11px; letter-spacing: 0.04em; color: var(--d-muted); }
.h-tool__after { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--d-line); }
.h-tool__after[hidden] { display: none; }
.h-send { display: flex; gap: 8px; }
.h-input { flex: 1; min-width: 0; background: var(--d-bg); border: 1px solid var(--d-line); border-radius: 8px; padding: 14px 16px; color: var(--d-text); font-family: var(--d-sans); font-size: 15px; outline: none; }
.h-input:focus { border-color: var(--d-teal); box-shadow: 0 0 0 2px rgba(91, 184, 196, 0.2), 0 0 0 4px rgba(91, 184, 196, 0.1); }
.h-outline-btn { padding: 0 20px; border-radius: 4px; border: 1px solid var(--d-teal); background: none; color: var(--d-teal); font-family: var(--d-sans); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.h-outline-btn:hover:not(:disabled) { background: var(--d-teal); color: var(--d-ink); }
.h-outline-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.h-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; cursor: pointer; font-size: 13px; line-height: 1.55; color: var(--d-muted); }
.h-consent input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--d-teal); flex-shrink: 0; }
.h-consent a { color: var(--d-teal); text-decoration: underline; }
.h-turnstile { margin-top: 14px; }
.h-tool__msg { margin: 14px 0 0 !important; font-size: 14px; line-height: 1.6; color: var(--d-text); }
.h-tool__msg.is-error { color: #F0A0A0; }
.h-done { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px 24px; align-items: end; }
.h-done p { font-size: 15px; line-height: 1.6; color: var(--d-text); }
@media (min-width: 640px) { .h-done { grid-template-columns: 1fr auto; } .h-done .d-btn { white-space: nowrap; } }
@media (min-width: 1000px) {
  .h-tool { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .h-stage-wrap { position: sticky; top: 110px; order: 0; }
  .h-gen { position: relative; bottom: auto; box-shadow: 0 4px 30px rgba(91, 184, 196, 0.25); }
}

/* ----------------------------------------------------------- projects */
.h-projects { position: relative; z-index: 1; background: var(--d-bg); padding: clamp(96px, 12vw, 176px) 0; }
.h-projects .h-split { margin-bottom: clamp(48px, 6vw, 88px); }
.h-google { display: flex; align-items: center; gap: 12px; }
.h-google span { font-size: 14px; color: var(--d-muted); }
.h-google span span { color: var(--d-teal); }
.h-cases { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 120px); }
.h-case { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.h-case__img { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--d-bg-low); user-select: none; }
.h-case__before { position: absolute; inset: 0; }
.h-case figure { margin: 0; }
.h-case figure > p { font-family: var(--d-label); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--d-teal); margin: 0 0 20px !important; }
.h-case blockquote { margin: 0 0 24px !important; font-family: var(--d-serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; color: var(--d-text); text-wrap: pretty; }
.h-case figcaption { font-size: 15px; font-weight: 600; color: var(--d-text); }
@media (min-width: 900px) {
  .h-case { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .h-case:nth-child(even) .h-case__img { order: 2; }
  .h-case:nth-child(even) figure { order: 1; }
}

/* ----------------------------------------------------------- showroom */
.h-showroom { position: relative; z-index: 1; min-height: clamp(640px, 90vh, 960px); display: flex; align-items: flex-end; overflow: hidden; background: var(--d-ink); }
.h-showroom__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(14, 14, 14, 0.96) 0%, rgba(14, 14, 14, 0.85) 50%, rgba(14, 14, 14, 0.3) 85%, rgba(14, 14, 14, 0.1) 100%); }
@media (min-width: 900px) { .h-showroom__shade { background: linear-gradient(to right, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.6) 45%, rgba(14, 14, 14, 0.05) 80%); } }
.h-showroom__in { position: relative; width: 100%; max-width: 1440px; margin: 0 auto; padding: clamp(96px, 10vw, 144px) clamp(20px, 4vw, 48px); }
.h-showroom__box { max-width: 560px; }
.h-showroom h2 { color: #F2F2F2; margin-bottom: 20px; }
.h-showroom__lede { color: #D0D0D0; font-size: 17px; line-height: 1.625; margin-bottom: 40px !important; }
.h-showroom__info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; padding-top: 28px; border-top: 1px solid rgba(226, 226, 226, 0.2); }
.h-showroom__addr { font-size: 15px; line-height: 1.6; }
.h-showroom__addr p:first-child { color: var(--d-text); font-weight: 500; }
.h-showroom__addr p + p { color: #BDBDBD; }
.h-showroom__addr a { display: inline-block; margin-top: 12px; font-family: var(--d-label); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--d-teal); }
.h-showroom dl { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.h-showroom dl div { display: flex; justify-content: space-between; gap: 16px; }
.h-showroom dt { color: #BDBDBD; }
.h-showroom dd { margin: 0; color: var(--d-text); font-weight: 500; }

/* ---------------------------------------------------------------- faq */
.h-faq { position: relative; z-index: 1; background: var(--d-bg); padding: clamp(96px, 12vw, 176px) 0; }
.h-faq__in { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: flex-start; }
.h-faq__intro { flex: 1 1 300px; }
.h-faq__intro h2 { margin-bottom: 20px; }
.h-faq__intro p { color: var(--d-muted); font-size: 15px; line-height: 1.625; }
.h-faq__intro p a { color: var(--d-teal); font-weight: 500; }
.h-faq__list { flex: 2 1 520px; min-width: 0; }

/* ---------------------------------------------------------- final cta */
.h-final { position: relative; z-index: 1; background: var(--d-bg-low); padding: clamp(104px, 13vw, 192px) 0; overflow: hidden; }
.h-final::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, rgba(91, 184, 196, 0.1), transparent 60%); }
.h-final__in { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.h-final .d-eyebrow { margin-bottom: 28px; }
.h-final h2 { font-family: var(--d-serif); font-weight: 300; font-size: clamp(36px, 6.4vw, 104px); line-height: 1; letter-spacing: -0.025em; color: #F2F2F2; margin-bottom: 28px; text-wrap: balance; }
.h-final__lede { color: var(--d-muted); font-size: 18px; line-height: 1.6; margin-bottom: 48px !important; max-width: 600px; text-wrap: pretty; }
.h-final__ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; }
.h-final__ctas > a:last-child { font-size: 16px; color: var(--d-text); }
.h-final__ctas > a:last-child span { color: var(--d-teal); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .h-in1, .h-in2, .h-in3 { animation: none; }
  .h-slide, .h-slide.is-on { transition: opacity 600ms ease-out; transform: none !important; }
  .h-step, .h-step p, .h-acc__a, .h-acc__q svg { transition: none; }
}

/* Site Room Designer: the tool as a page of its own, under the header. */
.h-page--tool .h-designer { padding-top: clamp(112px, 13vw, 168px); }
.h-page--tool .h-designer h1.h-h2 { font-size: clamp(38px, 6vw, 96px); line-height: 1; letter-spacing: -0.025em; color: #F2F2F2; text-wrap: balance; }
.h-page--tool .h-designer { background: var(--d-bg); }
.h-page--tool .h-projects { background: var(--d-bg-low); }
