:root {
  --ink: #062b36;
  --ink-2: #0d3944;
  --muted: #52636a;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --line: #dfe4e5;
  --coral: #ff4f3f;
  --coral-dark: #e33d31;
  --shadow: 0 26px 70px rgba(6, 43, 54, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: 0;
  height: 2px;
  background: var(--coral);
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(6, 43, 54, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand-crop {
  display: inline-flex;
  width: 136px;
  height: auto;
  overflow: visible;
  line-height: 0;
  transition: transform 260ms ease, opacity 260ms ease, filter 260ms ease;
}

.brand-crop img {
  width: 136px;
  max-width: none;
  height: auto;
  transform: none;
}

.brand-crop:hover,
.brand-crop:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.site-nav > a,
.nav-drop-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 28px 0;
  transition: color 220ms ease, transform 220ms ease;
}

.site-nav > a::after,
.nav-drop-trigger::after {
  content: "";
  position: absolute;
  left: calc(50% - 14px);
  right: auto;
  bottom: 14px;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease, opacity 220ms ease;
  opacity: 0.92;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.site-nav > a.active::after,
.nav-drop-trigger:hover::after,
.nav-drop-trigger:focus-visible::after,
.nav-drop-trigger.active::after {
  transform: scaleX(1);
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.nav-drop-trigger:hover,
.nav-drop-trigger:focus-visible {
  color: var(--coral-dark);
  transform: translateY(-1px);
}

.nav-drop-trigger.active {
  margin: 18px -14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 79, 63, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 79, 63, 0.09), rgba(255, 79, 63, 0.035));
  box-shadow: 0 14px 30px rgba(255, 79, 63, 0.11);
}

.nav-drop-trigger.active::after {
  left: calc(50% - 14px);
  right: auto;
  bottom: -7px;
  width: 28px;
  height: 3px;
  border-radius: 999px;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 220ms ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.is-open .nav-caret {
  transform: translateY(1px) rotate(225deg);
}

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(690px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(6, 43, 54, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(6, 43, 54, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  visibility: hidden;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(.2,.7,.2,1), visibility 220ms ease;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu,
.nav-dropdown.is-open .nav-drop-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-drop-menu a {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-left: 2px solid transparent;
  color: var(--ink);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.nav-drop-menu a:first-child {
  grid-column: 1 / -1;
  background: rgba(255, 79, 63, 0.05);
}

.nav-drop-menu a::after {
  content: none;
}

.nav-drop-menu a:hover,
.nav-drop-menu a:focus-visible {
  border-color: var(--coral);
  background: rgba(6, 43, 54, 0.035);
  color: var(--coral-dark);
  transform: translateX(3px);
}

.nav-drop-menu span {
  font-size: 13px;
  font-weight: 900;
}

.nav-drop-menu small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0 24px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.btn::after {
  content: "->";
  font-weight: 900;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:hover::after,
.btn:focus-visible::after,
.detail-link:hover::after,
.detail-link:focus-visible::after {
  transform: translateX(4px);
}

.btn::after,
.detail-link::after {
  display: inline-block;
  transition: transform 220ms ease;
}

.btn-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 20px 42px rgba(255, 79, 63, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--coral-dark);
  box-shadow: 0 24px 52px rgba(255, 79, 63, 0.24);
}

.btn-outline {
  border-color: rgba(6, 43, 54, 0.35);
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--coral);
  background: rgba(255, 79, 63, 0.04);
  transform: translateY(-1px);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.minimal-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-split {
  min-height: min(690px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 48px;
  padding: 48px 0 60px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.hero-split > *,
.page-hero-grid > *,
.solution-page-grid > *,
.solution-content-grid > *,
.final-cta-grid > * {
  min-width: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 16px;
}

.hero-copy p {
  max-width: 430px;
  margin-bottom: 30px;
  color: #244954;
  font-size: 17px;
}

.hero-image {
  position: relative;
  min-height: 520px;
  margin-right: calc((100vw - min(var(--max), calc(100vw - 40px))) / -2);
  overflow: hidden;
  background: var(--soft);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.72) 21%, rgba(255,255,255,0) 43%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.service-proof {
  padding: 56px 0;
  text-align: center;
}

.service-proof h2 {
  max-width: 760px;
  margin: 0 auto 54px;
  font-size: clamp(26px, 3vw, 40px);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.proof-grid article {
  padding: 0 34px;
  border-right: 1px solid var(--line);
  transition: transform 260ms ease, color 260ms ease;
}

.proof-grid article:last-child {
  border-right: 0;
}

.proof-grid article:hover {
  transform: translateY(-4px);
}

.proof-icon {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 42px;
  line-height: 1;
}

.proof-grid p {
  max-width: 220px;
  margin: 0 auto;
  font-size: 14px;
}

.solutions-minimal {
  padding: 84px 0 96px;
  background: #fff;
}

.section-kicker {
  margin-bottom: 28px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.section-kicker::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 14px;
  background: currentColor;
}

.solution-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 28px;
}

.solution-item {
  display: block;
  min-width: 0;
  cursor: pointer;
  outline: none;
  transition: transform 320ms ease, filter 320ms ease;
}

.solution-item img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  background: var(--soft);
  filter: saturate(0.92) contrast(1.02);
  transition: transform 560ms cubic-bezier(.2,.7,.2,1), filter 500ms ease, box-shadow 320ms ease;
}

.solution-item:hover,
.solution-item:focus-visible {
  transform: translateY(-6px);
}

.solution-item:hover img,
.solution-item:focus-visible img {
  box-shadow: 0 22px 54px rgba(6, 43, 54, 0.14);
  transform: scale(1.025);
  filter: saturate(1.03) contrast(1.05);
}

.solution-item div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-top: 18px;
}

.solution-number {
  color: var(--coral);
  font-size: 25px;
  font-weight: 900;
}

.solution-item h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.solution-item p {
  grid-column: 2;
  margin-bottom: 0;
  font-size: 14px;
}

.detail-link {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 4px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.detail-link::after {
  content: "->";
}

.dark-process {
  padding: 70px 0;
  color: #fff;
  background: radial-gradient(circle at 18% 0%, #0e4a56 0%, #052b36 44%, #041f28 100%);
}

.dark-process .section-kicker,
.dark-process h3,
.dark-process p {
  color: #fff;
}

.dark-process .section-kicker {
  color: var(--coral);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-grid article {
  padding: 0 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 260ms ease, opacity 260ms ease;
}

.process-grid article:first-child {
  padding-left: 0;
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid article:hover {
  transform: translateY(-4px);
}

.process-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.process-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.advice-band {
  padding: 64px 0;
  background: var(--soft);
}

.advice-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr auto;
  gap: 48px;
  align-items: center;
}

.advice-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #fff;
  transition: transform 460ms ease, box-shadow 320ms ease, filter 320ms ease;
}

.advice-grid img:hover {
  box-shadow: 0 18px 42px rgba(6, 43, 54, 0.14);
  filter: contrast(1.04);
  transform: scale(1.015);
}

.advice-grid h2 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
}

.advice-grid p {
  max-width: 620px;
  margin-bottom: 0;
}

.final-cta {
  padding: 54px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 34px;
  align-items: center;
}

.final-cta h2 {
  max-width: 620px;
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 38px);
}

.final-cta p {
  margin-bottom: 0;
}

.home-line {
  width: 58px;
  height: 58px;
  border: 2px solid var(--coral);
  transform: rotate(45deg);
  transition: transform 360ms ease, background 360ms ease;
}

.final-cta:hover .home-line {
  background: rgba(255, 79, 63, 0.06);
  transform: rotate(45deg) scale(1.06);
}

.site-footer {
  padding: 58px 0 28px;
  color: #fff;
  background: #052b36;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr 1fr;
  gap: 54px;
}

.footer-brand {
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.footer-slogan {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 14px;
}

.site-footer a,
.site-footer span,
.site-footer p {
  display: block;
  margin: 8px 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.site-footer a {
  transition: color 220ms ease, transform 220ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.page-hero {
  padding: 92px 0 70px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff 0%, #fff 58%, var(--soft) 58%, var(--soft) 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(36px, 4.7vw, 58px);
}

.page-hero p {
  max-width: 680px;
}

.page-hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero-narrow .container {
  max-width: 900px;
}

.section {
  padding: 78px 0;
}

.solution-detail-list .container,
.product-list {
  display: grid;
  gap: 26px;
}

.solution-detail,
.product-row,
.case-card,
.guide-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 320ms ease, border-color 320ms ease, background 320ms ease;
}

.solution-detail.reverse img,
.product-row:nth-child(even) img {
  order: 2;
}

.solution-detail img,
.product-row img,
.case-card img,
.guide-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: var(--soft);
  transition: transform 520ms cubic-bezier(.2,.7,.2,1), filter 360ms ease, box-shadow 360ms ease;
}

.solution-detail {
  cursor: pointer;
  outline: none;
}

.solution-detail:hover,
.solution-detail:focus-visible,
.product-row:hover,
.case-card:hover,
.guide-card:hover {
  border-color: rgba(255, 79, 63, 0.45);
  transform: translateY(-4px);
}

.solution-detail:hover img,
.solution-detail:focus-visible img,
.product-row:hover img,
.case-card:hover img,
.guide-card:hover img {
  box-shadow: 0 24px 58px rgba(6, 43, 54, 0.13);
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.018);
}

.section-label,
.guide-card span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--coral);
}

.solution-index-section {
  background: #fff;
}

.solution-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 30px;
}

.solution-index-card {
  display: grid;
  align-content: start;
  min-width: 0;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  outline: none;
  transition: transform 320ms ease, border-color 320ms ease;
}

.solution-index-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  margin-bottom: 22px;
  background: var(--soft);
  filter: saturate(0.94) contrast(1.02);
  transition: transform 560ms cubic-bezier(.2,.7,.2,1), filter 360ms ease, box-shadow 360ms ease;
}

.solution-index-card h2 {
  margin: 10px 0 10px;
  font-size: 24px;
}

.solution-index-card p {
  margin-bottom: 18px;
  font-size: 15px;
}

.solution-index-card strong {
  color: var(--ink);
  font-size: 13px;
}

.solution-index-card:hover,
.solution-index-card:focus-visible {
  border-color: rgba(255, 79, 63, 0.5);
  transform: translateY(-6px);
}

.solution-index-card:hover img,
.solution-index-card:focus-visible img {
  box-shadow: 0 24px 58px rgba(6, 43, 54, 0.13);
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.solution-page-hero {
  overflow: hidden;
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff 0%, #fff 54%, var(--soft) 54%, var(--soft) 100%);
}

.solution-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.solution-page-hero h1 {
  max-width: 720px;
  margin-top: 12px;
  font-size: clamp(36px, 4.6vw, 58px);
}

.solution-page-hero p {
  max-width: 620px;
  margin-bottom: 28px;
  color: #244954;
  font-size: 17px;
}

.solution-page-hero img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 380ms ease;
}

.solution-page-hero:hover img {
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.012);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  transition: color 220ms ease, transform 220ms ease;
}

.back-link::before {
  content: "<-";
  margin-right: 8px;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--coral-dark);
  transform: translateX(-3px);
}

.solution-summary {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.solution-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.solution-summary article {
  padding: 28px 34px;
  border-right: 1px solid var(--line);
  transition: background 260ms ease, transform 260ms ease;
}

.solution-summary article:first-child {
  padding-left: 0;
}

.solution-summary article:last-child {
  border-right: 0;
}

.solution-summary article:hover {
  background: rgba(255, 79, 63, 0.035);
  transform: translateY(-2px);
}

.solution-summary span {
  display: block;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-summary strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.42;
}

.solution-content-grid {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 64px;
  align-items: start;
}

.solution-page-aside {
  position: sticky;
  top: 104px;
}

.solution-page-aside img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin-bottom: 18px;
  background: var(--soft);
  transition: transform 520ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease, filter 320ms ease;
}

.solution-page-aside:hover img {
  box-shadow: 0 22px 54px rgba(6, 43, 54, 0.13);
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.018);
}

