/* ============================================================
   MARIA TRYTEK — redesign demo
   Warm editorial · sage + terracotta · serif display
   ============================================================ */

:root {
  /* Palette */
  --bg:        #F2F1F0;
  --bg-2:      #E4DDD6;
  --bg-dark:   #2F3133;
  --ink:       #2F3133;
  --ink-soft:  rgba(47,49,51,.78);
  --muted:     rgba(47,49,51,.58);
  --line:      rgba(47,49,51,.12);

  --sage:      #9E9B75;
  --sage-2:    #C7CAAF;
  --sage-3:    #C7CAAF;
  --terra:     #B5776F;
  --terra-2:   #B5776F;
  --cream:     #F2F1F0;
  --gold:      #C9A24B;

  --radius:    18px;
  --radius-lg: 28px;
  --ease:      cubic-bezier(.2,.7,.2,1);

  --font-serif: 'Libre Caslon Display', Georgia, serif;
  --font-serif-strong: 'Libre Caslon Text', 'Libre Caslon Display', Georgia, serif;
  --font-sans:  'Figtree', system-ui, -apple-system, sans-serif;
  --font-script: 'Petit Formal Script', cursive;

  --wrap: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
}

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

::selection { background: var(--terra); color: var(--cream); }

/* ========= Grain + cursor glow ========= */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: .08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(181,119,111,.18), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: blur(20px);
  transition: opacity .3s;
  opacity: .7;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ========= Container ========= */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* ========= Typography ========= */
.h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 120;
}
.h2 em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: .82em;
  color: var(--terra);
  font-variation-settings: 'opsz' 144;
  font-weight: 500;
}
.h2--light { color: var(--cream); }
.h2--light em { color: var(--terra-2); }

.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin-top: 1.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 1rem;
}
.eyebrow .dot {
  display: none;
}
.eyebrow--light { color: var(--sage-3); }
.eyebrow--light .dot { background: var(--terra-2); box-shadow: 0 0 0 4px rgba(181,119,111,.2); }

/* ========= Buttons ========= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: all .3s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--terra);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(47,49,51,.35);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn--dark {
  background: var(--bg-dark);
  color: var(--cream);
}
.btn--dark:hover {
  background: var(--terra);
}
.btn--lg {
  padding: 1.05rem 1.9rem;
  font-size: 1rem;
}
.btn--full { width: 100%; justify-content: space-between; }

/* ========= Announcement bar ========= */
.announce {
  background: var(--bg-dark);
  color: var(--cream);
  overflow: hidden;
  padding: 10px 0;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: relative;
  z-index: 60;
}
.announce__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: announce 40s linear infinite;
  width: max-content;
}
@keyframes announce {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========= Navigation ========= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0;
  padding: 22px 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled {
  background: rgba(242,241,240,.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 12px 40px -12px rgba(47,49,51,.1);
  padding: 16px 56px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  justify-self: start;
}
.nav__logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav__menu {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  justify-self: center;
}
.nav__cta { justify-self: end; }
.nav__menu a {
  font-size: .98rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color .2s;
  padding: 4px 0;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--terra);
  transition: width .3s var(--ease);
}
.nav__menu a:hover { color: var(--terra); }
.nav__menu a:hover::after { width: 100%; }

.nav__cta { padding: .95rem 1.7rem; font-size: .95rem; }

.nav__burger { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: .3s; }
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav__burger.open span:nth-child(2) { transform: rotate(-45deg) translate(4px, -5px); }

@media (max-width: 1100px) {
  .nav { padding: 20px 28px; gap: 18px; }
  .nav.scrolled { padding: 14px 28px; }
  .nav__menu { gap: 1.4rem; }
}

@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__menu { display: none; position: absolute; top: 100%; right: 20px; left: auto; margin-top: 10px; flex-direction: column; align-items: flex-end; text-align: right; background: var(--cream); padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px -20px rgba(47,49,51,.2); gap: .7rem; min-width: 0; width: auto; }
  .nav__menu.open { display: flex; }
  .nav__burger { display: flex; justify-self: end; }
  .nav__cta { display: none; }
}

/* ========= HERO ========= */
.hero {
  position: relative;
  padding: 0 0 18px;
  overflow: clip;
  overflow-clip-margin: 200px;
  min-height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #c7caaf;
  right: -120px;
  top: -120px;
  opacity: .52;
  z-index: 0;
}
.hero__bg { position: absolute; inset: -100px 0 0 0; z-index: 0; pointer-events: none; }
/* Soft warm halo behind portrait — pebble shape, blurred, visible but not hard */
.hero__terracotta-shape {
  display: none;
}
.hero__leaves {
  display: none;
}


@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px, -16px) scale(1.04); }
  66% { transform: translate(-16px, 20px) scale(.98); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 56px 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: stretch;
  flex: 1;
}

.hero__copy { padding-top: 4px; max-width: 600px; align-self: start; }

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 1.1rem 0 1.4rem;
  font-variation-settings: 'opsz' 144;
}
.hero__title em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: .82em;
  white-space: nowrap;
  color: var(--terra);
  font-weight: 400;
}

.hero__lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 1.9rem;
  line-height: 1.6;
}
.hero__lede strong { color: var(--ink); font-weight: 600; }

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__cta .btn--primary { padding: 14px 23px; }
.hero__cta .btn--ghost {
  background: rgba(242,241,240,.65);
  border-color: var(--ink);
  padding: 14px 23px;
}
.hero__cta .btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Hero visual */
.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 460px;
}
.hero__portrait {
  position: absolute;
  inset: 0;
  border-radius: 48% 52% 44% 56% / 55% 42% 58% 45%;
  -webkit-clip-path: inset(0 0 0 0 round 44%);
  clip-path: inset(0 0 0 0 round 44%);
  overflow: hidden;
  z-index: 2;
}
.hero__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: none;
}

@media (min-width: 981px) {
  .hero__inner {
    padding: 10px 50px 0;
    grid-template-columns: 1.02fr .98fr;
    gap: 70px;
  }
  .hero__visual {
    align-self: center;
    height: 650px;
    min-height: 650px;
  }
}

