/* feelSacra Studio — standalone one-pager
   Tokens mirror riverbank-child */

:root {
  --ink-dark: #1F2125;
  --paper: #f5f0e8;
  --paper-dim: rgba(245, 240, 232, 0.62);
  --accent: #8b3a2a;
  --accent-bright: #b14e3a; /* lifted for contrast on dark */
  --hairline: rgba(245, 240, 232, 0.16);
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui: 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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

a { color: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- UI label grammar, lifted from the magazine ---- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 14px;
}

/* ---- Masthead ---- */
.masthead {
  text-align: center;
  padding: 72px 24px 0;
}
.masthead__wordmark { margin: 0; }
.masthead__wordmark img {
  width: min(300px, 72vw);
  height: auto;
  display: block;
  margin: 0 auto;
}
.masthead__wordmark a { text-decoration: none; }
.masthead__sub {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 6px 0 0;
}
.masthead__lang {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 28px;
  display: inline-block;
  border: 2px solid currentColor;
  padding: 5px 9px 4px;
  text-decoration: none;
  line-height: 1;
}
.masthead__lang:hover { color: var(--accent-bright); }

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 88px 0 72px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-bright);
}
.hero p {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--paper-dim);
  max-width: 580px;
  margin: 0 auto;
}

/* ---- Proof band: the magazine's own engraving header ---- */
.proof {
  position: relative;
  height: 300px;
  background-image: url('/wp-content/themes/riverbank-child/assets/headers/territory.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.proof::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(31, 33, 37, 0.55), rgba(31, 33, 37, 0.25) 40%, rgba(31, 33, 37, 0.8));
}
.proof__caption {
  position: relative;
  z-index: 1;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 26px;
  margin: 0;
}
.proof__caption a {
  text-decoration: none;
  border-bottom: 1px solid var(--accent-bright);
  padding-bottom: 2px;
}
.proof__caption a:hover { color: var(--accent-bright); }

/* ---- Services: ledger rows, not cards ---- */
.services { padding: 88px 0 40px; }
.service {
  border-top: 1px solid var(--hairline);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: baseline;
}
.service:last-of-type { border-bottom: 1px solid var(--hairline); }
.service h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.service p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 18px;
}

/* ---- Contact ---- */
.contact {
  text-align: center;
  padding: 88px 0 96px;
}
.contact h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  margin: 0 0 18px;
}
.contact p {
  color: var(--paper-dim);
  max-width: 480px;
  margin: 0 auto 36px;
}
.contact__email {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--paper);
  padding: 15px 34px;
  display: inline-block;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.contact__email:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

/* ---- Footer ---- */
.foot {
  border-top: 1px solid var(--hairline);
  padding: 32px 24px 44px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
}
.foot a { text-decoration: none; border-bottom: 1px solid var(--hairline); }
.foot a:hover { color: var(--paper); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .masthead { padding-top: 52px; }
  .hero { padding: 64px 0 56px; }
  .proof { height: 220px; }
  .services { padding-top: 64px; }
  .service { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }
  .contact { padding: 64px 0 72px; }
}
