/* Solomarck Pharma — styles
   Palette taken from the SP logo (blue + green) on deep navy. */
:root {
  --navy: #0C2140;
  --navy-2: #13305A;
  --blue: #4A7BC4;
  --blue-deep: #2F5FA8;
  --green: #1F8A45;
  --green-bright: #3DDC84;
  --paper: #F5F8F6;
  --card: #FFFFFF;
  --ink: #0E1B2C;
  --ink-2: #4A5A6E;
  --ink-3: #8795A6;
  --line: rgba(14, 27, 44, 0.10);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --f-display: "Bricolage Grotesque", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--green); color: #fff; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- demo bar ---------- */
.demo-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 7px 16px;
  background: #FFF4D6; color: #6B4B00;
  font-size: 12.5px; text-align: center;
}
.demo-pill {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  background: #6B4B00; color: #FFF4D6; padding: 2px 8px; border-radius: 99px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 248, 246, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: auto; }
.brand-word { font-family: var(--f-display); font-size: 19px; letter-spacing: -0.01em; color: var(--blue-deep); font-weight: 700; }
.brand-word b { color: var(--green); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav-cta { padding: 8px 16px; border-radius: 99px; background: var(--navy); color: #fff !important; }
.nav-cta:hover { background: var(--navy-2); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(74, 123, 196, 0.45), transparent 60%),
    radial-gradient(50% 70% at 10% 100%, rgba(31, 138, 69, 0.35), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 88px 0 120px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(61,220,132,0); } }
.hero h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(40px, 6.2vw, 80px); line-height: 0.98; letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7FB0F5 0%, var(--green-bright) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.78); max-width: 34em; margin: 0 0 34px; }
.hero-sub strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 99px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .3s var(--ease), background .2s, box-shadow .3s;
}
.btn-primary { background: var(--green-bright); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(61,220,132,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(61,220,132,.8); }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

.hero-stack { position: relative; height: 440px; }
.stack-card {
  position: absolute; margin: 0; padding: 10px; border-radius: 22px;
  background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  transition: transform .8s var(--ease);
}
.stack-card img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; }
.s1 { width: 62%; height: 58%; left: 0; top: 4%; transform: rotate(-7deg); animation: float 9s ease-in-out infinite; }
.s2 { width: 60%; height: 44%; right: 0; top: 30%; transform: rotate(5deg); animation: float 9s ease-in-out -3s infinite; z-index: 2; }
.s3 { width: 40%; height: 50%; left: 18%; bottom: 0; transform: rotate(-2deg); animation: float 9s ease-in-out -6s infinite; z-index: 3; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero-stack:hover .s1 { transform: rotate(-10deg) translateX(-10px); }
.hero-stack:hover .s2 { transform: rotate(8deg) translateX(10px); }

.pulse { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 90px; }
.pulse path {
  fill: none; stroke: var(--green-bright); stroke-width: 2.5; stroke-linejoin: round;
  stroke-dasharray: 1800; stroke-dashoffset: 1800;
  filter: drop-shadow(0 0 6px rgba(61,220,132,.8));
  animation: trace 4.5s var(--ease) .3s infinite;
}
@keyframes trace { 0% { stroke-dashoffset: 1800; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ---------- HCP note ---------- */
.hcp-note {
  display: flex; align-items: center; gap: 10px;
  margin: -26px 0 0; position: relative; z-index: 2;
  width: fit-content; max-width: 100%;
  padding: 12px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 30px -18px rgba(12,33,64,.35);
  font-size: 13.5px; color: var(--ink-2);
}
.hcp-note svg { color: var(--green); flex: none; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: #EAF1EE; }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.label-light { color: rgba(255,255,255,.55); display: block; margin-bottom: 18px; }
.rule { height: 1px; flex: 1; background: var(--line); }
h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.04; letter-spacing: -0.03em; margin: 0; }
h2 em { font-style: normal; color: var(--green); }

/* ---------- therapy areas ---------- */
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.area {
  --c: var(--blue);
  position: relative; overflow: hidden; text-align: left; cursor: pointer;
  padding: 22px 20px 20px; min-height: 150px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  font: inherit; color: inherit;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.area::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: var(--c); opacity: .10; transition: transform .6s var(--ease), opacity .3s; }
.area:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(12,33,64,.4); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.area:hover::before { transform: scale(1.8); opacity: .16; }
.area-count { font-family: var(--f-mono); font-size: 12px; color: var(--c); font-weight: 500; }
.area-name { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -0.015em; position: relative; }
.area-brands { font-size: 12.5px; color: var(--ink-3); position: relative; margin-top: 6px; }

/* ---------- portfolio ---------- */
.portfolio-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.portfolio-top h2 { max-width: 12em; }
.search {
  display: flex; align-items: center; gap: 10px;
  width: min(380px, 100%); padding: 0 16px; height: 48px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-3);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(74,123,196,.15); }
.search input { border: 0; outline: 0; flex: 1; font: inherit; font-size: 14.5px; background: transparent; color: var(--ink); min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  --c: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font: inherit; font-size: 13.5px; font-weight: 600;
  transition: all .2s;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip:hover { border-color: var(--c); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.chip[aria-pressed="true"] i { background: #fff; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  --c: var(--blue);
  display: flex; flex-direction: column; text-align: left; cursor: pointer;
  padding: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  font: inherit; color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  animation: rise .6s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(12,33,64,.5); }
.card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #F3F6F9, #E4EAF0); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 99px; background: #fff; color: var(--c);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.card-new { left: auto; right: 14px; background: var(--green-bright); color: var(--navy); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card-title h3 { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.card-form { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.card-comp { font-family: var(--f-mono); font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.card-more { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--c); display: inline-flex; align-items: center; gap: 6px; }
.card-more span { transition: transform .3s var(--ease); }
.card:hover .card-more span { transform: translateX(4px); }
.empty { text-align: center; color: var(--ink-3); padding: 40px 0; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-body p { font-size: 18px; color: var(--ink-2); margin: 0 0 18px; }
.muted { font-size: 14px !important; color: var(--ink-3) !important; font-style: italic; }

/* ---------- contact ---------- */
.contact { background: var(--navy); color: #fff; }
.contact h2 { margin-bottom: 14px; }
.contact p { color: rgba(255,255,255,.7); margin: 0; max-width: 28em; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-list { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); padding-top: 3px; }
.contact-list dd { margin: 0; font-size: 16px; }
.tbc { color: #FFD66B; font-style: italic; }

/* ---------- footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer-logo { width: 150px; height: auto; }
.disclaimer { font-size: 12.5px; color: var(--ink-3); margin: 0; max-width: 60ch; }
.copy { font-size: 12.5px; color: var(--ink-3); margin: 0; white-space: nowrap; }

/* ---------- detail dialog ---------- */
.detail {
  --c: var(--blue);
  width: min(1040px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 24px; overflow: hidden;
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
}
.detail::backdrop { background: rgba(8, 20, 40, .55); backdrop-filter: blur(6px); }
.detail[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.detail-inner { display: grid; grid-template-columns: 1fr 1.15fr; max-height: calc(100dvh - 24px); }
.detail-media { background: linear-gradient(160deg, #F3F6F9, #E1E8EF); display: flex; align-items: center; justify-content: center; padding: 32px; }
.detail-media img { max-height: 70vh; object-fit: contain; border-radius: 12px; }
.detail-body { padding: 40px 40px 36px; overflow-y: auto; }
.detail-close {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--ink); font-size: 26px; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.d-area { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c); display: inline-flex; align-items: center; gap: 8px; }
.d-area i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.d-rx { font-family: var(--f-mono); font-size: 11px; padding: 2px 7px; border: 1px solid currentColor; border-radius: 6px; color: #B3261E; margin-left: 6px; letter-spacing: 0; }
.detail h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.03em; line-height: 1; margin: 12px 0 6px; }
.d-form { color: var(--ink-3); font-weight: 600; font-size: 14px; margin: 0 0 16px; }
.d-tagline { font-family: var(--f-display); font-size: 20px; font-weight: 500; color: var(--c); margin: 0 0 10px; letter-spacing: -0.01em; }
.d-summary { color: var(--ink-2); margin: 0 0 26px; }
.d-block { margin-bottom: 26px; }
.d-block h4 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 0 0 10px; }
.comp { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 13.5px; }
.comp td { padding: 9px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.comp td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; color: var(--c); font-weight: 500; }
.comp-note { font-size: 12.5px; color: var(--ink-3); margin: 0 0 4px; font-family: var(--f-mono); }
.ind { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ind li { padding: 6px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 600; background: color-mix(in srgb, var(--c) 10%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); }
.bul { margin: 0; padding-left: 0; list-style: none; }
.bul li { position: relative; padding-left: 20px; margin-bottom: 7px; font-size: 14.5px; color: var(--ink-2); }
.bul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--c); transform: rotate(45deg); }
.ingr { display: grid; gap: 14px; }
.ingr strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.caution { padding: 12px 14px; border-radius: 12px; background: #FFF4E5; color: #7A4A00; font-size: 13.5px; }
.d-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.d-meta b { color: var(--ink); font-weight: 600; }
.share {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink);
  transition: background .2s, border-color .2s;
}
.share:hover { border-color: var(--c); }
.share.done { background: var(--green); border-color: var(--green); color: #fff; }

/* lone last card fills its row, laid out side by side */
.card.lone .card-more, .card.lone-2 .card-more { margin-top: 6px; }
@media (min-width: 1025px) {
  .grid > .card.lone { grid-column: 1 / -1; flex-direction: row; }
}
@media (min-width: 561px) and (max-width: 1024px) {
  .grid > .card.lone-2 { grid-column: 1 / -1; flex-direction: row; }
}
@media (min-width: 1025px) {
  .card.lone .card-media { flex: 0 0 min(46%, 520px); aspect-ratio: auto; min-height: 260px; }
  .card.lone .card-body { justify-content: center; padding: 32px 36px; }
}
@media (min-width: 561px) and (max-width: 1024px) {
  .card.lone-2 .card-media { flex: 0 0 46%; aspect-ratio: auto; min-height: 240px; }
  .card.lone-2 .card-body { justify-content: center; padding: 28px 30px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .areas { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero { padding: 56px 0 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-stack { height: 300px; max-width: 460px; }
  .about, .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .detail-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .detail-media { padding: 24px; }
  .detail-media img { max-height: 36vh; }
  .detail-body { padding: 26px 22px 28px; overflow: visible; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .areas { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .area { min-height: 128px; padding: 18px 16px; }
  .area-name { font-size: 17px; }
  .area:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 110px; }
  .grid { grid-template-columns: 1fr; }
  .demo-bar { font-size: 11.5px; }
  .hcp-note { font-size: 12.5px; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .share { margin-left: 0; }
}

/* ---------- multi-page additions ---------- */
.nav a[aria-current="page"]:not(.nav-cta) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); padding-bottom: 4px; }
.nav-cta[aria-current="page"] { background: var(--green); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 90% at 90% 10%, rgba(74, 123, 196, 0.45), transparent 60%),
    radial-gradient(50% 80% at 5% 100%, rgba(31, 138, 69, 0.35), transparent 60%),
    var(--navy);
  padding: 72px 0 110px;
}
.page-hero-inner { position: relative; }
.page-hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.035em; margin: 0 0 18px; max-width: 16em; }
.page-hero h1 em { font-style: normal; background: linear-gradient(100deg, #7FB0F5 0%, var(--green-bright) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .hero-sub { margin: 0; }
.section-tight { padding: 56px 0 88px; }

/* home: doors to each page */
.doors { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.door {
  --c: var(--blue);
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  min-height: 190px; padding: 26px 26px 24px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.door::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--c); opacity: .08; transition: transform .7s var(--ease), opacity .3s; }
.door:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(12,33,64,.5); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.door:hover::after { transform: scale(1.7); opacity: .14; }
.door-num { font-family: var(--f-mono); font-size: 12px; color: var(--c); }
.door-title { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -0.025em; line-height: 1.05; }
.door-text { color: var(--ink-2); font-size: 14.5px; max-width: 30em; position: relative; z-index: 1; }
.door .go { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-weight: 700; transition: transform .4s var(--ease), background .3s, color .3s; }
.door:hover .go { transform: translateX(4px); background: var(--c); color: #fff; }
.door-feature { grid-row: span 2; background: linear-gradient(170deg, #fff 55%, #EAF4EE); }
.door:last-child { grid-column: span 2; }
.door-feature .door-title { font-size: 36px; }
.door-thumbs { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; position: relative; z-index: 1; }
.door-thumbs img { width: 33%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #eef2f5; box-shadow: 0 10px 24px -14px rgba(12,33,64,.5); transition: transform .6s var(--ease); }
.door-feature:hover .door-thumbs img:nth-child(1) { transform: translateY(-6px) rotate(-3deg); }
.door-feature:hover .door-thumbs img:nth-child(3) { transform: translateY(-6px) rotate(3deg); }
.link-more { font-weight: 700; color: var(--green); text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* CTA band (bottom of pages) */
.cta-band { background: var(--navy); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* therapy areas page */
.area-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; position: sticky; top: 76px; z-index: 5; padding: 10px 0; background: var(--paper); }
.area-jump .chip { text-decoration: none; }
.area-section { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.area-section:first-child { border-top: 0; }
.area-head { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 24px; padding-left: 18px; border-left: 4px solid var(--c); }
.area-head h2 { color: var(--ink); }
.area-head p { margin: 4px 0 0; color: var(--ink-2); max-width: 44em; }
a.area { text-decoration: none; }
.area-brands { display: block; }

/* about page */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.fact-num { font-family: var(--f-display); font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -0.03em; color: var(--blue-deep); }
.fact-word { font-size: 28px; color: var(--green); }
.fact-label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact-big { font-family: var(--f-display); font-weight: 700; font-size: 26px; line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 6px; }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.contact-list-light { border-top-color: var(--line); }
.contact-list-light div { border-bottom-color: var(--line); }
.contact-list-light dt { color: var(--ink-3); }
.contact-list-light .tbc { color: #A06A00; }
.contact-note { margin: 0; font-size: 17px; color: var(--ink-2); }
.contact-note a { color: var(--green); font-weight: 700; }

/* footer nav */
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
.footer-nav a { font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--green); }

@media (max-width: 1024px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .door-feature { grid-row: auto; grid-column: 1 / -1; }
  .door:last-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 18px; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(12,33,64,.3);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 6px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]:not(.nav-cta) { box-shadow: none; color: var(--green); }
  .nav-cta { margin-top: 10px; text-align: center; border-bottom: 0 !important; padding: 13px !important; }
  .page-hero { padding: 52px 0 100px; }
  .contact-grid { grid-template-columns: 1fr; }
  .area-jump { top: 68px; }
}
@media (max-width: 560px) {
  .doors { grid-template-columns: 1fr; }
  .door:last-child { grid-column: auto; }
  .door { min-height: 150px; }
  .door-feature .door-title { font-size: 30px; }
  .fact-num { font-size: 38px; }
  .fact-word { font-size: 22px; }
  .area-jump { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .area-jump .chip { white-space: nowrap; }
  .cta-band { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pulse path { stroke-dashoffset: 0; }
}
.portfolio-top .chips { margin-bottom: 0; }
.section-tight .portfolio-top { margin-bottom: 28px; }
