:root {
  --void: #070707;
  --ink: #f4efe6;
  --mute: #8a847a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --night: #0a0908;
  --night-2: #141210;
  --paper: #efe6d8;
  --ember: #e7a75c;
  --ember-soft: #c98a52;
  --moon: #4a5a63;
  --line: rgba(239, 230, 216, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  width: 100%;
  background: var(--night);
  color: var(--paper);
  font-family: "Work Sans", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-intro {
  overflow: hidden;
  height: 100svh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--ember);
  color: var(--night);
}

/* ---------- intro ---------- */
.grain,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 218;
}

.grain {
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.vignette {
  background: radial-gradient(ellipse at center, transparent 44%, #000 100%);
}

body.is-open .grain,
body.is-open .vignette {
  opacity: 0;
  transition: opacity 400ms ease;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: #070707;
}

.intro .skip {
  pointer-events: auto;
}

.hand {
  font-family: "Corinthia", "Palatino Linotype", serif;
  font-weight: 400;
  font-size: clamp(4.2rem, 16vw, 8.5rem);
  line-height: 0.92;
  padding: 0.12em 0.25em 0.28em;
  color: var(--ink);
  letter-spacing: 0.01em;
  transform: rotate(-3.5deg);
  overflow: visible;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-mask-image: linear-gradient(104deg, #000 58%, transparent 78%);
  mask-image: linear-gradient(104deg, #000 58%, transparent 78%);
  -webkit-mask-size: 0% 100%;
  mask-size: 0% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  opacity: 0;
}

.hand-top {
  display: block;
  font-size: 0.52em;
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0.88;
}

.hand-bot {
  display: block;
  line-height: 1;
}

body.is-writing .hand {
  opacity: 1;
  animation: write 1.65s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

body.is-mark .hand {
  opacity: 0;
  filter: blur(10px);
  transform: rotate(-3.5deg) scale(0.96);
  transition: opacity 420ms ease, filter 420ms ease, transform 420ms var(--ease);
  animation: none;
  -webkit-mask-size: 180% 100%;
  mask-size: 180% 100%;
}

.marks {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3.5vw, 48px);
  padding: 0 4vw;
  pointer-events: none;
}

.mark {
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.94) translateY(10px);
  pointer-events: none;
}

.mark-main {
  width: min(42vw, 380px);
  max-height: min(48vh, 420px);
  z-index: 2;
}

.mark-side {
  width: min(22vw, 200px);
  max-height: min(28vh, 220px);
  opacity: 0;
}

body.is-mark .mark-main {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: opacity 600ms ease, transform 800ms var(--ease);
}

body.is-mark .mark-side {
  opacity: 0.92;
  transform: scale(1) translateY(0);
  transition: opacity 700ms ease 120ms, transform 900ms var(--ease) 80ms;
}

body.is-mark .mark-side:first-child {
  transition-delay: 40ms;
}

body.is-mark .mark-side:last-child {
  transition-delay: 160ms;
}

@media (max-width: 640px) {
  .marks {
    gap: 10px;
    padding: 0 3vw;
  }
  .mark-main {
    width: min(48vw, 220px);
    max-height: 34vh;
  }
  .mark-side {
    width: min(26vw, 110px);
    max-height: 20vh;
  }
}

body.is-open .intro {
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.skip {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 230;
  border: 0;
  background: none;
  color: var(--mute);
  font: 500 0.82rem/1 "Work Sans", sans-serif;
  letter-spacing: 0.16em;
  cursor: pointer;
  opacity: 0;
  animation: fade-in 400ms 180ms var(--ease) forwards;
}

.skip:hover,
.skip:focus-visible {
  color: var(--ink);
  outline: none;
}

body.is-open .skip {
  opacity: 0;
  pointer-events: none;
  animation: none;
}

@keyframes write {
  to {
    -webkit-mask-size: 180% 100%;
    mask-size: 180% 100%;
  }
}

@keyframes fade-in {
  to { opacity: 1; }
}

/* ---------- persiana ---------- */
.blinds {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  flex-direction: column;
  perspective: 1600px;
  perspective-origin: 50% 40%;
  overflow: hidden;
  transform-style: preserve-3d;
}

.blinds span {
  flex: 1 1 0;
  background: #070707;
  transform-origin: 50% 50%;
  transform: rotateX(0deg);
  backface-visibility: hidden;
  transition: transform 1.05s cubic-bezier(0.66, 0, 0.28, 1);
  transition-delay: calc(var(--i) * 55ms);
}

body.is-open .blinds span {
  transform: rotateX(-92deg);
}

body.is-open .blinds {
  pointer-events: none;
}

body.is-open .blinds.is-gone {
  visibility: hidden;
}

/* ---------- site chrome ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(22px + env(safe-area-inset-top)) calc(5vw + 72px) 22px 5vw;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

body.is-open header {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 600ms 400ms ease;
}

.hnav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hnav a { opacity: 0.7; transition: opacity 0.3s; }
.hnav a:hover { opacity: 1; }
.hnav .visit {
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 100px;
  white-space: nowrap;
}
.hnav .visit:hover {
  border-color: var(--ember);
  color: var(--ember);
}

/* ---------- brand switcher ---------- */
.brand-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(10, 9, 8, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.brand-pill {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  color: rgba(239, 230, 216, 0.5);
  white-space: nowrap;
  transition: color 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.brand-pill:hover {
  color: var(--ink);
}

.brand-pill.is-active {
  color: var(--night);
  background: var(--ember);
  font-weight: 500;
}

.brand-pill.is-active:hover {
  color: var(--night);
}

@media (max-width: 640px) {
  header {
    padding-top: calc(18px + env(safe-area-inset-top));
    padding-right: 5vw;
    padding-bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }
  .brand-switch { order: 1; width: 100%; justify-content: center; padding: 3px; }
  .hnav { order: 2; width: 100%; justify-content: center; }
  .brand-pill { font-size: 10px; padding: 7px 12px; }
  .hnav .visit { padding: 9px 16px; font-size: 11px; }
  .skip { top: 18px; right: 18px; }
  .hand { font-size: clamp(3.4rem, 22vw, 5.5rem); }
}

@media (max-width: 380px) {
  .brand-pill { padding: 6px 9px; font-size: 9.5px; letter-spacing: 0.02em; }
}

.rail {
  position: fixed;
  right: 5vw;
  top: calc(50% + 28px);
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  max-height: calc(100svh - 140px);
}

body.is-open .rail {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 600ms 500ms ease;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  cursor: pointer;
}

.rail-item .lbl {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.rail-item:hover .lbl {
  opacity: 0.75;
  transform: translateX(0);
}

.switch {
  width: 10px;
  height: 16px;
  border: 1px solid rgba(239, 230, 216, 0.4);
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
}

.switch::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 1px;
  height: 6px;
  background: rgba(239, 230, 216, 0.4);
  border-radius: 2px;
  transition: top 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.rail-item.active .switch::after {
  top: 8px;
  background: var(--ember);
  box-shadow: 0 0 10px 2px rgba(231, 167, 92, 0.8);
}

@media (max-width: 900px) {
  .rail { display: none; }
  header { padding-right: 5vw; }
  .family { padding-right: 5vw; }
}

.rail-mobile {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0 5vw calc(14px + env(safe-area-inset-bottom));
  gap: 6px;
  opacity: 0;
  pointer-events: none;
}

body.is-open .rail-mobile {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 600ms 400ms ease;
}

.rail-mobile::before {
  content: "";
  position: absolute;
  inset: -40px 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 9, 8, 0.8) 60%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .rail-mobile { display: flex; }
}

.rail-mobile .seg {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(239, 230, 216, 0.22);
  position: relative;
  overflow: hidden;
}

.rail-mobile .seg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rail-mobile .seg.active::after {
  transform: scaleX(1);
  box-shadow: 0 0 8px 1px rgba(231, 167, 92, 0.7);
}

/* ---------- hero ---------- */
.hero {
  height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--night);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.35) 0%, rgba(10, 9, 8, 0.2) 40%, rgba(10, 9, 8, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5vw 7vw;
  width: 100%;
}

@media (max-width: 640px) {
  .hero-content { padding: 0 7vw 20vw; }
  .hero h1,
  .hero-sub { max-width: none; }
}

.hero-find {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 22px;
  opacity: 0;
}

body.is-open .hero-find {
  animation: fadeUp 1s ease 0.35s both;
}

.hero h1 {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(46px, 9vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  max-width: 18ch;
  opacity: 0;
}

body.is-open .hero h1 {
  animation: fadeUp 1.1s ease 0.5s both;
}

.hero-sub {
  margin-top: 28px;
  max-width: 36ch;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(239, 230, 216, 0.72);
  font-weight: 300;
  opacity: 0;
}

body.is-open .hero-sub {
  animation: fadeUp 1.1s ease 0.7s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  left: 5vw;
  bottom: 4vw;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
}

body.is-open .scroll-cue {
  animation: fadeUp 1s ease 0.9s both;
}

@media (max-width: 640px) {
  .scroll-cue {
    left: 7vw;
    bottom: calc(20px + env(safe-area-inset-bottom));
    font-size: 10px;
  }
}

.scroll-cue .stick {
  width: 1px;
  height: 44px;
  background: rgba(239, 230, 216, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-cue .stick::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 40%;
  background: var(--ember);
  animation: cueMove 2.4s ease-in-out infinite;
}

@keyframes cueMove {
  0% { top: -40%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- rooms ---------- */
.room {
  position: relative;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid rgba(239, 230, 216, 0.08);
  --p: 0;
}

.room-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter:
    brightness(calc(0.22 + var(--p) * 0.85))
    saturate(calc(0.3 + var(--p) * 0.75))
    sepia(calc((1 - var(--p)) * 0.35))
    hue-rotate(calc((1 - var(--p)) * -15deg));
  clip-path: circle(calc(14% + var(--p) * 85%) at var(--lx) var(--ly));
}

.room-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.68) 0%, rgba(10, 9, 8, 0.38) 28%, rgba(10, 9, 8, 0.4) 62%, rgba(10, 9, 8, 0.88) 100%);
}

.room-index {
  position: absolute;
  top: 6vw;
  left: 5vw;
  z-index: 3;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--moon);
  opacity: calc(0.35 + var(--p) * 0.65);
}

.room-copy {
  position: relative;
  z-index: 3;
  padding: 5vw;
  width: 100%;
  display: flex;
  align-items: flex-end;
}

.room.pos-r .room-copy { justify-content: flex-end; text-align: right; align-items: flex-end; }
.room.pos-c .room-copy { justify-content: center; text-align: center; align-items: center; }
.room.pos-l .room-copy { justify-content: flex-start; text-align: left; align-items: flex-end; }

.room-block {
  max-width: 44ch;
  opacity: calc(var(--p) * 1.15);
  transform: translateY(calc((1 - var(--p)) * 22px));
}

.room-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 18px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.room-title {
  font-family: "Fraunces", serif;
  font-weight: 560;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.98;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.7), 0 0 calc(var(--p) * 40px) rgba(231, 167, 92, calc(var(--p) * 0.55));
}

.room-desc {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(239, 230, 216, 0.9);
  font-weight: 300;
  max-width: 36ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.room-materials {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.room.pos-r .room-materials { justify-content: flex-end; }
.room.pos-c .room-materials { justify-content: center; }

.mat {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  padding: 7px 14px;
  border: 1px solid rgba(239, 230, 216, 0.25);
  border-radius: 100px;
  color: rgba(239, 230, 216, 0.75);
}

@media (max-width: 900px) {
  .room { min-height: 100svh; }
  .room-index {
    top: calc(20px + env(safe-area-inset-top));
    left: 7vw;
    font-size: 12px;
  }
  .room-copy {
    padding: 7vw 7vw calc(14vw + env(safe-area-inset-bottom));
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .room-materials { justify-content: flex-start !important; }
  .room-title { font-size: clamp(32px, 9vw, 52px); }
  .room-desc { font-size: 15px; max-width: none; }
  .room-block { max-width: none; }
}

@media (max-width: 420px) {
  .room-title { font-size: clamp(28px, 8.6vw, 42px); }
  .room-tag { font-size: 10px; margin-bottom: 14px; }
  .mat { font-size: 10px; padding: 6px 12px; }
}

/* ---------- marquee ---------- */
.strip-section {
  padding: 9vw 0 8vw;
  background: var(--night-2);
  border-bottom: 1px solid rgba(239, 230, 216, 0.08);
}

.strip-head { padding: 0 5vw; margin-bottom: 46px; }
.strip-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}
.strip-head h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 50px);
  max-width: 16ch;
}

.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scroll 200s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.circuit-card {
  position: relative;
  width: min(560px, 48vw);
  height: min(400px, 34vw);
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(239, 230, 216, 0.1);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .circuit-card {
    width: min(440px, 62vw);
    height: min(320px, 46vw);
  }
}

@media (max-width: 640px) {
  .strip-head { padding: 0 7vw; margin-bottom: 34px; }
  .marquee-track { gap: 14px; animation-duration: 140s; }
  .circuit-card {
    width: 86vw;
    height: 64vw;
    max-height: none;
  }
}

.circuit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.85);
  transition: filter 0.5s ease, transform 0.6s ease;
}

.circuit-card:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.03);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- group / family ---------- */
.family {
  padding: 10vw calc(5vw + 96px) 10vw 5vw;
  background:
    radial-gradient(ellipse 70% 50% at 12% 20%, rgba(231, 167, 92, 0.06), transparent 60%),
    radial-gradient(ellipse 55% 40% at 90% 80%, rgba(74, 90, 99, 0.12), transparent 55%),
    var(--night);
  border-bottom: 1px solid rgba(239, 230, 216, 0.08);
}

