@charset "utf-8";

/* Philtre — stylesheet.
 *
 * This is the client's original stylesheet, lifted verbatim out of the
 * supplied philtre_website.html so that all four pages share one copy.
 * Nothing above the "Fixes appended" comment has been altered.
 *
 * Edit colours in the :root block below; they cascade to every page.
 */

:root {
  --cream: #F4EFE2;
  --ink: #3A1A1A;
  --muted: #7A5040;
  --rule: #9A7A6A;
  --rule-light: rgba(154,122,106,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: var(--cream);
  border-bottom: 0.5px solid var(--rule-light);
}

.nav-brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 80px;
}

.hero-overline {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(52px, 5.5vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.hero-rule {
  width: 40px;
  height: 0.5px;
  background: var(--rule);
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 0.5px solid var(--rule);
  padding-bottom: 6px;
  transition: color 0.2s, border-color 0.2s;
}

.hero-cta:hover { color: var(--muted); border-color: var(--muted); }
.hero-cta::after { content: '→'; font-style: normal; }

.hero-image {
  position: relative;
  background: #EDE7D5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.95;
}

.hero-image-caption {
  position: absolute;
  bottom: 32px;
  right: 32px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
}

/* ── SECTIONS ── */
section {
  padding: 100px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 48px;
}

/* ── MANIFESTO ── */
.manifesto {
  border-top: 0.5px solid var(--rule-light);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.manifesto-headline {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.manifesto-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 20px;
}

.manifesto-body p:last-child { margin-bottom: 0; }

.manifesto-body em {
  color: var(--muted);
  font-style: italic;
}

/* ── CRAFT ── */
.craft {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0;
}

.craft .section-label { color: var(--rule); }

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.craft-intro {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--cream);
}

.craft-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.craft-step {
  padding-top: 32px;
  border-top: 0.5px solid rgba(154,122,106,0.3);
}

.craft-step-num {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rule);
  display: block;
  margin-bottom: 10px;
}

.craft-step h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 10px;
}

.craft-step p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(244,239,226,0.65);
}

/* ── MOTHER ── */
.mother-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: center;
}

.mother-headline {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 28px;
}

.mother-body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 18px;
}

.mother-aside {
  border-left: 0.5px solid var(--rule);
  padding-left: 40px;
}

.mother-aside-title {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.mother-aside-item {
  padding: 16px 0;
  border-bottom: 0.5px solid var(--rule-light);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.mother-aside-item:last-child { border-bottom: none; }

.mother-aside-item strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}

/* ── SHOP ── */
.shop {
  border-top: 0.5px solid var(--rule-light);
}

.shop-intro {
  max-width: 520px;
  margin-bottom: 64px;
}

.shop-intro h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}

.shop-intro p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.product-card {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 40px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s;
}

.product-card.featured {
  background: var(--muted);
}

.product-card:hover {
  background: #2a1010;
}

.product-card.featured:hover {
  background: #6a3830;
}

.product-tag {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rule);
  margin-bottom: 40px;
}

.product-card.featured .product-tag {
  color: rgba(244,239,226,0.5);
}

.product-name {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--cream);
}

.product-desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(244,239,226,0.6);
  font-style: italic;
  margin-bottom: 32px;
  flex: 1;
}

.product-price {
  font-size: 32px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.product-price-note {
  font-size: 11px;
  color: rgba(244,239,226,0.45);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(244,239,226,0.3);
  padding-bottom: 5px;
  cursor: pointer;
  width: fit-content;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: 'Lora', serif;
  transition: opacity 0.2s;
}

.product-cta:hover { opacity: 0.65; }
.product-cta::after { content: '→'; }

.product-savings {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(244,239,226,0.12);
  color: rgba(244,239,226,0.7);
  padding: 4px 8px;
}

/* ── PROVENANCE ── */
.provenance {
  background: #EDE7D5;
  padding: 100px 0;
}

.provenance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.provenance-text h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 24px;
}

.provenance-text p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 16px;
}

.provenance-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
}

.prov-detail {
  padding: 28px 0;
  border-top: 0.5px solid var(--rule-light);
}

.prov-detail:nth-child(2n) {
  padding-left: 24px;
  border-left: 0.5px solid var(--rule-light);
}

.prov-detail-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.prov-detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* ── FOOTER ── */
footer {
  border-top: 0.5px solid var(--rule-light);
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-address {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--muted); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 0.5px solid var(--rule-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-text > * {
  animation: fadeUp 0.8s ease both;
}

.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.25s; }
.hero-text > *:nth-child(3) { animation-delay: 0.4s; }
.hero-text > *:nth-child(4) { animation-delay: 0.5s; }
.hero-text > *:nth-child(5) { animation-delay: 0.6s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 50vh; order: -1; }
  .hero-text { padding: 48px 24px 64px; }
  .manifesto-grid,
  .craft-grid,
  .mother-grid,
  .provenance-grid { grid-template-columns: 1fr; gap: 40px; }
  .shop-grid { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 64px 0; }
  .container { padding: 0 24px; }
}

/* ────────────────────────────────────────────────────────────────
   Fixes appended after the original stylesheet. Nothing above this
   line has been changed. Delete this block to get the file back
   exactly as supplied.
   ──────────────────────────────────────────────────────────────── */

/* The nav is position:fixed, so anchor targets landed underneath it. */
section[id] { scroll-margin-top: 88px; }

/* Smooth scrolling should respect the OS "reduce motion" setting.
   The animation-delay reset matters: .hero-text children use
   `animation: fadeUp ... both`, so during their 0.1-0.6s stagger delay they
   are held at opacity 0. Zeroing only the duration would leave the hero
   headline invisible for anyone with reduced motion enabled. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* .product-cta was a <button>; it is now an <a> so it can reach Stripe. */
a.product-cta { display: inline-flex; }

.hero-image picture { width: 100%; height: 100%; display: block; }

/* The featured card's tag was cream at 50% on #7A5040 — 2.77:1, which is
   unreadable at 8px. 0.78 brings it to 4.6:1 and looks the same. */
.product-card.featured .product-tag { color: rgba(244,239,226,0.78); }

/* Below 900px the four nav links overflowed the viewport and collided
   with the wordmark. They are all repeated in the footer; Order stays,
   because a shop should never leave a phone without a way to buy. */
@media (max-width: 900px) {
  .nav-links { gap: 0; }
  .nav-links li:not(.nav-order) { display: none; }
  .nav-links .nav-order a { color: var(--ink); border-bottom: 0.5px solid var(--rule); padding-bottom: 3px; }
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Prose for the secondary pages (legal, thank-you, 404). Built from the
   existing tokens so these pages sit inside the same design. */
.page-head { border-top: 0.5px solid var(--rule-light); }
.page-title {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-intro { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 520px; }
.prose h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 40px 0 12px;
}
.prose h3:first-child { margin-top: 0; }
.prose p { font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { list-style: none; margin: 12px 0 20px; }
.prose ul li {
  font-size: 15px; line-height: 1.7;
  padding: 8px 0 8px 18px; position: relative;
}
.prose ul li::before {
  content: '·'; position: absolute; left: 0; color: var(--rule);
}
.prose a { color: var(--muted); }
.prose a:hover { color: var(--ink); }
.prose-note {
  margin-top: 48px; padding-top: 20px;
  border-top: 0.5px solid var(--rule-light);
  font-size: 12px; font-style: italic; color: var(--muted);
}
