/* ============================================================
   VIAYAAM — design system
   Warm, editorial, photography-led. No black, no hover-only UI.
   Palette: cream / sand / terracotta / deep green / warm ink
   ============================================================ */

:root {
  --cream: #f8f3ea;
  --cream-2: #f3ecdf;
  --sand: #ede3d0;
  --sand-deep: #e0d3ba;
  --terracotta: #bc5b38;
  --terracotta-deep: #9a4526;
  --green: #2f4a3c;
  --green-soft: #587263;
  --ink: #33291f;
  --ink-soft: #6d5f4e;
  --line: #e2d7c3;
  --white: #fffdf8;
  --shadow: 0 18px 50px -22px rgba(51, 41, 31, 0.35);
  --radius: 18px;
  --radius-lg: 26px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", Arial, sans-serif;
  --header-h: 74px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: var(--terracotta); text-decoration: none; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.wrap-wide { width: min(1380px, 95vw); margin: 0 auto; }

/* ---------- typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.display-xl { font-size: clamp(2.7rem, 7.2vw, 5.4rem); }
.display-lg { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.display-md { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }

.serif-i { font-family: var(--font-display); font-style: italic; font-weight: 420; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--terracotta);
  display: inline-block;
}

.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink-soft); max-width: 58ch; }
.muted { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--terracotta); color: var(--white); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--terracotta-deep); color: var(--white); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--green); color: var(--white); }
.btn-ghost { color: var(--green); font-weight: 700; padding: 0.85rem 0.4rem; border-bottom: 2px solid var(--sand-deep); border-radius: 0; }
.btn-ghost:hover { border-bottom-color: var(--terracotta); }
.btn svg { flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 243, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 560;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.logo em { color: var(--terracotta); font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }
.main-nav a.active { color: var(--terracotta); border-bottom-color: var(--terracotta); }

.header-social { display: flex; align-items: center; gap: 0.55rem; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--green);
  transition: background 0.25s ease, color 0.25s ease;
}
.icon-btn:hover, .icon-btn:focus-visible { background: var(--terracotta); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.6rem 4vw 1.4rem;
    transform: translateY(-115%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow);
  }
  .nav-open .main-nav { transform: translateY(0); }
  .main-nav a { width: 100%; padding: 0.8rem 0; font-size: 1.08rem; border-bottom: 1px solid var(--line); }
  .main-nav a.active { border-bottom-color: var(--terracotta); }
  .header-social .hide-m { display: none; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--green);
  color: var(--cream-2);
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer .logo { color: var(--cream); font-size: 1.8rem; }
.site-footer .logo em { color: var(--sand-deep); }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand-deep);
  margin-bottom: 1rem;
}
.site-footer a { color: var(--cream-2); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links { list-style: none; display: grid; gap: 0.55rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.site-footer .icon-btn { background: rgba(255, 253, 248, 0.12); color: var(--cream); }
.site-footer .icon-btn:hover { background: var(--terracotta); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(248, 243, 234, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.86rem;
  color: rgba(243, 236, 223, 0.75);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section-tight { padding: clamp(2.2rem, 5vw, 4rem) 0; }
.section-sand { background: var(--sand); }
.section-green { background: var(--green); color: var(--cream-2); }
.section-green h2, .section-green h3 { color: var(--cream); }
.section-green .lead, .section-green .muted { color: rgba(243, 236, 223, 0.85); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head .row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }

/* ---------- media primitives ---------- */
.ph {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-deep);
  position: relative;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-tall { aspect-ratio: 2 / 3; }
.ph-portrait { aspect-ratio: 3 / 4; }
.ph-square { aspect-ratio: 1 / 1; }
.ph-wide { aspect-ratio: 16 / 10; }

/* reel card: video with poster, always-visible play badge */
.reel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--green);
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
  display: block;
}
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(248, 243, 234, 0.92);
  color: var(--terracotta-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(51, 41, 31, 0.5);
  transition: transform 0.25s ease;
  pointer-events: none;
}
.reel:active .play { transform: translate(-50%, -50%) scale(0.92); }
.reel .tag {
  position: absolute;
  left: 12px; bottom: 12px; right: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
  text-shadow: 0 2px 12px rgba(51, 41, 31, 0.75);
  pointer-events: none;
}
.reel::after {
  content: "";
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(to top, rgba(47, 42, 31, 0.55), transparent);
  pointer-events: none;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  overflow: clip;
  background: var(--sand);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  min-height: calc(100svh - var(--header-h));
}
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero-copy .socials { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.hero-copy .socials .handle { font-weight: 700; color: var(--green); font-size: 0.95rem; }
.hero-media { position: relative; }
.hero-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 15;
  max-height: 76svh;
  margin-inline: auto;
  box-shadow: var(--shadow);
  background: var(--green);
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: none;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-1 { width: 170px; aspect-ratio: 3/4; left: -60px; bottom: 8%; transform: rotate(-5deg); }
.hero-card-2 { width: 150px; aspect-ratio: 3/4; right: -46px; top: 10%; transform: rotate(4deg); }
@media (min-width: 1100px) { .hero-card { display: block; } }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 2rem; min-height: 0; }
  .hero-video { max-width: 420px; }
}
.mute-toggle {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(248, 243, 234, 0.92);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* stat / trust strip */
.strip { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: center; justify-content: space-between; }
.stat b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 520; color: var(--green); display: block; line-height: 1.1; }
.stat span { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* quick nav cards */
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.nav-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
}
.nav-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.nav-card:hover img { transform: scale(1.04); }
.nav-card .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(to top, rgba(47, 42, 31, 0.72), transparent);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6rem;
}
.nav-card .label h3 { color: var(--white); font-size: 1.5rem; }
.nav-card .label small { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; opacity: 0.85; }
.nav-card .arrow {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(248, 243, 234, 0.94);
  color: var(--terracotta-deep);
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 760px) { .card-row { grid-template-columns: 1fr; } .nav-card { aspect-ratio: 4/3; } }