.family-head {
  max-width: 34rem;
  margin-bottom: clamp(48px, 7vw, 72px);
}

.family-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}

.family-head h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.family-head p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
  color: rgba(239, 230, 216, 0.62);
  max-width: 38ch;
  font-weight: 300;
}

.family-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(239, 230, 216, 0.14);
}

.family-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid rgba(239, 230, 216, 0.14);
  transition: background 0.4s ease;
}

.family-item:hover {
  background: linear-gradient(90deg, rgba(231, 167, 92, 0.04), transparent 55%);
}

.family-index {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(239, 230, 216, 0.35);
  min-width: 2ch;
}

.family-copy h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  transition: color 0.35s ease;
}

.family-item:hover .family-copy h3,
.family-item.is-here .family-copy h3 {
  color: var(--ember);
}

.family-copy p {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(239, 230, 216, 0.55);
  max-width: 42ch;
  font-weight: 300;
}

.family-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(239, 230, 216, 0.4);
  align-self: center;
}

.family-item.is-here .family-tag {
  color: var(--ember);
}

.family-copy h3 a {
  color: inherit;
  transition: color 0.35s ease;
}

.family-copy h3 a:hover {
  color: var(--ember);
}

a.family-tag {
  transition: color 0.3s ease;
}

a.family-tag:hover {
  color: var(--ember);
}

