/* ==========================================================================
   DigitalChiselCo — site styles
   Aesthetic: warm craftsman / editorial — cream paper, navy ink,
   copper + gold accents, Fraunces display + Instrument Sans body.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* ink family */
  --ink-900: #0f1f33;
  --ink-800: #15293f;
  --ink-700: #1b3a5c;
  --ink-600: #2c4d72;

  /* craftsman accents */
  --bronze-700: #8f4424;
  --bronze-600: #b85a36;
  --bronze-500: #cd7a4f;
  --gold-600:  #b58616;
  --gold-500:  #c9941c;
  --gold-400:  #d4a017;

  /* paper / warm neutrals */
  --paper:      #fdfaf3;
  --cream-50:   #f9f4e7;
  --cream-100:  #f2ebd7;
  --cream-200:  #e8ddc0;
  --cream-300:  #d8c99d;
  --walnut-700: #3b2a1a;
  --walnut-500: #6b4a2b;

  /* body */
  --ink-text:   #23201b;
  --muted:      #6b6258;
  --muted-2:    #9a9084;
  --line:       rgba(27, 58, 92, 0.12);

  /* type */
  --ff-display: "Fraunces", "Playfair Display", Georgia, serif;
  --ff-body:    "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-mono:    ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* sizing */
  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 44px);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Paper grain — very faint SVG noise laid over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch' seed='7'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.12  0 0 0 0 0.08  0 0 0 0.055 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Reset a few */
h1, h2, h3, h4, h5, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font-family: inherit; cursor: pointer; }

.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;
}

/* ---------- 2. Typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink-800);
  /* Fraunces variable axes */
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 0;
}

h1 {
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.022em;
}

h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.018em;
}

h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.18;
  font-variation-settings: "opsz" 72, "SOFT" 60;
}

.eyebrow {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-700);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--bronze-600);
  display: inline-block;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 54ch;
}

.script {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.section {
  padding-block: clamp(72px, 10vw, 140px);
  position: relative;
}

.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- 4. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: rgba(253, 250, 243, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink-800);
  font-variation-settings: "opsz" 144, "SOFT" 40;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand__mark--logo {
  width: 100px;
  height: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-text);
  opacity: 0.8;
}

.nav__links a:hover { opacity: 1; color: var(--bronze-600); }

.nav__cta {
  padding: 10px 18px;
  background: var(--ink-700);
  color: var(--paper);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav__cta:hover { background: var(--bronze-600); color: var(--paper); }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

@media (max-width: 780px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav--open .nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px var(--gutter);
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--ink-700);
  color: var(--paper);
}
.btn--primary:hover { background: var(--ink-800); transform: translateY(-1px); }

.btn--bronze {
  background: var(--bronze-600);
  color: var(--paper);
}
.btn--bronze:hover { background: var(--bronze-700); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink-700);
  border: 1px solid var(--ink-700);
}
.btn--ghost:hover { background: var(--ink-700); color: var(--paper); }

.btn--ghost-paper {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(253, 250, 243, 0.4);
}
.btn--ghost-paper:hover { background: var(--paper); color: var(--ink-700); }

.btn__arrow {
  display: inline-block;
  transition: transform .22s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- 6. Hero (homepage) ---------- */
.hero {
  padding-block: clamp(56px, 8vw, 120px) clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--bronze-600);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero__lede {
  margin-bottom: 36px;
  max-width: 48ch;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__art {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-100);
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -30px rgba(43, 26, 10, 0.35),
    0 12px 30px -18px rgba(43, 26, 10, 0.25);
}

/* Hero art = layered SVG wood relief impression */
.hero__art-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__art-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 3;
  background: rgba(253, 250, 243, 0.92);
  backdrop-filter: blur(6px);
  padding: 16px 20px;
  border-radius: 2px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  border-left: 3px solid var(--bronze-600);
}