.hero__deco {
  position: absolute;
  width: 270px;
  height: auto;
  right: -120px;
  left: auto;
  bottom: -40px;
  top: auto;
  object-fit: contain;
  opacity: .72;
  mix-blend-mode: multiply;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__terracotta {
  position: absolute;
  inset: 30px 0 0 80px;
  background: #b5776f;
  border-radius: 48% 52% 44% 56% / 55% 42% 58% 45%;
  transform: rotate(-3deg);
  z-index: 1;
}
@keyframes wobble {
  0%,100% { border-radius: 60% 40% 55% 45% / 45% 60% 40% 55%; transform: translateY(0); }
  50% { border-radius: 50% 50% 60% 40% / 55% 45% 50% 50%; transform: translateY(16px); }
}

/* ===== Stats card ===== */
.hero__stats {
  position: absolute;
  left: 56px;
  bottom: 60px;
  background: rgba(242,241,240,.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(242,241,240,.55);
  border-radius: 24px;
  padding: 18px 26px;
  display: grid;
  grid-template-columns: 1.25fr .8fr 1fr 1.2fr;
  gap: 20px;
  align-items: center;
  box-shadow: 0 30px 60px -22px rgba(47,49,51,.15);
  z-index: 6;
  max-width: 680px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stat__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(199,202,175,.16);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat__body { min-width: 0; }
.stat__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__star { color: var(--terra); font-size: 1.1rem; }
.stat__label {
  font-size: .73rem;
  color: var(--ink-soft);
  line-height: 1.35;
  letter-spacing: .005em;
}
.stat__label--big { font-size: .78rem; line-height: 1.4; }
.stat--text .stat__icon { background: rgba(199,202,175,.12); }

/* ===== Review card ===== */
.hero__review {
  position: absolute;
  right: -10px;
  bottom: 60px;
  background: rgba(242,241,240,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(242,241,240,.6);
  border-radius: 18px;
  padding: 18px 22px 14px;
  width: 280px;
  box-shadow: 0 30px 60px -18px rgba(47,49,51,.22);
  z-index: 7;
}
.hero__review-stars {
  display: flex;
  gap: 3px;
  color: var(--terra);
  margin-bottom: 14px;
  letter-spacing: 1px;
  justify-content: center;
}
.hero__review blockquote {
  font-family: var(--font-sans);
  font-size: .94rem;
  line-height: 1.42;
  color: var(--ink-soft);
  margin-bottom: 14px;
  letter-spacing: 0;
  text-align: center;
  font-style: italic;
}
.hero__review figcaption {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}
.hero__review figcaption img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.hero__review figcaption span {
  font-size: .82rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero__review-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.hero__review-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(47,49,51,.18);
  transition: all .3s var(--ease);
}
.hero__review-dots span.active {
  background: var(--terra);
  width: 18px;
  border-radius: 3px;
}

/* ===== Scroll cue ===== */
.hero__scroll {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 5;
  font-weight: 500;
}
.hero__scroll svg { width: 14px; height: 14px; }
.hero__scroll svg { animation: bounce 2.2s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (max-width: 1180px) {
  .hero__stats { left: 28px; max-width: calc(50% + 60px); }
  .hero__review { right: -10px; }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; padding: 20px 28px 0; }
  .hero__visual { max-width: 460px; margin: 0 auto; min-height: 500px; }
  .hero__portrait { min-height: 480px; }
  .hero__stats {
    position: static;
    margin: 30px 28px 0;
    max-width: none;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .hero__review { right: 0; bottom: 40px; width: 280px; }
  .hero__scroll { display: none; }
  .hero__leaves { display: none; }
}

@media (max-width: 600px) {
  .hero__deco { display: none; }
  .hero__stats { grid-template-columns: 1fr; }
  /* Stack portrait and review naturally instead of absolute overlay */
  .hero__visual {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 20px;
  }
  .hero__portrait {
    position: relative;
    inset: auto;
    height: 460px;
    flex-shrink: 0;
  }
  .hero__review {
    position: static;
    width: auto;
    margin: 0;
  }
  /* Smaller logo, tidier nav */
  .nav { padding: 14px 20px; gap: 12px; }
  .nav__logo img { height: 30px; }
  .nav.scrolled { padding: 10px 20px; }
  /* Refined hamburger — soft, gray, elegant */
  .nav__burger {
    width: 44px; height: 44px;
    gap: 6px;
    border: 1px solid rgba(47,49,51,.18);
    border-radius: 50%;
    background: transparent;
    align-items: center;
    transition: border-color .3s var(--ease), background .3s var(--ease);
  }
  .nav__burger:hover { border-color: rgba(47,49,51,.4); background: rgba(242,241,240,.6); }
  .nav__burger span { width: 18px; height: 1px; border-radius: 1px; background: rgba(47,49,51,.55); transition: background .3s var(--ease), transform .3s var(--ease); }
  .nav__burger.open { background: var(--ink); border-color: var(--ink); }
  .nav__burger.open span { background: var(--cream); }
  .nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(2px, 3px); }
  .nav__burger.open span:nth-child(2) { transform: rotate(-45deg) translate(2px, -3px); }
  .hero__terracotta-shape { display: none; }
}

/* ========= Marquee ========= */
.marquee {
  margin-top: 2%;
  background: var(--bg-dark);
  color: var(--cream);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  gap: 2rem;
  animation: scroll 60s linear infinite;
  width: max-content;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  white-space: nowrap;
}
.marquee__track span:nth-child(even) { color: var(--terra-2); font-style: normal; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========= Section base ========= */
.section { padding: 120px 0; position: relative; }
.section__head { max-width: 820px; margin-bottom: 80px; }
.section__head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ========= Filozofia ========= */
.filozofia { padding-bottom: 48px; }
.filozofia__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.filozofia__text { position: sticky; top: 120px; }
.filozofia__pillars {
  display: grid;
  gap: 14px;
}
.pillar {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--terra);
  box-shadow: 0 24px 50px -20px rgba(47,49,51,.2);
}
.pillar__num {
  font-family: var(--font-serif);
  font-size: .85rem;
  color: var(--terra);
  letter-spacing: .2em;
  font-weight: 500;
  margin-bottom: 16px;
}
.pillar h3 {
  font-family: var(--font-serif-strong);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pillar p { color: var(--ink-soft); font-size: .96rem; }

@media (max-width: 900px) {
  .filozofia__grid { grid-template-columns: 1fr; gap: 50px; }
  .filozofia__text { position: static; }
}

/* ========= About ========= */
.about { padding-top: 64px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.about__visual {
  position: sticky;
  top: 100px;
  align-self: start;
  min-height: 620px;
}
.about__imgwrap {
  position: absolute;
  overflow: hidden;
}
.about__imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.about__imgwrap--1 {
  width: 78%;
  height: 560px;
  aspect-ratio: auto;
  top: 0; left: 0;
  border-radius: 220px 220px 20px 20px;
}
.about__imgwrap--2 {
  width: 48%;
  height: 300px;
  aspect-ratio: auto;
  bottom: 0; right: 0;
  border: 12px solid var(--bg);
  border-radius: 12px;
  z-index: 2;
}
.about__imgwrap:hover { transform: none; }

.about__signature {
  display: none;
}
.about__signature svg { width: 180px; height: auto; }
.about__signature span {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: -10px;
  padding-left: 20px;
}

.about__text p { margin-bottom: 1.2rem; color: var(--ink-soft); font-size: 1.05rem; }

.creds {
  margin: 40px 0;
  border-top: 1px solid var(--line);
}
.cred {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cred__year {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--terra);
  font-size: 1.3rem;
  font-weight: 500;
}
.cred strong { display: block; font-weight: 600; margin-bottom: 3px; }
.cred span { color: var(--ink-soft); font-size: .92rem; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__visual { position: relative; top: auto; min-height: 620px; }
}
@media (max-width: 620px) {
  .about__visual { min-height: 480px; }
  .about__imgwrap--1 { height: 440px; }
  .about__imgwrap--2 { height: 210px; }
}

/* ========= Services ========= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(181,119,111,.08), transparent 40%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.service:hover { transform: translateY(-6px); border-color: var(--terra); box-shadow: 0 30px 60px -24px rgba(47,49,51,.22); }
.service:hover::before { opacity: 1; }
.service--wide { grid-column: span 2; background: var(--bg-dark); color: var(--cream); border-color: transparent; }
.service--wide h3, .service--wide .service__desc { color: var(--cream); }
.service--wide .service__list li { color: rgba(242,241,240,.78); border-color: rgba(242,241,240,.12); }
.service--wide .service__section-title { color: var(--cream); }
.service--wide .service__price .from,
.service--wide .service__price .per { color: rgba(242,241,240,.72); }
.service--wide .service__price .amount { color: var(--cream); }
.service--wide .service__price .cur { color: var(--terra-2); }

.service__tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--terra);
  color: var(--cream);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 20px;
}
.service h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service--wide h3 { font-size: 2.2rem; }
.service__desc {
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex: none;
}
.service__section-title {
  color: var(--ink);
  font-weight: 700;
  margin: 12px 0 6px;
}
.service__list {
  list-style: none;
  margin: 8px 0 22px;
  flex: none;
}
.service__list:last-of-type {
  flex: 1;
}
.service__list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem;
  color: var(--ink-soft);
  position: relative;
  padding-left: 22px;
}
.service__list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--terra);
}

.service__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  flex-wrap: wrap;
}
.service__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-serif);
}
.service__price .from {
  font-size: .8rem;
  color: var(--ink-soft);
  margin-right: 4px;
  font-family: var(--font-sans);
}
.service__price .amount {
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
}
.service__price .cur {
  font-size: 1.2rem;
  color: var(--terra);
}
.service__price .per {
  font-size: .85rem;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  margin-left: 6px;
}
.service__price .custom {
  font-style: italic;
  color: var(--sage);
  font-size: 1.1rem;
}

.service--image {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  padding: 0;
  overflow: hidden;
}
.service--image .service__image {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}
.service--image .service__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.service--image:hover .service__image img { transform: scale(1.05); }
.service--image .service__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .service--wide, .service--image { grid-column: auto; }
  .service--image { grid-template-columns: 1fr; }
}

/* ========= Proces / Steps ========= */
.proces { background: var(--bg-dark); color: var(--cream); }
.proces .eyebrow { color: var(--sage-3); }
.proces .eyebrow .dot { background: var(--terra-2); box-shadow: 0 0 0 4px rgba(181,119,111,.2); }
.proces .h2 { color: var(--cream); }
.proces .h2 em { color: var(--terra-2); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  counter-reset: step;
  border-top: 1px solid rgba(242,241,240,.12);
  padding-top: 40px;
}
.step {
  padding: 0 20px;
  border-left: 1px solid rgba(242,241,240,.12);
  position: relative;
  transition: all .4s var(--ease);
}
.step:first-child { border-left: 0; padding-left: 0; }
.step:hover { transform: translateY(-6px); }
.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  color: var(--terra-2);
  margin-bottom: 20px;
  font-weight: 400;
}
.step h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.step p {
  color: rgba(242,241,240,.7);
  font-size: .94rem;
}
.step p + p {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid rgba(242,241,240,.12); padding: 24px 0; }
  .step:first-child { padding-top: 0; }
}

/* ========= Specs ========= */
.specs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.spec {
  padding: 26px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all .4s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.spec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sage-3), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.spec:hover::before { opacity: .6; }
.spec:hover { transform: translateY(-4px); border-color: var(--sage); }
.spec__icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 12px;
  filter: saturate(.9);
  position: relative;
}
.spec strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 4px;
  position: relative;
}
.spec > span {
  display: block;
  color: var(--ink-soft);
  font-size: .85rem;
  position: relative;
}

@media (max-width: 900px) { .specs__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .specs__grid { grid-template-columns: 1fr; } }

/* ========= Pricing ========= */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.plan {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(47,49,51,.22); }
.plan--featured {
  background: var(--bg-dark);
  color: var(--cream);
  border-color: transparent;
  transform: translateY(-12px);
  box-shadow: 0 40px 80px -24px rgba(47,49,51,.4);
}
.plan--featured:hover { transform: translateY(-18px); }
.plan--featured .plan__per,
.plan--featured .plan__old,
.plan--featured .plan__list li { color: rgba(242,241,240,.84); }

.plan__ribbon {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--terra);
  color: var(--cream);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.plan__head { margin-bottom: 28px; }
.plan__badge {
  display: inline-block;
  background: var(--terra);
  color: var(--cream);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 14px;
}
.plan__badge--muted { background: var(--sage); }
.plan__head h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.plan__head p { color: var(--ink-soft); font-size: .92rem; }
.plan--featured .plan__head p { color: rgba(242,241,240,.7); }

.plan__price {
  padding: 20px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 24px;
}
.plan--featured .plan__price { border-color: rgba(242,241,240,.15); }
.plan__amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.plan--featured .plan__amount { color: var(--cream); }
.plan__amount small {
  font-size: 1rem;
  color: var(--terra);
  margin-left: 4px;
  font-weight: 500;
}
.plan__old {
  font-size: .86rem;
  color: var(--ink-soft);
  margin-top: 8px;
  display: block;
}
.plan__per { font-size: .88rem; color: var(--ink-soft); margin-top: 6px; display: block; }

.plan__list {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.plan__list li {
  padding: 8px 0;
  font-size: .93rem;
  color: var(--ink-soft);
}

.pricing__single {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--line);
}
.btn--disabled,
.btn--disabled:hover {
  cursor: not-allowed;
  pointer-events: none;
  opacity: .58;
  transform: none;
  box-shadow: none;
}
.pricing__single h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.pricing__single-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}
.pricing__single ul {
  list-style: none;
}
.pricing__single li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  gap: 12px;
}
.pricing__single li span {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--terra);
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .pricing__single-grid { grid-template-columns: 1fr; column-gap: 0; }
}

