:root {
  --ivory: #f6f2e8;
  --ivory-deep: #ece6d9;
  --paper: #fffdf7;
  --navy: #102f40;
  --navy-2: #183d50;
  --petrol: #2f6472;
  --blue: #6f99a5;
  --mist: #b9ced2;
  --sky: #dde9e9;
  --sand: #d6c7b0;
  --ink: #17333f;
  --muted: #61747b;
  --line: rgba(16, 47, 64, .18);
  --shadow: 0 24px 70px rgba(16, 47, 64, .14);
  --radius: 28px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--paper); color: var(--navy); padding: 12px 16px; border-radius: 12px;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--petrol); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }

h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(3.7rem, 8vw, 7.7rem); line-height: .93; letter-spacing: -.065em; font-weight: 600; }
h2 { font-size: clamp(2.4rem, 5vw, 4.9rem); line-height: 1.02; letter-spacing: -.052em; font-weight: 600; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.03em; }
.lead { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.55; color: var(--muted); }
.display-line { display: block; color: var(--petrol); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 25px; border-radius: 999px; border: 1px solid transparent;
  font-size: .88rem; font-weight: 700; transition: .25s ease; cursor: pointer;
}
.btn-primary { color: var(--ivory); background: var(--navy); }
.btn-primary:hover { background: var(--petrol); transform: translateY(-2px); }
.btn-secondary { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-secondary:hover { background: var(--navy); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--navy); }
.btn-light:hover { background: white; transform: translateY(-2px); }
.arrow { font-size: 1.2em; transition: transform .25s ease; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(5px); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 5px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; transition: .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(246, 242, 232, .91); backdrop-filter: blur(16px); border-color: var(--line); }
.navbar { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.12rem; font-weight: 800; letter-spacing: -.04em; }
.brand-tag { font-size: .61rem; color: var(--petrol); margin-top: 7px; text-transform: uppercase; letter-spacing: .13em; }
.nav-links { display: flex; align-items: center; gap: 27px; font-size: .82rem; font-weight: 650; }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--navy); transition: .25s; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { right: 0; }
.menu-toggle { display: none; border: 0; background: none; color: var(--navy); width: 46px; height: 46px; font-size: 1.5rem; }

.hero { min-height: 100vh; padding: 150px 0 80px; display: grid; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 62px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy p { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-signature { margin-top: 36px; display: flex; gap: 18px; align-items: center; font-size: .78rem; color: var(--muted); }
.hero-signature::before { content: ''; width: 48px; height: 1px; background: var(--petrol); }
.hero-visual { position: relative; min-height: 650px; }
.hero-visual::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--sky); top: 15px; right: -100px; }
.hero-image-main { position: absolute; right: 0; top: 0; width: 72%; height: 77%; border-radius: 180px 180px 28px 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--mist); }
.hero-image-main img { height: 100%; object-fit: cover; object-position: center 24%; filter: saturate(.78) contrast(.96); }
.hero-image-small { position: absolute; left: 0; bottom: 0; width: 55%; height: 42%; overflow: hidden; border: 5px solid var(--ivory); border-radius: 28px 140px 28px 28px; box-shadow: var(--shadow); }
.hero-image-small img { height: 100%; object-fit: cover; filter: saturate(.72) contrast(.92); }
.hero-note { position: absolute; right: 1%; bottom: 3%; width: 210px; padding: 24px; background: var(--navy); color: var(--ivory); border-radius: 22px; font-size: .85rem; box-shadow: var(--shadow); }
.hero-note strong { display: block; font-size: 2.5rem; line-height: 1; margin-bottom: 9px; font-weight: 500; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; color: var(--petrol); }
.marquee-track { display: flex; width: max-content; gap: 55px; animation: marquee 24s linear infinite; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.marquee-track span::after { content: '•'; margin-left: 55px; color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.intro-copy { max-width: 790px; }
.quote-block { font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: 1.09; letter-spacing: -.045em; font-weight: 400; }
.quote-block em { color: var(--petrol); font-style: normal; }

.dark-section { background: var(--navy); color: var(--ivory); }
.dark-section .eyebrow, .dark-section .lead { color: var(--mist); }
.dark-section .line-card { border-color: rgba(246, 242, 232, .22); }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid rgba(246,242,232,.2); }
.method-card { padding: 40px 28px 44px; border-right: 1px solid rgba(246,242,232,.2); }
.method-card:last-child { border-right: 0; }
.method-number { font-size: .75rem; color: var(--mist); letter-spacing: .13em; margin-bottom: 75px; }
.method-card p { color: rgba(246,242,232,.72); font-size: .95rem; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 65px; }
.section-head h2 { max-width: 860px; margin-bottom: 0; }
.section-head p { max-width: 380px; margin-bottom: 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { min-height: 480px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: .35s ease; background: rgba(255,253,247,.35); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: var(--paper); }
.service-card .num { font-size: .72rem; color: var(--petrol); letter-spacing: .12em; }
.service-card h3 { margin-top: auto; font-size: 2.2rem; }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: 18px; align-self: flex-start; }
.service-orb { position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -45px; top: -45px; background: var(--sky); transition: .35s; }
.service-card:hover .service-orb { transform: scale(1.15); background: var(--mist); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.image-frame { overflow: hidden; min-height: 610px; border-radius: 180px 28px 28px 28px; position: relative; background: var(--mist); }
.image-frame img { height: 100%; position: absolute; object-fit: cover; filter: saturate(.72); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; font-size: .78rem; }

.credentials { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.credential { padding: 36px 24px; border-right: 1px solid var(--line); }
.credential:last-child { border: 0; }
.credential strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.credential span { color: var(--muted); font-size: .82rem; }

.reflection-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 20px; }
.article-card { min-height: 420px; border-radius: var(--radius); overflow: hidden; position: relative; display: flex; align-items: flex-end; color: white; }
.article-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; filter: saturate(.65) brightness(.66); transition: .4s ease; }
.article-card:hover img { transform: scale(1.035); }
.article-body { position: relative; z-index: 2; padding: 30px; }
.article-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; color: var(--sky); }
.article-card h3 { margin: 12px 0 18px; }

