:root {
  --bg: #f6f0e7;
  --paper: #fffaf4;
  --ink: #24170f;
  --muted: #6f6259;
  --line: rgba(36, 23, 15, 0.1);
  --clay: #cf8e63;
  --sage: #78836c;
  --deep: #241914;
  --shadow: 0 24px 60px rgba(36, 23, 15, 0.12);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
}

* {
  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(207, 142, 99, 0.24), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(120, 131, 108, 0.2), transparent 24%),
    linear-gradient(180deg, #fbf6ef 0%, var(--bg) 52%, #efe5d9 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem clamp(1.2rem, 3vw, 3rem);
  backdrop-filter: blur(16px);
  background: rgba(251, 246, 239, 0.78);
  border-bottom: 1px solid rgba(36, 23, 15, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-mark span,
.brand-mark small {
  font-size: 0.95rem;
}

.brand-mark small {
  color: var(--clay);
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav a,
.header-call,
.button-primary,
.button-secondary {
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.header-call:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.header-call {
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  font-size: 0.92rem;
}

.sign-button,
.sign-button-dark,
.auth-state {
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  font-size: 0.92rem;
}

.sign-button {
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 700;
}

.sign-button-dark {
  border: 0;
  background: var(--deep);
  color: #fffaf3;
  font-weight: 700;
  cursor: pointer;
}

.auth-state {
  background: rgba(120, 131, 108, 0.14);
  color: #44503a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.auth-form-inline {
  margin: 0;
}

.page-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero-shell,
.category-strip,
.section-heading,
.product-grid,
.story-grid,
.trust-grid,
.map-section,
.contact-banner {
  animation: rise-in 720ms ease both;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  padding: 2rem 0 1rem;
}

.hero-copy,
.hero-stage,
.story-copy,
.story-panels,
.contact-banner,
.trust-card,
.category-card,
.product-card,
.story-panel {
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: clamp(1.8rem, 4vw, 3.6rem);
  background: rgba(255, 250, 244, 0.88);
  border: 1px solid rgba(36, 23, 15, 0.08);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--sage);
  font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.story-copy h2,
.contact-banner h2,
.category-content h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 700;
  line-height: 0.97;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  max-width: 10ch;
}

.hero-description,
.section-heading p,
.story-copy p,
.contact-details p,
.product-body p,
.category-content p,
.trust-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-description {
  max-width: 58ch;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: var(--deep);
  color: #fffaf3;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.74);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.4rem 0 0;
}

.hero-stats div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  font-size: 1.4rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.hero-card {
  overflow: hidden;
  position: relative;
  min-height: 220px;
  background: rgba(255, 250, 244, 0.84);
  border: 1px solid rgba(36, 23, 15, 0.08);
  box-shadow: var(--shadow);
}

.hero-card-large {
  grid-row: span 2;
  min-height: 100%;
}

.hero-card img,
.category-card img,
.product-image-wrap img,
.story-panel img {
  height: 100%;
  object-fit: cover;
}

.hero-card-large div,
.hero-card-small div {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.82);
  backdrop-filter: blur(12px);
}

.hero-card span,
.story-panel span,
.product-tag,
.category-content span,
.product-meta span {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-card strong,
.story-panel strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.1rem;
  line-height: 1.35;
}

.tone-light {
  background: linear-gradient(145deg, #f6e8d7, #fefbf6);
}

.image-card img {
  min-height: 100%;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.category-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.category-content {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.82);
  backdrop-filter: blur(12px);
}

.category-content h2 {
  font-size: 2rem;
  margin-top: 0.35rem;
}

.category-content p {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-top: 4rem;
}

.section-heading h2,
.story-copy h2,
.contact-banner h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-card {
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid rgba(36, 23, 15, 0.08);
  background: rgba(255, 250, 244, 0.9);
  box-shadow: var(--shadow);
}

.product-card:nth-child(1),
.product-card:nth-child(4),
.product-card:nth-child(7) {
  grid-column: span 5;
}

.product-card:nth-child(2),
.product-card:nth-child(5),
.product-card:nth-child(8) {
  grid-column: span 3;
}

.product-image-wrap {
  position: relative;
  height: 320px;
}

.product-card:nth-child(1) .product-image-wrap,
.product-card:nth-child(4) .product-image-wrap,
.product-card:nth-child(7) .product-image-wrap {
  height: 420px;
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  color: var(--deep);
}

.product-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.product-meta strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.product-body h3,
.trust-card h3 {
  margin: 0.55rem 0 0;
  font-size: 1.45rem;
}

.product-body p {
  margin-bottom: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  margin-top: 4rem;
}

.story-copy,
.story-panels,
.contact-banner {
  padding: clamp(1.5rem, 3vw, 2.8rem);
  background: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(36, 23, 15, 0.08);
  box-shadow: var(--shadow);
}

.story-panels {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.story-panel {
  min-height: 100%;
  overflow: hidden;
}

.dark-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  background: linear-gradient(180deg, #3d2c24, #241914);
  color: #fff6ec;
}

.dark-panel a {
  margin-top: 1.25rem;
  align-self: flex-start;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 246, 236, 0.14);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.map-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  margin-top: 4rem;
}

.map-copy,
.map-embed-wrap,
.login-panel {
  padding: clamp(1.5rem, 3vw, 2.8rem);
  background: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(36, 23, 15, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.map-address {
  font-weight: 700;
  color: var(--ink);
}

.map-embed-wrap {
  min-height: 460px;
  overflow: hidden;
}

.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  border-radius: 22px;
}

.trust-card {
  padding: 1.5rem;
  background: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(36, 23, 15, 0.08);
  box-shadow: var(--shadow);
}

.trust-card h3 {
  font-family: "Fraunces", serif;
}

.contact-banner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
}

.contact-details {
  text-align: right;
}

.contact-details a {
  font-size: 1.6rem;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid rgba(36, 23, 15, 0.08);
}

.site-footer p {
  margin: 0 0 0.55rem;
  font-weight: 800;
}

.site-footer span,
.site-footer a {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

.login-shell {
  display: grid;
  grid-template-columns: 0.95fr 0.85fr;
  gap: 1rem;
  min-height: calc(100vh - 220px);
  align-items: stretch;
  padding: 2rem 0;
}

.intro-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(36, 25, 20, 0.1), rgba(36, 25, 20, 0.18)),
    url("https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1200&q=80") center/cover;
  color: #fffaf3;
}

.intro-panel h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.intro-panel p,
.intro-panel p {
  max-width: 46ch;
}

.form-panel {
  display: flex;
  align-items: center;
}

.login-form {
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

.login-form label {
  font-weight: 700;
}

.login-form input {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(36, 23, 15, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.login-form input:focus {
  outline: 2px solid rgba(120, 131, 108, 0.35);
  border-color: rgba(120, 131, 108, 0.5);
}

.validation-summary,
.field-error {
  color: #8f2f2f;
  font-size: 0.92rem;
}

.validation-summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.login-submit,
.login-back {
  width: 100%;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero-shell,
  .section-heading,
  .story-grid,
  .contact-banner,
  .category-strip,
  .trust-grid,
  .map-section,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .story-panels {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(2),
  .product-card:nth-child(4),
  .product-card:nth-child(5),
  .product-card:nth-child(7),
  .product-card:nth-child(8) {
    grid-column: span 6;
  }

  .contact-details {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-nav,
  .hero-actions,
  .hero-stats,
  .contact-banner,
  .site-footer {
    display: grid;
  }

  .site-header,
  .contact-banner,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .hero-actions {
    gap: 0.8rem;
  }

  .site-nav {
    justify-items: start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(100% - 1rem, 1240px);
  }

  .hero-copy h1 {
    max-width: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(2),
  .product-card:nth-child(4),
  .product-card:nth-child(5),
  .product-card:nth-child(7),
  .product-card:nth-child(8) {
    grid-column: auto;
  }

  .product-image-wrap,
  .product-card:nth-child(1) .product-image-wrap,
  .product-card:nth-child(4) .product-image-wrap,
  .product-card:nth-child(7) .product-image-wrap {
    height: 300px;
  }
}