/* ==========================================================================
   ROYAL LINK NETWORK — Stylesheet
   Design tokens derived from the brand logo (navy #2E3192 / cyan #0BADED)
   ========================================================================== */

:root {
  /* Brand */
  --navy: #2E3192;
  --navy-deep: #1B1D5C;
  --ink: #14152F;
  --cyan: #0BADED;
  --cyan-deep: #0A87B8;

  /* Neutrals */
  --paper: #F7F6F1;
  --paper-raised: #FFFFFF;
  --line: #E2DFD5;
  --grey: #6B6D7C;
  --grey-light: #9294A0;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;
  --shadow-card: 0 1px 2px rgba(20,21,47,0.04), 0 8px 24px rgba(20,21,47,0.07);

  --header-h: 84px;
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Utility */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan);
  display: inline-block;
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
@media (max-width: 720px) {
  .section { padding: 64px 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--cyan);
  color: var(--navy-deep);
}
.btn--primary:hover { background: #29c0f7; }
.btn--outline {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn--outline:hover { background: rgba(255,255,255,0.12); }
.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.eyebrow-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.eyebrow-link .arrow { transition: transform 0.2s ease; }
.eyebrow-link:hover .arrow { transform: translateX(4px); }

/* ------------------------------- Masthead -------------------------------- */
.topline {
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,246,241,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 42px;
  width: auto;
}
.brand__meta { display: none; }
@media (min-width: 900px) {
  .brand__meta {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey);
    border-left: 1px solid var(--line);
    padding-left: 12px;
    line-height: 1.3;
  }
  .brand__meta strong { display: block; color: var(--navy); font-size: 11px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav__links a[aria-current="page"] { color: var(--navy); }

@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 0 22px;
  border-top: 1px solid var(--line);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  padding: 12px 4px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.nav__mobile a[aria-current="page"] { color: var(--navy); }

@media (min-width: 980px) {
  .nav__mobile { display: none !important; }
}

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding-block: 76px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(11,173,237,0.16), transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(11,173,237,0.12), transparent 50%);
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero__content { color: #fff; }
.hero__kicker { color: var(--cyan); }
.hero__kicker::before { background: var(--cyan); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  margin-top: 18px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--cyan);
}
.hero p {
  margin-top: 22px;
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__media-wrap {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(6,7,26,0.55);
  aspect-ratio: 16 / 9;
  background: #dcdde1;
}
.hero__media-wrap::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: inherit;
  pointer-events: none;
}
.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__media-caption {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(15,16,45,0.55);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
  .hero { padding-block: 52px 44px; }
}

/* --------------------------------- Ticker --------------------------------- */
.ticker {
  background: var(--navy-deep);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__seg {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 12px 0;
}
.ticker__seg span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.88);
  padding-inline: 20px;
}
.ticker__seg span.accent { color: var(--cyan); }
.ticker__seg .dot { color: var(--cyan); opacity: 0.6; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------------------------------- Statement -------------------------------- */
.statement {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}
.statement blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
  color: var(--navy-deep);
}
.statement cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ------------------------------- Section head ------------------------------ */
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}
.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  margin-top: 12px;
  color: var(--navy-deep);
}

/* --------------------------------- Cards ---------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.story-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.story-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.story-card__tag {
  padding: 22px 22px 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.story-card__body { padding: 10px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.story-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-deep);
  margin-top: 6px;
}
.story-card p {
  margin-top: 10px;
  color: var(--grey);
  font-size: 14.5px;
  flex: 1;
}
.story-card .story-card__meta {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--grey-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notice-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-m);
  padding: 26px 30px;
}
.notice-banner h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}
.notice-banner p { color: rgba(255,255,255,0.78); margin-top: 6px; font-size: 14.5px; }

/* -------------------------------- About teaser ------------------------------ */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}
.split__figure {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.split__figure img { width: 100%; height: 100%; object-fit: cover; }
.split__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: inherit;
}
.split h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--navy-deep);
  margin-top: 12px;
}
.split p { margin-top: 16px; color: var(--grey); font-size: 15.5px; }
.credential-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.credential-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
}
.credential-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 7px;
  flex-shrink: 0;
}
.split .btn { margin-top: 30px; }

