/* =========================================================================
   iTigran.com  —  styles
   Editorial fintech aesthetic: navy + accent blue, serif display + sans body
   ========================================================================= */

:root {
  /* Palette (anchored to the LinkedIn-post graphics) */
  --navy-900: #0F2540;
  --navy-800: #142E52;
  --navy-700: #1B3A6B;
  --navy-600: #234A85;
  --blue-500: #2E75B6;
  --blue-400: #4A90D1;
  --blue-300: #88B6DE;
  --cyan-400: #2EB7C6;
  --green-500: #4F8A3E;
  --green-400: #70AD47;
  --red-500:  #C0392B;
  --amber-500:#D98E25;

  --ink-900: #0E1320;
  --ink-700: #2C3645;
  --ink-500: #5A6478;
  --ink-400: #8C95A6;
  --ink-300: #C3CAD6;
  --line:    #E4E8EF;
  --line-strong: #C3CAD6;

  --paper:   #FFFFFF;
  --paper-2: #F7F8FB;
  --paper-3: #EEF1F6;

  --shadow-sm: 0 1px 2px rgba(15,37,64,.06), 0 1px 1px rgba(15,37,64,.04);
  --shadow-md: 0 10px 30px -12px rgba(15,37,64,.18), 0 2px 6px rgba(15,37,64,.06);
  --shadow-lg: 0 24px 60px -20px rgba(15,37,64,.28), 0 8px 16px -8px rgba(15,37,64,.08);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;

  /* Type */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ------- Reset ------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

::selection { background: var(--blue-500); color: #fff; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  body { font-size: 16px; }
}


/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.nav__brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.nav__brand-text { font-size: 15px; }
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-700);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--navy-700); }
.nav__links a.is-active { color: var(--navy-900); font-weight: 500; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--navy-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
@media (max-width: 640px) {
  .nav__inner { padding: 12px 20px; }
  .nav__brand-text { display: none; }
  .nav__links { gap: 18px; font-size: 13px; }
}


/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #FBFCFE 0%, #F2F5FA 100%);
  border-bottom: 1px solid var(--line);
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27, 58, 107, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 58, 107, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,0.95), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,0.95), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--navy-900);
  margin: 0 0 24px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy-700);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero__role {
  font-weight: 500;
  color: var(--navy-700);
  margin: 0 0 24px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.16em;
}
.hero__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 56ch;
  margin: 0 0 36px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ----- Portrait ----- */
.hero__portrait {
  position: relative;
  width: 100%;
  max-width: 380px;
  justify-self: end;
  aspect-ratio: 4 / 5;
}
.hero__portrait-accent {
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.18;
}
.hero__portrait-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero__portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn--primary {
  background: var(--navy-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy-700);
}
.btn--ghost:hover {
  background: #fff;
  border-color: var(--navy-700);
}


/* ----- Metrics strip (horizontal, below hero text/portrait) ----- */
.hero__metrics-wrap {
  margin-top: 64px;
  position: relative;
}
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #fff;
}
.metric {
  background: #fff;
  padding: 28px 28px;
  position: relative;
}
.metric__val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy-800);
  font-variation-settings: "opsz" 144;
  margin-bottom: 10px;
}
.metric__plus {
  font-size: 26px;
  color: var(--blue-500);
  font-weight: 500;
  margin-left: 2px;
  vertical-align: 2px;
}
.metric__lbl {
  font-size: 12.5px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__portrait { justify-self: center; max-width: 340px; }
  .hero { padding: 56px 0 56px; }
  .hero__metrics-wrap { margin-top: 48px; }
  .hero__metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .metric { padding: 22px 18px; }
  .metric__val { font-size: 34px; }
  .hero__portrait { max-width: 280px; }
  .hero__portrait-accent { inset: 16px -16px -16px 16px; }
}


/* =========================================================================
   SECTIONS — common
   ========================================================================= */
