/* ===========================
   TOKENS
   =========================== */
:root {
  --teal:        #54808c;
  --teal-deep:   #3a6170;
  --teal-light:  #dce9ec;
  --teal-soft:   rgba(84,128,140,0.10);
  --orange:      #e88a2e;
  --orange-soft: rgba(232,138,46,0.12);
  --dark:        #0d1f24;
  --dark-2:      #132930;
  --text:        #1a3540;
  --muted:       #587580;
  --line:        rgba(84,128,140,0.14);
  --surface:     rgba(255,255,255,0.75);
  --surface-b:   rgba(255,255,255,0.92);
  --shadow-sm:   0 4px 20px rgba(13,31,36,0.08);
  --shadow-md:   0 12px 40px rgba(13,31,36,0.12);
  --shadow-lg:   0 24px 60px rgba(13,31,36,0.16);
  --r-xl:        28px;
  --r-lg:        20px;
  --r-md:        14px;
  --r-sm:        10px;
  --max:         1160px;
}

/* ===========================
   RESET + BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #f4f8f9;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232,138,46,.30);
}
.btn-primary:hover {
  background: #d97a1e;
  box-shadow: 0 12px 30px rgba(232,138,46,.38);
}

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--text);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.30); }

/* ===========================
   NAV
   =========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(244,248,249,.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  height: clamp(44px, 5vw, 48px);
  width: auto;
  display: block;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}
.brand em {
  display: block;
  font-size: .82rem;
  font-style: normal;
  color: var(--muted);
}

.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
  padding: .55rem 1.32rem;
  font-size: .97rem;
}

.nav-links {
  display: flex;
  gap: .25rem;
  align-items: center;
}
.nav-links a {
  padding: .5rem .85rem;
  border-radius: 999px;
  font-size: .9rem;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--teal-soft); color: var(--text); }

/* Mobile horizontal scrollable nav */
.mobile-nav {
  display: none;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 1.25rem;
  height: 44px;
  align-items: center;
  justify-content: space-around;
  background: rgba(244,248,249,.95);
  border-top: 1px solid var(--line);
  gap: 0;
}
.mobile-nav::-webkit-scrollbar { display: none; }

.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: 44px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* ===========================
   HERO — scroll-driven
   =========================== */
.hero-shell {
  min-height: 320vh;
  position: relative;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f7f9 0%, #e8f2f5 50%, #fdf4ec 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('jackCat.png') center 100% / cover no-repeat;
  filter: grayscale(90%);
  opacity: 0.22;
  z-index: 0;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.bg-circle-1 {
  width: 700px; height: 700px;
  background: rgba(84,128,140,.18);
  top: -180px; right: -100px;
  animation: bg1-drift linear both;
  animation-timeline: scroll(root);
  animation-range: 0% 50%;
}

.bg-circle-2 {
  width: 500px; height: 500px;
  background: rgba(232,138,46,.13);
  bottom: -120px; left: -80px;
  animation: bg2-drift linear both;
  animation-timeline: scroll(root);
  animation-range: 0% 50%;
}

@keyframes bg1-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-80px,100px) scale(1.2); }
}
@keyframes bg2-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(60px,-80px) scale(1.15); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(84,128,140,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84,128,140,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: grid-fade linear both;
  animation-timeline: scroll(root);
  animation-range: 0% 50%;
}

@keyframes grid-fade {
  from { opacity: 1; }
  to   { opacity: 0.3; }
}

/* ── Big background title ── */
.hero-title-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;

  animation: title-bg-exit linear both;
  animation-timeline: scroll(root);
  animation-range: 0% 30%;
}

.hero-title-bg span {
  display: block;
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: .95;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 3px rgba(55, 127, 163, 0.68);
}

/* Each word slides up at slightly different rates */
.hero-title-bg span:nth-child(1) {
  animation: title-word-exit linear both;
  animation-timeline: scroll(root);
  animation-range: 0% 28%;
}
.hero-title-bg span:nth-child(2) {
  animation: title-word-exit linear both;
  animation-timeline: scroll(root);
  animation-range: 2% 30%;
}
.hero-title-bg span:nth-child(3) {
  animation: title-word-exit linear both;
  animation-timeline: scroll(root);
  animation-range: 4% 32%;
}

@keyframes title-bg-exit {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes title-word-exit {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(-120px); opacity: 0; }
}

/* ── Hero inner ── */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding-top: 72px;
}

