:root {
  --ink-950: #141312;
  --ink-900: #221f1c;
  --ink-800: #3a3632;
  --gray-600: #52504c;
  --gray-500: #726f6a;
  --gray-400: #a3a09a;
  --gray-300: #d4d1cb;
  --gray-200: #e7e5e0;
  --gray-100: #f5f4f1;
  --amber-500: #c98a1c;
  --amber-400: #d9a53a;
  --amber-600: #a86a16;
  --amber-700: #7c4c10;
  --white: #ffffff;
  --beige: #f5efe3;
  --beige-soft: #faf6ef;
  --beige-dark: #cdb98e;
  --beige-dark-hover: #bfa87a;
  --beige-input: #ecdfc0;
  --beige-input-focus: #f3ead0;
  --accent-line: var(--amber-600);
  --radius: 8px;
  --max-width: 1152px;
  --shadow-sm: 0 1px 2px rgba(20, 19, 18, 0.06);
  --shadow-md: 0 4px 12px rgba(20, 19, 18, 0.1);
  --shadow-gold: 0 6px 16px rgba(124, 76, 16, 0.22);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--beige);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

main {
  flex: 1;
  animation: page-enter 0.45s var(--ease) both;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Natív, teljes oldalváltás közti animáció (jelenleg Chromium-alapú
   böngészőkben támogatott; máshol egyszerűen figyelmen kívül marad). */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: view-fade-out 0.25s var(--ease) both;
}

::view-transition-new(root) {
  animation: view-fade-in 0.3s var(--ease) both;
}

@keyframes view-fade-out {
  to {
    opacity: 0;
  }
}

@keyframes view-fade-in {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
  }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

code {
  background: var(--gray-100);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink-950);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(201, 138, 28, 0.12);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.scrolled {
  background: rgba(20, 19, 18, 0.97);
  box-shadow: var(--shadow-md), 0 1px 0 rgba(201, 138, 28, 0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 48px;
  height: 50px;
  flex: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  line-height: 1.2;
}

.brand-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-suffix {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.main-nav {
  display: none;
  gap: 0.25rem;
}

.main-nav a {
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-200);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--accent-line);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.main-nav a:hover {
  background: var(--ink-900);
  color: var(--white);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.active {
  background: var(--ink-900);
  color: var(--amber-400);
}

.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--gray-200);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--ink-900);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1.5rem;
  border-top: 1px solid transparent;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease),
    padding 0.3s var(--ease), visibility 0s linear 0.3s;
}

.mobile-nav.open {
  max-height: 24rem;
  opacity: 1;
  visibility: visible;
  padding: 0.5rem 1.5rem 1rem;
  border-top-color: var(--ink-900);
  transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease),
    padding 0.3s var(--ease);
}

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

.mobile-nav a {
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-200);
}

.mobile-nav a.active {
  background: var(--ink-900);
  color: var(--amber-400);
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(
      1200px 480px at 15% -10%,
      rgba(201, 138, 28, 0.12),
      transparent 60%
    ),
    radial-gradient(900px 400px at 100% 0%, rgba(201, 138, 28, 0.06), transparent 55%),
    var(--ink-950);
  color: var(--white);
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-400);
}

.hero h1 {
  max-width: 46rem;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
}

.hero-line {
  display: block;
}

.hero-line + .hero-line {
  margin-top: 0.6rem;
}

.hero p.lead {
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--gray-300);
  margin: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

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

.hero-eyebrow,
.hero h1,
.hero p.lead,
.hero .button-row {
  animation: hero-rise 0.7s var(--ease) both;
}

.hero h1 {
  animation-delay: 0.08s;
}

.hero p.lead {
  animation-delay: 0.16s;
}

.hero .button-row {
  animation-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero h1,
  .hero p.lead,
  .hero .button-row {
    animation: none;
  }
}

.btn {
  position: relative;
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease),
    background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--beige-dark);
  color: var(--ink-950);
  box-shadow: var(--shadow-gold);
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}

.btn-primary:hover {
  background: var(--beige-dark-hover);
  box-shadow: 0 10px 28px rgba(124, 76, 16, 0.22);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--ink-800);
}

