/* ==========================================================================
   Pebble Spring Water — Site 2: Heritage / Editorial
   Warm, slow, magazine-feel. Cream paper, forest depth, copper accent.
   ========================================================================== */

:root {
  --ink:        #2a2520;
  --ink-soft:   #5b5249;
  --paper:      #f7f1e6;
  --paper-2:    #efe7d6;
  --cream:      #ede2c8;
  --forest:     #1f3d2b;
  --forest-2:   #355c41;
  --moss:       #6b8a5a;
  --copper:     #b96d3f;
  --copper-2:   #d68654;
  --stone:      #a89880;
  --line:       #ddd1b3;
  --white:      #ffffff;

  --serif:      'Playfair Display', 'EB Garamond', Georgia, serif;
  --sans:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container:  1220px;
  --shadow:     0 18px 60px rgba(31, 61, 43, 0.12);
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--forest); transition: color .2s var(--ease); }
a:hover { color: var(--copper); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--forest);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.65rem; }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; color: var(--ink); }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--copper);
}

.serif-em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- Variant bar ---------- */
.variant-bar {
  background: var(--forest);
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 0.82rem;
}
.variant-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.variant-bar__label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.7rem; color: rgba(255,255,255,0.7); }
.variant-bar__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.variant-bar__links a {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: all .2s ease;
}
.variant-bar__links a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.variant-bar__links a.is-current { background: var(--copper); color: #fff; font-weight: 600; }
.variant-bar__home { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.78rem; }
.variant-bar__home:hover { color: #fff; }

/* ---------- Container ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 241, 230, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 110px; }
.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__brand img { height: 78px; }
@media (max-width: 540px) { .nav__brand img { height: 56px; } }

.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: none; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--forest); margin: 0 auto; position: relative; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--forest);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }

.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav__links a:hover { color: var(--copper); }
.nav__cta { margin-left: 16px; }

@media (max-width: 920px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__links {
    position: fixed; inset: 110px 0 auto 0;
    flex-direction: column; background: var(--paper);
    padding: 24px 32px; gap: 0;
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 16px 0 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  border-radius: 0;
}
.btn--primary { background: var(--copper); color: #fff; border-color: var(--copper); }
.btn--primary:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--forest); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--paper-2 { background: var(--paper-2); }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: rgba(255,255,255,0.9); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: #fff; }
.section--forest .eyebrow { color: var(--copper-2); }

.divider {
  width: 60px; height: 2px; background: var(--copper);
  margin-bottom: 32px;
}
.text-center { text-align: center; }
.text-center .divider { margin-left: auto; margin-right: auto; }

/* ---------- Hero — editorial split ---------- */
.hero {
  padding: clamp(64px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
  background: var(--paper);
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.hero__copy {
  position: relative;
  padding-left: 24px;
}
.hero__copy::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 3px; height: 56px;
  background: var(--copper);
}
.hero__copy h1 {
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero__copy h1 em { font-family: var(--serif); font-style: italic; color: var(--copper); font-weight: 400; }
.hero__copy p { font-size: 1.18rem; line-height: 1.7; max-width: 50ch; color: var(--ink-soft); }

.hero__ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; align-items: center; }
.hero__phone { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--forest); text-decoration: none; }
.hero__phone:hover { color: var(--copper); }

.hero__image-wrap {
  position: relative;
  aspect-ratio: 4/5;
}
.hero__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: -24px -24px 24px 24px;
  border: 2px solid var(--copper);
  z-index: -1;
}
.hero__caption {
  position: absolute;
  bottom: -28px; left: 24px; right: 24px;
  background: var(--paper);
  padding: 16px 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.5;
  border-bottom: 2px solid var(--copper);
}
.hero__caption strong { color: var(--forest); font-style: normal; font-family: var(--sans); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; display: block; margin-bottom: 4px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__image-wrap { max-width: 480px; margin: 0 auto; }
}

/* ---------- 5-stage filtration: vertical timeline ---------- */
.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .process { grid-template-columns: 1fr; gap: 48px; } }