/* ========= Reviews ========= */
.testimonials { background: var(--bg-2); }
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  border: 1px solid var(--line);
  transition: all .4s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.review:not(.review--feature) { align-self: start; }
.review::before {
  content: '"';
  position: absolute;
  top: 10px; left: 20px;
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--terra);
  opacity: .15;
  line-height: 1;
}
.review:hover {
  transform: translateY(-4px);
  border-color: var(--terra);
}
.review blockquote {
  font-family: var(--font-serif-strong);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.005em;
  position: relative;
}
.review blockquote p + p { margin-top: 1rem; }
.review blockquote em { color: var(--terra); font-style: italic; }
.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 6px; font-size: .9rem; }
.review strong { font-weight: 600; }
.review figcaption span:last-child { color: var(--ink-soft); font-size: .85rem; }

.review.is-collapsible blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  margin-bottom: 0;
  max-height: none;
  overflow: hidden;
}
.review.is-collapsible blockquote p + p { margin-top: 0; }
.review__toggle {
  align-self: flex-start;
  margin-top: 10px;
  margin-bottom: 18px;
  padding: 0 0 3px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--terra);
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}
.review__toggle:hover { color: var(--ink); }
.review__toggle:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 4px;
}

body.review-modal-open { overflow: hidden; }
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(47,49,51,.62);
  -webkit-backdrop-filter: blur(12px) saturate(.85);
  backdrop-filter: blur(12px) saturate(.85);
  opacity: 0;
  transition: opacity .22s ease;
}
.review-modal[hidden] { display: none; }
.review-modal.is-open { opacity: 1; }
.review-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(36px, 5vw, 58px);
  background: var(--cream);
  border: 1px solid rgba(181,119,111,.32);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -28px rgba(24,25,26,.65);
  transform: translateY(18px) scale(.985);
  transition: transform .28s var(--ease);
}
.review-modal.is-open .review-modal__dialog { transform: translateY(0) scale(1); }
.review-modal__dialog::before {
  content: '“';
  position: absolute;
  top: 20px;
  left: 28px;
  color: var(--terra);
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  opacity: .13;
  pointer-events: none;
}
.review-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(242,241,240,.82);
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.review-modal__close:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--cream);
  transform: rotate(4deg);
}
.review-modal__close:focus-visible { outline: 3px solid rgba(181,119,111,.38); outline-offset: 3px; }
.review-modal__eyebrow {
  display: block;
  margin-bottom: 28px;
  color: var(--terra);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.review-modal__quote {
  position: relative;
  margin-bottom: 30px;
  color: var(--ink);
  font-family: var(--font-serif-strong);
  font-size: 1.06rem;
  line-height: 1.58;
}
.review-modal__quote p + p { margin-top: 1rem; }
.review-modal__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.review-modal__meta .stars { margin-bottom: 5px; color: var(--gold); font-size: .95rem; letter-spacing: 2px; }
.review-modal__meta strong { font-weight: 600; }
.review-modal__meta span:last-child { color: var(--ink-soft); font-size: .86rem; }

@media (max-width: 640px) {
  .review-modal { align-items: end; padding: 12px; }
  .review-modal__dialog { max-height: calc(100vh - 24px); padding: 42px 26px 32px; border-radius: 24px; }
  .review-modal__close { top: 14px; right: 14px; }
  .review-modal__dialog::before { left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .review-modal,
  .review-modal__dialog { transition: none; }
}

.review--feature {
  grid-row: span 2;
  background: var(--bg-dark);
  color: var(--cream);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review--feature blockquote { color: var(--cream); font-size: 1.05rem; line-height: 1.45; }
.review--feature::before { color: var(--terra-2); opacity: .3; }
.review--feature figcaption span:last-child { color: rgba(242,241,240,.6); }

.reviews__more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.reviews__more .btn {
  justify-content: center;
  text-align: center;
  white-space: normal;
}

@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr 1fr; }
  .review--feature { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 640px) {
  .reviews { grid-template-columns: 1fr; }
  .review--feature { grid-column: auto; }
}

/* ========= Blog ========= */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post {
  display: block;
  transition: all .4s var(--ease);
}
.post__img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  transition: all .5s var(--ease);
  filter: saturate(.92);
  position: relative;
  overflow: hidden;
}
.post__img::after {
  content: '→';
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transform: translateX(60px);
  transition: transform .4s var(--ease);
  font-size: 1.1rem;
}
.post:hover .post__img::after { transform: translateX(0); }
.post:hover .post__img { transform: scale(1.01); filter: saturate(1); }
.post__meta {
  display: flex;
  gap: 8px;
  font-size: .78rem;
  color: var(--ink-soft);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post__meta span:first-child { color: var(--terra); font-weight: 500; }
.post h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  transition: color .2s;
}
.post:hover h3 { color: var(--terra); }

@media (max-width: 900px) { .blog__grid { grid-template-columns: 1fr; } }

/* ========= Contact ========= */
.contact { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact__meta { margin-top: 40px; display: grid; gap: 14px; }
.contact__row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.contact__row:hover { border-color: var(--terra); transform: translateX(4px); }
.contact__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  box-shadow: 0 8px 18px -10px rgba(47,49,51,.45);
  flex-shrink: 0;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.contact__ico svg { display: block; stroke-width: 2.1; }
.contact__row:hover .contact__ico { background: var(--terra); color: var(--cream); }
.contact__row > div { min-width: 0; }
.contact__row > div > span { display: block; font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.contact__row strong { display: block; font-size: 1.05rem; font-weight: 500; color: var(--ink); }

.contact__locations { display: grid; gap: 16px; }
.loc {
  background: var(--cream);
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: all .4s var(--ease);
}
.loc:hover { transform: translateY(-4px); border-color: var(--terra); }
.loc__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.loc__city {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.loc__type {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--sage);
  color: var(--cream);
  font-weight: 600;
  border-radius: 999px;
}
.loc strong { font-weight: 600; display: block; margin-bottom: 4px; }
.loc p { color: var(--ink-soft); margin-bottom: 16px; font-size: .94rem; }
.loc a { color: var(--terra); font-weight: 500; font-size: .9rem; }
.loc a:hover { text-decoration: underline; }

.loc--online { background: var(--bg-dark); color: var(--cream); border-color: transparent; }
.loc--online .loc__type { background: var(--terra); color: var(--cream); }
.loc--online p { color: rgba(242,241,240,.7); }
.loc--online a { color: var(--terra-2); }

@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: 50px; } }

/* ========= Component typography refinement ========= */
.stat__num,
.pillar h3,
.service h3,
.service__price .amount,
.step h3,
.spec strong,
.plan__head h3,
.plan__amount,
.pricing__single h3,
.pricing__single li span,
.post h3,
.loc__city {
  font-family: var(--font-serif-strong);
  font-weight: 700;
}

.plan__amount small,
.service__price .cur {
  font-family: var(--font-sans);
  font-weight: 600;
}

.service__price .amount,
.plan__amount,
.pricing__single li span {
  font-family: var(--font-serif-strong);
  font-weight: 400;
}

.contact__row strong { font-weight: 600; }

/* ========= Newsletter ========= */
.newsletter { padding-top: 72px; }
.news {
  background: var(--bg-dark);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.news::before, .news::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .4;
}
.news::before { width: 320px; height: 320px; background: var(--terra); top: -100px; left: -100px; }
.news::after { width: 260px; height: 260px; background: var(--sage-2); bottom: -80px; right: -60px; }
.news__copy { position: relative; z-index: 2; }
.news__copy p { color: rgba(242,241,240,.75); margin-top: 1.2rem; max-width: 45ch; }

.news__form {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: 10px;
  background: rgba(242,241,240,.08);
  padding: 8px;
  border-radius: 26px;
  border: 1px solid rgba(242,241,240,.14);
  backdrop-filter: blur(12px);
}
.news__form input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  min-width: 0;
  background: rgba(242,241,240,.08);
  border: 1px solid rgba(242,241,240,.14);
  border-radius: 999px;
  padding: 16px 22px;
  color: var(--cream);
  font: inherit;
  font-size: 1rem;
  outline: none;
}
.news__form .btn {
  width: 100%;
  justify-content: center;
}
.news__form input:not([type="checkbox"])::placeholder { color: rgba(242,241,240,.5); }
.news__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(242,241,240,.62);
  font-size: .78rem;
  line-height: 1.4;
  padding: 4px 10px;
  cursor: pointer;
}
.news__consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--terra);
}
.news__consent a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.news__consent a:hover { color: #F2F1F0; }

@media (max-width: 900px) {
  .newsletter { padding-top: 56px; }
  .news { grid-template-columns: 1fr; padding: 50px 30px; }
  .news__form { background: transparent; border: 0; padding: 0; }
}

/* ========= Footer ========= */
.footer {
  padding: 80px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer__brand img {
  width: 250px;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
}
.footer__brand p { color: var(--ink-soft); max-width: 320px; font-size: .95rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
  font-weight: 600;
}
.footer__col a { font-size: .95rem; color: var(--ink); transition: color .2s; }
.footer__col a:hover { color: var(--terra); }
.footer__col span { font-size: .88rem; color: var(--ink-soft); }

.footer__base {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .85rem;
  color: var(--ink-soft);
}
.footer__note a { color: var(--terra); }

@media (max-width: 780px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

/* ========= Shop and product pages ========= */
.subpage {
  padding-top: 0;
}
.subpage .nav {
  background: rgba(242,241,240,.94);
  box-shadow: 0 1px 0 var(--line);
}
.subhero {
  min-height: 520px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 92px 0 80px;
  background:
    radial-gradient(circle at 82% 28%, rgba(181,119,111,.22) 0 13%, transparent 13.4%),
    radial-gradient(circle at 77% 63%, rgba(199,202,175,.5) 0 19%, transparent 19.4%),
    linear-gradient(145deg, var(--bg) 0%, #ece5df 100%);
}
.subhero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(47,49,51,.14);
  border-radius: 46% 54% 59% 41%;
  right: 7%;
  top: 18%;
  transform: rotate(14deg);
}
.subhero__inner {
  max-width: 850px;
  position: relative;
  z-index: 2;
}
.subhero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 400;
  text-wrap: balance;
}
.subhero__lede {
  max-width: 680px;
  margin-top: 1.5rem;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
}
.subhero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.subhero--with-media {
  min-height: 650px;
}
.subhero--with-media .container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}
.subhero--with-media .subhero__inner {
  max-width: none;
}
.subhero--with-media .subhero__title {
  font-size: clamp(3rem, 5.5vw, 5.8rem);
}
.subhero__product-media {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0;
}
.subhero__product-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(47,49,51,.18));
}
.subhero__product-media--wide img {
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px -36px rgba(47,49,51,.42);
  filter: none;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: .88rem;
}
.breadcrumbs a:hover { color: var(--terra); }
.shop-intro { padding-bottom: 50px; }
.shop-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 42px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.shop-tab {
  padding: .85rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.35);
  font-weight: 600;
  transition: .25s var(--ease);
}
.shop-tab:hover,
.shop-tab[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.shop-tab:focus-visible { outline: 3px solid rgba(181,119,111,.35); outline-offset: 3px; }
.shop-panel[hidden] { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.48);
  transition: .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.product-card::after {
  content: '';
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(199,202,175,.5);
  position: absolute;
  right: -48px;
  top: -52px;
  transition: transform .4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--terra); box-shadow: 0 24px 55px -30px rgba(47,49,51,.42); }
