
:root {
  /* Colours pulled from the institute crest */
  --indigo: #3b2a8c;
  --indigo-d: #251a5e;
  --indigo-l: #6151c4;
  --red: #d02a26;
  --red-d: #a51f1c;
  --gold: #f2b929;
  --gold-d: #d3960b;

  --ink: #171532;
  --ink-2: #3d3960;
  --muted: #6e6b8c;

  --paper: #ffffff;
  --cream: #fbf7ef;
  --sky: #eef5fd;
  --sky-2: #dbe9f8;

  --line: rgba(23, 21, 50, .10);
  --line-2: rgba(23, 21, 50, .18);

  --shadow-s: 0 2px 10px rgba(23, 21, 50, .06);
  --shadow-m: 0 14px 34px -18px rgba(23, 21, 50, .38);
  --shadow-l: 0 30px 60px -28px rgba(37, 26, 94, .48);

  --wrap: 1180px;
  --gut: 22px;
  --radius: 16px;
  --radius-s: 10px;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 78px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: var(--indigo); text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.06rem + .6vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

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

:focus-visible {
  outline: 3px solid var(--gold-d);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--indigo);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: 900px; }

.section { padding: clamp(56px, 7vw, 104px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--sky {
  background:
    radial-gradient(900px 420px at 12% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(170deg, var(--sky) 0%, #f7fbff 100%);
}
.section--ink {
  background: linear-gradient(150deg, var(--indigo-d) 0%, var(--indigo) 55%, #4b36a8 100%);
  color: rgba(255, 255, 255, .84);
}
.section--ink h2,
.section--ink h3 { color: #fff; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }
.split--top { align-items: start; }

/* Keeps a short column (a photo, a fact card) travelling alongside a long one
   instead of leaving a block of empty page beside the text. */
.sticky-col { position: sticky; top: calc(var(--header-h) + 26px); }
@media (max-width: 980px) {
  .sticky-col { position: static; }
}

.center { text-align: center; }
.lead {
  font-size: 1.08rem;
  color: var(--ink-2);
}

/* Utilities — kept as classes (not inline styles) so the Content-Security-Policy
   can forbid inline styling outright. */
.m-0    { margin: 0; }
.mt-0   { margin-top: 0; }
.mt-xxs { margin-top: 8px; }
.mt-xs  { margin-top: 14px; }
.mt-s   { margin-top: 21px; }
.mt-m   { margin-top: 26px; }
.mt-l   { margin-top: 34px; }
.mt-xl  { margin-top: 40px; }

.mx-auto { margin-inline: auto; }
.hub { max-width: 880px; margin-inline: auto; }
.hub--sm { max-width: 760px; }
.measure { max-width: 62ch; margin-inline: auto; }
.measure--tight { max-width: 22ch; }

.is-centered { justify-content: center; }
.is-muted { color: var(--muted); }
.is-small { font-size: .92rem; }
.is-italic { font-style: italic; }
.gap-tight { gap: 12px; }
.gap-cols { gap: 0 20px; }

/* Section heading block ---------------------------------------------------- */
.shead { margin-bottom: 44px; max-width: 760px; }
.shead--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 2px;
}
.shead--center .kicker::after {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
}
.section--ink .kicker { color: var(--gold); }

.shead h2 { margin-bottom: .35em; }
.shead p { color: var(--muted); margin-bottom: 0; }
.section--ink .shead p { color: rgba(255, 255, 255, .74); }

.rule {
  width: 74px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--indigo), var(--red) 55%, var(--gold));
  margin: 18px 0 0;
}
.shead--center .rule { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. Decorative floral strip (from the printed prospectus)
   -------------------------------------------------------------------------- */
.floral {
  height: 92px;
  background: url("../img/floral-border.png") repeat-x center bottom / auto 100%;
  pointer-events: none;
}
.floral--top { transform: rotate(180deg); }   /* flowers grow upward */
.floral--sm { height: 62px; }
.floral--hero { height: clamp(40px, 4.4vw, 64px); position: relative; z-index: 2; flex: none; }

/* --------------------------------------------------------------------------
   5. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: linear-gradient(90deg, var(--indigo-d), var(--indigo) 48%, #4c37ad);
  color: rgba(255, 255, 255, .88);
  font-size: .8rem;
  letter-spacing: .02em;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--gold); }
.topbar__list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.topbar__list li { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
.topbar__badge {
  display: inline-block;
  padding: 2px 11px;
  border-radius: 999px;
  background: rgba(242, 185, 41, .16);
  border: 1px solid rgba(242, 185, 41, .45);
  color: var(--gold);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .09em;
}
.ico { width: 15px; height: 15px; flex: none; fill: currentColor; opacity: .85; }

/* --------------------------------------------------------------------------
   6. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.5) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  box-shadow: 0 10px 30px -18px rgba(23, 21, 50, .4);
  background: rgba(255, 255, 255, .985);
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

/* Brand ------------------------------------------------------------------- */
.brand { display: flex; align-items: center; gap: 13px; }
.brand__crest {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 4px 8px rgba(23, 21, 50, .22));
  animation: crest-in .9s var(--ease) both;
}
.brand__text { line-height: 1.15; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--indigo-d);
  letter-spacing: .015em;
}
.brand__sub {
  display: block;
  font-size: .66rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-top: 2px;
}

/* Nav --------------------------------------------------------------------- */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list > li { margin: 0; position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  font-size: .885rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 9px;
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--indigo); background: rgba(59, 42, 140, .06); }
.nav__link:hover::after,
.nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__item.is-current > .nav__link { color: var(--indigo); }

.caret {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease);
  opacity: .6;
}