.solution-page-aside p {
  margin-bottom: 0;
  color: var(--ink-2);
  font-weight: 750;
}

.solution-panel-grid {
  display: grid;
  gap: 0;
}

.solution-panel {
  padding: 28px 0 30px;
  border-top: 1px solid var(--line);
  transition: border-color 260ms ease, transform 260ms ease;
}

.solution-panel:first-child {
  padding-top: 0;
  border-top: 0;
}

.solution-panel:hover {
  border-color: rgba(255, 79, 63, 0.48);
  transform: translateY(-2px);
}

.solution-panel h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.solution-panel p {
  max-width: 740px;
}

.ori-door-page .solution-page-hero {
  padding: 86px 0 76px;
  background: linear-gradient(90deg, #fff 0%, #fff 50%, #f5f5f2 50%, #f5f5f2 100%);
}

.door-hero-grid {
  grid-template-columns: 0.86fr 1.14fr;
  gap: 72px;
}

.door-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(36px, 4.2vw, 56px);
}

.door-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.door-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.door-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-left: 2px solid var(--coral);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease;
}

.door-hero-points span:hover {
  background: #fff;
  transform: translateY(-2px);
}

.door-priority-section {
  padding: 28px 0 10px;
  background: #fff;
}

.door-priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.door-priority-grid-merged {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.door-priority-card {
  position: relative;
  isolation: isolate;
  min-height: 190px;
  padding: 26px;
  overflow: hidden;
  background: #fff;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), background 260ms ease, box-shadow 320ms ease;
}

.door-priority-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 79, 63, 0.075) 48%, transparent 62% 100%);
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity 320ms ease, transform 560ms cubic-bezier(.2,.7,.2,1);
}

