/* ==========================================================================
   Cactus Editorial — site styles
   Palette: desert sand, saguaro green, red-pen clay, marigold sun.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --sand: #f5ede0;
  --sand-2: #ece0cc;
  --paper: #fffaf2;
  --ink: #1d2a23;
  --ink-2: #4b5a52;
  --line: #e2d4bf;

  --cactus: #2f5d46;
  --cactus-deep: #1e3f2f;
  --cactus-ink: #142a1f;
  --sage: #9fb99a;
  --sage-light: #cddbc8;

  --clay: #b94a29;
  --sun: #e8a93b;
  --sun-light: #f3c977;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgb(29 42 35 / 0.06), 0 2px 6px rgb(29 42 35 / 0.05);
  --shadow-lg: 0 2px 4px rgb(29 42 35 / 0.05), 0 18px 40px -12px rgb(29 42 35 / 0.25);
  --container: 1180px;
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 2.6vw + 1.1rem, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--cactus); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--cactus-deep); }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--cactus-deep);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.8em 1.35em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 0.55em 1.05em; font-size: 0.95rem; }
.btn-large { padding: 1em 1.65em; font-size: 1.06rem; }
.btn-icon { width: 1.15em; height: 1.15em; transition: transform 0.18s ease; }
.btn:hover .btn-icon { transform: translateX(3px); }

.btn-primary { background: var(--cactus); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--cactus-deep); color: var(--paper); box-shadow: 0 10px 22px -10px rgb(30 63 47 / 0.7); }

.btn-ghost { background: transparent; color: var(--ink); border-color: rgb(29 42 35 / 0.22); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: rgb(29 42 35 / 0.4); }

.btn-sun { background: var(--sun); color: var(--cactus-ink); }
.btn-sun:hover { background: var(--sun-light); color: var(--cactus-ink); box-shadow: 0 12px 26px -12px rgb(0 0 0 / 0.5); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(245 237 224 / 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgb(29 42 35 / 0.45);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cactus-deep);
  text-decoration: none;
}
.brand:hover { color: var(--cactus-deep); }
.brand-mark { width: 30px; height: 30px; color: var(--cactus); flex: none; }
.brand-bloom { fill: var(--clay); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-name em { font-style: italic; font-weight: 450; color: var(--cactus); }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  background: linear-gradient(var(--clay), var(--clay)) no-repeat 0 100% / 0 2px;
  padding-bottom: 2px;
  transition: background-size 0.25s ease;
}
.site-nav ul a:hover { background-size: 100% 2px; color: var(--ink); }

@media (max-width: 760px) {
  .site-nav ul { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(6rem, 10vw, 9rem);
  background:
    radial-gradient(42rem 30rem at 88% 8%, rgb(232 169 59 / 0.22), transparent 70%),
    radial-gradient(30rem 24rem at 0% 100%, rgb(159 185 154 / 0.28), transparent 70%),
    var(--sand);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-title {
  font-size: clamp(3rem, 6.2vw + 0.8rem, 5.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 620;
  color: var(--cactus-ink);
  margin-bottom: 1.6rem;
}
.underline-hand {
  font-style: italic;
  font-weight: 500;
  color: var(--cactus);
  padding-bottom: 0.08em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 60 6, 120 4, 180 9 S 270 15, 297 7' fill='none' stroke='%23b94a29' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% 0.22em;
}
.hero-lead {
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.25rem);
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.5rem; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0;
}
.hero-note::before {
  content: "";
  width: 1.6rem; height: 2px;
  background: var(--clay);
  flex: none;
}

.hero-horizon {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(60px, 8vw, 120px);
  z-index: 0;
}
.horizon-back { fill: var(--sand-2); }
.horizon-front { fill: var(--paper); }

/* ---------- Manuscript card ---------- */
.manuscript {
  position: relative;
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgb(226 212 191 / 0.8);
  max-width: 560px;
  justify-self: center;
  width: 100%;
}
@media (min-width: 960px) {
  .manuscript { transform: rotate(1.6deg); }
}
.manuscript-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-2);
}
.manuscript-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.manuscript-bar .dot:first-child { background: #e6a08b; }
.manuscript-bar .dot:nth-child(2) { background: var(--sun-light); }
.manuscript-bar .dot:nth-child(3) { background: var(--sage); }
.manuscript-file {
  font-family: var(--font-mono);
  margin-left: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.manuscript-pill {
  margin-left: auto;
  flex: none;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgb(185 74 41 / 0.1);
  color: var(--clay);
  font-weight: 600;
}
.manuscript-page {
  position: relative;
  padding: 1.6rem 1.6rem 1.4rem 2.6rem;
}
.manuscript-page::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 1.5rem;
  width: 1.5px;
  background: rgb(185 74 41 / 0.28);
}
.manuscript-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.18rem);
  line-height: 2.05;
  color: var(--ink);
  margin: 0 0 1.1rem;
}
.manuscript del {
  color: var(--ink-2);
  text-decoration: none;
  background: linear-gradient(var(--clay), var(--clay)) no-repeat 0 58% / 100% 2px;
}
.manuscript ins {
  font-family: var(--font-hand);
  font-size: 1.42em;
  font-weight: 650;
  line-height: 1;
  color: var(--clay);
  text-decoration: none;
  margin-left: 0.12em;
  display: inline-block;
  transform: translateY(-0.12em) rotate(-2deg);
}
.manuscript sup {
  display: inline-grid;
  place-items: center;
  width: 1.15rem; height: 1.15rem;
  margin-left: 0.1rem;
  border-radius: 50%;
  background: var(--clay);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: super;
}
.manuscript-notes {
  border-top: 1.5px dashed var(--line);
  padding-top: 0.9rem;
}
.manuscript-notes ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: note;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.15rem 1.25rem;
  font-family: var(--font-hand);
  font-size: 1.28rem;
  line-height: 1.3;
  color: var(--clay);
}
.manuscript-notes li { counter-increment: note; display: flex; gap: 0.45rem; align-items: baseline; }
.manuscript-notes li::before {
  content: counter(note);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--clay);
  border-radius: 50%;
  width: 1.1rem; height: 1.1rem;
  display: inline-grid;
  place-items: center;
  flex: none;
  transform: translateY(-0.1rem);
}
.sticky-note {
  position: absolute;
  right: -0.75rem;
  bottom: -1.4rem;
  padding: 0.55rem 1rem 0.65rem;
  background: var(--sun-light);
  color: var(--cactus-ink);
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1.1;
  border-radius: 3px;
  box-shadow: 0 10px 20px -10px rgb(29 42 35 / 0.45);
  transform: rotate(-4deg);
}
@media (max-width: 520px) {
  .sticky-note { right: 0.5rem; }
}

