:root {
  --blue: #1e3a8a;
  --red: #e34234;
  --apricot: #ffb483;
  --ivory: #fdf7ed;
  --plum: #4b1d3f;
  --ink: #24171f;
  --line: color-mix(in srgb, var(--plum) 24%, transparent);
  --serif: "Bodoni 72", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--plum); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button { font: inherit; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--blue); color: var(--ivory); padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 8; display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: 0 auto; padding: 1.25rem clamp(1.1rem, 4vw, 4rem); }
.brand { color: var(--plum); text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; font-family: var(--serif); line-height: 1; }
.nav-toggle { display: none; background: none; border: 1px solid currentColor; color: inherit; min-width: 70px; min-height: 44px; padding: .5rem .7rem; cursor: pointer; }
.site-nav ul { list-style: none; display: flex; gap: clamp(.75rem, 2vw, 1.75rem); margin: 0; padding: 0; }
.site-nav a { display: flex; align-items: center; min-height: 44px; font-size: .78rem; font-weight: 700; letter-spacing: .095em; text-decoration: none; text-transform: uppercase; }
.site-nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .42rem; }
.eyebrow { color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .14em; margin: 0 0 1rem; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 6vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 39rem; }
.section { margin: 0 auto; max-width: 1440px; padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 6vw, 6rem); }
.section-heading { display: grid; gap: 2rem; grid-template-columns: 1.2fr 1fr; align-items: end; margin-bottom: 2.5rem; }
.section-heading h2 { margin: 0; max-width: 12ch; }
.section-heading p:last-child { margin-bottom: .4rem; max-width: 36rem; }
.site-footer { background: var(--plum); color: var(--ivory); padding: 2rem clamp(1.1rem, 4vw, 4rem); }
.footer-inner { max-width: 1440px; margin: 0 auto; display: flex; gap: 1rem; justify-content: space-between; font-size: .8rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; color: var(--apricot); }

/* Inside the same Haus: the identity leads, the room provides atmosphere. */
.haus-inner .site-header { max-width: none; background: #241b22; color: var(--ivory); padding-block: .7rem; }
.haus-inner .brand { color: var(--ivory); gap: .75rem; }
.brand-monogram { width: 48px; height: 48px; object-fit: contain; transform: scale(1.5); }
.brand-wordmark { width: 190px; height: auto; display: block; }
.haus-inner .site-nav a:hover { color: var(--apricot); }
.haus-inner .site-nav a[aria-current="page"] { color: var(--apricot); text-decoration-color: var(--apricot); }
.haus-inner .site-header :focus-visible, .site-footer a:focus-visible { outline-color: var(--ivory); }
.room-intro { display: grid; grid-template-columns: 1.25fr .75fr; background: var(--blue); color: var(--ivory); }
.room-intro-copy { padding: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 6vw, 6rem); align-self: center; }
.room-intro h1 { max-width: 10ch; margin-bottom: 1.5rem; }
.room-intro .eyebrow { color: var(--apricot); }
.room-intro .lede { margin-bottom: 0; }
.room-intro-image { display: block; width: 100%; height: 100%; min-height: 480px; max-height: 560px; object-fit: cover; object-position: center; }
.room-intro--learn { background: var(--apricot); color: var(--plum); }
.room-intro--learn .eyebrow { color: var(--blue); }
.room-intro--about { background: var(--plum); }
.notice { border-left: 2px solid var(--apricot); color: inherit; font-size: .94rem; margin: 1.8rem 0 0; max-width: 39rem; padding: .2rem 0 .2rem 1rem; }
.room-intro--learn .notice { border-color: var(--plum); }
.case-list { border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: 1fr 1.25fr auto; gap: 2rem; align-items: center; border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
.case h2 { font-size: clamp(2rem, 3vw, 3.1rem); margin: .5rem 0 0; }
.case p { margin: 0; max-width: 36rem; }
.case-tag { color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.availability { display: block; color: var(--plum); font-size: .85rem; line-height: 1.4; white-space: nowrap; }
.availability::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .6rem; background: var(--red); vertical-align: middle; }
.guide-list { border-top: 1px solid var(--line); }
.guide { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.guide h2 { font-size: clamp(2rem, 3vw, 3.1rem); margin: 0; }
.guide p { max-width: 36rem; margin-bottom: 1rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); }
.about-grid p { max-width: 33rem; }
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.15; padding: 1.3rem 0; }
.next-room { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 3rem; }
.next-room a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.demo-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.home-wheel { max-width: 1440px; margin: 0 auto; padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 6vw, 6rem); display: grid; grid-template-columns: minmax(14rem, .65fr) minmax(0, 1.35fr); gap: 1rem 3rem; align-items: center; background: var(--apricot); }
.home-wheel-copy h2 { max-width: 9ch; }
.home-wheel-copy p:last-child { max-width: 27rem; }
.home-wheel-frame { display: block; width: 100%; height: 400px; border: 0; background: var(--ivory); }
.home-wheel-link { grid-column: 2; justify-self: start; }
@media (max-width: 699px) { .home-wheel { grid-template-columns: 1fr; gap: 1rem; } .home-wheel-copy h2 { max-width: none; } .home-wheel-frame { height: 400px; } .home-wheel-link { grid-column: 1; } }