.door-priority-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.door-priority-card:hover {
  z-index: 1;
  background: #fff;
  box-shadow: 0 22px 54px rgba(6, 43, 54, 0.11);
  transform: translateY(-6px);
}

.door-priority-card:hover::before {
  opacity: 1;
  transform: translateX(24%);
}

.door-priority-card:hover::after {
  transform: scaleX(1);
}

.door-priority-card.priority-wide {
  min-height: 220px;
}

.door-priority-card span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.door-priority-card h2 {
  margin: 26px 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.door-priority-card p {
  margin: 0;
  font-size: 15px;
}

.door-mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: rgba(6, 43, 54, 0.12);
}

.door-mini-metrics strong {
  display: grid;
  gap: 5px;
  padding: 15px;
  color: var(--coral);
  background: var(--soft);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.door-mini-metrics span {
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
}

.door-hero-media {
  position: relative;
}

.door-hero-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: 0;
  border: 2px solid rgba(255, 79, 63, 0.36);
  transition: transform 420ms ease;
}

.door-hero-media img {
  position: relative;
  z-index: 1;
  height: 590px;
  object-position: 54% 50%;
}

.door-hero-media:hover::before {
  transform: translate(8px, -8px);
}

.door-system-section {
  background: #fff;
}

.door-merged-value-section {
  padding-top: 92px;
  scroll-margin-top: 92px;
}

.door-system-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.door-merged-value-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
}

.door-system-copy p {
  max-width: 620px;
}

.door-system-card {
  position: relative;
  display: grid;
  gap: 18px;
  isolation: isolate;
}

.door-system-card::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid rgba(255, 79, 63, 0.28);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 360ms ease, transform 420ms cubic-bezier(.2,.7,.2,1);
}

.door-system-card:hover::before {
  opacity: 1;
  transform: translate(0, 0);
}

.door-system-card img,
.door-feature-card img,
.door-cost-grid img {
  width: 100%;
  object-fit: cover;
  background: var(--soft);
  transition: transform 560ms cubic-bezier(.2,.7,.2,1), box-shadow 360ms ease, filter 360ms ease;
}

.door-system-card img {
  aspect-ratio: 1.52 / 1;
}

.door-merged-value-section .door-system-card img {
  aspect-ratio: 1.74 / 1;
}

.door-system-card:hover img,
.door-feature-card:hover img,
.door-cost-grid:hover img {
  box-shadow: 0 24px 60px rgba(6, 43, 54, 0.13);
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.015);
}

.door-component-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.door-component-list span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.door-savings-list span {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.42)),
    repeating-linear-gradient(92deg, rgba(119, 89, 61, 0.14) 0 1px, transparent 1px 8px),
    var(--soft);
}

.door-merged-value-section .door-mini-metrics {
  max-width: 620px;
  margin-bottom: 24px;
}

.late-install-inline {
  margin-top: 28px;
  padding: 22px;
  border-left: 3px solid var(--coral);
  background:
    linear-gradient(135deg, rgba(255, 79, 63, 0.08), rgba(255, 255, 255, 0.92)),
    var(--soft);
}

.late-install-inline span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.late-install-inline p {
  max-width: 600px;
  margin-bottom: 14px;
}

.door-comparison-section {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}

.door-section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.door-section-heading p {
  max-width: 690px;
}

.door-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.door-feature-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 24px;
  align-content: start;
  min-width: 0;
  padding: 30px 0;
  border-top: 1px solid rgba(6, 43, 54, 0.12);
  transition: border-color 260ms ease, transform 260ms ease;
}

.door-feature-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.door-feature-card:hover {
  border-color: rgba(255, 79, 63, 0.5);
  transform: translateY(-4px);
}

.door-feature-card:hover::before {
  transform: scaleX(1);
}

.door-feature-card.feature-wide {
  grid-column: 1 / -1;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: center;
}

.door-feature-card.reverse-feature {
  grid-template-columns: 1fr 0.9fr;
}

.door-feature-card.reverse-feature img {
  order: -1;
}

.door-feature-card.magnetic-detail-card {
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.52fr);
}

.door-feature-card img {
  height: 340px;
}

.door-feature-card.magnetic-detail-card img {
  width: min(100%, 560px);
  height: 420px;
  justify-self: end;
  object-position: center center;
}

.door-feature-card img.image-focus-top,
.image-focus-top {
  object-position: center top;
}

.door-feature-card > img:first-child {
  height: 390px;
}

.door-feature-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.door-feature-card h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.door-feature-card p {
  max-width: 660px;
}

.compact-list {
  margin-bottom: 0;
}

.finish-swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(6, 43, 54, 0.12);
  background: var(--line);
}

.finish-swatch-grid span {
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 16px 12px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.26), rgba(0,0,0,0.04)),
    repeating-linear-gradient(92deg, rgba(120, 91, 61, 0.11) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(4deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 18px),
    var(--swatch);
  font-size: 12px;
  line-height: 1.2;
  transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
}

.finish-swatch-grid span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 260ms ease, transform 460ms ease;
}

.finish-swatch-grid span:hover::before {
  opacity: 1;
  transform: translateX(48%);
}

.finish-warm-white {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.32), rgba(0,0,0,0.035)),
    repeating-linear-gradient(92deg, rgba(124, 90, 58, 0.18) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(5deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 15px),
    var(--swatch) !important;
}

.finish-white-oak,
.finish-walnut {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(0,0,0,0.08)),
    repeating-linear-gradient(91deg, rgba(70, 42, 24, 0.19) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(3deg, rgba(255, 255, 255, 0.13) 0 2px, transparent 2px 19px),
    var(--swatch) !important;
}

.finish-swatch-grid span:hover {
  filter: contrast(1.05);
  box-shadow: inset 0 0 0 2px rgba(255, 79, 63, 0.28);
  transform: translateY(-4px);
}

.finish-source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.finish-source-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 43, 54, 0.12);
  background: #fff;
}

.finish-source-grid img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(.2,.7,.2,1), filter 320ms ease;
}

