/* ==========================================================================
   Rivae Social — global stylesheet
   Palette: tide / coral / dusk / lilac — sampled from the hero photograph
   ========================================================================== */

:root {
  /* Palette sampled from the hero photograph */
  --ink: #2B2839;          /* dusk sky, deepest value  */
  --ink-soft: #544F66;
  --ink-faint: #6E6884;
  --paper: #F8F3F5;        /* pale lilac wash          */
  --paper-warm: #EFE6EC;
  --tide: #3B6873;         /* ocean, primary action    */
  --tide-deep: #2A4B54;
  --tide-light: #9CC0C6;
  --coral: #B44E52;        /* sunset band, accents     */
  --coral-deep: #8E3B3F;
  --haze: #EADFE6;
  --line: #E2D7DE;
  --white: #FFFFFF;

  --font-display: "Bricolage Grotesque", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", monospace;

  --wrap: 1140px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

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

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

a { color: var(--coral-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 99;
}
.skip:focus { left: 0; }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.05rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: 68ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 1.1rem;
  display: block;
}

.lede {
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
  color: var(--ink-soft);
  max-width: 60ch;
}

.small { font-size: 0.9rem; color: var(--ink-faint); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--tide); color: var(--white); }
.btn-primary:hover { background: var(--tide-deep); color: var(--white); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper-warm); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }

/* ---------- Header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px 8px 8px 2px;
  background: linear-gradient(150deg, var(--coral) 0%, var(--tide) 58%, var(--ink) 100%);
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 1.7rem);
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }
.nav a.is-current { color: var(--ink); font-weight: 600; }

.nav .btn { padding: 0.6rem 1.15rem; font-size: 0.9rem; }

.nav-lang {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border-left: 1px solid var(--line);
  padding-left: clamp(0.9rem, 2.2vw, 1.7rem);
}

@media (max-width: 720px) {
  .nav-hide-sm { display: none; }
}

@media (max-width: 560px) {
  .brand { font-size: 1rem; }
  .brand-mark { width: 22px; height: 22px; }
  .nav { gap: 0.7rem; }
  .nav a:not(.btn):not(.nav-lang) { display: none; }
  .nav .btn { padding: 0.55rem 0.95rem; font-size: 0.85rem; }
  .nav-lang { padding-left: 0.7rem; }
}

/* ---------- Sections ---------- */

.band { padding-block: clamp(3.4rem, 8vw, 6.2rem); }
.band-tight { padding-block: clamp(2.4rem, 5vw, 4rem); }
.band-paper { background: var(--paper-warm); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3 { color: var(--white); }
.band-ink .lede { color: #C0B8CE; }
.band-ink a { color: var(--tide-light); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.8rem, 7vw, 5.4rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.hero h1 .accent { color: var(--tide); }

/* ---------- Fact list ---------- */

.facts { list-style: none; margin: 0; padding: 0; }

.facts li {
  display: flex;
  gap: 0.9rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
  max-width: 74ch;
}
.facts li:first-child { border-top: 1px solid var(--line); }

.facts .tick {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.28rem;
  border-radius: 50%;
  background: var(--tide);
  position: relative;
}
.facts .tick::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.band-ink .facts li { border-color: #3C3750; }
.band-ink .facts li:first-child { border-top-color: #3C3750; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  counter-reset: step;
  margin-top: 2.2rem;
}

.step {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--coral);
  display: block;
  margin-bottom: 0.7rem;
}

.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin-top: 2.2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.6vw, 1.9rem);
}

.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Price cards ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1rem, 2.6vw, 1.8rem);
  margin-top: 2.4rem;
}

.price {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
}

.price-featured {
  border-color: var(--ink);
  border-width: 1.5px;
}

.price-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.9rem;
}

.price-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 2.9rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.price-unit {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
  display: block;
  margin-top: 0.5rem;
}

.price ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.8rem;
  font-size: 0.94rem;
}

