/* ============================================================
   ROAM Solutions — brand stylesheet
   Palette: deep petrol ink + warm copper accent
   ============================================================ */
:root {
    --ink:          #1e2540;   /* deep navy — primary (harmonised to logo #29314c) */
    --ink-2:        #29314c;   /* logo navy — raised panels on dark */
    --ink-3:        #141a2e;   /* darkest */
    --copper:       #c8814b;   /* warm copper accent */
    --copper-light: #dda06e;
    --copper-soft:  rgba(200, 129, 75, 0.12);
    --paper:        #ffffff;
    --paper-2:      #f6f4f0;   /* warm off-white section */
    --paper-3:      #efece6;   /* deeper warm panel */
    --line:         #e4ddd2;   /* warm border */
    --line-strong:  #d3cabb;
    --text:         #23303c;   /* body on light */
    --text-strong:  #10202e;
    --text-muted:   #5f6b74;
    --text-inv:     #eaf1f6;   /* body on dark */
    --text-inv-mut: #9fb2c0;

    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --maxw: 1140px;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(15, 34, 51, .06);
    --shadow:    0 10px 30px rgba(15, 34, 51, .08);
    --shadow-lg: 0 24px 60px rgba(15, 34, 51, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- Layout helpers ---------- */
.section { padding: 96px 24px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 18px;
}
.eyebrow-center { text-align: center; }
.section-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    line-height: 1.12;
    color: var(--text-strong);
    letter-spacing: -0.015em;
    text-align: center;
    margin-bottom: 52px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: .92rem;
    padding: 13px 26px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-accent { background: var(--copper); color: #fff; box-shadow: 0 6px 18px rgba(200,129,75,.28); }
.btn-accent:hover { background: var(--copper-light); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200,129,75,.36); }
.btn-ghost { background: transparent; color: var(--text-inv); border-color: rgba(234,241,246,.32); }
.btn-ghost:hover { border-color: var(--copper); color: #fff; transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(15, 34, 51, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(234,241,246,.08);
}
.nav-inner {
    max-width: var(--maxw); margin: 0 auto;
    padding: 15px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; object-fit: contain; display: block; }
.brand-name { font-weight: 700; letter-spacing: .12em; font-size: 1.02rem; color: var(--text-inv); display: flex; align-items: baseline; gap: 6px; }
.brand-sub { font-weight: 400; font-size: .66rem; letter-spacing: .28em; color: var(--copper-light); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.btn) { color: var(--text-inv-mut); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .18s; }
.nav-links > a:not(.btn):hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(1000px 500px at 78% -8%, rgba(200,129,75,.20), transparent 60%),
        linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%);
    color: var(--text-inv);
    overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(234,241,246,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234,241,246,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(900px 500px at 70% 10%, #000, transparent 75%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 116px 24px 96px; }
.hero h1 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: #fff;
    max-width: 15ch;
    margin-bottom: 26px;
}
.hero-lead {
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    color: var(--text-inv-mut);
    max-width: 60ch;
    line-height: 1.7;
    margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 72px; }
.hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    padding-top: 40px;
    border-top: 1px solid rgba(234,241,246,.12);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--copper-light); line-height: 1; }
.stat-label { font-size: .86rem; color: var(--text-inv-mut); line-height: 1.5; }

/* ---------- Problem ---------- */
.problem { background: var(--ink-2); color: var(--text-inv); text-align: center; }
.problem-headline {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    line-height: 1.28; color: #fff; letter-spacing: -0.01em;
    max-width: 24ch; margin: 0 auto 24px;
}
.problem-body { max-width: 64ch; margin: 0 auto; color: var(--text-inv-mut); font-size: 1.08rem; line-height: 1.75; }
.problem-body em { color: var(--copper-light); font-style: italic; }

/* ---------- Capabilities ---------- */
.capabilities { background: var(--paper); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.cap-icon {
    width: 50px; height: 50px; border-radius: 11px;
    display: grid; place-items: center;
    background: var(--copper-soft); color: var(--copper);
    margin-bottom: 20px;
}
.cap-icon svg { width: 26px; height: 26px; }
.cap-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--text-strong); margin-bottom: 16px; line-height: 1.25; }
.cap-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.cap-card li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--text-muted); line-height: 1.55; }
.cap-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--copper); transform: rotate(45deg); }

/* ---------- Experience ---------- */
.experience { background: var(--paper-2); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.exp-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .25s ease;
}
.exp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.exp-card-feature { border-top: 3px solid var(--copper); }
.exp-head { margin-bottom: 18px; }
.exp-head h3 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--text-strong); line-height: 1.25; margin-bottom: 8px; }
.exp-meta { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--copper); text-transform: uppercase; }
.exp-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.exp-card li { position: relative; padding-left: 18px; font-size: .9rem; color: var(--text-muted); line-height: 1.55; }
.exp-card li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.exp-card strong { color: var(--text-strong); font-weight: 700; }

