/* Bert Brock Law homepage. Palette from their logo gradient + Duda theme. */
:root {
  --navy: #0b1530;
  --navy-2: #101f45;
  --navy-3: #16285a;
  --royal: #1B46A2;
  --teal: #0E9AA7;
  --teal-bright: #2fd0d9;
  --sky: #99C4FD;
  --paper: #f4f7fc;
  --white: #ffffff;
  --ink: #0f1a33;
  --body: #46516b;
  --line: #e1e7f2;
  --grad: linear-gradient(120deg, #0E9AA7 0%, #1B46A2 100%);
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(11, 21, 48, .45);
  --wrap: 1200px;
  --gutter: 40px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 3.6vw, 50px); font-weight: 700; }
h2 em, h1 em { font-style: italic; font-weight: 300; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 16px; }
button { font: inherit; cursor: pointer; }
svg { display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--royal); margin: 0 0 16px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow-light { color: var(--sky); }

.section-head { margin-bottom: 52px; max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  border: 0;
}
.btn svg { width: 18px; height: 18px; }
.btn-grad { background: var(--grad); color: var(--white); box-shadow: 0 12px 30px -12px rgba(14, 154, 167, .7); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(27, 70, 162, .8); }
.btn-ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); background: var(--white); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--royal); color: var(--royal); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--royal); text-decoration: none; margin-top: 34px; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* Loader: ends at display:none so it never blocks clicks */
.loader {
  position: fixed; inset: 0; z-index: 500; background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity .5s ease;
}
.loader-mark { width: 64px; height: auto; animation: markIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.loader-bar { width: 120px; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; animation: barFill 1s ease both; }
.loader.is-out { opacity: 0; pointer-events: none; }
.loader.is-gone { display: none; }
@keyframes markIn { from { opacity: 0; transform: scale(.82) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Alert bar */
.alert { background: #08102a; position: relative; z-index: 60; }
.alert a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px var(--gutter); color: #dfe7f7; font-size: 13.5px; text-decoration: none; text-align: center;
}
.alert b { color: var(--white); font-weight: 600; }
.alert-more { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.alert-dot { width: 8px; height: 8px; border-radius: 50%; background: #F55C5C; box-shadow: 0 0 0 4px rgba(245, 92, 92, .2); flex: none; }
.alert svg { width: 14px; height: 14px; flex: none; color: var(--sky); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1);
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.is-solid { background: rgba(11, 21, 48, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { height: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand img { width: 220px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; }
.phone-link svg { width: 17px; height: 17px; color: var(--teal-bright); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s ease, top .3s ease; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; z-index: 45; inset: 0; background: var(--navy); padding: calc(var(--header-h) + 60px) 24px 32px; display: flex; flex-direction: column; justify-content: space-between; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { color: var(--white); text-decoration: none; font-size: 24px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 21, 48, .92) 0%, rgba(11, 21, 48, .7) 38%, rgba(11, 21, 48, .15) 75%, rgba(11, 21, 48, .05) 100%),
    linear-gradient(0deg, rgba(11, 21, 48, .9) 0%, rgba(11, 21, 48, 0) 45%),
    linear-gradient(180deg, rgba(11, 21, 48, .65) 0%, rgba(11, 21, 48, 0) 22%);
}
.hero-inner { position: relative; width: 100%; max-width: 1360px; margin: 0 auto; padding: 170px var(--gutter) 64px; }
.hero-title { color: var(--white); font-size: clamp(42px, 5.6vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; max-width: 960px; margin-bottom: 26px; }
.hero-title em { display: inline-block; font-weight: 300; background: none; color: var(--sky); padding-bottom: .06em; }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, .84); max-width: 600px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-proof { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px 48px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 900px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.hero-proof b { color: var(--white); font-weight: 600; margin-right: 4px; }
.video-toggle { position: absolute; right: var(--gutter); bottom: 64px; width: 42px; height: 42px; border-radius: 50%; border: 0; color: var(--white); background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); display: grid; place-items: center; }
.video-toggle svg { width: 14px; height: 14px; }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.video-toggle.is-paused .i-pause { display: none; }

/* Press */
.press { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .06); }
.press-inner { display: flex; align-items: center; gap: 44px; padding-top: 26px; padding-bottom: 26px; }
.press-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.press-logo { opacity: .8; transition: opacity .25s ease; }
.press-logo:hover { opacity: 1; }
.press-logo img { height: 38px; width: auto; }
.press-wsb { background: var(--white); border-radius: 8px; padding: 6px 10px; }
.press-wsb img { height: 26px; }
.press-note { margin-left: auto; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* About */
.about { padding: 130px 0 120px; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.about-copy h2 { margin-bottom: 26px; font-size: clamp(32px, 3.2vw, 44px); }
.about-copy p { font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.stat-n { display: block; font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--royal); margin-bottom: 10px; }
.stat-l { display: block; font-size: 14px; line-height: 1.45; }
.about-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 30%; }
.about-photo::before { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad); z-index: 2; }
.about-photo figcaption { position: absolute; left: 20px; bottom: 22px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 12px; padding: 12px 18px; line-height: 1.3; }
.about-photo figcaption b { display: block; color: var(--ink); font-size: 15px; }
.about-photo figcaption span { font-size: 13px; }

/* Practice */
.practice { padding: 120px 0; background: var(--paper); }
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pa-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--body);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(11, 21, 48, .35);
  transition: transform .35s ease, box-shadow .35s ease;
}
.pa-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.pa-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pa-card:hover::after { opacity: 1; }
.pa-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.pa-card:hover img { transform: scale(1.04); }
.pa-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.pa-body h3 { margin-bottom: 10px; }
.pa-body p { font-size: 15px; margin-bottom: 18px; }
.pa-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--royal); }
.pa-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.pa-card:hover .pa-link svg { transform: translateX(4px); }
.pa-wide { grid-column: span 2; padding-left: 55%; min-height: 340px; }
.pa-wide img { position: absolute; left: 0; top: 0; width: 55%; height: 100%; aspect-ratio: auto; }
.pa-wide .pa-body { justify-content: center; padding: 34px 36px; }
.pa-wide h3 { font-size: 26px; }

/* Reach / map */
.reach { padding: 120px 0; background: radial-gradient(1200px 600px at 85% 30%, rgba(27, 70, 162, .45), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(14, 154, 167, .22), transparent 60%), var(--navy); color: rgba(255, 255, 255, .78); overflow: hidden; }
.reach h2 { color: var(--white); margin-bottom: 22px; }
.reach h2 em { color: var(--sky); }
.reach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.reach-copy p { font-size: 17px; }
.reach-now { display: flex; align-items: center; gap: 14px; margin: 28px 0 18px; flex-wrap: wrap; }
.reach-mode { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--sky); padding: 6px 12px; border-radius: 999px; }
.reach-dest { font-size: 15px; color: rgba(255, 255, 255, .8); }
.reach-dest b { color: var(--white); }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.city-list button { border: 0; border-radius: 999px; padding: 8px 15px; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .25s ease, color .25s ease; }
.city-list button:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
.city-list button.is-on { background: var(--grad); color: var(--white); box-shadow: none; }
.map-wrap { position: relative; }
.ga-map { width: 100%; max-width: 520px; height: auto; margin-left: auto; overflow: visible; }
.ga-shape { fill: url(#stateFill); stroke: rgba(153, 196, 253, .45); stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.ga-dots { fill: url(#dots); }
.city-dot { fill: var(--sky); fill-opacity: .55; cursor: pointer; transition: fill-opacity .25s ease; }
.city-dot.is-on { fill: var(--teal-bright); fill-opacity: 1; }
.city-label { fill: rgba(255, 255, 255, .6); font-size: 11px; font-family: Poppins, sans-serif; font-weight: 500; pointer-events: none; }
.city-label.is-on { fill: var(--white); font-weight: 600; }
.route { fill: none; stroke: url(#routeGrad); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(47, 208, 217, .55)); }
.office-dot { fill: var(--white); stroke: var(--teal-bright); stroke-width: 3; }
.office-pulse { fill: rgba(47, 208, 217, .25); animation: pulse 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.office-label { fill: var(--white); font-size: 12px; font-weight: 600; font-family: Poppins, sans-serif; }
.traveler circle { fill: var(--white); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.traveler use { color: var(--royal); }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

/* Meet */
.meet { padding: 130px 0; }
.meet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.meet-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; }
.meet-copy h2 { margin-bottom: 24px; }
.meet-copy p { font-size: 17px; }
.creds { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.creds li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); font-size: 15px; }
.creds span { color: var(--body); font-weight: 400; }
.pull { margin: 0; padding: 4px 0 4px 24px; border-left: 3px solid; border-image: var(--grad) 1; }
.pull p { font-size: 26px; font-style: italic; font-weight: 300; color: var(--ink); margin: 0 0 6px; line-height: 1.3; }
.pull cite { font-style: normal; font-size: 14px; font-weight: 600; color: var(--royal); }

/* Steps */
.steps { padding: 120px 0; background: linear-gradient(135deg, #0c5f86 0%, var(--royal) 55%, #173a8c 100%); color: rgba(255, 255, 255, .82); overflow: hidden; }
.steps::before { content: ''; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 80px solid rgba(255, 255, 255, .05); pointer-events: none; }
.steps h2 { color: var(--white); }
.steps h2 em { color: #bfe3ff; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.step { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 34px 30px; backdrop-filter: blur(6px); }
.step-n { display: inline-block; font-size: 14px; font-weight: 700; color: var(--navy); background: var(--white); border-radius: 999px; padding: 4px 12px; margin-bottom: 22px; }
.step h3 { color: var(--white); margin-bottom: 10px; }
.step p { margin: 0; font-size: 15px; }
.steps-tip { margin: 36px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .78); max-width: 760px; position: relative; }
.steps-tip b { color: var(--white); }

/* Team */
.team { padding: 120px 0 110px; overflow: hidden; }
.team-head { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; gap: 24px; }
.rail-arrows { display: flex; gap: 10px; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s ease, color .25s ease; }
.rail-btn:hover { background: var(--royal); color: var(--white); }
.rail-btn svg { width: 18px; height: 18px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 20px;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.member { scroll-snap-align: start; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); margin-bottom: 16px; background: var(--paper); transition: transform .4s ease; }
.member:hover img { transform: translateY(-4px); }
.member h3 { font-size: 17px; margin-bottom: 2px; }
.member p { font-size: 14px; margin: 0; }

/* Reviews */
.reviews { padding: 120px 0; background: var(--paper); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 34px 32px; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(11, 21, 48, .35); display: flex; flex-direction: column; }
.stars svg { width: 100px; height: 20px; color: #f5b733; margin-bottom: 20px; }
.review blockquote { margin: 0 0 24px; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.review figcaption { margin-top: auto; font-weight: 600; color: var(--royal); font-size: 14px; }

/* Contact */
.contact { padding: 130px 0; background: var(--navy); color: rgba(255, 255, 255, .8); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 21, 48, .96) 0%, rgba(11, 21, 48, .86) 50%, rgba(11, 21, 48, .7) 100%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: 70px; align-items: center; }
.contact h2 { color: var(--white); margin-bottom: 34px; }
.contact h2 em { color: var(--sky); }
.contact-list { list-style: none; padding: 0; margin: 0 0 26px; }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); padding-top: 3px; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 500; overflow-wrap: break-word; }
.contact-list a:hover { color: var(--sky); }
.parking { font-size: 14px; color: rgba(255, 255, 255, .62); margin: 0; }

.review-card { background: var(--white); color: var(--body); border-radius: 22px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); position: relative; }
.rc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rc-title { font-weight: 600; color: var(--ink); font-size: 15px; }
.rc-count { font-size: 13px; }
.rc-progress { height: 4px; border-radius: 4px; background: var(--paper); overflow: hidden; margin-bottom: 26px; }
.rc-progress i { display: block; height: 100%; width: 33.3%; background: var(--grad); border-radius: 4px; transition: width .4s ease; }
.rc-step { display: none; }
.rc-step.is-active { display: block; animation: stepIn .4s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.rc-step h3 { font-size: 24px; margin-bottom: 20px; }
.rc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rc-options button { border: 0; border-radius: 12px; padding: 15px 14px; text-align: left; font-size: 14.5px; font-weight: 500; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.rc-options button:hover { box-shadow: inset 0 0 0 1.5px var(--royal); background: #eef3ff; }
.rc-options button.is-picked { background: var(--royal); color: var(--white); box-shadow: none; }
.rc-step[data-step="4"] .btn { margin-top: 10px; }
.rc-summary { font-size: 14.5px; background: var(--paper); border-radius: 12px; padding: 12px 14px; color: var(--ink); }
.rc-doctor { font-size: 14px; color: var(--royal); }
.rc-back { margin-top: 16px; border: 0; background: none; color: var(--body); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }

/* Footer */
.footer { background: #070e22; color: rgba(255, 255, 255, .62); padding: 80px 0 34px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand img { width: 230px; height: auto; margin-bottom: 18px; }
.footer h4 { color: var(--white); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; line-height: 2; }
.footer a:hover { color: var(--sky); }
.footer-col p { line-height: 2; margin: 0; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); line-height: 1; transition: background-color .25s ease; }
.socials a:hover { background: var(--royal); color: var(--white); }
.socials svg { width: 18px; height: 18px; }
.footer-base { display: flex; justify-content: space-between; gap: 30px; padding-top: 26px; font-size: 12.5px; }
.footer-base p { margin: 0; max-width: 760px; }
.credit { color: rgba(255, 255, 255, .4); white-space: nowrap; }

.call-fab { display: none; }

/* Reveal: visible by default, JS opts in */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .office-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .about-grid, .meet-grid, .reach-grid { gap: 50px; }
  .contact-grid { grid-template-columns: 1fr 420px; gap: 44px; }
  .press-note { display: none; }
}
@media (max-width: 900px) {
  .about-grid, .meet-grid, .reach-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4 / 3; max-width: 640px; }
  .meet-photo { order: 2; }
  .pa-grid { grid-template-columns: 1fr 1fr; }
  .pa-wide { grid-column: span 2; }
  .step-list { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .ga-map { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 68px; --radius: 14px; }
  body { font-size: 15px; }
  h2 { font-size: clamp(26px, 7.4vw, 32px); }
  h3 { font-size: 18px; }
  .section-head { margin-bottom: 30px; }
  .eyebrow { font-size: 11px; margin-bottom: 12px; }
  .alert a { font-size: 12px; padding: 8px 16px; }
  .alert-more { display: none; }
  .brand img { width: 158px; }
  .phone-link, .header-cta .btn-sm { display: none; }
  .hero { min-height: 92svh; }
  .hero-inner { padding: 120px var(--gutter) 34px; }
  .hero-title { font-size: clamp(32px, 9.6vw, 40px); margin-bottom: 16px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-bottom: 28px; }
  .hero-ctas .btn { width: 100%; min-height: 50px; }
  .hero-proof { gap: 6px 20px; font-size: 12.5px; padding-top: 16px; }
  .hero-proof li { width: calc(50% - 10px); }
  .hero-proof li:last-child { width: 100%; }
  .video-toggle { top: 84px; bottom: auto; right: 16px; width: 36px; height: 36px; }
  .press-inner { gap: 22px; padding-top: 18px; padding-bottom: 18px; justify-content: center; flex-wrap: wrap; }
  .press-label { width: 100%; text-align: center; font-size: 10.5px; }
  .press-logo img { height: 28px; }
  .press-wsb img { height: 22px; }
  .about, .practice, .reach, .meet, .steps, .team, .reviews, .contact { padding: 60px 0; }
  .about-copy p, .meet-copy p, .reach-copy p { font-size: 15px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; padding-top: 22px; }
  .stat-n { font-size: 22px; margin-bottom: 6px; }
  .stat-l { font-size: 12px; }
  .about-photo figcaption { left: 12px; bottom: 14px; padding: 8px 12px; }
  .pa-grid { grid-template-columns: 1fr; gap: 14px; }
  .pa-wide { grid-column: auto; padding-left: 0; min-height: 0; }
  .pa-wide img { position: static; width: 100%; aspect-ratio: 16 / 8; height: auto; }
  .pa-wide .pa-body, .pa-body { padding: 18px 20px 20px; }
  .pa-wide h3 { font-size: 18px; }
  .pa-body p { font-size: 14px; margin-bottom: 12px; }
  .pa-card img { aspect-ratio: 16 / 8; }
  /* map sits between the copy and the city buttons so a tap shows its route */
  .reach-grid { gap: 0; }
  .reach-copy { display: contents; }
  .reach-copy .eyebrow { order: 1; justify-self: start; }
  .reach-copy h2 { order: 2; }
  .reach-copy > p { order: 3; }
  .map-wrap { order: 4; margin: 6px 0 4px; }
  .reach-now { order: 5; }
  .city-list { order: 6; }
  .reach-copy .btn { order: 7; }
  .reach-now { margin: 20px 0 14px; }
  .city-list { margin-bottom: 24px; gap: 6px; }
  .city-list button { padding: 7px 12px; font-size: 12.5px; }
  .ga-map { max-width: 360px; }
  .reach-copy .btn { width: 100%; }
  .creds { margin: 22px 0; }
  .creds li { font-size: 13.5px; padding: 11px 0; }
  .pull p { font-size: 20px; }
  .step { padding: 22px 22px; }
  .step-n { margin-bottom: 14px; font-size: 12px; }
  .steps-tip { font-size: 13px; margin-top: 24px; }
  .rail-arrows { display: none; }
  .rail { grid-auto-columns: 62%; gap: 12px; }
  .member img { margin-bottom: 10px; }
  .member h3 { font-size: 15px; }
  .member p { font-size: 12.5px; }
  .review { padding: 22px 22px; }
  .review blockquote { font-size: 15px; margin-bottom: 16px; }
  .stars svg { margin-bottom: 14px; }
  .text-link { margin-top: 22px; }
  .contact h2 { margin-bottom: 22px; }
  .contact-list li { grid-template-columns: 64px 1fr; gap: 10px; padding: 11px 0; font-size: 14px; }
  .contact-list span { font-size: 10.5px; }
  .review-card { padding: 22px 20px; }
  .rc-step h3 { font-size: 20px; margin-bottom: 14px; }
  .rc-options button { padding: 13px 12px; font-size: 13.5px; }
  .footer { padding: 54px 0 96px; }
  .footer-grid { gap: 28px; padding-bottom: 32px; }
  .footer-base { flex-direction: column; gap: 12px; }
  .call-fab {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 40; right: 16px; bottom: 16px;
    padding: 0 20px; height: 50px; border-radius: 999px; background: var(--grad); color: var(--white);
    font-weight: 600; font-size: 14px; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(11, 21, 48, .7);
    transform: translateY(90px); transition: transform .35s ease;
  }
  .call-fab svg { width: 17px; height: 17px; }
  .call-fab.is-on { transform: none; }
}
@media (max-width: 380px) {
  .rc-options { grid-template-columns: 1fr; }
  .hero-title { font-size: 31px; }
}