.hero__art-badge-title {
  font-family: var(--ff-display);
  font-size: 18px;
  color: var(--ink-800);
  line-height: 1.2;
  font-variation-settings: "opsz" 72, "SOFT" 60;
}

.hero__art-badge-meta {
  font-family: var(--ff-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__art { aspect-ratio: 4 / 3.2; max-width: 520px; }
}

/* ---------- 7. Proof strip ---------- */
.proof {
  padding-block: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--paper) 100%);
}

.proof__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

.proof__item {
  text-align: center;
}

.proof__num {
  font-family: var(--ff-display);
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1;
  color: var(--ink-800);
  font-variation-settings: "opsz" 144, "SOFT" 40;
  letter-spacing: -0.02em;
}

.proof__num em {
  font-style: normal;
  color: var(--bronze-600);
}

.proof__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

@media (max-width: 680px) {
  .proof__row { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

/* ---------- 8. Section headers ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head__title { max-width: 16ch; }

.section-head__lede {
  max-width: 50ch;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 780px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
}

/* ---------- 9. Collections (featured clusters) ---------- */
.collections {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.collection-card {
  position: relative;
  min-height: 520px;
  background: var(--ink-800);
  border-radius: 4px;
  overflow: hidden;
  color: var(--paper);
  text-decoration: none;
  transition: transform .4s var(--ease);
}

.collection-card:hover { transform: translateY(-6px); }

.collection-card--wide {
  /* inherits min-height from .collection-card; grid stretches all equally */
}

.collection-card__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: transform .8s var(--ease);
}

.collection-card:hover .collection-card__bg { transform: scale(1.04); }

.collection-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,
    rgba(15, 31, 51, 0.1) 0%,
    rgba(15, 31, 51, 0.35) 45%,
    rgba(15, 31, 51, 0.85) 100%);
}

.collection-card__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.collection-card__top .eyebrow {
  color: var(--gold-400);
}
.collection-card__top .eyebrow::before { background: var(--gold-400); }

.collection-card__title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 12px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  letter-spacing: -0.015em;
}

.collection-card__desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(253, 250, 243, 0.82);
  max-width: 28ch;
  margin-bottom: 18px;
}

.collection-card__meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 880px) {
  .collections { grid-template-columns: 1fr; }
  .collection-card { min-height: 440px; }
}

/* ---------- 10. Reviews strip ---------- */
.reviews {
  background: var(--cream-50);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
}

.review__stars {
  color: var(--gold-500);
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.review__text {
  font-family: var(--ff-display);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink-800);
  margin-bottom: 20px;
  font-variation-settings: "opsz" 72, "SOFT" 80;
}

.review__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}

.review__name { font-weight: 600; color: var(--ink-text); }

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

/* ---------- 11. Charity band ---------- */
.charity {
  background: var(--ink-800);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.charity::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at top left, rgba(201, 148, 28, 0.18), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(184, 90, 54, 0.18), transparent 55%);
  pointer-events: none;
}

.charity__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.charity h2 { color: var(--paper); }
.charity h2 em {
  font-style: italic;
  color: var(--gold-400);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.charity__lede {
  color: rgba(253, 250, 243, 0.8);
  font-size: 17px;
  line-height: 1.65;
  margin-top: 20px;
  margin-bottom: 32px;
  max-width: 50ch;
}

.charity .eyebrow {
  color: var(--gold-400);
}
.charity .eyebrow::before { background: var(--gold-400); }

.charity__stat {
  text-align: right;
  padding-left: 32px;
  border-left: 1px solid rgba(253, 250, 243, 0.18);
}

.charity__stat-num {
  font-family: var(--ff-display);
  font-size: clamp(72px, 11vw, 140px);
  line-height: 0.9;
  color: var(--gold-400);
  font-variation-settings: "opsz" 144, "SOFT" 40;
  letter-spacing: -0.04em;
}

.charity__stat-label {
  font-family: var(--ff-body);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 250, 243, 0.7);
  margin-top: 8px;
}

