/* =========================================================================
   Ana Carolina Advocacia Previdenciária — Design System
   Dourado elegante · Preto grafite · Bege claro · Branco
   ========================================================================= */

:root {
  /* Paleta */
  --gold: #A9863F;
  --gold-soft: #C6A667;
  --gold-tint: #EFE4CF;
  --graphite: #24262B;
  --graphite-soft: #3C3F45;
  --ink: #1C1D20;
  --beige: #F3ECDD;
  --beige-deep: #EBE0CB;
  --paper: #FBF9F4;
  --white: #FFFFFF;
  --line: #E5DDCB;
  --muted: #6B6A64;

  /* Tipografia */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Ritmo */
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 132px);
  --radius: 4px;
  --shadow: 0 24px 60px -28px rgba(36, 38, 43, 0.28);
  --shadow-soft: 0 12px 32px -18px rgba(36, 38, 43, 0.22);
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1.1em; }
::selection { background: var(--gold-soft); color: var(--white); }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }
.section--beige { background: var(--beige); }
.section--paper { background: var(--paper); }
.section--graphite { background: var(--graphite); color: #E8E6DF; }
.section--graphite h1, .section--graphite h2, .section--graphite h3 { color: var(--white); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold-soft); display: inline-block; }
.section--graphite .eyebrow { color: var(--gold-soft); }
.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section--graphite .lede { color: #C9C6BC; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #96742F; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.section--graphite .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.25); }
.section--graphite .btn--ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn--block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
  padding-block: 0.75rem;
}
.site-brand { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.site-brand__logo { height: 64px; width: auto; }
@media (max-width: 560px) { .site-brand__logo { height: 52px; } }
.site-brand__fallback { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand__fallback strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 600; letter-spacing: 0.01em; }
.site-brand__fallback span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav ul { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--graphite-soft);
  padding-block: 0.4rem;
  position: relative;
  transition: color var(--transition);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { width: 100%; }
.primary-nav .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0;
}
.primary-nav li { position: relative; }
.primary-nav li:hover > .sub-menu { display: flex; }
.primary-nav .sub-menu a { padding: 0.55rem 0.75rem; border-radius: 3px; }
.primary-nav .sub-menu a:hover { background: var(--beige); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- Hero */
.hero { background: linear-gradient(180deg, var(--beige) 0%, var(--paper) 100%); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(48px, 8vw, 104px);
}
.hero__title { font-size: clamp(2.15rem, 4.6vw, 3.5rem); margin-bottom: 0.6em; }
.hero__subtitle { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; max-width: 46ch; }
.hero__media { position: relative; }
.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%; height: 62%;
  border: 1px solid var(--gold-soft);
  border-radius: 6px;
  z-index: -1;
}
.hero__badge {
  position: absolute;
  left: -20px; bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.9rem 1.15rem;
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: 210px;
}
.hero__badge strong { display: block; font-family: var(--font-display); color: var(--gold); font-size: 1rem; }

/* --------------------------------------------- Positioning statement */
.statement { text-align: center; }
.statement p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 22ch;
  margin-inline: auto;
}
.statement p .accent { color: var(--gold); font-style: italic; }
.statement__rule { width: 48px; height: 2px; background: var(--gold); margin: 0 auto 2rem; }

/* --------------------------------------------------------------- Cards / areas */
.area-group + .area-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
.area-group__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; }
.area-group__head h3 { margin: 0; font-size: 1.35rem; }
.area-group__head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.area-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--gold-soft); }
.area-card__index { font-family: var(--font-display); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.05em; }
.area-card h4 { margin: 0; font-size: 1.15rem; font-family: var(--font-display); font-weight: 500; }
.area-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.area-card__link { margin-top: auto; padding-top: 0.75rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 0.4rem; }
.area-card__link::after { content: "→"; transition: transform var(--transition); }
.area-card:hover .area-card__link::after { transform: translateX(4px); }

/* --------------------------------------------------------------- Lawyer bios */
.bio { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.bio--reverse { grid-template-columns: 1.2fr 0.8fr; }
.bio--reverse .bio__media { order: 2; }
.bio + .bio { margin-top: clamp(3rem, 7vw, 6rem); }
.bio__photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-soft); }

