@font-face { font-family: "Anton"; src: url("../public/vendor/fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../public/vendor/fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../public/vendor/fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../public/vendor/fonts/dm-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../public/vendor/fonts/dm-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #111111;
  --paper: #f4f1ea;
  --orange: #ef3b00;
  --blue: #0643a2;
  --yellow: #f7c826;
  --line: rgba(17, 17, 17, 0.35);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.lock-scroll { overflow: hidden; }

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.site-shell { overflow: hidden; }

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

.announcement {
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0 24px;
  background: var(--orange);
  color: white;
  font: 500 13px/1 "DM Sans", sans-serif;
  letter-spacing: 0.08em;
  text-align: center;
}

.site-header {
  height: 132px;
  padding: 0 clamp(28px, 5.3vw, 82px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 20;
}

.wordmark {
  justify-self: start;
  font: 400 clamp(42px, 4.2vw, 65px)/0.9 "Anton", "Arial Narrow", sans-serif;
  letter-spacing: 0.035em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
  font-size: 14px;
  font-weight: 600;
}

.nav a, .cart-button { position: relative; }
.nav a::after, .cart-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after, .nav a:focus-visible::after, .cart-button:hover::after, .cart-button:focus-visible::after { transform: scaleX(1); }
.nav a.is-active::after { transform: scaleX(1); }

.cart-button {
  justify-self: end;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.menu-button { display: none; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 48% 52%;
  background: var(--paper);
}

.hero-copy {
  padding: clamp(62px, 6vw, 92px) clamp(36px, 5.4vw, 84px) 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero h1 {
  margin: 0;
  font: 400 clamp(98px, 10.7vw, 166px)/0.78 "Anton", "Arial Narrow", sans-serif;
  letter-spacing: -0.02em;
  transform: scaleX(0.9);
  transform-origin: left;
}

.hero h1 span { color: var(--orange); }

.hero-copy > p {
  margin: 36px 0 31px;
  font-size: clamp(17px, 1.55vw, 24px);
}

.primary-cta {
  width: min(100%, 500px);
  min-height: 82px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--orange);
  color: white;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 180ms ease;
}
.primary-cta:hover, .primary-cta:focus-visible { background: var(--ink); }

.hero-art {
  margin: 0;
  min-height: 690px;
  background: var(--blue);
  overflow: hidden;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.collection-strip {
  min-height: 54px;
  padding: 0 clamp(28px, 5.3vw, 82px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--ink);
  color: white;
  font-size: 16px;
  font-weight: 600;
}
.collection-strip span { grid-column: 2; }
.collection-strip > i { grid-column: 3; justify-self: end; font-size: 27px; transition: transform 180ms ease; }
.collection-strip:hover > i { transform: translateX(8px); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); }
.product-card { min-width: 0; display: flex; flex-direction: column; color: white; }
.product-card--ember { background: var(--orange); }
.product-card--moss { background: var(--blue); }
.product-card--mineral { background: var(--yellow); color: var(--ink); }

.product-image-button {
  width: 100%;
  aspect-ratio: 1.03;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}
.product-image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms cubic-bezier(.2,.75,.2,1); }
.product-image-button:hover img, .product-image-button:focus-visible img { transform: scale(1.035); }

.product-copy {
  min-height: 384px;
  padding: 27px clamp(26px, 4vw, 70px) 35px;
  display: flex;
  flex-direction: column;
}
.product-index { margin: 0 0 5px; font-size: 14px; font-weight: 700; }
.product-copy h2 {
  margin: 0 0 28px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font: 400 clamp(45px, 4vw, 66px)/1 "Anton", "Arial Narrow", sans-serif;
  letter-spacing: 0.01em;
}
.product-copy h2 span { font: 600 clamp(14px, 1.2vw, 19px)/1.2 "DM Sans", sans-serif; }
.product-rule { height: 1px; background: currentColor; opacity: 0.75; margin-bottom: 17px; }
.product-copy > p:not(.product-index) { margin: 3px 0; font-size: 14px; line-height: 1.45; }

.price-action {
  width: 100%;
  margin-top: auto;
  padding: 25px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: inherit;
  font: 400 30px/1 "Anton", "Arial Narrow", sans-serif;
  cursor: pointer;
}
.price-action > i { font-size: 28px; transition: transform 180ms ease; }
.price-action:hover > i, .price-action:focus-visible > i { transform: translateX(7px); }

.process { display: grid; grid-template-columns: 135px 1fr; border-bottom: 1px solid var(--line); background: var(--paper); }
.process h2 {
  margin: 0;
  padding: 30px 0;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  font: 400 28px/1 "Anton", "Arial Narrow", sans-serif;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.process-step {
  min-height: 260px;
  padding: 30px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--line);
}
.process-step:last-child { border-right: 0; }
.process-step > span { align-self: flex-start; font-weight: 700; }
.process-step > i { margin: 28px 0 18px; font-size: 50px; }
.process-step p { max-width: 150px; margin: auto 0 0; font-size: 13px; line-height: 1.45; }

.about {
  padding: 86px clamp(28px, 6vw, 100px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
  background: var(--yellow);
  border-bottom: 1px solid var(--line);
}
.eyebrow { margin: 0 0 15px; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.about h2 { margin: 0; font: 400 clamp(58px, 6.8vw, 105px)/0.9 "Anton", "Arial Narrow", sans-serif; }
.about > p { max-width: 600px; margin: 0; font-size: clamp(18px, 1.6vw, 25px); line-height: 1.45; }

.feedback { display: grid; grid-template-columns: 1fr 1fr; color: white; background: var(--ink); }
.feedback-lead { padding: 45px clamp(28px, 5.5vw, 90px); background: var(--blue); }
.feedback h2 { margin: 0 0 6px; font: 400 clamp(38px, 4vw, 62px)/1 "Anton", "Arial Narrow", sans-serif; }
.feedback p { margin: 0; max-width: 460px; font-size: 14px; line-height: 1.5; }
.feedback form { padding: 38px clamp(28px, 5.5vw, 90px); display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 8px 30px; }
.feedback label { grid-column: 1 / -1; font-size: 12px; font-weight: 700; }
.feedback input { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid white; border-radius: 0; outline: 0; background: transparent; color: white; }
.feedback input::placeholder { color: rgba(255,255,255,.46); }
.feedback input:focus { border-bottom-width: 3px; }
.feedback form button { display: flex; align-items: center; gap: 18px; border: 0; background: transparent; color: white; font-weight: 700; cursor: pointer; }

.footer {
  padding: 42px clamp(28px, 5.3vw, 82px) 48px;
  display: grid;
  grid-template-columns: 1.25fr .9fr 1.4fr 1.2fr;
  gap: 50px;
  background: var(--paper);
  font-size: 13px;
  line-height: 1.55;
}
.footer-mark { display: inline-block; margin-bottom: 14px; font-size: 48px; }
.footer p { margin: 8px 0; }
.footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-weight: 700; }
.footer strong { font-size: 12px; }
.footer small { display: block; margin-top: 25px; }
.socials { display: flex; gap: 14px; margin-top: 18px; }
.socials i { font-size: 25px; }
.menu-button i, .drawer-heading i, .modal-close i { font-size: 27px; }
.primary-cta i, .feedback form button i, .checkout i { font-size: 24px; }

.backdrop { position: fixed; inset: 0; z-index: 50; border: 0; background: rgba(0,0,0,.55); cursor: default; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: min(92vw, 480px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transform: translateX(105%);
  transition: transform 250ms ease;
  visibility: hidden;
}
.cart-drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.drawer-heading h2 { margin: 0; font: 400 38px/1 "Anton", "Arial Narrow", sans-serif; }
.drawer-heading button, .modal-close { border: 0; padding: 5px; background: transparent; cursor: pointer; }
.empty-cart { margin: 60px 0 auto; font-size: 20px; }
.cart-items { margin: 22px 0 auto; overflow-y: auto; }
.cart-item { padding: 12px 0; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.cart-item img { width: 70px; height: 70px; object-fit: cover; }
.cart-item div { display: flex; flex-direction: column; gap: 4px; }
.cart-item div span { font-size: 12px; }
.cart-total { margin-top: 24px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 2px solid var(--ink); font-size: 20px; }
.checkout { width: 100%; min-height: 60px; margin-top: 20px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border: 0; background: var(--orange); color: white; font-weight: 700; cursor: pointer; }
.checkout:hover, .checkout:focus-visible { background: var(--blue); }
.demo-note { margin: 16px 0 0; font-size: 11px; line-height: 1.45; }

.product-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 60;
  width: min(94vw, 900px);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  transform: translate(-50%, -50%);
  overflow: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,.35);
}
.product-modal > img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.product-modal > div { padding: 65px 44px 38px; display: flex; flex-direction: column; }
.product-modal h2 { margin: 0 0 20px; font: 400 72px/1 "Anton", "Arial Narrow", sans-serif; }
.product-modal p:not(.eyebrow) { font-size: 16px; line-height: 1.55; }
.product-modal dl { margin-top: 25px; }
.product-modal dl div { padding: 12px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
.product-modal dt { font-size: 12px; font-weight: 700; }
.product-modal dd { margin: 0; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 1; background: var(--paper); }

:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

@media (max-width: 980px) {
  .site-header { height: 96px; grid-template-columns: 1fr auto; }
  .wordmark { font-size: 46px; }
  .menu-button { display: inline-grid; place-items: center; grid-column: 2; grid-row: 1; border: 0; background: transparent; cursor: pointer; }
  .cart-button { margin-right: 52px; grid-column: 2; grid-row: 1; }
  .nav { position: absolute; top: 96px; left: 0; right: 0; padding: 30px; flex-direction: column; align-items: flex-start; background: var(--paper); border-bottom: 1px solid var(--ink); transform: translateY(-150%); transition: transform 220ms ease; z-index: -1; }
  .nav.is-open { transform: translateY(0); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 570px; }
  .hero-art { min-height: 590px; }
  .products { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: 1.05fr .95fr; }
  .product-image-button { height: 100%; aspect-ratio: 1; }
  .product-copy { min-height: 520px; }
  .process { grid-template-columns: 90px 1fr; }
  .process-grid { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; }
  .about { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .announcement { height: auto; min-height: 40px; padding: 10px 16px; font-size: 10px; }
  .site-header { height: 78px; padding: 0 18px; }
  .wordmark { font-size: 38px; }
  .cart-button { margin-right: 43px; font-size: 12px; }
  .nav { top: 78px; }
  .hero { min-height: 0; }
  .hero-copy { min-height: 475px; padding: 55px 22px 45px; }
  .hero h1 { font-size: clamp(84px, 29vw, 122px); line-height: .8; }
  .hero-copy > p { margin: 28px 0; font-size: 16px; }
  .primary-cta { min-height: 65px; font-size: 15px; padding: 0 22px; }
  .hero-art { min-height: 430px; }
  .collection-strip { padding: 0 18px; grid-template-columns: 1fr auto; font-size: 12px; }
  .collection-strip span { grid-column: 1; }
  .collection-strip > i { grid-column: 2; }
  .product-card { display: flex; }
  .product-image-button { aspect-ratio: 1; height: auto; }
  .product-copy { min-height: 330px; padding: 24px 24px 30px; }
  .product-copy h2 { margin-bottom: 22px; font-size: 50px; }
  .process { grid-template-columns: 58px 1fr; }
  .process h2 { font-size: 23px; }
  .process-step { min-height: 235px; }
  .about { padding: 65px 24px; gap: 40px; }
  .feedback { grid-template-columns: 1fr; }
  .feedback-lead, .feedback form { padding: 38px 24px; }
  .feedback form { grid-template-columns: 1fr; }
  .feedback form button { justify-content: space-between; padding: 15px 0 0; }
  .footer { padding: 38px 24px; grid-template-columns: 1fr; gap: 32px; }
  .product-modal { grid-template-columns: 1fr; }
  .product-modal > img { min-height: 0; aspect-ratio: 1; }
  .product-modal > div { padding: 35px 24px; }
  .product-modal h2 { font-size: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