/* Red-pen animation: strike-throughs draw in, then corrections appear. */
@media (prefers-reduced-motion: no-preference) {
  .manuscript del { animation: strike 0.45s ease-out both; }
  .manuscript ins { animation: write 0.4s ease-out both; }
  .manuscript sup, .manuscript-notes li { animation: pop 0.35s ease-out both; }
  .sticky-note { animation: stick 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) 3.2s both; }

  .manuscript del:nth-of-type(1) { animation-delay: 0.6s; }
  .manuscript del:nth-of-type(2) { animation-delay: 1.1s; }
  .manuscript del:nth-of-type(3) { animation-delay: 1.6s; }
  .manuscript del:nth-of-type(4) { animation-delay: 2.1s; }
  .manuscript ins:nth-of-type(1) { animation-delay: 0.85s; }
  .manuscript ins:nth-of-type(2) { animation-delay: 1.35s; }
  .manuscript ins:nth-of-type(3) { animation-delay: 2.35s; }
  .manuscript ins:nth-of-type(4) { animation-delay: 2.6s; }
  .manuscript sup:nth-of-type(1), .manuscript-notes li:nth-child(1) { animation-delay: 0.95s; }
  .manuscript sup:nth-of-type(2), .manuscript-notes li:nth-child(2) { animation-delay: 1.45s; }
  .manuscript sup:nth-of-type(3), .manuscript-notes li:nth-child(3) { animation-delay: 1.9s; }
  .manuscript sup:nth-of-type(4), .manuscript-notes li:nth-child(4) { animation-delay: 2.45s; }
  .manuscript sup:nth-of-type(5), .manuscript-notes li:nth-child(5) { animation-delay: 2.75s; }
}
@keyframes strike { from { background-size: 0 2px; } to { background-size: 100% 2px; } }
@keyframes write {
  from { opacity: 0; transform: translateY(0.2em) rotate(-2deg); }
  to   { opacity: 1; transform: translateY(-0.12em) rotate(-2deg); }
}
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes stick {
  from { opacity: 0; transform: rotate(-12deg) scale(0.8); }
  to   { opacity: 1; transform: rotate(-4deg); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-head-left { text-align: left; margin-inline: 0; }
.section-lead { font-size: 1.15rem; color: var(--ink-2); margin: 0; }

/* Services */
.section-services { background: var(--paper); padding-top: clamp(2.5rem, 5vw, 4rem); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.85rem 1.75rem;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 3.25rem; height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--cactus);
  color: var(--paper);
  margin-bottom: 1.3rem;
}
.card-icon svg { width: 1.9rem; height: 1.9rem; }
.card:nth-child(2) .card-icon { background: var(--clay); }
.card:nth-child(3) .card-icon { background: var(--sun); color: var(--cactus-ink); }
.card h3 { margin-bottom: 0.25rem; }
.card-sub { font-family: var(--font-display); font-style: italic; color: var(--ink-2); font-size: 1.08rem; margin-bottom: 1.2rem; }

.ticks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.6rem; }
.ticks li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.45;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.18em;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: rgb(47 93 70 / 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.2 2.2 4.8-5' fill='none' stroke='%232f5d46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}
.card-best {
  margin: auto 0 0;
  padding-top: 1.1rem;
  border-top: 1.5px dashed var(--line);
  font-size: 0.96rem;
  color: var(--ink-2);
}
.card-best strong { color: var(--ink); }