.hero-copy {
  animation: none;
}

.hero-lead {
  animation: lead-in linear both;
  animation-timeline: scroll(root);
  animation-range: 28% 48%;
}

.hero-actions {
  animation: actions-in linear both;
  animation-timeline: scroll(root);
  animation-range: 32% 52%;
}

@keyframes copy-rise {
  0%   { transform: translateY(0)   scale(1);    opacity: 1; }
  70%  { transform: translateY(-20px) scale(1.01); opacity: .8; }
  100% { transform: translateY(-60px) scale(1.02); opacity: 0; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: .45rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  animation: eyebrow-slide linear both;
  animation-timeline: scroll(root);
  animation-range: 0% 20%;
}

@keyframes eyebrow-slide {
  from { transform: translateX(-30px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: dot-pulse 1.8s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}

.hero-h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(3.2rem, 6.5vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.04em;
  margin-bottom: 1.5rem;
}

.hero-h1 .line { display: block; overflow: visible; }

.hero-h1 .line-1 {
  animation: line-up linear both;
  animation-timeline: scroll(root);
  animation-range: 1% 20%;
}
.hero-h1 .line-2 {
  overflow: visible;         
  padding-bottom: .12em; 
  animation: line-up linear both;
  animation-timeline: scroll(root);
  animation-range: 3% 22%;
}
.hero-h1 .line-3 {
  animation: line-up linear both;
  animation-timeline: scroll(root);
  animation-range: 5% 24%;
}

@keyframes line-up {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero-h1 .accent { color: var(--orange); }

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2rem;
  animation: lead-in linear both;
  animation-timeline: scroll(root);
  animation-range: 8% 28%;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: actions-in linear both;
  animation-timeline: scroll(root);
  animation-range: 12% 32%;
}

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

.hero-cards {
  position: relative;
  min-height: 500px;
  animation: cards-container-in linear both;
  animation-timeline: scroll(root);
  animation-range: 6% 28%;
}

@keyframes cards-container-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hcard {
  position: absolute;
  background: var(--surface-b);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}

.hcard-main {
  inset: 60px 0 60px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: card-main-in linear both;
  animation-timeline: scroll(root);
  animation-range: 6% 28%;
}

@keyframes card-main-in {
  from { transform: translateX(120px) translateY(30px) scale(.92); opacity: 0; }
  to   { transform: translateX(0) translateY(0) scale(1);          opacity: 1; }
}

.hcard-photo {
  width: 60%;
  height: 160px;
  border-radius: var(--r-lg);
  object-fit: cover;
  object-position: top;
  margin-bottom: .75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.hcard-main h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
  color: var(--text);
}
.hcard-main p { color: var(--muted); font-size: .95rem; }

.hcard-sm {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  width: 200px;
  padding: 1.1rem 1.2rem;
}
.hcard-sm small {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hcard-sm strong { font-size: 1.35rem; color: var(--teal-deep); }
.hcard-sm span   { font-size: .82rem; color: var(--muted); }

.hcard-top {
  top: -10px; right: 10px;
  animation: card-top-in linear both;
  animation-timeline: scroll(root);
  animation-range: 10% 30%;
}

@keyframes card-top-in {
  from { transform: translateY(-60px) translateX(40px) scale(.9); opacity: 0; }
  to   { transform: translateY(0) translateX(0) scale(1);         opacity: 1; }
}

.hcard-bottom {
  bottom: -10px; right: 10px;
  animation: card-bot-in linear both;
  animation-timeline: scroll(root);
  animation-range: 14% 34%;
}

@keyframes card-bot-in {
  from { transform: translateY(60px) translateX(40px) scale(.9); opacity: 0; }
  to   { transform: translateY(0) translateX(0) scale(1);        opacity: 1; }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: fade-pulse 2.2s ease-in-out infinite;
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  border-radius: 1px;
}

@keyframes fade-pulse {
  0%, 100% { opacity: .35; }
  50%       { opacity: 1; }
}

/* ===========================
   SHARED SECTION STYLES
   =========================== */
.section { padding: 6rem 0; }

.section-dark {
  background: var(--dark);
  color: #fff;
}

/* section-soft: warm peach — For Pet Owners */
.section-soft {
  background: linear-gradient(180deg, #fef7ed, #fdf3e7);
}

/* section-tint: cool neutral — Pricing */
.section-warm {
  background: linear-gradient(180deg, #f7f9fa, #f9fafb);
}

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.section-label.light {
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
}

.section-h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -.035em;
  line-height: 1;
  margin-bottom: 2.5rem;
}
.section-h2.light { color: #fff; }

.section-h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.section-head-row .section-h2 { margin-bottom: 0; }

/* ===========================
   ABOUT
   =========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.45fr .95fr;
  gap: 3.2rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  letter-spacing: -.04em;
  line-height: 1.08;
  margin-bottom: 1.6rem;
  color: var(--text);
}

.about-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.2rem;
  max-width: 60ch;
}

/* ── Right column ── */
.about-credentials {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cred-card {
  width: min(100%, 480px);
  border-radius: 18px;
  overflow: hidden;
  background: #0f1b1f;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* ── Photo ── */
.cred-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  flex-shrink: 0;
}

.cred-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}

.cred-card:hover .cred-photo img {
  transform: scale(1.04);
}

/* Subtle gradient into body */
.cred-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(13,31,36,.8) 100%
  );
  pointer-events: none;
}


/* ── Body ── */
.cred-body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.cred-name {
  font-size: 1rem;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.01em;
}

.cred-quals {
  font-size: .62rem;
  color: rgba(255,255,255,.22);
  line-height: 1.6;
  letter-spacing: .01em;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: .65rem;
  margin-top: -.1rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-credentials {
    order: -1;
    justify-content: center;
    margin-bottom: .35rem;
  }

  .cred-card {
    max-width: 100%;
  }
}

/* ===========================
   SERVICES
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 1.6rem;
  transition: background .25s;
}
.service-card:hover { background: rgba(255,255,255,.1); }

.service-icon { font-size: 1.8rem; margin-bottom: .8rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: #fff; }
.service-card p  { font-size: .9rem; color: rgba(255,255,255,.55); }

/* ===========================
   OWNER RESOURCES
   =========================== */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* flex column so "Read more" always aligns to the bottom */
.edu-card {
  background: #fffaf3;
  border: 1px solid rgba(200,130,50,0.18);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(180,110,30,0.07);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.edu-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a06420;
  background: rgba(200,130,50,0.13);
  padding: .3rem .6rem;
  border-radius: 999px;
  margin-bottom: .8rem;
}

.edu-card h3 { font-size: 1.02rem; margin-bottom: .6rem; }
.edu-card p  { font-size: .9rem; color: var(--muted); margin-bottom: .9rem; flex-grow: 1; }

/* ===========================
   PRICING + REFERRAL
   =========================== */
.pr-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
}

.pr-block {
  background: var(--surface-b);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.pr-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--teal-deep);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.price-list { display: grid; gap: .75rem; }

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--teal-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.price-name { display: flex; flex-direction: column; gap: .15rem; }
.price-name strong { font-size: .95rem; }
.price-name span   { font-size: .8rem; color: var(--muted); }

.price-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-deep);
  white-space: nowrap;
}

.pr-referral { background: linear-gradient(160deg, #f0f7f9, #fff); }

.referral-steps { display: grid; gap: .9rem; margin-bottom: 1.2rem; }

.ref-step {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .9rem 1rem;
  background: rgba(84,128,140,.06);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.ref-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-step p { font-size: .92rem; color: var(--muted); }

.ref-note {
  font-size: .88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-style: italic;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: .6rem 0 0;
}
.service-list li {
  padding: .3rem 0;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.service-list li:last-child { border-bottom: none; }
.service-list li.service-list-note {
  font-style: italic;
  color: rgba(255,255,255,.3);
}

/* ===========================
   CONTACT
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 2rem;
  align-items: stretch;
}

.contact-jack,
.contact-practices-col {
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.contact-sub {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-bottom: .4rem;
}
.contact-note {
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.2rem;
}

.contact-jack .contact-note,
.contact-practices-col .contact-note {
  min-height: 2.8em;
}

.practice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.practice-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 1rem 1.2rem;
  position: relative;
  transition: background .2s;
}
.practice-card:hover { background: rgba(255,255,255,.1); }

.practice-name {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .35rem;
  color: #fff;
}

.practice-detail { font-size: .83rem; color: rgba(255,255,255,.5); margin-bottom: .18rem; }
.practice-detail a { color: rgba(255,255,255,.6); }
.practice-detail a:hover { color: #fff; }

.practice-badge {
  display: inline-block;
  margin-top: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(84,128,140,.25);
  padding: .22rem .6rem;
  border-radius: 999px;
}

.jack-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  padding: 1.8rem;
  height: 100%;
}

.jack-name { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.jack-quals { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 1.4rem; }

.jack-contacts { display: flex; flex-direction: column; gap: .65rem; }

.jack-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  transition: background .2s;
}
.jack-btn:hover { background: rgba(255,255,255,.16); color: #fff; }

.jack-icon-mail,
.contact-icon-mail {
  font-size: 1.35rem;
  line-height: 1;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2rem 0;
  color: rgba(255,255,255,.35);
  font-size: .85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ===========================
   RESPONSIVE
   =========================== */

   
   /* ==================================================
   TABLET
   ================================================== */
@media (max-width: 900px) {

  .hero-bg::before {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .nav-cta {
    font-size: .84rem;
    padding: .5rem 1rem;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-sticky {
    position: relative;
    height: auto;
    min-height: clamp(520px, 78svh, 700px);
    padding: 3.2rem 0 3rem;
    align-items: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding-top: 0;
    padding-bottom: 0;
    align-items: start;
    justify-items: center;
  }

  .hero-copy {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(84,128,140,.16);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 1.35rem 1.25rem;
    backdrop-filter: blur(6px);
  }

  .hero-bg {
    opacity: .95;
  }

  .hero-title-bg {
    display: none;
  }

  .hero-h1 {
    font-size: clamp(2.3rem, 7.2vw, 3.6rem);
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 1rem;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    gap: .75rem;
    justify-content: center;
  }

  .hero-cards,
  .scroll-indicator {
    display: none;
  }

  .hero-shell .bg-circle-1,
  .hero-shell .bg-circle-2,
  .hero-shell .bg-grid,
  .hero-shell .hero-title-bg,
  .hero-shell .hero-title-bg span,
  .hero-shell .hero-eyebrow,
  .hero-shell .eyebrow-dot,
  .hero-shell .hero-h1 .line-1,
  .hero-shell .hero-h1 .line-2,
  .hero-shell .hero-h1 .line-3,
  .hero-shell .hero-lead,
  .hero-shell .hero-actions {
    animation: none !important;
    animation-timeline: auto !important;
    transform: none !important;
  }

  .about-grid,
  .pr-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .edu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-list {
    grid-template-columns: 1fr;
  }

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

  .about-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-credentials {
    order: -1;
    justify-content: center;
    margin-bottom: .35rem;
  }

  .jack-photo-placeholder {
    aspect-ratio: 16 / 9;
  }
}


/* ==================================================
   MOBILE
   ================================================== */
@media (max-width: 768px) {

  .nav-cta {
   font-size: .84rem;
    padding: .5rem 1rem;
    line-height: 1.2;
    white-space: nowrap;
  }

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

  .services-grid,
  .edu-grid,
  .pr-grid {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero-sticky {
    min-height: auto;
    padding: 2.8rem 0 2.6rem;
  }

  .hero-inner {
    gap: 1rem;
  }

  .hero-copy {
    padding: 1.15rem 1rem;
  }

  .hero-h1 {
    font-size: clamp(2.1rem, 8.6vw, 3.2rem);
  }

  .hero-lead {
    font-size: .95rem;
    margin-bottom: 1.1rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ==================================================
   SMALL MOBILE
   ================================================== */
@media (max-width: 480px) {

  .hero-shell {
    padding-top: 108px;
  }

  .container {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .nav {
    min-height: 64px;
  }

  .brand {
    gap: .5rem;
  }

  .brand strong {
    font-size: .9rem;
  }

  .brand em {
    font-size: .75rem;
  }

  .nav-cta {
    font-size: .75rem;
    padding: .42rem .83rem;
  }

  .hero-h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    margin-bottom: 1rem;
  }

  .hero-eyebrow {
    font-size: .7rem;
    padding: .4rem .6rem;
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: .9rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: .75rem;
  }

  .hero-copy {
    padding: 1rem .9rem;
    border-radius: var(--r-lg);
  }

  .btn {
    padding: .75rem 1.2rem;
    font-size: .9rem;
  }

  .section-h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head-row .section-h2 {
    margin-bottom: .5rem;
  }

  .about-text h2 {
    font-size: clamp(2rem, 2.6vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
    color: var(--text);
  } 

  .contact-grid {
    gap: 2rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .cred-card {
    padding: 0;
  }

  .pr-block {
    padding: 1.5rem;
  }
}


/* ==================================================
   ACCESSIBILITY
   ================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}