@media (max-width: 780px) {
  .charity__inner { grid-template-columns: 1fr; gap: 32px; }
  .charity__stat { text-align: left; padding-left: 0; border-left: 0; border-top: 1px solid rgba(253, 250, 243, 0.18); padding-top: 24px; }
}

/* ---------- 12. Lead-magnet section (homepage preview) ---------- */
.magnet {
  background: var(--cream-100);
  position: relative;
  overflow: hidden;
}

.magnet::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(201, 148, 28, 0.12), transparent 60%);
  pointer-events: none;
}

.magnet__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.magnet__visual {
  position: relative;
  aspect-ratio: 1;
}

.magnet__sheet {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 20px 50px -20px rgba(43, 26, 10, 0.3);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.magnet__sheet-1 {
  inset: 8% 40% 40% 8%;
  transform: rotate(-4deg);
}
.magnet__sheet-2 {
  inset: 24% 20% 20% 24%;
  transform: rotate(3deg);
  z-index: 2;
  background: var(--cream-50);
}
.magnet__sheet-3 {
  inset: 40% 8% 8% 40%;
  transform: rotate(-2deg);
  z-index: 3;
  border-left: 3px solid var(--bronze-600);
}

.magnet__sheet-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-600);
  font-weight: 500;
}

.magnet__sheet-title {
  font-family: var(--ff-display);
  font-size: 18px;
  line-height: 1.1;
  color: var(--ink-800);
  font-variation-settings: "opsz" 72, "SOFT" 60;
}

.magnet__sheet-tag {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 780px) {
  .magnet__inner { grid-template-columns: 1fr; gap: 48px; }
  .magnet__visual { max-width: 400px; margin: 0 auto; }
}

/* ---------- 13. Form ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}

.form__row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form__input {
  flex: 1 1 220px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--ink-700);
  border-radius: 2px;
  font-family: var(--ff-body);
  font-size: 15.5px;
  color: var(--ink-text);
  transition: border .2s var(--ease), box-shadow .2s var(--ease);
}

.form__input:focus {
  outline: 0;
  border-color: var(--bronze-600);
  box-shadow: 0 0 0 3px rgba(184, 90, 54, 0.15);
}

.form__input::placeholder { color: var(--muted-2); }

.form__submit {
  padding: 16px 28px;
  background: var(--ink-700);
  color: var(--paper);
  border: 1px solid var(--ink-700);
  border-radius: 2px;
  font-family: var(--ff-body);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}

.form__submit:hover {
  background: var(--bronze-600);
  border-color: var(--bronze-600);
  transform: translateY(-1px);
}

.form__submit[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.form__hint {
  font-size: 13px;
  color: var(--muted);
}

.form__msg {
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 14.5px;
  display: none;
}

.form__msg--success {
  background: rgba(46, 125, 91, 0.1);
  color: #1f5a41;
  border-left: 3px solid #2e7d5b;
}

.form__msg--error {
  background: rgba(184, 90, 54, 0.12);
  color: var(--bronze-700);
  border-left: 3px solid var(--bronze-600);
}

.form__msg.is-visible { display: block; }

/* ---------- 14. Free lead-magnet page ---------- */
.free-hero {
  min-height: 88vh;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 148, 28, 0.14), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(184, 90, 54, 0.12), transparent 55%),
    var(--cream-50);
  padding-block: 80px;
}

.free-hero__inner {
  max-width: 640px;
  text-align: center;
}

.free-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  margin-bottom: 20px;
}

.free-hero h1 em {
  color: var(--bronze-600);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.free-hero__lede {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.55;
}

.free-hero .form {
  margin: 0 auto;
}

.free-hero .form__row { justify-content: center; }

.free-hero__list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.free-hero__list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.free-hero__list li::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--bronze-600);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
}

/* ---------- 15. About / story layout ---------- */
.story-hero {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--cream-50);
}

