/* ═══════════════════════════════════════════════════════════
   LAURIE WERTH FINE ART
   "Ink on Paper" — a gallery-monograph design system
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Color — Ink on Paper */
  --ink:        #1b1e26;
  --ink-soft:   #2a2f3a;
  --paper:      #f5f0e7;
  --paper-warm: #ece4d6;
  --salt:       #fdfbf6;
  --slate:      #6f8498;
  --slate-deep: #51677b;
  --rust:       #a8623f;
  --stone:      #8c8579;
  --stone-soft: #b3ab9d;

  --line:       rgba(27, 30, 38, 0.13);
  --line-soft:  rgba(27, 30, 38, 0.07);
  --line-light: rgba(253, 251, 246, 0.16);

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & rhythm */
  --section-y: clamp(72px, 9vw, 150px);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadow */
  --shadow-art: 0 2px 4px rgba(27,30,38,0.04), 0 24px 60px -28px rgba(27,30,38,0.34);
  --shadow-soft: 0 1px 2px rgba(27,30,38,0.04), 0 18px 50px -30px rgba(27,30,38,0.28);
}

/* ── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--paper);
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--slate); color: var(--salt); }

:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; border-radius: 1px; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 380;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  color: var(--ink);
}

.display {
  font-size: clamp(2.9rem, 7vw, 6rem);
  font-weight: 340;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.display em { font-style: italic; font-weight: 340; }

h2.heading {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 360;
  letter-spacing: -0.02em;
}
h2.heading em { font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--slate-deep);
}

.muted { color: var(--stone); }

/* Section index numeral */
.index {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: 1.05rem;
  color: var(--slate);
}

/* ── Layout helpers ─────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head__title { max-width: 30ch; }
.section-head__meta { display: flex; align-items: center; gap: 14px; }

.rule { height: 1px; background: var(--line); border: 0; }
.rule--node { position: relative; }
.rule--node::after {
  content: "✦";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper); padding: 0 12px;
  color: var(--slate); font-size: 0.7rem;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 16px 30px;
  border: 1px solid var(--b);
  background: transparent; color: var(--ink);
  position: relative; overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--b);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn:hover { color: var(--salt); }
.btn:hover::before { transform: translateY(0); }

.btn--primary { background: var(--ink); color: var(--salt); border-color: var(--ink); }
.btn--primary::before { background: var(--slate-deep); }
.btn--primary:hover { color: var(--salt); border-color: var(--slate-deep); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }

.btn--light { color: var(--salt); border-color: rgba(253,251,246,0.4); }
.btn--light::before { background: var(--salt); }
.btn--light:hover { color: var(--ink); }

.btn--sm { padding: 11px 20px; font-size: 0.68rem; }

.btn[disabled] { opacity: 0.4; pointer-events: none; }

/* Text link with growing underline */
.link-grow { position: relative; display: inline-block; }
.link-grow::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.link-grow:hover::after { transform: scaleX(1); transform-origin: left; }

/* ═══ Header ═══════════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), padding 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  background: rgba(245, 240, 231, 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line);
}
.header__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(18px, 2.4vw, 30px) var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.5s var(--ease);
}
.header--scrolled .header__inner { padding-block: 16px; }

.header__logo { display: flex; flex-direction: column; line-height: 1; }
.header__logo-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; letter-spacing: 0.01em; color: var(--ink);
}
.header__logo-name span { font-style: italic; color: var(--slate-deep); }
.header__logo-tag {
  font-family: var(--font-body); font-size: 0.56rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.34em; color: var(--stone);
  margin-top: 6px;
}

.header__nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.header__link {
  font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink); position: relative; padding: 4px 0;
}
.header__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.header__link:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__cart { position: relative; display: flex; align-items: center; color: var(--ink); padding: 4px; }
.header__cart svg { width: 21px; height: 21px; }
.header__cart-count {
  position: absolute; top: -6px; right: -8px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--rust); color: var(--salt);
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 700;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
}
.header__cart-count[data-count="0"] { opacity: 0; }
.header__cart-count--bounce { animation: cartBounce 0.45s var(--ease); }
@keyframes cartBounce { 0%,100% { transform: scale(1); } 40% { transform: scale(1.35); } }

.header__mobile-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px; }
.header__mobile-toggle span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s; }
.header__mobile-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__mobile-toggle.active span:nth-child(2) { opacity: 0; }
.header__mobile-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══ Hero ═════════════════════════════════════════════════ */
.hero { position: relative; padding-top: clamp(140px, 18vh, 220px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero__eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--slate); }

