/* Arovant — Johnny Tep. Static site styles.
   Cinzel and Outfit are self-hosted under the SIL Open Font License.
   See assets/fonts/OFL-Cinzel.txt and OFL-Outfit.txt. */

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/cinzel-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/cinzel-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/outfit-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #070b14;
  --bg-raise: #10182a;
  --ink: #f7f3ea;
  --muted: #c9d2e2;
  --gold: #e4c56a;
  --gold-deep: #b8892e;
  --gold-soft: #f3e2b0;
  --blue: #8eb4ff;
  --line: rgba(228, 197, 106, 0.32);
  --serif: "Cinzel", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header: 4.6rem;
  --wrap: 1120px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.4rem; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 110% -10%, rgba(47, 107, 255, 0.2), transparent 55%),
    radial-gradient(700px 420px at -20% 30%, rgba(228, 197, 106, 0.08), transparent 50%),
    var(--bg);
  font-synthesis: none;
  overflow-x: clip;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 280px;
  height: 280px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(61, 125, 255, 0.22), transparent 68%);
}

body::before { top: -90px; right: -70px; }
body::after { bottom: 8%; left: -120px; }

img, svg { max-width: 100%; }

a { color: var(--gold-soft); text-underline-offset: 0.18em; }

a:hover { color: #fff8e6; }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

::selection { background: rgba(228, 197, 106, 0.35); color: #fff; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold);
  color: #1a1306;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { top: 0.6rem; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: clamp(1.9rem, 4.6vw, 3.15rem); margin: 0.35rem 0 0.7rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.45rem; margin: 0 0 0.4rem; }
h4 { font-size: 1.18rem; margin: 0.7rem 0 0.4rem; color: var(--gold-soft); }

p { margin: 0 0 0.9rem; }

.lede, .who, .also, .fine, .service-card p, .step p, .group-head p, .scope-card p {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  background: linear-gradient(180deg, #fff1c9 0%, #e4c56a 42%, #a67c2d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #e4c56a;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark { color: transparent; }
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 197, 106, 0.18);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.4rem;
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.brand-fish {
  width: 58px;
  height: 23px;
  flex: none;
  object-fit: fill;
  -webkit-mask-image: radial-gradient(ellipse 50% 46% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 46% at 50% 50%, #000 72%, transparent 100%);
}

.brand .wordmark {
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  max-width: 16rem;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--gold-soft);
  letter-spacing: 0.01em;
}

.icon-call {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(142, 180, 255, 0.55);
  color: var(--ink);
  box-shadow: 0 0 16px rgba(61, 125, 255, 0.25);
}

.icon-call svg { width: 18px; height: 18px; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-soft);
  cursor: pointer;
  list-style: none;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold-soft);
  position: relative;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.bars::before { top: -6px; }
.bars::after { top: 6px; }

.nav-check:checked + .nav-toggle .bars { background: transparent; }
.nav-check:checked + .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
.nav-check:checked + .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 0 0.85rem;
  border-radius: 0 0 18px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  background: #0d1526;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.nav-check:checked ~ .site-nav { display: flex; }

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  font-size: 1rem;
}

.site-nav a:hover { background: rgba(228, 197, 106, 0.08); color: var(--gold-soft); }

.site-nav .btn {
  margin-top: 0.35rem;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-gold {
  background: linear-gradient(180deg, #fff1c9 0%, #e4c56a 42%, #b8892e 100%);
  color: #1a1306;
  box-shadow: 0 10px 28px rgba(184, 137, 46, 0.28);
}

.btn-gold:hover { color: #1a1306; filter: brightness(1.06); }

.btn-call {
  background: #12203c;
  color: var(--ink);
  border-color: rgba(142, 180, 255, 0.65);
  box-shadow: 0 0 22px rgba(61, 125, 255, 0.22);
}

.btn-call:hover { color: white; }

.hero { position: relative; padding: 0.6rem 0 2.6rem; overflow: hidden; }

.hero-logo {
  display: block;
  width: min(220px, 68vw);
  aspect-ratio: 1.15 / 1;
  height: auto;
  object-fit: cover;
  object-position: center 44%;
  margin: 0 0 0.15rem;
  -webkit-mask-image: radial-gradient(ellipse 50% 48% at 50% 46%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 48% at 50% 46%, #000 58%, transparent 100%);
}

.hero-watermark {
  position: absolute;
  width: min(680px, 130%);
  right: -18%;
  top: 28%;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 42% 38% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 42% 38% at 50% 50%, #000 40%, transparent 100%);
}

.nowrap { white-space: nowrap; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.hero-card { order: -1; }

.hero-card {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(228, 197, 106, 0.5);
  background:
    radial-gradient(420px 180px at 80% 30%, rgba(55, 100, 200, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(16, 26, 46, 0.96), rgba(8, 12, 22, 0.96));
  box-shadow: inset 0 0 0 1px rgba(228, 197, 106, 0.12), 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.95rem 1rem;
}

.flare {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 2;
}

.flare-tl { top: 8px; left: 8px; border-top: 1px solid rgba(142, 180, 255, 0.95); border-left: 1px solid rgba(142, 180, 255, 0.95); filter: drop-shadow(0 0 6px rgba(80, 140, 255, 0.85)); }
.flare-tr { top: 8px; right: 8px; border-top: 1px solid rgba(228, 197, 106, 0.85); border-right: 1px solid rgba(228, 197, 106, 0.85); }
.flare-bl { bottom: 8px; left: 8px; border-bottom: 1px solid rgba(228, 197, 106, 0.85); border-left: 1px solid rgba(228, 197, 106, 0.85); }
.flare-br { bottom: 8px; right: 8px; border-bottom: 1px solid rgba(142, 180, 255, 0.95); border-right: 1px solid rgba(142, 180, 255, 0.95); filter: drop-shadow(0 0 6px rgba(80, 140, 255, 0.85)); }

.portrait-ring {
  width: 92px;
  height: 92px;
  flex: none;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(160deg, #fff6d8, #e4c56a 38%, #8d6420 72%, #f3e2b0);
  box-shadow: 0 0 0 6px rgba(228, 197, 106, 0.08), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.portrait-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #10182b;
}

.portrait-inner img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.about-person {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 0.4rem;
}

.about-person > div { min-width: 0; }

.portrait-about {
  width: 96px;
  height: 96px;
}

.about-person h2 { margin: 0; }

.seal { position: absolute; inset: 0; }

.seal svg { width: 100%; height: 100%; display: block; }

.card-id .name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold-soft);
}

.card-id .role,
.card-id .meta { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.92rem; }

.card-id .meta { color: var(--gold); font-size: 0.82rem; letter-spacing: 0.02em; }

.who { margin: 0 0 0.8rem; color: var(--gold-soft); font-weight: 500; }

.cta-row { display: grid; gap: 0.7rem; margin: 1rem 0 0.7rem; }

.also { margin: 0; font-size: 0.98rem; }

.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-size: 0.88rem;
  text-decoration: none;
  background: rgba(16, 24, 42, 0.55);
}

.pill.health { border-color: rgba(142, 180, 255, 0.5); color: #d7e4ff; }

.section { padding: 3.2rem 0; }

.section-head { max-width: 40rem; margin-bottom: 1.4rem; }

.glow-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(228, 197, 106, 0.75), rgba(90, 150, 255, 0.95), rgba(228, 197, 106, 0.75), transparent);
  box-shadow: 0 0 16px rgba(61, 125, 255, 0.35);
}

.scope-grid, .groups, .about-grid, .steps, .contact-grid {
  display: grid;
  gap: 0.9rem;
}

.scope-card, .group, .license-card, .step, .contact-panel, .form-panel {
  background: rgba(16, 24, 42, 0.72);
  border: 1px solid rgba(228, 197, 106, 0.22);
  border-radius: 20px;
  padding: 1.15rem 1.1rem 1.2rem;
}

.scope-card.health, .group-health {
  border-color: rgba(142, 180, 255, 0.38);
  box-shadow: 0 0 32px rgba(61, 125, 255, 0.08);
}

.scope-card h3 { margin-top: 0.2rem; }

.scope-card a { font-weight: 600; }

.jumps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0 0 1rem; }

.jumps a {
  text-align: center;
  text-decoration: none;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 0.4rem;
  font-size: 0.86rem;
  background: rgba(7, 11, 20, 0.35);
}

.jumps a.health { border-color: rgba(142, 180, 255, 0.5); color: #d7e4ff; }

.group-head p { margin: 0; }

.service-grid { display: grid; gap: 0.8rem; margin-top: 1rem; }

.service-card {
  background: rgba(7, 11, 20, 0.45);
  border: 1px solid rgba(228, 197, 106, 0.18);
  border-radius: 16px;
  padding: 1rem 0.95rem 1.05rem;
}

.group-health .service-card { border-color: rgba(142, 180, 255, 0.22); }

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  border: 1px solid rgba(228, 197, 106, 0.4);
  background: rgba(228, 197, 106, 0.06);
}

.group-health .icon {
  color: var(--blue);
  border-color: rgba(142, 180, 255, 0.45);
  background: rgba(61, 125, 255, 0.1);
}

.icon svg { width: 22px; height: 22px; }

.service-card p { margin: 0; font-size: 0.98rem; }

.disclosure {
  margin-top: 1rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(243, 226, 176, 0.32);
  background: rgba(8, 12, 24, 0.72);
}

.disclosure-kicker {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.disclosure p { margin: 0.7rem 0 0; font-size: 0.98rem; line-height: 1.55; color: #e6ebf5; }

.about-copy p:last-child { margin-bottom: 0; }

.license-card dl { margin: 0.4rem 0 0; }

.license-card div + div { margin-top: 0.7rem; }

.license-card dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--serif);
}

.license-card dd { margin: 0.12rem 0 0; color: var(--ink); }

.steps { counter-reset: step; }

.step-no {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.step h3 { margin-top: 0.25rem; }

.step p { margin: 0; }

.contact-facts { margin: 0.4rem 0 0; }

.contact-facts div { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 0.4rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(228, 197, 106, 0.14); }

.contact-facts dt { margin: 0; color: var(--gold); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--serif); }

.contact-facts dd { margin: 0; }

.contact-facts a { font-weight: 600; overflow-wrap: anywhere; }

.form-grid { display: grid; gap: 0.85rem; min-width: 0; }

.contact-panel,
.form-panel,
.field,
.group,
.service-card { min-width: 0; max-width: 100%; }

.field { display: grid; gap: 0.35rem; font-size: 0.95rem; color: var(--gold-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #0c1322;
  border: 1px solid rgba(228, 197, 106, 0.32);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
}

.field textarea { min-height: 8.5rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(228, 197, 106, 0.18); }

::placeholder { color: #a8b3c7; }

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.check input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  flex: none;
  accent-color: #c9a24a;
}

.form-note, .form-status {
  margin: 0.15rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border-left: 3px solid var(--gold);
  background: rgba(228, 197, 106, 0.07);
  color: var(--gold-soft);
  font-size: 0.95rem;
}

.form-note.is-caution {
  border-left-color: var(--blue);
  background: rgba(61, 125, 255, 0.1);
  color: #e5eeff;
}

.fine { font-size: 0.92rem; margin: 0.35rem 0 0; }

.form-panel .btn { width: 100%; }

.site-footer {
  padding: 2.6rem 0 1.4rem;
  border-top: 1px solid rgba(228, 197, 106, 0.18);
  background: rgba(5, 8, 16, 0.72);
}

.footer-grid { display: grid; gap: 1.4rem; }

.site-footer .wordmark { font-size: 1.35rem; display: inline-block; margin: 0 0 0.35rem; }

.tagline { color: var(--gold); letter-spacing: 0.08em; font-size: 0.85rem; margin: 0.2rem 0 0.7rem; }

.footer-label {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0.28rem 0; color: var(--muted); }

.site-footer .disclosure { margin-top: 1.4rem; }

.footer-bar {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(228, 197, 106, 0.14);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-bar p { margin: 0; }

.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.1rem; }

.footer-links a { color: var(--gold-soft); }

.page-hero { padding: 2.2rem 0 0.4rem; }

.prose { max-width: 68ch; padding-bottom: 3rem; }

.prose h2 { font-size: 1.35rem; margin-top: 2rem; }

.prose li { color: var(--muted); margin: 0.35rem 0; }

.prose ul { padding-left: 1.15rem; }

.callout {
  border: 1px solid rgba(228, 197, 106, 0.4);
  background: rgba(228, 197, 106, 0.07);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  color: var(--ink);
}

.callout p:last-child { margin-bottom: 0; }

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

@media (min-width: 480px) {
  .brand-fish { width: 78px; height: 31px; }
  .brand .wordmark { font-size: 1.12rem; letter-spacing: 0.12em; }
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .cta-row { display: flex; flex-wrap: wrap; }
  .cta-row .btn { width: auto; }
  .form-panel .btn { width: auto; }
}

@media (min-width: 720px) {
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .contact-grid { grid-template-columns: 0.86fr 1.14fr; align-items: stretch; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.9fr; }
  .footer-bar { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 720px) and (max-width: 979px) {
  .group-health .service-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 719px) {
  .group-health .service-grid { grid-template-columns: 1fr; }
}

@media (min-width: 980px) {
  .wrap { width: min(var(--wrap), calc(100% - 3rem)); }
  .icon-call, .nav-toggle, .nav-check { display: none; }
  .brand { flex: 0 1 auto; }
  .brand-fish { width: 108px; height: 43px; }
  .brand .wordmark { font-size: 1.28rem; letter-spacing: 0.14em; }
  .brand-sub { max-width: none; font-size: 0.82rem; }
  .site-nav {
    display: flex !important;
    position: static;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: auto;
    gap: 0.15rem 0.2rem;
    margin-left: 1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-nav a { padding: 0.45rem 0.6rem; }
  .site-nav .btn { margin-top: 0; margin-left: 0.35rem; padding-inline: 0.95rem; }
  .hero { padding: 1.4rem 0 4rem; }
  .hero-logo { width: min(300px, 100%); margin-bottom: 0.35rem; }
  .hero-watermark { width: min(760px, 70%); right: -6%; top: 12%; opacity: 0.1; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.82fr); gap: 2.6rem; }
  .hero-card { order: 0; }
  .hero-card-inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.4rem 1.6rem;
    gap: 0.85rem;
  }
  .portrait-ring { width: 196px; height: 196px; padding: 4px; }
  .portrait-about { width: 128px; height: 128px; }
  .card-id .name { font-size: 1.7rem; }
  .flare { width: 42px; height: 42px; }
  .section { padding: 4.4rem 0; }
  .groups { grid-template-columns: 1.35fr 0.85fr; align-items: start; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .group-health .service-grid { grid-template-columns: 1fr; }
}

@media (min-width: 980px) and (max-width: 1140px) {
  .nav-call { display: none !important; }
}

@media (hover: hover) {
  .service-card { transition: transform 0.18s ease, border-color 0.18s ease; }
  .service-card:hover { transform: translateY(-2px); border-color: rgba(228, 197, 106, 0.5); }
  .group-health .service-card:hover { border-color: rgba(142, 180, 255, 0.6); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card { transition: none; }
  .service-card:hover { transform: none; }
}
