:root {
  --sand: #f5efe5;
  --sand-deep: #e5d8c4;
  --ocean: #13313c;
  --ocean-soft: #214957;
  --pine: #445f57;
  --ink: #1a2428;
  --white: #fffdf8;
  --muted: rgba(19, 49, 60, 0.68);
  --border: rgba(19, 49, 60, 0.12);
  --shadow: 0 24px 70px rgba(10, 28, 33, 0.16);
  --radius: 28px;
  --site-pad: clamp(1rem, 2.5vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(229, 216, 196, 0.85), transparent 34%),
    linear-gradient(180deg, #fcfaf6 0%, #f5efe5 100%);
}

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

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.section {
  padding: 0 var(--site-pad);
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
}

.hero-header {
  position: relative;
  color: var(--white);
}

.promo-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem var(--site-pad);
  background: rgba(10, 26, 33, 0.72);
  backdrop-filter: blur(16px);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-copy {
  margin: 0;
  text-align: center;
}

.promo-nav {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

.main-nav {
  position: absolute;
  inset: 3.5rem 0 auto;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem var(--site-pad);
}

.nav-links,
.nav-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-links a,
.nav-actions a,
.search-chip {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-actions {
  justify-content: flex-end;
}

.brandmark img {
  width: 7.5rem;
  margin: 0 auto;
}

.search-chip {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: min(100svh, 60rem);
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 26, 33, 0.58) 0%, rgba(8, 26, 33, 0.16) 45%, rgba(8, 26, 33, 0.52) 100%),
    linear-gradient(180deg, rgba(8, 26, 33, 0.26), rgba(8, 26, 33, 0.48));
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  max-width: 34rem;
  padding: clamp(10rem, 18vw, 14rem) var(--site-pad) clamp(3rem, 8vw, 5rem);
}

.hero-signature {
  width: min(19rem, 70vw);
}

.hero-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.8;
  color: rgba(255, 253, 248, 0.86);
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button,
.text-link {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
}

.button:hover,
.text-link:hover,
.promo-nav:hover,
.tab-button:hover {
  transform: translateY(-1px);
}

.button-light {
  color: var(--ocean);
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.button-dark {
  color: var(--white);
  background: var(--ocean);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading.narrow {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.5rem);
}

.tab-controls {
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.72);
}

.tab-button {
  border: 0;
  background: transparent;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
}

.tab-button.is-active {
  background: var(--ocean);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-card {
  display: grid;
  gap: 1rem;
}

.product-card figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  background: #efe7d9;
}

.product-card img {
  aspect-ratio: 0.75;
  object-fit: cover;
  transition: transform 320ms ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-meta {
  display: grid;
  gap: 0.4rem;
}

.product-flag,
.service-strip span {
  color: var(--ocean-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.product-price {
  color: var(--muted);
}

.duo-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.story-card,
.story-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 28rem;
  box-shadow: var(--shadow);
}

.story-card img,
.story-panel img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.story-card::after,
.story-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(9, 26, 33, 0.72));
}

.story-content,
.story-panel div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  padding: 1.65rem;
  color: var(--white);
}

.text-link {
  width: fit-content;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
}

.category-grid,
.story-grid,
.service-strip,
.footer-grid {
  display: grid;
  gap: 1.2rem;
}

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

.category-card {
  display: grid;
  gap: 1rem;
}

.category-card img {
  aspect-ratio: 0.82;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
  box-shadow: var(--shadow);
}

.planet-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 18rem;
  margin: clamp(3.5rem, 7vw, 6rem) var(--site-pad) 0;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
}

.planet-banner img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.planet-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 44, 54, 0.46);
}

.planet-banner div {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 2rem;
  text-align: center;
}

.planet-banner p:last-child {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

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

.story-panel {
  min-height: 26rem;
}

.social-section {
  overflow: hidden;
}

.social-rail {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

.social-rail img {
  height: 25rem;
  object-fit: cover;
  border-radius: calc(var(--radius) - 10px);
  box-shadow: var(--shadow);
}

.service-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-strip article {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.service-strip h3 {
  margin-top: 0.8rem;
  font-size: 1.6rem;
}

.service-strip p {
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding-bottom: 3rem;
}

.newsletter,
.footer-grid,
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}

.newsletter {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.newsletter-form input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.7);
}

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

.footer-grid h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
}

.footer-grid a,
.footer-grid p,
.footer-bottom p {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-bottom p {
  max-width: 42rem;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .desktop-only {
    display: none;
  }

  .main-nav {
    grid-template-columns: auto 1fr auto;
  }

  .brandmark {
    justify-self: center;
  }

  .product-grid,
  .category-grid,
  .service-strip,
  .footer-grid,
  .story-grid,
  .duo-feature,
  .newsletter,
  .social-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .promo-bar {
    grid-template-columns: 2.5rem 1fr 2.5rem;
    padding-inline: 0.5rem;
  }

  .main-nav {
    inset: 3.75rem 0 auto;
    grid-template-columns: 1fr auto;
  }

  .brandmark {
    order: -1;
    justify-self: start;
  }

  .nav-actions {
    gap: 0.7rem;
  }

  .nav-actions a {
    display: none;
  }

  .hero {
    min-height: 46rem;
  }

  .hero-copy {
    padding-top: 9rem;
  }

  .section-heading,
  .footer-bottom {
    display: grid;
    gap: 1rem;
  }

  .product-grid,
  .category-grid,
  .service-strip,
  .footer-grid,
  .story-grid,
  .duo-feature,
  .newsletter,
  .social-rail {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    display: grid;
  }

  .story-card,
  .story-panel {
    min-height: 23rem;
  }

  .social-rail img {
    height: 19rem;
  }
}
