:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #26241f;
  --muted: #736d64;
  --olive: #68714c;
  --rose: #c98686;
  --line: rgba(42, 38, 31, 0.12);
  --heading: "Cormorant Garamond", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  --container: 1340px;
  --side: 64px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 14px; line-height: 1.6; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

.topbar { height: 32px; display: grid; place-items: center; background: var(--olive); color: white; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 28px var(--side); background: rgba(251,250,247,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-left, .nav-right { display: flex; gap: 38px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.nav-right { justify-content: flex-end; }
.brand { display: grid; text-align: center; }
.brand span { font-family: var(--heading); font-size: 44px; line-height: .9; letter-spacing: .12em; }
.brand small { margin-top: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

.hero { position: relative; min-height: 680px; overflow: hidden; background: white; }
.hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.78) 32%, transparent 58%); }
.hero-copy { position: relative; z-index: 1; width: min(calc(100% - var(--side) * 2), var(--container)); margin: 0 auto; padding: 165px 0 80px; }
.kicker { margin: 0 0 24px; color: var(--rose); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--heading); font-weight: 500; line-height: 1.05; letter-spacing: 0; }
h1 { max-width: 650px; font-size: 78px; }
.hero-copy p:not(.kicker) { max-width: 430px; margin: 34px 0; color: var(--muted); font-size: 18px; }
.actions { display: flex; gap: 18px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 36px; border: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.button-primary { background: var(--olive); color: white; border-color: var(--olive); }
.button-ghost { background: rgba(255,255,255,.72); }
.underlink { display: inline-block; width: fit-content; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.promise-row, .service-row { width: min(calc(100% - var(--side) * 2), var(--container)); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); border-block: 1px solid var(--line); }
.promise-row div, .service-row div { padding: 28px 34px; border-right: 1px solid var(--line); }
.promise-row div:last-child, .service-row div:last-child { border-right: 0; }
.promise-row span { float: left; margin-right: 18px; color: var(--olive); font-size: 28px; }
.promise-row strong, .service-row strong { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.promise-row p, .service-row p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.featured { width: min(calc(100% - var(--side) * 2), var(--container)); margin: 52px auto 70px; display: grid; grid-template-columns: 1.25fr .62fr .75fr .75fr; gap: 34px; align-items: center; }
.featured-image img, .mini-product img, .occasion-grid img { aspect-ratio: 1.05 / 1; object-fit: cover; }
.featured-copy h2 { font-size: 42px; }
.featured-copy p { color: var(--muted); }
.featured-copy strong { display: block; margin-bottom: 24px; font-size: 18px; }
.featured-copy .button { margin-bottom: 20px; }
.mini-product { text-align: center; }
.mini-product h3 { margin: 18px 0 2px; font-family: var(--heading); font-size: 22px; font-weight: 500; }
.mini-product p { margin: 0; }

.section-label { margin: 0 0 30px; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.occasions { width: min(calc(100% - var(--side) * 2), var(--container)); margin: 0 auto 62px; }
.occasion-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 26px; }
.occasion-grid article { background: white; text-align: center; border: 1px solid var(--line); }
.occasion-grid h3 { margin: 18px 0 4px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.occasion-grid p { margin: 0 0 22px; color: var(--muted); font-size: 12px; }

.club { position: relative; width: min(calc(100% - var(--side) * 2), var(--container)); margin: 0 auto 68px; min-height: 285px; overflow: hidden; }
.club img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.club::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.82) 38%, transparent 68%); }
.club-copy { position: relative; z-index: 1; max-width: 430px; padding: 54px 66px; }
.club-copy h2, .seasonal h2 { font-size: 44px; }
.club-copy p, .seasonal p, .newsletter p { color: var(--muted); }

.seasonal { width: min(calc(100% - var(--side) * 2), var(--container)); margin: 0 auto 56px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 54px; align-items: center; border-top: 1px solid var(--line); padding-top: 36px; }
.seasonal img { height: 260px; object-fit: cover; object-position: right center; }
.newsletter { width: min(calc(100% - var(--side) * 2), var(--container)); margin: 0 auto; display: grid; grid-template-columns: .7fr 1fr; gap: 48px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.newsletter h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .16em; font-family: var(--body); }
.newsletter form { display: flex; }
.newsletter input { flex: 1; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); background: white; }
.newsletter button { width: 150px; border: 0; background: var(--olive); color: white; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.footer { width: min(calc(100% - var(--side) * 2), var(--container)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(4,1fr); gap: 50px; padding: 50px 0 26px; border-top: 1px solid var(--line); }
.footer-brand span { display: block; font-family: var(--heading); font-size: 42px; line-height: .9; letter-spacing: .12em; }
.footer p, .footer a { color: var(--muted); font-size: 12px; }
.footer nav { display: grid; align-content: start; gap: 8px; }
.footer strong { margin-bottom: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.footer small { grid-column: 1 / -1; text-align: center; color: var(--muted); }

@media (max-width: 980px) {
  :root {
    --side: 16px;
  }

  /* Compact header layout for mobile/tablet */
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px var(--side);
    gap: 12px;
  }

  /* Hide less critical navigation links to save horizontal space */
  .nav-left a[href="#occasions"],
  .nav-left a[href="#about"],
  .nav-right a[href="#search"],
  .nav-right a[href="#account"] {
    display: none;
  }

  .nav-left, .nav-right {
    font-size: 10px;
    gap: 14px;
    letter-spacing: 0.08em;
  }

  .brand span {
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  .brand small {
    display: none; /* Hide luxury studio subtitle on mobile to reduce height */
  }

  /* Hero Section Optimization */
  .hero {
    min-height: 420px;
  }

  .hero-copy {
    padding: 80px 0 40px;
  }

  .kicker {
    margin-bottom: 12px;
    font-size: 10px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .hero-copy p:not(.kicker) {
    font-size: 14px;
    margin: 18px 0;
  }

  /* Compacting Layout Grids */
  .promise-row, .service-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .promise-row div, .service-row div {
    padding: 16px;
  }

  .featured {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 36px auto 48px;
    align-items: stretch;
  }

  .featured-copy h2 {
    font-size: 32px;
  }

  .featured-copy strong {
    margin-bottom: 16px;
  }

  .occasion-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .club {
    min-height: 220px;
  }

  .club-copy {
    padding: 24px;
    max-width: 100%;
  }

  .club-copy h2, .seasonal h2 {
    font-size: 32px;
  }

  .seasonal {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 24px;
  }

  .seasonal img {
    height: 180px;
  }

  .newsletter {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .newsletter h2 {
    font-size: 18px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0 16px;
  }
}