.story-hero__inner {
  max-width: 820px;
}

.story-hero h1 {
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1;
  margin-bottom: 28px;
}

.story-hero h1 em {
  color: var(--bronze-600);
  font-style: italic;
}

.story {
  padding-block: clamp(72px, 9vw, 120px);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  max-width: 980px;
  margin-inline: auto;
}

.story__side { position: sticky; top: 120px; align-self: flex-start; }

.story__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-600);
  margin-bottom: 8px;
}

.story__count {
  font-family: var(--ff-display);
  font-size: 48px;
  color: var(--ink-800);
  font-variation-settings: "opsz" 144, "SOFT" 40;
  letter-spacing: -0.03em;
}

.story__body h2 {
  margin: 48px 0 16px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.story__body h2:first-child { margin-top: 0; }

.story__body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-text);
  margin-bottom: 20px;
}

.story__body p em {
  color: var(--bronze-600);
  font-style: italic;
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 72, "SOFT" 100;
}

.story__pull {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.25;
  color: var(--ink-800);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 40px 0;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}

@media (max-width: 880px) {
  .story__grid { grid-template-columns: 1fr; gap: 32px; }
  .story__side { position: static; }
}

.sister-shops {
  background: var(--cream-100);
  padding-block: clamp(72px, 9vw, 120px);
}

.sister-shops__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.shop-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  border-radius: 2px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(43, 26, 10, 0.2);
}

.shop-card__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-600);
  margin-bottom: 12px;
}

.shop-card__name {
  font-family: var(--ff-display);
  font-size: 26px;
  color: var(--ink-800);
  line-height: 1.1;
  margin-bottom: 10px;
  font-variation-settings: "opsz" 72, "SOFT" 60;
}

.shop-card__desc {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.55;
}

.shop-card__cta {
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shop-card__cta::after {
  content: "→";
  transition: transform .2s var(--ease);
}

.shop-card:hover .shop-card__cta::after { transform: translateX(3px); }

@media (max-width: 780px) {
  .sister-shops__grid { grid-template-columns: 1fr; }
}

/* ---------- 16. Footer ---------- */
.footer {
  background: var(--ink-900);
  color: rgba(253, 250, 243, 0.7);
  padding-block: 64px 32px;
  position: relative;
  z-index: 2;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253, 250, 243, 0.12);
}

.footer__brand {
  font-family: var(--ff-display);
  font-size: 24px;
  color: var(--paper);
  margin-bottom: 12px;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}

.footer__tagline {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(253, 250, 243, 0.55);
  max-width: 30ch;
}

.footer h4 {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer ul a {
  font-size: 14.5px;
  color: rgba(253, 250, 243, 0.7);
}

.footer ul a:hover { color: var(--gold-400); }

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(253, 250, 243, 0.4);
}

@media (max-width: 780px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand-col { grid-column: 1 / -1; }
}

/* ---------- 17. Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   v2 additions — category pages, product pages, breadcrumbs, tiles
   ========================================================================== */

/* Breadcrumb */
.breadcrumb {
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--ink-700); text-decoration: none; }
.breadcrumb a:hover { color: var(--bronze-600); }
.breadcrumb span { color: var(--ink-text); font-weight: 500; }

/* Category hero */
.cat-hero {
  padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 5vw, 64px) 0;
  background: var(--cream-50);
}
.cat-hero h1 { max-width: 22ch; line-height: 1; }
.cat-hero .lede { font-size: clamp(16px, 1.4vw, 19px); }

