/* YHWH Digital Reviews. Ember tokens from yhwhdigital.net, calmer paper for reading. */
:root {
  --bg: #141414; --s1: #1C1C1C; --ink-d: #F4F1EC; --mute-d: #A3A3A3; --line-d: rgba(255,255,255,0.09);
  --paper: #ECEAE6; --card: #F5F3EF; --ink: #171717; --mute: #5A5A5A; --line: rgba(23,23,23,0.14);
  --acc: #F25623; --accT: #C2410C; --onAcc: #141414;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --f: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fm: "Geist Mono", ui-monospace, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--f); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.read { max-width: 68ch; }

/* Header */
.top { background: var(--bg); color: var(--ink-d); border-bottom: 1px solid var(--line-d); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; transition: opacity .2s var(--ease); }
.brand:hover { opacity: .85; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand b { font-weight: 650; letter-spacing: -0.02em; }
.brand small { display: block; font: 11px/1.2 var(--fm); color: var(--mute-d); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; font-size: 14px; color: var(--mute-d); padding: 8px 12px; border-radius: 999px; transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
.nav a:hover { color: var(--ink-d); background: rgba(255,255,255,0.07); }
.nav a:active { transform: scale(.96); }
.nav a[aria-current="page"] { color: var(--ink-d); background: rgba(242,86,35,0.16); }

/* Type */
.kicker { font: 12px/1.3 var(--fm); letter-spacing: .08em; text-transform: uppercase; color: var(--accT); margin: 0 0 12px; }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 18px; text-wrap: balance; }
h2 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 12px; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; margin: 0 0 6px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--mute); margin: 0 0 28px; text-wrap: pretty; }
p { margin: 0 0 16px; text-wrap: pretty; }
.mute { color: var(--mute); }

/* Sections */
.hero { padding: clamp(48px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); }
.band { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.dark { background: var(--bg); color: var(--ink-d); border-top: 0; }
.dark .mute, .dark .lead { color: var(--mute-d); }
.dark .kicker { color: var(--acc); }

/* Buttons */
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-acc { background: var(--acc); color: var(--onAcc); box-shadow: 0 6px 18px -8px rgba(242,86,35,0.6); }
.btn-acc:hover { box-shadow: 0 12px 26px -10px rgba(242,86,35,0.75); }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.dark .btn-line { border-color: var(--line-d); color: var(--ink-d); }
.dark .btn-line:hover { border-color: var(--ink-d); }

/* Upcoming reviews list: a numbered index, not a card grid */
.index { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: n; }
.index li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr auto; gap: 4px 16px; align-items: baseline; padding: 20px 8px; border-bottom: 1px solid var(--line); border-radius: 10px;
  transition: background .25s var(--ease), transform .25s var(--ease); }
.index li:first-child { border-top: 1px solid var(--line); }
.index li:hover { background: var(--card); transform: translateX(4px); }
.index li::before { content: counter(n, decimal-leading-zero); font: 13px var(--fm); color: var(--mute); }
.index p { grid-column: 2; margin: 0; color: var(--mute); font-size: 15px; }
.index h3 { grid-column: 2; margin: 0; }
.tag { grid-column: 3; grid-row: 1; font: 11px/1 var(--fm); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: rgba(242,86,35,0.12); color: var(--accT); white-space: nowrap; }

/* Promise strip */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.promise div { padding-top: 16px; border-top: 2px solid var(--acc); }
.promise p { margin: 0; }

/* Article-style blocks */
.answer { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 0 0 24px; }
.answer strong { display: block; font: 12px var(--fm); letter-spacing: .06em; text-transform: uppercase; color: var(--accT); margin-bottom: 6px; }
.steps { padding-left: 1.2em; margin: 0 0 20px; }
.steps li { margin-bottom: 10px; padding-left: 4px; }
.steps li::marker { color: var(--accT); font-weight: 700; }
.disclose { font-size: 14px; color: var(--mute); border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 24px; }

/* Empty state for client reviews */
.empty { border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: clamp(24px, 4vw, 40px); margin: 8px 0 32px; }
.stars { display: flex; gap: 6px; margin-bottom: 16px; }
.stars span { width: 22px; height: 22px; background: var(--line); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* Footer */
.foot { background: var(--bg); color: var(--mute-d); font-size: 14px; padding: 40px 0; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot a { color: var(--ink-d); text-decoration: none; transition: color .2s var(--ease); }
.foot a:hover { color: var(--acc); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Reserved ad space for later. Fixed height so nothing jumps when ads switch on. Hidden until then. */
.ad-slot { display: none; min-height: 280px; margin: 32px 0; border-radius: 12px; }
.ad-slot.on { display: block; }
.ad-slot.on::before { content: "Advertisement"; display: block; font: 11px var(--fm); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s var(--ease) both; }
  .rise.d2 { animation-delay: .08s; } .rise.d3 { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

@media (max-width: 760px) {
  .promise { grid-template-columns: 1fr; gap: 20px; }
  .index li { grid-template-columns: 34px 1fr; }
  .tag { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 8px; }
  .brand small { display: none; }
  .nav a { padding: 8px 9px; font-size: 13px; }
}
@media (max-width: 420px) { .nav a.hide-sm { display: none; } }

/* Phone header: one line. The logo already links home, so the Reviews tab steps aside. */
.brand b, .nav a { white-space: nowrap; }
.nav { flex-wrap: nowrap; }
@media (max-width: 520px) {
  .brand b { font-size: 15px; }
  .nav a[href="/"] { display: none; }
}