/* Comparison */
.section-compare { background: var(--sand); }
.compare-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .compare-inner { grid-template-columns: 0.85fr 1.15fr; }
}
.compare-copy p:not(.eyebrow) { color: var(--ink-2); font-size: 1.1rem; }
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.compare-table th, .compare-table td { padding: 0.85rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table thead th {
  background: var(--cactus-deep);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 0;
}
.compare-table thead th:first-child { text-align: left; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage-light); }
.compare-table tbody th { text-align: left; font-weight: 500; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody tr:nth-child(even) { background: rgb(245 237 224 / 0.5); }
.compare-table .yes {
  display: inline-grid;
  place-items: center;
  width: 1.7rem; height: 1.7rem;
  border-radius: 50%;
  background: var(--cactus);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.9rem;
}
.compare-table .no { color: #a99a84; font-weight: 600; }
@media (max-width: 560px) {
  .compare-table { min-width: 0; }
  .compare-table th, .compare-table td { padding: 0.7rem 0.55rem; }
  .compare-table tbody th { font-size: 0.95rem; padding-left: 0.9rem; }
  .compare-table thead th { font-size: 0.92rem; }
  .compare-table thead th:first-child { font-size: 0.72rem; padding-left: 0.9rem; }
  .compare-table .yes { width: 1.5rem; height: 1.5rem; font-size: 0.8rem; }
}

/* What we edit */
.section-kinds { background: var(--paper); }
.kinds {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.kinds li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--line);
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.kinds li::before {
  content: "";
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--cactus);
}
.kinds li:nth-child(3n + 2)::before { background: var(--clay); }
.kinds li:nth-child(3n)::before { background: var(--sun); }
.kinds li:hover { background: var(--sand-2); border-color: #d4c3a8; }

/* Process */
.section-process {
  background:
    radial-gradient(40rem 26rem at 100% 0%, rgb(232 169 59 / 0.12), transparent 70%),
    var(--cactus-deep);
  color: var(--sand);
}
.section-process .eyebrow { color: var(--sun-light); }
.section-process h2 { color: var(--paper); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 2.25rem 2rem;
}
.step { position: relative; }
.step-num {
  display: grid;
  place-items: center;
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  border: 2px solid var(--sun);
  color: var(--sun-light);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  background: var(--cactus-deep);
  position: relative;
  z-index: 1;
}
@media (min-width: 1080px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.6rem;
    left: 3.9rem;
    right: -1.4rem;
    border-top: 2px dashed rgb(232 169 59 / 0.35);
  }
}
.step h3 { color: var(--paper); font-size: 1.3rem; }
.step p { color: var(--sage-light); margin: 0; }

/* Testimonial */
.section-quote { background: var(--sand); }
.quote { margin: 0 auto; max-width: 860px; text-align: center; }
.quote-mark { width: 3.25rem; height: auto; margin: 0 auto 1.5rem; fill: var(--clay); }
.quote blockquote { margin: 0 0 1.75rem; }
.quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.5rem, 2.1vw + 1rem, 2.35rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--cactus-ink);
  margin: 0;
}
.redacted {
  display: inline-block;
  background: var(--ink);
  color: transparent;
  border-radius: 3px;
  line-height: 1;
  padding: 0.08em 0.15em;
  transform: translateY(0.05em) rotate(-0.6deg);
  user-select: none;
}
.quote figcaption {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.quote figcaption::before { content: ""; width: 2rem; height: 2px; background: var(--clay); }

/* FAQ */
.section-faq { background: var(--paper); }
.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 4rem; }
@media (min-width: 900px) {
  .faq-inner { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .faq-inner .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 550;
  color: var(--cactus-ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%232f5d46' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 0.95rem no-repeat;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.faq-list summary:hover::after { background-color: var(--sand-2); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 3rem 1.4rem 0.25rem; margin: 0; color: var(--ink-2); max-width: 62ch; }

/* Contact CTA */
.section-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(36rem 22rem at 50% 0%, rgb(255 250 242 / 0.08), transparent 70%),
    var(--cactus);
  color: var(--paper);
  text-align: center;
}
.cta-inner { position: relative; }
.cta-cactus {
  position: absolute;
  right: -1rem;
  bottom: calc(-1 * clamp(4rem, 8vw, 7rem));
  width: clamp(140px, 18vw, 240px);
  height: auto;
  color: var(--paper);
  opacity: 0.07;
  pointer-events: none;
}
.section-cta h2 { color: var(--paper); max-width: 17ch; margin-inline: auto; font-size: clamp(2.1rem, 3.4vw + 1rem, 3.5rem); }
.section-cta > .container > p { color: var(--sage-light); font-size: 1.18rem; max-width: 36em; margin: 0 auto 2.25rem; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.link-button {
  background: none;
  border: 0;
  padding: 0.25rem;
  font: inherit;
  font-size: 0.98rem;
  color: var(--sage-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.link-button:hover { color: var(--paper); }
.email-reveal {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.6rem 0.6rem 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgb(20 42 31 / 0.45);
  border: 1px solid rgb(255 250 242 / 0.18);
}
.email-reveal[hidden] { display: none; }
.email-text { font-family: var(--font-mono); font-size: 1rem; color: var(--paper); user-select: all; }
.copy-button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: var(--paper);
  color: var(--cactus-deep);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.copy-button:hover { background: var(--sun-light); }
.email-noscript { color: var(--sage-light); margin: 0; }
.reversed { unicode-bidi: bidi-override; direction: rtl; font-family: var(--font-mono); color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cactus-ink); color: var(--sage-light); padding: 2.5rem 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.footer-inner p { margin: 0; font-size: 0.93rem; }
.brand-footer, .brand-footer:hover { color: var(--paper); }
.brand-footer .brand-mark { color: var(--sage); }
.brand-footer .brand-name em { color: var(--sage-light); }
.footer-tag { font-family: var(--font-display); font-style: italic; }

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0 5rem;
}
.notfound-cactus { width: 110px; height: auto; margin: 0 auto 1.5rem; color: var(--cactus); }
.notfound-cactus .brand-bloom { fill: var(--clay); }
.notfound h1 { font-size: clamp(2.4rem, 4vw + 1rem, 4rem); color: var(--cactus-ink); }
.notfound p { color: var(--ink-2); font-size: 1.15rem; max-width: 30em; margin: 0 auto 2rem; }
.notfound .code { font-family: var(--font-hand); font-size: 1.6rem; color: var(--clay); margin-bottom: 0.25rem; }

/* ---------- Print ---------- */
@media print {
  .site-header, .hero-horizon, .sticky-note, .cta-cactus { display: none; }
  body, .section, .hero, .section-process, .section-cta { background: #fff !important; color: #000 !important; }
  .card:hover { transform: none; box-shadow: none; }
}
