/* ==========================================================================
   Dr. Günay Hacızadə — Pediatr-neonatoloq
   ========================================================================== */

:root {
  --navy-950: #0b1a30;
  --navy-900: #0f2240;
  --navy-800: #16325c;
  --navy-700: #1f4274;
  --navy-600: #2f5a93;
  --navy-200: #c9d7ea;
  --navy-100: #e1e9f4;
  --navy-50: #f1f5fa;
  --coral-700: #a93d28;
  --coral-600: #c24a32;
  --coral-500: #d9674f;
  --coral-300: #efa592;
  --coral-200: #f4c9bd;
  --coral-100: #fbe7e1;
  --coral-50: #fdf4f1;
  --sand-200: #ede2d4;
  --sand-100: #f6efe7;
  --sand-50: #fbf8f4;
  --sage-700: #2d6a4f;
  --sage-100: #e4f1ea;
  --gold-700: #85562a;
  --gold-100: #f6ede2;
  --ink: #14233a;
  --text: #2b3a4f;
  --muted: #5a6778;
  --line: #e3e7ee;
  --line-soft: #eef1f5;
  --white: #ffffff;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-xs: 0 1px 2px rgba(15, 34, 64, 0.06);
  --shadow-sm: 0 4px 14px -6px rgba(15, 34, 64, 0.14);
  --shadow: 0 16px 36px -18px rgba(15, 34, 64, 0.24);
  --shadow-lg: 0 32px 64px -28px rgba(15, 34, 64, 0.34);

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 78px;
  --section-y: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--coral-600); }

:focus-visible {
  outline: 3px solid var(--coral-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--coral-100); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.45rem + 3.1vw, 3.85rem); }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.65rem); }
h3 { font-size: clamp(1.22rem, 1.1rem + 0.5vw, 1.45rem); line-height: 1.25; }
h4 { font-size: 1.1rem; line-height: 1.3; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
p, li, dd, figcaption { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 700; }
.nowrap { white-space: nowrap; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 15px; height: 15px; }
.icon--lg { width: 28px; height: 28px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }

.btn--primary {
  background: var(--coral-600);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(194, 74, 50, 0.75);
}
.btn--primary:hover {
  background: var(--coral-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgba(169, 61, 40, 0.75);
}
.btn--primary:active { transform: translateY(0); }

.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-900); color: #fff; }

.btn--outline { background: #fff; color: var(--navy-800); border: 1px solid var(--navy-200); }
.btn--outline:hover { border-color: var(--navy-600); color: var(--navy-900); }

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--coral-600); }
.link-arrow:hover .icon { transform: translateX(4px); }

.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
}
.ext-link .icon { width: 16px; height: 16px; }
.ext-link:hover { color: var(--coral-600); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy-800); }
.icon-btn .icon { width: 21px; height: 21px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-800);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.tag .icon { width: 14px; height: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(15, 34, 64, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 20px -12px rgba(22, 50, 92, 0.8);
}
.brand__mark::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral-500);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.brand__role {
  margin-top: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-600);
  white-space: nowrap;
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__link .icon { width: 15px; height: 15px; stroke-width: 2.2; transition: transform 0.3s var(--ease); }
.nav__link:hover,
.nav__item.is-open > .nav__link { background: var(--navy-50); color: var(--navy-800); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
.nav__link[aria-current="page"],
.nav__item.is-current > .nav__link { color: var(--coral-600); }
.nav__link[aria-current="page"]:hover,
.nav__item.is-current > .nav__link:hover { color: var(--coral-700); }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 10;
  min-width: 290px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.dropdown::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -14px;
  height: 14px;
}
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown--wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; width: 600px; }
.dropdown__list { list-style: none; margin: 0; padding: 0; display: contents; }
.dropdown__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.dropdown__link:hover { background: var(--sand-50); color: var(--ink); }
.dropdown__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--coral-50);
  color: var(--coral-600);
}
.dropdown__icon .icon { width: 19px; height: 19px; }
.dropdown__title { display: block; font-size: 0.92rem; font-weight: 700; line-height: 1.3; }
.dropdown__desc { display: block; margin-top: 2px; font-size: 0.8rem; line-height: 1.4; color: var(--muted); }
.dropdown__foot {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 12px 14px 6px;
  border-top: 1px solid var(--line-soft);
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.vcard-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 18px 0 14px;
  border: 1px solid var(--navy-100);
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-800);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.vcard-trigger:hover { background: #fff; border-color: var(--navy-200); color: var(--navy-900); }
.vcard-trigger .icon { width: 21px; height: 21px; }

.menu-trigger { display: inline-grid; }

@media (max-width: 599px) {
  .vcard-trigger { width: 46px; padding: 0; justify-content: center; }
  .vcard-trigger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand__mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand__name { font-size: 1.06rem; }
  .brand__role { font-size: 0.64rem; letter-spacing: 0.1em; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 6px; }
  .icon-btn, .vcard-trigger { width: 42px; height: 42px; }
}
@media (max-width: 439px) {
  .header-inner, .brand { gap: 10px; }
  .header-actions { gap: 4px; }
  .brand__name { font-size: 0.98rem; }
  .brand__role { font-size: 0.6rem; }
}
@media (max-width: 379px) {
  .brand__text { display: none; }
}

@media (min-width: 1180px) {
  .nav { display: block; }
  .menu-trigger { display: none; }
}

/* ---------- Mobile drawer ---------- */

.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 48, 0.48);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
  padding: 0 20px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 12px 24px; overscroll-behavior: contain; }