@media (max-width: 700px) {
  .family { padding: 14vw 7vw; }
  .family-item {
    grid-template-columns: auto 1fr;
    gap: 16px 20px;
  }
  .family-tag {
    grid-column: 2;
    justify-self: start;
  }
  .family-copy p { max-width: none; }
}

/* ---------- RoyalClima ---------- */
.brand-clima {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(239, 230, 216, 0.08);
}

.brand-clima-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 78% 30%, rgba(90, 140, 160, 0.22), transparent 58%),
    radial-gradient(ellipse 55% 50% at 12% 85%, rgba(231, 167, 92, 0.08), transparent 50%),
    linear-gradient(160deg, #0b1216 0%, #0a0908 48%, #10161a 100%);
}

.brand-clima-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.55) 0%, transparent 55%),
    repeating-linear-gradient(
      -12deg,
      transparent 0,
      transparent 48px,
      rgba(239, 230, 216, 0.015) 48px,
      rgba(239, 230, 216, 0.015) 49px
    );
  pointer-events: none;
}

.brand-clima-inner {
  position: relative;
  z-index: 1;
  padding: 12vw 5vw;
  max-width: 42rem;
}

.brand-clima-mark {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(42px, 8vw, 92px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #d7e6ec;
  margin-bottom: 28px;
}

.brand-clima h2 {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.12;
  color: rgba(239, 230, 216, 0.92);
  margin-bottom: 18px;
}

.brand-clima-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
  color: rgba(215, 230, 236, 0.62);
  max-width: 36ch;
  font-weight: 300;
  margin-bottom: 36px;
}

