/* ==========================================================================
   Highdeen — site styles
   White ground, black type, violet as the single brand colour.
   ========================================================================== */

:root {
    --bg: #FFFFFF;
    --text: #000000;
    --muted: #525252;
    --muted-2: #404040;
    --caption: #6B6B6B;
    --surface: #F5F5F5;
    --surface-2: #FAFAFA;
    --line: #E5E5E5;
    --line-strong: #BDBDBD;
    --field: #8F8F8F;

    --accent: #7C3AED;          /* fills: buttons, bands, logo */
    --accent-hover: #6D28D9;
    --accent-text: #7034D5;     /* violet text on white (AA contrast) */
    --accent-soft: #C4B5FD;     /* violet text on dark images */
    --danger: #B42318;
    --success-bg: #F3EEFE;

    --font-display: 'Unbounded', ui-sans-serif, sans-serif;
    --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    --gutter: clamp(16px, 5.5vw, 80px);
    --section: clamp(72px, 9vw, 128px);
    --maxw: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--text); }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--text); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */

.eyebrow {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-text);
}
.eyebrow--muted { color: var(--caption); }

.display, .h1, .h2, .h3 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; }
.display { font-weight: 700; font-size: clamp(44px, 7.2vw, 104px); line-height: 1.02; letter-spacing: -0.03em; max-width: 1200px; }
.h1 { font-weight: 700; font-size: clamp(40px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -0.03em; }
.h2 { font-weight: 600; font-size: clamp(32px, 3.9vw, 56px); line-height: 1.08; }
.h2--sm { font-size: clamp(30px, 3.1vw, 44px); }
.h3 { font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }

.lead { margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--muted); }
.text-muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 24px;
    font-weight: 700; font-size: 15px; text-decoration: none;
    border: 1px solid transparent; border-radius: 0; cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn--xl { min-height: 64px; padding: 0 36px; font-size: 17px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--outline { border-color: var(--line-strong); color: var(--text); font-weight: 500; }
.btn--outline:hover { border-color: var(--text); }
.btn--accent-outline { border-color: var(--accent); color: var(--text); }
.btn--accent-outline:hover { background: var(--accent); color: #fff; }
.btn--dark { background: #000; color: #fff; }
.btn--dark:hover { background: #1a1a1a; color: #fff; }
.btn--block { width: 100%; }

.link-arrow { font-weight: 500; font-size: 16px; color: var(--text); }
.link-accent { font-weight: 700; color: var(--accent-text); text-decoration: none; }
.link-accent:hover { color: var(--accent-hover); text-decoration: underline; }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand__mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 40px; font-size: 15px; }
.nav__link { color: var(--muted-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--text); border-bottom-color: var(--accent); }

.nav-toggle {
    display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
    background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    content: ''; display: block; width: 20px; height: 2px; background: var(--text); position: relative;
}
.nav-toggle__bar::before { position: absolute; top: -6px; }
.nav-toggle__bar::after { position: absolute; top: 6px; }

/* ---------- Sections & layout ---------- */

.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }
.section--alt { background: var(--surface-2); border-top: 1px solid var(--line); }
.section--rule { border-top: 1px solid var(--line); }
.section--rule-bottom { border-bottom: 1px solid var(--line); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 4.5vw, 64px); }
.section-head__text { display: flex; flex-direction: column; gap: 20px; max-width: 900px; }

.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-28 { gap: 28px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5.5vw, 80px); }
.split--end { align-items: end; }
.split--center { align-items: center; }

/* ---------- Media boxes (images) ---------- */