.m-nav { list-style: none; margin: 0; padding: 0; }
.m-nav__item { border-bottom: 1px solid var(--line-soft); }
.m-nav__row { display: flex; align-items: center; }
.m-nav__link {
  flex: 1;
  padding: 15px 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.m-nav__link[aria-current="page"] { color: var(--coral-600); }
.m-nav__toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--navy-800);
}
.m-nav__toggle:hover { background: var(--navy-50); }
.m-nav__toggle .icon { transition: transform 0.3s var(--ease); }
.m-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-nav__sub { list-style: none; margin: 0; padding: 0 0 10px 12px; }
.m-nav__sub[hidden] { display: none; }
.m-nav__sub a {
  display: block;
  padding: 9px 12px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.m-nav__sub a:hover { color: var(--coral-600); border-left-color: var(--coral-300); }
.drawer__contact {
  margin: 20px 12px 0;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--sand-50);
  font-size: 0.92rem;
}
.drawer__contact p { margin: 0 0 6px; color: var(--muted); }
.drawer__contact a { font-weight: 700; color: var(--navy-800); text-decoration: none; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sand { background: var(--sand-50); }
.section--mist { background: var(--navy-50); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  max-width: none;
}
.section-head--row > div { max-width: 680px; }
.section-head p { font-size: 1.05rem; color: var(--muted); }
.section-head h2 { margin-bottom: 0.4em; }

.lead { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.18rem); line-height: 1.7; color: var(--muted); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(251, 231, 225, 0.9), transparent 62%),
    radial-gradient(700px 480px at -10% 110%, rgba(225, 233, 244, 0.8), transparent 60%),
    linear-gradient(180deg, var(--sand-50) 0%, #fff 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(44px, 6vw, 72px);
  align-items: center;
  padding-block: clamp(36px, 6vw, 84px) clamp(92px, 11vw, 150px);
}
.hero__title { margin-bottom: 22px; }
.hero__title-role {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-600);
}
.hero__title-name { display: block; }
.hero__slogan {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 3px solid var(--coral-300);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  line-height: 1.5;
  color: var(--navy-700);
}
.hero__lead { max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 32px; }
.hero__facts {
  display: grid;
  gap: 14px 30px;
  margin: 36px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.93rem;
  color: var(--muted);
}
.hero__facts li { display: flex; align-items: flex-start; gap: 12px; }
.hero__facts .icon { margin-top: 2px; color: var(--coral-600); }
.hero__facts strong { display: block; font-size: 0.95rem; }

.hero__media { position: relative; isolation: isolate; justify-self: center; width: min(100%, 420px); }
.portrait-frame {
  position: relative;
  aspect-ratio: 317 / 418;
  overflow: hidden;
  border-radius: 50% 50% var(--radius-xl) var(--radius-xl) / 38% 38% var(--radius-xl) var(--radius-xl);
  background: var(--navy-50);
  box-shadow: var(--shadow-lg);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__ring {
  position: absolute;
  inset: -16px;
  z-index: -1;
  border: 1px solid var(--coral-200);
  border-radius: 50% 50% 40px 40px / 38% 38% 40px 40px;
}
.hero__dots {
  position: absolute;
  right: -34px;
  bottom: 40px;
  z-index: -1;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(var(--navy-200) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.8;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  padding: 12px 16px;
  border: 1px solid rgba(227, 231, 238, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--muted);
}
.float-card strong { display: block; font-size: 0.9rem; color: var(--ink); }
.float-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--coral-50);
  color: var(--coral-600);
}
.float-card--a { left: -34px; bottom: 76px; animation: float 7s ease-in-out infinite; }
.float-card--b { right: -30px; top: 64px; animation: float 8s ease-in-out -2s infinite; }
.float-card--b .float-card__icon { background: var(--navy-50); color: var(--navy-700); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 640px) {
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
  .hero__media { justify-self: end; margin-right: 34px; }
}
@media (max-width: 979px) {
  .hero__media { max-width: 360px; }
}
@media (min-width: 700px) and (max-width: 979px) {
  /* keep the floating facts beside the portrait instead of over the face */
  .float-card--a { left: -150px; bottom: 96px; }
  .float-card--b { right: -150px; top: 112px; }
}
@media (max-width: 699px) {
  .float-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; max-width: none; margin-top: 12px; animation: none; }
  .float-card--a { margin-top: 22px; }
  .hero__ring, .hero__dots { display: none; }
}