.finish-source-grid figure:hover img {
  filter: contrast(1.04) saturate(1.02);
  transform: scale(1.04);
}

.finish-source-grid .finish-cream {
  background: #f4eadc;
}

.finish-source-grid .finish-cream img {
  opacity: 0.9;
  filter: sepia(0.12) saturate(0.86) brightness(0.98);
  mix-blend-mode: multiply;
}

.finish-source-grid .finish-cream:hover img {
  filter: sepia(0.1) saturate(0.92) brightness(1);
}

.finish-source-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(6px);
}

.finish-showroom-note {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.door-types-card {
  grid-column: 1 / -1;
  grid-template-columns: 0.34fr 0.66fr;
  align-items: start;
  gap: 42px;
}

.door-type-grid {
  display: block;
  overflow: hidden;
  border: 0;
  background: #fff;
}

.door-type-grid .door-types-diagram {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #fff;
}

.door-process-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #052b36;
}

.door-process-section::before {
  content: "";
  position: absolute;
  top: 78px;
  right: -12%;
  width: min(620px, 48vw);
  height: 340px;
  pointer-events: none;
  opacity: 0.58;
  background:
    linear-gradient(90deg, transparent, rgba(255, 79, 63, 0.9), transparent) 0 42px / 180px 2px repeat-x,
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent) 40px 104px / 240px 1px repeat-x,
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent) 18px 176px / 210px 1px repeat-x,
    linear-gradient(135deg, transparent 0 46%, rgba(255, 79, 63, 0.35) 47% 48%, transparent 49% 100%);
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 78%, transparent);
  animation: processSpeedLines 6200ms linear infinite;
}

.door-process-section::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 86px;
  width: 220px;
  height: 220px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left-color: rgba(255, 79, 63, 0.55);
  transform: skewX(-14deg);
  opacity: 0.45;
  animation: processFramePulse 3600ms ease-in-out infinite;
}

.door-process-section .container {
  position: relative;
  z-index: 1;
}

.door-process-section h2,
.door-process-section h3,
.door-process-section p {
  color: #fff;
}

.door-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.door-process-copy {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(260px, 0.72fr);
  gap: 38px;
  align-items: end;
}

.door-process-copy h2 {
  max-width: 780px;
  margin-top: 26px;
}

.door-process-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: start;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.door-process-photo img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
  object-position: 50% 74%;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 620ms cubic-bezier(.2,.7,.2,1), filter 320ms ease;
}

.door-process-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(5, 43, 54, 0.82));
  pointer-events: none;
}

.door-process-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.door-process-photo:hover img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.025);
}

.door-route-comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 920px;
  background: rgba(255, 255, 255, 0.18);
}

.door-route-comparison article {
  padding: 30px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 260ms ease, transform 260ms ease;
}

.door-route-comparison article:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.door-route-comparison .ori-route {
  background: rgba(255, 79, 63, 0.16);
}

.door-route-comparison h3 {
  margin-bottom: 18px;
}

.door-route-comparison ol {
  display: grid;
  gap: 13px;
  padding-left: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.route-single-line {
  max-width: 340px;
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 900;
}

.programme-saving-animation {
  max-width: 420px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
}

.saving-number {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.saving-number strong {
  color: var(--coral);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.9;
}

.saving-number span {
  max-width: 150px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.saving-bars {
  display: grid;
  gap: 13px;
}

.saving-track {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  align-items: center;
}

.saving-track span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 850;
}

.saving-track i {
  position: relative;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.saving-track i::before {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left;
  animation: savingBreath 2600ms ease-in-out infinite;
}

.traditional-track i::before {
  width: 100%;
  background: rgba(255, 255, 255, 0.68);
}

.traditional-track i::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: savingSweep 2600ms ease-in-out infinite;
}

.ori-track i::before {
  width: 58%;
  background: var(--coral);
}

.ori-track i::after {
  content: "";
  position: absolute;
  left: 58%;
  top: 0;
  bottom: 0;
  width: 42%;
  background: repeating-linear-gradient(90deg, rgba(255, 79, 63, 0.38) 0 5px, transparent 5px 11px);
  animation: savedPulse 1800ms ease-in-out infinite;
}

@keyframes savingBreath {
  0%,
  100% {
    filter: brightness(0.95);
    opacity: 0.78;
  }

  50% {
    filter: brightness(1.2);
    opacity: 1;
  }
}

@keyframes savingSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }

  30%,
  70% {
    opacity: 1;
  }

  100% {
    transform: translateX(240%);
    opacity: 0;
  }
}

@keyframes savedPulse {
  0%,
  100% {
    opacity: 0.35;
  }

  50% {
    opacity: 0.95;
  }
}

@keyframes processSpeedLines {
  0% {
    transform: translateX(0);
    background-position: 0 42px, 40px 104px, 18px 176px, 0 0;
  }

  100% {
    transform: translateX(-42px);
    background-position: 220px 42px, 300px 104px, 250px 176px, 0 0;
  }
}

@keyframes processFramePulse {
  0%,
  100% {
    opacity: 0.28;
    transform: skewX(-14deg) translateX(0);
  }

  50% {
    opacity: 0.58;
    transform: skewX(-14deg) translateX(-12px);
  }
}

.ori-stair-page .solution-page-hero {
  padding: 86px 0 76px;
  background: linear-gradient(90deg, #fff 0%, #fff 50%, #f5f5f2 50%, #f5f5f2 100%);
}

.stair-hero-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.stair-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(38px, 4.3vw, 58px);
}

.stair-hero-media {
  position: relative;
}

.stair-hero-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid rgba(255, 79, 63, 0.42);
  pointer-events: none;
}

.stair-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  display: block;
  object-fit: cover;
  object-position: 50% 58%;
  filter: grayscale(0.06) saturate(0.64) contrast(1.1) brightness(0.94);
  box-shadow: 0 30px 70px rgba(6, 43, 54, 0.13);
}

.stair-priority-section {
  padding: 74px 0;
  background: #fff;
}

.stair-priority-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 64px;
  align-items: center;
}

.stair-priority-copy h2,
.stair-process-copy h2 {
  max-width: 800px;
}

.stair-system-card {
  background: var(--soft);
}

.stair-system-card img {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
  object-position: 50% 58%;
  filter: grayscale(0.06) saturate(0.64) contrast(1.1) brightness(0.94);
}

.stair-feature-section {
  background: #f7f7f4;
}

.stair-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.stair-feature-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
  background: #fff;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease;
}

.stair-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 60px rgba(6, 43, 54, 0.08);
}