/* reel shelf (horizontal scroll on mobile) */
.reel-shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 880px) {
  .reel-shelf {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.9rem;
    padding-bottom: 0.8rem;
    margin-inline: -4vw;
    padding-inline: 4vw;
  }
  .reel-shelf .reel { flex: 0 0 62vw; max-width: 260px; scroll-snap-align: start; }
}

/* editorial split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .copy { display: grid; gap: 1.3rem; justify-items: start; }
.split-rev .media { order: 2; }
@media (max-width: 830px) {
  .split { grid-template-columns: 1fr; }
  .split-rev .media { order: 0; }
}
.stack { position: relative; }
.stack .ph-main { width: 86%; }
.stack .ph-over {
  position: absolute;
  width: 46%;
  right: 0; bottom: -9%;
  border: 6px solid var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.section-sand .stack .ph-over { border-color: var(--sand); }
.stack .ph-over img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }

/* marquee-ish quote band */
.quote-band { text-align: center; display: grid; gap: 1.4rem; justify-items: center; }
.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 440;
  line-height: 1.3;
  max-width: 22ch;
  color: var(--cream);
}
.quote-band cite { font-style: normal; font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand-deep); }

/* ---------- about ---------- */
.page-hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.page-hero .inner { display: grid; gap: 1.4rem; max-width: 62ch; }

.timeline { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.tl-item { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.tl-item:nth-child(even) .tl-media { order: 2; }
.tl-copy { display: grid; gap: 0.9rem; }
.tl-copy .num { font-family: var(--font-display); font-style: italic; color: var(--terracotta); font-size: 1.1rem; }
@media (max-width: 830px) {
  .tl-item, .tl-item:nth-child(even) .tl-media { grid-template-columns: 1fr; order: 0; }
}

.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.cred {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.cred b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 540; }
.cred small { color: var(--ink-soft); }
@media (max-width: 760px) { .cred-grid { grid-template-columns: 1fr; } }

/* ---------- classes ---------- */
.course-hero {
  background: var(--green);
  color: var(--cream-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.course-hero .copy { padding: clamp(2rem, 4.5vw, 4rem); display: grid; gap: 1.3rem; align-content: center; justify-items: start; }
.course-hero h1, .course-hero h2 { color: var(--cream); }
.course-hero .media { min-height: 320px; }
.course-hero .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 830px) { .course-hero { grid-template-columns: 1fr; } .course-hero .media { order: -1; max-height: 340px; } }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(248, 243, 234, 0.14);
  border: 1px solid rgba(248, 243, 234, 0.3);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cream-2);
}
.section .pill { background: var(--sand); border-color: var(--sand-deep); color: var(--green); }

.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.module {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}
.module .mod-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--terracotta);
}
.module h3 { font-size: 1.25rem; }
.module ul { margin: 0.3rem 0 0 1.1rem; color: var(--ink-soft); display: grid; gap: 0.3rem; }
@media (max-width: 760px) { .module-grid { grid-template-columns: 1fr; } }