.btn-outline:hover {
  border-color: var(--amber-400);
  color: var(--amber-400);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .btn:hover {
    transform: none;
  }
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.4rem;
  }
}

@media (min-width: 992px) {
  .hero h1 {
    max-width: 54rem;
    font-size: 2.6rem;
  }
}

/* ---------- Sections ---------- */
section.section {
  padding: 4rem 0;
}

.section-title {
  position: relative;
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  padding-bottom: 0.6rem;
  color: var(--ink-950);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-line);
}

.section-lead {
  max-width: 40rem;
  color: var(--gray-600);
  margin: 0 0 2.5rem;
}

.section-muted {
  background: var(--gray-100);
}

.section-dark {
  background: var(--ink-950);
  color: var(--white);
}

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--beige-soft);
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card:hover::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: box-shadow 0.2s ease;
  }

  .card:hover {
    transform: none;
  }
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--ink-950);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.card p.service-license {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-700);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(201, 138, 28, 0.08);
  color: var(--amber-600);
  margin-bottom: 0.75rem;
}

.icon-badge svg {
  width: 20px;
  height: 20px;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(201, 138, 28, 0.08);
  color: var(--amber-600);
  margin-bottom: 0.75rem;
}

/* ---------- Forms ---------- */
.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-row.two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-800);
  transition: color 0.2s var(--ease);
}

.field:focus-within label {
  color: var(--amber-600);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-family: inherit;
  background: var(--beige-input);
  color: var(--ink-950);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
}

.field input:hover,
.field textarea:hover {
  border-color: var(--amber-400);
  background: var(--beige-input-focus);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  background: var(--beige-input-focus);
  box-shadow: 0 0 0 3px rgba(201, 138, 28, 0.18);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .field input,
  .field textarea {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .field input:focus,
  .field textarea:focus {
    transform: none;
  }
}

.form-feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.form-feedback.success {
  color: #059669;
}

.form-feedback.error {
  color: #dc2626;
}

.form-feedback.feedback-pop {
  animation: feedback-in 0.35s var(--ease) both;
}

@keyframes feedback-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-feedback.feedback-pop {
    animation: none;
  }
}

/* ---------- Feliratkozás siker-animáció ---------- */
@keyframes btn-success-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}

.btn-primary.is-success {
  background: #2f7a4f;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(47, 122, 79, 0.3);
  animation: btn-success-pop 0.4s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary.is-success {
    animation: none;
  }
}

.confetti-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  animation: confetti-burst 0.7s var(--ease) forwards;
}

@keyframes confetti-burst {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.4);
    opacity: 0;
  }
}

.newsletter-form {
  width: 100%;
  max-width: 28rem;
}

.newsletter-form .row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .newsletter-form .row {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--ink-800);
  background: var(--ink-900);
  color: var(--white);
  font-size: 0.9rem;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
}

.newsletter-form input::placeholder {
  color: var(--gray-400);
}

.newsletter-form input:hover {
  border-color: var(--amber-500);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(201, 138, 28, 0.2);
  transform: translateY(-1px);
}

.newsletter-form.light input {
  background: var(--beige-input);
  color: var(--ink-950);
  border-color: var(--gray-300);
}

.newsletter-form.light input:hover {
  background: var(--beige-input-focus);
}

.newsletter-form.light input:focus {
  background: var(--beige-input-focus);
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-form input {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .newsletter-form input:focus {
    transform: none;
  }
}

.newsletter-form button {
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--gray-300);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-grid h3 {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.footer-grid p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin: 0 0 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink-800);
  color: var(--gray-300);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.social-links a:hover {
  color: var(--ink-950);
  background: var(--amber-500);
  border-color: var(--amber-500);
  transform: translateY(-2px);
}

.social-links svg {
  width: 17px;
  height: 17px;
}

@media (prefers-reduced-motion: reduce) {
  .social-links a {
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  }

  .social-links a:hover {
    transform: none;
  }
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--amber-400);
}

address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gray-400);
}

address p {
  margin: 0 0 0.35rem;
}

address a:hover {
  color: var(--amber-400);
}

.footer-bottom {
  border-top: 1px solid var(--ink-900);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ---------- Misc ---------- */
.avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink-950);
  color: var(--amber-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.stat-box {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.stat-box .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--amber-500);
  margin: 0;
}