.btn-clima {
  display: inline-flex;
  background: #d7e6ec;
  color: #0b1216;
}

.btn-clima:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(215, 230, 236, 0.28);
}

.brand-clima-services {
  list-style: none;
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  max-width: 36rem;
}

.brand-clima-services li {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(215, 230, 236, 0.45);
  position: relative;
}

.brand-clima-services li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(215, 230, 236, 0.25);
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .brand-clima { min-height: auto; }
  .brand-clima-inner { padding: 18vw 7vw 16vw; }
  .brand-clima-services {
    margin-top: 40px;
    gap: 12px 0;
    flex-direction: column;
  }
  .brand-clima-services li:not(:last-child)::after { display: none; }
}

/* ---------- RoyalSofa ---------- */
.brand-sofa {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(239, 230, 216, 0.08);
}

.brand-sofa-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 78% 30%, rgba(178, 90, 70, 0.22), transparent 58%),
    radial-gradient(ellipse 55% 50% at 12% 85%, rgba(231, 167, 92, 0.08), transparent 50%),
    linear-gradient(160deg, #180d0a 0%, #0a0908 48%, #1a0f0c 100%);
}

.brand-sofa-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.55) 0%, transparent 55%),
    repeating-linear-gradient(
      -12deg,
      transparent 0,
      transparent 48px,
      rgba(239, 230, 216, 0.015) 48px,
      rgba(239, 230, 216, 0.015) 49px
    );
  pointer-events: none;
}

