:root {
  --ink: #263c5a;
  --ink-soft: #637797;
  --sand: #ece6dd;
  --stone: #a69580;
  --slate: #69625f;
  --mist: #bfd3e3;
  --paper: #f6f0e8;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(38, 60, 90, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Istok Web", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(191, 211, 227, 0.7), transparent 28%),
    linear-gradient(180deg, #efe7dc 0%, #f8f4ee 45%, #f3eee7 100%);
}

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

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

button {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 0;
  padding: 16px 20px;
  border: 1px solid rgba(99, 119, 151, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(248, 244, 238, 0.76);
  box-shadow: 0 16px 40px rgba(38, 60, 90, 0.08);
}

.brandmark {
  width: 78px;
  height: 78px;
  overflow: hidden;
  border-radius: 22px;
  flex: 0 0 auto;
}

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

.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
}

.top-nav a {
  position: relative;
  padding-bottom: 4px;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(38, 60, 90, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta:hover,
.button:hover,
.header-cta:focus-visible,
.button:focus-visible {
  transform: translateY(-2px);
}

.header-cta,
.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-secondary,
.button-tertiary {
  border: 1px solid rgba(38, 60, 90, 0.14);
  background: rgba(255, 255, 255, 0.7);
}

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.hero,
.intro-strip,
.categories-section,
.benefits-section,
.products-section,
.story-section,
.final-cta {
  margin-top: 34px;
}

.hero {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 32px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.intro-strip,
.benefits-section,
.products-section,
.story-section,
.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(99, 119, 151, 0.12);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 58px;
  background:
    radial-gradient(circle at top right, rgba(191, 211, 227, 0.42), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(236, 230, 221, 0.84));
}

.hero-copy h1,
.intro-strip h2,
.section-heading h2,
.story-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(3rem, 4.8vw, 5rem);
  line-height: 0.92;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
}

.hero-text,
.intro-strip p,
.category-card p,
.benefit-list p,
.story-copy p {
  color: rgba(38, 60, 90, 0.8);
  line-height: 1.65;
}

.hero-text {
  max-width: 34ch;
  margin: 22px 0 0;
  font-size: 1.06rem;
}

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

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  position: relative;
  padding-left: 18px;
  color: var(--slate);
  font-size: 0.95rem;
}

.hero-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(166, 149, 128, 0.9);
}

.hero-mail {
  margin: 22px 0 0;
  color: rgba(38, 60, 90, 0.72);
  font-size: 0.95rem;
}

.hero-mail a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  grid-template-rows: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 14px;
  padding: 14px;
  min-height: 680px;
  background: linear-gradient(180deg, rgba(38, 60, 90, 0.08), rgba(166, 149, 128, 0.14));
}

.hero-tall,
.hero-small {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.hero-tall {
  grid-row: 1 / span 2;
  min-height: 0;
}

.hero-tall img,
.hero-small img,
.category-card img,
.story-image img,
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 30px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  max-width: 240px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(38, 60, 90, 0.08);
  box-shadow: 0 12px 30px rgba(38, 60, 90, 0.12);
}

.hero-badge span {
  display: block;
  margin-bottom: 8px;
  color: var(--stone);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-strip {
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  gap: 32px;
  padding: 38px 42px;
}

.intro-strip h2,
.section-heading h2,
.story-copy h2,
.final-cta h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

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

.category-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(99, 119, 151, 0.12);
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(38, 60, 90, 0.84) 100%);
}

.category-card-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 28px;
  color: var(--white);
}

.category-card-copy span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
}

.category-card h3,
.benefit-list h3,
.product-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.category-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.benefits-section,
.products-section,
.final-cta {
  padding: 40px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-list article {
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(236, 230, 221, 0.76), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(99, 119, 151, 0.08);
}

.catalog-groups {
  display: grid;
  gap: 30px;
}

.catalog-group {
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 230, 221, 0.6));
  border: 1px solid rgba(99, 119, 151, 0.1);
  overflow: hidden;
}

.catalog-group-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.catalog-group-header h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
}

.catalog-group-header p {
  margin: 10px 0 0;
  max-width: 56ch;
  color: rgba(38, 60, 90, 0.76);
}

.catalog-group-count {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(38, 60, 90, 0.08);
  color: var(--ink-soft);
  white-space: nowrap;
}

.carousel-shell {
  position: relative;
  overflow: hidden;
  margin-inline: -8px;
  padding-inline: 8px;
}

.carousel-shell::before,
.carousel-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 84px;
  z-index: 1;
  pointer-events: none;
}

.carousel-shell::before {
  left: 0;
  background: linear-gradient(90deg, rgba(244, 239, 232, 0.96), rgba(244, 239, 232, 0));
}