.process__steps { position: relative; padding-left: 36px; }
.process__steps::before {
  content: '';
  position: absolute;
  left: 16px; top: 12px; bottom: 12px;
  width: 1px; background: var(--copper);
  opacity: 0.4;
}
.process-step {
  position: relative;
  margin-bottom: 36px;
}
.process-step::before {
  content: attr(data-num);
  position: absolute;
  left: -36px; top: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
}
.process-step h4 { color: var(--forest); margin-bottom: 6px; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.process-step p { margin-bottom: 0; font-size: 0.97rem; }

/* ---------- Editorial featurettes ---------- */
.featurette {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.featurette--reverse { grid-template-columns: 1fr 1fr; }
.featurette--reverse .featurette__img { order: 2; }
@media (max-width: 900px) {
  .featurette, .featurette--reverse { grid-template-columns: 1fr; }
  .featurette--reverse .featurette__img { order: 0; }
}
.featurette__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.featurette__copy h2 { margin-bottom: 20px; }

/* ---------- Product index ---------- */
.product-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .product-list { grid-template-columns: 1fr; } }

.product-item {
  background: var(--paper);
  padding: 48px 36px;
  text-align: center;
  transition: background .3s var(--ease);
}
.product-item:hover { background: var(--cream); }
.product-item__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--copper);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.product-item h3 { margin-bottom: 10px; font-size: 1.85rem; }
.product-item p { font-size: 0.95rem; max-width: 28ch; margin-inline: auto; }

/* ---------- Editorial stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 48px 0;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-style: italic;
  color: var(--copper-2);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* ---------- Pull quote ---------- */
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.5;
  color: var(--forest);
  max-width: 22ch;
  margin: 0 auto;
  text-align: center;
}
.pullquote::before { content: '"'; display: block; font-size: 4rem; color: var(--copper); line-height: 0.3; margin-bottom: 24px; }
.pullquote__author {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 32px;
  display: block;
}

/* ---------- Image grid ---------- */
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.image-grid__item { aspect-ratio: 3/4; overflow: hidden; box-shadow: var(--shadow); }
.image-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.image-grid__item:hover img { transform: scale(1.04); }
.image-grid__item:nth-child(2) { aspect-ratio: 3/4; transform: translateY(-24px); }
@media (max-width: 800px) { .image-grid { grid-template-columns: 1fr 1fr; } .image-grid__item:nth-child(2) { transform: none; } .image-grid__item:last-child { grid-column: 1 / -1; max-width: 540px; margin-inline: auto; aspect-ratio: 4/3; } }

/* ---------- Editorial blog ---------- */
.editorial-blog {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.blog-item { display: flex; flex-direction: column; }
.blog-item__img { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 24px; }
.blog-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-item:hover .blog-item__img img { transform: scale(1.05); }
.blog-item__date {
  font-family: var(--sans); font-weight: 600;
  font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--copper);
  margin-bottom: 10px;
}
.blog-item h3 { font-size: 1.35rem; margin-bottom: 12px; }
.blog-item p { font-size: 0.95rem; }
.blog-item a.read-more {
  font-family: var(--sans); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--forest);
  text-decoration: none;
  margin-top: auto;
  border-bottom: 1px solid var(--copper);
  display: inline-block;
  padding-bottom: 4px;
  align-self: flex-start;
}
.blog-item a.read-more:hover { color: var(--copper); }
@media (max-width: 900px) { .editorial-blog { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--forest);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.cta-banner__image { aspect-ratio: 4/3; overflow: hidden; }
.cta-banner__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .cta-banner__inner { grid-template-columns: 1fr; } .cta-banner__image { order: -1; } }

/* ---------- Trust badges ---------- */
.trust-row { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 48px; }
.trust-row img { height: 64px; }

/* ---------- Footer ---------- */
.footer {
  background: #14271c;
  color: rgba(255,255,255,0.75);
  padding: 80px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { height: 128px; margin-bottom: 16px; }
.footer__tag { color: rgba(255,255,255,0.7); max-width: 32ch; font-style: italic; font-family: var(--serif); font-size: 1.05rem; }
.footer__col h4 { color: #fff; font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { color: rgba(255,255,255,0.75); font-size: 0.95rem; text-decoration: none; }
.footer__col a:hover { color: var(--copper-2); }
.footer__bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