.product-card:hover::after { transform: scale(1.15); }
.product-card--dark { background: var(--bg-dark); color: var(--cream); border-color: transparent; }
.product-card--dark::after { background: rgba(181,119,111,.7); }
.product-card__type { color: var(--terra); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; margin-bottom: 1rem; }
.product-card--dark .product-card__type { color: var(--terra-2); }
.product-card h2 { font-family: var(--font-serif); font-size: 2rem; line-height: 1.06; font-weight: 400; margin-bottom: 1rem; max-width: 12ch; }
.product-card p { color: var(--ink-soft); margin-bottom: 1.5rem; }
.product-card--dark p { color: rgba(242,241,240,.72); }
.product-card__bottom { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; }
.product-card__price { font-family: var(--font-serif-strong); font-size: 1.55rem; }
.product-card__link { font-weight: 700; color: var(--terra); }
.product-card--dark .product-card__link { color: var(--terra-2); }
.product-card__link:hover { text-decoration: underline; }
.product-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ========= App feature ========= */
.app-feature {
  padding: 92px 0;
  background: var(--bg-2);
  scroll-margin-top: var(--nav-h);
}
.app-feature__card {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 12%, rgba(181,119,111,.28), transparent 36%),
    var(--bg-dark);
  color: var(--cream);
  box-shadow: 0 34px 90px -56px rgba(47,49,51,.95);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.app-feature__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 42px 100px -54px rgba(47,49,51,1);
}
.app-feature__card:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 5px;
}
.app-feature__visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 42px 10px 42px 28px;
}
.app-feature__visual img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 28px 38px rgba(0,0,0,.26));
}
.app-feature__content {
  padding: 72px 72px 72px 24px;
}
.app-feature__content h2 {
  max-width: 10ch;
  margin: 16px 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: .98;
}
.app-feature__content p {
  max-width: 580px;
  color: rgba(242,241,240,.75);
  font-size: 1.08rem;
  line-height: 1.7;
}
.app-feature__content ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
  color: rgba(242,241,240,.9);
}
.app-feature__content li::before {
  content: '✓';
  margin-right: 10px;
  color: var(--terra-2);
  font-weight: 700;
}
.app-feature__content .btn {
  pointer-events: none;
}
.product-section { padding: 100px 0; }
.product-section--soft { background: var(--bg-2); }
.product-section--dark { background: var(--bg-dark); color: var(--cream); }
.product-section--dark .h2 { color: var(--cream); }
.product-section--dark .lede,
.product-section--dark .content-copy p { color: rgba(242,241,240,.74); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .7fr); gap: 80px; align-items: start; }
.product-layout--reverse { grid-template-columns: minmax(300px, .7fr) minmax(0, 1.15fr); }
.product-layout--balanced { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-copy { max-width: 760px; }
.content-copy h2 { font-family: var(--font-serif); font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.04; font-weight: 400; margin-bottom: 1.4rem; }
.content-copy h3 { font-family: var(--font-serif-strong); font-size: 1.35rem; font-weight: 400; margin: 2rem 0 .8rem; }
.content-copy p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.04rem; }
.check-list,
.arrow-list,
.number-list { list-style: none; display: grid; gap: 11px; margin: 1.4rem 0; }
.check-list li,
.arrow-list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--terra); font-weight: 800; }
.arrow-list li::before { content: '→'; position: absolute; left: 0; color: var(--sage); font-weight: 800; }
.product-section--dark .check-list li,
.product-section--dark .arrow-list li { color: rgba(242,241,240,.78); }
.info-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.52);
  border: 1px solid var(--line);
  position: sticky;
  top: 120px;
}
.info-card--dark { background: var(--ink); color: var(--cream); border: 0; }
.info-card__label { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; color: var(--terra); font-weight: 700; }
.info-card h3 { font-family: var(--font-serif); font-size: 2rem; line-height: 1.05; font-weight: 400; margin: .8rem 0; }
.info-card p { color: var(--ink-soft); margin-bottom: 1.3rem; }
.info-card--dark p { color: rgba(242,241,240,.7); }
.info-card--dark .check-list li,
.info-card--dark .arrow-list li { color: rgba(242,241,240,.86); }
.info-card__price { font-family: var(--font-serif-strong); font-size: 2.25rem; margin: 1.4rem 0; }
.info-card .btn { margin-top: .5rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.step-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.42); }
.step-card__num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--terra); }
.step-card h3 { font-family: var(--font-serif-strong); font-size: 1.22rem; font-weight: 400; margin: .5rem 0; }
.step-card p { color: var(--ink-soft); font-size: .96rem; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.offer-card { padding: 32px; border-radius: var(--radius-lg); background: rgba(255,255,255,.5); border: 1px solid var(--line); display: flex; flex-direction: column; }
.offer-card--featured { background: var(--bg-dark); color: var(--cream); transform: translateY(-12px); }
.offer-card__badge { color: var(--terra); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 700; min-height: 1.1rem; }
.offer-card h3 { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; margin: .6rem 0 .2rem; }
.offer-card__tagline { color: var(--ink-soft); min-height: 3rem; }
.offer-card--featured .offer-card__tagline,
.offer-card--featured .check-list li { color: rgba(242,241,240,.72); }
.offer-card__price { font-family: var(--font-serif-strong); font-size: 2rem; margin: 1.4rem 0 .2rem; }
.offer-card__old { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.offer-card--featured .offer-card__old { color: rgba(242,241,240,.5); }
.offer-card .btn { margin-top: auto; }
.notice { padding: 24px 28px; border-left: 3px solid var(--terra); background: rgba(181,119,111,.09); margin-top: 30px; color: var(--ink-soft); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.mini-quote { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.45); }
.mini-quote blockquote { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.45; }
.mini-quote figcaption { margin-top: 1rem; font-weight: 700; color: var(--terra); }
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin-top: 42px;
}
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.48);
}
.faq-item summary {
  position: relative;
  padding: 22px 64px 22px 24px;
  color: var(--ink);
  font-family: var(--font-serif-strong);
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--terra);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  max-width: 780px;
  padding: 0 24px 24px;
  color: var(--ink-soft);
}
.faq-item a {
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-cta { padding: 80px 0; background: var(--terra); color: var(--cream); text-align: center; }
.product-cta h2 { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; font-weight: 400; max-width: 850px; margin: 0 auto 1.4rem; }
.product-cta p { max-width: 620px; margin: 0 auto 1.8rem; color: rgba(242,241,240,.82); }
.product-cta .btn--dark:hover { background: var(--cream); color: var(--ink); }
.shop-empty-note { color: var(--muted); font-size: .9rem; margin-top: 18px; }

body.stripe-modal-open { overflow: hidden; }
.stripe-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(47,49,51,.58);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  opacity: 0;
  transition: opacity .18s ease;
}
.stripe-modal[hidden] { display: none; }
.stripe-modal.is-open { opacity: 1; }
.stripe-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 38px;
  border: 1px solid rgba(181,119,111,.32);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 36px 90px -30px rgba(24,25,26,.7);
  transform: translateY(12px) scale(.985);
  transition: transform .22s var(--ease);
}
.stripe-modal.is-open .stripe-modal__dialog { transform: translateY(0) scale(1); }
.stripe-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  transition: background .2s, color .2s, border-color .2s;
}
.stripe-modal__close:hover {
  border-color: var(--terra);
  background: var(--terra);
  color: var(--cream);
}
.stripe-modal__close:focus-visible,
.stripe-modal__confirm:focus-visible {
  outline: 3px solid rgba(181,119,111,.38);
  outline-offset: 3px;
}
.stripe-modal__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--terra);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.stripe-modal h2 {
  max-width: 12ch;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.45rem);
  font-weight: 400;
  line-height: 1.06;
}
.stripe-modal p { max-width: 34ch; color: var(--ink-soft); }
.stripe-modal__confirm { margin-top: 24px; }

