:root {
  --ink: #14171a;
  --ink-soft: #2a3036;
  --bone: #f3efe7;
  --bone-muted: #d8d2c6;
  --brass: #c4a574;
  --brass-deep: #9a7a4a;
  --olive: #5c6b58;
  --fog: rgba(243, 239, 231, 0.72);
  --shadow: 0 24px 60px rgba(10, 12, 14, 0.28);
  --radius: 2px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 165, 116, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(92, 107, 88, 0.12), transparent 50%),
    linear-gradient(180deg, #ebe6dc 0%, var(--bone) 40%, #e7e2d8 100%);
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

p {
  margin: 0;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  color: var(--bone);
  mix-blend-mode: difference;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  justify-self: start;
}

.nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav a,
.header-cta,
.footer-links a {
  position: relative;
  transition: opacity 0.3s var(--ease);
}

.nav a:hover,
.header-cta:hover,
.footer-links a:hover {
  opacity: 0.65;
}

.header-cta {
  justify-self: end;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--bone);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  transform: scale(1.08);
  animation: hero-drift 18s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 16, 0.35) 0%, rgba(12, 14, 16, 0.15) 35%, rgba(12, 14, 16, 0.72) 100%),
    linear-gradient(90deg, rgba(12, 14, 16, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 5vw, 4.5rem) clamp(3rem, 8vh, 5.5rem);
  animation: rise 1.1s var(--ease) both;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin-bottom: 1.25rem;
  color: var(--bone);
}

.hero h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  font-weight: 600;
  max-width: 14ch;
  margin-bottom: 1rem;
  color: var(--bone-muted);
}

.hero-lede {
  max-width: 38ch;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 300;
  color: rgba(243, 239, 231, 0.86);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brass);
  color: var(--ink);
}

.btn-primary:hover {
  background: #d4b688;
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(243, 239, 231, 0.45);
}

.btn-ghost:hover {
  border-color: var(--bone);
  background: rgba(243, 239, 231, 0.08);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-inner {
  width: min(1180px, calc(100% - clamp(2rem, 6vw, 5rem)));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 1rem;
}

.eyebrow.light {
  color: var(--brass);
}

.section h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1rem;
}

.section-head {
  max-width: 34rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head p:last-child,
.story-copy > p:last-child,
.craft-content > p,
.newsletter-panel p {
  color: var(--ink-soft);
  max-width: 42ch;
  font-weight: 300;
}

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.story-visual {
  margin: 0;
  overflow: hidden;
}

.story-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 1.2s var(--ease);
}

.story-visual:hover img {
  transform: scale(1.04);
}

/* Products — interaction containers */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.product-link {
  display: block;
}

.product-media {
  overflow: hidden;
  background: #ddd7cb;
  margin-bottom: 1rem;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.9);
}

.product-link:hover .product-media img {
  transform: scale(1.05);
  filter: saturate(1);
}

.product-meta h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.product-meta p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 0.55rem;
}

.price {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brass-deep);
}

/* Craft */
.craft {
  position: relative;
  color: var(--bone);
  min-height: 70vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.craft-bg {
  position: absolute;
  inset: 0;
}

.craft-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
}

.craft-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(16, 18, 20, 0.88) 0%, rgba(16, 18, 20, 0.55) 48%, rgba(16, 18, 20, 0.25) 100%);
}

.craft-content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.craft-content > p {
  color: rgba(243, 239, 231, 0.82);
}

.craft-points {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.craft-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  color: var(--bone-muted);
}

.craft-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 1px;
  background: var(--brass);
}

/* Newsletter */
.newsletter {
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: end;
  padding: clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(20, 23, 26, 0.96), rgba(42, 48, 54, 0.94)),
    radial-gradient(circle at 90% 10%, rgba(196, 165, 116, 0.22), transparent 40%);
  color: var(--bone);
  box-shadow: var(--shadow);
}

.newsletter-panel .eyebrow {
  color: var(--brass);
}

.newsletter-panel p {
  color: rgba(243, 239, 231, 0.78);
}

.signup {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
}

.signup input {
  min-height: 3rem;
  border: 1px solid rgba(243, 239, 231, 0.28);
  background: rgba(243, 239, 231, 0.06);
  color: var(--bone);
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.signup input::placeholder {
  color: rgba(243, 239, 231, 0.45);
}

.signup input:focus {
  border-color: var(--brass);
}

.signup .btn-primary:disabled {
  opacity: 0.85;
  cursor: default;
  transform: none;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
}

.footer-inner {
  width: min(1180px, calc(100% - clamp(2rem, 6vw, 5rem)));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-inner .logo {
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.product.reveal:nth-child(2) { transition-delay: 0.08s; }
.product.reveal:nth-child(3) { transition-delay: 0.16s; }
.product.reveal:nth-child(4) { transition-delay: 0.24s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image,
  .reveal,
  .hero-content,
  .product-media img,
  .story-visual img,
  .btn {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-image {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .story-visual img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .brand-mark {
    font-size: clamp(2.6rem, 14vw, 3.8rem);
  }

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

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

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