.hero__title { margin-bottom: 30px; }
.hero__title .display { display: block; }

.hero__description {
  max-width: 46ch; color: #3a3f49; font-size: 1.06rem; line-height: 1.7;
  margin-bottom: 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero__meta { display: flex; gap: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; }
.hero__meta-label { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--stone); }

.hero__figure { position: relative; }
.hero__figure-frame {
  position: relative; background: var(--salt); padding: 14px;
  box-shadow: var(--shadow-art);
  transform: rotate(-1.2deg);
  transition: transform 0.7s var(--ease);
}
.hero__figure:hover .hero__figure-frame { transform: rotate(0deg); }
.hero__figure-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero__figure-caption {
  margin-top: 18px; padding-left: 4px;
  display: flex; flex-direction: column; gap: 3px;
  transform: rotate(-1.2deg);
}
.hero__figure-caption strong { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.05rem; }
.hero__figure-caption span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--stone); }

.hero__sig {
  position: absolute; top: -34px; right: -10px; width: 92px; opacity: 0.9;
  z-index: 3; pointer-events: none;
}
.hero__bloom {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; z-index: 0;
}
.hero__bloom--1 { width: 340px; height: 340px; background: radial-gradient(circle, rgba(111,132,152,0.5), transparent 70%); top: -60px; left: -120px; }
.hero__bloom--2 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(168,98,63,0.28), transparent 70%); bottom: -40px; right: 30%; }

/* ═══ Collections ══════════════════════════════════════════ */
.collections { background: var(--paper-warm); }
.collections__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 30px); }

.collection-card { cursor: pointer; position: relative; }
.collection-card__image {
  position: relative; overflow: hidden; background: var(--ink);
  aspect-ratio: 3/4;
}
.collection-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.96);
}
.collection-card:hover .collection-card__image img { transform: scale(1.05); }
.collection-card__image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,30,38,0.55) 0%, transparent 45%);
  opacity: 0.85; transition: opacity 0.5s var(--ease);
}
.collection-card__num {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-family: var(--font-display); font-style: italic; color: var(--salt);
  font-size: 1rem; opacity: 0.85;
}
.collection-card__body {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 24px; color: var(--salt);
}
.collection-card__title { color: var(--salt); font-size: 1.55rem; font-weight: 400; margin-bottom: 6px; }
.collection-card__count { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(253,251,246,0.78); }
.collection-card__cta {
  margin-top: 14px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--salt); display: inline-flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.collection-card:hover .collection-card__cta { opacity: 1; transform: translateY(0); }

/* ═══ Shop ═════════════════════════════════════════════════ */
.shop__head { margin-bottom: clamp(36px, 4vw, 60px); }
.shop__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--stone); padding: 9px 18px; border: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.filter-btn:hover { color: var(--ink); }
.filter-btn--active { color: var(--ink); border-color: var(--ink); border-radius: 40px; }

.shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }

.product-card { position: relative; opacity: 1; }
.product-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--font-body); font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink); background: var(--salt); padding: 6px 11px;
  box-shadow: 0 2px 12px rgba(27,30,38,0.12);
}
.product-card__badge--limited { background: var(--ink); color: var(--salt); }

.product-card__image {
  position: relative; overflow: hidden; background: var(--paper-warm);
  aspect-ratio: 4/5; cursor: pointer;
}
.product-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.product-card:hover .product-card__image img { transform: scale(1.045); }
.product-card__quick-view {
  position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 14px);
  background: var(--salt); color: var(--ink);
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
  padding: 12px 24px; opacity: 0; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  box-shadow: var(--shadow-soft); white-space: nowrap;
}
.product-card:hover .product-card__quick-view { opacity: 1; transform: translate(-50%, 0); }

.product-card__body { padding-top: 20px; }
.product-card__title { font-size: 1.32rem; font-weight: 400; margin-bottom: 5px; }
.product-card__collection {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--stone);
  margin-bottom: 12px;
}
.product-card__price {
  font-family: var(--font-display); font-size: 1.08rem; color: var(--ink);
  display: flex; align-items: baseline; gap: 12px;
}
.product-card__price-range {
  font-family: var(--font-body); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--stone);
}