body.stripe-checkout-modal-open { overflow: hidden; }
.stripe-checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(38, 40, 42, .68);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .2s ease;
}
.stripe-checkout-modal[hidden],
.stripe-checkout-modal [hidden] { display: none; }
.stripe-checkout-modal.is-open { opacity: 1; }
.stripe-checkout-modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(900px, calc(100dvh - 44px));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(181,119,111,.3);
  border-radius: 28px;
  background: #f7f5f3;
  box-shadow: 0 42px 110px -34px rgba(18,19,20,.86);
  transform: translateY(14px) scale(.988);
  transition: transform .24s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: rgba(181,119,111,.5) transparent;
}
.stripe-checkout-modal.is-open .stripe-checkout-modal__dialog {
  transform: translateY(0) scale(1);
}
.stripe-checkout-modal__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid rgba(47,49,51,.1);
  background: rgba(247,245,243,.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.stripe-checkout-modal__header > div { flex: 1; min-width: 0; }
.stripe-checkout-modal__product-image {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(47,49,51,.09);
  border-radius: 16px;
  background: #fff;
  object-fit: cover;
}
.stripe-checkout-modal__product-description {
  max-width: 55ch;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.45;
}
.stripe-checkout-modal__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--terra);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.stripe-checkout-modal h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.08;
}
.stripe-checkout-modal__close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  transition: background .2s, border-color .2s, color .2s;
}
.stripe-checkout-modal__close:hover {
  border-color: var(--terra);
  background: var(--terra);
  color: var(--cream);
}
.stripe-checkout-modal__close:focus-visible,
.stripe-checkout-modal__fallback:focus-visible,
.stripe-checkout-modal__done:focus-visible {
  outline: 3px solid rgba(181,119,111,.38);
  outline-offset: 3px;
}
.stripe-checkout-modal__status {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 48px 30px;
  color: var(--ink-soft);
  text-align: center;
}
.stripe-checkout-modal__loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(181,119,111,.2);
  border-top-color: var(--terra);
  border-radius: 50%;
  animation: stripe-checkout-spin .75s linear infinite;
}
@keyframes stripe-checkout-spin {
  to { transform: rotate(360deg); }
}
.stripe-checkout-modal__checkout {
  min-height: 560px;
  padding: 18px 22px 4px;
}
.stripe-checkout-modal__message {
  display: grid;
  min-height: 390px;
  place-items: center;
  align-content: center;
  padding: 55px 32px;
  text-align: center;
}
.stripe-checkout-modal__message h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}
.stripe-checkout-modal__message p {
  max-width: 47ch;
  margin-bottom: 26px;
  color: var(--ink-soft);
}
.stripe-checkout-modal__success-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--cream);
  font-size: 2rem;
}
.stripe-checkout-modal__footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px 17px;
  border-top: 1px solid rgba(47,49,51,.08);
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .035em;
}