.cta-panel { background: var(--petrol); color: var(--ivory); border-radius: 40px; padding: 80px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 50px; overflow: hidden; position: relative; }
.cta-panel::after { content: ''; position: absolute; width: 350px; height: 350px; border: 1px solid rgba(246,242,232,.3); border-radius: 50%; right: -100px; top: -180px; }
.cta-panel h2 { margin-bottom: 0; }
.cta-panel p { color: var(--sky); }

.inner-hero { padding: 190px 0 100px; min-height: 74vh; display: grid; align-items: end; overflow: hidden; }
.inner-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.inner-hero h1 { font-size: clamp(3.5rem, 7vw, 6.8rem); }
.inner-visual { min-height: 440px; border-radius: 28px 190px 28px 28px; overflow: hidden; position: relative; }
.inner-visual img { position: absolute; height: 100%; object-fit: cover; filter: saturate(.72); }

.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 44px 20px; border-bottom: 1px solid var(--line); }
.principle:nth-child(odd) { border-right: 1px solid var(--line); }
.principle .num { color: var(--petrol); font-size: .75rem; }
.principle p { color: var(--muted); }

.detail-card { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; padding: 70px 0; border-bottom: 1px solid var(--line); }
.detail-card ul { columns: 2; padding-left: 18px; color: var(--muted); }
.detail-card li { margin-bottom: 11px; break-inside: avoid; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-step { padding: 28px; min-height: 270px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); }
.process-step .num { color: var(--petrol); font-size: .72rem; letter-spacing: .14em; }
.process-step h3 { margin-top: 65px; }

.timeline { border-left: 1px solid var(--line); margin-left: 15px; }
.timeline-item { padding: 0 0 55px 50px; position: relative; }
.timeline-item::before { content: ''; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--petrol); left: -7px; top: 6px; }
.timeline-item p { color: var(--muted); max-width: 750px; }

