:root {
    --ink: #101613;
    --muted: #637068;
    --paper: #f5f3ec;
    --white: #ffffff;
    --green-950: #061e19;
    --green-900: #082a23;
    --green-800: #0b3b31;
    --green-700: #0e5545;
    --green-600: #13705a;
    --green-100: #dcebe5;
    --gold: #d3a643;
    --gold-light: #efd793;
    --line: #d9ded9;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(8, 42, 35, .14);
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; left: 20px; top: -80px; z-index: 9999; padding: 12px 18px;
    background: var(--gold); color: var(--green-950); font-weight: 800; border-radius: 8px;
}
.skip-link:focus { top: 20px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; color: var(--green-700);
    font-size: .72rem; font-weight: 800; letter-spacing: .18em; line-height: 1.2;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow.light { color: var(--gold-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
.section-heading h2 { max-width: 760px; margin: 18px 0 0; font-size: clamp(2.25rem, 5vw, 4.4rem); font-weight: 650; }
.row-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 58px; }
.row-heading > p { width: min(100%, 430px); margin: 0 0 4px; color: var(--muted); font-size: 1.07rem; }
.button {
    min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center;
    gap: 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 750;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green-700); color: #fff; }
.button-primary:hover { background: var(--green-600); }
.button-gold { background: var(--gold); color: var(--green-950); }
.button-gold:hover { background: var(--gold-light); }
.button-outline { border-color: var(--green-700); color: var(--green-800); background: transparent; }
.button-outline:hover { background: var(--green-800); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-weight: 750; color: #fff; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link.dark { color: var(--green-800); }
.center-action { text-align: center; margin-top: 52px; }

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.12); transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(6, 30, 25, .96); box-shadow: 0 12px 40px rgba(0,0,0,.16); backdrop-filter: blur(14px); }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
    position: relative; width: 43px; height: 43px; display: grid; place-items: center;
    border: 1px solid rgba(211,166,67,.7); border-radius: 12px; overflow: hidden;
}
.brand-mark i { position: absolute; inset: 6px; border: 1px solid rgba(211,166,67,.35); border-radius: 8px; transform: rotate(45deg); }
.brand-mark b { position: relative; color: var(--gold-light); font-size: 1.25rem; font-weight: 700; }
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: .19em; }
.brand-copy small { color: rgba(255,255,255,.65); font-size: .48rem; letter-spacing: .22em; }
.main-nav { display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.76); }
.main-nav > a { position: relative; padding: 12px 0; font-size: .88rem; font-weight: 650; }
.main-nav > a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px;
    background: var(--gold); transition: right .2s ease;
}
.main-nav > a:hover, .main-nav > a.active { color: #fff; }
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; }
.main-nav .nav-cta {
    min-height: 44px; padding: 0 19px; display: inline-flex; align-items: center; gap: 14px;
    border: 1px solid rgba(211,166,67,.7); border-radius: 999px; color: #fff;
}
.main-nav .nav-cta:hover { background: var(--gold); color: var(--green-950); }
.nav-toggle { display: none; width: 46px; height: 42px; border: 0; background: transparent; padding: 9px; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: #fff; transition: .2s ease; }

/* Home hero */
.hero {
    position: relative; min-height: 850px; overflow: hidden; color: #fff;
    background:
        linear-gradient(115deg, rgba(6,30,25,.99) 0%, rgba(8,52,43,.97) 58%, rgba(12,76,60,.95) 100%),
        radial-gradient(circle at 80% 20%, rgba(211,166,67,.3), transparent 30%);
    padding-top: 88px;
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .12;
    background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 80px 80px; mask-image: linear-gradient(to right, transparent, #000 55%, #000);
}
.hero-orb { position: absolute; border: 1px solid rgba(211,166,67,.18); border-radius: 50%; }
.hero-orb-one { width: 530px; height: 530px; right: -170px; top: 40px; }
.hero-orb-two { width: 340px; height: 340px; right: 50px; top: 140px; }
.hero-grid {
    position: relative; z-index: 2; min-height: 680px; padding: 80px 0 60px;
    display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 80px;
}
.hero-copy h1 { max-width: 690px; margin: 22px 0 28px; font-size: clamp(3.6rem, 6.8vw, 6.7rem); font-weight: 570; letter-spacing: -.058em; }
.hero-copy > p { max-width: 640px; margin-bottom: 34px; color: rgba(255,255,255,.73); font-size: 1.16rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 52px; }
.hero-proof p { margin: 0; color: rgba(255,255,255,.6); font-size: .77rem; line-height: 1.55; }
.hero-proof strong { color: rgba(255,255,255,.94); }
.avatar-stack { display: flex; }
.avatar-stack span {
    width: 34px; height: 34px; margin-left: -8px; display: grid; place-items: center;
    border: 2px solid var(--green-900); border-radius: 50%; background: var(--gold); color: var(--green-950); font-size: .66rem; font-weight: 850;
}
.avatar-stack span:first-child { margin-left: 0; background: #e1eee8; }
.avatar-stack span:nth-child(2) { background: #8bc2ad; }
.avatar-stack span:nth-child(3) { background: #d9b666; }
.avatar-stack span:last-child { background: var(--green-700); color: #fff; }
.hero-system {
    position: relative; width: min(100%, 455px); margin-left: auto; padding: 28px;
    border: 1px solid rgba(255,255,255,.16); border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.055));
    box-shadow: 0 40px 100px rgba(0,0,0,.3); backdrop-filter: blur(18px);
}
.system-top { display: flex; justify-content: space-between; color: rgba(255,255,255,.62); font-size: .75rem; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #6ce3ad; box-shadow: 0 0 0 5px rgba(108,227,173,.1); }
.system-date { text-transform: uppercase; letter-spacing: .14em; }
.system-score { display: flex; justify-content: space-between; align-items: center; margin: 32px 0 25px; }
.system-score small { display: block; color: rgba(255,255,255,.55); }
.system-score strong { font-size: 4rem; line-height: 1; font-weight: 450; }
.system-score sup { color: var(--gold); font-size: 1.2rem; }
.score-ring {
    width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%;
    border: 9px solid rgba(255,255,255,.1); border-top-color: var(--gold); border-right-color: var(--gold);
    color: var(--gold); font-weight: 800; transform: rotate(12deg);
}
.score-ring span { transform: rotate(-12deg); }
.system-chart { height: 145px; padding: 20px 10px 0; display: flex; align-items: end; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.15); }
.system-chart span { flex: 1; min-width: 12px; border-radius: 5px 5px 0 0; background: linear-gradient(to top, rgba(211,166,67,.22), var(--gold)); }
.system-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.system-modules div { padding: 12px; border-radius: 10px; background: rgba(0,0,0,.13); }
.system-modules i { display: block; color: var(--gold); font-size: .6rem; font-style: normal; }
.system-modules span { display: block; margin: 4px 0 5px; color: rgba(255,255,255,.65); font-size: .66rem; }
.system-modules b { font-size: .8rem; }
.floating-note {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px;
    background: #fff; color: var(--green-950); border-radius: 10px; box-shadow: var(--shadow); font-size: .7rem; font-weight: 750;
}
.floating-note span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.note-one { left: -54px; bottom: 76px; }
.note-two { right: -48px; top: 102px; }
.capability-strip {
    position: relative; z-index: 2; height: 82px; display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.43); font-size: .64rem; font-weight: 750; letter-spacing: .2em;
}
.capability-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* Home sections */
.about-intro { background: var(--paper); }
.split-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; }
.about-summary { padding-top: 34px; }
.about-summary p { margin-bottom: 28px; color: #48534d; font-size: 1.16rem; line-height: 1.85; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 88px; border-top: 1px solid #cfd5cf; }
.stats-grid > div { padding: 38px 30px 0; border-left: 1px solid #cfd5cf; }
.stats-grid > div:first-child { padding-left: 0; border-left: 0; }
.stats-grid strong { display: block; color: var(--green-800); font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 500; letter-spacing: -.05em; }
.stats-grid span { color: var(--muted); font-size: .82rem; }
.services-section { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
    position: relative; min-height: 340px; padding: 34px; overflow: hidden;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .3s ease, background .3s ease;
}
.service-card::before {
    content: ""; position: absolute; inset: auto -50px -100px auto; width: 190px; height: 190px;
    border: 1px solid rgba(211,166,67,.28); border-radius: 50%; opacity: 0; transform: scale(.7); transition: .3s ease;
}
.service-card:hover { background: var(--green-800); color: #fff; }
.service-card:hover::before { opacity: 1; transform: scale(1); }
.service-card-top { display: flex; justify-content: space-between; align-items: start; }
.service-icon { min-width: 51px; height: 36px; padding: 0 10px; display: grid; place-items: center; border-radius: 7px; background: var(--green-100); color: var(--green-700); font-size: .66rem; font-weight: 850; letter-spacing: .08em; }
.arrow-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: .25s ease; }
.service-card:hover .arrow-button { border-color: var(--gold); background: var(--gold); color: var(--green-950); }
.service-card h3 { margin: 60px 0 16px; font-size: 1.55rem; font-weight: 650; }
.service-card p { color: var(--muted); font-size: .91rem; line-height: 1.75; transition: color .3s ease; }
.service-card:hover p { color: rgba(255,255,255,.68); }
.card-index { position: absolute; right: 26px; bottom: 18px; color: #dce0dd; font-size: 2.7rem; font-weight: 300; transition: color .3s ease; }
.service-card:hover .card-index { color: rgba(255,255,255,.1); }
.process-section { background: var(--green-950); color: #fff; }
.process-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 120px; }
.process-intro { position: sticky; top: 130px; align-self: start; }
.process-intro h2 { margin: 22px 0 26px; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 500; }
.process-intro p { max-width: 480px; margin-bottom: 35px; color: rgba(255,255,255,.62); }
.process-steps { border-top: 1px solid rgba(255,255,255,.16); }
.process-steps article { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 38px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.process-steps article > span { color: var(--gold); font-size: .72rem; font-weight: 800; }
.process-steps h3 { margin-bottom: 12px; font-size: 1.55rem; }
.process-steps p { margin: 0; color: rgba(255,255,255,.58); }
.work-section { background: #fff; }
.home-projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { min-height: 520px; position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover img { transform: scale(1.035); }
.project-visual { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.project-visual > span { position: relative; z-index: 2; font-size: 7rem; font-weight: 800; letter-spacing: -.08em; opacity: .9; }
.project-visual i, .project-visual b { position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.project-visual b { width: 220px; height: 220px; transform: translate(105px, -95px); }
.project-info { position: absolute; inset: auto 0 0; z-index: 3; padding: 90px 34px 32px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.project-info > span { color: var(--gold-light); font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.project-info h3 { margin: 10px 0; font-size: 1.75rem; }
.project-info p { max-width: 500px; margin-bottom: 18px; color: rgba(255,255,255,.68); font-size: .88rem; }
.project-info b { font-size: .76rem; }
.project-tone-1 { background: linear-gradient(145deg, #0d6552, #06231d); }
.project-tone-2 { background: linear-gradient(145deg, #b8821f, #3d2906); }
.project-tone-3 { background: linear-gradient(145deg, #1b405d, #071b29); }
.project-tone-4 { background: linear-gradient(145deg, #704539, #22110d); }
.testimonial-section { background: var(--paper); }
.testimonial-shell { position: relative; text-align: center; }
.quote-mark { color: var(--gold); font-family: Georgia, serif; font-size: 7rem; line-height: .7; }
.testimonial-track { min-height: 310px; }
.testimonial-slide { display: none; max-width: 920px; margin: 30px auto 0; }
.testimonial-slide.active { display: block; animation: fadeIn .4s ease; }
.stars { margin-bottom: 20px; color: var(--gold); letter-spacing: .3em; font-size: .8rem; }
.testimonial-slide > p { font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.45; letter-spacing: -.025em; }
.testimonial-slide footer { display: grid; gap: 4px; margin-top: 28px; }
.testimonial-slide footer strong { color: var(--green-800); }
.testimonial-slide footer span { color: var(--muted); font-size: .84rem; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 26px; }
.slider-controls button { width: 42px; height: 42px; border: 1px solid #c8cec9; border-radius: 50%; background: transparent; color: var(--green-800); }
.slider-controls button:hover { border-color: var(--green-800); background: var(--green-800); color: #fff; }
.slider-controls span { color: var(--muted); font-size: .75rem; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-art { height: 230px; display: grid; place-items: center; overflow: hidden; background: var(--green-800); color: var(--gold-light); }
.post-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-art:hover img { transform: scale(1.04); }
.post-art > span { font-size: 1.35rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-align: center; }
.post-meta { margin: 20px 0 12px; color: var(--green-600); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-card h3 { margin-bottom: 12px; font-size: 1.35rem; }
.post-card h3 a:hover { color: var(--green-600); }
.post-card p { color: var(--muted); font-size: .9rem; }
.post-card .text-link { margin-top: 8px; font-size: .82rem; }

/* Shared inner pages */
.page-hero, .detail-hero, .case-hero, .article-hero, .simple-page-hero {
    position: relative; padding: 210px 0 110px; overflow: hidden; color: #fff;
    background: linear-gradient(120deg, var(--green-950), var(--green-700));
}
.page-hero::after, .detail-hero::after, .case-hero::after, .article-hero::after {
    content: ""; position: absolute; width: 560px; height: 560px; right: -170px; top: -160px;
    border: 1px solid rgba(211,166,67,.22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
}
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.page-hero h1 { max-width: 850px; margin: 22px 0 0; font-size: clamp(3.1rem, 6vw, 6.2rem); font-weight: 520; }
.page-hero-grid > p { margin: 0 0 14px; color: rgba(255,255,255,.7); font-size: 1.13rem; }
.editorial-grid { display: grid; grid-template-columns: .32fr 1fr; gap: 90px; }
.editorial-label { display: flex; flex-direction: column; align-items: start; gap: 20px; color: var(--green-700); font-size: .7rem; font-weight: 850; letter-spacing: .16em; }
.editorial-label i { width: 80px; height: 1px; background: var(--gold); }
.editorial-label a { color: var(--green-700); letter-spacing: 0; font-size: .76rem; }
.prose { color: #39453e; font-size: 1.05rem; line-height: 1.9; white-space: normal; }
.prose-large { font-size: 1.2rem; line-height: 2; }
.values-section { background: var(--paper); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #ccd2cd; border-left: 1px solid #ccd2cd; }
.values-grid article { padding: 44px; border-right: 1px solid #ccd2cd; border-bottom: 1px solid #ccd2cd; }
.values-grid article > span { color: var(--gold); font-size: .7rem; font-weight: 850; }
.values-grid h3 { margin: 65px 0 16px; font-size: 1.65rem; }
.values-grid p { color: var(--muted); }
.story-band { background: var(--green-900); color: #fff; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.story-grid h2 { margin: 22px 0 0; font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 500; }
.story-points { border-top: 1px solid rgba(255,255,255,.15); }
.story-points > div { display: grid; grid-template-columns: 60px 1fr; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.story-points strong { color: var(--gold); font-size: .7rem; }
.story-points p { margin: 0; color: rgba(255,255,255,.64); }
.story-points b { display: block; margin-bottom: 5px; color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { border: 1px solid var(--line); }
.team-photo { aspect-ratio: 1 / .95; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #dbe9e3, #89b6a5); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo span { color: var(--green-800); font-size: 6rem; font-weight: 750; }
.team-card > div:last-child { padding: 25px; }
.team-card h3 { margin: 0 0 5px; font-size: 1.3rem; }
.team-card > div > span { color: var(--green-600); font-size: .75rem; font-weight: 750; }
.team-card p { margin: 16px 0; color: var(--muted); font-size: .86rem; }
.team-card a { color: var(--green-700); font-size: .78rem; font-weight: 750; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 55px 72px 1fr 50px; align-items: center; gap: 28px; padding: 42px 16px; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.service-row:hover { padding-inline: 28px; background: var(--paper); }
.service-number { color: var(--gold); font-size: .7rem; font-weight: 850; }
.service-row-icon { width: 60px; min-height: 44px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); border-radius: 8px; font-size: .64rem; font-weight: 850; }
.service-row h2 { margin: 0 0 7px; font-size: 1.8rem; }
.service-row p { max-width: 700px; margin: 0; color: var(--muted); }
.service-row:hover .arrow-button { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.engagement-section { background: var(--paper); }
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 58px; border-top: 1px solid #ccd2cd; }
.engagement-grid article { padding: 35px; border-right: 1px solid #ccd2cd; }
.engagement-grid article:first-child { padding-left: 0; }
.engagement-grid article:last-child { border-right: 0; }
.engagement-grid span { color: var(--gold); font-size: .7rem; font-weight: 850; }
.engagement-grid h3 { margin: 50px 0 16px; font-size: 1.5rem; }
.engagement-grid p { color: var(--muted); }
.detail-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 90px; }
.back-link { display: inline-flex; margin-bottom: 50px; color: rgba(255,255,255,.62); font-size: .8rem; font-weight: 750; }
.detail-icon { display: flex; width: fit-content; min-width: 65px; height: 48px; padding: 0 14px; align-items: center; justify-content: center; border-radius: 9px; background: var(--gold); color: var(--green-950); font-size: .72rem; font-weight: 850; }
.detail-hero h1 { margin: 25px 0 0; font-size: clamp(3.2rem, 6vw, 6.4rem); font-weight: 520; }
.detail-hero-grid > div:last-child > p { color: rgba(255,255,255,.72); font-size: 1.25rem; }
.detail-hero-grid .button { margin-top: 20px; }
.service-detail-grid { display: grid; grid-template-columns: .34fr 1fr; gap: 90px; }
.service-detail-grid aside > span { color: var(--green-700); font-size: .7rem; font-weight: 850; letter-spacing: .16em; }
.service-detail-grid ul { margin: 25px 0 0; padding: 0; list-style: none; }
.service-detail-grid li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.outcome-section { background: var(--paper); }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 45px; border-top: 1px solid #cbd1cc; }
.outcome-grid article { padding: 35px 35px 0; border-right: 1px solid #cbd1cc; }
.outcome-grid article:first-child { padding-left: 0; }
.outcome-grid article:last-child { border: 0; }
.outcome-grid b { color: var(--gold); font-size: .7rem; }
.outcome-grid h3 { margin: 45px 0 14px; font-size: 1.65rem; }
.outcome-grid p { color: var(--muted); }
.compact-service-grid, .compact-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.compact-service-grid a, .compact-project-grid a { position: relative; min-height: 190px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compact-service-grid a:hover, .compact-project-grid a:hover { background: var(--paper); }
.compact-service-grid span, .compact-project-grid span { color: var(--green-600); font-size: .7rem; font-weight: 800; }
.compact-service-grid h3, .compact-project-grid h3 { margin: 45px 40px 0 0; font-size: 1.25rem; }
.compact-service-grid b, .compact-project-grid b { position: absolute; right: 24px; top: 24px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 44px; }
.filter-bar button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .78rem; font-weight: 700; }
.filter-bar button.active, .filter-bar button:hover { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.portfolio-card { overflow: hidden; border-radius: var(--radius); color: #fff; transition: transform .3s ease; }
.portfolio-card:hover { transform: translateY(-5px); }
.portfolio-card.filtered-out { display: none; }
.portfolio-visual { position: relative; height: 360px; display: grid; place-items: center; overflow: hidden; }
.portfolio-visual img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-visual > span { position: relative; z-index: 2; font-size: 6rem; font-weight: 800; }
.portfolio-visual i, .portfolio-visual b { position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.portfolio-visual b { width: 160px; height: 160px; transform: translate(100px,-80px); }
.portfolio-copy { padding: 28px; background: rgba(4,20,17,.52); }
.portfolio-copy > span { color: var(--gold-light); font-size: .66rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.portfolio-copy h2 { margin: 12px 0; font-size: 1.65rem; }
.portfolio-copy p { min-height: 75px; color: rgba(255,255,255,.67); font-size: .88rem; }
.portfolio-copy strong { font-size: .75rem; }
.case-hero { text-align: center; }
.case-hero .container { position: relative; z-index: 2; }
.case-hero .back-link { display: block; text-align: left; }
.case-meta { display: flex; justify-content: center; gap: 20px; color: var(--gold-light); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.case-meta span + span::before { content: "•"; margin-right: 20px; }
.case-hero h1 { max-width: 980px; margin: 24px auto; font-size: clamp(3.2rem, 6vw, 6.2rem); font-weight: 520; }
.case-hero p { max-width: 780px; margin: auto; color: rgba(255,255,255,.7); font-size: 1.15rem; }
.case-visual { padding: 80px 0; }
.case-visual img, .case-placeholder { width: 100%; max-height: 700px; border-radius: var(--radius); }
.case-placeholder { position: relative; height: 600px; display: grid; place-items: center; overflow: hidden; background: rgba(255,255,255,.07); color: #fff; }
.case-placeholder > span { position: relative; z-index: 2; font-size: 10rem; font-weight: 800; }
.case-placeholder i, .case-placeholder b { position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.case-placeholder b { width: 270px; height: 270px; transform: translate(180px,-120px); }
.case-placeholder em { position: absolute; left: 30px; bottom: 25px; font-size: .65rem; letter-spacing: .18em; font-style: normal; }

/* Blog */
.featured-post { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; margin-bottom: 100px; }
.featured-post-art { position: relative; height: 480px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, var(--green-700), var(--green-950)); color: var(--gold); }
.featured-post-art img { width: 100%; height: 100%; object-fit: cover; }
.featured-post-art > span { position: relative; z-index: 2; font-size: 10rem; font-weight: 800; }
.featured-post-art i { position: absolute; width: 310px; height: 310px; border: 1px solid rgba(211,166,67,.4); border-radius: 50%; }
.featured-post-art b { position: absolute; left: 24px; bottom: 20px; color: rgba(255,255,255,.6); font-size: .65rem; letter-spacing: .14em; }
.featured-post h2 { margin: 14px 0 18px; font-size: clamp(2rem, 4vw, 3.5rem); }
.featured-post p { margin-bottom: 30px; color: var(--muted); font-size: 1.05rem; }
.blog-grid { padding-top: 70px; border-top: 1px solid var(--line); }
.article-header { position: relative; z-index: 2; max-width: 980px; text-align: center; }
.article-header .back-link { display: block; text-align: left; }
.article-header h1 { margin: 22px auto; font-size: clamp(3rem, 6vw, 5.7rem); font-weight: 520; }
.article-header > p { max-width: 780px; margin: 0 auto; color: rgba(255,255,255,.7); font-size: 1.17rem; }
.article-meta { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold-light); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.article-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.article-image { margin-top: 70px; }
.article-image img { width: 100%; max-height: 650px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 90px 1fr; gap: 60px; max-width: 930px; }
.article-layout aside { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.article-layout aside > span { margin-bottom: 8px; color: var(--muted); font-size: .61rem; font-weight: 850; letter-spacing: .13em; }
.article-layout aside a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green-700); font-size: .68rem; font-weight: 800; }
.article-prose { font-family: Georgia, serif; color: #253129; font-size: 1.16rem; line-height: 2; }

/* Contact */
.contact-hero { padding: 210px 0 110px; color: #fff; background: var(--green-950); }
.contact-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 100px; }
.contact-hero h1 { margin: 22px 0; font-size: clamp(3.2rem, 6vw, 6.1rem); font-weight: 520; }
.contact-hero p { max-width: 700px; color: rgba(255,255,255,.66); font-size: 1.12rem; }
.contact-direct { padding: 28px; border: 1px solid rgba(255,255,255,.14); }
.contact-direct > span { display: block; margin-bottom: 18px; color: var(--gold-light); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.contact-direct a { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); font-weight: 650; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.contact-details { padding-top: 22px; }
.contact-detail { margin-top: 38px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.contact-detail small { color: var(--green-600); font-size: .65rem; font-weight: 850; letter-spacing: .15em; }
.contact-detail p { margin: 8px 0 0; color: #3d4841; }
.contact-expect { margin-top: 50px; padding: 28px; background: var(--paper); }
.contact-expect h3 { font-size: 1.2rem; }
.contact-expect ol { margin: 20px 0 0; padding: 0; list-style: none; }
.contact-expect li { display: flex; gap: 15px; padding: 12px 0; color: var(--muted); font-size: .85rem; }
.contact-expect li span { color: var(--gold); font-size: .68rem; font-weight: 800; }
.form-card { padding: 40px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card-header { display: flex; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.form-card-header span { color: var(--green-700); font-size: .7rem; font-weight: 850; letter-spacing: .15em; }
.form-card-header p { margin: 0; color: var(--muted); font-size: .72rem; }
.contact-form { padding-top: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-form > label, .form-grid label { display: grid; gap: 8px; margin-bottom: 24px; }
.contact-form label > span { color: #39443d; font-size: .78rem; font-weight: 750; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #bdc5bf; border-radius: 0; background: #fff; color: var(--ink); outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-color: var(--green-600); box-shadow: 0 1px 0 var(--green-600); }
.contact-form textarea { padding: 14px; border: 1px solid #bdc5bf; resize: vertical; }
.button-submit { width: 100%; }
.form-privacy { margin: 15px 0 0; color: var(--muted); text-align: center; font-size: .7rem; }
.form-privacy a { color: var(--green-700); text-decoration: underline; }
.honeypot { position: absolute; left: -10000px; }
.form-message { margin: 0 0 16px; padding: 0; font-size: .83rem; }
.form-message.success { padding: 12px 15px; background: #e4f5eb; color: #17643b; }
.form-message.error { padding: 12px 15px; background: #fde8e5; color: #9f3026; }
.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.faq-layout h2 { margin-top: 18px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.accordion { border-top: 1px solid #c9d0ca; }
.accordion article { border-bottom: 1px solid #c9d0ca; }
.accordion button { width: 100%; padding: 24px 0; display: flex; justify-content: space-between; border: 0; background: transparent; text-align: left; color: var(--ink); font-weight: 700; }
.accordion button span { color: var(--green-700); font-size: 1.25rem; transition: transform .2s ease; }
.accordion button[aria-expanded="true"] span { transform: rotate(45deg); }
.accordion article > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.accordion article > div p { min-height: 0; overflow: hidden; margin: 0; color: var(--muted); }
.accordion article.open > div { grid-template-rows: 1fr; }
.accordion article.open > div p { padding-bottom: 24px; }
.legal-layout { display: grid; grid-template-columns: 1fr 270px; gap: 100px; max-width: 1000px; }
.legal-layout aside { align-self: start; padding: 25px; background: var(--paper); }
.legal-layout aside span { display: block; color: var(--muted); font-size: .65rem; letter-spacing: .12em; }
.legal-layout aside strong { display: block; margin: 8px 0 24px; }
.legal-layout aside a { color: var(--green-700); font-size: .78rem; font-weight: 750; }

/* Footer and utilities */
.footer-cta { padding: 75px 0; background: var(--green-700); color: #fff; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.footer-cta h2 { max-width: 750px; margin: 16px 0 10px; font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 520; }
.footer-cta p { margin: 0; color: rgba(255,255,255,.65); }
.footer-cta .button { flex: 0 0 auto; }
.site-footer { padding: 75px 0 25px; background: var(--green-950); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr 1fr 1fr; gap: 60px; }
.footer-brand > p { max-width: 300px; margin-top: 25px; color: rgba(255,255,255,.52); font-size: .88rem; }
.footer-grid h3 { margin: 6px 0 22px; color: var(--gold-light); font-size: .68rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) > a { display: block; margin: 10px 0; color: rgba(255,255,255,.65); font-size: .82rem; }
.footer-grid > div:not(.footer-brand) > a:hover { color: #fff; }
.footer-contact p { color: rgba(255,255,255,.55); font-size: .82rem; }
.footer-contact small { color: rgba(255,255,255,.38); font-size: .69rem; }
.social-links { display: flex; gap: 8px; margin-top: 24px; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; font-size: .66rem; font-weight: 800; }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-size: .68rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { margin-left: 20px; }
.whatsapp-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 56px; height: 56px;
    display: grid; place-items: center; border-radius: 50%; background: #27b96f; color: #fff; box-shadow: 0 15px 35px rgba(0,0,0,.2);
}
.whatsapp-float span { font-size: .68rem; font-weight: 850; }
.toast {
    position: fixed; z-index: 1200; right: 24px; top: 105px; max-width: 420px; padding: 14px 18px;
    border-radius: 9px; box-shadow: var(--shadow); color: #fff; font-size: .85rem; animation: toastIn .35s ease;
}
.toast-success { background: #17643b; }
.toast-error { background: #9f3026; }
body.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
body.js .reveal.visible { opacity: 1; transform: translateY(0); }
body.js .reveal.delay-1 { transition-delay: .14s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
    .main-nav { gap: 20px; }
    .hero-grid { gap: 45px; }
    .hero-copy h1 { font-size: clamp(3.3rem, 6.5vw, 5.4rem); }
    .note-one { left: -20px; }
    .note-two { right: -20px; }
    .process-grid, .story-grid { gap: 70px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-contact { grid-column: 2 / 4; }
}

@media (max-width: 850px) {
    .section { padding: 82px 0; }
    .nav-toggle { display: block; position: relative; z-index: 1002; }
    .main-nav {
        position: fixed; inset: 0; padding: 120px 28px 40px; flex-direction: column; align-items: stretch; gap: 5px;
        background: var(--green-950); transform: translateX(100%); transition: transform .28s ease;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav > a { padding: 15px 0; font-size: 1.15rem; }
    .main-nav .nav-cta { margin-top: 15px; justify-content: center; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; padding-top: 65px; }
    .hero-system { width: min(92%, 520px); margin: 20px auto 35px; }
    .capability-strip span:nth-of-type(even), .capability-strip i:nth-of-type(even) { display: none; }
    .split-layout, .process-grid, .page-hero-grid, .detail-hero-grid, .service-detail-grid,
    .story-grid, .editorial-grid, .featured-post, .contact-hero-grid, .contact-layout,
    .faq-layout, .legal-layout { grid-template-columns: 1fr; gap: 45px; }
    .process-intro { position: static; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .services-grid, .posts-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { min-height: 310px; }
    .row-heading { align-items: start; flex-direction: column; gap: 20px; }
    .page-hero, .detail-hero, .case-hero, .article-hero, .simple-page-hero, .contact-hero { padding: 165px 0 85px; }
    .page-hero-grid > p, .detail-hero-grid > div:last-child { max-width: 650px; }
    .service-row { grid-template-columns: 45px 65px 1fr 44px; gap: 15px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .case-placeholder { height: 440px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-contact { grid-column: auto; }
    .footer-cta-inner { align-items: start; flex-direction: column; }
}

@media (max-width: 600px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .section { padding: 68px 0; }
    .brand-copy strong { font-size: .9rem; }
    .hero-grid { padding-top: 55px; }
    .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
    .hero-copy > p { font-size: 1rem; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
    .hero-actions .button { width: 100%; }
    .hero-proof { margin-top: 35px; }
    .hero-system { width: 100%; padding: 20px; }
    .system-score strong { font-size: 3.2rem; }
    .floating-note { display: none; }
    .system-chart { height: 115px; }
    .capability-strip { height: 64px; }
    .capability-strip span:nth-of-type(3), .capability-strip i:nth-of-type(3) { display: none; }
    .section-heading h2 { font-size: 2.55rem; }
    .stats-grid { margin-top: 60px; }
    .stats-grid > div { padding: 25px 12px 0; }
    .stats-grid strong { font-size: 2.5rem; }
    .services-grid, .posts-grid, .team-grid, .home-projects, .values-grid, .engagement-grid,
    .outcome-grid, .compact-service-grid, .compact-project-grid, .form-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 290px; }
    .process-steps article { grid-template-columns: 45px 1fr; }
    .project-card { min-height: 450px; }
    .testimonial-track { min-height: 390px; }
    .testimonial-slide > p { font-size: 1.55rem; }
    .page-hero h1, .detail-hero h1, .case-hero h1, .article-header h1, .contact-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
    .editorial-grid { gap: 28px; }
    .values-grid { border-left: 0; }
    .values-grid article { padding: 30px 0; border-right: 0; }
    .team-grid { gap: 20px; }
    .service-row { grid-template-columns: 36px 1fr 40px; padding: 28px 0; }
    .service-row-icon { display: none; }
    .service-row h2 { font-size: 1.35rem; }
    .service-row p { font-size: .84rem; }
    .engagement-grid, .outcome-grid { border-top: 0; }
    .engagement-grid article, .outcome-grid article { padding: 28px 0; border-right: 0; border-top: 1px solid #ccd2cd; }
    .portfolio-visual { height: 280px; }
    .portfolio-copy p { min-height: 0; }
    .case-visual { padding: 35px 0; }
    .case-placeholder { height: 330px; }
    .case-placeholder > span { font-size: 7rem; }
    .featured-post-art { height: 330px; }
    .featured-post { margin-bottom: 65px; }
    .article-layout { grid-template-columns: 1fr; gap: 25px; }
    .article-layout aside { flex-direction: row; }
    .form-card { padding: 26px 20px; }
    .form-card-header { align-items: start; flex-direction: column; gap: 8px; }
    .contact-layout, .faq-layout { gap: 45px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { align-items: start; flex-direction: column; gap: 12px; }
    .footer-bottom a { margin: 0 18px 0 0; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

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