/* credentials strip overlapping the hero */
.creds-wrap { position: relative; z-index: 2; margin-top: clamp(-96px, -8vw, -60px); }
.creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow);
}
.cred { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px; background: #fff; }
.cred__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--navy-50);
  color: var(--navy-700);
}
.cred__label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-600); }
.cred__title { display: block; margin-top: 2px; font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.cred__meta { display: block; margin-top: 2px; font-size: 0.85rem; line-height: 1.45; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(26px, 4vw, 44px) clamp(52px, 7vw, 92px);
  background:
    radial-gradient(760px 420px at 100% 0%, rgba(251, 231, 225, 0.75), transparent 60%),
    linear-gradient(180deg, var(--sand-50), #fff);
}
.page-hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 64ch; }
.page-hero__media { justify-self: center; width: min(100%, 360px); }
@media (min-width: 900px) {
  .page-hero__grid--media { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .page-hero__media { justify-self: end; }
}

.breadcrumb { margin-bottom: clamp(22px, 3vw, 34px); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--navy-200);
  border-right: 1.5px solid var(--navy-200);
  transform: rotate(45deg);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--coral-600); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.chip:hover { border-color: var(--coral-200); color: var(--coral-700); box-shadow: var(--shadow-xs); }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip .icon { width: 16px; height: 16px; }
@media (max-width: 599px) {
  /* hero shortcut chips and blog filters scroll sideways instead of stacking */
  .page-hero .chip-nav,
  .filter-bar {
    flex-wrap: nowrap;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-block: 2px 4px;
    overflow-x: auto;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .page-hero .chip-nav::-webkit-scrollbar,
  .filter-bar::-webkit-scrollbar { display: none; }
  .page-hero .chip-nav .chip,
  .filter-bar .chip { flex: none; }
}

/* ---------- Photos ---------- */

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--navy-50);
  box-shadow: var(--shadow-lg);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--arch { border-radius: 50% 50% var(--radius-xl) var(--radius-xl) / 37% 37% var(--radius-xl) var(--radius-xl); }
.photo-wrap { position: relative; isolation: isolate; }
.photo-wrap::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: var(--coral-50);
}
.photo-wrap--arch::before { border-radius: 50% 50% var(--radius-xl) var(--radius-xl) / 37% 37% var(--radius-xl) var(--radius-xl); background: var(--navy-50); }
@media (max-width: 600px) {
  .photo-wrap::before { inset: 14px -10px -14px 10px; }
}
.photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.photo-caption .icon { color: var(--coral-600); }

/* ---------- Split layout ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 84px); align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse .split__media { order: 2; }
  .split--media-sm { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .split--reverse.split--media-sm { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}
.split__media { position: relative; justify-self: center; width: 100%; }
.split__media--portrait { max-width: 380px; }
@media (min-width: 600px) and (max-width: 919px) {
  .split__media:not(.split__media--portrait) { max-width: 580px; }
}

.check-list { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 36px; line-height: 1.55; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--coral-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c24a32' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.card--soft { background: var(--sand-50); border-color: var(--sand-100); }
.card--mist { background: var(--navy-50); border-color: var(--navy-100); }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--coral-500), var(--navy-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); color: inherit; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: var(--coral-50);
  color: var(--coral-600);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--coral-600); color: #fff; }
.service-card h3 { margin: 6px 0 0; font-size: 1.24rem; }
.service-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-800);
}
.service-card__more .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

.info-card { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.info-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--navy-50);
  color: var(--navy-700);
}
.info-card h3 { margin: 6px 0 0; font-size: 1.15rem; }
.info-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Quote band ---------- */

.quote-band { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.quote-band::before,
.quote-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(239, 165, 146, 0.25);
}
.quote-band::before { width: 520px; height: 520px; right: -160px; top: -240px; }
.quote-band::after { width: 360px; height: 360px; left: -140px; bottom: -200px; }
@media (max-width: 899px) {
  .quote-band::before { width: 300px; height: 300px; right: -170px; top: -170px; }
  .quote-band::after { width: 240px; height: 240px; left: -150px; bottom: -150px; }
}
.quote-band .container { position: relative; z-index: 1; }
.quote-band figure { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-band__mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--coral-300); }
.quote-band__mark .icon { fill: currentColor; stroke: none; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
  text-wrap: balance;
}
.quote-band figcaption { margin-top: 22px; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; color: var(--coral-300); }

/* ---------- Media ---------- */

.media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.media-card__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-900); }
.media-card--vertical .media-card__thumb { aspect-ratio: 9 / 14; }
.media-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.media-card:hover .media-card__thumb img { transform: scale(1.045); }
.media-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(11, 26, 48, 0) 35%, rgba(11, 26, 48, 0.6) 100%);
  color: var(--coral-600);
}
.media-card__play-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.media-card__play-icon .icon { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; stroke: none; }
.media-card__play:hover .media-card__play-icon { transform: scale(1.08); background: var(--coral-600); color: #fff; }
.media-card__duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(11, 26, 48, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  pointer-events: none;
}
.media-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.media-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.8rem; color: var(--muted); }
.media-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.35; }
.media-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.media-card__links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: auto; padding-top: 8px; }
.media-card--vertical h3 { font-size: 1rem; }
.media-card--vertical .media-card__body { padding: 16px 18px 18px; }

/* three videos: 3 columns on desktop; on tablet the first becomes a horizontal feature card */
.grid--media3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .grid--media3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--media3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .grid--media3 > .media-card:first-child { grid-column: 1 / -1; flex-direction: row; }
  .grid--media3 > .media-card:first-child .media-card__thumb { flex: 0 0 54%; aspect-ratio: auto; min-height: 230px; }
  .grid--media3 > .media-card:first-child .media-card__body { justify-content: center; padding: 26px 28px; }
  .grid--media3 > .media-card:first-child h3 { font-size: 1.3rem; }
  .grid--media3 > .media-card:first-child .media-card__links { margin-top: 6px; }
}

