:root {
  --ink: #2a1c14;
  --ink-soft: #4a3428;
  --linen: #f3ebe1;
  --linen-deep: #e6d7c6;
  --tobacco: #3d2418;
  --solara: #e36a2a;
  --teal: #2f8a84;
  --gold: #c9a24a;
  --veil: rgba(28, 16, 10, 0.42);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
  --radius: 0.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(61, 36, 24, 0.035) 0,
      rgba(61, 36, 24, 0.035) 1px,
      transparent 1px,
      transparent 7px
    ),
    linear-gradient(165deg, #f7f0e7 0%, var(--linen) 45%, #efe2d2 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--tobacco);
  color: var(--linen);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  color: #fff7ef;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  opacity: 0.92;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 247, 239, 0.55);
  border-radius: 999px;
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
}

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

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

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.1s var(--ease),
    transform 6.5s var(--ease);
}

.hero-img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(20, 10, 6, 0.35) 0%,
      rgba(20, 10, 6, 0.15) 35%,
      rgba(20, 10, 6, 0.55) 70%,
      rgba(20, 10, 6, 0.78) 100%
    );
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1rem, 4vw, 2.5rem)
    clamp(2.5rem, 6vh, 4rem);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.25rem;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.hero-dot {
  width: 0.45rem;
  height: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 247, 239, 0.35);
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.hero-dot.is-active {
  background: rgba(255, 247, 239, 0.95);
  transform: scale(1.25);
}

.hero-heading {
  margin: 0 0 0.85rem;
}

.brand {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 7rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-title {
  display: block;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 34ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 247, 239, 0.9);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--solara);
  color: #fffaf4;
  box-shadow: 0 10px 28px rgba(227, 106, 42, 0.28);
}

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

.btn-ghost {
  border: 1px solid rgba(255, 247, 239, 0.55);
  color: #fff7ef;
  background: rgba(255, 247, 239, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 247, 239, 0.14);
}

.btn-lg {
  padding: 1rem 1.7rem;
  font-size: 1.05rem;
}

/* Shared sections */
.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.story,
.collection,
.closing {
  padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section-intro {
  width: min(100%, 40rem);
  margin: 0 auto 2.25rem;
  text-align: center;
}

.section-intro h2,
.story h2,
.closing h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--tobacco);
}

.section-intro h3,
.story-copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
}

.section-intro p,
.story-copy p,
.closing p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.section-intro p:last-child,
.story-copy p:last-child,
.closing p:last-child {
  margin-bottom: 0;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Story */
.story-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.story-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0.2rem;
  height: min(34rem, 70vh);
}

.parallax-frame {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.parallax-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, -8%, 0) scale(1.05);
}

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

  .story-figure img {
    height: min(26rem, 55vh);
  }
}

/* Galleries — image strips, not product cards */
.gallery {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.gallery-corduroy {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(11rem, 18vw);
}

.gallery-printed {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(12rem, 20vw);
}

.gallery-item {
  display: block;
  overflow: hidden;
  position: relative;
  min-height: 100%;
}

.gallery-item .parallax-frame {
  position: absolute;
  inset: 0;
}

.gallery-item:hover .parallax-img,
.gallery-item:focus-visible .parallax-img {
  filter: brightness(1.04);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .gallery-corduroy,
  .gallery-printed {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(10rem, 38vw);
  }

  .gallery-item.tall {
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .gallery-corduroy,
  .gallery-printed {
    grid-template-columns: 1fr;
    grid-auto-rows: 16rem;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }
}

.collection-printed {
  background:
    linear-gradient(180deg, rgba(47, 138, 132, 0.08), transparent 40%),
    linear-gradient(0deg, rgba(227, 106, 42, 0.06), transparent 35%);
}

/* Closing */
.closing {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.closing-inner {
  width: min(100%, 38rem);
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 162, 74, 0.18), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(47, 138, 132, 0.16), transparent 40%),
    linear-gradient(145deg, #fff8f0, var(--linen-deep));
  border-radius: 0.35rem;
}

.closing .btn {
  margin-top: 1.6rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 3rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-brand {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--tobacco);
}

.footer-meta {
  margin: 0 0 0.75rem;
}

.site-footer a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Motion: scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-img,
  .hero-img.is-active {
    transition: opacity 0.4s ease;
    transform: none;
  }

  .parallax-img {
    height: 100%;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