.stat-box .stat-label {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.cta-box {
  position: relative;
  background: var(--ink-950);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-line);
}

.cta-box h2 {
  margin: 0 0 0.5rem;
}

.cta-box p {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  color: var(--gray-300);
}

/* ---------- Admin ---------- */
.admin-login {
  max-width: 24rem;
  margin: 3rem auto 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.admin-login h1 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.admin-login p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.btn-ghost {
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-ghost:hover {
  background: var(--gray-100);
}

.admin-section {
  margin-bottom: 2.5rem;
}

.admin-section-title {
  font-size: 1.1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.admin-table th {
  background: var(--gray-100);
  color: var(--gray-500);
  font-weight: 600;
}

.admin-table td.empty {
  color: var(--gray-400);
}

.message-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.message-card .msg-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.message-card .msg-name {
  font-weight: 600;
}

.message-card .msg-date {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.message-card .msg-meta {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0.25rem 0 0;
}

.message-card .msg-body {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-muted {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.section h1.page-title {
  position: relative;
  font-size: 2rem;
  margin: 0 0 0.9rem;
  padding-bottom: 0.6rem;
  color: var(--ink-950);
}

.section h1.page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-line);
}

.text-center h1.page-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ---------- Utilities ---------- */
.max-w-sm {
  max-width: 56rem;
}

.max-w-md {
  max-width: 64rem;
}

.max-w-lg {
  max-width: 72rem;
}

.lead-lg {
  font-size: 1.1rem;
}

.align-center {
  align-items: center;
}

.text-left {
  text-align: left;
}

.mb-0 {
  margin-bottom: 0;
}

.m-0 {
  margin: 0;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 1.5rem;
}

.mt-3 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 2.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.full-width {
  width: 100%;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.prose h2 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--ink-950);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-icon {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.link-amber {
  color: var(--amber-600);
  text-decoration: underline;
}

.cta-box.align-left {
  text-align: left;
  padding: 1.5rem;
}

.cta-box.align-left h2 {
  font-size: 1.15rem;
}

.cta-box.align-left p {
  text-align: left;
  margin-bottom: 1rem;
}

.overflow-x-auto {
  overflow-x: auto;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.grid .reveal:nth-child(2),
.stack .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.grid .reveal:nth-child(3),
.stack .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.grid .reveal:nth-child(4),
.stack .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.grid .reveal:nth-child(5),
.stack .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.grid .reveal:nth-child(6),
.stack .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

.member-role {
  color: var(--amber-600);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.text-center {
  text-align: center;
}

.lead-centered {
  margin: 0 auto 1.5rem;
}

/* ---------- Team ---------- */
.team-photo {
  display: block;
  width: calc(100% + 3rem);
  max-width: none;
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.profile-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink-950);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.profile-spotlight-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.profile-spotlight-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.profile-spotlight-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-400);
  margin: 0;
}

.profile-spotlight-name {
  font-size: 1.9rem;
  margin: 0;
  color: var(--white);
}

.profile-spotlight-rule {
  width: 3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-line);
}

.profile-spotlight-bio {
  color: var(--gray-300);
  line-height: 1.7;
  margin: 0;
  max-width: 34rem;
}

@media (min-width: 768px) {
  .profile-spotlight {
    grid-template-columns: 5fr 6fr;
    align-items: stretch;
  }

  .profile-spotlight-photo {
    aspect-ratio: auto;
    height: 100%;
    object-position: top center;
  }

  .profile-spotlight-body {
    padding: 3rem;
    justify-content: center;
  }

  .profile-spotlight-name {
    font-size: 2.25rem;
  }
}

.helper-card {
  margin: 0;
  background: var(--ink-950);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.helper-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.helper-card figcaption {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-300);
}

/* ---------- Project list ---------- */
.list-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber-600);
  margin: 0 0 0.5rem;
}

.project-count {
  color: var(--gray-500);
  font-weight: 400;
}

.project-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--gray-200);
}

.project-item {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.project-index {
  flex: none;
  width: 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--amber-600);
}

.project-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-950);
}

.project-location {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}
