:root {
  --ink: #0d1214;
  --ink-2: #141b1f;
  --paper: #f1f0eb;
  --paper-2: #e5e4de;
  --muted: #868c8e;
  --line: rgba(13, 18, 20, 0.16);
  --acid: #c6ff45;
  --white: #f8f8f5;
  --radius: 2px;
  --max: 1440px;
  --frame-x: 4.2vw; /* shared horizontal gutter: hero and all sections */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--acid); color: var(--ink); }

.page-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed; z-index: 90; top: 0; left: 0; right: 0;
  height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 34px; color: white; border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background .3s ease, color .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.scrolled { background: rgba(241,240,235,.94); backdrop-filter: blur(16px); color: var(--ink); border-color: var(--line); height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark { width: 22px; height: 22px; display: block; border: 2px solid currentColor; transform: rotate(45deg); position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1px solid currentColor; left: 5px; top: 5px; }
.brand-text { font-family: "Manrope", sans-serif; font-weight: 700; letter-spacing: .14em; font-size: 14px; }
.desktop-nav { display: flex; gap: 34px; font-size: 14px; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; height: 1px; width: 0; background: currentColor; transition: width .25s; }
.desktop-nav a:hover::after { width: 100%; }
.header-cta { justify-self: end; border: 1px solid currentColor; padding: 11px 15px; font-size: 13px; display: inline-flex; gap: 18px; transition: .25s; }
.header-cta:hover { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  color: white;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1214 0%, #1a2326 100%);
}
.hero-media,
.hero-image,
.hero-vignette {
  position: absolute;
  inset: 0;
}
.hero-video-montage {
  background: #111719;
}
.hero-product-video,
.hero-video-fallback {
  position: absolute;
  inset: -1.5%;
  z-index: 1;
  width: 103%;
  height: 103%;
}
.hero-product-video {
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.15s ease, transform 7s linear;
  pointer-events: none;
  background: #111719;
}
.hero-product-video.active {
  opacity: 1;
  transform: scale(1.065);
}
.hero-video-fallback {
  background:
    center 44% / cover no-repeat
    url("https://struxure.com/wp-content/uploads/2026/03/Majestic_Outdoors_Epic_Backyard_2_1-scaled.jpg");
  opacity: 1;
  transition: opacity .5s ease;
}
.hero-video-montage.has-video .hero-video-fallback {
  opacity: 0;
}
@media (max-width: 760px) {
  .hero-product-video {
    object-position: 54% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-product-video { display: none; }
  .hero-video-fallback { opacity: 1; }
}

.hero-vignette {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5,8,9,.76) 0%, rgba(5,8,9,.38) 42%, rgba(5,8,9,.10) 78%, rgba(5,8,9,.20) 100%),
    linear-gradient(180deg, rgba(5,8,9,.24) 0%, transparent 28%, transparent 58%, rgba(5,8,9,.78) 100%);
}

.hero-frame {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 100svh;
  padding: 110px var(--frame-x) 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.24);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(255,255,255,.66);
}

.hero-content {
  align-self: center;
  width: min(980px, 78vw);
  padding: 3vh 0 5vh;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  color: rgba(255,255,255,.72);
}

.hero-kicker > span {
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,.7);
}

.section-head h2,
.statement h2,
.model-copy h2,
.film-content h2,
.lifestyle-copy h2,
.contact h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  letter-spacing: -.055em;
  margin: 0;
  line-height: .94;
}

em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.04em;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 600;
  margin: 0 0 20px;
  opacity: .78;
}

.hero h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: clamp(58px, 7.3vw, 112px);
  line-height: .92;
  letter-spacing: -.06em;
  margin: 0;
  max-width: 1050px;
}

.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.045em;
}

.hero-copy-row {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(280px, 540px) auto;
  align-items: end;
  gap: 44px;
}

.hero-copy-row > p {
  margin: 0;
  max-width: 540px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.62;
  color: rgba(255,255,255,.74);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--acid); }
.btn-outline { border-color: rgba(255,255,255,.45); color: white; background: transparent; }
.btn-outline:hover { border-color: var(--acid); color: var(--acid); }

.text-link {
  font-size: 14px;
  display: inline-flex;
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 4px;
}
.text-link.dark { border-color: var(--line); }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px,-3px); }

.hero-primary {
  min-height: 48px;
  min-width: 204px;
  padding: 0 17px;
  gap: 18px;
  justify-content: center;
  background: rgba(12,16,17,.42);
  color: #fff;
  border: 1px solid rgba(255,255,255,.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.hero-primary > span {
  width: auto;
  height: auto;
  display: inline-block;
  background: none;
  color: currentColor;
  font-size: 13px;
  line-height: 1;
  transition: transform .25s ease;
}

.hero-primary:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.72);
}

.hero-primary:hover > span {
  transform: translate(3px,-3px);
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.46);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  transition: border-color .2s ease, color .2s ease;
}

.hero-secondary:hover {
  border-color: white;
  color: white;
}

.hero-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 220px)) 1fr;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.24);
}

.hero-bottom > a {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 20px 10px 0;
  margin-right: 24px;
  border-right: 1px solid rgba(255,255,255,.14);
  transition: color .2s ease, opacity .2s ease;
}

.hero-bottom > a span {
  font-size: 8px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.42);
}

.hero-bottom > a strong {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.hero-bottom > a:hover {
  color: var(--acid);
}

.hero-bottom-note {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.42);
  font-size: 8px;
  letter-spacing: .13em;
}

