/* Prana Products — landing page styles (v2, brand guide applied) */
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-display-latin-var.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --warm-white: #FAF9F6;      /* page background */
  --white: #ffffff;           /* product card image wells */
  --stone: #ECE7DF;           /* section backgrounds */
  --sage: #6E8162;            /* brand accent (decorative, borders, large type) */
  --sage-dark: #5E7053;       /* buttons + small accent text: 5.4:1 with white, 5.1:1 on warm white */
  --sage-deeper: #4E5E44;     /* hover, and accent text on stone */
  --sage-light: #93A08B;      /* decorative only */
  --charcoal: #2D2D2D;        /* text */
  --muted: #5F5F5F;           /* secondary text, 5.2:1 on stone */
  --line: #D8D8D8;            /* borders */
  --radius: 4px;
  --container: 1240px;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--charcoal); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 56px; width: auto; }
@media (min-width: 900px) { .site-header__inner { height: 88px; } .brand img { height: 64px; } }
@media (max-width: 420px) { .site-header .container { padding: 0 18px; } .site-header__inner { height: 68px; } .brand img { height: 34px; } }
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--charcoal);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav a:hover { border-bottom-color: var(--sage); }
@media (max-width: 420px) { .nav { gap: 14px; } .nav a { font-size: 0.6875rem; letter-spacing: 0.08em; } }

/* Shared type */
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 16px;
}
.section-title { font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; }
.section-lead { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; max-width: 36rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--sage-dark); transition: background-color .2s, color .2s;
}
.btn--dark { background: var(--sage-dark); color: var(--white); }
.btn--dark:hover { background: var(--sage-deeper); border-color: var(--sage-deeper); }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--white); }

/* Hero: owner's banner (with its own baked-in headline) shown whole, site copy below it */
.hero { background: var(--stone); padding-bottom: 56px; }
.hero__media { margin: 0 auto; max-width: 1040px; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 970 / 600; }
.hero__text { padding-top: 40px; }
.hero .eyebrow { color: var(--sage-deeper); }
.hero__title {
  font-family: var(--font-head); font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em;
}
.hero__title, .section-title { text-wrap: balance; }
.hero__lead { margin-top: 20px; font-size: 1.0625rem; color: var(--muted); max-width: 32rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 900px) {
  .hero { padding: 40px 0 72px; }
  .hero__media { padding: 0 40px; box-sizing: content-box; }
  .hero__media img { border-radius: var(--radius); }
  .hero__text { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-top: 56px; max-width: 1120px; }
  .hero__lead { margin-top: 0; }
}

/* Shop */
.shop { padding: 112px 0 48px; }
.section-head { margin-bottom: 56px; }
.category { margin-bottom: 88px; }
.category__head {
  display: grid; gap: 0; margin-bottom: 40px; background: var(--stone); border-radius: var(--radius); overflow: hidden;
}
.category__media img { width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; }
.category__intro { padding: 28px 24px 32px; }
@media (min-width: 900px) {
  .category__head { grid-template-columns: 1fr 1fr; align-items: center; }
  .category__intro { padding: 48px 56px; }
}
.category__title { font-family: var(--font-head); font-size: 1.75rem; font-weight: 400; margin-bottom: 10px; }
.category__text { color: var(--muted); text-wrap: pretty; font-size: 0.9375rem; max-width: 30rem; }

.grid { display: grid; gap: 40px 28px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { display: flex; flex-direction: column; }
.card__media {
  position: relative; display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.card__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.card__media:hover img { transform: scale(1.03); }
.card__alt { display: none; }
@media (hover: hover) and (pointer: fine) {
  .card__alt { display: block; position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .45s ease, transform .5s ease; }
  .card:hover .card__alt, .card__media:focus-visible .card__alt { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .card__media img, .card__alt { transition: none; } }
.card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding-top: 22px; }
.card__title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 400; line-height: 1.35; }
.card__text { margin: 8px 0 22px; color: var(--muted); font-size: 0.9375rem; flex: 1; }

/* About */
.about { background: var(--stone); padding: 112px 0; }
.about .eyebrow { color: var(--sage-deeper); }
.about__logo { width: 200px; height: auto; margin: 0 auto 44px; }
.about__inner { max-width: 880px; text-align: center; }
.about__quote {
  font-family: var(--font-head); font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 400; line-height: 1.2; text-wrap: balance;
}
.about__body { margin: 32px auto 0; max-width: 40rem; color: var(--muted); font-size: 1.125rem; }
.about__body p + p { margin-top: 16px; }
.about__amazon { color: var(--charcoal); }

/* Contact */
.contact { padding: 112px 0; }
.contact__inner { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact__inner { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.contact__links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact__email { white-space: nowrap;
  font-family: var(--font-head); font-size: clamp(1.2rem, 2.8vw, 1.875rem); font-weight: 400;
  text-decoration: none; border-bottom: 1px solid var(--sage); line-height: 1.3;
}
.link-arrow { margin-top: 18px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; color: var(--sage-dark); border-bottom: 1px solid var(--line); }
.link-arrow:hover { border-bottom-color: var(--sage-dark); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 56px; }
.brand--footer img { width: 160px; height: auto; }
.site-footer__inner { display: grid; gap: 20px; }
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer__legal { grid-column: 1 / -1; }
  .footer-nav { justify-self: end; }
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--charcoal); }
.site-footer__legal { font-size: 0.75rem; color: var(--muted); max-width: 52rem; }
