@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,650;9..144,800&family=Manrope:wght@400;600;700;800;900&display=swap");

:root {
  --ink: #101820;
  --coal: #17202a;
  --cream: #fff8ed;
  --paper: #fffdf8;
  --sand: #ead9bf;
  --teal: #0f827f;
  --teal-soft: #d9efec;
  --coral: #e56f51;
  --gold: #c99a46;
  --muted: #6c6258;
  --line: rgba(16, 24, 32, 0.14);
  --shadow: 0 26px 70px rgba(16, 24, 32, 0.16);
  --display: "Fraunces", Georgia, serif;
  --sans: "Manrope", "Avenir Next", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 10% -10%, rgba(229, 111, 81, 0.18), transparent 32rem),
    radial-gradient(circle at 92% 4%, rgba(15, 130, 127, 0.2), transparent 34rem),
    linear-gradient(180deg, var(--cream), #fff);
  color: var(--ink);
  font-family: var(--sans);
  margin: 0;
}

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

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

.topline {
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 0.76rem 1rem;
  text-align: center;
  text-transform: uppercase;
}

.nav-wrap {
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 237, 0.82);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 1220px;
  padding: 1.05rem 1.25rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.68rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.08);
  height: 3.05rem;
  object-fit: contain;
  padding: 0.2rem;
  width: 4rem;
}

.nav-links {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  padding: 0.35rem;
}

.nav-links a {
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  padding: 0.72rem 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--ink);
  color: #fff;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: end;
}

.icon-link,
.icon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 2.55rem;
  justify-content: center;
  padding: 0;
  width: 2.55rem;
}

.icon-link:hover,
.icon-button:hover {
  background: var(--ink);
  color: #fff;
}

.icon-link svg,
.icon-button svg {
  height: 1.15rem;
  stroke-width: 1.8;
  width: 1.15rem;
}

.bag-button {
  position: relative;
}

.bag-count {
  align-items: center;
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  display: grid;
  font-size: 0.68rem;
  font-weight: 900;
  height: 1.1rem;
  justify-items: center;
  position: absolute;
  right: -0.22rem;
  top: -0.22rem;
  width: 1.1rem;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  justify-content: center;
  padding: 0.92rem 1.18rem;
}

button.button {
  cursor: pointer;
  font-family: inherit;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.coral {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.button.light {
  background: #fff;
  color: var(--ink);
}

.shell {
  margin: 0 auto;
  max-width: 1220px;
  padding: 0 1.25rem;
}

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  min-height: auto;
  padding: clamp(2.6rem, 5vw, 4.5rem) 1.25rem 3rem;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.75rem, 5.8vw, 5.15rem);
  max-width: 720px;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  font-weight: 650;
  max-width: 860px;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.65rem);
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.8rem);
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.72;
  margin: 1.5rem 0 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-proof {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.75rem;
  max-width: 680px;
  padding-top: 1.2rem;
}

.hero-proof b {
  display: block;
  font-size: 0.95rem;
}

.hero-proof span {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.42;
  margin-top: 0.25rem;
}

.product-collage {
  align-self: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 0.78fr;
  position: relative;
}

.product-collage::before {
  background: var(--teal);
  border-radius: 999px;
  content: "";
  height: 21rem;
  left: 10%;
  opacity: 0.16;
  position: absolute;
  top: 13%;
  transform: rotate(-22deg);
  width: 32rem;
  z-index: -1;
}

.collage-card {
  background: #fff;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 1.7rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.collage-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.collage-card.featured {
  transform: rotate(-2deg);
}