.section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}
.section--about { background: #fff; }
.section--experience { background: var(--paper-2); }
.section--posts { background: #fff; }
.section--contact { background: var(--navy-900); color: #fff; border-bottom: none; }

.section__grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 80px;
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .section__grid { grid-template-columns: 1fr; gap: 36px; }
}

.section__head { position: sticky; top: 90px; align-self: start; }
@media (max-width: 900px) { .section__head { position: static; } }

.section__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-500);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--blue-500);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.section__sub {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-500);
  max-width: 28ch;
}
.section--contact .section__title { color: #fff; }

.lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.45;
  color: var(--navy-900);
  letter-spacing: -0.005em;
  margin: 0 0 24px;
  font-variation-settings: "opsz" 36;
}
.section__body p { margin: 0 0 18px; }


/* =========================================================================
   ABOUT — columns
   ========================================================================= */
.about__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .about__columns { grid-template-columns: 1fr; gap: 32px; } }

.about__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.about__col-title--mt { margin-top: 28px; }

.taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 6px;
}
.taglist li {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-700);
  background: var(--paper-3);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
}

.lang li,
.certs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.lang li:last-child,
.certs li:last-child { border-bottom: none; }
.lang li span { font-weight: 500; color: var(--navy-900); }
.lang li em { font-style: normal; color: var(--ink-500); font-size: 13px; }
.certs li { display: block; padding: 10px 0; color: var(--navy-900); font-weight: 400;}


/* =========================================================================
   EXPERIENCE — timeline
   ========================================================================= */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.role {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  position: relative;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.role::before {
  content: "";
  position: absolute;
  left: -5px; top: 6px;
  width: 9px; height: 9px;
  background: #fff;
  border: 2px solid var(--navy-700);
  border-radius: 50%;
}
.role--current::before {
  background: var(--green-400);
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(112, 173, 71, 0.18);
}

@media (max-width: 760px) {
  .role { grid-template-columns: 1fr; gap: 8px; }
}

.role__period {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
}
.role__years {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-700);
  letter-spacing: 0.01em;
}
.role__location {
  font-size: 12px;
  color: var(--ink-500);
}
.role__chip {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 4px;
}

.role__head { margin-bottom: 6px; }
.role__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 0;
  font-variation-settings: "opsz" 36;
}
.role__company {
  font-size: 14.5px;
  color: var(--blue-500);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.005em;
}
.role__intro {
  margin: 14px 0 14px;
  color: var(--ink-700);
  font-size: 15.5px;
  line-height: 1.6;
}
.role__bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
}
.role__bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-700);
}
.role__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--blue-500);
  border-radius: 1px;
}

.role__wins {
  margin-top: 22px;
  display: grid;
  /* Default: 2 columns at narrow widths */
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
/* For 4 wins → render as 2x2 on narrow, 4x1 on wide; for 6 → 2x3 on narrow, 3x2 on wide. */
@media (min-width: 760px) {
  .role__wins--cols-4 { grid-template-columns: repeat(4, 1fr); }
  .role__wins--cols-6 { grid-template-columns: repeat(3, 1fr); }
}
.win {
  background: #fff;
  padding: 16px 18px;
}
.win__metric {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 36;
}
.win__text {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-500);
}

.education {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.education__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.education__list { display: grid; gap: 16px; }
.education__list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.education__list li:last-child { border-bottom: none; }
.education__list strong { color: var(--navy-900); font-weight: 600; font-size: 15px; }
.education__list span { color: var(--ink-500); font-size: 13.5px; }


/* =========================================================================
   POSTS PAGE  (posts.html)
   ========================================================================= */
.posts-header {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #FBFCFE 0%, #F2F5FA 100%);
  border-bottom: 1px solid var(--line);
}
.posts-header__inner {
  position: relative;
  max-width: 900px;
}
.posts-header__eyebrow {
  margin-bottom: 18px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 6px 0;
  transition: color .15s ease, transform .15s ease;
}
.back-link:hover {
  color: var(--navy-700);
  transform: translateX(-2px);
}
.posts-header__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--navy-900);
  margin: 0 0 18px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.posts-header__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy-700);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.posts-header__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 56ch;
  margin: 0;
}