/* -------------------------------- Credibility strip ------------------------------ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.strip__item {
  padding: 34px 22px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.strip__item:first-child { border-left: none; }
.strip__item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.35;
}
.strip__item span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(3) { border-left: none; }
}
@media (max-width: 520px) {
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item { border-left: none !important; border-top: 1px solid var(--line); }
  .strip__item:first-child { border-top: none; }
}

/* --------------------------------- CTA strip ------------------------------- */
.cta-strip {
  background: var(--navy-deep);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: -60%; right: -10%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(11,173,237,0.28), transparent 70%);
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  max-width: 420px;
  position: relative;
}
.cta-strip p { color: rgba(255,255,255,0.72); margin-top: 10px; font-size: 14.5px; position: relative; }
.cta-strip__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------------------------------- Footer --------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding-top: 64px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__brand img { height: 34px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer__brand p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 32ch;
}
.footer h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.footer ul { display: flex; flex-direction: column; gap: 11px; }
.footer a, .footer address { font-size: 14.5px; color: rgba(255,255,255,0.75); font-style: normal; }
.footer a:hover { color: var(--cyan); }
.footer address { line-height: 1.6; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.footer__social a:hover { border-color: var(--cyan); background: rgba(11,173,237,0.12); }
.footer__social svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.75); }

/* ------------------------------ Reveal-on-scroll ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------- Page header (inner pages) --------------------- */
.page-header {
  background: var(--navy-deep);
  color: #fff;
  padding: 78px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(11,173,237,0.24), transparent 55%);
}
.page-header .kicker { color: var(--cyan); position: relative; }
.page-header .kicker::before { background: var(--cyan); }
.page-header h1 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  margin-top: 16px;
  max-width: 760px;
}
.page-header p {
  position: relative;
  margin-top: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 62ch;
  font-size: 16px;
}

/* ------------------------------------ Misc ---------------------------------- */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.text-center { text-align: center; }
.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(46,49,146,0.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Inner-page components: Timeline (About), News grid, Contact
   ========================================================================== */

/* --------------------------------- Timeline -------------------------------- */
.timeline { position: relative; max-width: 880px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline__item {
  position: relative;
  padding-left: 46px;
  padding-bottom: 44px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 0; top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.timeline__dot::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--navy);
}
.timeline__item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.timeline__item p {
  margin-top: 10px;
  color: var(--grey);
  font-size: 15px;
}

.pullquote-banner {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.pullquote-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pullquote-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,21,47,0.86) 0%, rgba(20,21,47,0.15) 60%);
}
.pullquote-banner blockquote {
  position: relative;
  color: #fff;
  padding: 34px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  max-width: 640px;
}

/* --------------------------------- News grid -------------------------------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--grey);
  transition: all 0.18s ease;
}
.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.grid-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .grid-news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-news { grid-template-columns: 1fr; } }
.grid-news .story-card[data-cat] { display: flex; }
.grid-news .story-card.is-hidden { display: none; }

/* --------------------------------- Contact --------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px;
}
.contact-card + .contact-card { margin-top: 20px; }
.contact-item { display: flex; gap: 16px; }
.contact-item + .contact-item { margin-top: 22px; }
.contact-item__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(46,49,146,0.08);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 18px; height: 18px; fill: var(--navy); }
.contact-item h4 { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); font-weight: 700; }
.contact-item p, .contact-item a { margin-top: 4px; font-size: 15.5px; color: var(--ink); font-weight: 600; }
.contact-item a:hover { color: var(--navy); }

.map-embed {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 240px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 40px;
}
@media (max-width: 560px) { .form-card { padding: 26px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-deep);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field__error {
  display: none;
  font-size: 12.5px;
  color: #C0392B;
  margin-top: 6px;
}
.field.has-error input, .field.has-error textarea { border-color: #C0392B; }
.field.has-error .field__error { display: block; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  font-size: 14px;
  font-weight: 600;
}
.form-status.is-success { display: block; background: rgba(11,173,237,0.12); color: var(--cyan-deep); }
.form-status.is-error { display: block; background: rgba(192,57,43,0.1); color: #C0392B; }

/* ---------------------------------- 404-ish empty ---------------------------- */
.empty-note {
  text-align: center;
  padding: 40px 20px;
  color: var(--grey);
  font-size: 14.5px;
}

