:root {
  --bg: #fffdf9;
  --bg-soft: #fbf7f1;
  --off-white: #fffaf3;
  --warm-white: #f8f2e8;
  --sand: #efe5d6;
  --blush: #efd8d3;
  --frangipani: #fff7ef;
  --teal: #4d8f96;
  --teal-deep: #366d74;
  --soft-black: #1f1d1b;
  --charcoal: #2b2926;
  --muted: rgba(31, 29, 27, 0.68);
  --line: rgba(31, 29, 27, 0.1);
  --shadow: 0 24px 60px rgba(40, 34, 28, 0.08);
  --radius: 28px;
  --page-width: 100%;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--soft-black);
  background:
    radial-gradient(circle at top left, rgba(239, 216, 211, 0.26), transparent 22%),
    radial-gradient(circle at top right, rgba(77, 143, 150, 0.08), transparent 18%),
    linear-gradient(180deg, #fffefb 0%, #fbf7f1 100%);
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.announcement-bar {
  display: none;
}

.announcement-bar p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1rem 1rem;
  background: var(--bg);
  border-bottom: 0;
}

.brand-trigger {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  position: relative;
  z-index: 120;
}

.nav-toggle,
.brand-home-link {
  padding: 0;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
}

.site-logo {
  width: auto;
  height: clamp(46px, 5vw, 62px);
  object-fit: contain;
}

.nav-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.26rem;
}

.nav-icon span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--soft-black);
  transition: opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-icon {
  opacity: 0;
  pointer-events: none;
}

.header-search {
  justify-self: center;
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.utility-nav {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  font-size: clamp(0.8rem, 1vw, 0.92rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.utility-nav a,
.utility-button {
  color: var(--muted);
}

.utility-nav a:hover,
.utility-button:hover,
.header-search:hover,
.footer-links a:hover,
.social-link:hover,
.site-nav a:hover,
.site-nav a.active,
.product-meta h3 a:hover {
  color: var(--teal-deep);
}

.site-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  z-index: 100;
  display: grid;
  align-content: start;
  gap: 2rem;
  width: min(420px, 92vw);
  min-height: calc(100vh - var(--header-height));
  padding: 1.8rem 2rem 2.4rem;
  background: rgba(255, 252, 247, 1);
  border-right: 1px solid rgba(31, 29, 27, 0.08);
  box-shadow: 0 28px 60px rgba(31, 29, 27, 0.14);
  transform: translateX(-100%);
  transition: transform 220ms ease;
  pointer-events: auto;
}

.site-nav.open {
  transform: translateX(0);
}

.menu-group {
  display: grid;
  gap: 0.95rem;
}

.menu-group a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--soft-black);
}

.nav-item-icon {
  width: 0.85rem;
  font-size: 0.72rem;
  line-height: 1;
  color: rgba(54, 109, 116, 0.7);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  border: 0;
  background: rgba(31, 29, 27, 0.12);
  backdrop-filter: blur(3px);
}

.site-main,
.editorial-home {
  width: 100%;
  margin: 0;
  padding: 7rem clamp(1rem, 2.6vw, 2.6rem) 0;
}

.editorial-home {
  display: grid;
  gap: 1.35rem;
}

.site-main {
  padding-bottom: 0;
}

.fullscreen-panel,
.section,
.page-hero,
.filter-panel,
.product-panel,
.contact-panel,
.contact-form,
.story-block,
.product-card,
.gallery-main,
.story-products-panel {
  border-radius: var(--radius);
}

.fullscreen-panel {
  min-height: calc(100vh - 8.5rem);
  overflow: hidden;
}

.image-hero {
  position: relative;
}

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

.hero-minimal-copy {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.8rem;
  display: grid;
  gap: 0.35rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-minimal-copy .eyebrow {
  color: rgba(255, 250, 243, 0.9);
}

.hero-minimal-copy h1,
.page-hero h1,
.panel-copy h2,
.product-panel h1,
.story-block h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.hero-minimal-copy h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 9vw, 6rem);
  color: #fffdf7;
}

