/* Health First Pharmacy, concept 2 (Nov 2026)
   Shape language: speech bubbles. Every card, button, photo frame and quote has one tight "tail" corner,
   because the whole service is a WhatsApp conversation with a pharmacist.
   Motion: assets/fx (shared GSAP library, data-scrub / data-fx / data-split) + hero timeline in main.js. */

:root {
  --ultra: #05269A;      /* logo navy */
  --ultra-d: #031B6E;    /* deeper band */
  --ink: #0B1540;        /* body text */
  --ink-2: #3D4670;      /* secondary text */
  --orange: #D85B45;     /* logo capsule orange: graphics and large text only */
  --orange-btn: #C2432C; /* text-safe orange for buttons (5.1:1 with white) */
  --sky: #3F6DC3;        /* logo capsule blue */
  --sky-l: #DCE5F7;
  --paper: #F3F5FB;
  --line: #D9DEEE;
  --white: #FFFFFF;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Onest", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --r: 26px;
  --tail: 6px;
  --bub-in: var(--r) var(--r) var(--r) var(--tail);   /* tail bottom-left */
  --bub-out: var(--r) var(--r) var(--tail) var(--r);  /* tail bottom-right */
  --frame: 44px 44px 44px 10px;                       /* big photo frames */
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--bub-in); }
.skip:focus { left: 8px; }

/* photo frame: image fills a bubble-shaped box */
.frame, .hero__photo, .why__photo, .help__img, .post__img, .step__img, .hosp__photo, .final__photo, .page-hero__photo, .feature__img, .deliver__photo { overflow: hidden; position: relative; }
.frame img, .hero__photo img, .why__photo img, .help__img img, .post__img img, .step__img img, .hosp__photo img, .final__photo img, .page-hero__photo img, .feature__img img, .deliver__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Type ---------- */
.h2 { font: 400 clamp(32px, 4.2vw, 52px)/1.08 var(--serif); letter-spacing: -0.01em; color: var(--ultra); }
.h3 { font: 400 23px/1.2 var(--serif); color: var(--ultra); }
.h4 { font: 600 18px/1.3 var(--sans); color: var(--ink); }
.said {
  /* a phrase set as a sent message */
  background: linear-gradient(var(--white), var(--white)) no-repeat 0 0 / 100% 100%;
  color: var(--ultra);
  padding: 0 0.26em 0.06em; margin-left: -0.06em;
  border-radius: 0.36em 0.36em 0.36em 0.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; font: 600 16px/1.2 var(--sans); text-decoration: none; border-radius: 22px 22px var(--tail) 22px; border: 0; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn .ico { width: 22px; height: 22px; }
.btn--wa { background: var(--orange-btn); color: var(--white); box-shadow: 0 10px 24px rgba(194,67,44,.28); }
.btn--wa:hover { background: #A93821; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(194,67,44,.36); }
.btn--light { background: var(--white); color: var(--ultra); }
.btn--light:hover { background: var(--sky-l); transform: translateY(-2px); }
.btn--lg { min-height: 58px; padding: 16px 28px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ultra); text-decoration: none; }
.link-arrow .ico { transition: transform .2s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow--light { color: var(--white); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 66px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 400 21px/1.1 var(--serif); color: var(--ultra); }
.brand__sub { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; gap: 6px; }
.nav a { padding: 10px 16px; text-decoration: none; font-weight: 500; color: var(--ink); border-radius: 18px 18px 18px var(--tail); }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { background: var(--sky-l); color: var(--ultra); font-weight: 600; }
.nav-toggle { display: none; }
@media (max-width: 899px) {
  .site-head__in { min-height: 64px; gap: 10px; }
  .brand__mark { width: 54px; }
  .brand__name { font-size: 19px; }
  .site-head__cta { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; background: var(--paper); color: var(--ultra); border: 0; cursor: pointer; border-radius: 18px 18px var(--tail) 18px; }
  .nav-toggle .ico { width: 24px; height: 24px; }
  .nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); flex-direction: column; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--bub-out); box-shadow: 0 18px 40px rgba(11,21,64,.14); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; font-size: 18px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--paper { background: var(--paper); }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(32px, 4vw, 52px); }