.carousel-shell::after {
  right: 0;
  background: linear-gradient(270deg, rgba(244, 239, 232, 0.96), rgba(244, 239, 232, 0));
}

.carousel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scroll-carousel var(--carousel-duration, 42s) linear infinite;
  will-change: transform;
}

.carousel-track[data-direction="reverse"] {
  animation-direction: reverse;
}

.carousel-shell:hover .carousel-track {
  animation-play-state: paused;
}

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

.product-card {
  flex: 0 0 292px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(99, 119, 151, 0.1);
  box-shadow: 0 18px 42px rgba(38, 60, 90, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(38, 60, 90, 0.12);
}

.product-card:focus-visible {
  outline: 2px solid rgba(38, 60, 90, 0.3);
  outline-offset: 3px;
}

.product-card-image {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
}

.product-card-body {
  padding: 22px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--stone);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.product-card p {
  margin: 10px 0 16px;
  color: rgba(38, 60, 90, 0.78);
  line-height: 1.55;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(191, 211, 227, 0.24);
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 31, 47, 0.58);
  backdrop-filter: blur(8px);
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 20px;
  width: min(1120px, 100%);
  max-height: min(86vh, 820px);
  padding: 18px;
  border-radius: 30px;
  background: rgba(248, 244, 238, 0.98);
  box-shadow: 0 28px 70px rgba(18, 28, 41, 0.25);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.product-modal-media {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(236, 230, 221, 0.88), rgba(255, 255, 255, 0.94));
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  max-height: calc(86vh - 36px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.product-modal-sidebar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 12px 18px 4px;
  min-height: 0;
}

.product-modal-sidebar h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 0.95;
}

.product-modal-sidebar p {
  margin: 14px 0 0;
  color: rgba(38, 60, 90, 0.8);
  line-height: 1.6;
}

.product-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-modal-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(191, 211, 227, 0.24);
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.product-modal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  overflow: auto;
  min-height: 0;
}

.product-modal-thumbs button {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.product-modal-thumbs button.is-active {
  border-color: rgba(38, 60, 90, 0.38);
  box-shadow: 0 0 0 2px rgba(38, 60, 90, 0.08);
}

.product-modal-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes scroll-carousel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.story-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
}

.story-image {
  margin: 0;
  min-height: 100%;
}

.story-copy {
  padding: 48px;
  align-self: center;
}

.product-focus .story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-focus-actions {
  margin-top: 24px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(38, 60, 90, 0.96), rgba(99, 119, 151, 0.9)),
    var(--ink);
  color: var(--white);
}

.final-cta .eyebrow,
.final-cta .button-tertiary {
  color: rgba(255, 255, 255, 0.84);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-tertiary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
  .hero,
  .intro-strip,
  .story-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

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

  .benefit-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .top-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero-copy,
  .benefits-section,
  .products-section,
  .story-copy,
  .final-cta,
  .intro-strip {
    padding: 28px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .catalog-group-header {
    align-items: start;
    flex-direction: column;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .carousel-shell::before,
  .carousel-shell::after {
    width: 44px;
  }

  .product-card {
    flex-basis: 248px;
  }

  .product-modal-dialog {
    grid-template-columns: 1fr;
    max-height: 88vh;
    padding: 14px;
    gap: 14px;
  }

  .product-modal-media img {
    max-height: 34vh;
  }

  .product-modal-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 22vh;
    padding-right: 4px;
  }

  .product-modal-sidebar {
    overflow: auto;
    padding: 6px 4px 6px 4px;
  }

  .product-modal-sidebar h3 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .product-modal-sidebar p {
    margin-top: 10px;
  }

  .product-modal-tags {
    margin-top: 14px;
  }

  .product-modal-close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 560px) {
  body {
    background:
      radial-gradient(circle at top, rgba(191, 211, 227, 0.75), transparent 20%),
      linear-gradient(180deg, #efe7dc 0%, #f8f4ee 60%, #f3eee7 100%);
  }

  main {
    width: min(calc(100% - 20px), var(--max-width));
    padding-bottom: 42px;
  }

  .site-header {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 10px;
    padding: 12px;
  }

  .brandmark {
    width: 64px;
    height: 64px;
  }

  .hero-copy {
    align-items: center;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
    max-width: 100%;
  }

  .hero-copy,
  .hero-copy h1,
  .hero-text,
  .hero-mail,
  .hero-copy .eyebrow {
    text-align: center !important;
  }

  .hero-copy h1,
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text,
  .hero-mail,
  .hero-copy .eyebrow {
    width: 100%;
  }

  .hero-actions,
  .hero-notes {
    justify-content: center;
  }

  .hero-notes li {
    padding-left: 0;
    text-align: center;
  }

  .hero-notes li::before {
    display: none;
  }

  .intro-strip h2,
  .section-heading h2,
  .story-copy h2,
  .final-cta h2 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }
}