.stair-feature-card.feature-wide,
.stair-spec-card {
  grid-column: 1 / -1;
}

.stair-feature-card > img {
  width: 100%;
  min-width: 0;
  height: 360px;
  display: block;
  object-fit: contain;
  background: #fff;
  transition: transform 520ms cubic-bezier(.2,.7,.2,1), filter 320ms ease;
}

.stair-feature-card:hover > img {
  filter: contrast(1.04);
  transform: scale(1.025);
}

.stair-feature-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.stair-spec-card img {
  padding: 18px;
  border: 1px solid rgba(6, 43, 54, 0.12);
}

.stair-benefit-section {
  background: #f7f7f4;
}

.stair-benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 46px;
  align-items: stretch;
}

.stair-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stair-benefit-item {
  position: relative;
  min-height: 210px;
  padding: 28px;
  overflow: hidden;
  background: #fff;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms ease, background 300ms ease;
}

.stair-benefit-item::after {
  content: "";
  position: absolute;
  inset: auto 28px 26px 28px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.stair-benefit-item:hover {
  z-index: 1;
  background: #fffdfc;
  box-shadow: 0 24px 70px rgba(6, 43, 54, 0.1);
  transform: translateY(-5px);
}

.stair-benefit-item:hover::after {
  transform: scaleX(1);
}

.stair-benefit-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.stair-benefit-item h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.stair-benefit-item p {
  max-width: 34ch;
}

.stair-benefit-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stair-benefit-media figure {
  position: relative;
  margin: 0;
  height: 260px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(6, 43, 54, 0.1);
  box-shadow: 0 22px 58px rgba(6, 43, 54, 0.08);
}

.stair-benefit-media .benefit-media-large {
  grid-column: 1 / -1;
  height: 430px;
}

.stair-benefit-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.84) contrast(1.05) brightness(1.02);
  transition: transform 520ms cubic-bezier(.2,.7,.2,1), filter 320ms ease;
}

.stair-benefit-media figure:hover img {
  filter: saturate(0.9) contrast(1.08) brightness(1.03);
  transform: scale(1.035);
}

.stair-benefit-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.stair-benefit-media .benefit-media-large::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(5, 43, 54, 0.64));
  pointer-events: none;
}

.stair-sizes-section {
  background: #fff;
}

.stair-sizes-grid {
  display: grid;
  grid-template-columns: 0.82fr 0.84fr 1.2fr;
  gap: 28px;
  align-items: stretch;
}

.stair-sizes-grid > div {
  align-self: center;
}

.stair-sizes-grid figure {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(6, 43, 54, 0.12);
  box-shadow: 0 22px 60px rgba(6, 43, 54, 0.08);
  transition: transform 420ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease, border-color 320ms ease;
}

.stair-sizes-grid figure::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 3px solid var(--coral);
  opacity: 0;
  transition: opacity 320ms ease;
}

.stair-sizes-grid figure:hover {
  border-color: rgba(255, 79, 63, 0.34);
  box-shadow: 0 28px 70px rgba(6, 43, 54, 0.12);
  transform: translateY(-6px);
}

.stair-sizes-grid figure:hover::before {
  opacity: 1;
}

.stair-sizes-grid img {
  width: 100%;
  height: 430px;
  display: block;
  object-fit: contain;
  background: #fff;
}

.stair-size-diagram img {
  height: 430px;
}

.stair-sizes-grid figcaption {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(6, 43, 54, 0.1);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.stair-process-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #052b36;
}

.stair-process-section::before {
  content: "";
  position: absolute;
  top: 82px;
  right: -10%;
  width: min(640px, 52vw);
  height: 360px;
  opacity: 0.5;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 79, 63, 0.9), transparent) 0 54px / 190px 2px repeat-x,
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent) 50px 126px / 250px 1px repeat-x,
    linear-gradient(135deg, transparent 0 46%, rgba(255, 79, 63, 0.3) 47% 48%, transparent 49% 100%);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 78%, transparent);
  animation: processSpeedLines 6200ms linear infinite;
}

.stair-process-section .container {
  position: relative;
  z-index: 1;
}

.stair-process-section h2,
.stair-process-section h3,
.stair-process-section p {
  color: #fff;
}

.stair-process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.stair-speed-visual {
  max-width: 440px;
  margin: 32px 0 26px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.stair-speed-visual div {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
}

.stair-speed-visual strong {
  color: var(--coral);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 0.96;
}

.stair-speed-visual span {
  max-width: 170px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.stair-speed-visual i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.stair-speed-visual i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  background: var(--coral);
  animation: savingBreath 2600ms ease-in-out infinite;
}

.stair-speed-visual i::after {
  content: "";
  position: absolute;
  inset: 0 0 0 62%;
  background: repeating-linear-gradient(90deg, rgba(255, 79, 63, 0.4) 0 6px, transparent 6px 12px);
  animation: savedPulse 1800ms ease-in-out infinite;
}

@media (max-width: 1050px) {
  .stair-hero-grid,
  .stair-priority-grid,
  .stair-benefit-grid,
  .stair-sizes-grid,
  .stair-process-grid {
    grid-template-columns: 1fr;
  }

  .stair-benefit-grid {
    gap: 32px;
  }

  .stair-hero-media img,
  .stair-system-card img {
    height: 520px;
  }

  .stair-sizes-grid img,
  .stair-size-diagram img {
    height: auto;
    max-height: 520px;
  }

  .stair-feature-card,
  .stair-feature-card.feature-wide,
  .stair-spec-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .ori-stair-page .solution-page-hero {
    padding: 82px 0 58px;
    background: #fff;
  }

  .stair-hero-grid {
    gap: 44px;
  }

  .stair-hero-copy h1 {
    font-size: clamp(32px, 8vw, 38px);
    line-height: 1.08;
  }

  .stair-hero-media img,
  .stair-system-card img {
    height: 430px;
  }

  .stair-sizes-grid figure {
    padding: 14px;
  }

  .stair-sizes-grid img,
  .stair-size-diagram img {
    height: auto;
    max-height: none;
  }

  .stair-feature-grid {
    grid-template-columns: 1fr;
  }

  .stair-benefit-list,
  .stair-benefit-media {
    grid-template-columns: 1fr;
  }

  .stair-benefit-item {
    min-height: auto;
    padding: 24px;
  }

  .stair-benefit-media .benefit-media-large,
  .stair-benefit-media figure {
    height: 320px;
  }

  .stair-feature-card {
    padding: 24px 0;
    gap: 18px;
  }

  .stair-feature-card > img {
    height: 280px;
  }

  .stair-sizes-grid {
    gap: 20px;
  }

  .stair-process-grid {
    gap: 28px;
  }

  .stair-process-section::before {
    opacity: 0.22;
  }
}

.ori-waterproof-page .solution-page-hero {
  padding: 90px 0 78px;
  background: #fff;
}

.waterproof-repair-hero {
  position: relative;
  overflow: hidden;
}

.waterproof-repair-hero::before {
  content: "";
  position: absolute;
  right: -12vw;
  top: 0;
  width: 48vw;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), #f3f5f4 34%, #fff 100%),
    repeating-linear-gradient(90deg, rgba(6, 43, 54, 0.08) 0 1px, transparent 1px 18px);
  opacity: 0.55;
}