.page-hero h1,
.panel-copy h2,
.product-panel h1,
.story-block h2,
.contact-panel h2 {
  font-size: clamp(2.3rem, 6vw, 4.5rem);
}

.editorial-split,
.shop-story-layout,
.product-layout,
.contact-layout,
.simple-story {
  display: grid;
  gap: 1.2rem;
}

.panel-copy,
.filter-panel,
.product-panel,
.contact-panel,
.contact-form,
.story-block,
.story-products-panel {
  padding: 1.5rem;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.large-copy {
  justify-content: end;
}

.centered-copy {
  align-items: center;
  text-align: center;
}

.panel-media,
.story-image-panel,
.product-image,
.gallery-main,
.story-tile {
  overflow: hidden;
  border-radius: var(--radius);
}

.panel-media img,
.story-image-panel img,
.product-image img,
.gallery-main img,
.story-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gradient-panel {
  background:
    radial-gradient(circle at 20% 24%, rgba(255,255,255,0.82), transparent 15%),
    linear-gradient(160deg, #fffdf7 0%, #f7ecdc 52%, #efd8d3 100%);
}

.quote-panel {
  background:
    radial-gradient(circle at top, rgba(239, 216, 211, 0.18), transparent 25%),
    linear-gradient(180deg, #fffdf9 0%, #f8f2e8 100%);
}

.minimal-panel .panel-copy {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-hero {
  padding: 0 0 1rem;
  background: transparent;
}

.page-hero p:last-child,
.product-description,
.story-block p,
.contact-panel p,
.product-meta p,
.story-product-item p {
  color: var(--muted);
  line-height: 1.72;
}

.section {
  margin-bottom: 1.35rem;
}

.shop-layout {
  display: grid;
  gap: 1.2rem;
}

.filter-group,
.selector-row,
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.filter-pill,
.swatch,
.size-pill,
.thumb,
.qty-button,
.button {
  border-radius: 999px;
}

.filter-pill,
.swatch,
.size-pill,
.thumb,
.qty-button {
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--soft-black);
}

.filter-pill.active,
.swatch.active,
.size-pill.active,
.button.button-accent {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.92rem 1.3rem;
  border: 1px solid transparent;
}

.full-width {
  width: 100%;
}

.catalog-grid,
.stories-grid {
  display: grid;
  gap: 1rem;
}

.catalog-grid {
  grid-template-columns: 1fr;
}

.product-card {
  padding: 0.38rem;
  background: rgba(255, 252, 247, 0.76);
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: var(--shadow);
  align-self: start;
}

.product-image {
  min-height: 16.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(239,216,211,0.24));
}

.catalog-grid .product-image {
  min-height: 14.5rem;
}

.image-sunrise {
  background: linear-gradient(180deg, #fff7ef, #f4e4cb);
}

.image-frangipani {
  background: linear-gradient(180deg, #fffbf4, #f2e7d8);
}

.image-sand {
  background: linear-gradient(180deg, #f3eadf, #e5d5c2);
}

.image-blush {
  background: linear-gradient(180deg, #f8efed, #edd8d3);
}

.image-shell {
  background: linear-gradient(180deg, #fbf7f1, #ece0d1);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 0.7rem 0.85rem;
}

.product-meta h3,
.story-product-item h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  line-height: 0.98;
}

.product-meta p,
.story-product-item p {
  margin: 0.22rem 0 0;
  font-size: 0.93rem;
}

.product-meta span,
.story-product-item span,
.price-line strong {
  white-space: nowrap;
  font-weight: 700;
}

.minimal-heading {
  margin-bottom: 1rem;
}

.stories-grid {
  grid-template-columns: 1fr;
}

.stories-grid-stacked {
  grid-template-columns: 1fr;
}

.story-tile {
  position: relative;
  min-height: 32rem;
}

.story-tile-copy {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  gap: 0.3rem;
  color: #fffdf7;
}

.story-tile-copy span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
}

.story-products-panel {
  background: rgba(255, 252, 247, 0.95);
}

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

.story-products-panel h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.story-product-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
}

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

.selector-group + .selector-group,
.cta-stack {
  margin-top: 1.2rem;
}

.selector-group span {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.quantity-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
}

.qty-button {
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
}

.contact-panel,
.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
}

.site-footer {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 1rem;
  padding: 2rem clamp(1rem, 2.6vw, 2.6rem) 1.5rem;
  border-top: 1px solid rgba(31, 29, 27, 0.08);
}

#tote-bag-product {
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.utility-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
}

.icon-button svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sign-in-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 29, 27, 0.14);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(920px, calc(100% - 2rem));
  margin: min(12vh, 6rem) auto 0;
  padding: 1.5rem;
  background: rgba(255, 252, 247, 0.98);
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(31, 29, 27, 0.14);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  transform: rotate(45deg);
}

