/* SITEPLANET */
:root {
    --green-950: #232b21;
    --green-900: #2e382c;
    --green: #404e3d;
    --green-600: #56684f;
    --green-400: #7f9373;
    --green-100: #e9eee4;
    --green-50: #f4f7f1;
    --gold: #c08c36;
    --gold-600: #a8772a;
    --gold-400: #d6a752;
    --gold-200: #ecd3a0;
    --gold-50: #fbf6ec;
    --cream: #fdfbf6;
    --text: #2e382c;
    --muted: #5f6b5a;
    --line: rgba(64, 78, 61, .12);
    --radius: 20px;
    --shadow-sm: 0 2px 10px -2px rgba(46, 56, 44, .08);
    --shadow: 0 18px 50px -18px rgba(46, 56, 44, .25);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px; line-height: 1.6; color: var(--text); background: var(--cream);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--gold-200); color: var(--green-950); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ico { width: 24px; height: 24px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px;
    border: 0; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
    white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-gold { color: #fff; background: linear-gradient(135deg, var(--gold-400), var(--gold) 55%, var(--gold-600)); box-shadow: 0 10px 28px -8px rgba(192, 140, 54, .65); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(192, 140, 54, .75); }
.btn-ghost { color: var(--green); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--gold-400), var(--shadow-sm); color: var(--gold-600); }
.btn-light { color: var(--green-950); background: #fff; }
.btn-light:hover { transform: translateY(-2px); background: var(--gold-50); }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.header.scrolled { background: rgba(253, 251, 246, .88); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(46, 56, 44, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.header.scrolled .header-inner { height: 70px; }
.brand img { height: 50px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .brand img { height: 42px; }
.nav { display: none; align-items: center; gap: 30px; }
.nav a.link { position: relative; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .25s; }
.nav a.link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a.link:hover, .nav a.link.active { color: var(--green); }
.nav a.link:hover::after, .nav a.link.active::after { transform: scaleX(1); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--green); }
.nav-phone .ico { width: 18px; height: 18px; color: var(--gold); }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--green); cursor: pointer; }
.mobile-menu { display: none; background: rgba(253, 251, 246, .98); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-menu.open { display: block; }
.mobile-menu .container { padding-top: 12px; padding-bottom: 20px; display: grid; gap: 4px; }
.mobile-menu a.link { padding: 13px 14px; border-radius: 12px; font-weight: 600; color: var(--green); }
.mobile-menu a.link:hover { background: var(--green-50); }
.mobile-menu .btn { margin-top: 10px; }
@media (min-width: 1024px) {
    .nav { display: flex; }
    .menu-btn, .mobile-menu, .mobile-menu.open { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; isolation: isolate; }
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(900px 500px at 85% 15%, rgba(214, 167, 82, .18), transparent 60%),
        radial-gradient(700px 500px at 0% 90%, rgba(127, 147, 115, .16), transparent 60%),
        linear-gradient(180deg, #fdfbf6 0%, #f7f4ea 100%);
}
.hero-grid-bg {
    position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
    background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
    font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: .02em;
}
.eyebrow b { padding: 3px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-top: 24px; font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; color: var(--green-950); text-wrap: balance; }
.hero h1 .accent { background: linear-gradient(120deg, var(--gold-600), var(--gold-400) 50%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--green-600); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--green-100); color: var(--green); stroke-width: 2.6; }

.hero-visual { position: relative; max-width: 520px; margin: 0 auto; width: 100%; aspect-ratio: 1; }
.hero-visual svg.planet { width: 100%; height: 100%; overflow: visible; }
.planet-body { transform-origin: 250px 250px; animation: bob 7s ease-in-out infinite; }
.moon { animation: twinkle 3s ease-in-out infinite; }
.star { animation: twinkle 3.5s ease-in-out infinite; }
.star:nth-child(2n) { animation-delay: -1.2s; }
.star:nth-child(3n) { animation-delay: -2.3s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
@keyframes twinkle { 50% { opacity: .25; } }

.chip {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
    border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow); font-size: 14px; font-weight: 700; color: var(--green-950);
    animation: float 6s ease-in-out infinite;
}
.chip small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.chip .chip-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-50); color: var(--gold); }
.chip .chip-ico.g { background: var(--green-100); color: var(--green); }
.chip .ico { width: 20px; height: 20px; }
.chip-1 { top: 10%; left: -4%; }
.chip-2 { top: 46%; right: -6%; animation-delay: -2s; }
.chip-3 { bottom: 6%; left: 6%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (min-width: 1024px) {
    .hero { padding: 170px 0 110px; min-height: 100vh; display: flex; align-items: center; }
    .hero-inner { grid-template-columns: 1.08fr .92fr; gap: 40px; }
}
@media (max-width: 640px) {
    .chip { padding: 9px 12px 9px 9px; font-size: 12px; }
    .chip small { font-size: 11px; }
    .chip .chip-ico { width: 32px; height: 32px; }
    .chip-1 { left: 0; } .chip-2 { right: 0; }
    .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -40px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 24px; background: var(--green); color: #fff; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 30px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(255, 255, 255, .14); }
.stat:nth-child(3)::before { display: none; }
.stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--gold-400); font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .75); }
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .stat:nth-child(3)::before { display: block; }
    .stat:nth-child(n+3) { border-top: 0; }
}

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.kicker::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2, .h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--green-950); text-wrap: balance; }
.section-head p { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
@media (max-width: 640px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* services */
.services-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
    position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff;
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
    overflow: hidden;
}
.card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-400)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(192, 140, 54, .3), var(--shadow); }
.card:hover::after { transform: scaleX(1); }
.card-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--green-50); color: var(--green); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, color .4s, transform .4s var(--ease); }
.card:hover .card-ico { background: var(--green); color: var(--gold-400); transform: rotate(-6deg) scale(1.05); }
.card-ico .ico { width: 26px; height: 26px; }
.card h3 { margin-top: 22px; font-size: 1.12rem; font-weight: 800; color: var(--green-950); letter-spacing: -.01em; }
.card p { margin-top: 10px; font-size: .95rem; color: var(--muted); }
.card-more {
    display: inline-flex; margin-top: 16px; font-size: .9rem; font-weight: 700;
    color: var(--gold-600); text-decoration: none; transition: color .25s, transform .25s var(--ease);
}
.card-more:hover { color: var(--green-950); transform: translateX(3px); }