/* Dropdown ---------------------------------------------------------------- */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 252px;
  list-style: none;
  margin: 0;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-l);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.97);
  transform-origin: top left;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 30;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 26px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
  border-radius: 3px 0 0 0;
}
.dropdown::after {
  /* hover bridge so the menu doesn't close in the gap */
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.has-drop:hover > .dropdown,
.has-drop:focus-within > .dropdown,
.has-drop.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.has-drop:hover > .nav__link .caret,
.has-drop.is-open > .nav__link .caret { transform: rotate(-135deg) translateY(-2px); }

.dropdown li { margin: 0; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 9px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .22s var(--ease), color .22s var(--ease), padding-left .22s var(--ease);
}
.dropdown a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transform: scale(0);
  transition: transform .22s var(--ease);
}
.dropdown a:hover,
.dropdown a:focus-visible {
  background: linear-gradient(90deg, rgba(59, 42, 140, .08), rgba(59, 42, 140, 0));
  color: var(--indigo-d);
  padding-left: 17px;
}
.dropdown a:hover::before { transform: scale(1); }
.dropdown a.is-current { color: var(--indigo); font-weight: 700; }
.dropdown a.is-current::before { transform: scale(1); background: var(--red); }

/* Burger ------------------------------------------------------------------ */
.burger {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.burger:hover { border-color: var(--indigo); }
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s linear, top .35s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 13, 40, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  z-index: 110;
}
.nav-scrim.is-on { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   7. Buttons  (uiverse-inspired interactions)
   -------------------------------------------------------------------------- */
.btn {
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--btn-fg);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.btn > * { position: relative; z-index: 2; }
.btn:active { transform: translateY(0) scale(.98); }

.btn__arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

/* Solid indigo with a sweeping shine */
.btn--solid {
  background: linear-gradient(120deg, var(--indigo-d), var(--indigo) 45%, var(--indigo-l));
  box-shadow: 0 12px 26px -14px rgba(59, 42, 140, .95), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--solid::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: skewX(-22deg);
  transition: left .65s var(--ease);
  z-index: 1;
}
.btn--solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -14px rgba(59, 42, 140, .95), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn--solid:hover::before { left: 130%; }

/* Gold */
.btn--gold {
  --btn-fg: var(--ink);
  background: linear-gradient(120deg, var(--gold-d), var(--gold) 45%, #ffd76a);
  box-shadow: 0 12px 26px -14px rgba(211, 150, 11, .95), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-22deg);
  transition: left .65s var(--ease);
  z-index: 1;
}
.btn--gold:hover { transform: translateY(-3px); }
.btn--gold:hover::before { left: 130%; }

/* Outline that fills from the left */
.btn--ghost {
  --btn-fg: var(--indigo-d);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--indigo);
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--indigo-d), var(--indigo-l));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
  z-index: 1;
}
.btn--ghost:hover { color: #fff; transform: translateY(-3px); }
.btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }

/* Light outline for dark backgrounds */
.btn--light {
  --btn-fg: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6);
}
.btn--light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s var(--ease);
  z-index: 1;
}
.btn--light:hover { color: var(--indigo-d); }
.btn--light:hover::before { transform: scaleY(1); transform-origin: top; }

/* WhatsApp */
.btn--wa {
  --btn-fg: #fff;
  background: linear-gradient(120deg, #128c46, #25d366 55%, #4ae585);
  box-shadow: 0 12px 26px -14px rgba(18, 140, 70, .95), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn--wa::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-22deg);
  transition: left .65s var(--ease);
  z-index: 1;
}
.btn--wa:hover { transform: translateY(-3px); }
.btn--wa:hover::before { left: 130%; }
.btn__wa { width: 19px; height: 19px; fill: currentColor; flex: none; }

.btn--sm { padding: 10px 20px; font-size: .78rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Text link with animated underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .87rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--indigo);
  position: relative;
  padding-bottom: 3px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(.25);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   8. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  /* One screenful: the floral strips cap the top and bottom, the content
     column centres in whatever is left. min-height, not height, so a long
     translation or a small phone can still push it taller rather than clip. */
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(760px 520px at 88% 8%, rgba(242, 185, 41, .16), transparent 62%),
    radial-gradient(680px 480px at 6% 92%, rgba(208, 42, 38, .10), transparent 60%),
    linear-gradient(165deg, #f4f9ff 0%, #eef4fd 42%, #fdfbf6 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/watercolor-bg.jpg") center / cover no-repeat;
  opacity: .3;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
  flex: 1;
  padding-top: clamp(8px, 1.4vw, 22px);
  padding-bottom: clamp(22px, 3vw, 44px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(59, 42, 140, .16);
  box-shadow: var(--shadow-s);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-2);
  margin-bottom: 15px;
}
.hero__eyebrow b {
  background: linear-gradient(120deg, var(--indigo), var(--indigo-l));
  color: #fff;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: .26em; font-size: clamp(1.85rem, 1.15rem + 2.25vw, 2.9rem); }
.hero h1 .accent {
  background: linear-gradient(102deg, var(--red) 0%, var(--indigo) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero__motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.02rem, .95rem + .5vw, 1.32rem);
  color: var(--red-d);
  margin-bottom: 13px;
}
.hero__text {
  font-size: 1.04rem;
  color: var(--ink-2);
  max-width: 55ch;
  margin-bottom: 22px;
}

.hero__meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px dashed var(--line-2);
}
.hero__meta div span {
  line-height: 1.2;
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--indigo-d);
}
.hero__meta div small {
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Hero collage */
.hero__art { position: relative; }
.hero__frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-l);
  border: 7px solid #fff;
  transform: rotate(1.2deg);
}
.hero__frame img {
  width: 100%;
  height: clamp(198px, 21vw, 288px);
  object-fit: cover;
  object-position: center 30%;
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(59, 42, 140, .12), transparent 55%);
}
.hero__thumb {
  position: absolute;
  right: -8px;
  bottom: -28px;
  width: 38%;
  border-radius: 18px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-l);
  transform: rotate(-2.4deg);
  animation: float-y 7s ease-in-out infinite;
}
.hero__thumb img { width: 100%; height: clamp(96px, 10vw, 132px); object-fit: cover; }