/* ═══ About ════════════════════════════════════════════════ */
.about__inner { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__figure { position: relative; }
.about__figure-frame { position: relative; background: var(--salt); padding: 12px; box-shadow: var(--shadow-art); }
.about__figure-frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about__figure::before {
  content: ""; position: absolute; top: -20px; left: -20px; width: 70px; height: 70px;
  border-top: 1px solid var(--slate); border-left: 1px solid var(--slate);
}
.about__sig { position: absolute; bottom: -28px; right: -14px; width: 120px; opacity: 0.92; }

.about__eyebrow { margin-bottom: 18px; display: inline-block; }
.about__title { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 360; margin-bottom: 26px; }
.about__quote {
  font-family: var(--font-display); font-style: italic; font-weight: 360;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.4; color: var(--slate-deep);
  padding-left: 22px; border-left: 2px solid var(--slate); margin-bottom: 28px;
}
.about__text { color: #3a3f49; margin-bottom: 18px; max-width: 56ch; }
.about__credentials { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.credential__value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.credential__label { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--stone); }

/* ═══ Process (dark ink section) ═══════════════════════════ */
.process { background: var(--ink); color: var(--salt); position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.process .eyebrow { color: var(--slate); }
.process .index { color: var(--slate); }
.process h2, .process h2.heading { color: var(--salt); }
.process__head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); position: relative; }
.process__head .eyebrow { display: block; margin-bottom: 16px; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); position: relative; }
.process-step { position: relative; }
.process-step__num {
  font-family: var(--font-display); font-style: italic; font-weight: 340;
  font-size: 2.4rem; color: var(--slate); margin-bottom: 18px; line-height: 1;
}
.process-step__title { color: var(--salt); font-size: 1.4rem; font-weight: 400; margin-bottom: 12px; }
.process-step__text { color: rgba(253,251,246,0.66); font-size: 0.95rem; line-height: 1.6; max-width: 32ch; }
.process-step::after {
  content: ""; position: absolute; top: 16px; right: -22px; width: 28px; height: 1px;
  background: var(--line-light);
}
.process-step:last-child::after { display: none; }

/* ═══ Commission ═══════════════════════════════════════════ */
.commission { background: var(--paper-warm); }
.commission__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.commission__title { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 360; margin: 16px 0 24px; }
.commission__text { color: #3a3f49; margin-bottom: 32px; max-width: 46ch; }
.commission__features { display: flex; flex-direction: column; gap: 16px; }
.commission__feature { display: flex; align-items: flex-start; gap: 14px; font-size: 0.98rem; color: #3a3f49; }
.commission__feature-icon { color: var(--slate); font-size: 0.85rem; margin-top: 3px; }

.commission__form { background: var(--salt); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-soft); }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 0.66rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--stone); margin-bottom: 9px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 10px 2px; transition: border-color 0.4s var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-bottom-color: var(--slate); }
.form-textarea { resize: vertical; min-height: 96px; border: 1px solid var(--line); padding: 12px; }
.form-select { cursor: pointer; }

/* ═══ Signup ═══════════════════════════════════════════════ */
.signup { background: var(--ink); color: var(--salt); text-align: center; position: relative; overflow: hidden; }
.signup .eyebrow { color: var(--slate); display: block; margin-bottom: 18px; }
.signup__title { color: var(--salt); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 360; max-width: 18ch; margin: 0 auto 22px; }
.signup__title em { font-style: italic; }
.signup__text { color: rgba(253,251,246,0.7); max-width: 50ch; margin: 0 auto 36px; }
.signup__form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.signup__input {
  flex: 1; background: transparent; border: 1px solid var(--line-light); color: var(--salt);
  padding: 16px 20px; font-family: var(--font-body); font-size: 0.92rem;
}
.signup__input::placeholder { color: rgba(253,251,246,0.45); }
.signup__input:focus { outline: none; border-color: var(--slate); }
.signup__note { font-size: 0.72rem; color: rgba(253,251,246,0.45); margin-top: 18px; letter-spacing: 0.04em; }

