:root {
  --cream: #f5efe6;
  --sand: #dfd1bd;
  --stone: #c8b89f;
  --olive: #6f745a;
  --moss: #3d4935;
  --ink: #11100f;
  --muted: #716a60;
  --line: #cab9a2;
  --white: #fffaf3;
  --black: #080807;
  --shadow: 0 26px 70px rgba(38, 31, 25, 0.22);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: rgba(8, 8, 7, 0.92);
  border-bottom: 1px solid rgba(255, 250, 243, 0.14);
  backdrop-filter: blur(18px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-link img {
  width: 42px;
  height: 54px;
  object-fit: contain;
}

.logo-link span {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 11px 14px;
  border-radius: 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  background: rgba(255, 250, 243, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(18px, 5vw, 70px) clamp(44px, 7vw, 88px);
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.78) 0%, rgba(8, 8, 7, 0.4) 43%, rgba(8, 8, 7, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 8, 7, 0.48), rgba(8, 8, 7, 0.02) 55%);
}

.hero-copy {
  position: relative;
  max-width: 900px;
  color: var(--white);
}

.eyebrow,
.section-kicker,
.label {
  margin: 0 0 16px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e9d7bd;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(54px, 8.6vw, 132px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 243, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--black);
  background: var(--white);
}

.button.glass {
  color: var(--white);
  border-color: rgba(255, 250, 243, 0.72);
  background: rgba(8, 8, 7, 0.16);
  backdrop-filter: blur(12px);
}

.intro {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 10vw, 140px);
  color: var(--white);
  background: var(--black);
}

.intro h2 {
  max-width: 1180px;
}

h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(36px, 5.6vw, 88px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.14;
  letter-spacing: 0;
}

.image-story,
.garden-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(70px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.story-copy p:not(.section-kicker),
.garden-copy p,
.solution-grid p,
.system-cards p,
.process-line p,
.contact-card p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.story-copy p:not(.section-kicker),
.garden-copy p {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 18px;
}

.image-story figure {
  margin: 0;
}

.image-story img,
.garden-panel img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.solutions,
.systems,
.process,
.contact {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-title {
  max-width: 900px;
  margin-bottom: 38px;
}

.section-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.solution-grid article {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--cream);
}

.solution-grid span,
.process-line span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 46px;
  border-radius: 0;
  color: var(--white);
  background: var(--black);
  font-size: 13px;
  font-weight: 900;
}

.garden-panel {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.72fr);
  color: var(--white);
  background: var(--black);
}

.garden-panel .section-kicker {
  color: #dec7aa;
}

.garden-panel p {
  color: rgba(255, 250, 243, 0.76);
}

.systems {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(32px, 7vw, 90px);
  background: var(--sand);
}

.system-cards {
  display: grid;
  gap: 14px;
}

.system-cards article {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--cream);
}

.system-cards article:last-child {
  color: var(--white);
  background: var(--black);
}

.system-cards article:last-child p {
  color: rgba(255, 250, 243, 0.78);
}

.system-cards article:last-child .label {
  color: #dec7aa;
}

.process {
  background: var(--cream);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--ink);
  border-radius: 0;
  overflow: hidden;
  background: var(--ink);
}

.process-line article {
  min-height: 260px;
  padding: 28px;
  background: var(--cream);
}

.process-line span {
  margin-bottom: 38px;
  background: var(--black);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.92), rgba(8, 8, 7, 0.64)),
    url("/assets/garden-sliding-doors.png") center / cover;
}

.contact-card {
  color: var(--white);
}

.contact-card .section-kicker {
  color: #dec7aa;
}

.contact-card p {
  max-width: 620px;
  color: rgba(255, 250, 243, 0.8);
  font-size: 18px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-links a {
  padding: 13px 16px;
  border: 1px solid rgba(255, 250, 243, 0.22);
  border-radius: 0;
  color: var(--white);
  background: rgba(255, 250, 243, 0.12);
  font-weight: 900;
}

.contact-card address {
  max-width: 430px;
  margin-top: 26px;
  color: rgba(255, 250, 243, 0.88);
  font-style: normal;
  font-size: 18px;
  line-height: 1.55;
}

.quote-form {
  padding: 28px;
  border: 1px solid rgba(8, 8, 7, 0.32);
  border-radius: 0;
  background: rgba(255, 250, 243, 0.96);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 15px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  text-transform: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .button {
  width: 100%;
  border: 0;
}

.form-note {
  margin: 14px 0 0;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--ink);
  background: var(--cream);
}

.site-footer img {
  width: 126px;
  height: 86px;
  object-fit: contain;
  object-position: left center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 900;
}

.page {
  background: var(--cream);
}

.light-page .site-header {
  color: var(--ink);
  background: rgba(245, 239, 230, 0.94);
  border-bottom-color: rgba(39, 35, 31, 0.16);
}

.light-page .logo-link span,
.light-page .site-nav a {
  color: var(--ink);
}

.page .site-header {
  position: sticky;
}

.page-hero {
  padding: clamp(98px, 13vw, 178px) clamp(18px, 5vw, 72px) clamp(64px, 9vw, 120px);
  color: var(--white);
  background: var(--black);
}

.light-hero {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.9), rgba(245, 239, 230, 1)),
    url("/assets/window-detail.png") right center / 52% auto no-repeat;
}