.seal {
  position: absolute;
  left: -34px;
  top: -26px;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #fdf6e3 58%, #f6e6bb 100%);
  box-shadow: 0 18px 34px -16px rgba(23, 21, 50, .55), inset 0 0 0 2px rgba(242, 185, 41, .55);
  z-index: 3;
}
.seal img { width: 74px; animation: spin-slow 26s linear infinite; }
.seal__ring {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 2px dashed rgba(208, 42, 38, .4);
  animation: spin-slow 32s linear infinite reverse;
}

/* Ticker ------------------------------------------------------------------ */
.ticker {
  background: linear-gradient(90deg, var(--indigo-d), var(--indigo) 50%, var(--red-d));
  color: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.ticker__tag {
  flex: none;
  background: var(--gold);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 12px 20px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  z-index: 2;
}
.ticker__track {
  display: flex;
  gap: 52px;
  white-space: nowrap;
  padding: 12px 0 12px 20px;
  animation: marquee 34s linear infinite;
  font-size: .84rem;
  letter-spacing: .03em;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { display: inline-flex; align-items: center; gap: 10px; }
.ticker__track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* --------------------------------------------------------------------------
   9. Page banner (inner pages)
   -------------------------------------------------------------------------- */
.banner {
  position: relative;
  padding: clamp(52px, 6vw, 86px) 0 clamp(46px, 5vw, 72px);
  background: linear-gradient(150deg, var(--indigo-d) 0%, var(--indigo) 52%, #533dbb 100%);
  color: rgba(255, 255, 255, .86);
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/watercolor-bg.jpg") center / cover;
  opacity: .16;
  mix-blend-mode: soft-light;
}
.banner::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, .05);
  animation: float-y 9s ease-in-out infinite;
}
.banner__in { position: relative; z-index: 2; }
.banner h1 { color: #fff; margin-bottom: .25em; }
.banner p { color: rgba(255, 255, 255, .8); max-width: 62ch; margin-bottom: 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: .8rem;
  letter-spacing: .04em;
}
.crumbs li { margin: 0; color: rgba(255, 255, 255, .62); }
.crumbs li + li::before { content: "›"; margin-right: 9px; opacity: .6; }
.crumbs a { color: rgba(255, 255, 255, .9); }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--gold); font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--indigo), var(--red) 55%, var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-m);
  border-color: rgba(59, 42, 140, .22);
}
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

.card__num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(59, 42, 140, .16);
  margin-bottom: 12px;
  transition: color .4s var(--ease);
}
.card:hover .card__num { color: rgba(208, 42, 38, .3); }

.card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(140deg, rgba(59, 42, 140, .1), rgba(242, 185, 41, .18));
  color: var(--indigo);
  margin-bottom: 18px;
  transition: transform .45s var(--ease), background .45s var(--ease);
}
.card__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__icon { transform: rotate(-7deg) scale(1.07); background: linear-gradient(140deg, rgba(59, 42, 140, .18), rgba(208, 42, 38, .18)); }

/* Card on dark */
.card--glass {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .82);
  box-shadow: none;
}
.card--glass h3 { color: #fff; }
.card--glass p { color: rgba(255, 255, 255, .74); }
.card--glass .card__icon { background: rgba(255, 255, 255, .12); color: var(--gold); }
.card--glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(242, 185, 41, .45); }

/* Photo card -------------------------------------------------------------- */
.pcard {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: flex;
  flex-direction: column;
}
.pcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-m); }
.pcard__media { position: relative; overflow: hidden; }
.pcard__media img {
  width: 100%;
  height: clamp(180px, 17vw, 220px);      /* fixed box — never a tall column */
  object-fit: cover;
  object-position: center 32%;            /* keep faces in frame when cropping */
  transition: transform .8s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 21, 50, .55), transparent 52%);
  opacity: .85;
}
.pcard__tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}
.pcard__body { padding: 22px 22px 24px; flex: 1; }
.pcard__body p { color: var(--muted); font-size: .95rem; }