.media {
    position: relative; overflow: hidden;
    background-color: var(--surface);
    background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid var(--line);
}
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media > :not(img) { position: relative; z-index: 1; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--hero { aspect-ratio: 1280 / 620; }
.media--wide { aspect-ratio: 1280 / 480; }
.media--card { aspect-ratio: 628 / 400; }
.media--post { aspect-ratio: 411 / 260; }
.media--portrait { aspect-ratio: 3 / 4; }

.badge {
    display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
    padding: 6px 10px; background: #fff; color: var(--accent-text); text-transform: uppercase;
}
.badge--accent { background: var(--accent); color: #fff; font-weight: 500; }
.media__badge { position: absolute !important; top: 20px; left: 20px; }

/* ---------- Home ---------- */

.hero { padding-block: clamp(64px, 7.2vw, 104px) clamp(56px, 6.6vw, 96px); display: flex; flex-direction: column; gap: clamp(40px, 4.5vw, 64px); }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.hero__row .lead { max-width: 640px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.showreel { display: flex; align-items: center; justify-content: center; }
.play-btn {
    width: clamp(72px, 7.8vw, 112px); height: clamp(72px, 7.8vw, 112px); border-radius: 999px; border: none;
    background: var(--accent); display: flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 10px 40px rgba(124,58,237,.45);
}
.play-btn:hover { background: var(--accent-hover); }
.play-btn svg { width: 36%; height: 36%; margin-left: 6%; }

.industries { border-block: 1px solid var(--line); }
.industries__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 36px; }
.industries__list { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 0; padding: 0; list-style: none; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); }
.industries__list li + li::before { content: '■'; color: var(--line-strong); margin-right: 28px; }

.card { padding: clamp(28px, 2.8vw, 40px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.card__num { font-family: var(--font-mono); font-size: 14px; color: var(--accent-text); }
.card__text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.card--service { min-height: 420px; }
.card--highlight { border: 2px solid var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 0; list-style: none; }
.chip { padding: 6px 12px; border: 1px solid var(--line-strong); font-size: 13px; color: var(--muted-2); }

.process { border-top: 1px solid var(--line-strong); }
.process__step { padding: 32px 32px 0 0; display: flex; flex-direction: column; gap: 14px; }
.process__num { font-family: var(--font-display); font-size: clamp(36px, 3.3vw, 48px); font-weight: 500; color: var(--line-strong); }
.process__step:last-child .process__num { color: var(--accent-text); }
.process__title { margin: 0; font-size: 21px; font-weight: 700; }
.process__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

.work-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-feature > :first-child { grid-row: span 2; }
.work-feature > :first-child .media { flex-grow: 1; min-height: 420px; aspect-ratio: auto; }

.project-card { display: flex; flex-direction: column; gap: 20px; text-decoration: none; color: var(--text); }
.project-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.project-card__title { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; }
.project-card__sub { font-size: 15px; color: var(--muted); }
.project-card__services { font-size: 15px; color: var(--muted-2); text-align: right; }

.originals__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.originals__tiles > :last-child { margin-top: 64px; }
.originals__tile { display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; gap: 6px; color: #fff; }
.originals__tile .label { font-family: var(--font-mono); font-size: 12px; color: var(--accent-soft); }
.originals__tile .label--muted { color: #D4D4D4; }
.originals__tile .title { font-size: 18px; font-weight: 700; }

.cta-band { background: var(--accent); color: #fff; padding: clamp(48px, 6.6vw, 96px) clamp(28px, 5.5vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta-band .h2 { font-weight: 700; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04; max-width: 820px; color: #fff; }
.cta-band .btn { flex-shrink: 0; }

/* ---------- Services ---------- */

.service-block { padding-block: clamp(72px, 7.8vw, 112px); border-bottom: 1px solid var(--line); }
.service-block__intro { grid-column: span 5; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.service-block__num { font-family: var(--font-display); font-size: clamp(44px, 4.4vw, 64px); font-weight: 500; color: var(--accent-text); line-height: 1; }
.service-block__list { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.service-block__item { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.service-block__item:nth-child(even) { padding: 24px 0 24px 24px; }
.service-block__item:nth-last-child(-n+2) { border-bottom: none; }
.service-block__item h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.service-block__item p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--caption); }
.breadcrumb a { color: var(--muted-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--accent-text); }

.other-service { padding: 40px; background: var(--surface); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: var(--text); }
.other-service:hover { border-color: var(--accent); }
.other-service__arrow { font-size: 32px; }

/* FAQ (native <details>) */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
    list-style: none; cursor: pointer; min-height: 76px; padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    font-size: 20px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 28px; font-weight: 400; color: var(--accent-text); flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0; padding: 0 64px 28px 0; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- Filters & pagination ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    border: 1px solid var(--line-strong); color: var(--muted-2); font-size: 15px; font-weight: 500; text-decoration: none; background: transparent;
}
.pill:hover { border-color: var(--text); color: var(--text); }
.pill.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }

.search { display: flex; align-items: center; gap: 10px; }
.search label { font-size: 14px; color: var(--muted-2); }
.search input { width: 260px; max-width: 100%; height: 44px; padding: 0 14px; background: var(--surface); border: 1px solid var(--field); }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span {
    min-width: 48px; height: 48px; padding: 0 8px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line-strong); color: var(--muted-2); text-decoration: none;
}
.pagination a:hover { border-color: var(--text); color: var(--text); }
.pagination [aria-current="page"] span { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.pagination [aria-disabled="true"] span { color: var(--line-strong); }

.empty { padding: 64px 32px; text-align: center; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }

/* ---------- Blog ---------- */

.featured-post { display: grid; grid-template-columns: 7fr 5fr; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.featured-post .media { border: none; min-height: 480px; }
.featured-post__body { padding: clamp(28px, 3.3vw, 48px); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.featured-post__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.15; letter-spacing: -0.01em; }

.post-card { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--text); }
.post-card__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--caption); text-transform: uppercase; }
.post-card__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; }
.post-card:hover .post-card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-card__excerpt { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

.byline { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.avatar--lg { width: 72px; height: 72px; font-size: 22px; }

.article-head { padding-block: clamp(64px, 6.6vw, 96px) 64px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.article-head .h1 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.1; max-width: 1040px; }
.article-head .lead { max-width: 760px; }

.article-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-bottom: 96px; }
.share { grid-column: 2 / span 1; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding-top: 6px; position: sticky; top: 120px; align-self: start; }
.icon-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); background: transparent; color: var(--muted-2); cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--text); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }

.prose { grid-column: 4 / span 7; font-size: 19px; line-height: 1.75; color: #1F1F1F; }
.prose > * + * { margin-top: 28px; }
.prose p { margin: 0; }
.prose .lead, .prose > p:first-child { font-size: 22px; line-height: 1.65; color: var(--text); }
.prose h2 { margin: 48px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.2; color: var(--text); }
.prose blockquote { margin: 44px 0; padding: 8px 0 8px 32px; border-left: 4px solid var(--accent); font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.35; color: var(--text); }
.prose ol, .prose ul { padding-left: 28px; margin-bottom: 0; }
.prose li + li { margin-top: 12px; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-text); }
.prose figure { margin: 44px 0; }
.prose .diagram svg { width: 100%; height: auto; padding: 32px; background: var(--surface); border: 1px solid var(--line); font-family: var(--font-body); }
.prose figcaption { margin-top: 12px; font-size: 15px; color: var(--caption); }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tag-list a { padding: 8px 14px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--muted-2); text-decoration: none; }
.tag-list a:hover { border-color: var(--text); color: var(--text); }

.author-box { padding: 32px; background: var(--surface); border: 1px solid var(--line); display: flex; gap: 24px; align-items: flex-start; }
.author-box p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Forms ---------- */

.form-panel { padding: clamp(28px, 3.3vw, 48px); background: var(--surface); border: 1px solid var(--line); }
.form { display: flex; flex-direction: column; gap: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend, .label { font-size: 14px; color: var(--muted-2); }
.input, .select, .textarea {
    width: 100%; min-height: 52px; padding: 0 16px; background: #fff;
    border: 1px solid var(--field); border-radius: 0; font-size: 16px; color: var(--text);
}
.textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; min-height: 150px; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 0; font-size: 14px; color: var(--danger); }
.form-note { margin: 0; font-size: 14px; color: var(--caption); }
.form-divider { height: 1px; background: var(--line); }

fieldset.field { margin: 0; padding: 0; border: none; }
fieldset.field legend { padding: 0; margin-bottom: 12px; }