/* Compatibility strip */
.compat-strip {
  background: var(--ink-700);
  color: var(--paper);
  padding: 16px 0;
  text-align: center;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.compat-strip strong { color: var(--gold-400); font-weight: 500; }

/* Category grid section */
.cat-grid-section { padding: clamp(48px, 6vw, 80px) 0; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

/* Tile */
.tile {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(43,26,10,0.18);
  border-color: var(--bronze-500);
}
.tile__img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-100);
  position: relative;
}
.tile__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.tile:hover .tile__img-wrap img { transform: scale(1.05); }
.tile__body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.tile__title {
  font-family: var(--ff-display);
  font-size: 14.5px;
  line-height: 1.25;
  color: var(--ink-800);
  margin: 0 0 12px 0;
  font-weight: 500;
  font-variation-settings: "opsz" 48, "SOFT" 60;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--cream-200);
}
.tile__price { font-weight: 600; color: var(--ink-800); font-size: 14px; }
.tile__cta { color: var(--bronze-600); font-weight: 500; font-size: 12px; }

/* Product detail hero */
.product-hero {
  padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 6vw, 80px) 0;
}
.product-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.product-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  color: var(--ink-800);
  margin: 12px 0 16px 0;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 96, "SOFT" 60;
  font-weight: 400;
}
.product-hero__price {
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--bronze-600);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 60;
  letter-spacing: -0.01em;
}
.product-hero__currency { font-size: 14px; color: var(--muted); font-weight: 400; }
.product-hero__features {
  list-style: none;
  padding: 24px 0 0 0;
  margin: 0;
  border-top: 1px dashed var(--line);
}
.product-hero__features li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-text);
  margin-bottom: 8px;
}

/* Gallery */
.gallery__main {
  aspect-ratio: 1 / 1;
  background: var(--cream-100);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.thumb {
  aspect-ratio: 1 / 1;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s var(--ease);
}
.thumb:hover, .thumb:focus { border-color: var(--bronze-600); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product description */
.product-desc { padding: clamp(48px, 6vw, 80px) 0; background: var(--cream-50); }
.product-desc__body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-text);
  margin-bottom: 14px;
}
.pill {
  display: inline-block;
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--cream-200);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 880px) {
  .product-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
  .tile__title { font-size: 13.5px; }
}

/* Catalog master grid extras */
.catalog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.filter-pill {
  padding: 8px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-text);
  text-decoration: none;
  font-weight: 500;
  transition: all .18s var(--ease);
}
.filter-pill:hover, .filter-pill--active {
  background: var(--ink-700);
  color: var(--paper);
  border-color: var(--ink-700);
}

/* Start Here section on homepage */
.start-here {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--cream-50);
}
.start-here__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.start-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px 22px;
  text-align: center;
  transition: transform .25s var(--ease);
}
.start-step:hover { transform: translateY(-4px); }
.start-step__num {
  font-family: var(--ff-display);
  font-size: 36px;
  color: var(--bronze-600);
  line-height: 1;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.start-step h3 {
  font-family: var(--ff-display);
  font-size: 17px;
  color: var(--ink-800);
  margin: 0 0 8px 0;
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 60;
}
.start-step p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 14px 0;
}
.start-step a {
  font-size: 13px;
  color: var(--ink-700);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 880px) {
  .start-here__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .start-here__grid { grid-template-columns: 1fr; }
}



/* Added: Start-here card images + blog placeholder */
.start-step__media {
  margin: 0 0 16px 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: #e9e0d0;
}
.start-step__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.blog-hero {
  padding: 72px 0 48px;
}
.blog-hero__wrap {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1.15fr .85fr;
}
.blog-hero__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px 24px;
}
.blog-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 16px;
}
.blog-topic {
  background: rgba(27,58,92,.04);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 3px;
  font-size: 14px;
  color: var(--ink-700);
}
@media (max-width: 880px) {
  .blog-hero__wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blog-topics { grid-template-columns: 1fr; }
}