.legal { max-width: 900px; }
.legal h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; margin: 2.7rem 0 1rem; }
.legal h3 { font-family: var(--font-serif-strong); font-size: 1.25rem; font-weight: 400; margin: 2rem 0 .7rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin-bottom: 1rem; }
.legal ol, .legal ul { margin: 1rem 0 1rem 1.35rem; display: grid; gap: .55rem; }
.legal-note { padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.45); margin-bottom: 2.5rem; }
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { min-height: 470px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.45); overflow: hidden; transition: .3s var(--ease); }
.blog-card:hover { transform: translateY(-5px); border-color: var(--terra); box-shadow: 0 24px 55px -30px rgba(47,49,51,.42); }
.blog-card__image { height: 230px; overflow: hidden; background: var(--bg-2); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.blog-card__image--top img { object-position: center 30%; }
.blog-card:hover .blog-card__image img { transform: scale(1.035); }
.blog-card__body { display: flex; flex: 1; flex-direction: column; padding: 28px 30px 30px; }
.blog-card__meta { color: var(--terra); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.blog-card h2 { font-family: var(--font-serif); font-size: 2rem; line-height: 1.08; font-weight: 400; margin: 1rem 0; }
.blog-card p { color: var(--ink-soft); margin-bottom: 1.4rem; }
.blog-card .product-card__link { margin-top: auto; }

/* ========= Blog article ========= */
.article-hero {
  padding: 92px 0 54px;
  background: var(--bg-2);
}
.article-hero__inner {
  max-width: 980px;
  margin: 0 auto;
}
.article-hero h1 {
  max-width: 17ch;
  margin: 18px 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: .98;
}
.article-hero__lede {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.15rem;
}
.article-cover {
  width: min(1180px, calc(100% - 48px));
  max-height: 680px;
  margin: 0 auto;
  border-radius: 0 0 36px 36px;
  object-fit: cover;
  object-position: center;
}
.article-body {
  padding: 80px 0 110px;
}
.article-copy {
  width: min(100%, 780px);
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}
.article-copy > p:first-child {
  color: var(--ink);
  font-family: var(--font-serif-strong);
  font-size: 1.35rem;
  line-height: 1.55;
}
.article-copy h2,
.article-copy h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
}
.article-copy h2 {
  margin: 64px 0 20px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.article-copy h3 {
  margin: 42px 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}
.article-copy p + p { margin-top: 18px; }
.article-copy ul {
  margin: 20px 0 26px;
  padding-left: 1.3rem;
}
.article-copy li + li { margin-top: 8px; }
.article-callout {
  margin: 42px 0;
  padding: 28px 30px;
  border: 1px solid rgba(181,119,111,.35);
  border-radius: 24px;
  background: rgba(181,119,111,.08);
  color: var(--ink);
}
.article-back {
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .subpage { padding-top: 0; }
  .subhero { min-height: 440px; padding: 70px 0; }
  .subhero::after { opacity: .35; right: -100px; }
  .subhero--with-media { min-height: 0; }
  .subhero--with-media .container {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .subhero--with-media .subhero__inner { max-width: 850px; }
  .subhero__product-media {
    width: min(680px, 100%);
    margin: 0 auto;
  }
  .subhero__product-media img { max-height: 500px; }
  .product-grid,
  .offer-grid,
  .blog-list { grid-template-columns: 1fr 1fr; }
  .product-layout,
  .product-layout--reverse { grid-template-columns: 1fr; gap: 45px; }
  .info-card { position: static; }
  .steps-grid,
  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .subhero { min-height: 390px; padding: 54px 0 62px; }
  .subhero__title { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .subhero--with-media { padding-bottom: 44px; }
  .subhero--with-media .container { gap: 28px; }
  .subhero__product-media { width: min(100%, 420px); }
  .subhero__product-media img { max-height: 390px; }
  .subhero__product-media--wide img { border-radius: 20px; }
  .shop-tabs { display: grid; grid-template-columns: 1fr; }
  .shop-tab { width: 100%; }
  .product-grid,
  .offer-grid,
  .blog-list { grid-template-columns: 1fr; }
  .product-grid--two { grid-template-columns: 1fr; }
  .app-feature { padding: 64px 0; }
  .app-feature__card {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 28px;
  }
  .app-feature__visual {
    order: 2;
    padding: 8px 10px 12px;
  }
  .app-feature__visual img { max-height: 420px; }
  .app-feature__content {
    order: 1;
    padding: 44px 28px 20px;
  }
  .app-feature__content h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .product-card { min-height: 330px; padding: 25px; }
  .blog-card { min-height: 0; }
  .blog-card__image { height: 220px; }
  .blog-card__body { padding: 24px; }
  .article-hero { padding: 58px 0 38px; }
  .article-cover { width: calc(100% - 28px); border-radius: 0 0 24px 24px; }
  .article-body { padding: 58px 0 80px; }
  .article-copy h2 { margin-top: 48px; }
  .product-section { padding: 72px 0; }
  .offer-card--featured { transform: none; }
  .product-card__bottom { align-items: start; flex-direction: column; }
  .stripe-modal { align-items: end; padding: 12px; }
  .stripe-modal__dialog { padding: 34px 26px 28px; border-radius: 22px; }
  .stripe-checkout-modal {
    align-items: end;
    padding: 8px;
  }
  .stripe-checkout-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 8px);
    border-radius: 22px 22px 14px 14px;
  }
  .stripe-checkout-modal__header {
    gap: 13px;
    padding: 18px 17px 15px;
  }
  .stripe-checkout-modal__product-image {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
  .stripe-checkout-modal__product-description { display: none; }
  .stripe-checkout-modal h2 { font-size: clamp(1.45rem, 7vw, 1.9rem); }
  .stripe-checkout-modal__checkout { min-height: 520px; padding: 8px 5px 0; }
  .stripe-checkout-modal__status,
  .stripe-checkout-modal__message { min-height: 430px; padding-inline: 22px; }
}

/* ========= Reveal animation ========= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .stripe-modal,
  .stripe-modal__dialog,
  .stripe-checkout-modal,
  .stripe-checkout-modal__dialog { transition: none; }
  .stripe-checkout-modal__loader { animation: none; }
}