.modal-column {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.modal-column h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.modal-copy,
.modal-link,
.modal-label {
  color: var(--muted);
}

.modal-label {
  font-size: 0.86rem;
}

.modal-input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.modal-link {
  font-size: 0.88rem;
}

.modal-socials {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.social-auth {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
}

.about-flow {
  display: grid;
  gap: 5rem;
  padding-bottom: 2rem;
}

.about-section {
  display: grid;
  gap: 1.4rem;
}

.about-intro,
.about-closing {
  max-width: 44rem;
}

.about-intro h1,
.about-copy h2,
.about-closing h2,
.about-copy-intro h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.about-intro h1,
.about-copy h2,
.about-closing h2,
.about-copy-intro h2 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.about-intro p:last-child,
.about-copy p,
.about-closing p {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.8;
}

.about-founder,
.person-story {
  display: grid;
  gap: 1.2rem;
}

.about-image,
.person-images {
  overflow: hidden;
  border-radius: var(--radius);
}

.about-image img,
.person-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image {
  min-height: 34rem;
}

.person-images {
  min-height: 28rem;
}

.two-images {
  display: grid;
  gap: 1rem;
}

.about-copy {
  display: grid;
  gap: 0.7rem;
  max-width: 42rem;
}

.about-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.person-role {
  margin: 0;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.site-footer .site-logo {
  height: clamp(34px, 3vw, 42px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact {
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.social-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(31, 29, 27, 0.08);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 16px 36px rgba(31, 29, 27, 0.1);
  color: var(--soft-black);
  backdrop-filter: blur(10px);
}

.floating-whatsapp svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-whatsapp span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

@media (min-width: 760px) {
  .global-header {
    grid-template-columns: minmax(16rem, 1fr) auto minmax(16rem, 1fr);
    padding-left: clamp(1.5rem, 3vw, 2.75rem);
    padding-right: clamp(1.5rem, 3vw, 2.75rem);
  }

  .site-logo {
    height: clamp(48px, 4.6vw, 66px);
  }

  .utility-nav {
    gap: 1.5rem;
  }

  .editorial-split,
  .shop-story-layout,
  .product-layout,
  .contact-layout,
  .simple-story,
  .stories-grid,
  .modal-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-layout {
    grid-template-columns: 18rem 1fr;
    align-items: start;
  }

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

  .stories-grid-stacked {
    grid-template-columns: 1fr;
  }

  .story-tile {
    min-height: 34rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }

  .about-founder,
  .person-story {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .person-story:nth-of-type(even) {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

@media (min-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-image {
    min-height: 15.5rem;
  }

  .story-tile {
    min-height: 36rem;
  }
}

@media (max-width: 759px) {
  .global-header {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.5rem;
    padding: 0.95rem 0.9rem;
  }

  .header-search {
    font-size: 0.78rem;
  }

  .utility-nav {
    gap: 0.55rem;
    font-size: 0.7rem;
  }

  .site-logo {
    height: 48px;
  }

  .site-main,
  .editorial-home {
    padding-top: 6.7rem;
  }

  .site-nav {
    width: min(360px, 92vw);
  }

  .fullscreen-panel {
    min-height: calc(100svh - 7rem);
  }

  .story-tile {
    min-height: 24rem;
  }

  .about-flow {
    gap: 3.25rem;
  }

  .about-image {
    min-height: 24rem;
  }

  .person-images {
    min-height: 22rem;
  }

  .floating-whatsapp span {
    display: none;
  }
}
