:root {
    --ink: #14181f;
    --ink-2: #2a3140;
    --muted: #6a7384;
    --muted-2: #9aa3b2;
    --line: #e3e6ec;
    --line-2: #eef0f4;
    --bg: #ffffff;
    --bg-tint: #f4f6f9;
    --accent: #2563a8;
    --accent-soft: #3a7bc2;
    --serif: "Lora", "Times New Roman", Georgia, serif;
    --sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  html, body { margin: 0; padding: 0; overflow-x: hidden; }
  body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 1200px; margin: 0 auto; padding: 0 28px; }

  /* ============ HEADER ============ */
  header.site {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(6px);
  }
  .nav {
    display: flex;
    align-items: center;
    height: 78px;
    gap: 36px;
  }
  .brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .brand-logo {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
  }
  nav.menu {
    display: flex;
    gap: 20px;
    margin-left: auto;
    margin-right: 20px;
    font-size: 12.5px;
    color: var(--ink-2);
  }
  header .btn-join {
    flex-shrink: 0;
  }
  nav.menu a { transition: color 0.15s; }
  nav.menu a:hover,
  nav.menu a.active { color: var(--accent); }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.78) 28%, rgba(255,255,255,0.25) 46%, rgba(255,255,255,0.0) 62%),
      var(--hero-img) center/cover no-repeat;
  }
  .hero .wrap { position: relative; height: 100%; padding-top: 64px; }
  .hero .accent-bar {
    width: 56px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 26px;
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 42px;
    line-height: 1.18;
    color: var(--ink);
    margin: 0 0 22px;
    max-width: 560px;
    letter-spacing: -0.005em;
  }
  .hero p.lead {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.65;
    max-width: 430px;
    margin: 0 0 44px;
  }
  .pillars {
    display: flex;
    gap: 60px;
    margin-top: 18px;
  }
  .pillar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 170px;
  }
  .pillar-icon {
    width: 36px; height: 36px;
    color: var(--accent);
  }
  .pillar-text {
    font-size: 12px;
    color: var(--ink-2);
    line-height: 1.45;
  }

  /* ============ SECTION SHELL ============ */
  section.block { padding: 56px 0 48px; border-top: 1px solid var(--line); }
  section.block:first-of-type { border-top: 0; }
  .sec-head {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin-bottom: 32px;
  }
  .sec-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: var(--muted-2);
    border-bottom: 1px solid var(--muted-2);
    padding-bottom: 1px;
    letter-spacing: 0.02em;
  }
  .sec-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 24px;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.005em;
  }
  .sec-link {
    margin-left: auto;
    font-size: 12.5px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
  }
  .sec-link:hover { color: var(--accent-soft); }

  /* ============ ABOUT (01) ============ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
  .about-left p {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 460px;
  }
  .stats {
    display: flex;
    gap: 56px;
  }
  .stat .v {
    font-family: var(--serif);
    font-size: 32px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
  }
  .stat .v sup { font-size: 18px; vertical-align: top; margin-left: 1px; }
  .stat .v .unit {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 12px;
    color: var(--muted);
    margin-left: 4px;
  }
  .stat .l {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.4;
    max-width: 110px;
  }
  .about-right {
    background: var(--bg-tint);
    padding: 36px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    min-height: 280px;
    position: relative;
  }
  .about-illus {
    background:
      repeating-linear-gradient(180deg, rgba(37,99,168,0.08) 0px, rgba(37,99,168,0.08) 1px, transparent 1px, transparent 6px),
      linear-gradient(180deg, #e8eef6 0%, #d6e2f0 100%);
    border: 1px solid #e0e6ee;
    align-self: stretch;
  }
  .about-text-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 6px 0;
  }
  .about-text-col p {
    font-size: 12.5px;
    color: var(--ink-2);
    line-height: 1.65;
    margin: 0;
  }
  .director-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 18px 20px;
    grid-template-columns: unset;
  }
  .director-photo {
    width: 120px;
    height: 140px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center top;
    background-color: #d8dde6;
  }
  .director-name {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .director-role {
    font-size: 12.5px;
    color: var(--muted);
  }

  /* ============ DIRECTIONS (02) ============ */
  .dirs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border: 1px solid var(--line);
  }
  .dir {
    padding: 28px 22px 32px;
    border-right: 1px solid var(--line);
    min-height: 168px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: background 0.25s, box-shadow 0.25s;
    cursor: default;
    position: relative;
    z-index: 0;
  }
  .dir:last-child { border-right: 0; }
  .dir:hover {
    background: var(--bg-tint);
    box-shadow: 0 6px 24px rgba(37,99,168,0.10);
    z-index: 2;
  }
  .dir-link {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    border-top: 1px solid var(--line);
    background: var(--bg-tint);
    transition: background 0.2s;
  }
  .dir-link:hover { background: var(--line-2); }
  .dir-link .dir-link-text {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--ink);
  }
  .dir-link .dir-link-arrow {
    color: var(--accent);
    font-size: 20px;
    transition: transform 0.2s;
  }
  .dir-link:hover .dir-link-arrow { transform: translateX(4px); }
  .dir-icon {
    width: 32px;
    height: 32px;
    color: var(--ink-2);
    transition: color 0.2s;
  }
  .dir:hover .dir-icon { color: var(--accent); }
  .dir-name {
    font-size: 13px;
    color: var(--ink);
    line-height: 1.45;
    font-weight: 400;
  }
  .dir-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    margin-top: -8px;
  }
  .dir:hover .dir-desc {
    max-height: 220px;
    opacity: 1;
  }

  /* ============ PROJECTS + ANALYTICS (03 / 04) ============ */
  .row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
  .projects-carousel { position: relative; }
  .projects-viewport { overflow: hidden; }
  .projects-track {
    display: flex;
    gap: 14px;
    transition: transform 0.35s ease;
  }
  .project {
    flex: 0 0 calc((100% - 28px) / 3);
    min-width: 0;
    display: grid;
    grid-template-rows: 1fr;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 3 / 4;
  }
  .project .img {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-tint);
    transition: transform 0.4s ease;
    z-index: 0;
  }
  .project:hover .img { transform: scale(1.03); }
  .project-caption {
    grid-area: 1 / 1;
    align-self: end;
    padding: 48px 18px 20px;
    background: linear-gradient(to top, rgba(10,15,25,0.90) 0%, rgba(10,15,25,0.5) 60%, transparent 100%);
    z-index: 1;
    position: relative;
  }
  .project h4 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 8px;
  }
  .project p {
    font-size: 12.5px;
    color: rgba(255,255,255,0.82);
    line-height: 1.55;
    margin: 0;
  }
  .projects-nav {
    display: flex;
    gap: 8px;
    margin-left: auto;
    align-self: center;
  }
  .proj-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.15s, border-color 0.15s;
  }
  .proj-btn:hover { color: var(--accent); border-color: var(--accent); }
  .proj-btn:disabled { opacity: 0.3; cursor: default; }

  .analytics-list { display: flex; flex-direction: column; }
  .a-item {
    display: flex;
    gap: 16px;
    padding: 16px 10px;
    border-bottom: 1px solid var(--line-2);
    align-items: center;
    transition: background 0.15s;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ink-2);
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
  }
  .a-item:first-child { padding-top: 4px; }
  .a-item:last-child { border-bottom: 0; }
  .a-item:hover { background: var(--bg-tint); }
  .a-icon {
    width: 22px; height: 22px;
    color: var(--muted);
    flex-shrink: 0;
  }
  .a-title {
    flex: 1;
    min-width: 0;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 400;
    color: var(--ink-2);
    line-height: 1.55;
  }
  .a-arrow {
    font-size: 14px;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.15s;
  }
  .a-item:hover .a-arrow { transform: translateX(3px); }

  /* ============ MODAL ============ */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,24,31,0.6);
    z-index: 200;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    pointer-events: none;
  }
  .modal-overlay.open { display: flex; pointer-events: auto; }
  .modal {
    background: #fff;
    width: 100%;
    max-width: 780px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  }
  .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .modal-title {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--ink);
    font-weight: 400;
    margin: 0;
    max-width: 80%;
    line-height: 1.3;
  }
  .modal-close {
    width: 32px; height: 32px;
    background: none;
    border: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: color 0.15s, border-color 0.15s;
  }
  .modal-close:hover { color: var(--ink); border-color: var(--ink); }
  .modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
  }
  .slides-track { display: block; }
  .slide {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 24px 28px 28px;
  }
  .slide.active { display: flex; }
  .slide-photos {
    display: flex;
    gap: 14px;
    width: 100%;
  }
  .slide-photo {
    flex: 1;
    min-width: 0;
    max-width: 220px;
    aspect-ratio: 3/4;
    background: var(--bg-tint);
    border: 1px solid var(--line);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: zoom-in;
    transition: opacity 0.15s;
  }
  .slide-photo:hover { opacity: 0.88; }

  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 400;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
  }
  .lightbox.open { display: flex; }
  .lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  }
  .slide-text {
    flex: 1;
    font-size: 12.5px;
    color: var(--ink-2);
    line-height: 1.7;
  }
  .slide-text h3 {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
    margin: 0 0 14px;
    line-height: 1.3;
  }
  .slide-text ul {
    padding-left: 18px;
    margin: 8px 0;
  }
  .slide-text ul li { margin-bottom: 5px; }
  .slide-text .stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0;
  }
  .slide-stat {
    background: var(--bg-tint);
    border: 1px solid var(--line);
    padding: 10px 14px;
    min-width: 110px;
  }
  .slide-stat .sv {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--accent);
    line-height: 1;
  }
  .slide-stat .sl {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    line-height: 1.35;
  }
  .modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
  }
  .modal-counter {
    font-size: 12px;
    color: var(--muted);
  }
  .modal-nav { display: flex; gap: 8px; }
  .modal-btn {
    width: 32px; height: 32px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.15s, border-color 0.15s;
  }
  .modal-btn:hover { color: var(--accent); border-color: var(--accent); }
  .modal-btn:disabled { opacity: 0.3; cursor: default; }

  /* ============ CAPABILITIES + NUMBERS (05 / 06) ============ */
  .caps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 36px;
  }
  .cap {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
  }
  .cap-icon {
    width: 26px; height: 26px;
    color: var(--ink-2);
    flex-shrink: 0;
    margin-top: 1px;
  }
  .cap-text {
    font-size: 12.5px;
    color: var(--ink-2);
    line-height: 1.5;
  }
  .caps-more {
    margin-top: 22px;
    font-size: 12px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
  }
  .caps-more:hover { color: var(--accent-soft); }
  .numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
  .num .v {
    font-family: var(--serif);
    font-size: 32px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
  }
  .num .v sup { font-size: 22px; vertical-align: middle; line-height: 0; }
  .num .l {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.4;
    max-width: 150px;
  }

  /* ============ TEAM + PARTNERS (07 / 08) ============ */
  .team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .person .ph {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center top;
    background-color: #d8dde6;
    margin-bottom: 12px;
  }
  .person .nm {
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 3px;
  }
  .person .role {
    font-size: 11.5px;
    color: var(--muted);
  }
  .team-more {
    margin-top: 22px;
    font-size: 12px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
  }
  .team-more:hover { color: var(--accent-soft); }

  .partners {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .partner {
    border: 1px solid var(--line);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 110px;
    transition: border-color 0.15s;
  }
  .partner-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
  }
  .partner .pn {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.4;
    text-align: center;
  }

  /* ============ NEWS (09) ============ */
  .news-wrap { position: relative; }
  .news-viewport { overflow: hidden; }
  .news {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.1fr;
    gap: 14px;
    align-items: stretch;
    transition: transform 0.35s ease;
  }
  .news-card {
    background: var(--bg-tint);
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    cursor: pointer;
    transition: background 0.15s;
  }
  .news-card:hover { background: #eaecf2; }
  .news-date {
    font-size: 10.5px;
    color: var(--muted);
    margin-bottom: 16px;
  }
  .news-tag {
    font-size: 10.5px;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .news-card h5 {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ink);
    margin: 0 0 auto;
  }
  .news-link {
    margin-top: 22px;
    font-size: 11.5px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
  }
  .news-link:hover { color: var(--accent-soft); }
  .news-img {
    background:
      linear-gradient(135deg, rgba(20,40,80,0.18), rgba(20,40,80,0.05)),
      url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80") center/cover no-repeat;
    min-height: 200px;
  }
  .news-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 20px;
  }
  .news-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.15s;
  }
  .news-dot.active { background: var(--accent); }
  .arrow {
    position: absolute;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    width: 28px; height: 28px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: color 0.15s, border-color 0.15s;
    user-select: none;
  }
  .arrow:hover { color: var(--accent); border-color: var(--accent); }
  .arrow.l { left: -42px; }
  .arrow.r { right: -42px; }

  /* ============ FOOTER ============ */
  footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 32px;
    margin-top: 24px;
  }
  .foot-top {
    display: flex;
    gap: 80px;
    align-items: flex-start;
  }
  .foot-brand { flex-shrink: 0; }
  .foot-brand-logo {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
  }
  .foot-nav-cols {
    display: flex;
    gap: 64px;
    flex: 1;
  }
  .foot-col { flex: 1; }
  .foot-col-label {
    font-size: 10.5px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 14px;
  }
  .foot-col ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 9px;
  }
  .foot-col li {
    font-size: 12px;
    color: var(--ink-2);
    line-height: 1.5;
  }
  .foot-col li a { color: inherit; transition: color 0.15s; }
  .foot-col li a:hover { color: var(--accent); }
  .foot-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }
  .foot-soc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-2);
    transition: color 0.15s;
  }
  .foot-soc-link:hover { color: var(--accent); }
  .foot-soc-link svg { flex-shrink: 0; color: var(--accent); }
  .copyright {
    margin-top: 48px;
    padding-top: 18px;
    border-top: 1px solid var(--line-2);
    font-size: 11.5px;
    color: var(--muted);
  }

  /* ============ MOBILE ============ */
  @media (max-width: 768px) {
    .wrap { width: 100%; padding: 0 16px; }

    /* Header */
    .nav { height: 60px; gap: 0; }
    .brand-text .sub { display: none; }
    nav.menu {
      display: none;
      flex-direction: column;
      position: fixed;
      top: 60px;
      right: 0;
      width: 260px;
      height: calc(100vh - 60px);
      background: #fff;
      border-left: 1px solid var(--line);
      padding: 20px 20px 28px;
      gap: 0;
      z-index: 99;
      box-shadow: -8px 0 24px rgba(0,0,0,0.08);
      margin-left: 0;
    }
    nav.menu.open { display: flex; }
    nav.menu a {
      padding: 13px 0;
      border-bottom: 1px solid var(--line-2);
      font-size: 15px;
    }
    nav.menu a:last-child { border-bottom: none; }
    .burger {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      background: none;
      border: none;
      padding: 4px;
      cursor: pointer;
      margin-left: auto;
      width: 28px;
      height: 28px;
      position: relative;
    }
    .burger span {
      display: block;
      width: 20px;
      height: 1.5px;
      background: var(--ink);
      transition: transform 0.25s ease, opacity 0.2s ease;
      transform-origin: center;
      position: absolute;
      left: 4px;
    }
    .burger span:nth-child(1) { top: 7px; }
    .burger span:nth-child(2) { top: 13px; }
    .burger span:nth-child(3) { top: 19px; }
    .burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* Hero */
    .hero {
      height: 100svh;
      background: linear-gradient(180deg, #ffffff 30%, #e8eaed 100%);
    }
    .hero .wrap {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-top: 0;
      padding-bottom: 0;
    }
    .hero h1 { font-size: 36px; max-width: 100%; }
    .hero p.lead { max-width: 100%; font-size: 13.5px; }
    .pillars { flex-direction: column; gap: 16px; margin-top: 0; }
    .pillar { flex-direction: row; align-items: center; max-width: 100%; gap: 14px; }
    .pillar-icon { flex-shrink: 0; }

    /* Sections */
    section.block { padding: 36px 0 28px; }
    .sec-title { font-size: 20px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .about-left p { max-width: 100%; }
    .stats { gap: 28px; }
    .stat .v { font-size: 26px; }
    .about-right { grid-template-columns: 1fr; min-height: auto; padding: 24px 20px; }
    .about-illus { height: 120px; align-self: auto; }

    /* Directions */
    .dirs { grid-template-columns: repeat(2, 1fr); }
    .dir { border-right: none; border-bottom: 1px solid var(--line); min-height: auto; padding: 20px 16px; }
    .dir:nth-child(odd) { border-right: 1px solid var(--line); }
    .dir:nth-last-child(-n+2) { border-bottom: none; }

    /* Projects + Analytics */
    .row-2 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .row-2 > * { min-width: 0; }
    .project { flex: 0 0 100%; aspect-ratio: 4 / 3; }
    .caps { grid-template-columns: 1fr; gap: 0; }
    .cap { border-bottom: 1px solid var(--line-2); padding: 14px 0; }
    .cap:last-child { border-bottom: none; }

    /* Numbers */
    .numbers { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
    .num .v { font-size: 26px; }

    /* Team */
    .team { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Partners */
    .partners { grid-template-columns: repeat(3, 1fr); }
    .partner { padding: 14px 10px; min-height: auto; }
    .partner-logo { width: 60px; height: 38px; }

    /* News */
    .news { grid-template-columns: 1fr; }
    .news-img { min-height: 160px; }
    .arrow { display: none; }

    /* Footer */
    .foot-top { flex-direction: column; gap: 32px; }
    .foot-nav-cols { flex-direction: row; gap: 16px; justify-content: space-between; }
    .foot-col:last-child { flex: 0 0 auto; min-width: 162px; }
    .foot-col li { white-space: nowrap; }
    .director-card { padding: 20px 16px; gap: 16px; }
    .director-photo { width: 90px; height: 108px; }

    /* Directions — click to expand */
    .dir:hover .dir-desc { max-height: 0; opacity: 0; }
    .dir.active .dir-desc { max-height: 220px; opacity: 1; }

    /* Projects — swipe only, no buttons */


    /* Body text +2px */
    .about-left p { font-size: 15px; }
    .dir-name { font-size: 15px; }
    .dir-desc { font-size: 14px; }
    .cap-text { font-size: 14.5px; }
    .pillar-text { font-size: 14px; }
    .a-item { align-items: flex-start; }
    .a-title { font-size: 15px; word-break: break-word; overflow-wrap: break-word; }

    /* Partners 2×3 */
    .partners { grid-template-columns: repeat(2, 1fr); }
    .partner-logo { width: 80px; height: 50px; }
  }

  @media (max-width: 480px) {
    .hero h1 { font-size: 36px; }
    .stats { flex-wrap: wrap; gap: 20px; }
    .dirs { grid-template-columns: 1fr; }
    .dir { border-right: none !important; }
    .dir:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
    .dir:last-child { border-bottom: none; }
    .numbers { grid-template-columns: repeat(2, 1fr); }
    .team { grid-template-columns: repeat(2, 1fr); }
    .partners { grid-template-columns: repeat(2, 1fr); }
    .partner { flex-direction: column; align-items: center; height: auto; }
  }

/* ============ FORM STATUS (php-email-form) ============ */
.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 12px;
}
.php-email-form .error-message br + br { margin-top: 25px; }
.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 12px;
}
.php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}
.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent);
  border-top-color: var(--line);
  animation: animate-loading 1s linear infinite;
}
@keyframes animate-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.php-email-form .form-group { margin-bottom: 16px; }
.php-email-form label { padding-bottom: 6px; display: block; font-size: 13px; color: var(--ink-2); }

