:root {
    --bg: #faf7f2;
    --bg-alt: #f3eee5;
    --surface: #ffffff;
    --ink: #1d1814;
    --ink-2: #29221c;
    --text: #2b241f;
    --muted: #6d635a;
    --line: #e6ded2;
    --accent: #a0673a;
    --accent-dark: #7e4f2a;
    --accent-soft: #f4e9dc;
    --cream: #efe4cf;
    --cream-muted: #bfb2a0;
    --radius: 12px;
    --max: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-weight: 600; color: var(--ink); letter-spacing: -0.3px; }

.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent);
    margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 0; border-top: 2px solid currentColor; border-bottom: 1px solid currentColor; padding-top: 2px; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 22px; border-radius: 8px;
    font-weight: 600; font-size: 15px; text-decoration: none;
    border: 1px solid transparent;
    transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-line-light { color: var(--cream); border-color: rgba(239, 228, 207, .3); }
.btn-line-light:hover { border-color: var(--cream); }
.btn-line { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-line:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(250, 247, 242, .9);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand-name { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.nav-links .btn { color: #fff; padding: 8px 16px; font-size: 14px; box-shadow: none; }
.nav-links .btn:hover, .nav-links .btn[aria-current="page"] { color: #fff; box-shadow: none; padding-bottom: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 6px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Dark hero (tech grid, warm tones) ---------- */
.hero {
    position: relative; overflow: hidden;
    background: var(--ink); color: var(--cream);
    padding: 104px 0 108px;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(239, 228, 207, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(239, 228, 207, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 75% 80% at 75% 35%, #000 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 75% 80% at 75% 35%, #000 25%, transparent 75%);
}
.hero::after {
    content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -240px;
    background: radial-gradient(circle, rgba(160, 103, 58, .32), transparent 65%);
    pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.hero .kicker { color: #d0a574; }
.hero h1 { color: #fbf6ec; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -1px; margin-bottom: 22px; max-width: 760px; }
.hero h1 em { font-style: italic; color: #d9b183; }
.hero p.lead { font-size: 18.5px; color: var(--cream-muted); max-width: 600px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mark { width: 210px; height: auto; opacity: .92; }
.hero.compact { padding: 80px 0 76px; }
.hero.compact h1 { font-size: clamp(34px, 4.4vw, 50px); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(29, 24, 20, .08); border-color: #d9c6ae; }
.icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: grid; place-items: center; margin-bottom: 20px;
    background: var(--accent-soft); color: var(--accent-dark);
}
.icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19.5px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Link band (home) ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.band a {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 30px 30px; border-radius: var(--radius); text-decoration: none;
    background: var(--surface); border: 1px solid var(--line);
    transition: border-color .2s, transform .2s;
}
.band a:hover { border-color: var(--accent); transform: translateY(-2px); }
.band h3 { font-size: 22px; margin-bottom: 4px; }
.band p { font-size: 15px; color: var(--muted); }
.band svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }

/* ---------- Engagements ---------- */
.plan { display: flex; flex-direction: column; }
.plan .tag {
    align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
    padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 16px;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 16px 36px rgba(160, 103, 58, .12); }
.plan h3 { font-size: 22px; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.checks li { display: flex; gap: 12px; font-size: 15.5px; }
.checks li svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.checks strong { color: var(--ink); font-weight: 600; }

/* ---------- Team ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 80px; }
.stats div { border-top: 2px solid var(--ink); padding-top: 18px; }
.stats strong { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 44px; font-weight: 600; color: var(--accent); line-height: 1.1; margin-bottom: 6px; }
.stats span { font-size: 15px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.sectors { margin-top: 48px; }
.sectors h4 { font-size: 12.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.cta .btn svg { width: 17px; height: 17px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.contact-grid.single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.contact-main {
    position: relative; overflow: hidden;
    background: var(--ink); color: var(--cream); border-radius: 16px; padding: 48px;
}
.contact-main h2 { color: #fbf6ec; font-size: 32px; margin-bottom: 12px; }
.contact-main p { color: var(--cream-muted); margin-bottom: 30px; font-size: 16.5px; }
.contact-main .addr { display: block; margin-top: 18px; color: #d9b183; text-decoration: none; }
.contact-main .addr:hover { text-decoration: underline; }

/* ---------- CTA strip ---------- */
.cta {
    position: relative; overflow: hidden; text-align: center;
    background: var(--ink); color: var(--cream); padding: 88px 0;
}
.cta::before {
    content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -300px;
    background: radial-gradient(circle, rgba(160, 103, 58, .28), transparent 65%);
}
.cta .wrap { position: relative; }
.cta img { width: 70px; margin: 0 auto 24px; opacity: .9; }
.cta h2 { color: #fbf6ec; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 12px; }
.cta p { color: var(--cream-muted); font-size: 17px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: #8f8273; font-size: 14px; padding: 30px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; color: #bfb2a0; }
.site-footer a:hover { color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-mark { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .wrap { padding: 0 16px; }
    section { padding: 72px 0; }
    .hero { padding: 72px 0 76px; }
    .hero.compact { padding: 60px 0 56px; }
    .grid-3, .band, .checks, .stats { grid-template-columns: 1fr; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
    .nav-links a[aria-current="page"] { box-shadow: none; padding-bottom: 12px; color: var(--accent); }
    .nav-links .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
    .contact-main { padding: 36px 26px; }
    .brand-name { font-size: 16.5px; }
}
