/* Dazuno.store — Mineral Steam palette */
:root {
  --ink: #14241f;
  --ink-soft: #243832;
  --mist: #e9f0ec;
  --fog: #f4f8f6;
  --celadon: #7f9f8d;
  --signal: #e4572e;
  --signal-deep: #c94520;
  --ash: #d5ddd8;
  --paper: #f7faf8;
  --white: #ffffff;
  --line: rgba(20, 36, 31, 0.14);
  --shadow-soft: 0 18px 40px rgba(20, 36, 31, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;
  --space-2xl: 8.5rem;
  --max: 72rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(127, 159, 141, 0.28), transparent 55%),
    radial-gradient(90% 60% at 100% 0%, rgba(228, 87, 46, 0.08), transparent 45%),
    linear-gradient(180deg, var(--fog) 0%, var(--mist) 42%, var(--paper) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input {
  font: inherit;
}

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

p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  transition: top 0.2s var(--ease);
}

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

.eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(244, 248, 246, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.header-inner {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  cursor: pointer;
}

.nav-toggle-btn span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle-btn span + span {
  margin-top: 0.4rem;
}

/* Buttons */
.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.95rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

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

.btn-primary {
  background: var(--signal);
  color: var(--white);
  border-color: var(--signal);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 550;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.text-link::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--signal-deep);
  gap: 0.65rem;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(2px);
}

/* Hero — full-bleed composition */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-veil {
  background:
    linear-gradient(180deg, rgba(20, 36, 31, 0.18) 0%, rgba(20, 36, 31, 0.22) 35%, rgba(20, 36, 31, 0.78) 100%),
    linear-gradient(90deg, rgba(20, 36, 31, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: calc(var(--max) + 4rem);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem clamp(3.5rem, 9vw, 6.5rem);
  animation: rise-in 1s var(--ease) both;
}

.brand-mark {
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin-bottom: 0.85rem;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.hero-lead {
  max-width: 32ch;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

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

/* Intro */
.intro {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: var(--space-2xl) 1.25rem var(--space-xl);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: var(--space-lg);
}

.intro h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  max-width: 14ch;
}

.intro-text {
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Spectrum finishes — horizontal editorial, not product cards */
.spectrum {
  padding: 0 0 var(--space-xl);
  overflow: hidden;
}

.spectrum-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16rem, 20rem);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0 1.25rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
}

.finish {
  scroll-snap-align: start;
  padding-top: 0.25rem;
}

.finish-swatch {
  height: 9.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  animation: wash-in 1.1s var(--ease) both;
}

.finish:nth-child(2) .finish-swatch { animation-delay: 0.08s; }
.finish:nth-child(3) .finish-swatch { animation-delay: 0.16s; }
.finish:nth-child(4) .finish-swatch { animation-delay: 0.24s; }

.swatch-mist {
  background:
    linear-gradient(145deg, #c9ddd0 0%, #8eae9a 55%, #6f8f7d 100%);
}

.swatch-ink {
  background:
    linear-gradient(145deg, #3a4b44 0%, #1a2a24 60%, #0f1814 100%);
}

.swatch-clay {
  background:
    linear-gradient(145deg, #e4d2bf 0%, #c9a88a 50%, #a98566 100%);
}

.swatch-ash {
  background:
    linear-gradient(145deg, #ffffff 0%, #eef2f0 45%, #d7dfda 100%);
}

.finish h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.finish p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 24ch;
}

/* Shop */
.shop {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 0 1.25rem var(--space-2xl);
}

.section-head {
  margin-bottom: var(--space-lg);
  max-width: 18ch;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.product-rail {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
}

.product {
  grid-column: span 6;
  display: grid;
  gap: 1rem;
}

.product:nth-child(3),
.product:nth-child(4) {
  margin-top: clamp(0rem, 4vw, 3.5rem);
}

.product-visual {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ash);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product:hover .product-visual img,
.product:focus-within .product-visual img {
  transform: scale(1.04);
}

.product-meta h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.product-desc {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 30ch;
  margin-bottom: 0.9rem;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Ritual */
.ritual {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 36rem;
  background: var(--ink);
  color: var(--fog);
}

.ritual-media {
  min-height: 22rem;
  overflow: hidden;
}

.ritual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.ritual-copy {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ritual .eyebrow {
  color: var(--celadon);
}

.ritual h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  max-width: 12ch;
  margin-bottom: var(--space-md);
}

.ritual-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.ritual-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(233, 240, 236, 0.16);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--signal);
  padding-top: 0.15rem;
}

.ritual-steps h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.ritual-steps p {
  color: rgba(244, 248, 246, 0.72);
  font-size: 0.95rem;
  max-width: 36ch;
}

/* Craft */
.craft {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: var(--space-2xl) 1.25rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.craft h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 14ch;
  margin-bottom: 1rem;
}

.craft-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  max-width: 36ch;
  margin-bottom: 1.4rem;
}

.craft-visual {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--ash);
}

.craft-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sets — conversion panel */
.sets {
  padding: 0 1.25rem var(--space-2xl);
}

.sets-panel {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background:
    linear-gradient(135deg, rgba(127, 159, 141, 0.22), transparent 50%),
    var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.sets-copy {
  padding: clamp(2rem, 5vw, 3.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.sets h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.sets-copy > p:not(.eyebrow):not(.kit-price) {
  color: var(--ink-soft);
  max-width: 34ch;
}

.kit-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 0.4rem 0 0.6rem;
}

.kit-price span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.sets-media {
  min-height: 20rem;
}

.sets-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Promise */
.promise {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 0 1.25rem var(--space-2xl);
}

.promise-list {
  list-style: none;
  margin: 0;
  padding: var(--space-lg) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.promise-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.promise-list p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 28ch;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--fog);
  padding: var(--space-xl) 1.25rem var(--space-md);
}

.footer-top,
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(233, 240, 236, 0.14);
}

.footer-brand .logo {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.footer-brand p:last-child {
  max-width: 34ch;
  color: rgba(244, 248, 246, 0.7);
}

.footer-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--celadon);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.form-row input {
  flex: 1 1 14rem;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(233, 240, 236, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.form-row input::placeholder {
  color: rgba(244, 248, 246, 0.45);
}

.form-row input:focus {
  border-color: var(--celadon);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(244, 248, 246, 0.55);
}

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

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--white);
}

/* Motion */
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(0, -1.5%, 0); }
}

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

@keyframes wash-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero-media img,
  .hero-content,
  .finish-swatch,
  .product-visual img,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .intro-grid,
  .ritual,
  .craft,
  .sets-panel,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .ritual {
    min-height: 0;
  }

  .ritual-media {
    min-height: 18rem;
    aspect-ratio: 16 / 10;
  }

  .product:nth-child(3),
  .product:nth-child(4) {
    margin-top: 0;
  }

  .promise-list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .sets-media {
    min-height: 16rem;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .nav-toggle-btn {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(244, 248, 246, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .site-nav a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--ink);
  }

  .nav-toggle:checked ~ .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle:checked + .nav-toggle-btn span:first-child {
    transform: translateY(0.28rem) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-btn span:last-child {
    transform: translateY(-0.28rem) rotate(-45deg);
  }

  .product {
    grid-column: span 12;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .brand-mark {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }
}