.media-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  pointer-events: none;
}
.media-card__badge .icon { width: 15px; height: 15px; }

/* external (Facebook) video cover */
.video-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(420px 260px at 85% 110%, rgba(217, 103, 79, 0.38), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  text-decoration: none;
}
.video-cover::before,
.video-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(239, 165, 146, 0.3);
  pointer-events: none;
}
.video-cover::before { width: 300px; height: 300px; left: -90px; top: -150px; }
.video-cover::after { width: 220px; height: 220px; right: -60px; bottom: -120px; }
.video-cover__avatar { position: relative; width: clamp(96px, 22%, 128px); }
.video-cover__avatar img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12), 0 18px 36px -14px rgba(0, 0, 0, 0.55); transition: transform 0.6s var(--ease); }
.video-cover .media-card__play-icon { position: absolute; right: -14px; bottom: -6px; width: 52px; height: 52px; color: var(--coral-600); }
.video-cover .media-card__play-icon .icon { width: 20px; height: 20px; }
.video-cover:hover { color: #fff; }
.video-cover:hover .media-card__play-icon { transform: scale(1.08); background: var(--coral-600); color: #fff; }
.media-card:hover .video-cover__avatar img { transform: scale(1.04); }

/* project tile completing a row of vertical videos */
.project-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  height: 100%;
  min-height: 260px;
  padding: 28px 24px 26px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(380px 300px at 100% 0%, rgba(217, 103, 79, 0.3), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
}
.project-tile::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  right: -140px;
  top: -120px;
  border-radius: 50%;
  border: 1px solid rgba(239, 165, 146, 0.32);
}
.project-tile__mark { font-family: var(--font-serif); font-size: clamp(3rem, 2.4rem + 2vw, 4.2rem); line-height: 1; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.95); margin-bottom: auto; }
.project-tile__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-300); }
.project-tile__title { margin: 0; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; color: #fff; }
.project-tile .ext-link { margin-top: 6px; color: #fff; }
.project-tile .ext-link:hover { color: var(--coral-300); }

.press-card { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.press-card__source { display: flex; align-items: center; gap: 12px; }
.press-card__logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sand-100);
  color: var(--navy-800);
}
.press-card__name { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; }
.press-card__date { display: block; font-size: 0.85rem; color: var(--muted); }
.press-card h3 { margin: 4px 0 0; font-size: 1.22rem; line-height: 1.35; }
.press-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.press-card__links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: auto; padding-top: 6px; }

.sub-head { display: flex; align-items: center; gap: 12px; margin: clamp(40px, 5vw, 60px) 0 22px; }
.sub-head:first-child { margin-top: 0; }
.sub-head h3 { margin: 0; font-size: 1.3rem; }
.sub-head__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--coral-50); color: var(--coral-600); }
.sub-head p { margin: 2px 0 0; font-size: 0.9rem; color: var(--muted); }

.topic-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.topic-list li { position: relative; padding-left: 20px; font-size: 0.95rem; color: var(--text); line-height: 1.5; }
.topic-list li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral-300); }

/* ---------- Timeline ---------- */

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--coral-200), var(--navy-100));
}
.timeline__item { position: relative; padding: 0 0 30px 70px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--coral-200);
  border-radius: 50%;
  background: #fff;
  color: var(--coral-600);
}
.timeline__dot .icon { width: 20px; height: 20px; }
.timeline__period { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-600); }
.timeline__title { margin: 4px 0 2px; font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.3; color: var(--ink); }
.timeline__text { margin: 0; color: var(--muted); }

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
caption { padding: 14px 18px 0; text-align: left; font-weight: 700; color: var(--ink); }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
thead th { background: var(--navy-50); color: var(--navy-800); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
tbody th { font-weight: 700; color: var(--ink); }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover > * { background: var(--sand-50); }
@media (max-width: 599px) {
  /* wide tables scroll sideways instead of squeezing every column */
  .table-wrap table:has(tr > :nth-child(3)) { min-width: 540px; }
  th, td { padding: 12px 14px; }
}

/* ---------- Notes ---------- */

.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  background: var(--navy-50);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.note > .icon { margin-top: 2px; color: var(--navy-700); }
.note p { margin: 0; }
.note--alert { border-color: var(--coral-100); background: var(--coral-50); }
.note--alert > .icon { color: var(--coral-600); }
.note--sand { border-color: var(--sand-200); background: var(--sand-50); }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--navy-100); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy-800); }
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-50); transition: background-color 0.25s var(--ease); }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background-color 0.25s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--coral-600); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 22px 22px; color: var(--muted); }
.faq-answer p { margin: 0 0 0.8em; }
.faq-answer p:last-child { margin-bottom: 0; }

@supports selector(::details-content) {
  .faq-item::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 60px); }
.faq-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.faq-group__head h2 { margin: 0; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); }
.faq-group__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--coral-50); color: var(--coral-600); }