/* ============ CONTACTS BLOCK (form section above footer) ============ */
.contact-block { padding: 70px 0; background: var(--bg-tint); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; font-size: 14px; color: var(--ink-2); }
.contact-info-list .ci-label { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.contact-info-list a { color: var(--accent); }
.contact-info-list a:hover { color: var(--accent-soft); }
.newsletter-row { margin-top: 28px; }
.newsletter-row form { display: flex; gap: 10px; max-width: 420px; }
.newsletter-row input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13.5px;
  font-family: var(--sans);
}
.newsletter-row button,
.btn-join,
.php-email-form button[type="submit"].btn-join {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 13.5px;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.15s;
}
.newsletter-row button:hover,
.btn-join:hover,
.php-email-form button[type="submit"].btn-join:hover { background: var(--accent-soft); }
.hero .btn-join { margin-top: 24px; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-row form { flex-direction: column; max-width: none; }
}

/* ============ INNER PAGES (dictation / survey) ============ */
.inner-hero {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-tint);
}
.inner-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.inner-hero .breadcrumbs li + li { padding-left: 8px; }
.inner-hero .breadcrumbs li + li::before {
  display: inline-block;
  padding-right: 8px;
  color: var(--muted-2);
  content: "/";
}
.inner-hero .breadcrumbs a { color: var(--accent); }
.inner-hero .breadcrumbs a:hover { color: var(--accent-soft); }
.inner-hero h2,
.inner-page h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin: 0;
}
.inner-page { padding: 48px 0 80px; }
.inner-page h2 { margin-bottom: 18px; }
.inner-page p { color: var(--ink-2); line-height: 1.7; margin: 0 0 14px; }