.appnest-feature {
    margin-top: 28px;
    padding: clamp(28px, 4vw, 40px);
    border-radius: var(--radius);
    background:
        radial-gradient(520px 240px at 100% 0%, rgba(214, 167, 82, .16), transparent 60%),
        linear-gradient(145deg, #fff, #f7f4ec);
    box-shadow: inset 0 0 0 1px rgba(192, 140, 54, .28), var(--shadow-sm);
}
.appnest-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(64, 78, 61, .08); color: var(--green);
    font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.appnest-brand { margin-top: 18px; }
.appnest-brand img { height: 40px; width: auto; display: block; }
.appnest-feature h3 {
    margin-top: 14px; font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800; letter-spacing: -.02em; color: var(--green-950); max-width: 36rem;
}
.appnest-feature p {
    margin-top: 12px; font-size: 1.05rem; color: var(--muted); max-width: 40rem; line-height: 1.65;
}
.appnest-bullets {
    list-style: none; margin: 20px 0 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 10px;
}
.appnest-bullets li {
    padding: 8px 14px; border-radius: 999px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; font-weight: 700; color: var(--green-950);
}
.appnest-feature .btn { margin-top: 24px; }

/* hosting band */
.hosting { background: var(--green-900); color: #fff; overflow: hidden; isolation: isolate; }
.hosting::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(600px 400px at 90% 0%, rgba(214, 167, 82, .22), transparent 60%),
        radial-gradient(500px 400px at 0% 100%, rgba(127, 147, 115, .25), transparent 60%);
}
.hosting .kicker { color: var(--gold-400); }
.hosting .h2 { color: #fff; }
.hosting-grid { display: grid; gap: 48px; align-items: center; }
.hosting p.lead { margin-top: 18px; font-size: 1.1rem; color: rgba(255, 255, 255, .75); max-width: 520px; }
.hosting .btn { margin-top: 32px; }
.hosting-list { display: grid; gap: 14px; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
.hosting-list li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); font-weight: 700; transition: background .3s, transform .35s var(--ease); }
.hosting-list li:hover { background: rgba(255, 255, 255, .09); transform: translateX(4px); }
.hosting-list .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(214, 167, 82, .15); color: var(--gold-400); }
@media (min-width: 640px) { .hosting-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hosting-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }

/* process */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; position: relative; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
    .steps::before { content: ''; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-200) 0 10px, transparent 10px 18px); z-index: 0; }
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.step-num { counter-increment: step; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--gold-200), var(--shadow-sm); font-size: 1.4rem; font-weight: 800; color: var(--gold-600); transition: background .4s, color .4s, transform .4s var(--ease); }
.step-num::before { content: '0' counter(step); }
.step:hover .step-num { background: var(--gold); color: #fff; transform: scale(1.08); }
.step h3 { margin-top: 20px; font-size: 1.12rem; font-weight: 800; color: var(--green-950); }
.step p { margin-top: 8px; font-size: .95rem; color: var(--muted); }

/* about */
.about { background: #fff; }
.about-grid { display: grid; gap: 56px; align-items: start; }
.about-text p { margin-top: 20px; font-size: 1.08rem; color: var(--muted); }
.about-text .btn { margin-top: 32px; }
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: .85fr 1.15fr; gap: 72px; } .about-text { position: sticky; top: 120px; } }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.feature:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(192, 140, 54, .3), var(--shadow-sm); }
.feature .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--gold-50); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(192, 140, 54, .2); }
.feature h3 { font-size: 1rem; font-weight: 800; color: var(--green-950); }
.feature p { margin-top: 6px; font-size: .92rem; color: var(--muted); }

/* tech marquee */
.tech { padding: 48px 0; border-block: 1px solid var(--line); background: var(--cream); overflow: hidden; }
.tech-title { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--green-400); margin-bottom: 24px; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.pill { padding: 10px 20px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 700; color: var(--green); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* work / clients */
.work { background: linear-gradient(180deg, #f7f4ea, var(--cream)); }
.work-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.work-card {
    position: relative; display: flex; flex-direction: column; min-height: 100%; width: 100%; overflow: hidden;
    margin: 0; padding: 0; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer;
    border-radius: 20px; background: #fff;
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work-card::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2;
    background: linear-gradient(90deg, var(--gold), var(--gold-400));
    transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.work-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(192, 140, 54, .28), var(--shadow); }
.work-card:hover::after { transform: scaleX(1); }
.work-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--green-50); }
.work-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
    transition: transform .55s var(--ease);
}
.work-card:hover .work-media img { transform: scale(1.05); }
.work-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.work-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.work-ext { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--green-400); opacity: .75; transition: color .3s, opacity .3s, transform .35s var(--ease); }
.work-card:hover .work-ext { color: var(--gold-600); opacity: 1; transform: translate(2px, -2px); }
.work-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--green-950); letter-spacing: -.01em; line-height: 1.25; }
.work-domain { font-size: .88rem; font-weight: 600; color: var(--muted); }
.work-tag {
    margin-top: auto; align-self: flex-start; padding: 5px 11px; border-radius: 999px;
    background: var(--green-50); font-size: 12px; font-weight: 700; color: var(--green-600);
    box-shadow: inset 0 0 0 1px var(--line);
}