/* ---------- Workshop ---------- */
.workshop { background: linear-gradient(165deg, var(--ink) 0%, var(--ink-3) 100%); color: var(--text-inv); }
.workshop .section-title { color: #fff; margin-bottom: 22px; }
.workshop-lead { max-width: 74ch; margin: 0 auto 56px; text-align: center; color: var(--text-inv-mut); font-size: 1.1rem; line-height: 1.75; }
.workshop-lead strong { color: var(--copper-light); font-weight: 600; }
.workshop-cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.ws-h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: #fff; margin-bottom: 22px; }
.ws-list { list-style: none; counter-reset: ws; display: flex; flex-direction: column; gap: 4px; }
.ws-list li { position: relative; counter-increment: ws; padding: 13px 16px 13px 52px; border-radius: 9px; transition: background .2s; }
.ws-list li:hover { background: rgba(234,241,246,.05); }
.ws-list li::before {
    content: counter(ws); position: absolute; left: 14px; top: 12px;
    width: 26px; height: 26px; border-radius: 7px;
    display: grid; place-items: center;
    background: rgba(200,129,75,.16); color: var(--copper-light);
    font-weight: 700; font-size: .82rem; font-family: var(--sans);
}
.ws-list li span { display: block; font-weight: 600; color: #fff; font-size: .98rem; }
.ws-list li small { display: block; color: var(--text-inv-mut); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.ws-list li.ws-star span::after { content: "★ backbone"; margin-left: 9px; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); vertical-align: middle; }
.ws-list li.ws-star::before { background: var(--copper); color: #fff; }
.ws-side { display: flex; flex-direction: column; gap: 18px; }
.ws-card { background: var(--ink-2); border: 1px solid rgba(234,241,246,.1); border-radius: var(--radius); padding: 26px 24px; }
.ws-card h4 { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--copper-light); margin-bottom: 12px; }
.ws-card p { color: var(--text-inv-mut); font-size: .92rem; line-height: 1.65; }
.ws-card em { color: #fff; font-style: italic; }
.ws-card-outcomes ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ws-card-outcomes li { position: relative; padding-left: 26px; color: var(--text-inv); font-size: .92rem; line-height: 1.5; }
.ws-card-outcomes li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--copper); font-weight: 700; }
.ws-delivery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.ws-opt { border: 1px solid rgba(234,241,246,.14); border-top: 3px solid var(--copper); border-radius: var(--radius); padding: 24px 22px; }
.ws-opt h4 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.ws-opt-meta { color: var(--copper-light); font-size: .82rem; font-weight: 600; margin-bottom: 12px; }
.ws-opt p:last-child { color: var(--text-inv-mut); font-size: .9rem; line-height: 1.6; }
.ws-cta { text-align: center; }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.about-copy .section-title { text-align: left; margin-bottom: 26px; }
.about-copy p { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 18px; line-height: 1.75; }
.about-copy strong { color: var(--text-strong); }
.about-side {
    background: var(--ink); color: var(--text-inv);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow);
}
.about-portrait { line-height: 0; }
.about-portrait img { width: 100%; height: auto; display: block; }
.about-side-body { padding: 8px 32px 34px; }
.about-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: #fff; margin-bottom: 26px; display: flex; flex-direction: column; }
.about-name span { font-family: var(--sans); font-weight: 500; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-light); margin-top: 5px; }
.about-side h3 { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--copper-light); margin-bottom: 20px; }
.cred-heading { margin-top: 34px; }
.cred-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.cred-list li { display: flex; flex-direction: column; gap: 3px; padding-bottom: 16px; border-bottom: 1px solid rgba(234,241,246,.1); }
.cred-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cred-list span { font-weight: 600; color: #fff; font-size: .98rem; }
.cred-list small { color: var(--text-inv-mut); font-size: .82rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; }
.tag { font-size: .78rem; font-weight: 500; padding: 6px 13px; border-radius: 20px; background: rgba(234,241,246,.08); color: var(--text-inv); border: 1px solid rgba(234,241,246,.14); }

/* ---------- Sister company ---------- */
.sister { background: var(--paper-3); border-top: 1px solid var(--line); }
.sister-inner { max-width: 680px; text-align: center; }
.sister-logo-link { display: block; }
.sister-logo { width: 260px; max-width: 100%; height: auto; margin: 0 auto 22px; transition: transform .2s ease, opacity .2s ease; }
.sister-logo-link:hover .sister-logo { transform: translateY(-2px); opacity: .9; }
.sister-text { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 28px; }
.sister-text strong { color: var(--text-strong); font-weight: 600; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost-dark:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-2px); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%); color: var(--text-inv); text-align: center; }
.contact-inner { max-width: 720px; }
.contact .section-title { color: #fff; margin-bottom: 22px; }
.contact-lead { color: var(--text-inv-mut); font-size: 1.1rem; line-height: 1.75; margin-bottom: 40px; }
.contact-actions { display: flex; justify-content: center; margin-bottom: 22px; }
.contact-note { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-inv-mut); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-3); color: var(--text-inv-mut); padding: 40px 24px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; }
.footer-logo { height: 52px; width: auto; object-fit: contain; opacity: .95; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { color: var(--text-inv-mut); text-decoration: none; font-size: .88rem; transition: color .18s; }
.footer-links a:hover { color: var(--copper-light); }
.footer-copy { font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .cap-grid, .exp-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-side { max-width: 420px; }
    .hero-stats { grid-template-columns: 1fr; gap: 20px; }
    .workshop-cols { grid-template-columns: 1fr; gap: 28px; }
    .ws-delivery { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .section { padding: 68px 20px; }
    .nav-links { gap: 16px; }
    .nav-links > a:not(.btn) { display: none; }
    .cap-grid, .exp-grid { grid-template-columns: 1fr; }
    .hero-inner { padding: 80px 20px 68px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}