/* Framed picture (content pages) ------------------------------------------ */
.figure {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-m);
  border: 6px solid #fff;
}
.figure img {
  width: 100%;
  height: clamp(196px, 20vw, 268px);      /* fixed box — never a tall column */
  object-fit: cover;
  object-position: center 10%;
  transition: transform .9s var(--ease);
}
.figure--wide img  { height: clamp(215px, 22vw, 300px); }
.figure--short img { height: clamp(165px, 16vw, 215px); }
.figure:hover img { transform: scale(1.05); }
.figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 20px 16px;
  background: linear-gradient(to top, rgba(23, 21, 50, .78), transparent);
  color: #fff;
  font-size: .84rem;
  letter-spacing: .04em;
}
.figure--stack { display: grid; gap: 18px; }
.figure--stack .figure img { height: clamp(150px, 14vw, 190px); }

.art-wrap { position: relative; }
.art-wrap::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid rgba(242, 185, 41, .55);
  border-radius: 22px;
  z-index: -1;
}
.art-wrap--alt::before { inset: 20px 20px -20px -20px; border-color: rgba(59, 42, 140, .35); }

/* --------------------------------------------------------------------------
   11. Lists
   -------------------------------------------------------------------------- */
.ticklist { list-style: none; padding: 0; margin: 0; }
.ticklist li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 15px;
  color: var(--ink-2);
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--indigo), var(--indigo-l));
  box-shadow: 0 4px 10px -4px rgba(59, 42, 140, .8);
}
.ticklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 8px;
  height: 4.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.ticklist--gold li::before { background: linear-gradient(140deg, var(--gold-d), var(--gold)); box-shadow: 0 4px 10px -4px rgba(211, 150, 11, .8); }
.ticklist--gold li::after { border-color: var(--ink); }
.section--ink .ticklist li { color: rgba(255, 255, 255, .82); }

.doclist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.doclist li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .93rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.doclist li:hover { transform: translateX(5px); border-color: rgba(59, 42, 140, .3); box-shadow: var(--shadow-s); }
.doclist svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--indigo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   12. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { padding: 32px 22px; text-align: center; background: rgba(255, 255, 255, .045); transition: background .4s var(--ease); }
.stat:hover { background: rgba(255, 255, 255, .12); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat span {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. Accordion (uiverse-style disclosure)
   -------------------------------------------------------------------------- */
.acc { display: grid; gap: 12px; }
.acc__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.acc__item.is-open { border-color: rgba(59, 42, 140, .3); box-shadow: var(--shadow-m); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.acc__btn:hover { background: rgba(59, 42, 140, .04); color: var(--indigo); }
.acc__no {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--indigo), var(--indigo-l));
  color: #fff;
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 700;
  box-shadow: 0 6px 14px -8px rgba(59, 42, 140, .9);
}
.acc__item.is-open .acc__no { background: linear-gradient(140deg, var(--red-d), var(--red)); }
.acc__label { flex: 1; }
.acc__sign {
  flex: none;
  position: relative;
  width: 20px;
  height: 20px;
}
.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--indigo);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), opacity .3s linear;
}
.acc__sign::before { width: 14px; height: 2px; }
.acc__sign::after { width: 2px; height: 14px; }
.acc__item.is-open .acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p,
.acc__panel ul { padding: 0 22px 22px 72px; margin: 0; color: var(--muted); font-size: .96rem; }
.acc__panel ul { padding-left: 92px; }