@media (max-width: 1199px) {
  .site-header { align-items: center; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .site-nav { display: block; width: 100%; padding-top: 1rem; }
  html.js-nav .site-nav { display: none; }
  html:not(.js-nav) .nav-toggle { display: none; }
  .site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav { display: block; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; border-top: 1px solid currentColor; padding-top: .5rem; }
  .room-intro { grid-template-columns: 1.2fr .8fr; }
  .room-intro-image { min-height: 430px; }
  .case { grid-template-columns: 1fr 1.2fr; }
  .case .availability { grid-column: 2; }
}
@media (max-width: 699px) {
  body { font-size: 16px; }
  .brand-wordmark { width: 158px; }
  .brand-monogram { width: 36px; height: 36px; }
  .haus-inner .brand { gap: .5rem; }
  .site-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .site-nav a { padding: .5rem 0; }
  .room-intro { grid-template-columns: 1fr; }
  .room-intro-copy { padding: 2.5rem 1.25rem; }
  .room-intro h1 { font-size: clamp(2.7rem, 10vw, 4rem); max-width: 13ch; }
  .room-intro-image { min-height: 0; height: 270px; object-position: center 45%; }
  .section-heading, .about-grid, .guide, .case { grid-template-columns: 1fr; gap: 1rem; }
  .case .availability { grid-column: auto; }
  .section-heading { margin-bottom: 2rem; }
  .guide { gap: .8rem; }
  .footer-inner { flex-direction: column; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Render the supplied wordmark artwork as a single-color mask on Haus pages. */
.brand-wordmark,.footer-wordmark{display:block;flex:0 0 auto;width:190px;height:48px;background-color:var(--ivory);-webkit-mask:url('/assets/images/haus-wordmark-small.png') center / contain no-repeat;mask:url('/assets/images/haus-wordmark-small.png') center / contain no-repeat;mask-mode:alpha}
.footer-lockup{display:inline-flex;align-items:center;gap:.4rem;min-height:44px}
.footer-wordmark{width:142px;height:36px}
.haus-masthead h1 .haus-masthead-wordmark{position:absolute;top:-2.7cqw;left:0;display:block;width:100%;aspect-ratio:2073/758;background:var(--ivory);-webkit-mask:url('/assets/images/haus-wordmark.png') center / contain no-repeat;mask:url('/assets/images/haus-wordmark.png') center / contain no-repeat;mask-mode:alpha}
@media(max-width:1199px){.haus-masthead h1 .haus-masthead-wordmark{top:-3cqw}}
@media(max-width:699px){.haus-masthead h1 .haus-masthead-wordmark{top:-4cqw}.brand-wordmark{width:158px;height:42px}.footer-wordmark{width:132px;height:34px}}