.check-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-pill span {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; cursor: pointer;
    border: 1px solid var(--line-strong); color: var(--muted-2); font-size: 15px; font-weight: 500; background: #fff;
}
.check-pill input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.check-pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.inline-form { display: flex; }
.inline-form .input { border-right: none; min-width: 0; }
.inline-form .btn { min-height: 52px; flex-shrink: 0; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--success-bg); font-size: 15px; }
.alert--error { border-left-color: var(--danger); background: #FEF3F2; }

.success-panel { min-height: 480px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.success-panel svg { width: 56px; height: 56px; color: var(--accent); }

.steps { border-top: 1px solid var(--line); }
.step { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step__num { font-family: var(--font-display); font-size: 18px; color: var(--accent-text); width: 32px; flex-shrink: 0; }
.step__title { font-size: 18px; font-weight: 700; }
.step__text { font-size: 15px; line-height: 1.5; color: var(--muted); }

.contact-card { padding: 32px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); }
.contact-card--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.contact-card--accent:hover { background: var(--accent-hover); color: #fff; }
.contact-card__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--caption); text-transform: uppercase; }
.contact-card--accent .contact-card__label { color: #fff; }
.contact-card__value { font-size: 20px; font-weight: 700; word-break: break-word; }
.contact-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.contact-card--accent p { color: #fff; }

.detail-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--caption); text-transform: uppercase; }
.detail-value { font-size: 20px; line-height: 1.5; }

.map { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.map svg { width: 40px; height: 40px; color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer { margin-top: var(--section); background: var(--surface-2); border-top: 1px solid var(--line); }
.site-footer--flush { margin-top: 0; }
.site-footer__top { padding-block: 80px 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.site-footer__brand { grid-column: span 4; display: flex; flex-direction: column; gap: 24px; }
.site-footer__brand p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 380px; }
.site-footer__col { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.site-footer__col:first-of-type { grid-column: 6 / span 2; }
.site-footer__col--wide { grid-column: span 3; }
.site-footer__heading { margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--caption); }
.site-footer__col a { color: var(--muted-2); text-decoration: none; }
.site-footer__col a:hover { color: var(--text); text-decoration: underline; }
.site-footer__col .link-accent { color: var(--accent-text); }
.site-footer__email { font-size: 18px; color: var(--text) !important; }
.socials { display: flex; gap: 8px; margin-top: 8px; }
.site-footer__bottom { border-top: 1px solid var(--line); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; font-size: 14px; color: var(--caption); }
.site-footer__legal { display: flex; gap: 32px; }
.site-footer__legal a { color: var(--caption); text-decoration: none; }
.site-footer__legal a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
    .service-block__intro, .service-block__list { grid-column: 1 / -1; }
    .service-block__list { margin-top: 40px; }
    .prose { grid-column: 2 / span 10; }
    .share { grid-column: 1 / span 1; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__col:first-of-type, .site-footer__col { grid-column: span 4; }
    .site-footer__col--wide { grid-column: span 4; }
}

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    }
    .nav.is-open { display: flex; }
    .nav__link { padding: 16px 0; border-bottom: 1px solid var(--line); }
    .nav__link.is-active { border-bottom-color: var(--accent); }
    .nav .btn { margin-top: 16px; }
    .site-header__inner { min-height: 76px; position: static; }
    .site-header { position: sticky; }

    .split, .grid-2, .work-feature, .featured-post, .form-row { grid-template-columns: minmax(0, 1fr); }
    .work-feature > :first-child { grid-row: auto; }
    .featured-post .media { min-height: 260px; }
    .hero__row, .section-head, .cta-band, .toolbar, .industries__inner { flex-direction: column; align-items: flex-start; }
    .grid-12 > * { grid-column: 1 / -1 !important; }
    .article-layout { display: flex; flex-direction: column-reverse; gap: 40px; }
    .share { position: static; flex-direction: row; align-items: center; }
    .search, .search input { width: 100%; }
}

@media (max-width: 640px) {
    .grid-3, .grid-4, .service-block__list, .originals__tiles { grid-template-columns: minmax(0, 1fr); }
    .originals__tiles > :last-child { margin-top: 0; }
    .service-block__item, .service-block__item:nth-child(even) { padding: 20px 0; border-bottom: 1px solid var(--line); }
    .process__step { padding-right: 0; }
    .card--service { min-height: 0; }
    .project-card__meta { flex-direction: column; gap: 6px; }
    .project-card__services { text-align: left; }
    .site-footer__col, .site-footer__col:first-of-type, .site-footer__col--wide { grid-column: span 6; }
    .site-footer__col--wide { grid-column: 1 / -1; }
    .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
    .other-service { padding: 28px; }
    .faq summary { font-size: 18px; }
    .faq p { padding-right: 0; }
    .author-box { flex-direction: column; }
    .brand__name { font-size: 15px; }
}
