:root {
    --ink: #1C2230;
    --ink-deep: #211F1D;
    --brass: #C6A25C;
    --brass-muted: #B08D4C;
    --light: #F1F2F4;
    --light-alt: #E7E9EC;
    --neutral: #C3C7D0;
    --body: #434A5C;
    --muted: #9BA2AD;
    --muted-dark: #8B92A1;
    --footer-muted: #7C8390;
    --copyright: #6B7280;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Archivo', sans-serif;
    color: var(--ink);
    background: var(--light-alt);
    -webkit-font-smoothing: antialiased;
}

/* ── A11Y ── */
.skip-link {
    position: absolute; top: -100%; left: 16px; z-index: 200;
    padding: 12px 24px; background: var(--brass); color: var(--ink);
    font-weight: 700; font-size: 14px; border-radius: 0 0 6px 6px;
    text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 3px;
}
.hero a:focus-visible, .why-section a:focus-visible, .footer a:focus-visible {
    outline-color: var(--brass);
}

/* ── NAV ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(28,34,48,0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(241,242,244,0.1);
    transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.nav-inner {
    max-width: 1300px; margin: 0 auto;
    padding: 0 56px; display: flex;
    align-items: center; justify-content: space-between; height: 68px;
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-text {
    font-family: 'Archivo', sans-serif; font-weight: 700;
    font-size: 19px; letter-spacing: -0.02em; line-height: 0.9; color: var(--light);
}
.logo-sub {
    font-family: 'IBM Plex Mono', monospace; font-size: 8px;
    letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted-dark);
    display: block; margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    font-size: 14.5px; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--light); }
.nav-links a.active { color: var(--brass); }
.nav-cta {
    font-weight: 600 !important; font-size: 14px !important;
    color: var(--ink) !important; background: var(--brass) !important;
    padding: 11px 20px !important; border-radius: 7px;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--light) !important; }

.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-toggle span {
    display: block; width: 22px; height: 2px; background: var(--light); margin: 5px 0; transition: 0.3s;
}

/* ── HERO ── */
.hero {
    position: relative; overflow: hidden; background: var(--ink); margin-top: 68px;
}
.hero-grid-texture {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(241,242,244,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(241,242,244,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
}
.hero-watermark {
    position: absolute; right: -120px; top: 40px; opacity: 0.06; pointer-events: none;
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 1300px; margin: 0 auto; padding: 80px 56px 0;
}
.hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace; font-size: 12px;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass);
}
.hero h1 {
    font-weight: 800; font-size: 82px; letter-spacing: -0.04em;
    line-height: 0.98; color: var(--light); margin: 26px 0 0; max-width: 960px;
}
.hero h1 em { font-style: normal; color: var(--brass); }
.hero-sub {
    font-family: 'Newsreader', serif; font-size: 21px; line-height: 1.6;
    color: var(--muted); max-width: 620px; margin: 28px 0 0;
}
.hero-buttons { display: flex; align-items: center; gap: 16px; margin-top: 38px; }
.btn-primary {
    display: inline-block; font-weight: 600; font-size: 15.5px;
    color: var(--ink); background: var(--light); padding: 15px 28px;
    border-radius: 8px; text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--brass); transform: translateY(-2px); }
.btn-outline {
    display: inline-block; font-weight: 600; font-size: 15.5px;
    color: var(--light); padding: 15px 22px; border-radius: 8px;
    text-decoration: none; border: 1px solid rgba(241,242,244,0.25);
    transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--light); }

/* stat strip */
.stat-strip {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin-top: 72px; border-top: 1px solid rgba(241,242,244,0.12);
}
.stat-item { padding: 28px 40px 30px; border-right: 1px solid rgba(241,242,244,0.12); }
.stat-item:first-child { padding-left: 56px; }
.stat-item:last-child { border-right: none; }
.stat-number {
    font-weight: 700; font-size: 40px; letter-spacing: -0.03em; color: var(--light);
}
.stat-number.accent { color: var(--brass); }
.stat-label {
    font-family: 'IBM Plex Mono', monospace; font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); margin-top: 4px;
}