.hero-bottom-note span + span::before {
  content: "·";
  margin-right: 18px;
  color: rgba(255,255,255,.24);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 128px;
  width: 24px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px;
  display: grid;
  place-items: start center;
  padding-top: 9px;
}
.scroll-cue span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: white;
  animation: scrollDot 1.7s infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(30px); opacity: 0; }
}

@media (max-width: 1050px) {
  :root { --frame-x: 28px; }
  .hero-frame {
    padding: 92px var(--frame-x) 24px;
  }
  .hero-content {
    width: min(880px, 90vw);
  }
  .hero-copy-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-bottom {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-bottom-note {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
  }
  .hero-frame {
    min-height: 100svh;
    padding: 82px 20px 18px;
  }
  .hero-topline {
    font-size: 7px;
    letter-spacing: .12em;
  }
  .hero-topline span:last-child {
    display: none;
  }
  .hero-content {
    width: 100%;
    align-self: end;
    padding: 0 0 36px;
  }
  .hero-kicker {
    margin-bottom: 16px;
    font-size: 8px;
  }
  .hero h1 {
    font-size: clamp(52px, 15.4vw, 76px);
    max-width: 95%;
  }
  .hero-copy-row {
    margin-top: 22px;
    gap: 22px;
  }
  .hero-copy-row > p {
    max-width: 92%;
    font-size: 14px;
    line-height: 1.55;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-primary {
    min-height: 46px;
    font-size: 11px;
  }
  .hero-secondary {
    font-size: 11px;
  }
  .hero-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .hero-bottom > a {
    min-height: 58px;
    margin-right: 12px;
    padding-right: 12px;
  }
  .hero-bottom > a:nth-child(3) {
    display: none;
  }
  .hero-bottom > a strong {
    font-size: 9px;
  }
  .premium-scroll {
    display: none;
  }
}

.section-pad { padding: 120px var(--frame-x); max-width: none; margin: 0 auto; }
.section-label { font-size: 10px; font-weight: 700; letter-spacing: .24em; color: #737a7d; margin-bottom: 38px; text-transform: uppercase; }
.section-label.light { color: rgba(255,255,255,.5); }
.statement-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 11vw; align-items: start; }
.statement h2 { font-size: clamp(46px, 6vw, 86px); max-width: 830px; }
.statement-copy { padding-top: 8px; }
.statement-copy p { font-size: 17px; line-height: 1.72; color: #4c5457; margin: 0 0 20px; }
.statement-copy .text-link { margin-top: 14px; color: var(--ink); }

.products { max-width: none; background: #d9d9d3; }
.products > * { max-width: none; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(48px, 6.2vw, 88px); }
.section-head { margin-bottom: 54px; }
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.product-card { grid-column: span 4; min-height: 480px; position: relative; background-image: var(--bg); background-size: cover; background-position: center; overflow: hidden; color: white; }
.product-card-wide { grid-column: span 8; }
.product-card::before { content: ""; position: absolute; inset: 0; background: var(--bg) center/cover no-repeat; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.product-card:hover::before { transform: scale(1.045); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,9,.08), rgba(5,8,9,.76)); z-index: 1; }
.product-index { position: absolute; z-index: 2; top: 20px; right: 20px; font-size: 10px; letter-spacing: .12em; border: 1px solid rgba(255,255,255,.45); width: 32px; height: 32px; display: grid; place-items: center; }
.product-card-content { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; }
.product-card h3 { font-family: "Manrope"; font-size: clamp(28px,3vw,44px); letter-spacing: -.045em; margin: 0 0 10px; font-weight: 500; }
.product-card p { max-width: 560px; color: rgba(255,255,255,.75); margin: 0; line-height: 1.55; }
.product-card a { display: inline-flex; gap: 12px; margin-top: 18px; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 3px; }

.model-section { max-width: none; background: var(--ink); color: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: center; min-height: 760px; }
.model-copy { padding-left: max(0px, calc((100vw - var(--max))/2)); }
.model-copy h2 { font-size: clamp(50px, 6vw, 90px); }
.model-copy > p { color: rgba(255,255,255,.62); line-height: 1.7; max-width: 580px; font-size: 16px; margin: 24px 0; }
.model-options { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 28px; }
.chip { padding: 10px 14px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: rgba(255,255,255,.72); cursor: pointer; font-size: 12px; }
.chip.active, .chip:hover { border-color: var(--acid); color: var(--acid); }
.model-stage { min-height: 600px; position: relative; background: radial-gradient(circle at 50% 43%, #253038 0%, #13191c 46%, #0d1214 74%); border-left: 1px solid rgba(255,255,255,.08); overflow: hidden; }
#railing-model { width: 100%; height: 100%; display: block; position: absolute; inset: 0; }
.model-hint { position: absolute; left: 26px; bottom: 24px; font-size: 11px; color: rgba(255,255,255,.48); z-index: 2; }
.orbit-icon { color: var(--acid); font-size: 17px; margin-right: 6px; }
.model-badge { position: absolute; right: 26px; top: 26px; display: flex; align-items: center; gap: 9px; font-size: 10px; color: rgba(255,255,255,.55); }
.model-badge strong { color: var(--ink); background: var(--acid); padding: 6px 7px; font-size: 10px; }


/* Company authority / proof */
.authority {
  padding: 0 var(--frame-x) 110px;
}
.authority-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.authority-card {
  min-height: 250px;
  padding: 26px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.authority-card > span {
  font-size: 9px;
  letter-spacing: .16em;
  color: #92989a;
}
.authority-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.03em;
  margin-top: auto;
}
.authority-card p {
  margin: 11px 0 0;
  color: #636b6e;
  font-size: 13px;
  line-height: 1.62;
}
.authority-sectors {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-bottom: 1px solid var(--line);
}
.authority-sectors span {
  padding: 18px 12px 18px 0;
  font-size: 9px;
  letter-spacing: .16em;
  color: #6f7779;
}
.authority-sectors span:not(:last-child) { border-right: 1px solid var(--line); }
.authority-sectors span + span { padding-left: 18px; }

/* Technical library */
.systems-deep {
  background: #ebeae5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.system-library {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}
.system-panel {
  min-height: 430px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.system-panel-featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.system-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid currentColor;
  border-color: rgba(13,18,20,.16);
  color: #777f81;
  font-size: 9px;
  letter-spacing: .16em;
}
.system-panel-featured .system-panel-top {
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.5);
}
.system-panel-top b { font-weight: 500; }
.system-panel h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px,4.4vw,66px);
  letter-spacing: -.055em;
  line-height: .95;
  font-weight: 500;
  margin: 48px 0 18px;
}
.system-panel > p {
  max-width: 650px;
  margin: 0;
  color: #596164;
  line-height: 1.65;
  font-size: 15px;
}
.system-panel-featured > p { color: rgba(255,255,255,.64); }
.system-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 28px 0;
}
.system-tags li {
  border: 1px solid var(--line);
  padding: 8px 10px;
  font-size: 10px;
  color: #636b6e;
}
.system-panel-featured .system-tags li {
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.68);
}
.system-link {
  margin-top: auto;
  width: max-content;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 12px;
}
.glazing-suite,
.pergola-tech {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.glazing-suite { padding: 34px; }
.glazing-suite-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 7vw;
  align-items: end;
  padding-bottom: 30px;
}
.glazing-suite-head span,
.pergola-tech .section-label,
.custom-glass-row span {
  font-size: 9px;
  letter-spacing: .18em;
  color: #7d8587;
}
.glazing-suite-head h3,
.pergola-tech-copy h3 {
  font-family: "Manrope",sans-serif;
  font-size: clamp(35px,4.2vw,62px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 500;
  margin: 10px 0 0;
}
.glazing-suite-head > p {
  margin: 0;
  color: #626a6d;
  line-height: 1.65;
}
.glazing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
}
.glazing-grid article { padding: 26px 28px 6px 0; }
.glazing-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.glazing-grid b {
  font-family: "Manrope",sans-serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.glazing-grid p {
  color: #61696b;
  font-size: 13px;
  line-height: 1.65;
}
.pergola-tech {
  padding: 38px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 8vw;
}
.pergola-tech-copy > p {
  color: #60686a;
  line-height: 1.7;
  max-width: 620px;
}
.pergola-specs > div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
}
.pergola-specs span {
  font-size: 9px;
  letter-spacing: .16em;
  color: #7b8385;
}
.pergola-specs p {
  margin: 0;
  color: #596164;
  line-height: 1.62;
  font-size: 13px;
}
.custom-glass-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
  border: 1px solid var(--line);
}
.custom-glass-row article {
  padding: 28px 30px;
  min-height: 150px;
}
.custom-glass-row article + article { border-left: 1px solid var(--line); }
.custom-glass-row p {
  margin: 35px 0 0;
  max-width: 630px;
  color: #5f6769;
  line-height: 1.65;
  font-size: 13px;
}