.price ul li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.62rem;
  color: var(--ink-soft);
}

.price ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--coral);
}

.price .btn { margin-top: auto; align-self: flex-start; }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 2.2rem; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); padding-block: 1.5rem; }

.faq-item h3 { margin-bottom: 0.5rem; }
.faq-item p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ---------- Legal / prose pages ---------- */

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2.4rem; }
.prose h3 { font-size: 1.08rem; margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; color: var(--ink-soft); }
.prose p { color: var(--ink-soft); }
.prose .updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-top: 2.4rem;
}

.dl { margin: 0; }
.dl dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 1.3rem;
}
.dl dd { margin: 0.3rem 0 0; font-size: 1rem; }

/* ---------- CTA band ---------- */

.cta-inner { text-align: center; }
.cta-inner p { margin-inline: auto; }
.cta-inner .btn-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-foot {
  background: var(--ink);
  color: #A79BB2;
  padding-block: clamp(2.6rem, 5vw, 3.6rem);
  font-size: 0.9rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2rem;
}

.site-foot h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.site-foot a { color: #DDD2E0; text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }

.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 0.5rem; }

.foot-bottom {
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #3C3750;
  font-size: 0.82rem;
  color: #9C95B2;
}
.foot-bottom p { max-width: none; margin: 0; }

/* ==========================================================================
   Photo hero — full-bleed calm image with torn-paper statement card
   ========================================================================== */

.photo-hero {
  position: relative;
  min-height: 86svh;
  min-height: 86vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 2.5rem);
}

/* Layer 1 — atmospheric gradient. Used alone if no photo is supplied. */
.photo-hero::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: -3;
  background:
    radial-gradient(120% 80% at 78% 12%, rgba(255, 231, 214, 0.95) 0%, rgba(255, 231, 214, 0) 58%),
    radial-gradient(100% 70% at 18% 8%, rgba(244, 205, 224, 0.9) 0%, rgba(244, 205, 224, 0) 60%),
    linear-gradient(
      178deg,
      #F7DCE7 0%,
      #FAE3D6 22%,
      #F1D5DF 40%,
      #C9DCDA 55%,
      #8FBDB6 70%,
      #6FA5A0 82%,
      #E8DBD1 100%
    );
  animation: heroDrift 26s ease-in-out infinite alternate;
}

/* Layer 2 — optional photo. Drop a file at assets/hero.jpg and it takes over. */
.photo-hero::after {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: -2;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center 58%;
  animation: heroDrift 26s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(0, -1.2%, 0); }
}

/* Layer 3 — scrim so text stays readable over any photo */
.photo-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(43, 40, 57, 0.16) 0%, rgba(43, 40, 57, 0) 26%),
    linear-gradient(0deg, rgba(43, 40, 57, 0.30) 0%, rgba(43, 40, 57, 0) 42%);
  pointer-events: none;
}

.photo-hero-inner {
  width: 100%;
  max-width: 780px;
  text-align: center;
  position: relative;
}

/* The torn paper card */
.torn {
  display: inline-block;
  background: #FCFAF6;
  padding: clamp(1.15rem, 3vw, 1.7rem) clamp(2rem, 6vw, 4.2rem);
  box-shadow: 0 22px 50px -30px rgba(43, 40, 57, 0.55);
  clip-path: polygon(
    0.4% 14%, 4% 5%, 9% 11%, 14% 3%, 20% 9%, 26% 2%, 33% 8%, 40% 1%,
    47% 7%, 54% 0%, 61% 6%, 68% 1%, 75% 8%, 82% 2%, 89% 9%, 95% 4%, 100% 12%,
    99.4% 88%, 96% 96%, 90% 90%, 84% 98%, 77% 91%, 70% 99%, 63% 92%, 56% 100%,
    49% 93%, 42% 100%, 35% 92%, 28% 99%, 21% 91%, 14% 98%, 8% 90%, 3% 96%, 0.6% 86%
  );
}