/* Added: SEO blog hub + full article lead-generation layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 37, 57, .08);
}
.blog-card__image {
  aspect-ratio: 16 / 10;
  background: #eadfcb;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__body {
  padding: 22px 20px 24px;
}
.blog-card__body h3 {
  font-family: var(--ff-display);
  color: var(--ink-800);
  font-size: 22px;
  line-height: 1.15;
  margin: 8px 0 10px;
  font-variation-settings: "opsz" 72, "SOFT" 60;
}
.blog-card__body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.blog-card__link {
  color: var(--ink-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  font-size: 14px;
}
.article-hero {
  padding: 72px 0 38px;
}
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 46px;
  align-items: start;
}
.article-body {
  background: rgba(255,255,255,.38);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
}
.article-body h2 {
  font-family: var(--ff-display);
  color: var(--ink-800);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.08;
  margin: 44px 0 16px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.article-body h3 {
  font-family: var(--ff-display);
  color: var(--ink-800);
  font-size: 24px;
  line-height: 1.2;
  margin: 28px 0 10px;
}
.article-body p,
.article-body li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}
.article-body a {
  color: var(--ink-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body .lead {
  font-size: 20px;
  color: var(--ink-text);
}
.article-callout {
  border-left: 4px solid var(--bronze-600);
  background: rgba(185, 99, 57, .08);
  padding: 18px 20px;
  margin: 28px 0;
}
.article-checklist {
  padding-left: 22px;
}
.article-sidebar {
  position: sticky;
  top: 110px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
}
.article-sidebar h3 {
  font-family: var(--ff-display);
  color: var(--ink-800);
  font-size: 24px;
  margin: 0 0 12px;
}
.article-sidebar p,
.article-sidebar li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.article-sidebar ul {
  margin: 0 0 18px;
  padding-left: 18px;
}
.article-faq {
  margin-top: 34px;
}
.article-faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.article-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-800);
}
.article-faq p {
  margin-bottom: 0;
}
.article-meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}
@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-body { padding: 22px 18px; }
}


/* Final SEO/blog/header refinements */
.nav__links a.nav__cta,.nav__links a.nav__cta:visited{color:#fff!important;opacity:1!important}.nav__links a.nav__cta:hover{color:#fff!important;opacity:1!important}.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-image{margin:0 0 30px;border:1px solid var(--line);background:#eadfcb}.article-image img{width:100%;height:auto;display:block;object-fit:cover}.article-image figcaption{padding:10px 14px;color:var(--muted);font-size:13px;line-height:1.4}.article-table{width:100%;border-collapse:collapse;margin:24px 0 32px;font-size:15px}.article-table th,.article-table td{border:1px solid var(--line);padding:12px 14px;text-align:left;vertical-align:top}.article-table th{color:var(--ink-800);background:rgba(27,58,92,.05);font-weight:600}.blog-topic{display:block;text-decoration:none}@media(max-width:760px){.blog-grid{grid-template-columns:1fr}}


/* Blog hub rectification: text-only clickable topic cards, no oversized images */
.blog-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.blog-topic-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 26px 24px 28px;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  min-height: 100%;
}
.blog-topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 37, 57, .08);
  border-color: rgba(181, 87, 49, .35);
}
.blog-topic-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: var(--bronze-600);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
.blog-topic-card h3 {
  font-family: var(--ff-display);
  color: var(--ink-800);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
  margin: 0 0 12px;
  font-variation-settings: "opsz" 72, "SOFT" 60;
}
.blog-topic-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
  margin: 0 0 18px;
}
.blog-topic-card__cta {
  color: var(--ink-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-toc {
  background: rgba(27,58,92,.04);
  border: 1px solid var(--line);
  padding: 20px 22px;
  margin: 26px 0 32px;
}
.article-toc strong { color: var(--ink-800); }
.article-toc ul { margin: 12px 0 0 18px; padding: 0; }
.article-toc li { margin: 8px 0; color: var(--muted); }
.article-body h2 { scroll-margin-top: 90px; }
.article-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
.article-next-grid a {
  display: block;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.42);
  padding: 14px 16px;
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}
.article-next-grid a:hover { color: var(--bronze-600); }
@media(max-width:760px){.blog-topic-grid,.article-next-grid{grid-template-columns:1fr}}