/* References / proof */
.award-callout {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 30px;
  background: var(--ink);
  color: white;
}
.award-mark {
  font-family: "Manrope",sans-serif;
  font-size: 44px;
  letter-spacing: -.05em;
  color: var(--acid);
}
.award-callout small {
  display: block;
  color: rgba(255,255,255,.45);
  letter-spacing: .18em;
  font-size: 9px;
  margin-bottom: 8px;
}
.award-callout strong {
  font-family: "Manrope",sans-serif;
  font-size: 26px;
  font-weight: 500;
}
.award-callout p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.62);
  line-height: 1.55;
  font-size: 13px;
}
.reference-groups {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.reference-group {
  border-bottom: 1px solid var(--line);
}
.reference-group summary {
  list-style: none;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 22px;
  gap: 28px;
  align-items: center;
  cursor: pointer;
}
.reference-group summary::-webkit-details-marker { display:none; }
.reference-group summary span {
  font-family: "Manrope",sans-serif;
  font-size: clamp(17px,2vw,25px);
  font-weight: 500;
  letter-spacing: -.025em;
}
.reference-group summary strong {
  font-size: 10px;
  letter-spacing: .1em;
  color: #7a8284;
  font-weight: 500;
}
.reference-group summary i {
  font-style: normal;
  font-size: 20px;
  transition: transform .25s ease;
}
.reference-group[open] summary i { transform: rotate(45deg); }
.reference-group ol {
  margin: 0;
  padding: 10px 0 34px 22px;
  color: #5c6466;
  line-height: 1.75;
  font-size: 13px;
}
.reference-columns { columns: 2; column-gap: 60px; }
.reference-columns li { break-inside: avoid; padding-right: 18px; }

.funding-note {
  margin-top: 6px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.38);
  font-size: 10px;
  line-height: 1.6;
  max-width: 900px;
}

