/* Structor Prefab — shared site styles */

/* Self-hosted fonts (variable, latin + latin-ext) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #101113;
  --near-black: #17181b;
  --white: #fdfdfd;
  --off-white: #f4f4f3;
  --grey-100: #ececec;
  --grey-300: #c9cacd;
  --grey-500: #8b8d92;
  --grey-700: #4a4c52;
  --blue: #0c7ecd;
  --blue-bright: #0f9df1;
  --blue-dark: #0d5e9c;
  --line: rgba(16, 17, 19, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --nav-h: 64px;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-700);
}
.eyebrow.on-dark { color: var(--grey-300); }
.eyebrow.accent { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--blue); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--black); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--blue-bright); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--near-black);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { padding: 10px 20px; font-size: 13.5px; }
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: none; background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--black); display: block; }
.mobile-panel {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--white);
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  padding: 28px 32px;
  overflow-y: auto;
}
.mobile-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-panel a {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-panel .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,0.15) 0%, rgba(10,11,13,0.06) 32%, rgba(10,11,13,0.62) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-h) + 32px) 32px 88px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 84px);
  max-width: 16ch;
}
.hero .lede {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}
.hero .btn-row { margin-top: 34px; }
.hero-scroll {
  position: absolute;
  right: 32px; bottom: 28px;
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-scroll svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(6px);} }

.hero.small { min-height: 62vh; }

/* ---------- Sections ---------- */
section { padding: 108px 0; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--grey-700); line-height: 1.6; }
.bg-off { background: var(--off-white); }
.bg-black { background: var(--black); color: var(--white); }
.bg-black .section-head p { color: var(--grey-300); }
.bg-black .eyebrow { color: var(--grey-300); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Model grid ---------- */
.model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.model-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.model-card figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.model-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.model-card .size { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.model-card .desc { font-size: 14.5px; color: var(--grey-700); line-height: 1.5; flex: 1; }
.model-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: 13.5px; }
.model-card .price { font-weight: 700; }
.model-card .link { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.model-card .link svg { transition: transform .18s ease; }
.model-card:hover .link svg { transform: translateX(3px); }

/* ---------- Photo carousel ---------- */
.carousel { position: relative; width: 100%; height: 100%; background: var(--off-white); overflow: hidden; }
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform .4s ease; }
.carousel-slide { flex: 0 0 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-slide.plan img { object-fit: contain; background: var(--white); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(253,253,253,0.92); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--black); padding: 0; z-index: 2;
  opacity: 0; transition: opacity .18s ease;
}
.carousel:hover .carousel-arrow, .carousel:focus-within .carousel-arrow { opacity: 1; }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.55); border: none; padding: 0; cursor: pointer; }
.carousel-dot.active { background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,0.18); }
.carousel-zoom {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(253,253,253,0.92); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--black); padding: 0; z-index: 2;
  opacity: 0; transition: opacity .18s ease;
}
.carousel:hover .carousel-zoom, .carousel:focus-within .carousel-zoom { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,10,11,0.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-stage { max-width: 92vw; max-height: 86vh; }
.lightbox-stage img { display: block; max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; background: var(--white); }
.lightbox-close, .lightbox-arrow {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); cursor: pointer; z-index: 1001; padding: 0;
}
.lightbox-close:hover, .lightbox-arrow:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
@media (max-width: 720px) {
  .lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ---------- Feature columns ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature .icon { width: 40px; height: 40px; color: var(--blue-bright); }
.feature h3 { font-size: 19px; }
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--grey-700); margin: 0; }
.bg-black .feature p { color: var(--grey-300); }

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 44px;
  margin-top: 68px;
}
.stat b { display: block; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--grey-300); letter-spacing: 0.02em; }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.split img { border-radius: 4px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split.reverse .media { order: 2; }
.split .eyebrow { margin-bottom: 14px; display: block; }
.split h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 18px; }
.split p { font-size: 16px; line-height: 1.65; color: var(--grey-700); margin: 0 0 14px; }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--black); }
.checklist svg { flex: none; margin-top: 2px; color: var(--blue); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.gallery-grid a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid a:first-child img { aspect-ratio: 1/1; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); max-width: 22ch; }
.cta-band p { margin-top: 10px; color: var(--grey-300); font-size: 15px; }

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  color: var(--grey-300);
  padding: 72px 0 34px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-logo-chip {
  display: inline-flex;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.footer-brand img { height: 44px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 32ch; color: var(--grey-500); }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--grey-300); }
.footer-address { font-size: 14.5px; line-height: 1.5; color: var(--grey-300); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: var(--grey-500);
  flex-wrap: wrap; gap: 12px;
}

.footer-bottom a { color: var(--grey-300); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 72px) 0 108px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin: 14px 0 10px; }
.legal-updated { font-size: 14px; color: var(--grey-500); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 44px 0 14px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--grey-700); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--black); }
.legal a { color: var(--blue); font-weight: 700; }
@media (max-width: 720px) { .legal { padding: calc(var(--nav-h) + 48px) 0 72px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 48px) 0 72px; }
.notfound .container { max-width: 640px; }
.notfound-code { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(88px, 18vw, 160px); line-height: 1; letter-spacing: -0.04em; color: var(--blue); margin-bottom: 8px; }
.notfound h1 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 16px; }
.notfound p { font-size: 17px; line-height: 1.6; color: var(--grey-700); margin: 0 0 32px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--grey-700); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .span-2 { grid-column: span 2; }

/* ---------- Utility ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.placeholder { color: var(--grey-500); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-burger { display: flex; }
  .container { padding: 0 20px; }
  .hero-inner { padding: calc(var(--nav-h) + 24px) 20px 56px; }
  .hero-scroll { display: none; }
  .hero.small { min-height: 84vh; }
  section { padding: 72px 0; }
  .model-grid { grid-template-columns: 1fr; }
  .carousel-arrow, .carousel-zoom { opacity: 1; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid a:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-grid a:first-child img { aspect-ratio: 16/10; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 26px; }
  .footer-top { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
}