/* Shared Color Palette */
:root {
    --primary-color: #0b3d91; 
    --secondary-color: #1e90ff;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* Pushes the footer to the bottom */
}

/* Navbar */
.navbar-brand img {
    height: 55px; 
    object-fit: contain;
}
.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}
.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Shared Page Headers */
.page-header {
    background: linear-gradient(rgba(11, 61, 145, 0.85), rgba(30, 144, 255, 0.85));
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* Hero Section (Home Page) */
.hero-section {
    background: linear-gradient(rgba(11, 61, 145, 0.85), rgba(30, 144, 255, 0.85));
    color: white;
    padding: 140px 0;
    text-align: center;
}

/* About Section */
.founder-img {
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    max-width: 100%;
    height: auto;
}
.bio-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.bio-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #e0e0e0;
    padding: 50px 0 20px;
    margin-top: auto;
}
footer a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Publications Gallery */
.pub-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.pub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.pub-card video,
.pub-card .pub-card__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #000;
    display: block;
}
.pub-card .pub-card__image {
    background: #f1f1f1;
}
.pub-card__caption {
    padding: 12px 14px;
}
.pub-card__caption h6 {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 0.92rem;
}
.pub-card__caption span {
    font-size: 0.78rem;
    color: #6c757d;
}

/* ============================================================
   About Page — Editorial Redesign
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

.page-header h1,
.founder-name,
.timeline-item h5,
.pub-section-title,
.cta-band h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

.kicker-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color);
}
.kicker-label::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--secondary-color);
    display: inline-block;
}
.page-header .kicker-label {
    color: #bfe0ff;
}
.page-header .kicker-label::before {
    background: #bfe0ff;
}

/* Founder portrait with offset frame */
.founder-portrait {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}
.founder-portrait::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    z-index: 0;
}
.founder-portrait img {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 24px 44px rgba(11, 61, 145, 0.22);
}
.founder-name {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a1a;
}
.founder-title {
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.founder-intro {
    color: #495057;
    font-size: 1.02rem;
    line-height: 1.75;
}

.credential-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    padding: 9px 16px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.credential-pill i {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #dee2e6;
}
.timeline-item {
    position: relative;
    padding-left: 68px;
    margin-bottom: 42px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    z-index: 1;
}
.timeline-item h5 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.timeline-item p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Publications section */
.pub-section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a1a;
}
.pub-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary-color);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.pub-tag--magazine {
    background: var(--secondary-color);
}
.pub-video-wrap {
    position: relative;
    background: #000;
}
.pub-play-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.pub-play-badge span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.pub-play-badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-left: 3px;
}
.pub-video-wrap.is-playing .pub-play-badge {
    opacity: 0;
}

/* Closing CTA band */
.cta-band {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    padding: 48px;
    color: #fff;
}
.cta-band h3 {
    font-weight: 700;
    font-size: 1.7rem;
    margin-bottom: 8px;
}
.cta-band p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .cta-band { padding: 32px 24px; text-align: center; }
    .cta-band .cta-actions { justify-content: center; margin-top: 20px; }
}

/* ============================================================
   Home Page — Rich Layout (Bootstrap-compatible)
   ============================================================ */

