.century-page {
  background: #f7f3ec;
}

.century-main {
  padding-top: 7.6rem;
  overflow: hidden;
}

.section-pad {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.century-hero {
  position: relative;
  min-height: 84vh;
  background:
    radial-gradient(circle at 80% 20%, rgba(199, 155, 85, .22), transparent 34rem),
    radial-gradient(circle at 12% 86%, rgba(184, 95, 61, .18), transparent 30rem),
    linear-gradient(135deg, #171717 0%, #24211f 58%, #111 100%);
  color: #fff;
}

.century-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.century-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  opacity: .9;
}

.century-hero > div {
  position: relative;
  z-index: 1;
}

.century-hero-copy {
  max-width: 46rem;
}

.century-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.3rem, 8.2vw, 8rem);
  font-weight: 950;
  line-height: .88;
  letter-spacing: 0;
}

.century-hero-copy > p:not(.eyebrow) {
  max-width: 40rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.century-btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 0;
  border-radius: .55rem;
  padding: .82rem 1.08rem;
  font-weight: 950;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.century-btn:hover,
.century-btn:focus-visible {
  transform: translateY(-3px);
  text-decoration: none;
}

.century-btn-primary {
  background: #b85f3d;
  color: #fff;
  box-shadow: 0 18px 42px rgba(184, 95, 61, .26);
}

.century-btn-primary:hover,
.century-btn-primary:focus-visible {
  background: #171717;
  color: #fff;
}

.century-btn-light {
  background: #fff;
  color: #171717;
}

.century-btn-light:hover,
.century-btn-light:focus-visible {
  background: #c79b55;
  color: #171717;
}

.century-btn-ghost {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.century-product-stage {
  position: relative;
  min-height: 34rem;
  display: grid;
  place-items: center;
}

.stage-ring {
  position: absolute;
  width: min(390px, 78vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .06);
  animation: productOrbitPulse 7s ease-in-out infinite;
}

.stage-ring::before,
.stage-ring::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.stage-ring::before {
  display: none;
}

.stage-ring::after {
  top: calc(50% - 9px);
  left: calc(50% - 9px);
  width: 18px;
  height: 18px;
  background: #f4c873;
  box-shadow: 0 0 0 8px rgba(244, 200, 115, .12), 0 0 28px rgba(244, 200, 115, .75);
  animation: productOrbitSpin 12s linear infinite;
}

.hero-door {
  position: relative;
  z-index: 1;
  width: min(24rem, 70vw);
  max-height: 34rem;
  object-fit: contain;
  filter: drop-shadow(0 38px 46px rgba(0, 0, 0, .42));
  animation: productDoorFloat 6s ease-in-out infinite;
}

.hero-price {
  position: absolute;
  right: clamp(.5rem, 3vw, 2rem);
  bottom: 3.2rem;
  z-index: 2;
  border-radius: .65rem;
  background: rgba(255, 255, 255, .94);
  padding: 1rem 1.15rem;
  color: #171717;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.hero-price span {
  display: block;
  color: rgba(23, 23, 23, .55);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-price strong {
  display: block;
  font-size: 2.3rem;
  font-weight: 950;
  line-height: 1;
}

.section-heading {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading h2,
.sticky-copy h2,
.technical-band h2,
.opening-section h2 {
  margin: 0;
  color: #171717;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.sticky-copy p,
.opening-section p {
  margin-top: 1rem;
  color: rgba(23, 23, 23, .66);
  font-size: 1.05rem;
  line-height: 1.7;
}

.century-note {
  min-width: 0;
  border: 1px solid rgba(23, 23, 23, .09);
  border-radius: .65rem;
  background: #fff;
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 16px 45px rgba(23, 23, 23, .08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.century-note:hover,
.century-note:focus-within {
  transform: translateY(-7px);
  border-color: rgba(184, 95, 61, .5);
  box-shadow: 0 28px 70px rgba(23, 23, 23, .14);
}

.century-note i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1rem;
  border-radius: .55rem;
  background: #171717;
  color: #c79b55;
  font-size: 1.35rem;
}

.century-note h2,
.century-note h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 950;
}

.century-note p {
  margin: 0;
  color: rgba(23, 23, 23, .68);
  line-height: 1.65;
}

.product-intro-card p+p{margin-top:1rem}.product-intro-card ul{display:grid;gap:.45rem;margin:1rem 0;padding:0;list-style:none}.product-intro-card li{position:relative;padding-left:1.35rem;color:rgba(23,23,23,.76);font-weight:750;line-height:1.5}.product-intro-card li::before{content:"";position:absolute;top:.62rem;left:0;width:.48rem;height:.48rem;border-radius:50%;background:#b85f3d;box-shadow:0 0 0 4px rgba(184,95,61,.1)}
.description-subsection{margin-top:1.6rem;padding-top:1.35rem;border-top:1px solid rgba(23,23,23,.1)}.description-subsection h3{margin:0 0 .75rem;font-size:1.2rem;font-weight:950}.description-subsection p{line-height:1.7}

.product-intro-card .description-price-highlight {
  margin: 1rem 0 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(184, 95, 61, .25);
  border-left: 5px solid #b85f3d;
  border-radius: .55rem;
  background: linear-gradient(135deg, #fff8f3, #fffdf9);
  color: #2a211d;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(184, 95, 61, .1);
}

.compact-info-accordion {
  display: grid;
  gap: .65rem;
  margin-top: 1.35rem;
}

.compact-info-accordion details {
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, .12);
  border-radius: .55rem;
  background: #fffdf9;
}

.compact-info-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  color: #241f1b;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.compact-info-accordion summary::-webkit-details-marker {
  display: none;
}

.compact-info-accordion summary i {
  flex: 0 0 auto;
  color: #b85f3d;
  transition: transform .25s ease;
}

.compact-info-accordion details[open] summary i {
  transform: rotate(180deg);
}

.compact-info-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(23, 23, 23, .08);
}

.product-intro-card .compact-info-body p {
  margin: .85rem 0 0;
}

.compact-info-body ul {
  margin: .9rem 0 0;
}

.product-intro-card .compact-info-note {
  display: flex;
  gap: .7rem;
  border-left: 4px solid #b85f3d;
  border-radius: .35rem;
  background: #fff4ec;
  padding: .85rem;
  color: #39251d;
  font-weight: 850;
}

.compact-info-note i {
  flex: 0 0 auto;
  color: #b85f3d;
}

.model-calculator-action {
  display: flex;
  justify-content: center;
  margin: -1.2rem 0 1.5rem;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
}

.model-grid.model-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.model-grid.model-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
}

.model-grid-large {
  gap: 1.5rem;
}

.model-grid-large .model-card img {
  height: 26rem;
  padding: .4rem;
}

.product-description{background:linear-gradient(135deg,#171717,#29231d);color:#fff}.product-description article{border:1px solid rgba(255,255,255,.12);border-radius:.8rem;background:rgba(255,255,255,.045);padding:clamp(1.5rem,4vw,3rem)}.product-description h2{margin:.5rem 0 1.4rem;font-size:clamp(2rem,4vw,3.5rem);font-weight:950;line-height:1.08}.product-description p{margin:0 0 1rem;color:rgba(255,255,255,.78);font-size:1.05rem;line-height:1.75}.product-description ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1.5rem 0;padding:0;list-style:none}.product-description li{border:1px solid rgba(199,155,85,.3);border-radius:.55rem;background:rgba(199,155,85,.09);padding:1rem;color:#fff;font-weight:800}

.price-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
  max-width: 58rem;
  margin: -1rem auto 2rem;
  border: 2px solid rgba(184, 95, 61, .28);
  border-radius: .75rem;
  background: linear-gradient(135deg, #fff4cf, #fffaf2);
  padding: 1rem 1.1rem;
  color: #171717;
  box-shadow: 0 18px 45px rgba(184, 95, 61, .11);
}

.price-alert i {
  color: #b85f3d;
  font-size: 1.45rem;
  line-height: 1;
}

.price-alert strong,
.price-alert span {
  display: block;
}

.price-alert strong {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 950;
}

.price-alert span {
  margin-top: .18rem;
  color: rgba(23, 23, 23, .68);
  font-weight: 800;
  line-height: 1.45;
}

.model-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, .1);
  border-radius: .65rem;
  background: #fbfaf7;
  box-shadow: 0 16px 38px rgba(23, 23, 23, 0);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.model-card img {
  width: 100%;
  height: 16rem;
  object-fit: contain;
  background: linear-gradient(180deg, #fff, #ece7dd);
  padding: .75rem;
  cursor: zoom-in;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.model-card div {
  padding: 1rem;
}

.model-card h3 {
  margin: 0 0 .65rem;
  font-size: 1.05rem;
  font-weight: 950;
}

.price-scope-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .7rem;
  border-radius: .45rem;
  background: #171717;
  padding: .38rem .5rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.price-scope-badge i {
  color: #c79b55;
}

.model-card p {
  margin: .15rem 0;
  color: rgba(23, 23, 23, .7);
  font-weight: 800;
}

.model-card .model-inquiry-label {
  color: #9f4d35;
  font-weight: 950;
}

.model-price-note {
  display: block;
  margin-top: .65rem;
  border-left: 3px solid #b85f3d;
  padding-left: .55rem;
  color: rgba(23, 23, 23, .62);
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.35;
}

.product-intro-card .description-highlight {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-top: 1.2rem;
  border: 1px solid rgba(184, 95, 61, .3);
  border-left: 5px solid #b85f3d;
  border-radius: .55rem;
  background: #fff4eb;
  padding: 1rem 1.1rem;
  color: #6f321f;
  font-weight: 900;
}

.product-intro-card .description-highlight i {
  color: #b85f3d;
  font-size: 1.2rem;
}

.model-card span {
  display: inline-flex;
  margin-top: .75rem;
  border-radius: 999px;
  background: rgba(184, 95, 61, .1);
  padding: .35rem .55rem;
  color: #8e442e;
  font-size: .74rem;
  font-weight: 950;
}

.model-card:hover {
  transform: translateY(-8px);
  border-color: rgba(199, 155, 85, .75);
  box-shadow: 0 26px 56px rgba(23, 23, 23, .13);
}

.model-card:hover img {
  transform: scale(1.08);
}

.sticky-copy {
  position: sticky;
  top: 9rem;
  align-self: start;
}

.sticky-copy .century-btn {
  margin-top: 1.2rem;
}

.color-panels {
  display: grid;
  gap: 1rem;
}

.color-panels article {
  border-radius: .65rem;
  background: #fff;
  padding: clamp(1rem, 2vw, 1.45rem);
  box-shadow: 0 18px 50px rgba(23, 23, 23, .09);
}

.color-panels h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 950;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.swatch-grid-small {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swatch-grid figure {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: .5rem;
  background: #fbfaf7;
}

.swatch-grid img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .35s ease;
}

.swatch-grid figcaption {
  padding: .55rem;
  color: rgba(23, 23, 23, .72);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.2;
}

.swatch-grid figure:hover img {
  transform: scale(1.08);
}

.technical-band {
  background: #171717;
}

.tech-card {
  border-radius: .75rem;
  background: #fbfaf7;
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.tech-card-dark {
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(135deg, #b85f3d 0%, #8f5140 58%, #61463c 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 45px rgba(0, 0, 0, .16);
}

.technical-band .tech-card-dark h2 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

.technical-band .tech-card-dark p {
  color: rgba(255, 255, 255, .9);
}

.tech-card ul {
  display: grid;
  gap: .65rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.tech-card li {
  position: relative;
  padding-left: 1.7rem;
  color: rgba(23, 23, 23, .72);
  line-height: 1.55;
}

.tech-card li::before {
  content: "\F26A";
  position: absolute;
  left: 0;
  top: .08rem;
  color: #b85f3d;
  font-family: "bootstrap-icons";
}

.tech-card p {
  color: rgba(23, 23, 23, .72);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: .8rem;
}

.gallery-grid img {
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
  border-radius: .55rem;
  cursor: zoom-in;
  box-shadow: 0 16px 42px rgba(23, 23, 23, .12);
  transition: transform .32s ease, filter .32s ease;
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4),
.gallery-grid img:nth-child(9) {
  grid-column: span 2;
  grid-row: span 2;
  height: 27.8rem;
}

.gallery-grid img:hover {
  filter: saturate(1.1) contrast(1.04);
  transform: translateY(-5px) scale(1.02);
}

.product-details-section {
  background: #f4f0e9;
}

.product-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 42rem;
  margin-inline: auto;
}

.product-detail-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(23, 23, 23, .1);
  border-radius: .8rem;
  background: #fff;
  box-shadow: 0 14px 36px rgba(23, 23, 23, .08);
}

.product-detail-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  cursor: zoom-in;
}

.product-detail-card figcaption {
  padding: 1rem 1.1rem 1.15rem;
}

.product-detail-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.product-detail-card p {
  margin: .4rem 0 0;
  color: rgba(23, 23, 23, .68);
  line-height: 1.55;
}

.opening-diagrams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.opening-diagrams figure {
  border-radius: .65rem;
  background: #fff;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 18px 50px rgba(23, 23, 23, .09);
}

.opening-diagrams img {
  width: 100%;
  max-height: 16rem;
  object-fit: contain;
}

.opening-diagrams figcaption {
  margin-top: .7rem;
  font-weight: 950;
}

.site-footer {
  background: #111;
  color: #fff;
}

.site-footer h2,
.site-footer h3 {
  color: #c79b55;
  font-weight: 950;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: .4rem 0;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1rem;
}

.copyright {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 1.25rem;
  color: rgba(255, 255, 255, .52);
}

.floating-calc,
.back-to-top {
  position: fixed;
  z-index: 40;
  right: 1rem;
  width: 3.35rem;
  height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: .75rem;
  font-size: 1.35rem;
  box-shadow: 0 18px 42px rgba(23, 23, 23, .22);
  transition: transform .22s ease, opacity .22s ease, visibility .22s ease, background-color .22s ease;
}

.floating-calc {
  bottom: 1rem;
  background: #b85f3d;
  color: #fff;
  animation: calcIdlePulse 3.2s ease-in-out infinite;
}

.floating-calc::after {
  content: "";
  position: absolute;
  inset: -.42rem;
  border: 2px solid rgba(184, 95, 61, .38);
  border-radius: .95rem;
  opacity: 0;
  pointer-events: none;
  transform: scale(.82);
}

.floating-calc.is-scroll-attention {
  animation: calcScrollNudge .72s cubic-bezier(.2, .8, .2, 1);
  background: #c79b55;
  color: #171717;
}

.floating-calc.is-scroll-attention::after {
  animation: calcRipple .72s ease-out;
}

.back-to-top {
  bottom: 4.9rem;
  background: #171717;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-calc:hover,
.back-to-top:hover {
  transform: translateY(-3px);
}

.century-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(23, 23, 23, .68);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}

.century-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.century-modal-panel {
  position: relative;
  width: min(100%, 46rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: .85rem;
  background: #fbfaf7;
  padding: clamp(1.2rem, 4vw, 2.1rem);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .38);
  transform: translateY(18px) scale(.98);
  transition: transform .24s ease;
}

.century-modal.is-open .century-modal-panel {
  transform: translateY(0) scale(1);
}

.modal-open {
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: .55rem;
  background: #171717;
  color: #fff;
}

.modal-head {
  max-width: 36rem;
  padding-right: 2.8rem;
}

.modal-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1;
}

.modal-head p:not(.eyebrow) {
  margin-top: .8rem;
  color: rgba(23, 23, 23, .66);
  line-height: 1.6;
}

.calc-form {
  display: grid;
  gap: .9rem;
  margin-top: 1.3rem;
}

.calc-form label {
  display: grid;
  gap: .35rem;
  color: rgba(23, 23, 23, .72);
  font-weight: 950;
}

.calc-form select {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(23, 23, 23, .14);
  border-radius: .55rem;
  background: #fff;
  padding: 0 .8rem;
  color: #171717;
  font-weight: 800;
  outline: none;
}

.calc-form select:focus {
  border-color: #b85f3d;
  box-shadow: 0 0 0 4px rgba(184, 95, 61, .15);
}

.calc-result {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
  border-radius: .7rem;
  background: #171717;
  padding: 1.1rem;
  color: #fff;
}

.calc-result span {
  display: block;
  color: rgba(255, 255, 255, .6);
  font-weight: 950;
  text-transform: uppercase;
}

.calc-result strong {
  display: block;
  color: #c79b55;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 950;
  line-height: 1;
}

.calc-result small {
  color: rgba(255, 255, 255, .72);
  font-size: 1.05rem;
  font-weight: 900;
}

.calc-breakdown {
  display: grid;
  gap: .45rem;
  margin: 0;
  border-radius: .55rem;
  background: rgba(255, 255, 255, .08);
  padding: .75rem;
}

.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.calc-breakdown dt,
.calc-breakdown dd {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-weight: 900;
}

.calc-breakdown dt {
  color: rgba(255, 255, 255, .62);
}

.calc-exclusion {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  border-radius: .55rem;
  background: rgba(199, 155, 85, .16);
  padding: .65rem .75rem;
  color: #fff !important;
  font-weight: 950;
}

.calc-exclusion i {
  color: #c79b55;
  margin-top: .12rem;
}

.calc-result p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  line-height: 1.55;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 4rem;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(12, 12, 12, .88);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

/* Product gallery aligned with the Estra gallery. */
.image-lightbox {
  grid-template: auto minmax(0, 1fr) auto / 1fr;
  gap: 0;
  padding: 0;
  background: rgba(8, 8, 9, .94);
  backdrop-filter: blur(16px);
  overscroll-behavior: contain;
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.1rem;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  color: #ddd;
  font-weight: 800;
}

#lightboxCounter { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
#lightboxCaption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-actions { display: flex; gap: .5rem; }

.lightbox-tool,
.lightbox-thumbs button {
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.lightbox-tool {
  position: static;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.lightbox-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: .5rem 5rem;
}

.lightbox-stage .lightbox-figure { grid-area: 1 / 1; }
.lightbox-stage .lightbox-prev,
.lightbox-stage .lightbox-next { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.lightbox-stage .lightbox-prev { left: 1.25rem; }
.lightbox-stage .lightbox-next { right: 1.25rem; }

.lightbox-stage .lightbox-figure img {
  max-height: calc(100vh - 12rem);
  transition: transform .25s ease;
  cursor: zoom-in;
  user-select: none;
}

.image-lightbox.is-zoomed .lightbox-figure img { transform: scale(1.7); cursor: zoom-out; }

.lightbox-thumbs {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding: .75rem max(1rem, calc((100vw - 56rem) / 2));
  background: rgba(0, 0, 0, .34);
  scrollbar-width: thin;
}

.lightbox-thumbs button {
  flex: 0 0 3.65rem;
  width: 3.65rem;
  height: 4.25rem;
  padding: .2rem;
  border-radius: .55rem;
  opacity: .58;
}

.lightbox-thumbs button:hover,
.lightbox-thumbs button.is-active { opacity: 1; border-color: #c79b55; background: rgba(255, 255, 255, .14); }
.lightbox-thumbs img { width: 100%; height: 100%; border-radius: .3rem; object-fit: contain; }
.lightbox-help { position: absolute; left: 50%; bottom: 5.7rem; z-index: 2; transform: translateX(-50%); margin: 0; padding: .4rem .75rem; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #ddd; font-size: .75rem; pointer-events: none; }

@media (max-width: 640px) {
  #lightboxCaption { display: none; }
  .lightbox-toolbar { padding: .6rem; }
  .lightbox-stage { padding: .25rem 3rem; }
  .lightbox-stage .lightbox-prev { left: .35rem; }
  .lightbox-stage .lightbox-next { right: .35rem; }
  .lightbox-stage .lightbox-figure img { max-height: calc(100vh - 10.5rem); }
  .lightbox-help { display: none; }
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: .9rem;
  margin: 0;
}

.lightbox-figure img {
  max-width: min(100%, 76rem);
  max-height: calc(100vh - 8.5rem);
  border-radius: .65rem;
  background: #fbfaf7;
  object-fit: contain;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .45);
  transform: translateY(12px) scale(.98);
  transition: transform .22s ease;
}

.image-lightbox.is-open .lightbox-figure img {
  transform: translateY(0) scale(1);
}

.lightbox-figure figcaption {
  max-width: 56rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  padding: .55rem 1rem;
  color: rgba(255, 255, 255, .84);
  font-weight: 850;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: .65rem;
  background: rgba(255, 255, 255, .12);
}

.lightbox-nav {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 1.6rem;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: #c79b55;
  color: #171717;
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatDoor {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes productOrbitSpin {
  from {
    transform: rotate(0deg) translateX(195px);
  }

  to {
    transform: rotate(360deg) translateX(195px);
  }
}

@keyframes productOrbitPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: .78;
  }

  50% {
    transform: scale(1.07);
    opacity: .42;
  }
}

@keyframes productDoorFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-ring,
  .stage-ring::after,
  .hero-door {
    animation: none;
  }
}

@media (max-width: 520px) {
  @keyframes productOrbitSpin {
    from {
      transform: rotate(0deg) translateX(155px);
    }

    to {
      transform: rotate(360deg) translateX(155px);
    }
  }
}

@keyframes calcIdlePulse {
  0%,
  100% {
    box-shadow: 0 18px 42px rgba(23, 23, 23, .22), 0 0 0 0 rgba(184, 95, 61, .38);
  }

  50% {
    box-shadow: 0 20px 48px rgba(23, 23, 23, .26), 0 0 0 .42rem rgba(184, 95, 61, 0);
  }
}

@keyframes calcScrollNudge {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  22% {
    transform: translateY(-7px) rotate(-8deg) scale(1.08);
  }

  48% {
    transform: translateY(2px) rotate(6deg) scale(1.02);
  }

  72% {
    transform: translateY(-3px) rotate(-3deg) scale(1.05);
  }
}

@keyframes calcRipple {
  0% {
    opacity: .9;
    transform: scale(.78);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@media (max-width: 1199px) {
  .century-main {
    padding-top: 7rem;
  }

  .century-hero h1 {
    max-width: 14ch;
  }

  .model-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .model-grid.model-grid-4,
  .model-grid.model-grid-6 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .century-main {
    padding-top: 8.5rem;
  }

  .century-hero {
    min-height: auto;
  }

  .century-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.8rem);
  }

  .century-product-stage {
    min-height: 24rem;
  }

  .hero-door {
    width: min(18rem, 72vw);
  }

  .model-grid,
  .swatch-grid,
  .swatch-grid-small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-grid.model-grid-4,
  .model-grid.model-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-description ul {
    grid-template-columns: 1fr;
  }

  .model-card img {
    height: 13rem;
  }

  .sticky-copy {
    position: static;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 30rem;
    margin-inline: auto;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(9) {
    grid-column: auto;
    grid-row: auto;
    height: 12rem;
  }

  .image-lightbox {
    grid-template-columns: 3rem minmax(0, 1fr) 3rem;
    gap: .35rem;
    padding: .7rem;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 9.5rem);
  }

  .lightbox-nav {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.25rem;
  }

  .lightbox-figure figcaption {
    border-radius: .5rem;
    font-size: .86rem;
  }

  .opening-diagrams {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .century-btn {
    width: 100%;
  }

  .model-grid,
  .swatch-grid,
  .swatch-grid-small,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .model-grid.model-grid-4,
  .model-grid.model-grid-6 {
    grid-template-columns: 1fr;
  }

  .century-modal {
    align-items: end;
    padding: .6rem;
  }

  .century-modal-panel {
    width: 100%;
    border-radius: .85rem .85rem .55rem .55rem;
  }
}

/* Wide colour sections: keep every swatch visible and wrap onto additional rows. */
.century-colors-horizontal > .grid {
  grid-template-columns: 1fr;
}

.century-colors-horizontal .sticky-copy {
  position: static;
  max-width: 52rem;
}

.century-colors-horizontal .swatch-grid,
.century-colors-horizontal .swatch-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr));
  gap: .8rem;
  overflow: visible;
  padding: .15rem;
}

.century-colors-horizontal .swatch-grid figure {
  min-width: 0;
}

/* Keep the four-swatch Iridium and HPL rows the same tile width as CPL. */
.uniform-color-swatches .swatch-grid,
.uniform-color-swatches .swatch-grid-small {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .uniform-color-swatches .swatch-grid,
  .uniform-color-swatches .swatch-grid-small {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .uniform-color-swatches .swatch-grid,
  .uniform-color-swatches .swatch-grid-small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Related products, styled as an online-store shelf. */
.related-products {
  background: #fff;
}

.century-note.stock-highlight {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 95, 61, .38);
  background: linear-gradient(145deg, #fff 0%, #fff7ed 100%);
  box-shadow: 0 20px 48px rgba(142, 68, 46, .2), 0 5px 14px rgba(23, 23, 23, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.century-note.stock-highlight::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: .35rem;
  background: linear-gradient(#c79b55, #b85f3d);
}

.century-note.stock-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 58px rgba(142, 68, 46, .26), 0 8px 18px rgba(23, 23, 23, .11);
}

.century-note.stock-highlight i {
  color: #b85f3d;
  filter: drop-shadow(0 5px 8px rgba(184, 95, 61, .25));
}

.stock-heading {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.stock-heading > i {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.stock-heading h3 {
  margin: 0;
}

.stock-heading span {
  display: block;
  margin-top: .15rem;
  color: rgba(23, 23, 23, .62);
  font-size: .82rem;
  font-weight: 700;
}

.stock-details {
  margin-top: 1rem;
  border-top: 1px solid rgba(184, 95, 61, .2);
  padding-top: .85rem;
}

.stock-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  cursor: pointer;
  color: #8f452f;
  font-size: .86rem;
  font-weight: 900;
  list-style: none;
}

.stock-details summary::-webkit-details-marker {
  display: none;
}

.stock-details summary i {
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  font-size: .8rem;
  transition: transform .2s ease;
}

.stock-details[open] summary i {
  transform: rotate(180deg);
}

.stock-details-body {
  padding-top: .9rem;
}

.stock-details-body h4 {
  margin: .65rem 0 .2rem;
  font-size: .86rem;
}

.stock-details-body p,
.stock-details-body small {
  margin: 0;
  color: rgba(23, 23, 23, .72);
  font-size: .8rem;
  line-height: 1.55;
}

.stock-details-body small {
  display: block;
  margin-top: .75rem;
  font-weight: 700;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.related-product-card {
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, .1);
  border-radius: .8rem;
  background: #fff;
  color: #171717;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(23, 23, 23, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.related-product-card:hover,
.related-product-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(184, 95, 61, .45);
  box-shadow: 0 22px 50px rgba(23, 23, 23, .13);
  outline: none;
}

.related-product-image {
  display: grid;
  height: 19rem;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f0ece5, #fbfaf7);
}

.related-product-image img {
  width: 100%;
  height: 100%;
  padding: 1.25rem;
  object-fit: contain;
  transition: transform .3s ease;
}

.related-product-card:hover .related-product-image img {
  transform: scale(1.04);
}

.related-product-info {
  display: grid;
  gap: .45rem;
  padding: 1.1rem;
}

.related-product-info small {
  color: #b85f3d;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.related-product-info strong {
  font-family: Georgia, serif;
  font-size: 1.55rem;
}

.related-product-info span {
  color: rgba(23, 23, 23, .68);
  font-size: .9rem;
}

.related-product-info span b {
  color: #171717;
  font-size: 1.1rem;
}

.related-product-info em {
  display: flex;
  justify-content: space-between;
  margin-top: .45rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(23, 23, 23, .08);
  color: #8e442e;
  font-size: .84rem;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 900px) {
  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .related-products-grid {
    display: flex;
    overflow-x: auto;
    padding: .2rem .2rem 1rem;
    scroll-snap-type: x mandatory;
  }

  .related-product-card {
    flex: 0 0 min(78vw, 18rem);
    scroll-snap-align: start;
  }

  .related-product-image {
    height: 17rem;
  }
}

button[data-open-century-calculator]:not(.floating-calc),
button[data-open-product-calculator]:not(.floating-calc) {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: .55rem !important;
  padding: .82rem 1.08rem;
  font-weight: 950;
  line-height: 1.1;
  border: 1px solid #d98a6d !important;
  background: #b85f3d !important;
  color: #fff !important;
  box-shadow: 0 16px 38px rgba(184, 95, 61, .38) !important;
  transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease !important;
}

button[data-open-century-calculator]:not(.floating-calc):hover,
button[data-open-century-calculator]:not(.floating-calc):focus-visible,
button[data-open-product-calculator]:not(.floating-calc):hover,
button[data-open-product-calculator]:not(.floating-calc):focus-visible {
  transform: translateY(-3px);
  background: #c79b55 !important;
  color: #171717 !important;
  box-shadow: 0 20px 44px rgba(199, 155, 85, .38) !important;
  outline: none;
}

/* Final gallery overrides: keep the shared Classen viewer identical to Estra. */
.image-lightbox {
  grid-template: auto minmax(0, 1fr) auto / 1fr;
}

.image-lightbox .lightbox-toolbar .lightbox-close {
  position: static;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.image-lightbox .lightbox-stage .lightbox-figure img {
  max-height: calc(100vh - 12rem);
  transform: none;
  transition: transform .25s ease;
}

.image-lightbox.is-open .lightbox-stage .lightbox-figure img { transform: none; }
.image-lightbox.is-zoomed .lightbox-stage .lightbox-figure img { transform: scale(1.7); }

.image-lightbox.is-detail-preview .lightbox-stage .lightbox-figure img {
  width: min(82vw, 48rem);
  max-width: min(82vw, 48rem);
  max-height: calc(100vh - 12rem);
  object-fit: contain;
}

.image-lightbox .lightbox-tool:hover,
.image-lightbox .lightbox-tool:focus-visible {
  background: #fff;
  color: #171717;
  transform: none;
  outline: none;
}

@media (max-width: 640px) {
  .image-lightbox .lightbox-stage .lightbox-figure img { max-height: calc(100vh - 10.5rem); }
}
