:root {
  --ink: #0a0a0a;
  --paper: #e9e5dd;
  --muted: #a5a39c;
  --line: #343434;
  --accent: #d4c5a9;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
a {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
#navbar {
  background: rgba(8, 8, 8, 0.94);
  mix-blend-mode: normal !important;
  backdrop-filter: blur(14px);
}
.commerce-section {
  max-width: 1440px;
  margin: auto;
  padding: 100px 48px;
  scroll-margin-top: 32px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 80px;
  margin-bottom: 44px;
}
.eyebrow {
  font: 11px monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  grid-column: 1/-1;
}
.section-heading h2,
.modular-intro h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 700;
}
.section-heading > p:last-child {
  align-self: end;
  max-width: 460px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.secha-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.secha-button.secondary {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.secha-button:hover {
  background: var(--accent);
  color: var(--ink);
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.shop-toolbar > span,
.catalogue-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.category-tabs button {
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 12px;
  background: transparent;
  color: var(--paper);
}
.category-tabs button.active {
  background: var(--paper);
  color: var(--ink);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #111;
}
.product-image {
  height: 260px;
  position: relative;
  overflow: hidden;
  background: #252421;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover img {
  transform: scale(1.04);
}
.product-image span {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--paper);
  padding: 7px 10px;
  color: var(--ink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}
.product-info h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.product-info p,
.product-info li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.product-info ul {
  padding-left: 16px;
  list-style: disc;
  flex: 1;
}
.product-price {
  font-size: 23px;
  color: var(--paper);
}
.product-price small {
  font: 10px monospace;
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-actions > * {
  flex: 1;
  padding: 12px;
  font-size: 11px;
}
.catalogue-note {
  margin-top: 24px;
  max-width: 1000px;
}
.modular-section {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: none;
  padding-inline: max(48px, calc((100vw - 1344px) / 2));
}
.modular-section .eyebrow {
  color: #655f51;
}
.modular-intro > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  max-width: 460px;
  margin: 24px 0;
  color: #56544e;
}
.modular-intro .secha-button {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.module-illustration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: center;
  padding: 24px;
  background: #d8d2c6;
}
.module {
  min-height: 130px;
  background: #a99471;
  border: 8px solid #b5a080;
  box-shadow: inset 0 0 35px #766347;
  position: relative;
}
.module.closed {
  background: linear-gradient(90deg, #bca786 49%, #75674f 50%, #bca786 51%);
  box-shadow: none;
}
.module.lower {
  min-height: 95px;
}
.module span {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 11px;
  color: #17150f;
}
.module-illustration > p {
  grid-column: 1/-1;
  font: 11px monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-top: 14px;
}
.build-steps {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid #beb9af;
  padding-top: 36px;
}
.build-steps span {
  font: 12px monospace;
  color: #726859;
}
.build-steps h3,
.build-scope h3 {
  font-weight: 600;
  font-size: 18px;
  margin: 16px 0 10px;
}
.build-steps p,
.build-scope p {
  font-size: 13px;
  line-height: 1.8;
  color: #56544e;
}
.build-scope {
  grid-column: 1/-1;
  border-top: 1px solid #beb9af;
  padding-top: 16px;
}
.room-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.room-controls label {
  font: 11px monospace;
  color: #aaa;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.room-controls select,
.room-controls input {
  width: 100%;
  color: #eee;
  background: #151515;
  border: 1px solid #444;
  padding: 10px;
  min-width: 0;
}
.room-controls input[type="range"] {
  padding: 0;
  accent-color: var(--accent);
}
.room-caption {
  position: absolute;
  bottom: 18px;
  left: 24px;
  right: 24px;
  font: 10px monospace;
  color: #ded6c7;
  pointer-events: none;
}
.studio-fallback {
  padding: 30px;
  margin-top: 140px;
  color: #aaa;
  font-size: 14px;
  max-width: 420px;
}
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: #0009;
  z-index: 300;
}
.commerce-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(460px, 100%);
  padding: 28px;
  background: #111;
  z-index: 301;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  color: var(--paper);
}
[hidden] {
  display: none !important;
}
.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.drawer-heading h2 {
  font-size: 24px;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  font-size: 22px;
  background: transparent;
  color: var(--paper);
}
#cart-items {
  overflow: auto;
  flex: 1;
  padding: 20px 0;
}
.cart-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.cart-item h3 {
  font-size: 15px;
  font-weight: 600;
}
.cart-item p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0;
  line-height: 1.6;
}
.cart-item .remove {
  font-size: 11px;
  text-decoration: underline;
  color: var(--muted);
}
.quantity {
  display: flex;
  align-items: center;
  gap: 18px;
}
.quantity button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.cart-summary {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  overflow: auto;
  max-height: 47vh;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  margin: 12px 0;
}
.totals-row.total {
  font-size: 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.cart-summary .secha-button {
  width: 100%;
  margin-top: 16px;
}
.coupon-form {
  display: flex;
  gap: 8px;
}
.coupon-form input {
  width: 100%;
  min-width: 0;
  background: #222;
  color: var(--paper);
  padding: 10px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.coupon-form button {
  border: 1px solid var(--line);
  padding: 10px;
}
.small-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 12px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.checkout-form label {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}
.checkout-form input,
.checkout-form textarea {
  padding: 14px;
  border: 1px solid var(--line);
  background: #161616;
  color: var(--paper);
  width: 100%;
  min-width: 0;
}
.checkout-form .full {
  grid-column: 1/-1;
}
.checkout-form label.consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.7;
}
.checkout-form .consent input {
  width: 18px;
  min-width: 18px;
  margin-top: 4px;
  accent-color: var(--accent);
}
.checkout-summary {
  border: 1px solid var(--line);
  padding: 28px;
  align-self: start;
}
.checkout-summary h3 {
  font-size: 22px;
  margin-bottom: 20px;
}
.checkout-summary li {
  font-size: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
}
.order-result {
  border: 1px solid var(--line);
  padding: 32px;
  max-width: 850px;
}
.order-result h3 {
  font-size: 28px;
  margin: 16px 0;
}
.order-result p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}
.order-result .product-actions {
  margin-top: 24px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  color: var(--ink);
  padding: 14px 24px;
  z-index: 1000;
  font-size: 13px;
  box-shadow: 0 4px 30px #0007;
  max-width: calc(100% - 32px);
}
.static-motion .hero-text-inner {
  transform: none !important;
}
.static-motion #navbar,
.static-motion #hero-sub,
.static-motion .reveal-item,
.static-motion #hero-dec-1,
.static-motion #hero-dec-2 {
  opacity: 1 !important;
  transform: none !important;
}
.mobile-links {
  display: none;
}
#finishing-studio {
  scroll-margin-top: 84px;
}
#global-modal {
  z-index: 400;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .commerce-section {
    padding: 70px 28px;
  }
  .modular-section {
    padding: 70px 28px;
    gap: 36px;
  }
  .build-steps {
    grid-template-columns: 1fr 1fr;
  }
  #navbar .md\:flex {
    gap: 16px;
    font-size: 11px;
  }
}
@media (max-width: 767px) {
  .commerce-section {
    padding: 60px 20px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-heading h2,
  .modular-intro h2 {
    font-size: 44px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-image {
    height: 250px;
  }
  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .modular-section {
    grid-template-columns: 1fr;
    padding: 60px 20px;
    gap: 30px;
  }
  .build-steps {
    gap: 20px;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-form {
    grid-template-columns: 1fr;
  }
  .checkout-form .full {
    grid-column: auto;
  }
  .commerce-drawer {
    padding: 20px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .secha-button {
    padding: 12px 16px;
    font-size: 11px;
  }
  .mobile-links {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    z-index: 90;
    border-top: 1px solid var(--line);
    justify-content: space-around;
    padding: 5px 8px;
  }
  .mobile-links a,
  .mobile-links button {
    font-size: 11px;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--paper);
    padding: 8px;
  }
  footer {
    padding-bottom: 90px !important;
  }
  .toast {
    bottom: 72px;
  }
  .room-caption {
    font-size: 9px;
  }
  #vignette-title {
    font-size: 30px;
  }
  .room-controls {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-text-inner {
    transform: none !important;
  }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

.studio-build-card {
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 24px;
  font-size: 12px;
}
.studio-build-card strong {
  display: block;
  font-size: 24px;
  margin-top: 8px;
}
.studio-build-card .secha-button {
  width: 100%;
  margin-top: 12px;
}

@media (min-width: 768px) {
  #finishing-studio > div:first-child {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
  }
  #finishing-studio {
    overflow: visible;
    align-items: flex-start;
  }
  #finishing-studio > div:nth-child(2) {
    height: auto;
    min-height: calc(100vh - 80px);
    overflow: visible;
  }
  #finishing-studio #material-list {
    overflow: visible;
  }
  #finishing-studio > div:nth-child(2) > div.flex-grow {
    overflow: visible;
    flex-grow: 0;
  }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-200%);
  z-index: 1001;
  background: var(--paper);
  color: var(--ink);
  padding: 14px;
}
.skip-link:focus {
  transform: none;
}
/* Keep small labels readable against the dark studio and light build section. */
.text-zinc-500,
.text-zinc-600 {
  color: #a1a1aa;
}
.build-steps span {
  color: #665b4c;
}