/* --------------------------------------------------------------------------
   14. Steps / timeline
   -------------------------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 4px; padding-left: 8px; }
.steps::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--indigo), rgba(242, 185, 41, .7));
  border-radius: 2px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: start;
  gap: 8px;
  padding: 14px 0;
}
.step__dot {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(59, 42, 140, .25);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--indigo);
  box-shadow: 0 6px 16px -10px rgba(23, 21, 50, .7);
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.step:hover .step__dot {
  transform: scale(1.1);
  background: linear-gradient(140deg, var(--indigo), var(--indigo-l));
  border-color: var(--indigo);
  color: #fff;
}
.step__body { padding-top: 5px; }
.step__body h4 { margin-bottom: .25em; font-family: var(--font-display); }
.step__body p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Quote / message block
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 34px 34px 34px 40px;
  box-shadow: var(--shadow-s);
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-style: italic;
  color: var(--ink-2);
}
.quote::before {
  content: "\201C";
  position: absolute;
  left: 18px;
  top: -6px;
  font-family: var(--font-display);
  font-size: 5.4rem;
  line-height: 1;
  color: rgba(59, 42, 140, .12);
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.msg-body { font-size: 1.02rem; }
.msg-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.3rem;
  line-height: .76;
  padding: 4px 5px 0 0;
  color: var(--indigo);
  font-weight: 700;
}
.msg-sign {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
  text-align: right;
}
.msg-sign strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--indigo-d);
}
.msg-sign span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 700; }

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: rgba(59, 42, 140, .22); }
.info-card__ic {
  flex: none;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--indigo), var(--indigo-l));
  color: #fff;
  box-shadow: 0 10px 20px -12px rgba(59, 42, 140, .95);
}
.info-card__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-card h4 { margin-bottom: .3em; font-size: 1rem; }
.info-card p, .info-card a { font-size: .95rem; color: var(--muted); margin-bottom: 0; }
.info-card a:hover { color: var(--indigo); }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-m);
}
.field { margin-bottom: 20px; position: relative; }
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line-2);
  border-radius: 11px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(59, 42, 140, .12);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--red); }
.field .err {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  font-size: .78rem;
  color: var(--red-d);
  font-weight: 600;
}
.form__note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form__status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 11px;
  font-size: .9rem;
  font-weight: 600;
  display: none;
}
.form__status.is-ok { display: block; background: rgba(59, 42, 140, .08); color: var(--indigo-d); border: 1px solid rgba(59, 42, 140, .25); }
.form__status.is-bad { display: block; background: rgba(208, 42, 38, .08); color: var(--red-d); border: 1px solid rgba(208, 42, 38, .3); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-m);
  background: var(--sky-2);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* --------------------------------------------------------------------------
   18. CTA strip
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--indigo-d), var(--indigo) 46%, var(--red-d));
  color: rgba(255, 255, 255, .86);
  padding: clamp(48px, 6vw, 78px) 0;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 185, 41, .28), transparent 68%);
  transform: translateX(-50%);
  animation: pulse-soft 7s ease-in-out infinite;
}
.cta__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin-bottom: 0; color: rgba(255, 255, 255, .78); }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #14122c;
  color: rgba(255, 255, 255, .66);
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding: clamp(46px, 5vw, 70px) 0 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: .84rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 11px;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 2px;
}
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: var(--gold); }
.footer__brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer__brand img { width: 58px; }
.footer__brand strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.footer__brand span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.flist { list-style: none; margin: 0; padding: 0; }
.flist li { margin-bottom: 11px; }
.flist a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.flist a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(242, 185, 41, .6);
  flex: none;
  transition: transform .3s var(--ease);
}
.flist a:hover { transform: translateX(5px); }
.flist a:hover::before { transform: scale(1.6); }

.fcontact { list-style: none; margin: 0; padding: 0; }
.fcontact li { display: flex; gap: 12px; margin-bottom: 15px; align-items: flex-start; }
.fcontact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}
.footer__by {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 16px 0 22px;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .42);
}
.footer__by strong { font-weight: 600; color: rgba(255, 255, 255, .72); }
.footer__by a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.footer__by a:hover,
.footer__by a:focus-visible { color: var(--gold); }
.footer__by a:hover strong,
.footer__by a:focus-visible strong { color: var(--gold); }

/* --------------------------------------------------------------------------
   20. Scroll progress + back to top
   -------------------------------------------------------------------------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--indigo-l));
  z-index: 300;
  will-change: transform;
}

.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 130;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(140deg, var(--indigo-d), var(--indigo-l));
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(37, 26, 94, .95);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
/* Floating WhatsApp */
.wa-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 130;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 52px;
  padding: 0 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #128c46, #25d366);
  color: #fff;
  box-shadow: 0 16px 30px -14px rgba(18, 140, 70, .95);
  overflow: hidden;
  white-space: nowrap;
  transition: transform .35s var(--ease), gap .35s var(--ease), padding .35s var(--ease);
}
.wa-float svg { width: 23px; height: 23px; fill: currentColor; flex: none; }
.wa-float span {
  max-width: 0;
  opacity: 0;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .04em;
  overflow: hidden;
  transition: max-width .4s var(--ease), opacity .3s var(--ease);
}
.wa-float:hover,
.wa-float:focus-visible { transform: translateY(-3px); gap: 10px; padding-right: 20px; }
.wa-float:hover span,
.wa-float:focus-visible span { max-width: 180px; opacity: 1; }
.wa-float::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .8);
  animation: wa-ping 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-ping {
  0%   { transform: scale(1); opacity: .8; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { transform: translateY(-4px); }
.totop svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   21. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal--l { transform: translateX(-38px); }
.reveal--r { transform: translateX(38px); }
.reveal--zoom { transform: scale(.93); }
.reveal--fade { transform: none; }
.reveal.is-in { opacity: 1; transform: none; }

.d1 { transition-delay: .09s; }
.d2 { transition-delay: .18s; }
.d3 { transition-delay: .27s; }
.d4 { transition-delay: .36s; }
.d5 { transition-delay: .45s; }
.d6 { transition-delay: .54s; }
.d7 { transition-delay: .63s; }
.d8 { transition-delay: .72s; }

/* --------------------------------------------------------------------------
   22. Keyframes
   -------------------------------------------------------------------------- */
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(-2.4deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.13); }
}
@keyframes crest-in {
  from { opacity: 0; transform: translateY(-10px) rotate(-14deg) scale(.8); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.anim-rise { animation: rise .9s var(--ease) both; }
.a1 { animation-delay: .1s; }
.a2 { animation-delay: .22s; }
.a3 { animation-delay: .34s; }
.a4 { animation-delay: .46s; }
.a5 { animation-delay: .58s; }

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero { min-height: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 560px; margin: 0 auto 34px; width: 100%; }
  .seal { left: -14px; top: -18px; width: 96px; height: 96px; }
  .seal img { width: 60px; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }

  .burger { display: block; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 115;
    width: min(340px, 86vw);
    height: 100dvh;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px -30px rgba(23, 21, 50, .7);
    padding: 92px 20px 34px;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .42s var(--ease);
    display: block;
  }
  .nav.is-open { transform: none; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 3px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: .95rem; border-radius: 11px; }
  .nav__link::after { display: none; }
  .nav__item.is-current > .nav__link { background: rgba(59, 42, 140, .08); }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid rgba(59, 42, 140, .18);
    border-radius: 0;
    margin: 2px 0 6px 15px;
    padding: 0 0 0 6px;
    min-width: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
  }
  .dropdown::before, .dropdown::after { display: none; }
  .dropdown > li { overflow: hidden; }
  .has-drop.is-open > .dropdown { grid-template-rows: 1fr; }
  .has-drop:hover > .dropdown:not(.is-open) { grid-template-rows: 0fr; }

  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .art-wrap::before { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar__in { justify-content: center; text-align: center; }
  .topbar__list { justify-content: center; gap: 14px; }
  .brand__crest { width: 44px; height: 44px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { font-size: .58rem; letter-spacing: .13em; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .doclist { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero__meta { gap: 20px; }
  .acc__panel p, .acc__panel ul { padding-left: 22px; }
  .acc__panel ul { padding-left: 42px; }
  .floral { height: 58px; }
  .msg-body > p:first-of-type::first-letter { font-size: 2.7rem; padding: 3px 4px 0 0; }
}

/* --------------------------------------------------------------------------
   24. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .ticker, .totop, .progress, .site-footer, .cta, .floral, .nav-scrim { display: none !important; }
  body { color: #000; }
  .reveal { opacity: 1; transform: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