/* Recorte (pessoa com fundo transparente) sobre painel bege + arco dourado */
.bio__media--cutout {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	overflow: hidden;
	background: radial-gradient(125% 82% at 50% 100%, var(--beige-deep) 0%, var(--beige) 62%, var(--paper) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.bio__media--cutout::before {
	content: "";
	position: absolute;
	left: 8%; right: 8%; bottom: -34%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: 1px solid var(--gold-soft);
	opacity: 0.6;
}
.bio__media--cutout .bio__photo {
	position: relative;
	width: auto;
	height: 99%;
	max-width: 108%;
	aspect-ratio: auto;
	object-fit: contain;
	object-position: bottom center;
	border-radius: 0;
	box-shadow: none;
	filter: drop-shadow(0 22px 26px rgba(36, 38, 43, 0.22));
}
.bio__name { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.15em; }
.bio__role { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.bio__oab { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--graphite-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.8rem; margin-bottom: 1.25rem; }
.bio__spec-title { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 1.25rem 0 0.6rem; }
.bio__spec { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bio__spec li { font-size: 0.85rem; background: var(--beige); border: 1px solid var(--beige-deep); border-radius: 999px; padding: 0.3rem 0.85rem; }

/* --------------------------------------------------------------- Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 3rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
}
.step::after { content: ""; position: absolute; top: 12px; left: 44px; right: 0; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin: 0 0 0.4rem; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.section--graphite .step p { color: #B7B4AA; }
.section--graphite .step::before { color: var(--gold-soft); }
.section--graphite .step::after { background: rgba(255,255,255,0.12); }

/* --------------------------------------------------------------- FAQ */
.faq { max-width: 780px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}
.faq__q .icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq__q .icon::before, .faq__q .icon::after { content: ""; position: absolute; background: var(--gold); transition: var(--transition); }
.faq__q .icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__q .icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq__q[aria-expanded="true"] .icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height var(--transition); }
.faq__a-inner { padding: 0 0 1.35rem; color: var(--muted); font-size: 0.98rem; }

/* --------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-block { margin-bottom: 1.75rem; }
.contact-block__label { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.35rem; }
.contact-block a { font-weight: 500; }
.contact-block a:hover { color: var(--gold); }
.contact-block a svg, .site-footer a svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }
.map-embed { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(0.25); }

/* --------------------------------------------------------------- Forms */
.form { display: grid; gap: 1rem; }
.form__field { display: grid; gap: 0.35rem; }
.form label { font-size: 0.82rem; font-weight: 600; color: var(--graphite-soft); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form__consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.82rem; color: var(--muted); }
.form__consent input { width: auto; margin-top: 0.2rem; }
.form__note { font-size: 0.78rem; color: var(--muted); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-soft); }

/* --------------------------------------------------------------- Landing pages */
.lp-hero { background: linear-gradient(180deg, var(--beige) 0%, var(--paper) 100%); }
.lp-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; padding-block: clamp(44px, 7vw, 92px); }
.lp-hero__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); }
.lp-hero__media--cutout {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow);
	background: radial-gradient(125% 85% at 50% 100%, var(--beige-deep) 0%, var(--beige) 60%, var(--paper) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.lp-hero__media--cutout::before {
	content: "";
	position: absolute;
	left: 6%; right: 6%; bottom: -40%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: 1px solid var(--gold-soft);
	opacity: 0.55;
}
.lp-hero__media--cutout .lp-hero__photo {
	position: relative;
	width: auto;
	height: 100%;
	max-width: 112%;
	aspect-ratio: auto;
	object-fit: contain;
	object-position: bottom center;
	border-radius: 0;
	box-shadow: none;
	filter: drop-shadow(0 24px 28px rgba(36, 38, 43, 0.26));
}
.lp-hero h1 { font-size: clamp(1.95rem, 4.2vw, 3rem); }
.lp-hero__sub { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.75rem; }
.lp-hero__resp { font-size: 0.85rem; color: var(--muted); margin-top: 1.25rem; }
.lp-hero__resp strong { color: var(--graphite); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 1rem; }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gold-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A9863F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.cta-band { background: var(--graphite); color: #E8E6DF; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #C1BEB4; max-width: 52ch; margin-inline: auto; }

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 0.75rem;
  padding: 0.75rem var(--gutter);
  background: rgba(251, 249, 244, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; justify-content: center; }

/* --------------------------------------------------------------- Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.post-card { display: flex; flex-direction: column; gap: 0.6rem; }
.post-card__thumb { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); background: var(--beige-deep); }
.post-card__cat { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card__excerpt { font-size: 0.92rem; color: var(--muted); }
.post-card__meta { font-size: 0.8rem; color: var(--muted); margin-top: auto; }
.category-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.category-pills a { font-size: 0.85rem; padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; transition: var(--transition); }
.category-pills a:hover, .category-pills a.is-active { border-color: var(--gold); color: var(--gold); }

.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { margin-top: 2em; }
.prose img { border-radius: var(--radius); margin-block: 1.5em; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1.5em 0; padding-left: 1.25em; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--graphite); color: #B7B4AA; padding-block: clamp(48px, 7vw, 80px) 0; font-size: 0.9rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__grid--ad { grid-template-columns: 1.4fr 1fr; max-width: 720px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer__brand-logo { height: 58px; margin-bottom: 1rem; }
.site-footer__brand-pill { display: inline-block; background: var(--paper); border-radius: 6px; padding: 10px 16px; margin-bottom: 1.15rem; }
.site-footer__brand-pill img { height: 54px; width: auto; display: block; }
.site-footer__legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.75rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #8C8A82;
}
.site-footer__legal p { margin: 0 0 0.5rem; }

/* --------------------------------------------------------------- WhatsApp float */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 95;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* --------------------------------------------------------------- Utilities / motion */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.75rem 1rem; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .hero__grid, .lp-hero__grid, .bio, .bio--reverse, .contact-grid { grid-template-columns: 1fr; }
  .bio--reverse .bio__media { order: 0; }
  .hero__media { max-width: 460px; margin-inline: auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .primary-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem var(--gutter) 2rem;
    gap: 0;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-soft);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: none; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 0.9rem 0; }
  .primary-nav .sub-menu { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 0.5rem 1rem; }
  .primary-nav .btn { margin-top: 1rem; }
  .nav-toggle { display: block; }
  .sticky-cta { display: flex; }
  .wa-float { bottom: 76px; }
  body.has-sticky-cta { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .hero__badge { position: static; margin-top: 1rem; max-width: none; }
}
