  :root {
    --ink: #10201a;
    --pine: #16352b;
    --pine-deep: #0d241d;
    --pine-mid: #1b4033;
    --cream: #f4efe6;
    --cream-soft: #faf7f0;
    --gold: #b98a2f;
    --gold-soft: #d9b568;
    --line: rgba(16, 32, 26, 0.14);
    --line-light: rgba(244, 239, 230, 0.16);
    --serif: "Fraunces", Georgia, serif;
    --sans: "Archivo", "Helvetica Neue", sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--cream-soft);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  ::selection { background: var(--gold-soft); color: var(--pine-deep); }

  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

  /* ---------- Top bar ---------- */
  .topbar {
    background: var(--pine-deep);
    color: rgba(244, 239, 230, 0.75);
    font-size: 12px;
    letter-spacing: 0.08em;
  }
  .topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .topbar a { color: var(--gold-soft); text-decoration: none; }

  /* ---------- Nav ---------- */
  header.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 240, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .logo {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .logo .mark {
    width: 10px; height: 10px;
    background: var(--gold);
    display: inline-block;
    transform: rotate(45deg) translateY(-1px);
  }
  .logo span.co { color: var(--gold); font-style: italic; font-weight: 400; }
  nav.links { display: flex; gap: 36px; align-items: center; }
  nav.links a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    position: relative;
  }
  nav.links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
  }
  nav.links a:not(.btn):hover::after { width: 100%; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--pine);
    color: var(--cream) !important;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid var(--pine);
    transition: background 0.25s ease, color 0.25s ease;
  }
  .btn .arr { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
  .btn:hover .arr { transform: translate(3px, -3px); }
  .btn:hover { background: transparent; color: var(--pine) !important; }
  .btn.gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--pine-deep) !important;
  }
  .btn.gold:hover { background: transparent; color: var(--gold-soft) !important; }
  .btn.outline-light {
    background: transparent;
    border-color: rgba(244, 239, 230, 0.4);
    color: var(--cream) !important;
  }
  .btn.outline-light:hover { border-color: var(--gold-soft); color: var(--gold-soft) !important; }

  /* ---------- Hero ---------- */
  .hero {
    background: var(--pine-deep);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(217, 181, 104, 0.14) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 90% 80% at 75% 20%, black 0%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 75% 20%, black 0%, transparent 65%);
  }
  .hero .wrap {
    position: relative;
    padding-top: 90px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 32px;
  }
  .kicker::before {
    content: "";
    width: 40px; height: 1px;
    background: var(--gold);
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 1.06;
    letter-spacing: -0.01em;
    max-width: 15ch;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--gold-soft);
  }
  .hero p.lede {
    margin-top: 30px;
    max-width: 48ch;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(244, 239, 230, 0.78);
  }
  .hero .cta-row {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  /* --- Hero visual --- */
  .hero-visual {
    position: relative;
    min-height: 460px;
  }
  .ring {
    position: absolute;
    top: 50%; left: 54%;
    width: 560px; height: 560px;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .ring circle { fill: none; stroke: rgba(217, 181, 104, 0.25); }
  .ring .dashed {
    stroke-dasharray: 3 9;
    transform-origin: center;
    animation: spin 80s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  .chart-card {
    position: relative;
    background: var(--cream-soft);
    color: var(--ink);
    border: 1px solid rgba(16, 32, 26, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    padding: 26px 26px 18px;
    max-width: 480px;
    margin-left: auto;
  }
  .chart-card .card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
  }
  .chart-card .card-head .t {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
  }
  .chart-card .card-head .badge-live {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .chart-card .card-head .badge-live::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 2s ease-in-out infinite;
  }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

  .chart-card svg.chart { display: block; width: 100%; height: auto; }
  html.js .chart .grow-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
  }
  html.js .in .chart .grow-line,
  html.js .hero .chart .grow-line {
    animation: draw 2.4s cubic-bezier(0.5, 0, 0.2, 1) 0.7s forwards;
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  html.js .chart .area {
    opacity: 0;
    animation: fadein 1.2s ease 2s forwards;
  }
  @keyframes fadein { to { opacity: 1; } }
  .chart .pulse-dot { animation: pulse 2.2s ease-out infinite 2.6s; transform-origin: center; transform-box: fill-box; }
  @keyframes pulse {
    0% { opacity: 1; transform: scale(0.6); }
    70% { opacity: 0; transform: scale(2.6); }
    100% { opacity: 0; transform: scale(2.6); }
  }
  .chart-card .card-foot {
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed var(--line);
    margin-top: 12px;
    padding-top: 12px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(16, 32, 26, 0.55);
  }

  .chip {
    position: absolute;
    background: var(--pine-mid);
    border: 1px solid rgba(217, 181, 104, 0.35);
    color: var(--cream);
    padding: 12px 18px;
    font-size: 12px;
    letter-spacing: 0.04em;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floaty 5s ease-in-out infinite;
  }
  .chip .dot { width: 7px; height: 7px; background: var(--gold-soft); transform: rotate(45deg); flex-shrink: 0; }
  .chip b { font-weight: 600; }
  .chip small { display: block; font-size: 10.5px; color: rgba(244, 239, 230, 0.6); letter-spacing: 0.1em; text-transform: uppercase; }
  .chip.c1 { top: 2%; left: -4%; animation-delay: 0s; }
  .chip.c2 { bottom: 4%; right: 2%; animation-duration: 6s; animation-delay: 1.2s; }
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
  }

  .stamp {
    position: absolute;
    left: -30px;
    bottom: -34px;
    width: 128px;
    height: 128px;
    pointer-events: none;
    z-index: 3;
  }
  .stamp svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
  .stamp text {
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.32em;
    fill: var(--gold-soft);
  }
  .stamp .center-mark { fill: var(--gold); }

  /* ---------- Marquee ---------- */
  .marquee {
    background: var(--pine);
    border-top: 1px solid rgba(217, 181, 104, 0.25);
    border-bottom: 1px solid rgba(217, 181, 104, 0.25);
    overflow: hidden;
    position: relative;
  }
  .marquee .track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
  }
  .marquee:hover .track { animation-play-state: paused; }
  .marquee .seq {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 16px 0;
  }
  .marquee .seq span {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--cream);
    padding: 0 28px;
    opacity: 0.85;
  }
  .marquee .seq i {
    width: 8px; height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
  }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* ---------- Stats strip ---------- */
  .stats {
    background: var(--gold);
    color: var(--pine-deep);
  }
  .stats .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 0;
    padding-bottom: 0;
  }
  .stat {
    padding: 36px 28px;
    border-left: 1px solid rgba(13, 36, 29, 0.18);
  }
  .stat:first-child { border-left: none; padding-left: 0; }
  .stat .num {
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .stat .label {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.75;
  }

  /* ---------- Section scaffolding ---------- */
  section { scroll-margin-top: 90px; }
  .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 64px;
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    max-width: 18ch;
  }
  .section-head h2 em { font-style: italic; color: var(--gold); }
  .section-head .side {
    max-width: 38ch;
    font-size: 15px;
    color: rgba(16, 32, 26, 0.7);
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
  }
  .eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }

  /* ---------- Services ---------- */
  .services { padding: 120px 0; }
  .svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .svc {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 48px 44px 44px;
    position: relative;
    background: var(--cream-soft);
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  }
  .svc:hover {
    background: var(--cream);
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(16, 32, 26, 0.10);
    z-index: 2;
  }
  .svc .top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .svc .idx {
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: var(--gold);
  }
  .svc .pict { width: 56px; height: 56px; }
  .svc .pict path, .svc .pict circle, .svc .pict rect, .svc .pict line, .svc .pict polyline {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  html.js .svc .pict [pathLength] {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.5, 0, 0.2, 1) 0.3s;
  }
  html.js .svc.in .pict [pathLength] { stroke-dashoffset: 0; }
  .svc:hover .pict { animation: nudge 0.5s ease; }
  @keyframes nudge {
    0% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
  }
  .svc h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 27px;
    margin: 18px 0 14px;
    line-height: 1.2;
  }
  .svc p {
    font-size: 15px;
    color: rgba(16, 32, 26, 0.72);
    max-width: 46ch;
  }
  .svc ul {
    margin-top: 20px;
    list-style: none;
  }
  .svc li {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 8px 0;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .svc li::before {
    content: "";
    width: 5px; height: 5px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  /* ---------- Process ---------- */
  .process {
    background: var(--pine-deep);
    color: var(--cream);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
  }
  .process::after {
    content: "ATIF";
    position: absolute;
    right: -40px;
    bottom: -70px;
    font-family: var(--serif);
    font-size: 320px;
    font-weight: 600;
    color: rgba(244, 239, 230, 0.03);
    letter-spacing: -0.02em;
    pointer-events: none;
    line-height: 1;
  }
  .process .section-head .side { color: rgba(244, 239, 230, 0.65); }
  .process .section-head h2 em { color: var(--gold-soft); }
  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .step {
    padding: 40px 32px 8px 0;
    border-right: 1px solid var(--line-light);
    padding-right: 32px;
    position: relative;
  }
  .step::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--line-light);
  }
  .step::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.1s cubic-bezier(0.5, 0, 0.2, 1);
  }
  html.js .step.in::after { transform: scaleX(1); }
  .step:nth-child(1)::after { transition-delay: 0.1s; }
  .step:nth-child(2)::after { transition-delay: 0.35s; }
  .step:nth-child(3)::after { transition-delay: 0.6s; }
  .step:nth-child(4)::after { transition-delay: 0.85s; }
  .step:last-child { border-right: none; }
  .step .no {
    font-family: var(--serif);
    font-style: italic;
    font-size: 52px;
    font-weight: 300;
    color: var(--gold-soft);
    line-height: 1;
  }
  .step h4 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 21px;
    margin: 22px 0 12px;
  }
  .step p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(244, 239, 230, 0.65);
  }

  /* ---------- About ---------- */
  .about { padding: 120px 0; }
  .about .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .about h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.12;
  }
  .about h2 em { font-style: italic; color: var(--gold); }
  .about .body p {
    font-size: 16px;
    color: rgba(16, 32, 26, 0.75);
    margin-bottom: 20px;
  }
  .about .body p.lead-p {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.5;
    color: var(--ink);
  }
  .pillars { margin-top: 36px; border-top: 1px solid var(--line); }
  .pillar {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.3s ease;
  }
  .pillar:hover { padding-left: 8px; }
  .pillar .p-no {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
    font-size: 17px;
  }
  .pillar h5 { font-size: 15px; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 4px; }
  .pillar p { font-size: 14px; color: rgba(16, 32, 26, 0.68); }

  /* --- About visual: cross-border routes --- */
  .globe-frame {
    position: relative;
  }
  .globe-frame::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid var(--gold);
    z-index: 0;
  }
  .globe-panel {
    position: relative;
    z-index: 1;
    background: var(--pine-deep);
    border: 1px solid rgba(16, 32, 26, 0.3);
    padding: 40px 32px 0;
    overflow: hidden;
  }
  .globe-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(217, 181, 104, 0.12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 75%);
  }
  .globe-panel svg { display: block; width: 100%; height: auto; position: relative; }
  .globe-panel canvas {
    display: none;
    width: 100%;
    aspect-ratio: 1;
    max-width: 430px;
    margin: 0 auto;
    position: relative;
  }
  .globe-panel.live canvas { display: block; }
  .globe-panel.live svg.globe-fallback { display: none; }
  html.js .globe-panel .route {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
  }
  html.js .globe-frame.in .route { animation: draw 2.6s cubic-bezier(0.5, 0, 0.2, 1) 0.5s forwards; }
  .globe-panel .city-pulse { animation: pulse 2.4s ease-out infinite 2.4s; transform-origin: center; transform-box: fill-box; }
  .globe-caption {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 4px 18px;
    border-top: 1px dashed rgba(244, 239, 230, 0.2);
    margin-top: 26px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244, 239, 230, 0.6);
  }
  .globe-caption b { color: var(--gold-soft); }

  /* ---------- CTA band ---------- */
  .cta-band {
    background: var(--pine);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(217, 181, 104, 0.12) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(105deg, transparent 40%, black 100%);
    -webkit-mask-image: linear-gradient(105deg, transparent 40%, black 100%);
  }
  .cta-band .wrap {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
  }
  .cta-band h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.15;
    max-width: 22ch;
  }
  .cta-band h2 em { font-style: italic; color: var(--gold-soft); }
  .cta-band .note {
    margin-top: 14px;
    font-size: 14px;
    color: rgba(244, 239, 230, 0.6);
  }
  .cta-right {
    display: flex;
    align-items: center;
    gap: 36px;
  }
  .cta-right .stamp2 { width: 110px; height: 110px; flex-shrink: 0; }
  .cta-right .stamp2 svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
  .cta-right .stamp2 text {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.3em;
    fill: rgba(244, 239, 230, 0.65);
  }
  .cta-right .stamp2 .center-mark { fill: var(--gold-soft); }

  /* ---------- Footer ---------- */
  footer {
    background: var(--pine-deep);
    color: rgba(244, 239, 230, 0.6);
    border-top: 1px solid var(--line-light);
  }
  footer .wrap {
    padding-top: 64px;
    padding-bottom: 40px;
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line-light);
  }
  .foot-grid .logo { color: var(--cream); font-size: 22px; }
  .foot-grid p { font-size: 13.5px; margin-top: 16px; max-width: 34ch; }
  footer h6 {
    color: var(--cream);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  footer ul { list-style: none; }
  footer li { margin-bottom: 10px; }
  footer a { color: rgba(244, 239, 230, 0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
  footer a:hover { color: var(--gold-soft); }
  .foot-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: rgba(244, 239, 230, 0.4);
  }

  /* ---------- Reveal on load (hero) ---------- */
  html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .reveal.d1 { animation-delay: 0.1s; }
  .reveal.d2 { animation-delay: 0.25s; }
  .reveal.d3 { animation-delay: 0.4s; }
  .reveal.d4 { animation-delay: 0.55s; }
  html.js .reveal-visual {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    animation: rise-v 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
  }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }
  @keyframes rise-v { to { opacity: 1; transform: translateY(0) scale(1); } }

  /* ---------- Scroll reveal (hidden state only when JS runs) ---------- */
  html.js .sr {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  html.js .sr.in { opacity: 1; transform: translateY(0); }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 1060px) {
    .hero .wrap { grid-template-columns: 1fr; padding-bottom: 80px; }
    .hero-visual { min-height: 0; margin-top: 24px; }
    .chart-card { margin-left: 0; max-width: 560px; }
    .ring { display: none; }
    .chip.c1 { left: auto; right: -2%; top: -6%; }
  }
  @media (max-width: 960px) {
    nav.links a:not(.btn) { display: none; }
    .stats .wrap { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: none; padding-left: 0; }
    .svc-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step { border-right: none; padding-bottom: 32px; }
    .about .wrap { grid-template-columns: 1fr; gap: 64px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .wrap { padding: 0 20px; }
    .topbar .wrap { justify-content: center; }
    .topbar .right { display: none; }
    .steps { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .stat { padding: 24px 16px; }
    .stat .num { font-size: 34px; }
    .stamp { display: none; }
    .chip { display: none; }
    .globe-frame::before { inset: 14px -14px -14px 14px; }
    .cta-right .stamp2 { display: none; }
  }

/* =========================================================
   INTERIOR PAGES — added for the multi-page build
   ========================================================= */

/* ---------- Nav: dropdown for Services ---------- */
.has-menu { position: relative; }
.has-menu > .menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  min-width: 280px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(16, 32, 26, 0.14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.has-menu:hover > .menu,
.has-menu:focus-within > .menu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-menu .menu a {
  display: block;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease;
}
.has-menu .menu a:hover { background: var(--cream); }
.has-menu .menu a small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(16, 32, 26, 0.55);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.has-menu .menu a::after { display: none; }
nav.links a.current { color: var(--gold); }

/* ---------- Interior page hero ---------- */
.page-hero {
  background: var(--pine-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(217, 181, 104, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 90% at 80% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 80% 30%, black 0%, transparent 70%);
}
.page-hero .wrap { position: relative; padding-top: 72px; padding-bottom: 76px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.08;
  max-width: 17ch;
  margin-top: 6px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-soft); }
.page-hero .lede {
  margin-top: 26px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.78);
}
.page-hero .meta-row {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.page-hero .meta-row div span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  margin-bottom: 6px;
}
.page-hero .meta-row div b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--gold-soft);
}

/* ---------- Breadcrumb ---------- */
.crumb {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
}
.crumb a { color: var(--gold-soft); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { margin: 0 8px; opacity: 0.5; }

/* ---------- Two-column article layout ---------- */
.doc { padding: 96px 0; }
.doc .wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: start;
}
.side-nav { position: sticky; top: 104px; }
.side-nav h6 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.side-nav a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: rgba(16, 32, 26, 0.7);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.side-nav a:hover { color: var(--gold); padding-left: 5px; }

/* ---------- Prose ---------- */
.prose > * + * { margin-top: 20px; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  margin-top: 34px;
}
.prose p { font-size: 16px; line-height: 1.75; color: rgba(16, 32, 26, 0.78); max-width: 68ch; }
.prose p.intro {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
}
.prose ul, .prose ol { max-width: 66ch; padding-left: 0; list-style: none; }
.prose ul li, .prose ol li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(16, 32, 26, 0.78);
  border-bottom: 1px dashed var(--line);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 18px;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0; top: 9px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
}
.prose strong { font-weight: 600; color: var(--ink); }