.brand-sofa-inner {
  position: relative;
  z-index: 1;
  padding: 12vw 5vw;
  max-width: 42rem;
}

.brand-sofa-mark {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(42px, 8vw, 92px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #e8c9ba;
  margin-bottom: 28px;
}

.brand-sofa h2 {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.12;
  color: rgba(239, 230, 216, 0.92);
  margin-bottom: 18px;
}

.brand-sofa-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
  color: rgba(232, 201, 186, 0.62);
  max-width: 36ch;
  font-weight: 300;
  margin-bottom: 36px;
}

.btn-sofa {
  display: inline-flex;
  background: #e8c9ba;
  color: #180d0a;
}

.btn-sofa:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(232, 201, 186, 0.28);
}

.brand-sofa-services {
  list-style: none;
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  max-width: 36rem;
}

.brand-sofa-services li {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 201, 186, 0.45);
  position: relative;
}

.brand-sofa-services li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(232, 201, 186, 0.25);
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .brand-sofa { min-height: auto; }
  .brand-sofa-inner { padding: 18vw 7vw 16vw; }
  .brand-sofa-services {
    margin-top: 40px;
    gap: 12px 0;
    flex-direction: column;
  }
  .brand-sofa-services li:not(:last-child)::after { display: none; }
}

/* ---------- closing ---------- */
.closing {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.closing img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.7);
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.7);
}

.closing-content {
  position: relative;
  z-index: 2;
  padding: 0 5vw;
  width: 100%;
  text-align: center;
}

.closing-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 22px;
}

.closing h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(36px, 6.4vw, 92px);
  line-height: 1.02;
  max-width: 18ch;
  margin: 0 auto;
}

.closing h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

.flicker { animation: flicker 1.8s steps(1) 1 both; }

@keyframes flicker {
  0% { opacity: 0; }
  8% { opacity: 1; }
  9% { opacity: 0.2; }
  10% { opacity: 1; }
  24% { opacity: 1; }
  25% { opacity: 0.3; }
  26% { opacity: 1; }
  100% { opacity: 1; }
}