.waterproof-repair-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 76px;
  align-items: center;
}

.waterproof-hero-copy h1 {
  max-width: 900px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.98;
}

.waterproof-hero-copy > p {
  max-width: 760px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
}

.waterproof-service-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 34px;
  background: var(--line);
}

.waterproof-service-chips span {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  transition: color 240ms ease, transform 240ms ease, background 240ms ease;
}

.waterproof-service-chips span:hover {
  color: var(--coral-dark);
  background: rgba(255, 79, 63, 0.035);
  transform: translateY(-2px);
}

.waterproof-product-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 58%, rgba(6, 43, 54, 0.09), transparent 32%),
    linear-gradient(180deg, #f7f8f7 0%, #fff 82%);
  border-bottom: 1px solid rgba(6, 43, 54, 0.12);
  overflow: hidden;
}

.waterproof-product-stage::after {
  content: "";
  position: absolute;
  inset: 24px 24px auto auto;
  width: 42%;
  height: 42%;
  border-top: 2px solid var(--coral);
  border-right: 2px solid rgba(255, 79, 63, 0.55);
  pointer-events: none;
}

.waterproof-product-stage img {
  width: min(88%, 560px);
  display: block;
  filter: drop-shadow(0 34px 48px rgba(6, 43, 54, 0.18));
  transition: transform 620ms cubic-bezier(.2,.7,.2,1), filter 320ms ease;
}

.waterproof-product-stage:hover img {
  filter: drop-shadow(0 42px 60px rgba(6, 43, 54, 0.22));
  transform: translateY(-8px) scale(1.025);
}

.waterproof-hero-stat {
  position: absolute;
  left: 0;
  bottom: 34px;
  display: grid;
  gap: 6px;
  width: min(300px, 72%);
  padding: 22px 24px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 22px 46px rgba(6, 43, 54, 0.16);
}

.waterproof-hero-stat strong {
  color: var(--coral);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 0.9;
}

.waterproof-hero-stat span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.waterproof-value-band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.waterproof-value-grid article {
  min-height: 142px;
  padding: 28px 26px;
  border-left: 1px solid var(--line);
  transition: background 240ms ease, transform 240ms ease;
}

.waterproof-value-grid article:first-child {
  border-left: 0;
}

.waterproof-value-grid article:hover {
  background: rgba(255, 79, 63, 0.035);
  transform: translateY(-3px);
}

.waterproof-value-grid span,
.waterproof-service-steps span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.waterproof-value-grid strong {
  display: block;
  color: var(--ink);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.35;
}

.waterproof-method-section {
  background: var(--soft);
  scroll-margin-top: 96px;
}

.waterproof-method-grid,
.waterproof-layer-grid,
.waterproof-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 72px;
  align-items: center;
}

.waterproof-method-grid h2,
.waterproof-section-row h2,
.waterproof-layer-copy h2,
.waterproof-repair-panel h2 {
  max-width: 780px;
  font-size: clamp(34px, 4vw, 56px);
}

.waterproof-method-grid p,
.waterproof-section-row p,
.waterproof-layer-copy p,
.waterproof-repair-panel p {
  max-width: 680px;
}

.waterproof-install-photo,
.waterproof-wide-photo,
.waterproof-layer-figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.waterproof-install-photo img,
.waterproof-wide-photo img {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03) brightness(1.01);
  transition: transform 620ms cubic-bezier(.2,.7,.2,1), filter 320ms ease;
}

.waterproof-install-photo img {
  object-position: 48% 50%;
}

.waterproof-wide-photo img {
  object-position: 48% 52%;
}

.waterproof-install-photo:hover img,
.waterproof-wide-photo:hover img {
  filter: saturate(1) contrast(1.05) brightness(1.01);
  transform: scale(1.025);
}

.waterproof-install-photo figcaption {
  padding: 16px 20px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.waterproof-service-section {
  background: #fff;
}

.waterproof-section-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.waterproof-service-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.waterproof-service-steps article {
  min-height: 230px;
  padding: 30px 26px;
  border-left: 1px solid var(--line);
  transition: background 240ms ease, transform 240ms ease, border-color 240ms ease;
}

.waterproof-service-steps article:first-child {
  border-left: 0;
}

.waterproof-service-steps article:hover {
  background: rgba(6, 43, 54, 0.028);
  border-color: rgba(255, 79, 63, 0.4);
  transform: translateY(-4px);
}

.waterproof-service-steps h3 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2vw, 30px);
}

.waterproof-service-steps p {
  font-size: 16px;
}

.waterproof-proof-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 43, 54, 0.92), rgba(6, 43, 54, 0.84)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26px);
}

.waterproof-proof-grid {
  grid-template-columns: minmax(360px, 1.03fr) minmax(0, 0.97fr);
  gap: 58px;
}

.waterproof-repair-panel h2,
.waterproof-repair-panel h3,
.waterproof-repair-panel p {
  color: #fff;
}

.waterproof-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.waterproof-compare-grid article {
  min-height: 190px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 240ms ease, transform 240ms ease;
}

.waterproof-compare-grid article:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-3px);
}

.waterproof-saving-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.waterproof-saving-line strong {
  color: var(--coral);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 0.9;
}

.waterproof-saving-line span {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
}

.waterproof-layer-section {
  background: #fff;
}