.head-row .h2 { max-width: 20ch; text-wrap: balance; }
.head-row__aside { max-width: 40ch; color: var(--ink-2); font-size: 18px; }
.bub { background: var(--white); border: 1px solid var(--line); border-radius: var(--bub-in); }

/* ---------- Hero ---------- */
.hero { background: var(--ultra); color: var(--white); padding-block: clamp(44px, 6vw, 84px) clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before { /* soft glow behind the photo */
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63,109,195,.55), rgba(63,109,195,0)); pointer-events: none;
}
.hero__grid { display: grid; gap: 56px; align-items: center; grid-template-columns: 1fr; position: relative; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
.hero__title { font: 400 clamp(42px, 4.7vw, 64px)/1.16 var(--serif); letter-spacing: -0.02em; }
.br-d { display: none; }
@media (min-width: 1000px) { .br-d { display: inline; } }
.hero__lede { margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 36ch; color: #DCE4FA; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__try { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); max-width: 560px; }

.hero__visual { position: relative; padding: 0 0 120px 0; max-width: 560px; justify-self: center; width: 100%; }
@media (min-width: 1000px) { .hero__visual { padding: 0 0 70px 70px; justify-self: end; } }
.hero__photo { aspect-ratio: 4 / 5; border-radius: var(--frame); box-shadow: 0 40px 80px rgba(1,8,40,.4); }
.hero__photo img { object-position: 50% 30%; }
.hero__float {
  position: absolute; right: -10px; top: 34px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--white); color: var(--ink); font: 500 14px/1.2 var(--sans);
  border-radius: 18px 18px var(--tail) 18px; box-shadow: 0 16px 34px rgba(1,8,40,.3);
}
.hero__float .ico { color: #1E9A55; width: 18px; height: 18px; }
.hero__capsule { position: absolute; width: 150px; left: -30px; top: -26px; z-index: 2; filter: drop-shadow(0 14px 18px rgba(1,8,40,.35)); }
@media (max-width: 999px) { .hero__capsule { width: 96px; left: -6px; top: -22px; } .hero__float { right: 8px; top: 18px; } }

/* chat card overlapping the photo */
.chat {
  position: absolute; left: 0; bottom: 0; z-index: 3; width: min(390px, 92%);
  background: var(--ultra-d); border-radius: 30px 30px 30px var(--tail);
  padding: 18px; box-shadow: 0 30px 60px rgba(1,8,40,.45); border: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 999px) { .hero__visual { padding-bottom: 0; } .chat { position: relative; left: auto; bottom: auto; margin: -96px auto 0; width: min(400px, 94%); } .hero__photo { aspect-ratio: 4 / 4.4; } }
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; }
.chat__who { font-weight: 600; font-size: 15.5px; }
.chat__status { font: 400 12px/1.4 var(--mono); color: #AFC0EE; display: flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5BD08A; box-shadow: 0 0 0 0 rgba(91,208,138,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(91,208,138,.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(91,208,138,0); } }
.chat__thread { display: flex; flex-direction: column; gap: 10px; padding-block: 16px; min-height: 236px; justify-content: flex-end; }

.msg { max-width: 88%; padding: 12px 16px; font-size: 15px; line-height: 1.5; }
.msg--out { align-self: flex-end; background: var(--orange-btn); color: var(--white); border-radius: var(--bub-out); }
.msg--in { align-self: flex-start; background: var(--white); color: var(--ink); border-radius: var(--bub-in); }
.msg--typing { display: inline-flex; gap: 5px; padding: 16px 18px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); animation: blink 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.msg.is-new { animation: pop .32s cubic-bezier(.2,.9,.3,1.3) both; transform-origin: 0 100%; }
.msg--out.is-new { transform-origin: 100% 100%; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }

.chat__label { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #AFC0EE; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 14.5px/1.2 var(--sans); color: var(--white); background: transparent; border: 1.5px solid rgba(255,255,255,.35); padding: 10px 14px; cursor: pointer; border-radius: 16px 16px var(--tail) 16px; min-height: 42px; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--ultra); border-color: var(--white); }
.chat__send { display: flex; align-items: center; gap: 10px; justify-content: center; min-height: 50px; padding: 12px 18px; background: var(--orange-btn); color: var(--white); text-decoration: none; font-weight: 600; border-radius: 20px 20px var(--tail) 20px; transition: background-color .2s ease; }
.chat__send:hover { background: #A93821; }
.chat__send .ico { width: 22px; height: 22px; }

/* ---------- Marquee band ---------- */
.band { background: var(--white); color: var(--ultra); padding-block: clamp(22px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.band.band { font-size: clamp(34px, 5vw, 72px); }
.band .fx-m__in > span::after { width: .42em; height: .26em; border-radius: 99px; background: var(--orange); opacity: 1; }
.band .fx-m__in > span:nth-child(even)::after { background: var(--sky); }

/* ---------- What we help with ---------- */
.help-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .help-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .help-grid { grid-template-columns: repeat(4, 1fr); } }
.help { overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s ease, box-shadow .25s ease; }
.help:hover { border-color: var(--sky); box-shadow: 0 24px 48px rgba(5,38,154,.12); }
.help__img { aspect-ratio: 4 / 3; }
.help__img img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.help:hover .help__img img { transform: scale(1.07); }
.help__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.help__body p { color: var(--ink-2); flex: 1; font-size: 16px; }
.help__ico { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 6px; background: var(--sky-l); color: var(--ultra); border-radius: 18px 18px 18px var(--tail); }
.help__ico .ico { width: 28px; height: 28px; }

/* ---------- Why ---------- */
.why { display: grid; gap: 72px; align-items: center; }
@media (min-width: 1000px) { .why { grid-template-columns: 1fr 1fr; gap: 80px; } }
.why__visual { position: relative; padding-bottom: 140px; }
@media (min-width: 1000px) { .why__visual { padding-bottom: 90px; } }
.why__photo { aspect-ratio: 5 / 4; border-radius: var(--frame); }
.why__photo img { object-position: 55% 22%; }
.label {
  position: absolute; right: -8px; bottom: 0; width: min(88%, 360px); z-index: 2;
  background: var(--white); color: var(--ink); border-radius: 26px 26px 26px var(--tail); padding: 22px 22px 18px;
  box-shadow: 0 30px 60px rgba(5,38,154,.2); font: 400 13px/1.5 var(--mono);
}
@media (min-width: 1000px) { .label { right: -40px; } }
.label__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ultra); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; color: var(--ultra); }
.label__top img { width: 50px; }
.label__rows { padding-block: 12px 10px; display: grid; gap: 6px; border-bottom: 1px dashed var(--line); }
.label__rows div { display: grid; grid-template-columns: 48px 1fr; gap: 10px; }
.label__rows dt { color: var(--ink-2); text-transform: uppercase; font-size: 11px; letter-spacing: .05em; padding-top: 1px; }
.label__rows dd { font-weight: 500; }
.label__checks { padding-block: 10px; display: grid; gap: 6px; }
.label__checks li { display: flex; gap: 8px; align-items: flex-start; }
.label__checks .ico { color: var(--orange-btn); margin-top: 2px; }
.label__sign { padding-top: 10px; border-top: 1px dashed var(--line); font: 400 17px/1.3 var(--serif); color: var(--ultra); }
.why__lede { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.why__list { margin-top: 36px; display: grid; gap: 26px; }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; gap: 30px 36px; } }
.why__list li { display: flex; gap: 16px; }
.why__list li > span { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ultra); color: var(--white); border-radius: 16px 16px 16px var(--tail); }
.why__list li > span .ico { width: 22px; height: 22px; }
.why__list p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(80px, 11vw, 150px); background: var(--white); }
.statement__text { font: 400 clamp(30px, 4.4vw, 60px)/1.22 var(--serif); color: var(--ultra); letter-spacing: -0.01em; max-width: 22ch; }
.statement__text .said { background-color: var(--orange-btn); background-image: none; color: var(--white); }