/* Card */
.card-info {
  width: 100%;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  padding: 28px;
  background: #fff;
  border-radius: 6px;
}
.card-info h3 { font-family: var(--serif); font-weight: 400; font-size: 19px; margin: 0 0 10px; }
.card-info h3 a { color: var(--ink); }
.card-info h3 a:hover { color: var(--accent); }
.card-info p:last-child { margin-bottom: 0; }

/* Forms on inner pages */
.inner-page form.php-email-form { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.inner-page .form-group { margin-bottom: 16px; }
.inner-page label { font-size: 13px; color: var(--ink-2); padding-bottom: 6px; display: block; }
.inner-page .form-control,
.inner-page select.form-control,
.inner-page textarea.form-control {
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 13.5px;
  padding: 10px 12px;
}
.inner-page .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(37,99,168,0.12);
}
.inner-page form h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 8px;
}

/* Questions */
.question-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}
.question-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.answer-option {
  display: flex;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.answer-option:hover { border-color: var(--accent-soft); background: var(--bg-tint); }
.answer-option input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0 12px 0 0;
  margin-top: 0.2em;
  accent-color: var(--accent);
}

/* Result list */
.result-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 14px;
  background: #fff;
}
.result-item .ri-q { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.result-item .ri-line { font-size: 13.5px; color: var(--ink-2); margin-bottom: 4px; }

@media (max-width: 768px) {
  .inner-hero { padding: 22px 0 18px; }
  .inner-hero h2, .inner-page h2 { font-size: 22px; }
  .card-info, .inner-page form.php-email-form, .question-card { padding: 20px; }
}

/* ============ RESULTS PAGE ============ */
.result-hero {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 28px;
}
.result-score-ring {
  position: relative;
  flex-shrink: 0;
  width: 132px;
  height: 132px;
}
.result-score-ring svg { transform: rotate(-90deg); }
.result-score-ring circle {
  fill: none;
  stroke-width: 8;
}
.result-score-ring .ring-bg { stroke: var(--line-2); }
.result-score-ring .ring-progress {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}
.result-score-value {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.result-score-value .rsv-num {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  line-height: 1;
}
.result-score-value .rsv-den {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.result-hero-text { flex: 1; }
.result-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}
.result-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 10px;
}
.result-hero-text p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

.result-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.result-toggle:hover { border-color: var(--accent-soft); color: var(--accent); }
.result-toggle .rt-arrow { transition: transform 0.2s; font-size: 11px; }
.result-toggle[aria-expanded="true"] .rt-arrow { transform: rotate(180deg); }

.result-details {
  margin-top: 24px;
  display: none;
}
.result-details.is-open { display: block; }

.result-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 14px;
  background: #fff;
}
.result-item .ri-q { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.result-item .ri-line { font-size: 13.5px; color: var(--ink-2); margin-bottom: 4px; }
.result-item.is-wrong { border-left: 3px solid #c0392b; }
.result-item.is-right { border-left: 3px solid #1d8a4d; }

.result-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .result-hero { flex-direction: column; text-align: center; gap: 20px; padding: 28px 22px; }
  .result-level-badge { justify-content: center; }
}

/* ============ SURVEY LIST ============ */
.survey-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.survey-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.survey-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--line);
  transition: background 0.2s;
}
.survey-card.is-active::before { background: var(--accent); }
.survey-card:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 10px 28px rgba(37,99,168,0.08);
  transform: translateY(-2px);
}
.survey-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.survey-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--sans);
  font-weight: 500;
}
.survey-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block;
}
.survey-status.status-active { color: #1d8a4d; background: rgba(29,138,77,0.10); }
.survey-status.status-active .dot { background: #1d8a4d; }
.survey-status.status-upcoming { color: var(--accent); background: rgba(37,99,168,0.08); }
.survey-status.status-upcoming .dot { background: var(--accent); }
.survey-status.status-finished { color: var(--muted); background: var(--line-2); }
.survey-status.status-finished .dot { background: var(--muted-2); }

.survey-meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.survey-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--ink);
}
.survey-card h3 a { color: inherit; }
.survey-card:hover h3 a { color: var(--accent); }