.waterproof-layer-grid {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.waterproof-layer-figure {
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
}

.waterproof-layer-figure img {
  width: 100%;
  max-height: 780px;
  object-fit: contain;
}

.waterproof-layer-list {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.waterproof-layer-list article {
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, transform 220ms ease;
}

.waterproof-layer-list article:hover {
  color: var(--coral-dark);
  transform: translateX(6px);
}

.waterproof-layer-list strong {
  color: var(--ink);
  font-size: 15px;
}

.waterproof-layer-list span {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1050px) {
  .waterproof-repair-hero-grid,
  .waterproof-method-grid,
  .waterproof-layer-grid,
  .waterproof-proof-grid,
  .waterproof-section-row {
    grid-template-columns: 1fr;
  }

  .waterproof-value-grid,
  .waterproof-service-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .waterproof-product-stage {
    min-height: 500px;
  }

  .waterproof-wide-photo {
    order: 2;
  }
}

@media (max-width: 720px) {
  .ori-waterproof-page .solution-page-hero {
    padding: 84px 0 56px;
  }

  .waterproof-repair-hero-grid {
    gap: 42px;
  }

  .waterproof-hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.02;
  }

  .waterproof-service-chips,
  .waterproof-value-grid,
  .waterproof-service-steps,
  .waterproof-compare-grid,
  .waterproof-saving-line,
  .waterproof-layer-list article {
    grid-template-columns: 1fr;
  }

  .waterproof-product-stage {
    min-height: 380px;
  }

  .waterproof-product-stage img {
    width: min(96%, 430px);
  }

  .waterproof-hero-stat {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: -18px;
  }

  .waterproof-value-grid article,
  .waterproof-service-steps article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .waterproof-value-grid article:first-child,
  .waterproof-service-steps article:first-child {
    border-top: 0;
  }

  .waterproof-install-photo img,
  .waterproof-wide-photo img {
    height: 330px;
  }

  .waterproof-layer-figure {
    padding: 12px;
  }
}

.door-cost-section {
  background: #fff;
}

.door-cost-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 64px;
  align-items: center;
}

.door-cost-grid img {
  height: 520px;
}

.door-metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
}

.door-metric-row article {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--soft);
  transition: transform 260ms ease, background 260ms ease;
}

.door-metric-row article:hover {
  background: #fff;
  transform: translateY(-3px);
}

.door-metric-row strong {
  color: var(--coral);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.door-metric-row span {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 750;
}

.faq-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 64px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: border-color 240ms ease, background 240ms ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(255, 79, 63, 0.45);
  background: rgba(255, 79, 63, 0.025);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 22px 54px 22px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  transition: color 220ms ease, transform 220ms ease;
}

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

.faq-item summary::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 260ms ease, color 260ms ease;
}

.faq-item summary:hover {
  color: var(--coral-dark);
  transform: translateX(4px);
}

.faq-item[open] summary::after {
  color: var(--coral);
  transform: rotate(225deg);
}

.faq-answer {
  padding: 0 54px 22px 0;
  animation: faqReveal 260ms ease;
}

.faq-answer p {
  max-width: 640px;
  margin: 0;
  font-size: 15px;
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-link {
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
}

.text-link::after {
  content: " ->";
}

.product-row dl {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.product-row dt {
  color: var(--ink);
  font-weight: 900;
}

.product-row dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.case-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.project-gallery-hero {
  border-bottom: 1px solid var(--line);
}

.project-gallery-section {
  background: #fff;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 286px;
  gap: 18px;
}

.photo-tile {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--soft);
  box-shadow: 0 1px 0 rgba(6, 43, 54, 0.08);
  isolation: isolate;
  transition: transform 340ms cubic-bezier(.2,.7,.2,1), box-shadow 340ms ease;
}

.photo-tile-large {
  grid-row: span 2;
}

.photo-tile-wide {
  grid-column: span 2;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 420ms ease;
}

.photo-tile-system img {
  padding: 42px;
  object-fit: contain;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 58%;
  background: linear-gradient(180deg, rgba(6, 43, 54, 0), rgba(6, 43, 54, 0.78));
  pointer-events: none;
  transition: opacity 320ms ease;
}

.photo-tile figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 4px;
  color: #fff;
  transform: translateY(6px);
  pointer-events: none;
  transition: transform 320ms ease;
}

