/* =========================================================
   ThreadsAndWhispers — Stylesheet
   A quiet botanical study in ivory, sage and dusty rose.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root{
  /* Color */
  --ivory: #FBF7F0;
  --ivory-deep: #F3ECE0;
  --beige: #EFE3D0;
  --sage: #7C8F6E;
  --sage-dark: #566249;
  --sage-pale: #DCE3D3;
  --rose: #D9A6A0;
  --rose-deep: #C6857C;
  --gold: #C6A15B;
  --forest: #263329;
  --ink: #3A362E;
  --ink-soft: #6B6558;
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Mulish', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 45px -25px rgba(38, 51, 41, 0.35);
  --shadow-lift: 0 10px 30px -12px rgba(38, 51, 41, 0.28);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--forest);
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 600;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
section{ position: relative; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Visible focus for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--ivory);
  padding: .75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ---------- Utility ---------- */
.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow{
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--rose-deep);
  margin-bottom: .75rem;
}
.section-heading{
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-heading h2{ font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-heading p{ font-size: 1.05rem; }
.section-pad{ padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.center{ text-align: center; }
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--forest);
  color: var(--ivory);
  box-shadow: var(--shadow-lift);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: var(--shadow-soft); background: var(--sage-dark); }
.btn-secondary{
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-secondary:hover{ background: var(--forest); color: var(--ivory); transform: translateY(-3px); }
.btn-rose{
  background: var(--rose);
  color: var(--forest);
}
.btn-rose:hover{ background: var(--rose-deep); color: var(--white); transform: translateY(-3px); }
.btn-block{ width: 100%; justify-content: center; }
.btn svg{ width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 247, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(38,51,41,.08);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.logo em{ font-style: italic; color: var(--rose-deep); }
.nav-links{
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a{
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: .25rem 0;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--rose-deep);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after{ width: 100%; }
.nav-actions{ display: flex; align-items: center; gap: 1rem; }
.nav-cta{ padding: .7rem 1.4rem; font-size: .85rem; }
.nav-toggle{
  display: none;
  background: none;
  border: none;
  padding: .4rem;
}
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px){
  .nav-links{
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--ivory);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2.5rem var(--gutter);
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ font-size: 1.15rem; }
  .nav-toggle{ display: block; }
  .nav-cta{ display: none; }
}

/* ---------- Stitch Spine (signature element) ---------- */
.stitch-spine{
  position: absolute;
  left: 26px;
  top: 0;
  width: 20px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.stitch-spine svg{ width: 100%; height: 100%; }
.stitch-spine .thread-path{
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.4;
  stroke-dasharray: 6 9;
  opacity: .55;
}
@media (max-width: 960px){ .stitch-spine{ display: none; } }

/* ---------- Hero ---------- */
.hero{
  padding: clamp(3rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(circle at 85% 10%, rgba(217,166,160,.28), transparent 55%),
    radial-gradient(circle at 8% 90%, rgba(124,143,110,.22), transparent 50%),
    var(--ivory);
  overflow: hidden;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy .eyebrow{ display: flex; align-items: center; gap: .6rem; }
.hero-copy .eyebrow::before{
  content: "";
  width: 28px; height: 1px;
  background: var(--rose-deep);
  display: inline-block;
}
.hero h1{
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.01em;
}
.hero h1 em{
  font-style: italic;
  color: var(--sage-dark);
}
.hero-copy p{ font-size: 1.15rem; max-width: 46ch; }
.hero-ctas{ display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero-trust{
  display: flex;
  gap: 1.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-trust div{ font-family: var(--font-display); }
.hero-trust strong{ display: block; font-size: 1.6rem; color: var(--forest); }
.hero-trust span{ font-size: .82rem; color: var(--ink-soft); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .06em; }

.hero-art{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, var(--beige), var(--sage-pale));
}
.hero-art img{ width: 100%; height: 100%; object-fit: cover; }
.hero-art .frame-tag{
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  background: rgba(251,247,240,.92);
  padding: .6rem 1rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-art .frame-tag::before{ content: "✿"; color: var(--rose-deep); }

@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; aspect-ratio: 16/11; }
}

/* ---------- Image Placeholder ---------- */
.img-placeholder{
  background: repeating-linear-gradient(135deg, var(--sage-pale), var(--sage-pale) 12px, var(--beige) 12px, var(--beige) 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  font-family: var(--font-display);
  font-style: italic;
  font-size: .95rem;
  text-align: center;
  padding: 1rem;
  width: 100%;
  height: 100%;
}

/* ---------- Divider ---------- */
.divider{
  display: flex;
  justify-content: center;
  padding: .5rem 0 0;
}
.divider svg{ width: 120px; height: auto; color: var(--sage); }

/* ---------- Categories ---------- */
.categories-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.category-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid rgba(38,51,41,.06);
}
.category-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.category-card .icon{
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  color: var(--sage-dark);
}
.category-card h3{ font-size: 1.15rem; margin-bottom: .25rem; }
.category-card p{ font-size: .88rem; margin-bottom: 0; }
@media (max-width: 980px){ .categories-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 620px){ .categories-grid{ grid-template-columns: repeat(2,1fr); } }

/* ---------- Product Cards ---------- */
.products-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.product-card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.product-media{ aspect-ratio: 4/3; position: relative; }
.product-badge{
  position: absolute;
  top: .9rem; left: .9rem;
  background: var(--rose);
  color: var(--forest);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.product-body{ padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.product-body h3{ font-size: 1.3rem; margin-bottom: 0; }
.product-body p{ font-size: .92rem; margin-bottom: 0; }
.product-meta{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--ink-soft);
  border-top: 1px dashed rgba(38,51,41,.15);
  border-bottom: 1px dashed rgba(38,51,41,.15);
  padding: .7rem 0;
  margin: .3rem 0;
}
.product-meta span{ display: flex; align-items: center; gap: .35rem; }
.product-price{
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--forest);
  font-weight: 600;
}
.product-body .btn{ margin-top: auto; }

@media (max-width: 980px){ .products-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .products-grid{ grid-template-columns: 1fr; } }

.view-all-wrap{ text-align: center; margin-top: 3rem; }

/* ---------- Feature List (Why choose) ---------- */
.features-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.feature-item{
  background: var(--ivory-deep);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
}
.feature-item .icon{
  width: 40px; height: 40px;
  color: var(--rose-deep);
  margin-bottom: 1rem;
}
.feature-item h3{ font-size: 1.15rem; }
.feature-item p{ font-size: .92rem; margin-bottom: 0; }
@media (max-width: 860px){ .features-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .features-grid{ grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-section{ background: var(--forest); color: var(--ivory); }
.about-section .section-heading p{ color: rgba(251,247,240,.75); }
.about-grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-photo{
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.about-copy h2{ color: var(--ivory); }
.about-copy p{ color: rgba(251,247,240,.8); }
.about-signature{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--rose);
  margin-top: 1.5rem;
}
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; } }

/* ---------- How It Works ---------- */
.steps-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step-item{ text-align: center; position: relative; padding: 0 .5rem; }
.step-number{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--rose);
  display: block;
  margin-bottom: .5rem;
}
.step-item h3{ font-size: 1.1rem; }
.step-item p{ font-size: .9rem; margin-bottom: 0; }
@media (max-width: 860px){ .steps-grid{ grid-template-columns: repeat(2,1fr); row-gap: 2.5rem; } }

/* ---------- Testimonials ---------- */
.testimonials-track{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.testimonial-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(38,51,41,.07);
}
.stars{ color: var(--gold); letter-spacing: .15em; margin-bottom: .8rem; font-size: 1rem; }
.testimonial-card p{ font-style: italic; color: var(--ink); }
.testimonial-name{ font-weight: 700; color: var(--forest); font-size: .92rem; }
.testimonial-meta{ font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 980px){ .testimonials-track{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .testimonials-track{ grid-template-columns: 1fr; } }

/* ---------- FAQ Accordion ---------- */
.faq-list{ max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .9rem; }
.faq-item{
  background: var(--white);
  border: 1px solid rgba(38,51,41,.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question{
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest);
  font-weight: 600;
}
.faq-question .plus{
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
}
.faq-question .plus::before,
.faq-question .plus::after{
  content: "";
  position: absolute;
  background: var(--sage-dark);
  transition: transform .3s var(--ease);
}
.faq-question .plus::before{ top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-question .plus::after{ left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq-item[aria-expanded="true"] .plus::after{ transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  padding: 0 1.5rem;
}
.faq-item[aria-expanded="true"] .faq-answer{
  max-height: 500px;
  padding: 0 1.5rem 1.4rem;
}
.faq-answer p{ margin-bottom: 0; font-size: .95rem; }

/* ---------- Newsletter ---------- */
.newsletter{
  background: var(--rose);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter h2{ color: var(--forest); }
.newsletter p{ color: rgba(38,51,41,.75); max-width: 50ch; margin-inline: auto; }
.newsletter-form{
  display: flex;
  gap: .75rem;
  max-width: 460px;
  margin: 1.75rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"]{
  flex: 1;
  min-width: 220px;
  padding: .95rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(38,51,41,.2);
  background: var(--ivory);
}
.newsletter-note{ font-size: .78rem; margin-top: 1rem; color: rgba(38,51,41,.6); }
.form-success{
  display: none;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--forest);
}
.form-success.show{ display: block; }

/* ---------- Social (Instagram / Pinterest) ---------- */
.social-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .8rem;
}
.social-tile{
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.social-tile a{ display: block; width: 100%; height: 100%; }
.social-tile .img-placeholder{ font-size: .7rem; }
.social-cta{ text-align: center; margin-top: 2rem; }
@media (max-width: 860px){ .social-grid{ grid-template-columns: repeat(3,1fr); } }

.pinterest-strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pin-card{
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.pin-card .img-placeholder{ aspect-ratio: 3/4; }
.pin-card-label{ background: var(--white); padding: .9rem 1.1rem; font-size: .85rem; font-weight: 700; color: var(--forest); }
@media (max-width: 860px){ .pinterest-strip{ grid-template-columns: repeat(2,1fr); } }

/* ---------- Blog ---------- */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card{
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover{ transform: translateY(-6px); }
.blog-card .img-placeholder{ aspect-ratio: 16/10; }
.blog-card-body{ padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.blog-tag{ font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sage-dark); font-weight: 700; }
.blog-card h3{ font-size: 1.2rem; }
.blog-card p{ font-size: .9rem; }
.blog-read{ font-weight: 700; font-size: .9rem; color: var(--rose-deep); margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 980px){ .blog-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .blog-grid{ grid-template-columns: 1fr; } }

/* Blog article page */
.article-hero{
  padding: clamp(2.5rem,6vw,4rem) 0 2rem;
  text-align: center;
}
.article-hero .eyebrow{ justify-content: center; display: flex; }
.article-hero h1{ font-size: clamp(2.1rem, 4vw, 3.1rem); max-width: 780px; margin-inline: auto; }
.article-meta{ font-size: .85rem; color: var(--ink-soft); margin-top: 1rem; }
.article-cover{
  max-width: 900px;
  margin: 2rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/8;
}
.article-body{
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}
.article-body h2{ font-size: 1.6rem; margin-top: 2.2rem; }
.article-body h3{ font-size: 1.25rem; margin-top: 1.6rem; }
.article-body p{ font-size: 1.05rem; color: var(--ink); }
.article-body ul, .article-body ol{ margin: 0 0 1.4rem 1.3rem; list-style: disc; color: var(--ink); }
.article-body ol{ list-style: decimal; }
.article-body li{ margin-bottom: .5rem; }
.article-body blockquote{
  border-left: 3px solid var(--rose);
  margin: 2rem 0;
  padding: .3rem 0 .3rem 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sage-dark);
}
.article-cta{
  background: var(--ivory-deep);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin-top: 2.5rem;
}
.article-nav{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 3rem;
  flex-wrap: wrap;
}
.article-nav a{ font-weight: 700; color: var(--sage-dark); font-size: .92rem; }

/* ---------- Generic Page Hero (About/FAQ/Contact/Legal) ---------- */
.page-hero{
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--beige), var(--ivory));
}
.page-hero h1{ font-size: clamp(2.4rem, 5vw, 3.4rem); }
.page-hero p{ max-width: 620px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb{
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.breadcrumb a{ color: var(--sage-dark); font-weight: 700; }
.breadcrumb span[aria-hidden]{ margin: 0 .4rem; }

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-form{ display: flex; flex-direction: column; gap: 1.1rem; }
.form-row label{
  display: block;
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .4rem;
  color: var(--forest);
}
.form-row input, .form-row textarea{
  width: 100%;
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(38,51,41,.2);
  background: var(--white);
}
.form-row textarea{ min-height: 140px; resize: vertical; }
.contact-info{ display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-card{
  background: var(--ivory-deep);
  padding: 1.75rem;
  border-radius: var(--radius-md);
}
.contact-info-card h3{ font-size: 1.1rem; }
.social-row{ display: flex; gap: 1rem; margin-top: .5rem; }
.social-row a{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.social-row a:hover{ background: var(--rose-deep); transform: translateY(-3px); }
.social-row svg{ width: 18px; height: 18px; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

/* ---------- Legal Pages ---------- */
.legal-body{ max-width: 760px; margin: 0 auto; padding: 1rem 0 4rem; }
.legal-body h2{ font-size: 1.4rem; margin-top: 2rem; }
.legal-body p, .legal-body li{ color: var(--ink); }
.legal-body ul{ margin: 0 0 1.2rem 1.3rem; list-style: disc; }
.legal-updated{ font-size: .85rem; color: var(--ink-soft); margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--forest);
  color: rgba(251,247,240,.85);
  padding: 4rem 0 2rem;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(251,247,240,.12);
}
.footer-brand .logo{ color: var(--ivory); }
.footer-brand p{ color: rgba(251,247,240,.65); font-size: .92rem; max-width: 32ch; }
.footer-col h3{
  color: var(--ivory);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a{
  display: block;
  color: rgba(251,247,240,.7);
  font-size: .92rem;
  padding: .35rem 0;
  transition: color .25s var(--ease);
}
.footer-col a:hover{ color: var(--rose); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: .82rem;
  color: rgba(251,247,240,.6);
}
.footer-social{ display: flex; gap: .9rem; }
.footer-social a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(251,247,240,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.footer-social a:hover{ background: var(--rose); border-color: var(--rose); }
.footer-social svg{ width: 16px; height: 16px; color: var(--ivory); }

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}

/* ---------- 404 ---------- */
.error-page{
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem var(--gutter);
}
.error-page .eyebrow{ display: block; }
.error-page h1{ font-size: clamp(3rem, 8vw, 5rem); }

/* ---------- Reveal on scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Back to top ---------- */
.back-to-top{
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 400;
  border: none;
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg{ width: 18px; height: 18px; }

/* ---------- Responsive Typography ---------- */
@media (max-width: 480px){
  body{ font-size: 15px; }
  .container{ padding: 0 1.1rem; }
}