/* ═══ Watch (YouTube) ══════════════════════════════════════ */
.watch { background: var(--paper); }
.watch__head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.watch__head .eyebrow { color: var(--slate-deep); }
.watch__sub { color: var(--stone); max-width: 48ch; }
.watch__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.video-card { display: flex; flex-direction: column; }
.video-card__frame {
  position: relative; aspect-ratio: 9/16; overflow: hidden;
  background: var(--ink); cursor: pointer; box-shadow: var(--shadow-soft);
}
/* Wide variant for landscape (16:9) tutorial films */
.watch--wide .video-card__frame { aspect-ratio: 16/9; }
.video-card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.95s var(--ease), filter 0.5s var(--ease); }
.video-card__frame:hover img { transform: scale(1.05); filter: brightness(0.9); }
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(253, 251, 246, 0.92); display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease); box-shadow: var(--shadow-soft);
}
.video-card__frame:hover .video-card__play { transform: translate(-50%, -50%) scale(1.08); background: var(--salt); }
.video-card__play svg { width: 22px; height: 22px; margin-left: 3px; color: var(--ink); }
.video-card__body { padding-top: 16px; }
.video-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.18rem; line-height: 1.25; margin-bottom: 6px; }
.video-card__meta { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--stone); display: flex; align-items: center; gap: 8px; }
.video-card__meta svg { width: 14px; height: 14px; color: var(--rust); }
.watch__cta { margin-top: clamp(34px, 4vw, 52px); text-align: center; }

/* ═══ Instagram ════════════════════════════════════════════ */
.instagram { background: var(--paper); text-align: center; }
.instagram__head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: clamp(34px, 4vw, 54px); }
.instagram__head .eyebrow { color: var(--slate-deep); }
.instagram__handle {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 380; color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.5rem); position: relative;
}
.instagram__handle svg { width: clamp(24px, 3vw, 30px); height: clamp(24px, 3vw, 30px); color: var(--slate-deep); }
.instagram__sub { color: var(--stone); max-width: 44ch; }