/* ---------- Services page ---------- */

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  padding-block: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 60px);
}
.service-block:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 980px) {
  .service-block { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
  .service-block__head { position: sticky; top: calc(var(--header-h) + 100px); align-self: start; }
}
.service-block__num { display: block; margin-bottom: 14px; font-family: var(--font-serif); font-size: 0.95rem; color: var(--coral-600); }
.service-block__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 19px; background: var(--coral-50); color: var(--coral-600); }
.service-block__icon .icon { width: 28px; height: 28px; }
.service-block__head h2 { font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.1rem); margin-bottom: 0; }
.service-block__body h3 { margin-top: 0; font-size: 1.25rem; }
.service-block__body > * + h3 { margin-top: 1.6em; }
.service-block__body .photo { margin-top: 28px; }
.service-block__body .table-wrap,
.service-block__body .note,
.service-block__body .check-list { margin-top: 22px; }
.service-block__links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; }

.sticky-chips {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.sticky-chips .chip-nav { margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; overscroll-behavior-x: contain; }
.sticky-chips .chip-nav::-webkit-scrollbar { display: none; }
.sticky-chips .chip { flex: none; }
.sticky-chips .chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.sticky-chips .chip-nav.is-fade-end { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.sticky-chips .chip-nav.is-fade-start { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.sticky-chips .chip-nav.is-fade-start.is-fade-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
@media (min-width: 1280px) {
  .sticky-chips .chip-nav { justify-content: space-between; gap: 8px; }
  .sticky-chips .chip { padding-inline: 13px; font-size: 0.875rem; }
}

/* ---------- Blog ---------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 40px); }

.article-card {
  display: flex;
  flex-direction: var(--card-dir, column);
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.article-card[hidden] { display: none; }
.article-card__cover {
  position: relative;
  display: grid;
  place-items: center;
  flex: var(--cover-flex, none);
  aspect-ratio: var(--cover-ratio, 16 / 8.5);
  overflow: hidden;
  background: var(--cat-bg, var(--navy-50));
  color: var(--cat-fg, var(--navy-700));
}
.article-card__cover::before,
.article-card__cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.16;
}
.article-card__cover::before { width: 240px; height: 240px; right: -70px; top: -110px; }
.article-card__cover::after { width: 150px; height: 150px; left: -50px; bottom: -80px; }
.article-card__cover .icon { position: relative; width: var(--cover-icon, 58px); height: var(--cover-icon, 58px); stroke-width: 1.35; transition: transform 0.5s var(--ease); }
.article-card:hover .article-card__cover .icon { transform: scale(1.08) rotate(-3deg); }
.article-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: var(--body-pad, 22px 24px 24px); }
.article-card h3 { margin: 0; font-size: var(--title-size, 1.2rem); line-height: 1.32; }
.article-card p { margin: 0; font-size: var(--desc-size, 0.93rem); color: var(--muted); }
.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.article-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-card__meta .icon { width: 15px; height: 15px; }

/* article grid: explicit columns; the first card widens so rows never end with a lone card */
.grid--articles { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .grid--articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--articles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .grid--articles > .is-wide-t2 {
    grid-column: span 2;
    --card-dir: row; --cover-flex: 0 0 42%; --cover-ratio: auto; --cover-icon: 72px;
    --body-pad: 30px 32px; --title-size: 1.5rem; --desc-size: 0.98rem;
  }
}
@media (min-width: 1024px) {
  .grid--articles > .is-wide-d2 { grid-column: span 2; }
  .grid--articles > .is-wide-d3 { grid-column: span 3; }
  .grid--articles > :is(.is-wide-d2, .is-wide-d3) {
    --card-dir: row; --cover-flex: 0 0 46%; --cover-ratio: auto; --cover-icon: 84px;
    --body-pad: clamp(30px, 3vw, 44px); --title-size: clamp(1.5rem, 1.1rem + 0.9vw, 1.9rem); --desc-size: 1rem;
  }
}

.cat-tag { background: var(--cat-bg, var(--navy-50)); color: var(--cat-fg, var(--navy-800)); align-self: flex-start; }
[data-cat="korpe"] { --cat-bg: #fbe7e1; --cat-fg: #a93d28; }
[data-cat="inkisaf"] { --cat-bg: #e1e9f4; --cat-fg: #1f4274; }
[data-cat="qidalanma"] { --cat-bg: #e4f1ea; --cat-fg: #2d6a4f; }
[data-cat="saglamliq"] { --cat-bg: #f6ede2; --cat-fg: #85562a; }

.empty-state { padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--radius-lg); text-align: center; color: var(--muted); }

/* article page */
.article-hero { padding-bottom: clamp(36px, 5vw, 60px); }
.article-hero h1 { max-width: 24ch; font-size: clamp(2rem, 1.35rem + 2.5vw, 3.2rem); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}
.article-meta__author { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.article-meta__author:hover { color: var(--coral-600); }
.article-meta__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.article-meta__author strong { display: block; font-size: 0.95rem; }
.article-meta__author span { display: block; font-size: 0.8rem; color: var(--muted); }
.article-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.article-meta__item .icon { width: 17px; height: 17px; color: var(--coral-600); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); padding-bottom: var(--section-y); }
@media (min-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 290px; align-items: start; }
  .article-aside { order: 2; position: sticky; top: calc(var(--header-h) + 28px); }
}

.toc { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.toc[open] summary .icon { transform: rotate(180deg); }
.toc ol { display: grid; gap: 2px; margin: 0; padding: 0 12px 14px; list-style: none; }
.toc a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.toc a:hover { color: var(--navy-800); }
.toc a.is-active { border-left-color: var(--coral-600); background: var(--sand-50); color: var(--navy-800); font-weight: 600; }
@media (min-width: 1080px) {
  .toc summary { cursor: default; }
  .toc summary .icon { display: none; }
}

.prose { max-width: 72ch; font-size: 1.06rem; line-height: 1.8; }
.prose > p:first-child { font-size: 1.16rem; line-height: 1.75; color: var(--ink); }
.prose h2 { margin: 2.1em 0 0.65em; font-size: clamp(1.45rem, 1.25rem + 0.75vw, 1.85rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0.5em; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.35em; }
.prose li { margin: 0.4em 0; padding-left: 0.2em; }
.prose li::marker { color: var(--coral-600); }
.prose .table-wrap { margin: 1.5em 0; }
.prose .note { margin: 1.6em 0; }
.prose a { font-weight: 600; }

.video-links { display: grid; gap: 10px; margin: 1.8em 0; padding: 20px; border-radius: var(--radius); background: var(--sand-50); border: 1px solid var(--sand-100); }
.video-links__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.video-links__title .icon { color: var(--coral-600); }
.video-links ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.video-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.98rem; font-weight: 600; text-decoration: none; }
.video-links a .icon { width: 16px; height: 16px; }

.author-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: 2.6em;
  padding: 24px;
  border: 1px solid var(--sand-100);
  border-radius: var(--radius-lg);
  background: var(--sand-50);
}
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff; }
.author-box__text { flex: 1; min-width: 220px; }
.author-box__label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-600); }
.author-box__name { display: block; margin: 2px 0 4px; font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); }
.author-box p { margin: 0; font-size: 0.93rem; line-height: 1.6; color: var(--muted); }
.author-box .author-box__note { display: flex; flex-basis: 100%; gap: 10px; padding-top: 16px; border-top: 1px solid var(--sand-200); font-size: 0.88rem; }
.author-box__note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--navy-600); }