.section--posts-page {
  padding: 72px 0 96px;
  background: #fff;
  border-bottom: none;
}
.posts--full {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
@media (max-width: 760px) {
  .posts-header { padding: 48px 0 40px; }
  .section--posts-page { padding: 48px 0 64px; }
}


/* =========================================================================
   POSTS  (legacy — single grid component used on posts.html)
   ========================================================================= */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.posts__loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-400);
  padding: 60px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.post__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.post__date { color: var(--blue-500); }
.post__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 12px 22px 12px;
  font-variation-settings: "opsz" 36;
}
.post__excerpt {
  padding: 0 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-700);
}
.post__excerpt p { margin: 0 0 12px; }
.post__excerpt ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 12px;
}
.post__excerpt ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}
.post__excerpt ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--blue-500);
}
.post__excerpt code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--paper-3);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--navy-700);
}
.post__excerpt--collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.post__excerpt--collapsed.is-open { max-height: 4000px; }

.post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 22px 0;
}
.post__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-500);
  background: rgba(46, 117, 182, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.post__media {
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post__media-item {
  background: var(--paper-3);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.post__media-item:first-child { border-top: 1px solid var(--line); }
.post__media-item img,
.post__media-item video {
  width: 100%;
  height: auto;
  display: block;
}
.post__media-item--video {
  background: #000;
  border-top: none;
  border-bottom: none;
}
.post__media-item--video video {
  outline: none;
}
.post__footer {
  margin-top: auto;
  padding: 18px 22px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.post__toggle {
  background: none;
  border: none;
  color: var(--navy-700);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.5px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s ease;
}
.post__toggle:hover { color: var(--blue-500); }
.post__toggle svg { transition: transform .25s ease; }
.post__toggle.is-open svg { transform: rotate(180deg); }
.post__link {
  font-size: 12.5px;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .15s ease;
}
.post__link:hover { color: var(--blue-500); }


/* =========================================================================
   CONTACT
   ========================================================================= */
.section--contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(46, 117, 182, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 100%, rgba(46, 183, 198, 0.2) 0%, transparent 50%),
    var(--navy-900);
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 48px; } }

.contact__left .section__num { color: var(--blue-300); border-color: var(--blue-300); }
.contact__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 14px 0 24px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.contact__lede {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  margin: 0;
}

.contact__right {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.contact__link {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 12px;
  color: #fff;
  transition: background .2s ease, transform .15s ease;
}
.contact__link:hover {
  background: rgba(255, 255, 255, 0.06);
}
.contact__link-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-300);
}
.contact__link-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
}
.contact__link svg { color: var(--blue-300); }
@media (max-width: 560px) {
  .contact__link { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .contact__link-label { grid-column: 1 / -1; }
  .contact__link-value { font-size: 17px; }
}


/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.footer__mark {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
}
.footer__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}


/* =========================================================================
   Entrance animations — CSS-only, fire on load
   ========================================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__title     { animation: fadeUp .8s ease both; animation-delay: .05s; }
.hero__role      { animation: fadeUp .7s ease both; animation-delay: .18s; }
.hero__lede      { animation: fadeUp .7s ease both; animation-delay: .28s; }
.hero__cta       { animation: fadeUp .7s ease both; animation-delay: .38s; }
.hero__portrait  { animation: fadeUp .9s ease both; animation-delay: .15s; }
.hero__metrics-wrap { animation: fadeUp .8s ease both; animation-delay: .45s; }

.posts-header__eyebrow { animation: fadeUp .6s ease both; animation-delay: .05s; }
.posts-header__title   { animation: fadeUp .7s ease both; animation-delay: .12s; }
.posts-header__lede    { animation: fadeUp .7s ease both; animation-delay: .22s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