.light-hero .eyebrow,
.light-hero > p:not(.eyebrow) {
  color: var(--muted);
}

.page-hero h1 {
  max-width: 1120px;
}

.page-hero > p:not(.eyebrow) {
  max-width: 780px;
  margin: 28px 0 0;
  color: rgba(255, 250, 243, 0.78);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
}

.image-page-hero {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.9), rgba(8, 8, 7, 0.48)),
    url("/assets/home-garden-hero.png") center / cover;
}

.light-image-hero {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.58), rgba(8, 8, 7, 0.18)),
    url("/assets/sliding-system.png") center / cover;
}

.model-section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

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

.model-grid article {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--cream);
}

.product-grid {
  gap: 18px;
  border: 0;
}

.product-grid .model-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(38, 31, 25, 0.08);
}

.model-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  background: var(--sand);
  transition: transform 260ms ease;
}

.model-content {
  padding: 24px;
}

.model-card:hover img,
.model-card:focus-within img,
.system-product-card:hover img,
.system-product-card:focus-within img {
  transform: scale(1.04);
}

.model-specs {
  position: absolute;
  inset: auto 14px 14px 14px;
  display: grid;
  gap: 8px;
  padding: 18px;
  color: var(--white);
  background: rgba(8, 8, 7, 0.9);
  border: 1px solid rgba(255, 250, 243, 0.16);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.model-card:hover .model-specs,
.model-card:focus-within .model-specs,
.system-product-card:hover .model-specs,
.system-product-card:focus-within .model-specs {
  opacity: 1;
  transform: translateY(0);
}

.model-specs strong {
  color: #f0d8b7;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.model-specs span {
  color: rgba(255, 250, 243, 0.88);
  font-size: 14px;
  line-height: 1.35;
}

.model-grid.two article {
  min-height: 380px;
}

.system-product-card {
  position: relative;
  overflow: hidden;
  padding: 0 0 32px;
  background: var(--white);
}

.system-product-card img {
  width: 100%;
  aspect-ratio: 1.55;
  margin-bottom: 28px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.system-product-card .label,
.system-product-card h2,
.system-product-card > p:not(.label) {
  margin-left: 28px;
  margin-right: 28px;
}

.system-product-card .system-specs {
  inset: 18px 18px auto 18px;
}

.model-grid.two h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.6vw, 68px);
}

.model-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.dark-band {
  color: var(--white);
  background: var(--black);
}

.dark-band .section-kicker {
  color: #dec7aa;
}

.dark-band .model-grid {
  border-color: rgba(255, 250, 243, 0.45);
}

.dark-band .model-grid article {
  color: var(--white);
  border-color: rgba(255, 250, 243, 0.45);
  background: var(--black);
}

.dark-band .model-grid p {
  color: rgba(255, 250, 243, 0.74);
}

.aluminum-band {
  background: #eee3d3;
}

.page-panel {
  padding-top: clamp(70px, 9vw, 128px);
  padding-bottom: clamp(70px, 9vw, 128px);
}

.page-process {
  padding-top: clamp(70px, 9vw, 128px);
}

.page-process .process-line {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-contact {
  min-height: auto;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--black);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 0;
  }

  .image-story,
  .garden-panel,
  .systems,
  .contact {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .process-line,
  .model-grid,
  .page-process .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 76px;
    padding: 10px 16px;
  }

  .logo-link img {
    width: 36px;
    height: 48px;
  }

  .logo-link span {
    font-size: 21px;
  }

  .site-nav {
    top: 76px;
  }

  .hero {
    min-height: 92svh;
    padding: 104px 16px 38px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 8, 7, 0.8), rgba(8, 8, 7, 0.24)),
      linear-gradient(90deg, rgba(8, 8, 7, 0.58), rgba(8, 8, 7, 0.1));
  }

  h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro,
  .image-story,
  .garden-panel,
  .solutions,
  .systems,
  .process,
  .contact {
    padding-inline: 16px;
  }

  .image-story img,
  .garden-panel img {
    min-height: 320px;
    border-radius: 0;
  }

  .solution-grid,
  .process-line,
  .model-grid,
  .model-grid.two,
  .page-process .process-line {
    grid-template-columns: 1fr;
  }

  .solution-grid article,
  .process-line article {
    min-height: auto;
  }

  .solution-grid span,
  .process-line span {
    margin-bottom: 26px;
  }

  .quote-form {
    padding: 20px;
    border-radius: 0;
  }

  .light-hero {
    background: var(--cream);
  }

  .product-grid .model-card,
  .model-grid.two article {
    min-height: auto;
  }

  .model-specs,
  .model-card:hover .model-specs,
  .model-card:focus-within .model-specs,
  .system-product-card:hover .model-specs,
  .system-product-card:focus-within .model-specs {
    position: static;
    margin: 0 16px 16px;
    opacity: 1;
    transform: none;
  }

  .system-product-card .system-specs {
    margin-top: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