.cta-row {
  margin-top: 46px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-note {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(239, 230, 216, 0.5);
}

.contact-note a {
  color: rgba(239, 230, 216, 0.72);
  transition: color 0.3s ease;
}

.contact-note a:hover {
  color: var(--ember);
}

.btn {
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.btn-solid { background: var(--ember); color: var(--night); }
.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(231, 167, 92, 0.5);
}
.btn-ghost { border: 1px solid rgba(239, 230, 216, 0.4); }
.btn-ghost:hover {
  background: rgba(239, 230, 216, 0.08);
  transform: translateY(-3px);
}

.socials {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 28px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(239, 230, 216, 0.72);
  transition: color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  color: var(--ember);
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .closing-content { padding: 0 7vw; }
  .closing h2 { max-width: none; }
  .cta-row { flex-direction: column; align-items: stretch; margin-top: 36px; }
  .btn { text-align: center; padding: 16px 24px; }
  .socials { gap: 22px; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hand,
  .mark,
  .skip,
  .blinds span,
  .hero-find,
  .hero h1,
  .hero-sub,
  .scroll-cue {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- brand subpages: shared ---------- */
.brand-logo {
  display: block;
  width: min(260px, 70vw);
  height: auto;
  max-height: 140px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 28px;
}

.brand-logo-hero {
  width: min(280px, 68vw);
  max-height: 150px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s both;
}

.hero-sofa .brand-logo-hero {
  margin-left: auto;
  margin-right: auto;
  object-position: center;
}

.brand-logo-clima,
.brand-logo-sofa {
  background: transparent;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(239, 230, 216, 0.55);
  transition: color 0.3s ease;
}

.back-link:hover { color: var(--ink); }

.brand-note {
  padding: 6vw 5vw 8vw;
  max-width: 40rem;
}

.brand-note p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(239, 230, 216, 0.5);
  font-weight: 300;
  font-style: italic;
}

@media (max-width: 640px) {
  .brand-note { padding: 12vw 7vw 14vw; }
}

/* ---------- RoyalClima page ---------- */
.brand-hero { min-height: 100svh; }

.btn-ghost-clima {
  border: 1px solid rgba(215, 230, 236, 0.35);
  color: rgba(215, 230, 236, 0.85);
}
.btn-ghost-clima:hover {
  background: rgba(215, 230, 236, 0.08);
  transform: translateY(-3px);
}

.brand-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-closing-clima {
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(90, 140, 160, 0.16), transparent 55%),
    var(--night);
}

.btn-solid-clima { background: #d7e6ec; color: #0b1216; }
.btn-solid-clima:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(215, 230, 236, 0.4);
}

@media (max-width: 640px) {
  .brand-cta-row { flex-direction: column; align-items: stretch; }
  .brand-cta-row .btn { text-align: center; }
}

/* ---------- RoyalSofa page ---------- */
.hero-sofa .hero-find,
.hero-sofa .scroll-cue { color: #c9a0a6; }

.hero-sofa .scroll-cue .stick::after { background: #c9a0a6; }

.brand-gallery-head {
  padding: 9vw 5vw 3vw;
  max-width: 40rem;
}

.brand-gallery-head .strip-eyebrow { color: #c9a0a6; }

.brand-gallery-head h2 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.05;
}

.brand-gallery {
  padding: 2vw 5vw 9vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.brand-gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(239, 230, 216, 0.1);
  aspect-ratio: 4 / 3;
}

.brand-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) saturate(0.9);
  transition: filter 0.5s ease, transform 0.6s ease;
}

.brand-gallery figure:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.04);
}

.brand-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(239, 230, 216, 0.92);
  background: linear-gradient(180deg, transparent, rgba(10, 9, 8, 0.85));
}

.brand-closing-sofa::after {
  background: rgba(24, 13, 10, 0.72);
}

.btn-solid-sofa { background: #c9a0a6; color: #180d0a; }
.btn-solid-sofa:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(201, 160, 166, 0.45);
}

@media (max-width: 900px) {
  .brand-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .brand-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 2vw 7vw 12vw;
  }
  .brand-gallery-head { padding: 14vw 7vw 4vw; }
}