/* ── SERVICES ── */
.services { padding: 88px 56px; background: var(--light); }
.services-inner { max-width: 1300px; margin: 0 auto; }
.section-header-split {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-bottom: 44px;
}
.section-label {
    font-family: 'IBM Plex Mono', monospace; font-size: 12px;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-muted);
    padding-top: 10px; white-space: nowrap;
}
.section-header-split h2 {
    font-weight: 700; font-size: 46px; letter-spacing: -0.03em; line-height: 1.02; margin: 0;
}
.section-header-split p {
    font-family: 'Newsreader', serif; font-size: 19px; line-height: 1.6; color: var(--body); margin: 16px 0 0;
}

.services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--neutral); border-radius: 12px; overflow: hidden;
}
.service-cell {
    padding: 36px 38px;
    border-bottom: 1px solid var(--neutral);
    background: var(--light); transition: background 0.2s, border-color 0.2s;
}
.service-cell:nth-child(odd) { border-right: 1px solid var(--neutral); }
.service-cell:nth-last-child(-n+2) { border-bottom: none; }
.service-cell:hover {
    background: var(--ink); border-color: rgba(241,242,244,0.1);
}
.service-cell-header {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.service-cell h3 {
    font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--ink);
    transition: color 0.2s;
}
.service-cell:hover h3 { color: var(--light); }
.service-price {
    font-family: 'IBM Plex Mono', monospace; font-size: 11.5px;
    color: var(--brass-muted); white-space: nowrap; transition: color 0.2s;
}
.service-cell:hover .service-price { color: var(--brass); }
.service-cell p {
    font-family: 'Newsreader', serif; font-size: 16.5px; line-height: 1.6;
    color: var(--body); margin: 12px 0 0; transition: color 0.2s;
}
.service-cell:hover p { color: var(--muted); }