.torn p {
  margin: 0;
  max-width: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.05rem, 3.4vw, 2rem);
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

.photo-hero-sub {
  margin: clamp(1.6rem, 4vw, 2.4rem) auto 0;
  max-width: 46ch;
  color: #FFFFFF;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.6;
  text-shadow: 0 1px 14px rgba(43, 40, 57, 0.5);
}

.photo-hero .btn-row { justify-content: center; margin-top: 1.6rem; }

.photo-hero .btn-light { box-shadow: 0 10px 30px -16px rgba(43, 40, 57, 0.6); }

.photo-hero .btn-clear {
  background: rgba(255, 255, 255, 0.13);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.55);
}
.photo-hero .btn-clear:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.photo-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 clamp(1.4rem, 3.5vw, 2.1rem);
  text-shadow: 0 1px 10px rgba(43, 40, 57, 0.55);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 3vw, 2rem);
  transform: translateX(-50%);
  width: 1px;
  height: clamp(34px, 5vw, 52px);
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 100%);
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: cueFall 2.4s ease-in-out infinite;
}

@keyframes cueFall {
  0%, 100% { opacity: 0; transform: translateY(-14px); }
  45%      { opacity: 1; transform: translateY(0); }
  70%      { opacity: 0; transform: translateY(4px); }
}

/* Header sits over the photo hero */

@media (max-width: 560px) {
  .torn { padding-inline: 1.5rem; }
}

/* ==========================================================================
   Photo hero — left-aligned variant, for images with a subject on the right
   ========================================================================== */

.photo-hero--left { place-items: center; }

.photo-hero--left .photo-hero-inner {
  max-width: var(--wrap);
  width: 100%;
  text-align: left;
}

.photo-hero--left .photo-hero-copy { max-width: 34rem; }

.photo-hero--left .torn {
  padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1.5rem, 3.2vw, 2.4rem);
}

.photo-hero--left .torn p {
  font-size: clamp(1rem, 2.1vw, 1.55rem);
  line-height: 1.45;
}

.photo-hero--left .photo-hero-sub { margin-left: 0; margin-right: 0; }
.photo-hero--left .btn-row { justify-content: flex-start; }
.photo-hero--left .torn { text-align: left; }

/* Image is already dark — lighten the scrim so it doesn't turn to mud */
.photo-hero--left .photo-hero-scrim {
  background:
    linear-gradient(180deg, rgba(43, 40, 57, 0.34) 0%, rgba(43, 40, 57, 0.06) 34%),
    linear-gradient(90deg, rgba(43, 40, 57, 0.52) 0%, rgba(43, 40, 57, 0.12) 46%, rgba(43, 40, 57, 0) 70%),
    linear-gradient(0deg, rgba(43, 40, 57, 0.30) 0%, rgba(43, 40, 57, 0) 40%);
}

.photo-hero--left::after { background-position: 62% center; }

@media (max-width: 900px) {
  .photo-hero--left::after { background-position: 68% center; }
  .photo-hero--left .photo-hero-scrim {
    background:
      linear-gradient(180deg, rgba(43, 40, 57, 0.40) 0%, rgba(43, 40, 57, 0.10) 40%),
      linear-gradient(0deg, rgba(43, 40, 57, 0.46) 0%, rgba(43, 40, 57, 0) 52%);
  }
  .photo-hero--left .photo-hero-copy { max-width: 100%; }
}

/* ==========================================================================
   Photo hero — image carries the headline (text baked into the artwork)
   ========================================================================== */