/* Buttons on-brand */
.btn-brand {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 12px 28px;
}
.btn-brand:hover {
    background: var(--primary-color);
    color: #fff;
}
.btn-brand-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
    padding: 10px 26px;
}
.btn-brand-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Hero (two-column, video card) */
.home-hero {
    padding: 64px 0;
}
.hero-video-frame {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}
.hero-video-frame::before {
    content: "";
    position: absolute;
    inset: 20px -20px -20px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    z-index: 0;
}
.hero-video-frame video {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 24px 44px rgba(11, 61, 145, 0.22);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}
.hero-video-caption {
    position: absolute;
    z-index: 2;
    left: 14px;
    bottom: 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(11, 61, 145, 0.65);
    padding: 5px 12px;
    border-radius: 50px;
    backdrop-filter: blur(3px);
}

/* Ticker */
.brand-ticker {
    background: var(--primary-color);
    overflow: hidden;
}
.brand-ticker__track {
    display: flex;
    width: max-content;
    animation: brand-ticker-scroll 30s linear infinite;
}
.brand-ticker:hover .brand-ticker__track {
    animation-play-state: paused;
}
.brand-ticker__seg {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 12px 0;
}
.brand-ticker__seg span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.85);
    padding-inline: 18px;
}
.brand-ticker__seg span.accent {
    color: var(--secondary-color);
}
@keyframes brand-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .brand-ticker__track { animation: none; }
}

/* Mission statement */
.mission-quote {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.mission-quote blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #1a1a1a;
    line-height: 1.5;
}
.mission-quote cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c757d;
}

/* Notice card (blog callout) */
.notice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--secondary-color);
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.notice-card h3 {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.notice-card p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.92rem;
}

/* Credibility strip */
.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}
.strip-item {
    padding: 30px 22px;
    text-align: center;
    border-left: 1px solid #e9ecef;
}
.strip-item:first-child { border-left: none; }
.strip-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}
.strip-item h6 {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.strip-item span {
    font-size: 0.78rem;
    color: #6c757d;
}
@media (max-width: 767px) {
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .strip-item:nth-child(3) { border-left: none; }
    .strip-item:nth-child(n+3) { border-top: 1px solid #e9ecef; }
}

/* ============================================================
   Publications — Horizontal Scroll Row
   ============================================================ */
.pub-scroll-wrap {
    position: relative;
}
.pub-scroll-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #f1f1f1;
}
.pub-scroll-row::-webkit-scrollbar {
    height: 8px;
}
.pub-scroll-row::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.pub-scroll-row::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}
.pub-scroll-item {
    flex: 0 0 auto;
    width: calc((100% - 60px) / 4);
    scroll-snap-align: start;
}
@media (max-width: 991px) {
    .pub-scroll-item { width: calc((100% - 40px) / 3); }
}
@media (max-width: 767px) {
    .pub-scroll-item { width: calc((100% - 20px) / 2); }
}
@media (max-width: 480px) {
    .pub-scroll-item { width: 58%; }
}
.pub-scroll-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e9ecef;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}
.pub-scroll-nav:hover {
    background: var(--secondary-color);
    color: #fff;
}
.pub-scroll-nav i {
    font-size: 1.1rem;
}
.pub-scroll-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================================================
   About page — static galleries (no sliding): groups of 4
   ============================================================ */
.gallery-group + .gallery-group,
.pub-group + .pub-group { margin-top: 28px; }
.gallery-grid, .pub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .gallery-grid, .pub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid, .pub-grid { gap: 12px; }
}
.gallery-group, .pub-group {
  background: var(--paper-raised, #fff);
  border: 1px solid var(--line, #e2dfd5);
  border-radius: 14px;
  padding: 20px;
}
@media (max-width: 480px) {
  .gallery-group, .pub-group { padding: 12px; }
}
.gallery-item { margin: 0; display: flex; flex-direction: column; }
.gallery-item a { display: block; }
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  background: #f1f1f1;
}
.gallery-item--portrait img { aspect-ratio: 3 / 4; object-fit: contain; border: 1px solid var(--line, #e2dfd5); }
.gallery-item figcaption { padding-top: 10px; font-size: 0.82rem; line-height: 1.4; color: #5b5d6e; }
.pub-grid__item .pub-card { height: 100%; }