.survey-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}

.survey-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
}
.survey-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  transition: gap 0.15s;
}
.survey-card:hover .survey-cta { gap: 10px; }
.survey-cta.is-disabled { color: var(--muted-2); pointer-events: none; }

.survey-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 56px 28px;
  text-align: center;
  color: var(--muted);
}
.survey-empty h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 8px;
}

@media (max-width: 768px) {
  .survey-grid { grid-template-columns: 1fr; }
  .survey-card { padding: 22px; }
}




/* ============ JOIN MODAL ============ */
.jm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(14,18,26,0.55);
  justify-content: flex-end;
  pointer-events: none;
}
.jm-overlay.open {
  display: flex;
  pointer-events: auto;
}
.jm-panel {
  background: #fff;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.14);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.jm-overlay.open .jm-panel { transform: translateX(0); }

.jm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.jm-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  margin: 0;
}
.jm-close {
  width: 34px; height: 34px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}
.jm-close:hover { color: var(--ink); border-color: var(--ink-2); }

.jm-body {
  padding: 24px 28px 36px;
  overflow-y: auto;
  flex: 1;
}

/* Form layout */
.jm-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.jm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.jm-field label {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.jm-req { color: var(--accent); }

/* Inputs — scoped to .jm-form to avoid touching other forms */
.jm-form input[type="text"],
.jm-form input[type="email"],
.jm-form input[type="date"],
.jm-form textarea,
.jm-form select {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: none;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  /* reset Bootstrap */
  border-radius: 6px !important;
  height: auto !important;
  box-shadow: none !important;
}
.jm-form input[type="text"]:focus,
.jm-form input[type="email"]:focus,
.jm-form input[type="date"]:focus,
.jm-form textarea:focus,
.jm-form select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(37,99,168,0.10) !important;
  outline: none !important;
}
.jm-form textarea { resize: vertical; min-height: 80px; }