/* Screen-reader / crawler text. Present in the DOM, not shown on screen. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.photo-hero--image {
  min-height: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 82svh;
  max-height: 82vh;
  padding: 0;
  display: block;
}

.photo-hero--image::before { display: none; }

.photo-hero--image::after {
  inset: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: center center;
  animation: none;
}

.photo-hero--image .photo-hero-scrim {
  background: linear-gradient(0deg, rgba(43, 40, 57, 0.55) 0%, rgba(43, 40, 57, 0.12) 22%, rgba(43, 40, 57, 0) 40%);
}

.photo-hero--image .photo-hero-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1.4rem, 4vw, 3rem);
}

.photo-hero--image .btn-row {
  margin-top: 0;
  justify-content: flex-start;
}

.photo-hero--image .scroll-cue { display: none; }

/* Mobile: swap to a portrait crop so the baked-in text stays legible */
@media (max-width: 760px) {
  .photo-hero--image {
    aspect-ratio: 1 / 1;
    max-height: none;
  }
  .photo-hero--image::after {
    background-image: var(--hero-image-mobile, var(--hero-image, none));
  }
  .photo-hero--image .btn-row { justify-content: center; }
  .photo-hero--image .photo-hero-actions { text-align: center; }
}

/* ==========================================================================
   Refinements — warmth, depth, and feedback
   ========================================================================== */

/* Cards sit on the page rather than being drawn on it */
.card,
.price {
  border-color: rgba(43, 40, 57, 0.07);
  box-shadow:
    0 1px 2px rgba(43, 40, 57, 0.04),
    0 12px 28px -20px rgba(43, 40, 57, 0.30);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 2px rgba(43, 40, 57, 0.05),
    0 20px 40px -24px rgba(43, 40, 57, 0.38);
}

.price-featured {
  border-color: var(--tide);
  box-shadow:
    0 1px 2px rgba(43, 40, 57, 0.05),
    0 18px 40px -22px rgba(42, 75, 84, 0.40);
}

/* Eyebrow gets a small rule, so labels read as structure not decoration */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.4rem;
  height: 1px;
  margin-right: 0.6rem;
  vertical-align: middle;
  background: var(--coral);
  opacity: 0.55;
}

.photo-hero-eyebrow::before { display: none; }

/* Dark band picks up the foliage tone at its edges */
.band-ink {
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(59, 104, 115, 0.28) 0%, rgba(59, 104, 115, 0) 62%),
    var(--ink);
}

.band-ink .eyebrow { color: var(--tide-light); }
.band-ink .eyebrow::before { background: var(--tide-light); }

/* Section rule carries a warm tint rather than pure grey */
.rule { background: linear-gradient(90deg, var(--line) 0%, var(--haze) 50%, var(--line) 100%); }

/* Buttons: quieter default, clearer hover */
.btn-primary { box-shadow: 0 8px 20px -12px rgba(42, 75, 84, 0.55); }
.btn-primary:hover { box-shadow: 0 12px 26px -12px rgba(42, 75, 84, 0.65); }

.btn-ghost { border-color: rgba(43, 40, 57, 0.18); }
.btn-ghost:hover { border-color: var(--tide); color: var(--tide-deep); }

/* Price bullets in copper to match the eyebrows */
.price ul li::before { background: var(--coral); }

/* Footer warms up */
.site-foot {
  background:
    radial-gradient(80% 60% at 88% 0%, rgba(59, 104, 115, 0.22) 0%, rgba(59, 104, 115, 0) 60%),
    var(--ink);
}

/* Specificity fix: .nav a (0,1,1) was overriding .btn-primary (0,1,0) */
.nav a.btn-primary,
.nav a.btn-primary:hover { color: var(--white); }

.nav a.btn-light,
.nav a.btn-ghost { color: var(--ink); }

/* Small uppercase labels need AA contrast on both paper tones */
.eyebrow,
.step::before,
.price-name { color: var(--coral-deep); }

.eyebrow::before { background: var(--coral-deep); opacity: 0.5; }

/* ==========================================================================
   Hero corrections
   ========================================================================== */

/* 1. Brand mark was a flat white square over the photo. Give it the palette. */

/* 2. The baked-in price line sits at 92–98% height, 28–66% width.
      Lift the buttons clear of it. */
