:root {
  --ink: #2f2118;
  --muted: #715f52;
  --paper: #fff8ef;
  --cream: #f6eadb;
  --clay: #b95b2b;
  --gold: #d89b3d;
  --sage: #5f7654;
  --green: #2f4b37;
  --line: rgba(47, 33, 24, 0.16);
  --shadow: 0 24px 70px rgba(47, 33, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header,
.checkout-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(255, 248, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff8ef;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.nav-cta,
.button {
  text-decoration: none;
}

.header-contact {
  display: grid;
  gap: 2px;
  padding: 10px 18px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  background: var(--green);
  box-shadow: 0 10px 26px rgba(47, 33, 24, 0.24);
}

.header-contact span {
  color: rgba(255, 248, 239, 0.82);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-contact strong {
  color: #fff8ef;
  font-family: Inter, system-ui, sans-serif;
  font-size: 21px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.045em;
  line-height: 1.15;
}

.checkout-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 20px;
  font-weight: 800;
  line-height: 1.1;
}

.nav-cta {
  background: var(--ink);
  color: #fff8ef;
  white-space: nowrap;
}

.button.primary {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 248, 239, 0.92);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: end;
  padding: clamp(100px, 12vh, 150px) clamp(18px, 5vw, 70px) clamp(46px, 8vh, 74px);
  overflow: hidden;
  color: #fff8ef;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(21, 15, 11, 0.82) 0%, rgba(31, 21, 14, 0.48) 44%, rgba(31, 21, 14, 0.18) 100%),
    linear-gradient(0deg, rgba(21, 15, 11, 0.72), rgba(21, 15, 11, 0.04) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  display: grid;
  gap: clamp(7px, 1.2vw, 12px);
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 248, 239, 0.9);
  font-size: clamp(17px, 2vw, 21px);
}

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

.season-card {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(24px, 5vw, 58px);
  z-index: 3;
  width: min(330px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 248, 239, 0.26);
  border-radius: 8px;
  background: rgba(47, 33, 24, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.season-card span,
.phone-card span,
.package-kicker {
  display: block;
  color: var(--sage);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.season-card span {
  color: var(--gold);
}

.season-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 24px;
  line-height: 1.18;
}

.season-card strong .install-date {
  display: inline;
  color: #fff8ef;
  font-size: 1.12em;
  font-weight: 700;
  text-transform: none;
}

.season-card p {
  margin: 10px 0 0;
  color: rgba(255, 248, 239, 0.82);
}

.season-card .scarcity-note {
  margin-top: 16px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 248, 239, 0.14);
  color: #fff8ef;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  padding: 14px 14px 14px 16px;
}

.gallery-section,
.about-section,
.packages-section,
.inquiry-section,
.checkout-hero,
.checkout-layout {
  padding: clamp(62px, 8vw, 98px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.inquiry-copy h2,
.checkout-hero h1 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.inquiry-copy p,
.checkout-hero p {
  color: var(--muted);
  font-size: 17px;
}

.gallery {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.gallery-frame {
  position: relative;
  height: min(68vw, 680px);
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 1.2s ease;
}

.gallery-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.gallery-slide.is-clearing {
  z-index: 3;
  opacity: 1;
  animation: wash-away 1.1s ease forwards;
}

.gallery-slide-pastel {
  object-fit: cover;
  object-position: center 72%;
}

@keyframes wash-away {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 100% 0 0);
  }
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 248, 239, 0.7);
  border-radius: 50%;
  background: rgba(47, 33, 24, 0.72);
  color: #fff8ef;
  font-size: 34px;
  line-height: 0;
  padding: 0 0 4px;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-prev {
  left: 16px;
}

.gallery-next {
  right: 16px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.gallery-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(47, 33, 24, 0.24);
}

.gallery-dots .is-active {
  background: var(--clay);
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.65fr) minmax(220px, 0.7fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(216, 155, 61, 0.2), transparent 24%),
    linear-gradient(135deg, #f2e0c8 0%, var(--cream) 52%, #efe0cf 100%);
  border-block: 1px solid var(--line);
}

.about-section::after {
  position: absolute;
  right: -90px;
  bottom: -125px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(185, 91, 43, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(185, 91, 43, 0.05),
    0 0 0 72px rgba(185, 91, 43, 0.035);
  content: "";
}

.about-portrait {
  position: sticky;
  top: 120px;
  z-index: 1;
  margin: 0;
  padding: 10px 10px 16px;
  border: 1px solid rgba(47, 33, 24, 0.16);
  background: #fff8ef;
  box-shadow: 18px 22px 0 rgba(216, 155, 61, 0.24);
  transform: rotate(-4deg);
}

.about-portrait img {
  width: 100%;
  height: auto;
  filter: saturate(0.94) contrast(1.02);
}

.about-portrait figcaption {
  margin-top: 12px;
  color: var(--green);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.about-story {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.about-story h2 {
  max-width: 680px;
  margin: 0 0 26px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
}

.about-story > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.about-story > p + p {
  margin-top: 18px;
}

.about-story .about-lead {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.65;
}

.about-note {
  position: relative;
  z-index: 1;
  margin-top: 92px;
  padding: 24px;
  border: 1px solid rgba(47, 33, 24, 0.14);
  background: rgba(255, 248, 239, 0.66);
  box-shadow: 12px 12px 0 rgba(95, 118, 84, 0.16);
  transform: rotate(2deg);
}

.about-note span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-note p {
  margin: 10px 0 0;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 20px;
  line-height: 1.45;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.package-card,
.checkout-panel,
.order-summary,
.inquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 16px 44px rgba(47, 33, 24, 0.09);
}

.package-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.package-image-link {
  display: block;
  overflow: hidden;
}

.package-image-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.package-card:nth-child(2) .package-image-link img,
.package-card:nth-child(3) .package-image-link img {
  object-position: center top;
}

.package-card:nth-child(2) .package-image-link img {
  object-fit: cover;
  object-position: center 8%;
}

.package-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.package-body .button {
  margin-top: auto;
}

.package-body h3,
.checkout-panel h2,
.order-summary h2 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
}

.package-body p {
  margin: 0;
  color: var(--muted);
}

.price {
  color: var(--clay) !important;
  font-size: 28px;
  font-weight: 900;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-band article {
  padding: clamp(28px, 5vw, 48px);
  background: var(--cream);
}

.feature-band span {
  color: var(--clay);
  font-weight: 900;
}

.feature-band h2 {
  margin: 8px 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 25px;
}

.feature-band p {
  margin: 0;
  color: var(--muted);
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  background: #fbf0e2;
}

.inquiry-copy {
  max-width: 560px;
}

.phone-card {
  display: inline-block;
  margin-top: 22px;
  padding: 20px 24px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(47, 33, 24, 0.18);
}

.phone-card span {
  color: rgba(255, 248, 239, 0.82);
}

.phone-card strong {
  display: block;
  margin-top: 6px;
  color: #fff8ef;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(26px, 4vw, 34px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.045em;
  line-height: 1.1;
}

.inquiry-form,
.checkout-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.hidden-field {
  display: none;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 70px);
  background: var(--ink);
  color: #fff8ef;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 248, 239, 0.72);
}

.site-footer a {
  display: block;
  color: #fff8ef;
  text-decoration: none;
}

.checkout-page {
  background: #fbf0e2;
}

.checkout-brand {
  min-width: 0;
}

.checkout-hero {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 26px;
  text-align: center;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 24px;
  max-width: 1220px;
  margin: 0 auto;
  padding-top: 0;
}

.checkout-form {
  display: grid;
  gap: 22px;
}

.selected-package-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.selected-package-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.selected-package-card a {
  color: var(--clay);
  font-weight: 900;
}

.checkout-addons,
.choice-grid,
.checkout-fields {
  display: grid;
  gap: 14px;
}

.addon-choice,
.choice-card,
.permission-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8ef;
  padding: 14px;
  font-weight: 800;
}

.addon-choice {
  grid-template-columns: auto 74px minmax(90px, 1fr) minmax(96px, auto) auto;
}

.addon-choice img {
  width: 74px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.quantity-field {
  display: inline-grid;
  grid-template-columns: auto 58px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.quantity-field input {
  padding: 8px;
}

.choice-card span,
.permission-check span {
  min-width: 0;
}

.choice-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 600;
}

.no-thanks-card {
  background: #fff8ef;
  border-color: var(--line);
}

.order-summary {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 20px;
}

.summary-total strong {
  color: var(--clay);
}

.order-summary p {
  margin: 0;
  color: var(--muted);
}

.order-summary .payment-status {
  border: 1px solid var(--clay);
  border-radius: 8px;
  background: #fff1e8;
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 980px) {
  .site-header,
  .checkout-header {
    flex-wrap: wrap;
  }

  .checkout-header-actions {
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .season-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .package-grid,
  .feature-band,
  .about-section,
  .inquiry-section,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .about-section {
    gap: 36px;
  }

  .about-portrait {
    position: relative;
    top: auto;
    width: min(320px, 82vw);
  }

  .about-note {
    max-width: 440px;
    margin-top: 0;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header,
  .checkout-header {
    gap: 12px;
    padding-block: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .site-header .brand,
  .checkout-header .brand {
    flex: 1 1 190px;
  }

  .site-header .nav-links {
    display: none;
  }

  .header-contact {
    order: 2;
    width: 100%;
  }

  .checkout-header-actions {
    display: contents;
  }

  .checkout-header .nav-cta {
    order: 3;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: 760px;
    padding-top: 92px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(21, 15, 11, 0.84), rgba(21, 15, 11, 0.2)),
      linear-gradient(90deg, rgba(21, 15, 11, 0.62), rgba(21, 15, 11, 0.18));
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .gallery-frame {
    height: 420px;
    min-height: 420px;
  }

  .about-section {
    padding-block: 64px;
  }

  .about-portrait {
    width: min(290px, 88vw);
    box-shadow: 12px 14px 0 rgba(216, 155, 61, 0.24);
  }

  .about-story .about-lead {
    font-size: 18px;
  }

  .gallery-arrow {
    width: 42px;
    height: 42px;
  }

  .selected-package-card,
  .addon-choice {
    grid-template-columns: 1fr;
  }

  .addon-choice img {
    width: 100%;
    height: 150px;
  }

  .choice-card,
  .permission-check {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .choice-card b {
    grid-column: 2;
  }

  .site-footer {
    display: grid;
  }
}