/* ── PROCESS ── */
.process { padding: 88px 56px; background: var(--light-alt); }
.process-inner { max-width: 1300px; margin: 0 auto; }
.process-header { margin-bottom: 46px; }
.process-header h2 {
    font-weight: 700; font-size: 46px; letter-spacing: -0.03em; margin: 16px 0 8px;
}
.process-header p {
    font-family: 'Newsreader', serif; font-size: 19px; line-height: 1.6; color: var(--body);
}
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step { padding-right: 28px; }
.process-step:last-child { padding-right: 0; }
.step-indicator { display: flex; align-items: center; gap: 12px; }
.step-dot {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    display: flex; align-items: center; justify-content: center;
    font-family: 'IBM Plex Mono', monospace; font-size: 14px;
}
.step-dot.filled { background: var(--ink); color: var(--light); }
.step-dot.outlined { background: var(--light); border: 1.5px solid #C4B9A6; color: var(--ink); }
.step-dot.accent { background: var(--brass-muted); color: var(--light); }
.step-line { flex: 1; height: 1px; background: #C4B9A6; }
.process-step h3 { font-weight: 600; font-size: 20px; margin: 20px 0 0; }
.process-step p {
    font-family: 'Newsreader', serif; font-size: 15.5px; line-height: 1.55;
    color: var(--body); margin: 9px 0 0;
}

/* ── WHY ── */
.why-section {
    padding: 88px 56px; background: var(--ink); position: relative; overflow: hidden;
}
.why-watermark {
    position: absolute; left: -90px; bottom: -100px; opacity: 0.05; pointer-events: none;
}
.why-inner {
    position: relative; z-index: 2; max-width: 1300px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.why-section h2 {
    font-weight: 700; font-size: 44px; letter-spacing: -0.03em;
    line-height: 1.04; color: var(--light); margin: 16px 0 0;
}
.why-section > .why-inner > div:first-child > p {
    font-family: 'Newsreader', serif; font-size: 19px; line-height: 1.6;
    color: var(--muted); margin: 20px 0 0;
}
.check-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 34px;
}
.check-item {
    display: flex; align-items: flex-start; gap: 11px;
    font-size: 14.5px; line-height: 1.4; color: var(--neutral);
}
.check-mark { color: var(--brass); font-weight: 700; }

.why-cards { display: flex; flex-direction: column; gap: 16px; }
.why-card {
    background: var(--ink-deep); border: 1px solid rgba(241,242,244,0.1);
    border-radius: 11px; padding: 28px 30px; transition: border-color 0.2s;
}
.why-card:hover { border-color: rgba(198,162,92,0.4); }
.why-card h4 { font-weight: 600; font-size: 18px; color: var(--light); }
.why-card p {
    font-family: 'Newsreader', serif; font-size: 16px; line-height: 1.55;
    color: var(--muted); margin: 8px 0 0;
}

/* ── INDUSTRIES ── */
.industries { padding: 88px 56px; background: var(--light); }
.industries-inner {
    max-width: 1300px; margin: 0 auto;
    display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center;
}
.industries h2 {
    font-weight: 700; font-size: 40px; letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 0;
}
.industries p {
    font-family: 'Newsreader', serif; font-size: 18px; line-height: 1.6;
    color: var(--body); margin: 16px 0 0;
}
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.industry-card {
    border: 1px solid var(--neutral); border-radius: 9px;
    padding: 22px 20px; font-weight: 600; font-size: 16px;
    text-align: center; transition: background 0.2s, color 0.2s; cursor: default;
}
.industry-card:hover { background: var(--ink); color: var(--light); }

/* ── CTA ── */
.cta-wrapper { padding: 0 56px 72px; background: var(--light); }
.cta {
    max-width: 1300px; margin: 0 auto;
    background: var(--brass-muted); border-radius: 16px;
    padding: 72px 64px; position: relative; overflow: hidden;
}
.cta-watermark {
    position: absolute; right: -50px; top: 50%; transform: translateY(-50%);
    opacity: 0.12; pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 620px; }
.cta h2 {
    font-weight: 700; font-size: 48px; letter-spacing: -0.03em;
    line-height: 1.04; color: var(--light);
}
.cta p {
    font-family: 'Newsreader', serif; font-size: 20px; line-height: 1.6;
    color: #F1E9D5; margin: 20px 0 32px;
}
.btn-cta {
    display: inline-block; font-weight: 600; font-size: 16px;
    color: var(--light); background: var(--ink); padding: 17px 34px;
    border-radius: 9px; text-decoration: none; transition: transform 0.2s;
}
.btn-cta:hover { transform: translateY(-2px); }

/* ── FOOTER ── */
.footer { padding: 56px 56px 40px; background: var(--ink-deep); }
.footer-inner {
    max-width: 1300px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px;
}
.footer-brand p {
    font-family: 'Newsreader', serif; font-size: 15.5px; line-height: 1.6;
    color: var(--footer-muted); max-width: 320px; margin: 16px 0 0;
}
.footer h4 {
    font-family: 'IBM Plex Mono', monospace; font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px;
}
.footer-links {
    list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
    font-size: 14.5px; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--light); }
.footer-bottom {
    max-width: 1300px; margin: 40px auto 0; padding-top: 22px;
    border-top: 1px solid rgba(241,242,244,0.1);
    font-family: 'IBM Plex Mono', monospace; font-size: 11px;
    letter-spacing: 0.08em; color: var(--copyright);
}

/* ── BLOG ── */
.page-header {
    margin-top: 68px; padding: 64px 56px; background: var(--ink);
    position: relative; overflow: hidden;
}
.page-header::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(241,242,244,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(241,242,244,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
}
.page-header-inner {
    max-width: 1300px; margin: 0 auto; position: relative; z-index: 1;
}
.page-header h1 {
    font-weight: 800; font-size: 44px; letter-spacing: -0.03em; color: var(--light);
}
.page-header p {
    font-family: 'Newsreader', serif; font-size: 18px;
    color: var(--muted); margin-top: 10px;
}

.blog-list { max-width: 820px; margin: 0 auto; padding: 56px 24px 100px; }
.blog-card {
    border: 1px solid var(--neutral); border-radius: 11px;
    padding: 32px; margin-bottom: 16px;
    background: var(--light); transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-card:hover { border-color: var(--brass-muted); box-shadow: 0 8px 24px rgba(28,34,48,0.08); }
.blog-card-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.blog-card-date {
    font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted-dark);
}
.blog-card-tag {
    font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
    color: var(--brass-muted); text-transform: uppercase; letter-spacing: 0.06em;
}
.blog-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.blog-card h2 a { text-decoration: none; color: var(--ink); transition: color 0.2s; }
.blog-card h2 a:hover { color: var(--brass-muted); }
.blog-card p { font-family: 'Newsreader', serif; font-size: 16px; color: var(--body); line-height: 1.65; }
.blog-card .read-more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
    font-size: 14px; font-weight: 600; color: var(--brass-muted);
    text-decoration: none; transition: gap 0.2s;
}
.blog-card .read-more:hover { gap: 10px; }

.blog-post { max-width: 720px; margin: 0 auto; padding: 56px 24px 100px; }
.blog-post-content { font-family: 'Newsreader', serif; font-size: 18px; line-height: 1.8; color: var(--ink); }
.blog-post-content h2 { font-family: 'Archivo', sans-serif; font-size: 28px; font-weight: 700; margin: 40px 0 16px; }
.blog-post-content h3 { font-family: 'Archivo', sans-serif; font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.blog-post-content p { margin-bottom: 20px; }
.blog-post-content ul, .blog-post-content ol { margin-bottom: 20px; padding-left: 24px; }
.blog-post-content li { margin-bottom: 8px; }
.blog-post-content blockquote {
    border-left: 3px solid var(--brass-muted); padding: 16px 24px;
    margin: 24px 0; background: var(--light); border-radius: 0 8px 8px 0;
    font-style: italic; color: var(--body);
}
.blog-post-content code {
    font-family: 'IBM Plex Mono', monospace; background: var(--light-alt);
    padding: 2px 8px; border-radius: 4px; font-size: 16px;
}
.blog-post-content pre {
    background: var(--ink); color: var(--neutral); padding: 24px;
    border-radius: 10px; overflow-x: auto; margin: 24px 0;
}
.blog-post-content pre code { background: none; padding: 0; color: inherit; }
.blog-post-content a { color: var(--brass-muted); }
.blog-post-content a:hover { color: var(--ink); }
.blog-post-nav {
    margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--neutral);
    display: flex; justify-content: space-between;
}
.blog-post-nav a { color: var(--brass-muted); text-decoration: none; font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 14px; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--neutral); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    font-weight: 600; font-size: 14px; text-decoration: none;
}
.pagination a { color: var(--body); border: 1px solid var(--neutral); transition: all 0.2s; }
.pagination a:hover { background: var(--ink); color: var(--light); border-color: var(--ink); }
.pagination .active { background: var(--ink); color: var(--light); }

/* ── ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .nav-inner, .hero-content, .stat-item:first-child { padding-left: 32px; padding-right: 32px; }
    .services, .process, .why-section, .industries, .cta-wrapper, .footer { padding-left: 32px; padding-right: 32px; }
    .hero h1 { font-size: 56px; }
    .section-header-split { flex-direction: column; gap: 16px; }
    .section-header-split h2 { font-size: 36px; }
    .why-inner { grid-template-columns: 1fr; }
    .industries-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 68px; left: 0; right: 0;
        background: var(--ink); padding: 24px 32px;
        border-bottom: 1px solid rgba(241,242,244,0.1);
    }
    .hero h1 { font-size: 38px; }
    .hero-sub { font-size: 18px; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-bottom: 1px solid rgba(241,242,244,0.12); }
    .services-grid { grid-template-columns: 1fr; }
    .service-cell:nth-child(odd) { border-right: none; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .step-line { display: none; }
    .process-step { padding-right: 0; }
    .check-grid { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .cta h2 { font-size: 34px; }
    .footer-inner { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 32px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 30px; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .stat-strip { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: 1fr 1fr; }
}