.photo-tile figcaption span {
  width: fit-content;
  padding: 5px 8px;
  border-left: 2px solid var(--coral);
  background: rgba(6, 43, 54, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-tile figcaption strong {
  max-width: 460px;
  font-size: 18px;
  line-height: 1.16;
}

.photo-expand {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.photo-expand:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -8px;
}

.photo-tile:hover,
.photo-tile:focus-within {
  box-shadow: 0 22px 58px rgba(6, 43, 54, 0.16);
  transform: translateY(-5px);
}

.photo-tile:hover img,
.photo-tile:focus-within img {
  filter: saturate(1.02) contrast(1.05);
  transform: scale(1.035);
}

.photo-tile:hover figcaption,
.photo-tile:focus-within figcaption {
  transform: translateY(0);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(3, 32, 42, 0.78);
  backdrop-filter: blur(14px);
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.gallery-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100vh - 52px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.gallery-modal-panel img {
  display: block;
  width: 100%;
  max-height: min(76vh, 780px);
  object-fit: contain;
  background: #f3f3f0;
}

.gallery-modal-caption {
  display: grid;
  gap: 6px;
  padding: 18px 22px 22px;
}

.gallery-modal-caption span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-modal-caption h2 {
  margin: 0;
  font-size: 24px;
}

.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(6, 43, 54, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible {
  background: var(--coral);
  color: #fff;
}

.case-card,
.guide-card {
  display: block;
  padding-bottom: 28px;
}

.case-card h2,
.guide-card h2 {
  margin-top: 18px;
  font-size: 24px;
}

.contact-band,
.page-contact {
  padding: 78px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 62px;
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5d7;
  border-radius: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(6, 43, 54, 0.45);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 79, 63, 0.1);
  outline: none;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

[data-animate] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.minimal-hero[data-animate],
.page-hero[data-animate],
.solution-page-hero[data-animate],
.service-proof[data-animate],
.dark-process[data-animate],
.advice-band[data-animate],
.final-cta[data-animate],
.page-contact[data-animate],
.contact-band[data-animate] {
  opacity: 1;
  transform: none;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.solution-item[data-animate]:nth-child(2) {
  transition-delay: 70ms;
}

.solution-item[data-animate]:nth-child(3) {
  transition-delay: 140ms;
}

.solution-item[data-animate]:nth-child(5) {
  transition-delay: 70ms;
}

.solution-item[data-animate]:nth-child(6) {
  transition-delay: 140ms;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 79, 63, 0.28);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px 28px;
  }

  .header-cta,
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: grid !important;
    place-items: center;
    justify-self: end;
    flex: 0 0 42px;
    margin-left: auto;
  }

  .site-header.nav-open .site-nav {
    display: grid;
    flex-basis: 100%;
    width: 100%;
  }

  .site-header.nav-open .header-cta {
    display: inline-flex;
    flex-basis: 100%;
    width: 100%;
    justify-self: stretch;
  }

  .site-header.nav-open .site-nav {
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .site-header.nav-open .site-nav > a,
  .site-header.nav-open .nav-drop-trigger {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .nav-drop-trigger.active {
    margin: 0;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header.nav-open .nav-drop-trigger.active::after {
    left: 0;
    right: auto;
    bottom: 0;
    width: 48px;
  }

  .nav-dropdown {
    display: grid;
    align-items: stretch;
  }

  .nav-drop-menu {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    padding: 0 0 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown.is-open .nav-drop-menu,
  .nav-dropdown:focus-within .nav-drop-menu {
    display: grid;
    transform: none;
  }

  .nav-drop-menu a:first-child {
    grid-column: auto;
  }

  .site-header.nav-open .header-cta {
    margin-bottom: 16px;
  }

  .hero-split,
  .page-hero-grid,
  .advice-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-image {
    margin-right: 0;
  }

  .proof-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 0;
  }

  .proof-grid article:nth-child(2),
  .process-grid article:nth-child(2) {
    border-right: 0;
  }

  .solution-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .solution-page-grid,
  .solution-content-grid,
  .door-hero-grid,
  .door-priority-grid,
  .door-system-grid,
  .door-process-grid,
  .door-cost-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .solution-page-hero {
    background: #fff;
  }

  .ori-door-page .solution-page-hero {
    background: #fff;
  }

  .door-feature-card.feature-wide,
  .door-feature-card.reverse-feature,
  .door-types-card {
    grid-template-columns: 1fr;
  }

  .door-feature-card.magnetic-detail-card {
    grid-template-columns: 1fr;
  }

  .door-feature-card.magnetic-detail-card img {
    width: min(100%, 640px);
    height: 360px;
    justify-self: start;
  }

  .door-process-copy {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.62fr);
    gap: 24px;
  }

  .door-process-photo {
    justify-self: stretch;
    max-width: none;
  }

  .door-type-grid {
    display: block;
  }

  .door-feature-card.reverse-feature img {
    order: 0;
  }

  .solution-page-aside {
    position: static;
  }

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

}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 40px), var(--max));
  }

  .header-inner {
    min-height: 68px;
    position: relative;
    padding-right: 54px;
  }

  .nav-toggle {
    display: block !important;
    position: fixed;
    top: 13px;
    right: 20px;
    z-index: 3;
  }

  .brand-crop {
    width: 112px;
    height: auto;
  }

  .brand-crop img {
    width: 112px;
  }

  .hero-split {
    min-height: 0;
    gap: 28px;
    padding: 46px 0 28px;
  }

  h1 {
    font-size: clamp(32px, 9.4vw, 40px);
  }

  h2 {
    font-size: clamp(25px, 7.2vw, 34px);
  }

  .hero-image,
  .hero-image img {
    min-height: 260px;
  }

  .hero-image::after {
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 36%);
  }

  .service-proof,
  .solutions-minimal,
  .dark-process,
  .advice-band,
  .final-cta,
  .section,
  .page-hero,
  .contact-band,
  .page-contact {
    padding: 44px 0;
  }

  .proof-grid,
  .process-grid,
  .solution-showcase,
  .photo-gallery-grid,
  .footer-grid,
  .form-grid,
    .door-feature-grid,
    .door-component-list,
    .door-route-comparison,
    .door-metric-row,
    .faq-grid,
    .case-grid,
    .guide-grid,
    .solution-index-grid,
    .solution-detail,
    .product-row,
    .solution-page-grid,
    .solution-summary-grid,
    .solution-content-grid,
    .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery-grid {
    grid-auto-rows: 270px;
  }

  .photo-tile-large,
  .photo-tile-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-tile-system img {
    padding: 28px;
  }

  .proof-grid article,
  .process-grid article {
    padding: 0;
    border-right: 0;
  }

  .solution-item div {
    grid-template-columns: 38px 1fr;
  }

  .solution-item p {
    grid-column: 1 / -1;
  }

  .detail-link {
    grid-column: 1 / -1;
  }

  .solution-detail.reverse img,
  .product-row:nth-child(even) img {
    order: 0;
  }

  .solution-detail img,
  .product-row img,
  .case-card img,
  .guide-card img,
  .page-hero img,
  .solution-index-card img,
  .solution-page-hero img,
  .solution-page-aside img,
  .door-hero-media img,
  .door-feature-card img,
  .door-feature-card > img:first-child,
  .door-cost-grid img {
    height: 240px;
  }

  .door-hero-media img {
    height: 360px;
  }

  .door-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .door-hero-actions .btn {
    width: 100%;
  }

  .door-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(29px, 8vw, 33px);
    line-height: 1.08;
  }

  .door-hero-copy p {
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.56;
  }

  .door-hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .door-hero-points span {
    min-width: 0;
    padding: 0 12px;
    white-space: normal;
  }

  .door-hero-media::before {
    inset: 14px 0 -10px 14px;
  }

  .door-feature-card,
  .door-feature-card.feature-wide {
    gap: 18px;
    padding: 24px 0;
  }

  .finish-swatch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .finish-swatch-grid span {
    min-height: 120px;
  }

  .finish-source-grid img {
    height: 140px;
  }

  .door-type-grid {
    display: block;
  }

  .door-type-grid .door-types-diagram {
    height: auto;
  }

  .door-mini-metrics {
    grid-template-columns: 1fr;
  }

  .door-process-copy {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .door-process-section::before,
  .door-process-section::after {
    opacity: 0.22;
  }

  .door-process-photo img {
    height: 220px;
  }

  .door-feature-card.magnetic-detail-card img {
    height: 280px;
  }

  .programme-saving-animation {
    padding: 18px;
  }

  .saving-track {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .door-priority-card {
    min-height: 150px;
    padding: 22px;
  }

  .faq-grid {
    gap: 24px;
  }

  .faq-item summary {
    padding: 18px 42px 18px 0;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 42px 18px 0;
  }

  .solution-summary article {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .solution-summary article:last-child {
    border-bottom: 0;
  }

  .solution-index-card h2,
  .solution-panel h2 {
    font-size: 24px;
  }

}

@media (max-width: 1050px) {
  .ori-stair-page .stair-hero-grid,
  .ori-stair-page .stair-priority-grid,
  .ori-stair-page .stair-benefit-grid,
  .ori-stair-page .stair-sizes-grid,
  .ori-stair-page .stair-process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .ori-stair-page .solution-page-hero {
    background: #fff;
  }

  .ori-stair-page .stair-hero-media img,
  .ori-stair-page .stair-system-card img {
    height: 430px;
  }

  .ori-stair-page .stair-sizes-grid img {
    height: auto;
    max-height: none;
  }

  .ori-stair-page .stair-feature-card > img {
    height: 280px;
  }
}