.article-cta {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, 0.82);
}
.article-cta h2 { margin: 0 0 6px; color: #fff; font-size: 1.5rem; }
.article-cta p { margin: 0; }
@media (min-width: 720px) {
  .article-cta { grid-template-columns: 1fr auto; align-items: center; }
}

.related { padding-block: var(--section-y); background: var(--sand-50); }

/* ---------- CTA band ---------- */

.cta-section { padding-block: 0 var(--section-y); }
:is(.section--sand, .section--mist, .quote-band, .related) + .cta-section,
.sticky-chips + .cta-section { padding-top: var(--section-y); }
.cta-band {
  position: relative;
  display: grid;
  gap: 26px;
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: linear-gradient(130deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: rgba(255, 255, 255, 0.8);
  isolation: isolate;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -220px; border: 1px solid rgba(239, 165, 146, 0.35); }
.cta-band::after { width: 300px; height: 300px; right: 120px; bottom: -220px; background: radial-gradient(circle, rgba(217, 103, 79, 0.35), transparent 70%); }
.cta-band h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.3rem); }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-band__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; font-size: 0.92rem; }
.cta-band__meta > span { display: inline-flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.cta-band__meta .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--coral-300); }
.cta-band__meta a { color: #fff; font-weight: 600; text-decoration: none; }
.cta-band__meta a:hover { color: var(--coral-300); }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 899px) {
  .cta-band::before { width: 260px; height: 260px; right: -150px; top: -150px; }
  .cta-band::after { right: -120px; bottom: -200px; }
}

/* ---------- Contact ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; }
.contact-item__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: var(--coral-50); color: var(--coral-600); }
.contact-item h2,
.contact-item h3 { margin: 0 0 4px; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-item p { margin: 0; color: var(--ink); }
.contact-item a { font-weight: 700; text-decoration: none; color: var(--navy-800); }
.contact-item a:hover { color: var(--coral-600); }
.contact-item .contact-item__sub { font-size: 0.9rem; color: var(--muted); }

.phone-list { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.phone-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.phone-list span { font-size: 0.88rem; color: var(--muted); }

.hours { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); background: none !important; }
.hours th { font-weight: 600; color: var(--muted); }
.hours td { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.hours tr:last-child > * { border-bottom: 0; }

.form-card { padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
@media (min-width: 1000px) and (min-height: 880px) {
  .contact-layout > .form-card { position: sticky; top: calc(var(--header-h) + 24px); }
}
.form-card h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); }
.form-card > p { color: var(--muted); }
.form { display: grid; gap: 18px; margin-top: 26px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 600px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.field .req { color: var(--coral-600); }
.field .optional { font-weight: 500; color: var(--muted); }
.input,
.select,
.textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.select {
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316325c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.input::placeholder,
.textarea::placeholder { color: #8a95a3; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy-200); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(47, 90, 147, 0.15); }
.field.has-error .input,
.field.has-error .select { border-color: var(--coral-600); box-shadow: 0 0 0 4px rgba(194, 74, 50, 0.12); }
.field-error { display: none; font-size: 0.85rem; font-weight: 600; color: var(--coral-700); }
.field.has-error .field-error { display: block; }
.form__note { display: flex; gap: 10px; font-size: 0.86rem; line-height: 1.55; color: var(--muted); }
.form__note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--navy-600); }
.form__status { display: none; padding: 14px 16px; border-radius: 14px; background: var(--sage-100); color: var(--sage-700); font-size: 0.92rem; font-weight: 600; }
.form__status.is-visible { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 360px at 100% 0%, rgba(217, 103, 79, 0.13), transparent 70%),
    radial-gradient(560px 320px at 0% 100%, rgba(47, 90, 147, 0.22), transparent 70%);
  pointer-events: none;
}
.footer-grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.72fr) minmax(0, 0.95fr) minmax(0, 1.4fr); gap: 44px; }
}
.footer-brand .brand { margin: 0 0 18px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__role { color: var(--coral-300); }
.footer-brand p { max-width: 38ch; color: rgba(255, 255, 255, 0.68); }
.site-footer h2 {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: flex; gap: 12px; line-height: 1.55; }
.footer-contact .icon { width: 19px; height: 19px; margin-top: 3px; color: var(--coral-300); }
.footer-contact a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: var(--coral-300); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-social a:hover { background: var(--coral-600); border-color: var(--coral-600); color: #fff; }
.footer-social .icon { width: 19px; height: 19px; }
.footer-disclaimer {
  position: relative;
  margin-top: clamp(40px, 5vw, 56px);
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 28px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-bottom a:hover { color: var(--coral-300); }

/* ---------- Dialogs ---------- */