@media (max-width:1050px) {
  .authority-grid { grid-template-columns: 1fr 1fr; }
  .system-library { grid-template-columns: 1fr; }
  .glazing-suite-head,
  .pergola-tech { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width:760px) {
  .authority { padding: 0 20px 82px; }
  .authority-grid { grid-template-columns: 1fr; }
  .authority-card { min-height: 200px; }
  .authority-sectors { grid-template-columns: 1fr 1fr; }
  .authority-sectors span:nth-child(2) { border-right: 0; }
  .authority-sectors span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .system-panel { min-height: auto; padding: 24px 20px; }
  .system-panel h3 { margin-top: 34px; }
  .glazing-suite { padding: 24px 20px; }
  .glazing-grid { grid-template-columns: 1fr; }
  .glazing-grid article,
  .glazing-grid article + article { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .pergola-tech { padding: 28px 20px; }
  .pergola-specs > div { grid-template-columns: 1fr; gap: 9px; }
  .custom-glass-row { grid-template-columns: 1fr; }
  .custom-glass-row article + article { border-left: 0; border-top: 1px solid var(--line); }
  .award-callout { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; }
  .reference-group summary { grid-template-columns: 1fr auto; gap: 12px; padding: 4px 0; }
  .reference-group summary strong { display:none; }
  .reference-group summary i { grid-column: 2; grid-row:1; }
  .reference-columns { columns: 1; }
}

.film-section { min-height: 92svh; position: relative; display: flex; align-items: center; color: white; overflow: hidden; background: #111; }
.film-reel, .film-frame, .film-overlay { position: absolute; inset: 0; }
.film-frame { background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity 1.5s ease, transform 7s ease; }
.film-frame.active { opacity: 1; transform: scale(1.11); }
.film-overlay { background: linear-gradient(90deg, rgba(5,8,9,.82), rgba(5,8,9,.26) 62%, rgba(5,8,9,.12)); }
.film-content { position: relative; z-index: 3; padding-left: var(--frame-x); max-width: 760px; }
.film-content h2 { font-size: clamp(58px,7.2vw,104px); }
.film-content > p:not(.eyebrow) { max-width: 560px; line-height: 1.65; color: rgba(255,255,255,.72); font-size: 17px; }
.play-btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 0; background: transparent; border: 0; color: white; cursor: pointer; }
.play-triangle { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; font-size: 11px; padding-left: 2px; transition: .25s; }
.play-btn:hover .play-triangle { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.film-counter { position: absolute; z-index: 3; right: 4vw; bottom: 42px; display: flex; gap: 10px; align-items: center; font-size: 10px; letter-spacing: .12em; }
.film-counter i { width: 70px; height: 1px; background: rgba(255,255,255,.4); }

.section-head.split { display: grid; grid-template-columns: 1fr 360px; align-items: end; gap: 80px; }
.section-head.split p { color: #5a6265; line-height: 1.65; margin-bottom: 6px; }
.projects-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 12px; }
.project { grid-column: span 4; min-height: 400px; position: relative; overflow: hidden; background: #ccc; }
.project-tall { grid-row: span 2; min-height: 812px; }
.project-wide { grid-column: span 8; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.project:hover img { transform: scale(1.035); }
.project::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(4,7,8,.78),transparent 55%); }
.project-meta { position: absolute; z-index: 2; bottom: 23px; left: 24px; color: white; }
.project-meta span { font-size: 9px; letter-spacing: .2em; color: rgba(255,255,255,.6); }
.project-meta h3 { font-family: "Manrope"; font-size: 30px; font-weight: 500; letter-spacing: -.035em; margin: 5px 0 1px; }
.project-meta p { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; }
.reference-strip { margin-top: 52px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; color: #6c7476; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

.lifestyle { display: grid; grid-template-columns: 1.12fr .88fr; gap: 8vw; align-items: center; }
.lifestyle-image { min-height: 700px; overflow: hidden; }
.lifestyle-image img { width: 100%; height: 700px; object-fit: cover; }
.lifestyle-copy h2 { font-size: clamp(45px,5.2vw,78px); }
.lifestyle-copy > p { line-height: 1.7; color: #555d60; font-size: 16px; margin: 26px 0; }
.lifestyle-copy ul { margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lifestyle-copy li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.lifestyle-copy li span { color: #8a9193; font-size: 10px; padding-top: 3px; }

.process { border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-grid article { background: var(--paper); padding: 28px; min-height: 250px; }
.process-grid article > span { font-size: 10px; color: #848b8d; }
.process-grid h3 { font-family: "Manrope"; font-size: 24px; font-weight: 500; letter-spacing: -.03em; margin: 70px 0 10px; }
.process-grid p { color: #646c6e; line-height: 1.55; font-size: 14px; }

.contact { max-width: none; background: var(--ink); color: white; display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; padding-top: 130px; padding-bottom: 130px; }
.contact-intro { padding-left: 0; }
.contact h2 { font-size: clamp(52px,6vw,88px); }
.contact-intro > p { color: rgba(255,255,255,.58); line-height: 1.7; max-width: 570px; }
.contact-direct { margin-top: 34px; display: grid; gap: 7px; }
.contact-direct a { width: max-content; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 2px; font-size: 14px; }
.contact-form { padding-right: 0; display: grid; gap: 22px; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .04em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); background: transparent; color: white; border-radius: 0; padding: 11px 0 13px; outline: 0; }
.contact-form select { appearance: none; }
.contact-form select option { color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--acid); }
.submit-btn { width: max-content; border: 0; margin-top: 4px; }
.form-note, .form-status { font-size: 10px; color: rgba(255,255,255,.38); margin: 0; }
.form-status { color: var(--acid); min-height: 16px; }

.footer { background: #080b0c; color: white; padding: 60px var(--frame-x) 24px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top > p { color: rgba(255,255,255,.5); font-size: 13px; }
.back-top { font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; padding: 50px 0; }
.footer-grid span { font-size: 9px; letter-spacing: .18em; color: rgba(255,255,255,.38); }
.footer-grid p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.32); font-size: 9px; letter-spacing: .08em; }

.video-modal { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.93); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; padding: 7vw; }
.video-modal.open { opacity: 1; visibility: visible; }
.video-shell { width: min(1200px,92vw); aspect-ratio:16/9; background: #000; }
.video-shell iframe { width:100%;height:100%;border:0; }
.video-close { position:absolute; right:28px; top:20px; width:46px;height:46px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:transparent;color:white;font-size:28px;cursor:pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .12s; }

@media (max-width: 1050px) {
  .desktop-nav, .header-cta { display:none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { justify-self:end; display:grid; gap:6px; border:0; background:none; padding:10px; cursor:pointer; }
  .menu-toggle span { display:block; width:24px; height:1px; background:currentColor; transition:.25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform:translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform:translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { display:flex; position:fixed; inset:0; z-index:80; background:var(--paper); color:var(--ink); padding:120px 34px 40px; flex-direction:column; gap:18px; transform:translateY(-100%); transition:.45s cubic-bezier(.7,0,.2,1); }
  .mobile-nav.open { transform:translateY(0); }
  .mobile-nav a { font-family:"Manrope"; font-size:clamp(34px,7vw,64px); letter-spacing:-.04em; }
  .mobile-nav .mobile-cta { margin-top:auto; font-size:16px; border-top:1px solid var(--line); padding-top:20px; }
  .statement-grid, .model-section, .contact { grid-template-columns:1fr; }
  .statement-grid { gap:48px; }
  .model-section { padding:90px var(--frame-x); }
  .model-copy { padding-left:0; }
  .model-stage { min-height:520px; }
  .contact-intro, .contact-form { padding-left:0; padding-right:0; }
  .contact { padding-left:var(--frame-x); padding-right:var(--frame-x); }
  .lifestyle { grid-template-columns:1fr; }
  .lifestyle-image, .lifestyle-image img { min-height:520px;height:520px; }
  .process-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --frame-x: 20px; }
  .site-header { height:66px; padding:0 18px; }
  .site-header.scrolled { height:62px; }
  .hero { min-height: 880px; }
  .hero-content { width:auto; padding:0 20px 215px; }
  .hero h1 { font-size:clamp(52px,16vw,82px); }
  .hero-copy { font-size:16px; }
  .hero-proof { left:20px; right:20px; bottom:70px; display:grid; grid-template-columns:1fr 1fr; }
  .hero-proof div { min-width:0; }
  .hero-proof div:last-child { display:none; }
  .scroll-cue { display:none; }
  .section-pad { padding:82px 20px; }
  .statement h2, .section-head h2, .model-copy h2, .film-content h2, .contact h2 { font-size:clamp(44px,13vw,66px); }
  .products > * { max-width:none; }
  .product-grid { grid-template-columns:1fr; }
  .product-card, .product-card-wide { grid-column:auto; min-height:430px; }
  .model-section { padding:82px 20px; }
  .model-stage { min-height:430px; margin-left:-20px; margin-right:-20px; }
  .film-section { min-height:800px; }
  .film-content { padding:0 20px; }
  .film-counter { right:20px; }
  .section-head.split { grid-template-columns:1fr; gap:22px; }
  .projects-grid { grid-template-columns:1fr; }
  .project, .project-wide, .project-tall { grid-column:auto; min-height:480px; grid-row:auto; }
  .reference-strip { overflow:hidden; max-height:108px; }
  .lifestyle { padding-left:20px; padding-right:20px; }
  .lifestyle-image, .lifestyle-image img { min-height:430px;height:430px; }
  .process-grid { grid-template-columns:1fr; }
  .process-grid article { min-height:220px; }
  .field-row { grid-template-columns:1fr; }
  .contact { padding:82px 20px; }
  .footer { padding-left:20px;padding-right:20px; }
  .footer-top { grid-template-columns:1fr auto; gap:24px; }
  .footer-top>p { grid-column:1/-1; grid-row:2; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-bottom { flex-direction:column; }
  .video-modal { padding:20px; }
  .video-close { right:14px; top:14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}


/* 3D configurator polish */
.model-stage {
  isolation: isolate;
  background:
    radial-gradient(circle at 66% 26%, rgba(198,255,69,.07), transparent 26%),
    radial-gradient(circle at 50% 48%, #293439 0%, #151c1f 48%, #0d1214 76%);
}
.model-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 24%),
    linear-gradient(90deg, transparent 0 49.9%, rgba(255,255,255,.025) 50%, transparent 50.1%);
}
.model-stage::after {
  content: "";
  position: absolute;
  inset: auto 8% 6% 8%;
  height: 28%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.36), transparent 68%);
  filter: blur(24px);
}
#railing-model {
  z-index: 1;
  touch-action: none;
}
.model-hint,
.model-badge {
  z-index: 3;
  pointer-events: none;
}


/* ==========================================================================
   KOMEJAČA STUDIO
   Premium configurator inspired by high-end architectural product tools.
   ========================================================================== */

.studio-section {
  background: #ecebe6;
  color: #111719;
  padding: 0 0 120px;
}

.studio-intro {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 9vw;
  align-items: end;
  padding-bottom: 58px;
}

.studio-intro h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .95;
  margin: 0;
  font-size: clamp(50px, 6.4vw, 94px);
}

.studio-intro-note {
  margin: 0 0 8px;
  color: #596163;
  font-size: 15px;
  line-height: 1.7;
}

.studio-shell {
  width: calc(100% - 2 * var(--frame-x));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 470px) minmax(0, 1fr);
  background: #f8f7f3;
  border: 1px solid rgba(17, 23, 25, .14);
  box-shadow: 0 30px 90px rgba(13, 18, 20, .08);
  overflow: hidden;
}

.studio-control {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 760px;
  border-right: 1px solid rgba(17, 23, 25, .12);
  background: rgba(250, 249, 245, .98);
}

.studio-control-top {
  min-height: 106px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid rgba(17, 23, 25, .1);
}

.studio-overline,
.studio-progress-label,
.studio-step-kicker,
.studio-field-label,
.studio-visual-head,
.studio-specbar span {
  letter-spacing: .14em;
  text-transform: uppercase;
}

.studio-overline {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #7a8183;
  margin-bottom: 8px;
}

.studio-progress-label {
  margin: 0;
  font-size: 10px;
  color: #7c8385;
}

.studio-progress-label strong {
  color: #111719;
  font-weight: 700;
}

.studio-progress-track {
  display: grid;
  grid-template-columns: repeat(6, 23px);
  gap: 4px;
  margin-top: 8px;
}

.studio-progress-track span {
  height: 2px;
  background: #d5d5d0;
  transition: background .25s ease, transform .25s ease;
  transform-origin: left center;
}

.studio-progress-track span.active {
  background: #111719;
}

.studio-steps {
  position: relative;
  min-height: 0;
  padding: 30px 28px 26px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c8cac6 transparent;
}

.studio-step[hidden] {
  display: none !important;
}

.studio-step {
  animation: studioStepIn .34s cubic-bezier(.2,.7,.2,1);
}

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

.studio-step-kicker {
  color: #8b9294;
  font-size: 9px;
  font-weight: 700;
  margin: 0 0 10px;
}

.studio-step h3 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 2.15vw, 36px);
  letter-spacing: -.045em;
  line-height: 1.03;
  font-weight: 500;
  margin: 0;
}

.studio-step-copy {
  margin: 15px 0 25px;
  color: #626a6c;
  line-height: 1.58;
  font-size: 13px;
}

.studio-choice-grid {
  display: grid;
  gap: 9px;
}

.studio-choice-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.studio-choice {
  min-height: 142px;
  border: 1px solid #d9d9d4;
  background: #f4f3ef;
  color: #111719;
  text-align: left;
  padding: 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.studio-choice:hover {
  border-color: #a7aaa6;
  transform: translateY(-1px);
}

.studio-choice.active {
  background: #111719;
  color: #fff;
  border-color: #111719;
  box-shadow: inset 0 0 0 1px #111719;
}

.studio-choice strong {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  letter-spacing: -.02em;
  margin-top: auto;
}

.studio-choice small {
  display: block;
  margin-top: 5px;
  color: #757d7e;
  font-size: 10px;
  line-height: 1.35;
}

.studio-choice.active small {
  color: rgba(255,255,255,.55);
}

.studio-choice-icon {
  width: 52px;
  height: 34px;
  position: relative;
  display: block;
  margin-bottom: 16px;
  opacity: .78;
}

.studio-choice-icon::before,
.studio-choice-icon::after,
.studio-choice-icon span {
  content: "";
  position: absolute;
  display: block;
}

.studio-icon-balcony::before {
  inset: 5px 2px 0;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.studio-icon-balcony::after {
  left: 6px; right: 6px; top: 13px; height: 1px;
  box-shadow: 0 6px currentColor;
  background: currentColor;
}

.studio-icon-terrace::before {
  left: 2px; right: 2px; bottom: 3px; height: 2px; background: currentColor;
}
.studio-icon-terrace::after {
  left: 4px; right: 4px; top: 6px; height: 18px;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
}

.studio-icon-loggia::before {
  width: 42px; height: 26px; left: 3px; bottom: 2px;
  background:
    linear-gradient(to top right, transparent 48%, currentColor 49%, currentColor 52%, transparent 53%);
}
.studio-icon-loggia::after {
  left: 7px; bottom: 4px; width: 36px; height: 22px;
  background: repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 6px);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  opacity: .8;
}

.studio-icon-pool::before {
  left: 2px; right: 2px; bottom: 4px; height: 16px;
  border: 1px solid currentColor;
  border-radius: 50% / 28%;
}
.studio-icon-pool::after {
  left: 8px; right: 8px; bottom: 12px; height: 1px;
  background: currentColor;
  box-shadow: 7px 4px currentColor, 15px 0 currentColor, 23px 4px currentColor;
}

.studio-system-list {
  display: grid;
  gap: 8px;
}

.studio-system {
  width: 100%;
  border: 1px solid #d7d8d3;
  background: #f4f3ef;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: start;
  text-align: left;
  padding: 20px 17px;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.studio-system.active {
  background: #111719;
  color: #fff;
  border-color: #111719;
}

.studio-system-num {
  font-size: 9px;
  color: #8e9596;
  padding-top: 3px;
}

.studio-system strong {
  display: block;
  font: 600 16px/1.2 "Manrope", sans-serif;
  letter-spacing: -.025em;
}

.studio-system small {
  display: block;
  color: #777f81;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 6px;
  max-width: 310px;
}

.studio-system.active small {
  color: rgba(255,255,255,.57);
}

.studio-system i {
  font-style: normal;
  font-size: 15px;
  opacity: .5;
}

.studio-choice-stack {
  display: grid;
  gap: 8px;
}

.studio-row-choice {
  width: 100%;
  border: 1px solid #d7d8d3;
  background: #f4f3ef;
  color: #111719;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 15px;
  align-items: center;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: .22s ease;
}

.studio-row-choice.active {
  border-color: #111719;
  box-shadow: inset 3px 0 #111719;
  background: #fff;
}

.studio-row-choice strong {
  display: block;
  font: 600 13px/1.2 "Manrope", sans-serif;
}

.studio-row-choice small {
  display: block;
  margin-top: 4px;
  color: #7b8284;
  font-size: 10px;
  line-height: 1.45;
}

.mount-sketch {
  width: 56px;
  height: 48px;
  display: block;
  position: relative;
  background: linear-gradient(180deg, transparent 0 62%, #d5d4cf 62%);
  border-bottom: 1px solid #b6b7b3;
}

.mount-sketch::before {
  content: "";
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, rgba(128,184,198,.18), rgba(128,184,198,.7));
  top: 4px;
  bottom: 13px;
  left: 28px;
  box-shadow: 5px 0 0 rgba(255,255,255,.55);
}

.mount-sketch::after {
  content: "";
  position: absolute;
  background: #697174;
}

.mount-embedded::after { width: 20px; height: 3px; left: 19px; bottom: 15px; }
.mount-surface::after { width: 22px; height: 7px; left: 18px; bottom: 15px; }
.mount-face::after { width: 6px; height: 20px; left: 22px; bottom: 3px; }

.studio-layout-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 23px;
}

.studio-layout {
  min-height: 102px;
  background: #f4f3ef;
  border: 1px solid #d8d8d3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 11px;
  cursor: pointer;
  color: #6d7476;
}

.studio-layout.active {
  border-color: #111719;
  color: #111719;
  background: #fff;
}

.studio-layout > span {
  width: 42px;
  height: 34px;
  position: relative;
  display: block;
}

.layout-straight::before,
.layout-l::before,
.layout-u::before {
  content: "";
  position: absolute;
  inset: 0;
}

.layout-straight::before {
  top: 16px;
  height: 2px;
  background: currentColor;
}

.layout-l::before {
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  width: 31px;
  height: 26px;
  left: 7px;
  top: 2px;
}

.layout-u::before {
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  inset: 2px 4px 3px;
}

.studio-layout small {
  font-size: 9px;
  color: #7b8283;
}

.studio-dimensions {
  border-top: 1px solid #d9d9d4;
}

.studio-dimensions label {
  min-height: 54px;
  border-bottom: 1px solid #d9d9d4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5d6567;
  font-size: 11px;
}

.studio-dimensions label > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #111719;
  font-weight: 600;
}

.studio-dimensions input {
  width: 74px;
  border: 0;
  background: transparent;
  border-bottom: 1px solid #acb0ad;
  padding: 6px 2px 5px;
  text-align: right;
  outline: 0;
  color: #111719;
  font-weight: 600;
}

.studio-dimensions input:focus {
  border-color: #111719;
}

.studio-material-block + .studio-material-block {
  margin-top: 22px;
}

.studio-field-label {
  display: block;
  color: #7f8688;
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 10px;
}

.studio-swatch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-swatch {
  min-width: 88px;
  border: 1px solid #d8d8d3;
  background: #f4f3ef;
  display: grid;
  grid-template-columns: 23px auto;
  gap: 8px;
  align-items: center;
  padding: 9px 11px;
  cursor: pointer;
  color: #596163;
  font-size: 10px;
}

.studio-swatch.active {
  border-color: #111719;
  color: #111719;
  background: #fff;
}

.studio-swatch i {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid rgba(17,23,25,.13);
  display: block;
}

.swatch-glass-clear {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(177,220,229,.35));
  box-shadow: inset -5px -5px 10px rgba(101,174,190,.12);
}
.swatch-glass-smoke { background: linear-gradient(135deg, #e4e6e3, #6e797b); }
.swatch-natural { background: linear-gradient(135deg, #f0f1f0, #a9afb0 55%, #e6e7e5); }
.swatch-anthracite { background: #3b4243; }
.swatch-black { background: #101314; }

.studio-toggle {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #d9d9d4;
  margin-top: 25px;
  padding-top: 18px;
  cursor: pointer;
}

.studio-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.studio-toggle-ui {
  width: 38px;
  height: 22px;
  background: #cfd1cd;
  border-radius: 30px;
  position: relative;
  transition: .2s ease;
}

.studio-toggle-ui::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 3px;
  left: 3px;
  background: white;
  border-radius: 50%;
  transition: transform .2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.studio-toggle input:checked + .studio-toggle-ui {
  background: #111719;
}

.studio-toggle input:checked + .studio-toggle-ui::after {
  transform: translateX(16px);
}

.studio-toggle strong {
  display: block;
  font: 600 12px/1.2 "Manrope", sans-serif;
}

.studio-toggle small {
  display: block;
  color: #7a8283;
  font-size: 10px;
  line-height: 1.4;
  margin-top: 4px;
}

.studio-summary {
  margin-top: 24px;
  border-top: 1px solid #d8d9d4;
}

.studio-summary-row {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid #d8d9d4;
  font-size: 11px;
}

.studio-summary-row span {
  color: #808789;
}

.studio-summary-row strong {
  font-weight: 600;
}

.studio-send {
  width: 100%;
  min-height: 52px;
  margin-top: 21px;
  padding: 0 18px;
  border: 0;
  background: #111719;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: background .2s ease;
}

.studio-send:hover {
  background: #283033;
}

.studio-disclaimer {
  color: #8a9091;
  font-size: 9px;
  line-height: 1.45;
  margin: 10px 0 0;
}

.studio-control-bottom {
  min-height: 70px;
  padding: 12px 18px;
  border-top: 1px solid rgba(17,23,25,.1);
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  background: #f7f6f2;
}

.studio-control-bottom button {
  border: 1px solid #d2d3ce;
  background: transparent;
  cursor: pointer;
  color: #636b6d;
  font-size: 11px;
}

.studio-control-bottom button:disabled {
  opacity: .3;
  cursor: default;
}

.studio-control-bottom .studio-next {
  border-color: #111719;
  background: #111719;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.studio-visual {
  min-width: 0;
  min-height: 760px;
  display: grid;
  grid-template-rows: 56px 1fr 74px;
  background: #dfe1dc;
  position: relative;
}

.studio-visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 22px;
  border-bottom: 1px solid rgba(17,23,25,.12);
  color: #5f6769;
  font-size: 8px;
  font-weight: 700;
  position: relative;
  z-index: 4;
  background: rgba(238,238,233,.76);
  backdrop-filter: blur(12px);
}

.studio-visual-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-live-dot {
  width: 6px;
  height: 6px;
  background: #7aa337;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(122,163,55,.1);
}

.studio-view-tools {
  display: flex;
  gap: 5px;
}

.studio-view-tools button {
  border: 0;
  background: transparent;
  color: #798082;
  min-height: 30px;
  padding: 0 9px;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.studio-view-tools button.active {
  color: #111719;
  background: rgba(255,255,255,.68);
}

.studio-canvas-wrap {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 24%, rgba(255,255,255,.98) 0, rgba(255,255,255,.52) 16%, transparent 38%),
    linear-gradient(180deg, #e6e7e3 0%, #d2d6d2 66%, #c7cac6 100%);
}

#railing-model {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
  touch-action: none;
  cursor: grab;
}

.studio-canvas-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(34,42,44,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,42,44,.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, transparent 6%, black 55%, transparent 96%);
  z-index: 1;
}

.studio-orbit-hint {
  position: absolute;
  left: 20px;
  bottom: 17px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5f6869;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

.studio-orbit-hint span {
  font-size: 16px;
}

.studio-dimension-tag {
  position: absolute;
  z-index: 4;
  min-width: 50px;
  background: rgba(250,250,247,.9);
  border: 1px solid rgba(17,23,25,.13);
  padding: 6px 8px;
  color: #343b3d;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.studio-tag-a {
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
}

.studio-tag-b {
  right: 10%;
  top: 43%;
}

.studio-specbar {
  min-height: 74px;
  border-top: 1px solid rgba(17,23,25,.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ecece8;
}

.studio-specbar > div {
  padding: 16px 18px 12px;
  border-right: 1px solid rgba(17,23,25,.1);
  min-width: 0;
}

.studio-specbar > div:last-child {
  border-right: 0;
}

.studio-specbar span {
  display: block;
  color: #8b9293;
  font-size: 7px;
  font-weight: 700;
  margin-bottom: 6px;
}

.studio-specbar strong {
  display: block;
  font: 600 11px/1.2 "Manrope", sans-serif;
  color: #242b2d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1120px) {
  .studio-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .studio-intro-note {
    max-width: 660px;
  }

  .studio-shell {
    grid-template-columns: 390px minmax(0,1fr);
    width: calc(100% - 32px);
  }

  .studio-choice-grid-2 {
    grid-template-columns: 1fr;
  }

  .studio-choice {
    min-height: 108px;
  }
}

@media (max-width: 900px) {
  .studio-section {
    padding-bottom: 80px;
  }

  .studio-shell {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .studio-control {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17,23,25,.12);
  }

  .studio-steps {
    min-height: 440px;
  }

  .studio-choice-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .studio-visual {
    min-height: 630px;
  }

  .studio-canvas-wrap {
    min-height: 500px;
  }
}

@media (max-width: 620px) {
  .studio-intro {
    padding: 78px 20px 38px;
  }

  .studio-shell {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .studio-control-top {
    padding: 20px;
  }

  .studio-progress-track {
    grid-template-columns: repeat(6, 14px);
  }

  .studio-steps {
    padding: 25px 20px;
    min-height: 465px;
  }

  .studio-choice-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .studio-choice {
    min-height: 128px;
    padding: 14px;
  }

  .studio-choice small {
    display: none;
  }

  .studio-step h3 {
    font-size: 30px;
  }

  .studio-layout {
    min-height: 88px;
  }

  .studio-row-choice {
    grid-template-columns: 54px 1fr;
    padding: 12px;
  }

  .mount-sketch {
    width: 48px;
  }

  .studio-swatch {
    min-width: 0;
    flex: 1 1 30%;
    grid-template-columns: 20px auto;
    padding: 8px;
  }

  .studio-swatch i {
    width: 20px;
    height: 20px;
  }

  .studio-control-bottom {
    position: sticky;
    bottom: 0;
    z-index: 8;
  }

  .studio-visual {
    min-height: 520px;
    grid-template-rows: 52px 1fr auto;
  }

  .studio-canvas-wrap {
    min-height: 400px;
  }

  .studio-view-tools button {
    padding: 0 6px;
  }

  .studio-view-tools button[data-view="front"] {
    display: none;
  }

  .studio-specbar {
    grid-template-columns: 1fr 1fr;
  }

  .studio-specbar > div {
    border-bottom: 1px solid rgba(17,23,25,.08);
  }

  .studio-tag-b {
    display: none;
  }
}


.studio-row-choice:disabled {
  opacity: .38;
  cursor: not-allowed;
  filter: grayscale(.25);
}


.studio-toggle input:focus-visible + .studio-toggle-ui {
  outline: 2px solid #111719;
  outline-offset: 3px;
}