/* work modal */
.work-modal {
    position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px;
}
.work-modal[hidden] { display: none; }
.work-modal-backdrop {
    position: absolute; inset: 0; border: 0; padding: 0; margin: 0; cursor: pointer;
    background: rgba(35, 43, 33, .58); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.work-modal-dialog {
    position: relative; z-index: 1; width: min(720px, 100%); max-height: min(90vh, 860px);
    overflow: auto; border-radius: 24px; background: #fff;
    box-shadow: 0 28px 80px -24px rgba(35, 43, 33, .55);
    animation: workModalIn .35s var(--ease);
}
@keyframes workModalIn {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .work-modal-dialog { animation: none; } }
.work-modal-x {
    position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center;
    width: 42px; height: 42px; border: 0; border-radius: 12px; cursor: pointer;
    background: rgba(253, 251, 246, .92); color: var(--green); box-shadow: inset 0 0 0 1px var(--line);
}
.work-modal-x:hover { background: #fff; color: var(--gold-600); }
.work-modal-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-50); }
.work-modal-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.work-modal-body { padding: 24px 26px 28px; }
.work-modal-body .work-tag { margin-top: 0; }
.work-modal-body h3 { margin-top: 12px; font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; color: var(--green-950); letter-spacing: -.02em; }
.work-modal-domain { margin-top: 6px; font-size: .95rem; font-weight: 700; color: var(--muted); }
.work-modal-blurb { margin-top: 14px; font-size: 1.02rem; line-height: 1.65; color: var(--text); }
.work-modal-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
body.work-modal-open { overflow: hidden; }

/* cta + contact */
.contact { background: linear-gradient(180deg, var(--cream), #f5f1e6); }
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact-info p.lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
.contact-cards { margin-top: 32px; display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
a.contact-card:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px rgba(192, 140, 54, .35), var(--shadow); }
.contact-card .ico { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--green); color: var(--gold-400); }
.contact-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-400); }
.contact-card strong { font-size: 1.1rem; color: var(--green-950); }
.form { padding: 34px 30px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 18px; }
.form h3 { font-size: 1.35rem; font-weight: 800; color: var(--green-950); }
.form .hint { margin-top: -10px; font-size: .92rem; color: var(--muted); }
.row { display: grid; gap: 18px; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; color: var(--green); }
.field label span { color: var(--gold-600); }
.input { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream); font: inherit; font-size: 15px; color: var(--text); transition: border-color .25s, box-shadow .25s, background .25s; }
.input:hover { border-color: rgba(64, 78, 61, .25); }
.input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(192, 140, 54, .16); }
textarea.input { resize: vertical; min-height: 130px; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23404e3d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.hp { position: absolute; left: -9999px; }

/* footer */
.footer { background: var(--green-950); color: rgba(255, 255, 255, .7); padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo { display: inline-block; padding: 14px 18px; border-radius: 16px; background: var(--cream); }
.footer-logo img { height: 46px; width: auto; }
.footer-about { margin-top: 18px; max-width: 340px; font-size: .95rem; }
.footer h4 { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .5); }

/* floating call button (mobile) */
.call-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: #fff; box-shadow: 0 12px 30px -8px rgba(192, 140, 54, .8); }
.call-fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; z-index: -1; }
.call-fab .ico { width: 26px; height: 26px; }
@keyframes ping { 75%, 100% { transform: scale(1.6); opacity: 0; } }
@media (min-width: 1024px) { .call-fab { display: none; } }

/* toast */
.toast { position: fixed; top: 100px; left: 50%; z-index: 100; transform: translateX(-50%); width: min(460px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; animation: toast-in .6s var(--ease); transition: opacity .5s, transform .5s; }
.toast .badge { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; }
.toast.ok { color: #1f5f3c; } .toast.ok .badge { background: #dcf3e5; color: #1f7a48; }
.toast.err { color: #8a2a1f; } .toast.err .badge { background: #fbe1dc; color: #b23a2a; }
.toast.hide { opacity: 0; transform: translate(-50%, -12px); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -16px); } }

/* hero entrance (on load, not on scroll) */
.hero-in { animation: hero-in 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}


/* language switch */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--green); transition: border-color .25s, color .25s; }
.lang-switch:hover { border-color: var(--gold-400); color: var(--gold-600); }
.header-actions { display: flex; align-items: center; gap: 10px; }
@media (min-width: 1024px) { .header-actions .lang-switch.mobile-only { display: none; } }
.nav .lang-switch { height: 36px; min-width: 42px; }