@media (min-width: 768px) and (max-width: 1023px) {
  #finishing-studio {
    flex-direction: column;
    align-items: stretch;
  }
  #finishing-studio > div:first-child {
    width: 100%;
    position: relative;
    top: 0;
    height: 55vh;
  }
  #finishing-studio > div:nth-child(2) {
    width: 100%;
    min-height: auto;
  }
}

.secha-button {
  gap: 8px;
}
.action-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.mobile-links button {
  gap: 6px;
}
/* Signature profiles follow the supplied SECHA editorial portrait posters. */
.signature-section {
  border-bottom: 1px solid var(--line);
}
.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.designer-card {
  padding: 24px;
  background: #090a09;
  display: flex;
  flex-direction: column;
  border: 1px solid #30332e;
}
.designer-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #686d63;
  gap: 8px;
}
.designer-masthead > span:first-child {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.designer-masthead > span:last-child {
  font: 9px monospace;
  color: #a6aaa1;
}
.designer-number {
  font: 11px monospace;
  letter-spacing: 0.05em;
  color: #a6aaa1;
  margin: 18px 0;
}
.designer-card > img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border: 1px solid #686d63;
}
.designer-card h3 {
  font-size: clamp(30px, 3.1vw, 47px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-top: 8px;
  border-top: 5px solid #eeeee6;
  padding-top: 8px;
  color: #eeeee6;
}
.designer-role {
  font: 11px monospace;
  color: #a6aaa1;
  margin: 14px 0 18px;
}
.designer-story {
  border-top: 1px solid #686d63;
  padding-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #deded6;
  flex: 1;
}
.designer-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 0 0 !important;
  border-top: 1px solid #686d63;
  background: transparent !important;
  font: 8px monospace;
  color: #a6aaa1;
}
.signature-cta {
  margin-top: 28px;
}
.eps-study {
  align-self: center;
  margin: 0;
  min-width: 0;
}
.eps-study > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.eps-study figcaption {
  font: 11px monospace;
  line-height: 1.8;
  margin-top: 16px;
  color: #423e36;
}
.eps-study figcaption span {
  font: 11px sans-serif;
  color: #59544c;
}
.module-illustration {
  display: none;
}
/* A same-room split comparison replaces the abstract corridor. */
.ambiance-section {
  max-width: 1440px;
}
.ambiance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(310px, 1fr);
  gap: 32px;
}
.ambiance-preview-column {
  min-width: 0;
}
.ambiance-stage {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: #bcb5aa;
  border: 1px solid var(--line);
}
#walkway-canvas {
  width: 100%;
  height: 100%;
}
.ambiance-labels {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  gap: 12px;
}
.ambiance-labels span {
  padding: 8px 12px;
  background: #111e;
  color: #f4f0e8;
  font: 10px monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #faf9f4;
  pointer-events: none;
  box-shadow: 0 0 8px #0006;
}
.comparison-controls {
  border: 1px solid var(--line);
  border-top: 0;
  padding: 18px;
}
.comparison-controls label {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--paper);
}
.comparison-controls output {
  font: 10px monospace;
  color: var(--muted);
}
.comparison-controls input {
  width: 100%;
  accent-color: var(--paper);
  height: 36px;
  margin-top: 10px;
}
.comparison-controls p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
}
.ambiance-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.ambiance-fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.ambiance-fieldset legend {
  font: 10px monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8b6ad;
  margin-bottom: 12px;
}
.ambiance-room-buttons,
.ambiance-light-buttons {
  display: flex;
  gap: 8px;
}
.ambiance-room-buttons button,
.ambiance-light-buttons button {
  flex: 1;
  border: 1px solid var(--line);
  padding: 12px 8px;
  font-size: 12px;
  min-height: 44px;
}
.ambiance-style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ambiance-style-grid button {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ambiance-style-grid span {
  font-size: 13px;
  font-weight: 600;
}
.ambiance-style-grid small {
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
}
.ambiance-controls button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.ambiance-controls button[aria-pressed="true"] small {
  color: #514b40;
}
.ambiance-palette > p {
  font: 10px monospace;
  color: var(--muted);
  margin-bottom: 10px;
}
.ambiance-swatches {
  display: flex;
  gap: 8px;
}
.ambiance-swatch {
  height: 28px;
  flex: 1;
  border: 1px solid #888;
}
.ambiance-style-notes {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.ambiance-style-notes h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.ambiance-style-notes p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 10px;
}
.ambiance-style-notes .ambiance-changes {
  font-size: 11px;
}
.ambiance-fallback {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #111;
}
.ambiance-fallback img {
  object-fit: cover;
  width: 100%;
  min-height: 0;
  flex: 1;
}
.ambiance-fallback p {
  padding: 20px;
  color: var(--paper);
  font-size: 12px;
  line-height: 1.6;
}
.ambiance-stage:has(.ambiance-fallback) .ambiance-labels,
.ambiance-stage:has(.ambiance-fallback) .comparison-divider {
  display: none;
}
@media (max-width: 1100px) {
  .signature-grid {
    gap: 16px;
  }
  .designer-card {
    padding: 16px;
  }
  .designer-masthead > span:first-child {
    font-size: 20px;
  }
  .designer-masthead > span:last-child {
    font-size: 8px;
  }
  .designer-story {
    font-size: 13px;
  }
  .designer-card h3 {
    font-size: 32px;
  }
  .ambiance-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
  }
  .ambiance-stage {
    height: 470px;
  }
}
@media (max-width: 850px) {
  .signature-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: auto;
  }
  .designer-card {
    padding: 28px;
  }
  .designer-masthead > span:first-child {
    font-size: 28px;
  }
  .designer-masthead > span:last-child {
    font-size: 11px;
  }
  .designer-card h3 {
    font-size: clamp(36px, 7vw, 55px);
  }
  .designer-story {
    font-size: 16px;
  }
  .designer-role {
    font-size: 12px;
  }
  .designer-footer {
    font-size: 9px;
  }
  .ambiance-layout {
    grid-template-columns: 1fr;
  }
  .ambiance-stage {
    height: 480px;
  }
  .ambiance-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .ambiance-fieldset:nth-child(2) {
    grid-row: span 2;
  }
  .ambiance-controls > .ambiance-style-notes {
    grid-column: 1/-1;
  }
  .ambiance-controls > .secha-button {
    align-self: end;
  }
}
@media (max-width: 520px) {
  .designer-card {
    padding: 18px;
  }
  .designer-masthead > span:first-child {
    font-size: 23px;
  }
  .designer-masthead > span:last-child {
    font-size: 9px;
  }
  .designer-story {
    font-size: 14px;
  }
  .designer-footer {
    font-size: 8px;
  }
  .signature-grid {
    gap: 24px;
  }
  .ambiance-stage {
    height: 340px;
  }
  .ambiance-layout {
    gap: 24px;
  }
  .ambiance-controls {
    display: flex;
    gap: 20px;
  }
  .ambiance-labels {
    top: 10px;
    left: 10px;
    right: 10px;
    gap: 8px;
  }
  .ambiance-labels span {
    padding: 7px;
    font-size: 8px;
  }
  .comparison-controls label {
    flex-direction: column;
    gap: 8px;
  }
  .comparison-controls {
    padding: 14px;
  }
  .ambiance-style-grid button {
    padding: 14px;
  }
  .eps-study figcaption {
    font-size: 10px;
  }
}
@media (max-width: 520px) {
  .ambiance-layout {
    display: block;
  }
  .ambiance-preview-column {
    position: sticky;
    top: 82px;
    z-index: 10;
    background: #050505;
  }
  .ambiance-stage {
    height: 180px;
  }
  .ambiance-controls {
    margin-top: 24px;
  }
  .ambiance-preview-column > .small-note,
  .comparison-controls > p {
    display: none;
  }
}
/* Studio film and signature direction cards */
.studio-intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #050505;
  color: #f5f1e9;
  display: grid;
  place-items: center;
}
.studio-intro[hidden] {
  display: none;
}
.studio-intro video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro-label {
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  font: 11px monospace;
  letter-spacing: 0.12em;
}
.intro-skip {
  position: absolute;
  bottom: 32px;
  right: 32px;
  padding: 14px 24px;
  border: 1px solid #827e75;
  background: #151513;
  color: #fff;
  font: 12px monospace;
}
.intro-open {
  overflow: hidden;
}
.designer-direction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  margin-top: 20px;
  border-top: 1px solid #777;
  background: none;
  color: #f4f1eb;
  text-align: left;
  font: 12px monospace;
  letter-spacing: 0.06em;
}
.designer-direction:hover {
  color: #d9c39f;
}
.designer-modal #modal-content-wrapper {
  max-width: 1000px;
}
.direction-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
}
.direction-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.direction-copy h3 {
  font-size: 26px;
  line-height: 1.2;
  color: #f4f1eb;
  margin-bottom: 18px;
}
.direction-copy p {
  font-size: 14px;
  line-height: 1.7;
  color: #c8c5bd;
}
.direction-copy ul {
  list-style: disc;
  padding-left: 20px;
  margin: 18px 0;
  color: #dedbd3;
  font-size: 13px;
  line-height: 1.9;
}
.direction-style {
  padding: 20px;
  background: #eee9df;
  color: #171916;
  margin: 24px 0;
}
.direction-style small {
  font: 9px monospace;
  letter-spacing: 0.06em;
}
.direction-style h4 {
  font-size: 21px;
  margin: 10px 0;
}
.direction-swatches {
  display: flex;
  height: 44px;
  margin: 16px 0;
}
.direction-swatches span {
  flex: 1;
}
.direction-style p {
  color: #48483e;
  font-size: 12px;
}
.direction-copy .direction-note {
  font-size: 11px;
  margin-top: 14px;
}
.direction-copy .secha-button {
  width: 100%;
}
.affiliation-panel {
  grid-column: 1/-1;
  background: #dce7df;
  border: 1px solid #b5cbbd;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}
.affiliation-intro h3 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.affiliation-intro h3 span {
  color: #285447;
}
.affiliation-intro > p:last-child {
  font-size: 14px;
  line-height: 1.8;
  color: #3b5148;
  margin-top: 20px;
  max-width: 420px;
}
.affiliation-brands {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.affiliation-brands figure {
  background: white;
  padding: 18px 24px;
}
.affiliation-brands img {
  width: 100%;
  height: 90px;
  object-fit: contain;
}
.affiliation-brands figcaption {
  font: 10px monospace;
  color: #3b5148;
  margin-top: 10px;
}
.affiliation-link {
  font: 9px monospace;
  text-align: center;
  letter-spacing: 0.14em;
  color: #285447;
}
.affiliation-path {
  grid-column: 1/-1;
  padding-top: 24px;
  border-top: 1px solid #9db9a8;
  font: 11px monospace;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #244c3f;
}
.affiliation-panel .eyebrow {
  color: #285447;
}
@media (max-width: 700px) {
  .direction-layout,
  .affiliation-panel {
    grid-template-columns: 1fr;
  }
  .direction-portrait {
    max-height: 250px;
    object-position: center 35%;
    aspect-ratio: 4/3;
  }
  .affiliation-panel {
    padding: 24px;
    gap: 24px;
  }
  .affiliation-intro h3 {
    font-size: 27px;
  }
  .affiliation-brands img {
    height: 70px;
  }
  .affiliation-path {
    font-size: 9px;
    gap: 12px;
  }
  .intro-label {
    left: 20px;
    right: 20px;
    font-size: 9px;
  }
  .intro-label span:last-child {
    display: none;
  }
  .intro-skip {
    right: 20px;
    bottom: 24px;
  }
}
/* Editorial affiliation: brand marks sit directly on the paper surface. */
.affiliation-panel {
  background: #e1e9e2;
  padding: 52px;
  gap: 48px;
  grid-template-columns: 1.2fr 1fr;
  border-color: #b7c7bc;
}
.affiliation-intro h3 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 22px 0 26px;
}
.affiliation-intro h3 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #295343;
}
.affiliation-intro > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.85;
  color: #36493e;
  margin: 18px 0;
  max-width: 560px;
}
.affiliation-intro > .affiliation-lede {
  font-family: Georgia, serif;
  font-size: 23px !important;
  line-height: 1.45 !important;
  color: #223e30 !important;
}
.affiliation-story-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #244c3f;
  border-bottom: 1px solid #81988a;
  padding: 12px 0;
  font-size: 12px;
  margin-top: 8px;
}
.affiliation-brands {
  justify-content: center;
  gap: 24px;
  padding: 24px 0 24px 42px;
  border-left: 1px solid #b7c7bc;
}
.affiliation-brands figure {
  background: transparent;
  padding: 0;
}
.affiliation-brands img {
  height: 126px;
  mix-blend-mode: normal;
}
.affiliation-brands figcaption {
  margin-top: 16px;
  text-align: center;
}
.affiliation-brand-kicker,
.affiliation-brand-note {
  font: 10px monospace;
  text-align: center;
  letter-spacing: 0.08em;
  color: #3b5148;
}
.affiliation-brand-note {
  margin-top: 18px;
}
.affiliation-link {
  font-size: 24px;
  color: #4c7b65;
}
.affiliation-motion {
  grid-column: 1/-1;
  min-width: 0;
  background: #183a2f;
  color: #f4f1e9;
  border: 1px solid #284e40;
}
.material-film-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 28px 32px;
}
.material-film-header .eyebrow {
  color: #acc9b7;
}
.material-film-header h4 {
  font:
    24px Georgia,
    serif;
  margin-top: 8px;
}
.material-motion-toggle {
  border: 1px solid #91af9e;
  background: transparent;
  color: #f4f1e9;
  padding: 12px 16px;
  font: 11px monospace;
  white-space: nowrap;
}
.material-motion-toggle[hidden] {
  display: none;
}
.material-motion-stage {
  height: 310px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, #315d48, #153529 75%);
  perspective: 1000px;
}
.material-motion-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff0c 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0c 1px, transparent 1px);
  background-size: 44px 44px;
  transform: rotateX(55deg) scale(1.6);
  opacity: 0.6;
}
.material-layer-stack {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 240px;
  height: 180px;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-32deg);
  transform-style: preserve-3d;
}
.material-layer {
  position: absolute;
  inset: 0;
  border: 1px solid #e8e4cf;
  box-shadow: 12px 14px 0 #00000020;
  animation: panel-layers 8s ease-in-out infinite;
  transform: translateZ(var(--assembled));
}
.material-backing {
  --expanded: -72px;
  --assembled: -18px;
  background: #9ea690;
  border-color: #a2ad9c;
}
.material-core {
  --expanded: 0px;
  --assembled: 0px;
  background-color: #eae9df;
  background-image: radial-gradient(
    circle,
    #fff 35%,
    #d0d1c3 40%,
    transparent 60%
  );
  background-size: 9px 9px;
  box-shadow: 0 9px 0 #b8bba9;
}
.material-finish {
  --expanded: 86px;
  --assembled: 20px;
  background: linear-gradient(120deg, #ccb898, #e6d9ba 45%, #c0ae8e);
  box-shadow: 0 5px 0 #a89877;
}
.material-stage-note {
  position: absolute;
  left: 28px;
  bottom: 24px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 9px monospace;
  letter-spacing: 0.07em;
  color: #cfdbcd;
}
.material-stage-note span {
  animation: layer-caption 8s ease-in-out infinite;
}
.material-stage-note span:nth-child(2) {
  animation-delay: 1s;
}
.material-stage-note span:nth-child(3) {
  animation-delay: 2s;
}
.material-stage-wordmark {
  position: absolute;
  right: 28px;
  top: 22px;
  font:
    700 24px Arial,
    sans-serif;
  letter-spacing: -0.06em;
  color: #c9dcca;
}
.material-stage-wordmark span {
  color: #61bc8b;
}
.affiliation-motion > figcaption {
  padding: 20px 32px;
  border-top: 1px solid #476b57;
  font-size: 12px;
  color: #eeeadd;
}
.affiliation-motion > figcaption span {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #b9cdbd;
  margin-top: 6px;
}
.motion-paused .material-layer,
.motion-paused .material-stage-note span {
  animation-play-state: paused;
}
@keyframes panel-layers {
  0%,
  12%,
  88%,
  100% {
    transform: translateZ(var(--assembled));
  }
  38%,
  60% {
    transform: translateZ(var(--expanded));
  }
}
@keyframes layer-caption {
  0%,
  100% {
    opacity: 0.6;
  }
  40%,
  65% {
    opacity: 1;
  }
}
@media (max-width: 700px) {
  .affiliation-panel {
    padding: 24px;
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .affiliation-intro h3 {
    font-size: 34px;
  }
  .affiliation-brands {
    border-left: 0;
    border-top: 1px solid #b7c7bc;
    padding: 28px 0 0;
    gap: 20px;
  }
  .affiliation-brands img {
    height: 100px;
  }
  .material-film-header {
    padding: 22px;
    align-items: flex-start;
    flex-direction: column;
  }
  .material-film-header h4 {
    font-size: 22px;
  }
  .material-motion-stage {
    height: 260px;
  }
  .material-layer-stack {
    width: 180px;
    height: 140px;
  }
  .material-stage-note {
    left: 16px;
    right: 16px;
    font-size: 7px;
    letter-spacing: 0;
    gap: 4px;
  }
  .affiliation-motion > figcaption {
    padding: 18px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .material-layer {
    transform: translateZ(var(--expanded));
  }
  .material-stage-note span {
    opacity: 1;
  }
}
.material-network {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 32px;
  color: #d8e8db;
  font: 10px monospace;
  letter-spacing: 0.05em;
}
.network-link {
  height: 1px;
  flex: 1;
  min-width: 16px;
  background: #61806d;
  position: relative;
  overflow: hidden;
}
.network-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #bcdfc3;
  transform: translateX(-100%);
  animation: affiliation-connect 4s ease-in-out infinite;
}
.network-link:nth-of-type(2)::after {
  animation-delay: 1.2s;
}
.motion-paused .network-link::after {
  animation-play-state: paused;
}
@keyframes affiliation-connect {
  0%,
  20% {
    transform: translateX(-100%);
  }
  65%,
  100% {
    transform: translateX(100%);
  }
}
@media (max-width: 700px) {
  .material-network {
    padding: 18px 16px;
    gap: 6px;
    font-size: 7px;
    letter-spacing: 0;
  }
}