.collage-stack {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.collage-caption {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.collage-caption b {
  font-size: 0.95rem;
  line-height: 1.25;
}

.price {
  color: var(--coral);
  font-size: 1.25rem;
  font-weight: 950;
}

.compare {
  color: #9d9085;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: line-through;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.shop-rail {
  padding-top: 1.25rem;
  padding-bottom: clamp(3.2rem, 6vw, 5rem);
}

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

.section-head p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  max-width: 450px;
}

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

.category-card {
  background: var(--ink);
  border-radius: 1.5rem;
  color: #fff;
  min-height: 15rem;
  overflow: hidden;
  padding: 1.2rem;
  position: relative;
}

.category-card img {
  bottom: -2rem;
  filter: saturate(0.95);
  position: absolute;
  right: -2rem;
  transform: rotate(-8deg);
  width: 72%;
}

.category-card h3 {
  max-width: 9rem;
  position: relative;
  z-index: 1;
}

.category-card span {
  color: rgba(255, 255, 255, 0.74);
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 0.7rem;
  position: relative;
  z-index: 1;
}

.category-card.teal {
  background: var(--teal);
}

.category-card.coral {
  background: var(--coral);
}

.category-card.gold {
  background: #a97a2f;
}

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

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.06);
  overflow: hidden;
}

.product-card .button {
  font-size: 0.8rem;
  margin-top: 0.85rem;
  padding: 0.7rem 0.9rem;
  width: 100%;
}

.product-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.product-copy {
  padding: 1rem;
}

.product-card h3 {
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.42;
}

.product-card a:first-child {
  display: block;
}

.price-row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.split-band {
  background: var(--ink);
  color: #fff;
  margin: 2rem 0;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.split-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 0.9fr 1.1fr;
}

.split-band .lead,
.split-band p {
  color: rgba(255, 255, 255, 0.72);
}

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

.process-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  padding: 1.2rem;
}

.process-card span {
  align-items: center;
  background: var(--coral);
  border-radius: 999px;
  display: grid;
  font-weight: 950;
  height: 2.35rem;
  justify-items: center;
  width: 2.35rem;
}

.process-card b {
  display: block;
  font-size: 1.05rem;
}

.process-card p {
  line-height: 1.6;
  margin: 0.35rem 0 0;
}

.page-hero {
  padding: clamp(3.2rem, 6vw, 5.5rem) 1.25rem 2.5rem;
  text-align: center;
}

.page-hero h1,
.page-hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.content-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.sidebar-card {
  align-self: start;
  background: var(--ink);
  border-radius: 1.6rem;
  color: #fff;
  padding: 1.4rem;
  position: sticky;
  top: 6rem;
}

.sidebar-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.article-stack {
  display: grid;
  gap: 1rem;
}

.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.article-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
  word-spacing: 0.02em;
}

.article-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.contact-panel {
  background: linear-gradient(135deg, var(--teal), #095b59);
  border-radius: 1.6rem;
  color: #fff;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
  padding: 1.35rem;
}

.contact-panel b {
  display: block;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-top: 0.25rem;
}

.product-detail {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 1.02fr);
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
}

.product-gallery {
  align-self: start;
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 7rem;
}

.product-main-image {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.thumb-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, 1fr);
}

.thumb-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.thumb-button.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 130, 127, 0.14);
}

.thumb-button img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.product-info {
  align-self: center;
}

.product-info h1 {
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  max-width: 760px;
}

.back-link,
.product-badge {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-link {
  color: var(--muted);
  margin-bottom: 1rem;
}

.product-badge {
  background: var(--teal-soft);
  border-radius: 999px;
  color: var(--teal);
  margin-bottom: 1rem;
  padding: 0.48rem 0.72rem;
}

.detail-price {
  margin-top: 1.2rem;
}

.option-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.45rem;
}

.option-group {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1rem;
}

.option-group b,
.personalization-box span {
  display: block;
  font-size: 0.86rem;
  font-weight: 950;
  margin-bottom: 0.7rem;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.choice-row button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.62rem 0.82rem;
}

.choice-row button.selected {
  background: var(--ink);
  color: #fff;
}

.personalization-box {
  display: block;
  margin-top: 1rem;
}

.personalization-box textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  font: inherit;
  min-height: 7rem;
  padding: 1rem;
  resize: vertical;
  width: 100%;
}