.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.article-list-card { border: 1px solid var(--line); border-radius: 24px; padding: 30px; min-height: 270px; background: rgba(255,255,255,.25); display: flex; flex-direction: column; transition: .25s; }
.article-list-card:hover { transform: translateY(-4px); background: var(--paper); box-shadow: var(--shadow); }
.article-list-card h3 { margin-top: auto; }
.article-list-card p { color: var(--muted); font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: start; }
.contact-panel { position: sticky; top: 130px; }
.contact-form { background: var(--paper); border-radius: 30px; padding: 42px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .74rem; font-weight: 700; margin-bottom: 8px; letter-spacing: .03em; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--ivory); border-radius: 13px; padding: 15px 16px; outline: 0; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(47,100,114,.12); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .75rem; margin-top: 16px; }
.optional { color: var(--muted); font-weight: 400; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 18px; border-radius: 14px; margin-top: 20px; line-height: 1.55; }
.form-status.show { display: block; }
.form-success { background: var(--sky); color: var(--ink); }
.form-error { background: #f8e1dc; color: #6f2d24; }
.form-error a { color: inherit; font-weight: 700; text-decoration: underline; }
.contact-form[aria-busy="true"] { cursor: progress; }
.contact-form button[disabled] { opacity: .7; cursor: progress; transform: none; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--petrol); font-size: 1.4rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); max-width: 820px; padding-top: 16px; }

.site-footer { background: var(--navy); color: var(--ivory); padding: 80px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, .7fr); gap: 60px; padding-bottom: 70px; }
.footer-brand .brand-name { font-size: 1.8rem; }
.footer-brand p { max-width: 480px; color: rgba(246,242,232,.65); margin-top: 24px; }
.footer-col h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--mist); }
.footer-col a { display: block; margin-top: 13px; font-size: .86rem; color: rgba(246,242,232,.78); }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(246,242,232,.18); padding-top: 24px; display: flex; justify-content: space-between; font-size: .72rem; color: rgba(246,242,232,.5); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: min(86vw, 430px); padding: 110px 36px; background: var(--ivory); flex-direction: column; align-items: flex-start; font-size: 1.1rem; box-shadow: var(--shadow); transition: .3s ease; }
  .nav-links.open { right: 0; }
  .nav-links .btn { width: 100%; margin-top: 18px; }
  .menu-toggle { display: block; position: relative; z-index: 110; }
  .hero-grid, .inner-hero-grid, .split, .contact-grid, .cta-panel, .intro-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 125px; }
  .hero-visual { min-height: 570px; max-width: 680px; width: 100%; margin-inline: auto; }
  .method-grid, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .method-card:nth-child(2) { border-right: 0; }
  .method-card:nth-child(-n+2) { border-bottom: 1px solid rgba(246,242,232,.2); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 370px; }
  .reflection-grid { grid-template-columns: 1fr 1fr; }
  .reflection-grid .article-card:first-child { grid-column: 1 / -1; }
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .credential:nth-child(2) { border-right: 0; }
  .credential:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .detail-card { grid-template-columns: 1fr; gap: 20px; }
  .contact-panel { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 48px), var(--max)); }
  .section { padding: 82px 0; }
  .navbar { height: 74px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .inner-hero-grid > * { min-width: 0; }
  .inner-hero h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 13.5vw, 4.15rem);
    line-height: .96;
    letter-spacing: -.055em;
    overflow-wrap: break-word;
  }
  h2 { font-size: clamp(2.25rem, 11vw, 3.7rem); }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-grid { gap: 40px; }
  .hero-visual { min-height: 455px; }
  .hero-image-main { width: 82%; height: 78%; }
  .hero-image-small { width: 62%; height: 39%; border-width: 5px; }
  .hero-note { width: 170px; padding: 18px; font-size: .72rem; }
  .hero-note strong { font-size: 2rem; }
  .section-head { align-items: flex-start; flex-direction: column; }
  /* Mobile stacking fix: decorative service orb always stays behind card copy */
  .service-card {
    isolation: isolate;
  }
  .service-card .service-orb {
    z-index: 0 !important;
    pointer-events: none;
  }
  .service-card .num,
  .service-card h3,
  .service-card p,
  .service-card .text-link {
    position: relative;
    z-index: 5 !important;
  }
  .method-grid, .process-steps, .reflection-grid, .article-list, .principles-grid, .form-row { grid-template-columns: 1fr; }
  .method-card, .method-card:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(246,242,232,.2); }
  .principle:nth-child(odd) { border-right: 0; }
  .image-frame { min-height: 470px; }
  .credentials { grid-template-columns: 1fr; }
  .credential, .credential:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-panel { padding: 45px 26px; border-radius: 28px; }
  .inner-hero { padding: 140px 0 70px; }
  .inner-visual { min-height: 360px; }
  .detail-card ul { columns: 1; }
  .contact-form { padding: 27px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
