:root {
  --bg: #f3eee6;
  --bg-deep: #e7dfd4;
  --paper: #fbf7f2;
  --ink: #241c16;
  --muted: #6f675f;
  --line: #ddd3c6;
  --sage: #34584f;
  --sage-deep: #243f39;
  --sage-soft: #e5f0eb;
  --clay: #c98f6b;
  --danger: #8d3b32;
  --ok: #1f6b45;
  --shadow: 0 1px 2px rgba(36, 28, 22, 0.04), 0 18px 40px rgba(36, 28, 22, 0.06);
  --shadow-lift: 0 2px 4px rgba(36, 28, 22, 0.05), 0 26px 56px rgba(36, 28, 22, 0.1);
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Manrope, "Segoe UI", sans-serif;
  --header: 4.4rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 0.6rem); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-underline-offset: 0.18em; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; text-wrap: pretty; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: #d5e6df; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 0.4rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 5;
}
.skip:focus { top: 0.6rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(243, 238, 230, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(221, 211, 198, 0.7);
}
.header-inner, .footer-inner, .footer-bottom, .banner, .hero, .article, .missing, .section {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50% 50% 50% 0.2rem;
  background: linear-gradient(140deg, var(--sage), var(--sage-deep));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.nav { display: flex; gap: 0.3rem; margin-left: auto; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: rgba(52, 88, 79, 0.08); color: var(--sage-deep); }

.socials { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.social {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s, color 0.2s, background 0.2s;
}
.social svg { width: 1.05rem; height: 1.05rem; display: block; }
.social-mark { font-size: 0.62rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.social:hover { border-color: var(--sage); color: #fff; background: var(--sage); transform: translateY(-2px); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--sage);
  color: #f7f3ee;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(36, 63, 57, 0.18);
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.button:hover { background: var(--sage-deep); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(36, 63, 57, 0.24); }
.button:active { transform: translateY(0); }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.button-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.button-small { padding: 0.6rem 1.05rem; font-size: 0.92rem; }
.button-wide { width: 100%; }
.button-danger { background: var(--danger); }
.header-cta { margin-left: 0.2rem; }

.banner {
  margin-top: 1.2rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: var(--sage-soft);
  color: var(--ok);
}
.banner-error { background: #f8e8e4; color: var(--danger); }

/* Hero */
.hero, .section, .article, .missing { padding: 5rem 0; }
.hero { padding: 5.5rem 0 4.5rem; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  inset: -2rem calc(50% - 50vw) auto;
  height: 38rem;
  z-index: -1;
  background:
    radial-gradient(28rem 22rem at 18% 30%, rgba(52, 88, 79, 0.1), transparent 70%),
    radial-gradient(24rem 20rem at 85% 20%, rgba(201, 143, 107, 0.13), transparent 70%);
  pointer-events: none;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-copy > * { animation: rise 0.7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow a { color: inherit; text-decoration: none; }
.lede { margin-top: 1.3rem; max-width: 36rem; font-size: 1.2rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.hero-note { margin-top: 1.2rem; color: var(--muted); font-size: 0.92rem; }

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  border-radius: 1.8rem;
  background: linear-gradient(160deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: #f3efe8;
  box-shadow: var(--shadow-lift);
  animation: rise 0.8s 0.15s var(--ease) both;
}
.hero-orb {
  position: absolute;
  width: 15rem;
  height: 15rem;
  right: -5rem;
  top: -6rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(201, 143, 107, 0.55), rgba(201, 143, 107, 0) 70%);
  pointer-events: none;
}
.hero-card-title {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 239, 232, 0.7);
  margin-bottom: 0.8rem;
}
.hero-card ul { position: relative; list-style: none; margin: 0; padding: 0; }
.hero-card li + li { border-top: 1px solid rgba(243, 239, 232, 0.16); }
.hero-card li a {
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 2rem 0.95rem 0;
  color: inherit;
  text-decoration: none;
  position: relative;
}
.hero-card li a::after {
  content: "→";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.hero-card li a:hover::after { opacity: 1; transform: translate(4px, -50%); }
.hero-card li span { font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.hero-card li small { color: rgba(243, 239, 232, 0.7); font-size: 0.88rem; }
.hero-card-more {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  color: #f3efe8;
  font-size: 0.92rem;
  font-weight: 600;
}

.portrait { margin: 0; }
.portrait img, .article-cover, .cover, .thumb {
  width: 100%;
  object-fit: cover;
  border-radius: 1.6rem;
  background: var(--bg-deep);
}
.portrait img { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lift); }
.portrait-hero { animation: rise 0.8s 0.15s var(--ease) both; }

/* Sections */
.band { background: var(--paper); border-block: 1px solid rgba(221, 211, 198, 0.6); }
.band-deep { background: linear-gradient(180deg, var(--bg-deep), var(--bg)); border: 0; }
.section-head { margin-bottom: 2.2rem; }
.prose { max-width: 40rem; }
.prose p + p { margin-top: 1.1rem; }

.about {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1.5rem 4rem;
  align-items: start;
}
.about .prose { font-size: 1.12rem; }
.about .prose p:first-child { font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; letter-spacing: -0.015em; }
.about-photo {
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-areas: "photo head" "photo text";
}
.about-photo .about-head { grid-area: head; align-self: end; }
.about-photo .prose { grid-area: text; }
.about-photo .about-portrait { grid-area: photo; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.service {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service p { color: var(--muted); }
.service-foot {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
}
.service-meta { display: grid; gap: 0.1rem; color: var(--muted); font-size: 0.9rem; }
.service-meta strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 560; color: var(--ink); letter-spacing: -0.02em; }
.service-link { font-weight: 700; font-size: 0.94rem; text-decoration: none; white-space: nowrap; }
.service-link:hover { text-decoration: underline; }

.review-list, .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1rem;
}
.review {
  position: relative;
  margin: 0;
  padding: 2.4rem 1.7rem 1.5rem;
  background: var(--paper);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}
.review::before {
  content: "“";
  position: absolute;
  top: 0.4rem;
  left: 1.4rem;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--clay);
  opacity: 0.6;
}
.review p { font-family: var(--serif); font-size: 1.24rem; line-height: 1.42; }
.review footer { margin-top: 1.1rem; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.review footer::before { content: "— "; }

.article-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid rgba(221, 211, 198, 0.7);
  border-radius: 1.4rem;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.article-card .cover { border-radius: 0; aspect-ratio: 16 / 9; }
.article-card-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.5rem 1.6rem 1.4rem; flex: 1; }
.article-card strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 560; letter-spacing: -0.025em; line-height: 1.18; }
.article-date, .article-excerpt { color: var(--muted); font-size: 0.92rem; }
.article-more { margin-top: auto; padding-top: 0.6rem; color: var(--sage-deep); font-weight: 700; font-size: 0.92rem; }

/* Article page */
.article { max-width: 46rem; }
.back-link { display: inline-block; margin-bottom: 1.4rem; color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.back-link:hover { color: var(--sage-deep); }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 0.8rem; }
.article-cover { margin: 1.6rem 0; aspect-ratio: 16 / 9; }
.article-body { margin-top: 1.6rem; font-size: 1.12rem; line-height: 1.7; }
.article-body h2 { font-size: 1.7rem; margin: 2rem 0 0.6rem; }
.article-body p, .article-body ul, .article-body ol { margin: 0.9rem 0; }
.article-body blockquote { margin: 1.4rem 0; padding-left: 1.2rem; border-left: 3px solid var(--clay); font-family: var(--serif); font-size: 1.25rem; }
.article-cta {
  margin-top: 3rem;
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: var(--paper);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}
.article-cta h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.missing { min-height: 60vh; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.contact h2 { margin-bottom: 1rem; }
.contact-note { color: var(--muted); font-size: 1.1rem; max-width: 26rem; }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.8rem; }
.contact-list li { display: grid; gap: 0.05rem; }
.contact-list li span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ink); font-size: 1.1rem; text-decoration: none; }
.contact-list a:hover { color: var(--sage-deep); text-decoration: underline; }
.socials-contact { margin-top: 1.6rem; }

.form {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
  background: var(--paper);
  border-radius: 1.6rem;
  box-shadow: var(--shadow-lift);
}
.field { display: grid; gap: 0.4rem; }
.field > span { font-size: 0.9rem; font-weight: 600; }
.check span { font-size: 0.9rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #a39a90; }
.field input:hover, .field textarea:hover { border-color: #c8bcad; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(52, 88, 79, 0.14);
}
.field input[type="file"] { padding: 0.6rem; background: var(--bg); }
.field textarea { resize: vertical; min-height: 6rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--sage); cursor: pointer; }
.errors {
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  background: #f8e8e4;
  color: var(--danger);
}
.errors p { margin: 0; }
.form-done { justify-items: start; gap: 0.6rem; padding: 2.4rem 2rem; animation: rise 0.5s var(--ease) both; }
.form-done h3 { font-size: 2rem; }
.done-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--ok);
  font-size: 1.3rem;
  font-weight: 700;
}

/* Footer */
.site-footer { background: var(--ink); color: #d9d0c5; padding: 3rem 0 1.4rem; }
.site-footer .brand { color: #f3efe8; }
.site-footer .muted { color: #a59a8e; margin-top: 0.4rem; font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-nav a, .footer-bottom a { color: #d9d0c5; text-decoration: none; font-size: 0.94rem; }
.footer-nav a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.site-footer .social { background: transparent; border-color: rgba(217, 208, 197, 0.25); color: #d9d0c5; }
.site-footer .social:hover { background: #f3efe8; border-color: #f3efe8; color: var(--ink); }
.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(217, 208, 197, 0.15);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  color: #a59a8e;
}

/* Admin */
body.admin { background: #efeae3; }
.admin-shell { display: grid; grid-template-columns: 15rem 1fr; min-height: 100vh; }
.admin-side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 1.3rem 1rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.admin-nav { display: grid; gap: 0.2rem; }
.admin-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.7rem;
  border-radius: 0.7rem;
  transition: background 0.15s;
}
.admin-nav a:hover, .filter a[aria-current="page"] { background: var(--paper); }
.admin-nav a[aria-current="page"] { background: var(--paper); font-weight: 700; box-shadow: inset 3px 0 0 var(--sage); }
.badge {
  display: inline-flex;
  min-width: 1.3rem;
  justify-content: center;
  margin-left: 0.3rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: var(--sage);
  color: white;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
}
.admin-main { padding: 2rem 2rem 3rem; max-width: 64rem; }
.admin-main h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.admin .lede { margin-top: 0; }
.admin-subhead { font-size: 1.5rem; margin: 2.2rem 0 0.4rem; }
.form-stack { max-width: 46rem; box-shadow: none; padding: 0; background: transparent; gap: 1.2rem; }
.muted, .hint { color: var(--muted); }
.field small { font-size: 0.84rem; }
.hint { font-size: 0.92rem; margin: 0 0 1rem; }
.thumb { width: 9rem; aspect-ratio: 4 / 3; margin-bottom: 0.4rem; border-radius: 0.9rem; }
.panel {
  margin: 0;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--paper);
  display: grid;
  gap: 1rem;
}
.panel legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.2rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}
.panel .hint { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.toggle-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.toggle-cols > div { display: grid; gap: 0.6rem; align-content: start; }
.toggle-title { font-weight: 700; font-size: 0.9rem; }
.save-bar {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0 -0.5rem;
  padding: 0.9rem 0.5rem;
  background: linear-gradient(180deg, rgba(239, 234, 227, 0), #efeae3 35%);
}
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.8rem; }
.stat {
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.1rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.stat:hover { border-color: var(--line); transform: translateY(-2px); }
.stat strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 560; line-height: 1; }
.stat span { color: var(--muted); font-size: 0.9rem; }
.stat-accent { background: var(--sage); color: #f3efe8; }
.stat-accent span { color: rgba(243, 239, 232, 0.8); }
.quick-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.manage-list, .lead-list, .lead-preview { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.7rem; }
.manage-list li, .lead-list li, .lead-preview li {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border-radius: 1rem;
}
.manage-list li { grid-template-columns: 1fr auto; align-items: center; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.row-actions form { margin: 0; }
.text-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--sage-deep);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.social-row {
  margin: 0;
  padding: 0.9rem 0;
  border: 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}
.social-row legend { display: flex; align-items: center; gap: 0.55rem; padding: 0; font-weight: 700; }
.filter { display: flex; gap: 0.4rem; margin: 0.4rem 0 1rem; }
.filter a { color: var(--ink); padding: 0.35rem 0.8rem; border-radius: 999px; text-decoration: none; }
.lead-list header { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.login-card { width: min(26rem, 100%); }
.login-card h1 { font-size: 2.6rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
}

@media (max-width: 860px) {
  :root { --header: 3.8rem; }
  .hero, .section, .article, .missing { padding: 3.4rem 0; }
  .hero { padding-top: 2.6rem; }
  .hero-split, .about, .about-photo, .contact, .admin-shell, .manage-list li { grid-template-columns: 1fr; }
  .about-photo { grid-template-areas: "head" "photo" "text"; }
  .about-photo .about-portrait { max-width: 22rem; }
  .hero-split { gap: 2.2rem; }
  .portrait-hero { max-width: 24rem; }
  .contact { gap: 2rem; }
  .form { padding: 1.3rem; }
  .article-cta { flex-direction: column; align-items: flex-start; }
  .admin-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav { display: flex; flex-wrap: wrap; }
  .admin-main { padding: 1.4rem 1rem 3rem; }
  .field-row, .toggle-cols { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .socials-header { display: none; }
  .header-inner { gap: 0.8rem; }
  .brand { font-size: 0.98rem; }
  .hero-actions .button { flex: 1 1 auto; }
  .review-list, .article-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

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