/* ---------- Callout ---------- */
.callout {
  background: var(--cream);
  border-left: 2px solid var(--gold);
  padding: 24px 28px;
  margin-top: 32px;
  max-width: 68ch;
}
.callout .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.callout p { font-size: 15px; color: rgba(16, 32, 26, 0.8); margin: 0; }
.callout.dark { background: var(--pine-deep); border-left-color: var(--gold-soft); }
.callout.dark p { color: rgba(244, 239, 230, 0.8); }
.callout.dark .tag { color: var(--gold-soft); }

/* ---------- Phase timeline ---------- */
.timeline { margin-top: 36px; border-top: 1px solid var(--line); }
.phase {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.phase .when {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}
.phase .when em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(16, 32, 26, 0.25);
  margin-bottom: 6px;
}
.phase h4 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 8px; }
.phase p { font-size: 15px; color: rgba(16, 32, 26, 0.72); line-height: 1.7; }

/* ---------- Deliverables grid ---------- */
.deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}
.deliverables div {
  background: var(--cream-soft);
  padding: 22px 24px;
}
.deliverables h5 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.deliverables h5::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.deliverables p { font-size: 13.5px; color: rgba(16, 32, 26, 0.68); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; border-top: 1px solid var(--line); max-width: 74ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 31px;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.28s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 0 24px; }
.faq .answer p { font-size: 15.5px; line-height: 1.75; color: rgba(16, 32, 26, 0.75); }
.faq .answer p + p { margin-top: 14px; }