/* ---------- How it works: stacked cards ---------- */
.section--how { background: var(--paper); --top: 104px; }
.steps { display: flex; flex-direction: column; gap: 24px; --top: 104px; }
.step {
  display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); overflow: hidden;
  border-radius: 36px 36px 36px var(--tail); box-shadow: 0 24px 50px rgba(5,38,154,.08);
}
@media (min-width: 900px) { .step { grid-template-columns: 1fr 1.05fr; min-height: 420px; } }
.step__copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; }
.step__copy > p:not(.msg):not(.step__n) { color: var(--ink-2); font-size: 18px; max-width: 34ch; }
.step__n { font: 400 clamp(64px, 7vw, 96px)/1 var(--serif); color: var(--orange); }
.step__t { font: 400 clamp(28px, 3vw, 40px)/1.1 var(--serif); color: var(--ultra); }
.step .msg { margin-top: auto; font-size: 15.5px; }
.step .msg--in { border: 1px solid var(--line); background: var(--paper); }
.step__img { min-height: 260px; }
.step:nth-child(2) { background: var(--ultra); border-color: var(--ultra); }
.step:nth-child(2) .step__t { color: var(--white); }
.step:nth-child(2) .step__copy > p:not(.msg):not(.step__n) { color: #DCE4FA; }
.step:nth-child(2) .msg--in { background: var(--white); border-color: var(--white); }

/* ---------- Blog cards ---------- */
.posts { display: grid; gap: 16px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.post { overflow: hidden; display: flex; flex-direction: column; position: relative; transition: border-color .25s ease, box-shadow .25s ease; }
.post:hover, .post:focus-within { border-color: var(--sky); box-shadow: 0 24px 48px rgba(5,38,154,.12); }
.post__img { aspect-ratio: 16 / 10; }
.post__img img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { padding: 24px 26px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post__cat { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--orange-btn); }
.post__title { font: 400 23px/1.22 var(--serif); color: var(--ultra); }
.post__title a { text-decoration: none; }
.post__title a::after { content: ""; position: absolute; inset: 0; }
.post__body > p:not([class]) { color: var(--ink-2); flex: 1; font-size: 16px; }
.post__meta { margin-top: auto; font: 400 12.5px/1.4 var(--mono); color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Hospitals ---------- */
.hosp { background: var(--ultra-d); color: var(--white); }
.hosp__grid { display: grid; }
@media (min-width: 900px) { .hosp__grid { grid-template-columns: 1fr 1fr; min-height: 640px; } }
.hosp__photo { min-height: 360px; }
.hosp__photo img { object-position: 50% 40%; }
.hosp__copy { padding: clamp(48px, 7vw, 100px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 22px; max-width: 640px; }
@media (min-width: 900px) { .hosp__copy { padding-inline: clamp(40px, 6vw, 96px); } }
.hosp .h2 { color: var(--white); max-width: 16ch; }
.hosp p { color: #C9D4F5; font-size: 18px; max-width: 46ch; }
.hosp__list { display: grid; gap: 10px; color: #E3E9FB; }
.hosp__list li { display: flex; gap: 10px; align-items: center; }
.hosp__list .ico { color: #F2A493; }
.hosp .btn { align-self: flex-start; margin-top: 6px; }
.hosp__in { display: grid; gap: 28px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
@media (min-width: 900px) { .hosp__in { grid-template-columns: 1fr auto; gap: 64px; } }
.hosp__in p { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 36px; }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--paper); border-radius: 22px 22px 22px var(--tail); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; position: relative; font: 600 18px/1.4 var(--sans); color: var(--ink); border-radius: inherit; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--sans); color: var(--ultra); transition: transform .25s ease; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Final CTA ---------- */
.final { background: var(--ultra); color: var(--white); padding-block: clamp(64px, 9vw, 120px); overflow: hidden; }
.final__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .final__grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.final__copy { display: grid; gap: 22px; justify-items: start; }
.final__title { font: 400 clamp(40px, 5.6vw, 76px)/1.08 var(--serif); letter-spacing: -0.015em; max-width: 13ch; }
.final p { color: #DCE4FA; font-size: 19px; max-width: 40ch; }
.final__actions { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.final__phone { display: inline-flex; align-items: center; gap: 10px; font: 500 20px/1 var(--mono); color: var(--white); text-decoration: none; }
.final__phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.final__photo { aspect-ratio: 4 / 5; border-radius: var(--frame); max-width: 460px; width: 100%; justify-self: center; }
.final__photo img { object-position: 50% 35%; }
.final__bubble { position: absolute; left: 18px; right: auto; bottom: 18px; max-width: 78%; box-shadow: 0 14px 30px rgba(1,8,40,.3); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #C3CAE6; padding-top: 72px; }
.site-foot__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-foot__grid { grid-template-columns: 1.2fr .6fr 1.6fr 1fr; gap: 48px; } }
.site-foot__brand img { width: 118px; }
.site-foot__brand p { margin-top: 18px; max-width: 32ch; font-size: 15.5px; }
.site-foot__h { font: 500 12px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-foot__list { display: grid; gap: 10px; font-size: 15.5px; }
.site-foot__list a { text-decoration: none; }
.site-foot__list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.site-foot__base { margin-top: 56px; padding-block: 24px 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 13.5px; color: #8E97BE; }
.mobile-cta { display: none; }
@media (max-width: 899px) {
  .mobile-cta { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; min-height: 54px; background: var(--orange-btn); color: var(--white); font-weight: 600; text-decoration: none; border-radius: 22px 22px var(--tail) 22px; box-shadow: 0 10px 30px rgba(11,21,64,.3); }
  .mobile-cta .ico { width: 22px; height: 22px; }
  .site-foot { padding-bottom: 76px; }
}

/* ======================================================================
   Inner pages
   ====================================================================== */
.page-hero { background: var(--ultra); color: var(--white); padding-block: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(63,109,195,.5), rgba(63,109,195,0)); pointer-events: none; }
.page-hero__grid { display: grid; gap: 44px; align-items: center; position: relative; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.page-hero__title { font: 400 clamp(42px, 5.6vw, 72px)/1.16 var(--serif); letter-spacing: -0.015em; max-width: 16ch; }
.page-hero__lede { margin-top: 30px; font-size: clamp(18px, 1.6vw, 21px); color: #DCE4FA; max-width: 46ch; }
.page-hero__photo { aspect-ratio: 4 / 5; border-radius: var(--frame); box-shadow: 0 40px 80px rgba(1,8,40,.4); max-width: 440px; width: 100%; justify-self: center; }
@media (max-width: 899px) { .page-hero__photo { aspect-ratio: 16 / 11; max-width: none; } }
.page-hero--ways { padding-bottom: clamp(110px, 12vw, 150px); }

/* blog */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { font: 500 15px/1.2 var(--sans); padding: 11px 18px; min-height: 44px; cursor: pointer; background: var(--white); color: var(--ink); border: 1.5px solid var(--line); border-radius: 18px 18px 18px var(--tail); transition: background-color .2s ease, border-color .2s ease; }
.filter:hover { border-color: var(--sky); }
.filter[aria-pressed="true"] { background: var(--ultra); border-color: var(--ultra); color: var(--white); }
.feature { display: grid; gap: 0; margin-bottom: 20px; background: var(--sky-l); border: 0; position: relative; overflow: hidden; border-radius: 36px 36px 36px var(--tail); }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1.1fr; } }
.feature > div { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; }
.feature__img { min-height: 280px; }
.feature .post__title { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
.feature__lede { font-size: 18px; color: var(--ink-2); }
.feature .post__meta { margin-top: 0; border-top: 0; padding-top: 0; }
.feature__outline { background: var(--white); border-radius: 24px 24px var(--tail) 24px; padding: 22px 24px; margin-top: 8px; position: relative; z-index: 1; }
.feature__outline h3 { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.feature__outline ol { counter-reset: o; display: grid; gap: 10px; }
.feature__outline li { counter-increment: o; display: flex; gap: 12px; font-weight: 500; }
.feature__outline li::before { content: counter(o); font: 400 18px/1.4 var(--serif); color: var(--orange-btn); min-width: 14px; }
.posts--all { grid-template-columns: 1fr; }
@media (min-width: 700px) { .posts--all { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .posts--all { grid-template-columns: repeat(3, 1fr); } }
.post[hidden] { display: none; }
.reviewer { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: 30px 30px 30px var(--tail); }
@media (min-width: 800px) { .reviewer { grid-template-columns: auto 1fr auto; gap: 36px; } }
.reviewer__badge { width: 88px; height: 88px; display: grid; place-items: center; background: var(--ultra); color: var(--white); border-radius: 30px 30px 30px var(--tail); font: 400 34px/1 var(--serif); }
.reviewer h2 { font: 400 26px/1.2 var(--serif); color: var(--ultra); }
.reviewer p { margin-top: 8px; color: var(--ink-2); max-width: 62ch; }

/* contact */
.ways { display: grid; gap: 16px; margin-top: -72px; position: relative; z-index: 2; }
@media (min-width: 700px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ways { grid-template-columns: 1.15fr .8fr 1.45fr 1.1fr; } }
.way { padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; box-shadow: 0 20px 40px rgba(5,38,154,.1); transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.way:hover { border-color: var(--sky); box-shadow: 0 26px 50px rgba(5,38,154,.16); }
.way .help__ico { margin-bottom: 4px; }
.way__t { font: 400 23px/1.2 var(--serif); color: var(--ultra); }
.way__v { font: 500 15px/1.4 var(--mono); color: var(--ink); }
.way .way__v--email { font: 600 15px/1.4 var(--sans); }
.way__n { color: var(--ink-2); font-size: 15.5px; }
.way--main { background: var(--orange-btn); border-color: var(--orange-btn); color: var(--white); }
.way--main .way__t, .way--main .way__v, .way--main .way__n { color: var(--white); }
.way--main .help__ico { background: rgba(255,255,255,.18); color: var(--white); }
.way--main:hover { background: #A93821; border-color: #A93821; }
.two { display: grid; gap: 56px; }
@media (min-width: 960px) { .two { grid-template-columns: 1fr 1fr; gap: 80px; } }
.deliver__photo { aspect-ratio: 16 / 10; border-radius: var(--frame); margin-bottom: 36px; }
.send-list { margin-top: 28px; display: grid; gap: 12px; }
.send-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--paper); border-radius: 20px 20px 20px var(--tail); }
.send-list .ico { width: 24px; height: 24px; color: var(--ultra); margin-top: 1px; }
.send-list b { display: block; font-weight: 600; }
.send-list span { color: var(--ink-2); font-size: 15.5px; }
.areas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { padding: 9px 15px; background: var(--sky-l); color: var(--ultra); font-weight: 500; font-size: 15px; border-radius: 16px 16px 16px var(--tail); }
.facts { margin-top: 32px; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .facts div { grid-template-columns: 180px 1fr; gap: 20px; } }
.facts dt { font: 500 12.5px/1.6 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { font-weight: 500; }
.note { margin-top: 28px; display: flex; gap: 14px; padding: 20px 22px; background: #FCEDEA; color: #7A2414; border-radius: 20px 20px 20px var(--tail); }
.note .ico { width: 24px; height: 24px; color: var(--orange-btn); }
.lede-2 { margin-top: 16px; color: var(--ink-2); font-size: 18px; max-width: 48ch; }

/* ======================================================================
   Motion states. Only applied while JS + GSAP are running (not export, not reduced motion).
   ====================================================================== */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-char { display: inline-block; will-change: transform, opacity; }
.hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hw__i { display: inline-block; will-change: transform; }
.js:not(.is-export):not(.reduced):not(.no-anim) [data-split] { visibility: hidden; }
.js:not(.is-export):not(.reduced):not(.no-anim) [data-hero-title],
.js:not(.is-export):not(.reduced):not(.no-anim) [data-hero-in],
.js:not(.is-export):not(.reduced):not(.no-anim) [data-hero-chat],
.js:not(.is-export):not(.reduced):not(.no-anim) [data-hero-float],
.js:not(.is-export):not(.reduced):not(.no-anim) [data-hero-capsule] { opacity: 0; }
.js:not(.is-export):not(.reduced):not(.no-anim) [data-hero-photo] { clip-path: inset(100% 0 0 0 round 44px); }
@media (prefers-reduced-motion: reduce) {
  [data-split], [data-hero-title], [data-hero-in], [data-hero-chat], [data-hero-float], [data-hero-capsule] { visibility: visible !important; opacity: 1 !important; }
  [data-hero-photo] { clip-path: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.final .final__bubble { color: var(--ink); font-size: 15px; max-width: 78%; }