.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.format {
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  background: var(--cream-2);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.6rem;
  align-content: start;
  justify-items: start;
}
.format .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--green);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 760px) { .format-grid { grid-template-columns: 1fr; } }

.pose-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 830px) {
  .pose-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 0.9rem; margin-inline: -4vw; padding-inline: 4vw; padding-bottom: 0.8rem;
  }
  .pose-row .reel { flex: 0 0 58vw; max-width: 240px; scroll-snap-align: start; }
}

.placeholder-note {
  border: 1.5px dashed var(--sand-deep);
  background: rgba(237, 227, 208, 0.5);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.placeholder-note b { color: var(--terracotta-deep); }

/* ---------- gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--sand-deep);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.filter-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }

.masonry { columns: 4 240px; column-gap: 1.1rem; }
.masonry > * { break-inside: avoid; margin-bottom: 1.1rem; }
.m-item { position: relative; border-radius: var(--radius); overflow: hidden; display: block; width: 100%; border: none; padding: 0; cursor: pointer; background: var(--sand-deep); }
.m-item img { width: 100%; display: block; }
.m-item .cap {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(248, 243, 234, 0.92);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.m-item .play-sm {
  position: absolute;
  right: 10px; top: 10px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(248, 243, 234, 0.94);
  color: var(--terracotta-deep);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  box-shadow: 0 8px 22px -8px rgba(51, 41, 31, 0.5);
}
.m-item.hidden { display: none; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(41, 33, 24, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox .lb-media { max-width: min(92vw, 520px); max-height: 90svh; display: flex; align-items: center; justify-content: center; }
.lightbox img.lb-photo { max-width: 92vw; max-height: 88svh; width: auto; border-radius: 12px; }
.lightbox video { max-height: 88svh; max-width: 92vw; border-radius: 12px; background: #1d1812; }
.lb-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(248, 243, 234, 0.14);
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: var(--terracotta); }

/* ---------- journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.post .ph { border-radius: 0; }
.post .body { padding: 1.5rem 1.5rem 1.7rem; display: grid; gap: 0.6rem; align-content: start; }
.post .meta { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.post h3 { font-size: 1.3rem; }
@media (max-width: 830px) { .journal-grid { grid-template-columns: 1fr; } }

.limb-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 830px) { .limb-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 830px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: transform 0.25s ease;
}
.contact-card:active { transform: scale(0.985); }
.contact-card .ico {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sand);
  color: var(--green);
}
.contact-card.ig .ico { background: #fbe8de; color: var(--terracotta-deep); }
.contact-card b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 540; display: block; }
.contact-card small { color: var(--ink-soft); }

.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.9rem; color: var(--green); }
.form input, .form textarea, .form select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1.5px solid var(--sand-deep);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
  border-color: transparent;
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); }

/* big CTA band */
.cta-band {
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 4rem);
  display: grid;
  gap: 1.3rem;
  justify-items: center;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .btn-solid { background: var(--white); color: var(--terracotta-deep); }
.cta-band .btn-solid:hover { background: var(--cream-2); color: var(--terracotta-deep); }
.cta-band .btn-outline { border-color: rgba(255, 253, 248, 0.7); color: var(--white); }
.cta-band .btn-outline:hover { background: rgba(255, 253, 248, 0.16); color: var(--white); }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