.product-actions {
  margin-top: 1.1rem;
}

.trust-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.35rem;
  padding-top: 1.15rem;
}

.trust-row b {
  display: block;
  font-size: 0.9rem;
}

.trust-row span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.42;
  margin-top: 0.25rem;
}

.detail-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.1rem;
}

.detail-card span {
  align-items: center;
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  display: grid;
  font-weight: 950;
  height: 2rem;
  justify-items: center;
  width: 2rem;
}

.detail-card p {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
  margin: 0.75rem 0 0;
}

.footer {
  background: var(--ink);
  color: #fff;
  margin-top: 2.5rem;
  padding: 1.65rem 0;
}

.footer-grid {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
}

.footer-actions {
  align-items: center;
  display: flex;
  gap: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.45rem;
}

.social-links a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 2.25rem;
  justify-content: center;
  letter-spacing: 0.03em;
  width: 2.25rem;
}

.footer h3 {
  font-size: 1.45rem;
  letter-spacing: -0.015em;
}

.footer p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0.6rem 0 0;
  max-width: 620px;
}

.footer .button {
  border-color: rgba(255, 255, 255, 0.22);
  font-size: 0.86rem;
  padding: 0.82rem 1.05rem;
}

.drawer,
.modal {
  background: rgba(16, 24, 32, 0.42);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 160ms ease;
  z-index: 80;
}

.drawer.open,
.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel,
.modal-panel {
  background: var(--paper);
  box-shadow: var(--shadow);
  position: absolute;
}

.drawer-panel {
  border-radius: 1.4rem 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 420px;
  padding: 1.25rem;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 180ms ease;
  width: min(92vw, 420px);
}

.drawer.open .drawer-panel {
  transform: translateX(0);
}

.modal-panel {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  left: 50%;
  max-width: 540px;
  padding: 1.35rem;
  top: 16vh;
  transform: translateX(-50%) translateY(-12px);
  transition: transform 180ms ease;
  width: min(92vw, 540px);
}

.modal.open .modal-panel {
  transform: translateX(-50%) translateY(0);
}

.overlay-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.overlay-head h2,
.overlay-head h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.close-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  height: 2.2rem;
  justify-content: center;
  width: 2.2rem;
}

.search-field,
.account-field {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  padding: 0.9rem 1rem;
  width: 100%;
}

.search-results,
.cart-items {
  display: grid;
  gap: 0.8rem;
}

.search-result,
.cart-item {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 4rem 1fr auto;
  padding: 0.7rem;
}

.search-result {
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.search-result img,
.cart-item img {
  aspect-ratio: 1;
  border-radius: 0.75rem;
  object-fit: cover;
}

.search-result b,
.cart-item b {
  display: block;
  font-size: 0.86rem;
  line-height: 1.25;
}

.search-result span,
.cart-item span {
  color: var(--coral);
  display: block;
  font-weight: 900;
  margin-top: 0.2rem;
}

.cart-empty {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  color: var(--muted);
  padding: 1rem;
  text-align: center;
}

.cart-summary {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 1rem;
}

.summary-row {
  align-items: center;
  display: flex;
  font-weight: 900;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.toast {
  background: var(--ink);
  border-radius: 999px;
  bottom: 1.25rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 0.8rem 1rem;
  pointer-events: none;
  position: fixed;
  transform: translateX(-50%) translateY(1rem);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 90;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

  .nav-links,
  .nav-actions {
    justify-content: start;
  }

  .brand {
    justify-content: start;
  }

  .hero,
  .split-grid,
  .content-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }

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

  .sidebar-card,
  .product-gallery {
    position: static;
  }
}

@media (max-width: 650px) {
  .nav-links {
    border-radius: 1.1rem;
    flex-wrap: wrap;
  }

  .hero-proof,
  .category-row,
  .product-grid,
  .detail-card-grid,
  .trust-row,
  .footer-actions,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .collage-stack {
    margin-top: 0;
  }
}