.instagram__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--paper-warm); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.95s var(--ease); }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile__overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(27, 30, 38, 0); transition: background 0.45s var(--ease);
}
.ig-tile:hover .ig-tile__overlay { background: rgba(27, 30, 38, 0.44); }
.ig-tile__overlay svg {
  width: 26px; height: 26px; color: var(--salt);
  opacity: 0; transform: scale(0.82); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.ig-tile:hover .ig-tile__overlay svg { opacity: 1; transform: scale(1); }
.instagram__cta { margin-top: clamp(32px, 4vw, 48px); }

/* ═══ Learn page ═══════════════════════════════════════════ */
.learn-hero { background: var(--paper); padding-top: clamp(132px, 17vh, 210px); padding-bottom: clamp(48px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.learn-hero .hero__bloom--1 { top: -80px; left: -120px; }
.learn-hero__inner { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative; z-index: 2; }
.learn-hero__title { font-family: var(--font-display); font-weight: 340; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.025em; line-height: 1; }
.learn-hero__title em { font-style: italic; }
.learn-hero__lead { color: #3a3f49; font-size: 1.08rem; line-height: 1.75; max-width: 56ch; }
.learn-hero__links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.insights { background: var(--paper-warm); }
.insights__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.insight-card { background: var(--salt); padding: clamp(28px, 3vw, 46px); border: 1px solid var(--line-soft); }
.insight-card__num { font-family: var(--font-display); font-style: italic; color: var(--slate); font-size: 1.3rem; margin-bottom: 16px; }
.insight-card__title { font-size: 1.5rem; font-weight: 400; margin-bottom: 12px; }
.insight-card__text { color: #3a3f49; line-height: 1.7; }

.supplies { background: var(--paper-warm); }
.supplies__disclosure { text-align: center; font-style: italic; font-size: 0.84rem; color: var(--stone); max-width: 62ch; margin: 0 auto clamp(36px, 4vw, 54px); }
.supplies__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.supply-card { background: var(--salt); padding: clamp(26px, 2.6vw, 38px); border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.supply-card__icon { width: 32px; height: 32px; color: var(--slate-deep); margin-bottom: 18px; }
.supply-card__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 400; margin-bottom: 8px; }
.supply-card__desc { color: #3a3f49; font-size: 0.95rem; line-height: 1.65; margin-bottom: 22px; flex: 1; }
.supply-card__link { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; transition: color 0.35s var(--ease); }
.supply-card__link::after { content: "→"; transition: transform 0.4s var(--ease); }
.supply-card__link:hover { color: var(--slate-deep); }
.supply-card__link:hover::after { transform: translateX(4px); }

/* ═══ Footer ═══════════════════════════════════════════════ */
.footer { background: var(--ink); color: rgba(253,251,246,0.7); padding-top: clamp(60px, 7vw, 100px); padding-bottom: 36px; border-top: 1px solid var(--line-light); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.footer__sig { width: 96px; margin-bottom: 20px; opacity: 0.9; }
.footer__brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--salt); margin-bottom: 14px; }
.footer__tagline { font-size: 0.92rem; line-height: 1.6; max-width: 34ch; }
.footer__heading { font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--stone-soft); margin-bottom: 20px; font-family: var(--font-body); }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__link { font-size: 0.92rem; color: rgba(253,251,246,0.7); transition: color 0.3s var(--ease); }
.footer__link:hover { color: var(--salt); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 28px; border-top: 1px solid var(--line-light);
  font-size: 0.78rem; color: rgba(253,251,246,0.5);
}
.footer__social { display: flex; gap: 16px; }
.footer__social a { color: rgba(253,251,246,0.6); transition: color 0.3s var(--ease); }
.footer__social a:hover { color: var(--salt); }

/* ═══ Cart Drawer ══════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(27,30,38,0.42); z-index: 200;
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s;
  backdrop-filter: blur(2px);
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); z-index: 201;
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.55s var(--ease);
  box-shadow: -20px 0 60px -30px rgba(27,30,38,0.5);
}
.cart-drawer.active { transform: translateX(0); }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 28px var(--gutter); border-bottom: 1px solid var(--line); }
.cart-drawer__title { font-size: 1.5rem; font-weight: 400; }
.cart-drawer__close { font-size: 1.1rem; color: var(--ink); padding: 6px; transition: transform 0.3s var(--ease); }
.cart-drawer__close:hover { transform: rotate(90deg); }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 12px var(--gutter); }
.cart-drawer__empty { text-align: center; padding: 60px 0; }
.cart-drawer__empty-icon { width: 70px; margin: 0 auto 20px; opacity: 0.5; }
.cart-drawer__empty-text { color: var(--stone); margin-bottom: 24px; font-style: italic; font-family: var(--font-display); font-size: 1.1rem; }

.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.cart-item__image { background: var(--paper-warm); overflow: hidden; }
.cart-item__image img { width: 100%; height: 80px; object-fit: cover; }
.cart-item__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; margin-bottom: 3px; }
.cart-item__variant { font-size: 0.74rem; color: var(--stone); margin-bottom: 12px; }
.cart-item__qty { display: flex; align-items: center; gap: 14px; }
.qty-btn { width: 24px; height: 24px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--ink); transition: border-color 0.3s, background 0.3s; }
.qty-btn:hover { border-color: var(--ink); }
.cart-item__count { font-size: 0.9rem; min-width: 16px; text-align: center; }
.cart-item__price { font-family: var(--font-display); font-size: 1rem; text-align: right; margin-bottom: 10px; }
.cart-item__remove { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--stone); transition: color 0.3s; }
.cart-item__remove:hover { color: var(--rust); }

.cart-drawer__footer { padding: 24px var(--gutter) 28px; border-top: 1px solid var(--line); }
.cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.cart-drawer__subtotal-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--stone); }
.cart-drawer__subtotal-value { font-family: var(--font-display); font-size: 1.5rem; }
.cart-drawer__shipping-note { font-size: 0.74rem; color: var(--stone); margin-bottom: 18px; }
.cart-drawer__checkout { width: 100%; }
.cart-drawer__provider-note { text-align: center; font-size: 0.7rem; color: var(--stone); margin-top: 12px; letter-spacing: 0.04em; }

/* ═══ Product Modal ════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(27,30,38,0.55); z-index: 300;
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%); z-index: 301;
  width: min(960px, 94vw); max-height: 92vh; overflow-y: auto;
  background: var(--paper); box-shadow: 0 40px 100px -30px rgba(27,30,38,0.6);
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.modal__close {
  position: absolute; top: 18px; right: 18px; z-index: 5; width: 38px; height: 38px;
  background: var(--salt); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--ink); box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease);
}
.modal__close:hover { transform: rotate(90deg); }
.modal__inner { display: grid; grid-template-columns: 1fr 1fr; }
.modal__image { background: var(--paper-warm); }
.modal__image img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.modal__content { padding: clamp(28px, 3.5vw, 52px); }
.modal__badge { position: static; display: inline-block; margin-bottom: 16px; }
.modal__title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 380; margin-bottom: 6px; }
.modal__collection { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--stone); margin-bottom: 20px; }
.modal__description { color: #3a3f49; line-height: 1.7; margin-bottom: 20px; }
.modal__artist-note { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--slate-deep); padding-left: 18px; border-left: 2px solid var(--slate); margin-bottom: 26px; }
.modal__variants { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.variant-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border: 1px solid var(--line); text-align: left;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.variant-btn:hover { border-color: var(--stone); }
.variant-btn--active { border-color: var(--ink); background: var(--salt); }
.variant-btn__label { display: block; font-size: 0.92rem; color: var(--ink); }
.variant-btn__stock { display: block; font-size: 0.68rem; color: var(--stone); margin-top: 2px; }
.variant-btn__price { font-family: var(--font-display); font-size: 1.1rem; }
.modal__add-to-cart { width: 100%; }
.modal__process { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.process-tag { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--stone); border: 1px solid var(--line); padding: 5px 11px; border-radius: 40px; }

/* ═══ Toast ════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translate(-50%, 20px); z-index: 400;
  background: var(--ink); color: var(--salt); padding: 14px 26px;
  font-size: 0.85rem; letter-spacing: 0.02em; box-shadow: var(--shadow-art);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.toast.active { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ═══ Scroll reveal ════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.06s; }
.reveal--delay-2 { transition-delay: 0.14s; }
.reveal--delay-3 { transition-delay: 0.22s; }
.reveal--delay-4 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══ Responsive ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__figure { max-width: 460px; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__figure { max-width: 420px; }
  .commission__inner { grid-template-columns: 1fr; gap: 40px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .process-step::after { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .supplies__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* No backdrop-filter on mobile: a filtered ancestor becomes the containing
     block for position:fixed children, which would trap the full-screen menu
     inside the header box once the page is scrolled. Use a solid header bg. */
  .header--scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(245, 240, 231, 0.97);
  }
  .header__nav {
    position: fixed; inset: 0; z-index: 99;
    background: var(--paper); flex-direction: column; justify-content: center;
    gap: 28px; transform: translateX(100%); transition: transform 0.5s var(--ease);
  }
  .header__nav.header__nav--mobile { transform: translateX(0); }
  /* Keep the logo + close button above the full-screen menu overlay */
  .header__logo, .header__actions { position: relative; z-index: 100; }
  .header__link { font-size: 1.1rem; }
  .header__mobile-toggle { display: flex; }
  .collections__grid { grid-template-columns: 1fr; gap: 16px; }
  .shop__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .instagram__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .watch__grid { grid-template-columns: 1fr; gap: 28px; max-width: 300px; margin-inline: auto; }
  .watch--wide .watch__grid { max-width: 440px; }
  .insights__grid { grid-template-columns: 1fr; }
  .supplies__grid { grid-template-columns: 1fr; }
  .shop__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .modal__inner { grid-template-columns: 1fr; }
  .modal__image img { min-height: 0; aspect-ratio: 4/5; }
  .modal { max-height: 94vh; }
  .signup__form { flex-direction: column; }
  .hero__meta { flex-wrap: wrap; gap: 24px; }
  /* Mobile: lead with the artwork above the headline */
  .hero { padding-top: 92px; }
  .hero__inner { display: flex; flex-direction: column; gap: 34px; }
  .hero__figure { order: -1; max-width: 100%; }
  .hero__figure-frame { transform: rotate(-1deg); }
  .hero__figure-frame img { aspect-ratio: 1 / 1; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .shop__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .about__credentials { flex-wrap: wrap; gap: 24px; }
  .hero__sig { width: 70px; top: -22px; }
}