.photo-hero--image .photo-hero-actions { bottom: 13%; }

@media (max-width: 760px) {
  /* mobile crop puts the buttons on the extended panel — no collision there */
  .photo-hero--image .photo-hero-actions { bottom: clamp(1.2rem, 4vw, 2rem); }
}

/* 3. Keep the headline off the very edge on ultra-wide screens */
@media (min-width: 1600px) {
  .photo-hero--image::after { background-size: cover; background-position: 46% center; }
}

/* Mobile: keep the two buttons on one row so they clear the baked-in price line */
@media (max-width: 760px) {
  .photo-hero--image .btn-row {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .photo-hero--image .btn-row .btn {
    padding: 0.7rem 1.05rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .photo-hero--image .photo-hero-actions { bottom: 4%; }
}

/* ==========================================================================
   Light photo hero — pale image, so the chrome inverts to dark
   Card sits at 44–54% height, 34–65% width; actions go below it, centred.
   ========================================================================== */

.photo-hero--light .photo-hero-scrim {
  background:
    linear-gradient(180deg, rgba(248, 243, 245, 0.72) 0%, rgba(248, 243, 245, 0.18) 12%, rgba(248, 243, 245, 0) 24%),
    linear-gradient(0deg, rgba(43, 40, 57, 0.16) 0%, rgba(43, 40, 57, 0) 26%);
}

/* Header: dark chrome over a pale photograph */

/* Actions: centred under the torn card, filled so they hold on a pale photo */
.photo-hero--light .photo-hero-actions { bottom: 24%; }
.photo-hero--light .btn-row { justify-content: center; }

.photo-hero--light .btn-light {
  background: var(--tide);
  color: var(--white);
  box-shadow: 0 10px 26px -14px rgba(42, 75, 84, 0.7);
}
.photo-hero--light .btn-light:hover { background: var(--tide-deep); color: var(--white); }

.photo-hero--light .btn-clear {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border-color: rgba(43, 40, 57, 0.16);
}
.photo-hero--light .btn-clear:hover {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(43, 40, 57, 0.4);
}

@media (max-width: 760px) {
  .photo-hero--light .photo-hero-actions { bottom: 14%; }
  .photo-hero--light .btn-row { flex-wrap: nowrap; gap: 0.5rem; }
  .photo-hero--light .btn-row .btn {
    padding: 0.7rem 1.05rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }
}

/* Single-column intro — replaces the removed comparison widget */
.intro-col { max-width: 46rem; }
.intro-col h2 { max-width: 20ch; }
.intro-col .lede { max-width: 58ch; }

/* Showcase — copy beside the profile mock-up */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.showcase .intro-col { max-width: 38rem; }

.showcase-media { margin: 0; }

.showcase-media {
  display: flex;
  justify-content: center;
}

.showcase-media img {
  width: 100%;
  height: auto;
  max-width: 420px;
  filter: drop-shadow(0 22px 36px rgba(43, 40, 57, 0.14));
}

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

@media (prefers-reduced-motion: reduce) {
  .showcase-media img { transition: none; }
}

/* Hero caption — sits on the torn card baked into the photograph.
   Card occupies x 34.2-65.1%, y 45.1-54.3% on the 16:9 image,
   and x 21.9-76.9%, y 44.1-54.4% on the 1:1 mobile crop. */
.hero-caption {
  position: absolute;
  left: 50%;
  top: 49.7%;
  transform: translate(-50%, -50%);
  width: 29%;
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(0.85rem, 2.15vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 760px) {
  .hero-caption {
    top: 49.2%;
    width: 52%;
    font-size: clamp(0.8rem, 4.1vw, 1.15rem);
  }
}

/* Brand lockup — name over a short descriptor, on every viewport */
.brand { align-items: center; gap: 0.65rem; line-height: 1.15; }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  .brand-name { font-size: 1rem; }
  .brand-tag { font-size: 0.62rem; letter-spacing: 0.08em; }
}