/* Checkbox */
.jm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.jm-form input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 0.2em;
  accent-color: var(--accent);
  cursor: pointer;
}
/* Reset Bootstrap's custom checkbox appearance */
.jm-body .form-check-input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  border: none !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-top: 0.2em !important;
  flex-shrink: 0 !important;
  accent-color: var(--accent) !important;
}

/* Privacy collapse */
.jm-collapse-btn {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.jm-collapse-btn:hover { color: var(--accent-soft); }
.jm-collapse-body {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  padding: 14px 16px;
  background: var(--bg-tint);
  border-radius: 6px;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.jm-collapse-body p { margin: 0 0 8px; }
.jm-collapse-body p:last-child { margin: 0; }

/* Status messages */
.jm-form .loading { display: none; padding: 10px; text-align: center; color: var(--muted); font-size: 13px; }
.jm-form .error-message { display: none; padding: 12px 16px; background: #fdf2f2; border: 1px solid #f5c6c6; border-radius: 6px; color: #c0392b; font-size: 13px; margin-bottom: 12px; }
.jm-form .sent-message { display: none; padding: 12px 16px; background: #f0faf5; border: 1px solid #a8dfc0; border-radius: 6px; color: #1d8a4d; font-size: 13px; margin-bottom: 12px; }

@media (max-width: 600px) {
  .jm-panel { max-width: 100%; }
  .jm-row { grid-template-columns: 1fr; }
  .jm-body { padding: 20px; }
  .jm-header { padding: 18px 20px; }
}

/* Prevent hidden Bootstrap modals from blocking clicks */
.modal.fade:not(.show) { pointer-events: none; }
.jm-body .php-email-form {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-top: none !important;
  border-bottom: none !important;
}
.jm-body .php-email-form label { font-weight: 400; color: var(--muted); padding-bottom: 0; font-size: 12.5px; }
.jm-body .php-email-form input,
.jm-body .php-email-form textarea,
.jm-body .php-email-form select {
  border-radius: 6px !important;
  height: auto !important;
  box-shadow: none !important;
  font-size: 14px !important;
  border: 1px solid var(--line) !important;
  padding: 10px 12px !important;
  color: var(--ink) !important;
  background: #fff !important;
}
.jm-body .php-email-form input:focus,
.jm-body .php-email-form textarea:focus,
.jm-body .php-email-form select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(37,99,168,0.10) !important;
}
.jm-body .php-email-form button[type=submit] {
  border-radius: 6px !important;
  padding: 11px 22px !important;
  background: var(--accent) !important;
  font-size: 13.5px !important;
}
.jm-body .php-email-form button[type=submit]:hover { background: var(--accent-soft) !important; }
.jm-body .php-email-form .error-message {
  background: #fdf2f2 !important;
  border: 1px solid #f5c6c6 !important;
  border-radius: 6px !important;
  color: #c0392b !important;
  font-weight: 400 !important;
}
.jm-body .php-email-form .sent-message {
  background: #f0faf5 !important;
  border: 1px solid #a8dfc0 !important;
  border-radius: 6px !important;
  color: #1d8a4d !important;
  font-weight: 400 !important;
}
.jm-body .php-email-form .loading { background: none !important; color: var(--muted) !important; }

/* ============ STORIES ============ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.story-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
}
.story-card:hover {
  box-shadow: 0 8px 24px rgba(37,99,168,0.10);
  transform: translateY(-2px);
}
.story-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-tint);
}
.story-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.story-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.35;
}
.story-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
  flex: 1;
}
.story-card-link {
  font-size: 13px;
  color: var(--accent);
}
.story-card:hover .story-card-link { color: var(--accent-soft); }

/* Gallery */
.stories-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.stories-gallery-item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
}
.stories-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.stories-gallery-item:hover img { transform: scale(1.05); }

/* Videos */
.stories-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stories-video-item { display: flex; flex-direction: column; gap: 8px; }
.stories-video-btn {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  background: none;
}
.stories-video-btn img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.stories-video-btn:hover img { opacity: 0.85; }
.stories-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  pointer-events: none;
}
.stories-video-name {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* Story detail */
.story-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.story-detail-img img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
.story-detail-text p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 768px) {
  .stories-grid { grid-template-columns: 1fr; }
  .stories-gallery { grid-template-columns: repeat(2, 1fr); }
  .stories-videos { grid-template-columns: 1fr; }
  .story-detail-hero { grid-template-columns: 1fr; gap: 24px; }
}