.modal {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-xl);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(11, 26, 48, 0.58); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in 0.4s var(--ease-out); }
.modal[open]::backdrop { animation: fade-in 0.3s var(--ease); }
.modal.is-closing { animation: modal-out 0.2s var(--ease) forwards; }
.modal.is-closing::backdrop { animation: fade-out 0.2s var(--ease) forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
.modal__scroll { max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background-color 0.2s var(--ease);
}
.modal__close:hover { background: rgba(255, 255, 255, 0.26); }
.modal__close--dark { background: var(--navy-50); color: var(--ink); }
.modal__close--dark:hover { background: var(--navy-100); }

@media (max-width: 599px) {
  .modal:not(.modal--video) {
    width: 100%;
    max-height: calc(100dvh - 24px);
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
  }
  .modal:not(.modal--video) .modal__scroll { max-height: calc(100dvh - 24px); }
  .modal:not(.modal--video)[open] { animation: sheet-in 0.45s var(--ease-out); }
  @keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }
}

/* vizitkart */
.vcard__top {
  position: relative;
  padding: 30px 28px 70px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, 0.8);
}
.vcard__top::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(239, 165, 146, 0.35);
}
.vcard__eyebrow { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral-300); }
.vcard__profile { position: relative; display: flex; align-items: flex-end; gap: 18px; margin: -54px 28px 0; }
.vcard__profile > div { min-width: 0; padding-top: 58px; }
.vcard__photo { flex: none; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #fff, var(--shadow); }
.vcard__name { margin: 0; font-size: 1.55rem; line-height: 1.2; }
@media (max-width: 479px) {
  .vcard__profile { flex-direction: column; align-items: flex-start; gap: 12px; margin-inline: 22px; }
  .vcard__profile > div { padding-top: 0; }
  .vcard__name { font-size: 1.45rem; }
  .vcard__top { padding-inline: 22px; }
  .vcard__list { margin-inline: 22px; }
}
.vcard__role { margin: 4px 0 0; font-size: 0.92rem; font-weight: 700; color: var(--coral-600); }
.vcard__list { display: grid; margin: 22px 28px 0; padding: 0; list-style: none; }
.vcard__list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.vcard__list li:last-child { border-bottom: 0; }
.vcard__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--navy-50); color: var(--navy-700); }
.vcard__icon .icon { width: 19px; height: 19px; }
.vcard__label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.vcard__value { display: block; margin-top: 1px; font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.vcard__value a { font-weight: 700; color: var(--navy-800); text-decoration: none; }
.vcard__value a:hover { color: var(--coral-600); }
.vcard__value small { display: block; font-size: 0.82rem; color: var(--muted); }
.vcard__actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 16px 28px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
@media (min-width: 480px) {
  .vcard__actions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479px) {
  .vcard__actions { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding-inline: 16px; gap: 8px; }
  .vcard__actions .btn { padding: 0 12px; font-size: 0.9rem; }
}
.vcard__actions .btn { min-height: 50px; padding: 0 18px; font-size: 0.95rem; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* search */
.modal--search { width: min(720px, calc(100vw - 32px)); margin-top: min(10vh, 90px); }
@media (max-width: 599px) {
  .modal--search { margin: 0 !important; height: 100dvh; max-height: 100dvh; border-radius: 0 !important; }
  .modal--search .modal__scroll { max-height: 100dvh; }
}
.search-box { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.search-box > .icon { color: var(--navy-600); }
.search-box input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  background: transparent;
  font-size: 1.12rem;
  color: var(--ink);
}
.search-box input:focus { outline: none; }
.search-box input::placeholder { color: #8a95a3; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-body { padding: 18px 22px 24px; }
.search-hint { margin: 0 0 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.search-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.search-result {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s var(--ease);
}
.search-result:hover,
.search-result.is-active { background: var(--navy-50); color: inherit; }
.search-result__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--coral-50); color: var(--coral-600); }
.search-result__icon .icon { width: 19px; height: 19px; }
.search-result > span:last-child { min-width: 0; }
.search-result__type { display: block; overflow: hidden; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.search-all { margin: 14px 14px 0; }
.search-result__title { display: block; margin: 2px 0; font-weight: 700; line-height: 1.35; color: var(--ink); }
.search-result__snippet { display: block; font-size: 0.88rem; line-height: 1.5; color: var(--muted); }
.search-result mark { padding: 0; border-radius: 3px; background: var(--coral-100); box-shadow: 0 0 0 2px var(--coral-100); color: var(--ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.search-empty { padding: 26px 8px 10px; text-align: center; color: var(--muted); }
.search-count { margin: 0 0 10px; font-size: 0.85rem; color: var(--muted); }
.kbd { display: inline-block; min-width: 24px; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; color: var(--muted); text-align: center; }

.search-page .search-box { position: static; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.search-page .search-box:focus-within { border-color: var(--navy-200); box-shadow: 0 0 0 4px rgba(47, 90, 147, 0.12); }
.search-page .search-results { margin-top: 22px; }

/* video */
.modal--video { width: min(980px, calc(100vw - 32px)); background: #000; border-radius: var(--radius-lg); overflow: visible; }
.modal--video.is-vertical { width: min(420px, calc(100vw - 32px)); }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: #000; }
.modal--video.is-vertical .video-frame { aspect-ratio: 9 / 16; max-height: calc(100dvh - 120px); margin-inline: auto; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal--video .modal__close { top: -52px; right: 0; background: rgba(255, 255, 255, 0.16); }
.video-caption { margin: 0; padding: 12px 4px 0; color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; text-align: center; }

/* ---------- Misc ---------- */

.divider-title { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.divider-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.stat-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.pub-card { display: grid; gap: 22px; }
@media (min-width: 820px) {
  .pub-card { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
}
.pub-card__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--navy-800); color: #fff; }
.pub-card__icon .icon { width: 32px; height: 32px; }
.pub-card h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }

.not-found { padding-block: clamp(64px, 10vw, 140px); text-align: center; }
.not-found__code { display: block; font-family: var(--font-serif); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--coral-200); }
.not-found .search-box { max-width: 560px; margin: 30px auto 0; text-align: left; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.grid--reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) {
  .grid--reels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .grid--reels { gap: 14px; }
  .grid--reels .media-card__body { padding: 12px 12px 14px; gap: 6px; }
  .grid--reels .media-card h3 { font-size: 0.92rem; }
  .grid--reels .media-card__meta { font-size: 0.72rem; gap: 4px 8px; }
  .grid--reels .tag { padding: 3px 8px; font-size: 0.68rem; }
  .grid--reels .media-card__play-icon { width: 48px; height: 48px; }
  .grid--reels .media-card__play-icon .icon { width: 18px; height: 18px; }
  .grid--reels .project-tile { min-height: 0; padding: 20px 16px 18px; gap: 8px; }
  .grid--reels .project-tile__title { font-size: 1rem; }
  .grid--reels .project-tile .ext-link { font-size: 0.82rem; }
}
@media (max-width: 599px) {
  .grid--reels { gap: 12px; }
}

.faq-emergency { margin-top: clamp(40px, 5vw, 56px); }
.contact-emergency { margin-top: clamp(28px, 4vw, 40px); }
.contact-item__grow { flex: 1; min-width: 0; }
.contact-item p + p { margin-top: 4px; }
.contact-item__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px !important; }
.search-page__output { margin-top: 8px; }

.split--top { align-items: start; }
@media (min-width: 920px) and (min-height: 700px) {
  .split--top > .split__media { position: sticky; top: calc(var(--header-h) + 40px); }
}
.search-suggest--page { margin-top: 18px; }
.press-row { margin-top: clamp(20px, 2.5vw, 26px); }
.search-page .search-box .btn { min-height: 46px; padding: 0 22px; }

.visit-card {
  display: grid;
  gap: 28px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}
.visit-card h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.visit-card__grid { display: grid; gap: 24px; }
.visit-card .contact-item p { color: var(--muted); font-size: 0.95rem; }
.visit-card .contact-item p strong { color: var(--ink); }
.visit-card .contact-item a[href^="tel:"] { white-space: nowrap; }
@media (min-width: 640px) {
  .visit-card__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-card__grid > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .visit-card__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .visit-card__grid > :first-child { grid-column: auto; }
}
@media (min-width: 1100px) {
  .visit-card { grid-template-columns: minmax(0, 0.65fr) minmax(0, 2.35fr); align-items: center; }
}

.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.area-grid li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--navy-50); font-size: 0.92rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.area-grid .icon { width: 18px; height: 18px; color: var(--coral-600); }
@media (max-width: 480px) {
  .area-grid { grid-template-columns: 1fr; }
}

.hero-anim { animation: hero-rise 0.9s var(--ease-out) both; }
.hero-anim[data-anim="1"] { animation-delay: 0.08s; }
.hero-anim[data-anim="2"] { animation-delay: 0.16s; }
.hero-anim[data-anim="3"] { animation-delay: 0.24s; }
.hero-anim[data-anim="4"] { animation-delay: 0.32s; }
.hero__media.hero-anim { animation-name: hero-media; animation-duration: 1.1s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hero-media { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .drawer, .cta-section, .article-aside, .modal, .skip-link { display: none !important; }
  body { color: #000; }
  a { color: #000; }
}