/* ---------- Contact form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 8px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(16, 32, 26, 0.6);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  padding: 13px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.field .hint { font-size: 12.5px; color: rgba(16, 32, 26, 0.5); margin-top: 6px; }
button.btn { cursor: pointer; font-family: var(--sans); }
.form-note {
  font-size: 13px;
  color: rgba(16, 32, 26, 0.55);
  margin-top: 18px;
  max-width: 56ch;
  line-height: 1.65;
}

/* ---------- Contact detail panel ---------- */
.contact-panel {
  background: var(--pine-deep);
  color: var(--cream);
  padding: 38px 34px;
}
.contact-panel h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  margin-bottom: 22px;
}
.contact-panel .row {
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
}
.contact-panel .row span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.45);
  margin-bottom: 5px;
}
.contact-panel .row b { font-weight: 500; font-size: 15.5px; }
.contact-panel .row a { color: var(--gold-soft); text-decoration: none; }
.contact-panel .row a:hover { text-decoration: underline; }

/* ---------- Next / related links ---------- */
.next-strip { border-top: 1px solid var(--line); padding: 64px 0 96px; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.next-grid a {
  background: var(--cream-soft);
  padding: 28px 26px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.28s ease;
}
.next-grid a:hover { background: var(--cream); }
.next-grid a span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.next-grid a h5 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-top: 10px; }
.next-grid a p { font-size: 13.5px; color: rgba(16, 32, 26, 0.65); margin-top: 7px; line-height: 1.6; }

/* ---------- Interior responsive ---------- */
@media (max-width: 960px) {
  .doc .wrap { grid-template-columns: 1fr; gap: 40px; }
  .side-nav { position: static; display: none; }
  .next-grid { grid-template-columns: 1fr; }
  .deliverables { grid-template-columns: 1fr; }
  .has-menu > .menu { display: none; }
}
@media (max-width: 600px) {
  .doc { padding: 64px 0; }
  .page-hero .wrap { padding-top: 52px; padding-bottom: 56px; }
  .page-hero .meta-row { gap: 28px; }
  .phase { grid-template-columns: 1fr; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- "Read the full practice" link on home service cards ---------- */
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, gap 0.25s ease;
}
.svc-more:hover { border-bottom-color: var(--gold); gap: 12px; }
.svc h3 a:hover { color: var(--gold) !important; }

/* ---------- Contact page layout ---------- */
.doc .wrap.contact-layout { grid-template-columns: 1.35fr 0.65fr; gap: 64px; }
.doc .wrap.single-col { grid-template-columns: 1fr; }
@media (max-width: 960px) {
  .doc .wrap.contact-layout { grid-template-columns: 1fr; gap: 44px; }
}
