:root {
  --bg: #eef2ee;
  --bg-alt: #dce6e2;
  --surface: rgba(255, 252, 247, 0.86);
  --surface-strong: #f9f4ec;
  --surface-soft: #eaf0eb;
  --ink: #233127;
  --muted: #5f6f66;
  --line: rgba(53, 75, 62, 0.12);
  --accent: #b98246;
  --accent-deep: #7f5c34;
  --accent-2: #779284;
  --shadow: 0 24px 80px rgba(53, 63, 53, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1260px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(119, 146, 132, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(185, 130, 70, 0.14), transparent 24%),
    linear-gradient(180deg, #f4f6f1 0%, #edf2ee 48%, #e7ede8 100%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px 14px 38px;
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 249, 244, 0.84);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 48px rgba(70, 76, 63, 0.1);
}

.brand,
.price,
.hero-copy h1,
.section-heading h2,
.feature-card h3,
.contact-card h3 {
  font-family: "Fraunces", serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
}

.brand-mark,
.footer-mark {
  display: block;
  border-radius: 50%;
}

.brand-mark {
  width: 92px;
  height: 92px;
  margin-top: -38px;
  margin-bottom: -38px;
  margin-left: -18px;
  border: 2px solid rgba(185, 130, 70, 0.2);
  box-shadow: 0 14px 34px rgba(70, 76, 63, 0.16);
  background: rgba(255, 252, 247, 0.96);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.topnav a {
  padding: 8px 0;
  transition: color 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--accent-deep);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 22px;
  padding-top: 42px;
  align-items: stretch;
}

.hero-media,
.hero-copy,
.hero-panel,
.feature-card,
.gallery-card,
.comparison-card,
.contact-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media {
  grid-column: 2;
  grid-row: span 2;
  overflow: hidden;
  background: #eef2eb;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.hero-panel {
  grid-column: 1;
  grid-row: 2;
}

.hero-media img {
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.hero-copy,
.hero-panel {
  padding: 28px 28px 30px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.96), rgba(246, 240, 231, 0.96)),
    var(--surface);
}

.eyebrow,
.panel-label,
.feature-kicker,
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.hero-tag {
  margin: 12px 0 0;
  color: rgba(35, 49, 39, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.hero-text,
.section-copy,
.feature-card p,
.panel-points,
.contact-card p,
.footer p,
.gallery-card figcaption,
.comparison-images figcaption,
.stats-grid dt {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 54ch;
  margin: 20px 0 0;
  font-size: 1rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible,
.tab:hover,
.tab:focus-visible,
.gallery-card img:hover,
.comparison-images img:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #fffdf9;
  font-weight: 800;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
}

.price {
  margin: 10px 0 18px;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 0.92;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.stats-grid dd {
  margin: 6px 0 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
}

.panel-points {
  margin: 22px 0 0;
  padding-left: 18px;
}

.section {
  padding-top: 96px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 13ch;
  font-size: clamp(2.3rem, 4.3vw, 4rem);
}

.section-copy {
  max-width: 68ch;
  margin: 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 240px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(241, 246, 241, 0.94)),
    var(--surface);
}

.feature-card-wide {
  background:
    linear-gradient(135deg, rgba(185, 130, 70, 0.16), rgba(255, 249, 241, 0.92) 42%, rgba(235, 242, 236, 0.95)),
    var(--surface);
}

.feature-card h3 {
  margin: 12px 0 10px;
  font-size: 1.9rem;
  line-height: 1.06;
}

.highlights-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.highlight-pill {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery-card {
  grid-column: span 4;
  overflow: hidden;
}

.gallery-card-large {
  grid-column: span 6;
}

.gallery-card img,
.comparison-images img {
  object-fit: cover;
  transition: transform 220ms ease;
  cursor: zoom-in;
}

.gallery-card img {
  aspect-ratio: 16 / 11;
}

.gallery-card figcaption,
.comparison-images figcaption {
  padding: 14px 16px 18px;
  font-size: 0.92rem;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.tab {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.tab.is-active {
  background: var(--accent);
  border-color: rgba(185, 130, 70, 0.34);
  color: #fffdf9;
  font-weight: 800;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fade-up 260ms ease;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.comparison-card {
  padding: 18px;
}

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

.comparison-images figure,
.gallery-card {
  margin: 0;
}

.comparison-images img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.contact-card {
  padding: 28px;
}

.contact-card h3 {
  margin: 10px 0 8px;
  font-size: 2rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(185, 130, 70, 0.2);
}

.lightbox {
  width: min(92vw, 1200px);
  padding: 16px;
  border: none;
  border-radius: 28px;
  background: rgba(28, 35, 32, 0.94);
}

.lightbox::backdrop {
  background: rgba(30, 38, 34, 0.62);
  backdrop-filter: blur(8px);
}

.lightbox-image {
  max-height: 82vh;
  width: 100%;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-copy,
  .hero-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-media img {
    min-height: 420px;
    max-height: 60vh;
  }

  .overview-grid,
  .contact-grid,
  .studio-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
    pointer-events: none;
  }

  .topnav {
    display: flex !important;
  }
}

@media (max-width: 1024px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 16px;
    border-radius: 32px;
    padding: 16px 18px 18px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .topnav {
    display: none !important;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 10px;
  }

  .topnav.is-open {
    display: grid !important;
  }

  .topnav a {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    text-align: center;
  }
}

@media (max-width: 900px) {
  .gallery-card,
  .gallery-card-large {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    position: static;
    border-radius: 28px;
    padding: 16px 16px 14px;
    margin-top: 18px;
  }

  .brand {
    font-size: 1.3rem;
    gap: 12px;
    min-width: 0;
  }

  .brand span {
    line-height: 1.05;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
    margin-top: -22px;
    margin-bottom: -22px;
    margin-left: -8px;
  }

  .topnav {
    font-size: 0.88rem;
  }

  .topnav.is-open {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy,
  .hero-panel,
  .contact-card {
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .hero-media img {
    min-height: 300px;
  }

  .section {
    padding-top: 72px;
  }

  .gallery-grid,
  .comparison-images {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card-large {
    grid-column: span 12;
  }

  .footer {
    flex-direction: column;
  }
}
