/* ================================================================
   ARVINITY STUDIO — GLOBAL STYLESHEET
   WordPress: enqueued in functions.php via arvinity_studio_scripts()

   HOW TO USE:
   - Add classes directly to HTML elements or page templates
   - All design decisions live here — never inline style
   - To override per-page, add a <style> block in the page
     template AFTER this file is loaded

   TABLE OF CONTENTS:
   01. Google Fonts Import
   02. Brand Tokens (CSS Variables)
   03. Reset & Base
   04. Typography Utilities
   05. Layout & Container
   06. Section Wrappers
   07. Navigation
   08. Buttons
   09. Form Elements
   10. Cards
   11. Metrics & Stats
   12. Testimonials
   13. Process Steps
   14. Portfolio / Visual Placeholders
   15. Hero Variants
   16. Marquee Strip
   17. Footer
   18. Badges & Labels
   19. Animations
   20. Utilities
   21. Responsive Breakpoints
   22. WordPress Theme Additions
================================================================ */


/* ----------------------------------------------------------------
   01. GOOGLE FONTS IMPORT
   NOTE: also enqueued separately in functions.php as 'arvinity-studio-fonts'
   so it loads in parallel rather than blocking on this stylesheet.
   Kept here too as a safety net — harmless if it loads twice (browser dedupes).
---------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&family=Playfair+Display:wght@700&display=swap');


/* ----------------------------------------------------------------
   02. BRAND TOKENS
---------------------------------------------------------------- */
:root {
    /* Backgrounds */
    --bg-onyx:              #0D0F12;
    --surface-charcoal:     #1A1D24;
    --surface-light:        #242830;

    /* Text */
    --text-light:           #F5F7FA;
    --text-muted:           #8A95A0;

    /* Accent */
    --accent:               #7A2CFF;
    --accent-hover:         #621acc;
    --accent-glow:          rgba(122, 44, 255, 0.14);
    --accent-subtle:        rgba(122, 44, 255, 0.06);
    --accent-border:        rgba(122, 44, 255, 0.25);

    /* Borders */
    --border-default:       rgba(255, 255, 255, 0.06);
    --border-light:         rgba(255, 255, 255, 0.10);
    --border-hover:         rgba(122, 44, 255, 0.35);

    /* Feedback */
    --error:                #ff4d4d;
    --error-glow:           rgba(255, 77, 77, 0.12);

    /* Fonts */
    --font-display:         'Bebas Neue', Impact, sans-serif;
    --font-serif:           'DM Serif Display', Georgia, serif;
    --font-body:            'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-logo:            'Playfair Display', Georgia, serif;

    /* Spacing scale */
    --space-1:   4px;
    --space-2:   8px;
    --space-3:   12px;
    --space-4:   16px;
    --space-5:   24px;
    --space-6:   32px;
    --space-7:   48px;
    --space-8:   64px;
    --space-9:   96px;
    --space-10:  112px;    /* section padding */

    /* Border radius */
    --radius-sm:   2px;
    --radius-md:   4px;
    --radius-pill: 100px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast:   0.2s ease;
    --transition-base:   0.3s ease;
    --transition-slow:   0.5s ease;
}


/* ----------------------------------------------------------------
   03. RESET & BASE
---------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-onyx);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Grain texture overlay — subtle depth */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.022;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    line-height: 1.1;
}

p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

strong, b {
    color: var(--text-light);
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

img, video {
    display: block;
    max-width: 100%;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

input, textarea, select {
    font-family: var(--font-body);
}


/* ----------------------------------------------------------------
   04. TYPOGRAPHY UTILITIES
   Usage: add class to any element
---------------------------------------------------------------- */

/* Font families */
.font-display   { font-family: var(--font-display) !important; font-weight: 400; letter-spacing: 0.03em; line-height: 1.0; }
.font-serif     { font-family: var(--font-serif) !important; }
.font-body      { font-family: var(--font-body) !important; }
.font-logo      { font-family: var(--font-logo) !important; font-weight: 700; letter-spacing: 0.04em; }

/* Heading sizes — use with .font-display */
.text-hero      { font-size: clamp(4rem, 8.5vw, 8.5rem); }
.text-h1        { font-size: clamp(3.5rem, 6vw, 6rem); }
.text-h2        { font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
.text-h3        { font-size: clamp(2rem, 3vw, 3rem); }
.text-h4        { font-size: 1.75rem; }
.text-h5        { font-size: 1.25rem; }

/* Body sizes */
.text-xl        { font-size: 1.25rem; }
.text-lg        { font-size: 1.125rem; }
.text-base      { font-size: 1rem; }
.text-sm        { font-size: 0.9375rem; }
.text-xs        { font-size: 0.875rem; }
.text-xxs       { font-size: 0.8rem; }
.text-micro     { font-size: 0.72rem; }

/* Font weights */
.weight-light   { font-weight: 300; }
.weight-regular { font-weight: 400; }
.weight-medium  { font-weight: 500; }

/* Colors */
.text-primary   { color: var(--text-light) !important; }
.text-muted     { color: var(--text-muted) !important; }
.text-accent    { color: var(--accent) !important; }

/* Letter spacing */
.tracking-wide  { letter-spacing: 0.04em; }
.tracking-wider { letter-spacing: 0.1em; }
.tracking-caps  { letter-spacing: 0.2em; }

/* Transforms */
.uppercase      { text-transform: uppercase !important; }
.italic         { font-style: italic !important; }

/* Line height */
.leading-tight  { line-height: 1.0; }
.leading-snug   { line-height: 1.3; }
.leading-normal { line-height: 1.5; }
.leading-loose  { line-height: 1.75; }

/* Alignment */
.text-left      { text-align: left; }
.text-center    { text-align: center; }
.text-right     { text-align: right; }

/* Max width for readability */
.prose-sm       { max-width: 42ch; }
.prose-md       { max-width: 52ch; }
.prose-lg       { max-width: 68ch; }

/* Bug fix: prose-* only ever constrained width, never centered the box
   itself — so "text-center prose-md" centered the TEXT inside a box
   that stayed flush against the left edge of its parent. Only visible
   on wide screens, where the constrained box has room to visibly sit
   off-center. Scoped to combine with .text-center specifically, so
   prose-* used WITHOUT text-center (e.g. narrow body copy sitting next
   to an image) still behaves as before — flush left, not re-centered. */
.text-center.prose-sm,
.text-center.prose-md,
.text-center.prose-lg {
    margin-left: auto;
    margin-right: auto;
}

/* Eyebrow / section label
   Usage: <p class="eyebrow">Section Title</p>
   Automatically adds the left-line via ::before */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

/* Eyebrow without the line */
.label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
}

/* Pull quote / blockquote */
.pull-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-light);
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    line-height: 1.5;
    border-radius: 0;
}

/* Accent word inside headline */
.accent-word {
    color: var(--accent);
    display: block;
}

/* Ghost background text — decorative, behind content */
.bg-word {
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(14rem, 22vw, 22rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.018);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

.bg-word-bottom-right {
    bottom: -0.15em;
    right: -0.05em;
}

.bg-word-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* ----------------------------------------------------------------
   05. LAYOUT & CONTAINER
---------------------------------------------------------------- */

/* Main wrapper */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid layouts */
.grid-2        { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4        { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2-col    { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-about    { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: center; }
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.grid-contact  { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.grid-hero     { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: end; }
.grid-portfolio { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }

/* Flex layouts */
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-end      { display: flex; align-items: flex-end; justify-content: space-between; }
.flex-col      { display: flex; flex-direction: column; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.items-end     { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }

/* Gap */
.gap-1   { gap: var(--space-1); }
.gap-2   { gap: var(--space-2); }
.gap-3   { gap: var(--space-3); }
.gap-4   { gap: var(--space-4); }
.gap-5   { gap: var(--space-5); }
.gap-6   { gap: var(--space-6); }
.gap-7   { gap: var(--space-7); }
.gap-8   { gap: var(--space-8); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }
.overflow-hidden { overflow: hidden; }
.z-0  { z-index: 0; }
.z-1  { z-index: 1; }

/* Sticky sidebar column */
.sticky-col { position: sticky; top: 6rem; }

/* Divider line */
.hairline {
    width: 100%;
    height: 1px;
    background: var(--border-default);
    border: none;
    margin: 2rem 0;
}

.hairline-accent {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--accent), transparent);
    border: none;
    margin: 2rem 0;
}

/* Left accent rule — vertical line on left edge of section */
.accent-rule-left::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--accent) 40%, transparent);
    opacity: 0.6;
}


/* ----------------------------------------------------------------
   06. SECTION WRAPPERS
   Usage: <section class="section section-charcoal">
---------------------------------------------------------------- */

/* Padding */
.section        { padding: var(--space-10) 0; }
.section-sm     { padding: 5rem 0; }
.section-lg     { padding: 9rem 0; }

/* Backgrounds */
.section-dark       { background-color: var(--bg-onyx); }
.section-charcoal   { background-color: var(--surface-charcoal); }
.section-light      { background-color: var(--surface-light); }

/* Borders */
.border-top    { border-top: 1px solid var(--border-default); }
.border-bottom { border-bottom: 1px solid var(--border-default); }
.border-y      { border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.border-x      { border-left: 1px solid var(--border-default); border-right: 1px solid var(--border-default); }

/* Section header block */
.section-header {
    margin-bottom: 4rem;
}

.section-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Glow backgrounds */
.section-glow-top::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section-glow-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Hero bg glow */
.hero-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(122, 44, 255, 0.06) 0%, rgba(13, 15, 18, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* CTA bottom glow */
.cta-glow::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(122, 44, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}


/* ----------------------------------------------------------------
   07. NAVIGATION
   Usage: <header class="site-header">
            <div class="container nav-inner">
              <a href="/" class="nav-logo">Arvinity Studio.</a>
              <nav class="nav-links">...</nav>
            </div>
          </header>
---------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.375rem 0;
    background: rgba(13, 15, 18, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-logo);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-light);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

.nav-links a.nav-active {
    color: var(--accent);
}

/* Breadcrumb */
.breadcrumb-bar {
    padding: 0.75rem 0;
    background: var(--surface-charcoal);
    border-bottom: 1px solid var(--border-default);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.breadcrumb-inner a { color: var(--text-muted); }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.3; }
.breadcrumb-current { color: var(--text-light); }


/* ----------------------------------------------------------------
   08. BUTTONS
   Usage: <a href="#" class="btn">Primary</a>
          <a href="#" class="btn btn-ghost">Ghost</a>
---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.875rem 2rem;
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Ghost / outlined */
.btn-ghost {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Full width */
.btn-block {
    width: 100%;
}

/* Sizes */
.btn-sm { font-size: 0.8rem;   padding: 0.5rem 1.25rem; }
.btn-lg { font-size: 1.0625rem; padding: 1rem 2.5rem; }

/* Disabled */
.btn[disabled],
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Button group */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-group-center {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Shimmer effect on primary button hover */
.btn:not(.btn-ghost)::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left var(--transition-slow);
}

.btn:not(.btn-ghost) {
    position: relative;
    overflow: hidden;
}

.btn:not(.btn-ghost):hover::after {
    left: 140%;
}


/* ----------------------------------------------------------------
   09. FORM ELEMENTS
   Usage: <div class="form-group">
            <label class="form-label">Name</label>
            <input class="form-control" type="text">
          </div>
---------------------------------------------------------------- */

.form-card {
    background: var(--surface-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(122, 44, 255, 0.08);
}

.form-card-header {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(122, 44, 255, 0.15) 0%, rgba(122, 44, 255, 0.03) 100%);
    border-bottom: 1px solid var(--border-default);
}

.form-card-header .eyebrow,
.form-card-header .label {
    margin-bottom: 0.5rem;
}

.form-body {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.375rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.form-label-optional {
    font-weight: 300;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-onyx);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
    outline: none;
    -webkit-appearance: none;
}

.form-control::placeholder {
    color: rgba(138, 149, 160, 0.5);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px var(--error-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A95A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

select.form-control option {
    background: var(--surface-charcoal);
    color: var(--text-light);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition:
        background var(--transition-fast),
        transform var(--transition-fast);
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.form-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(138, 149, 160, 0.5);
    margin-top: 1rem;
}

/* Radio group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: pointer;
}

.radio-label input {
    margin-top: 0.25rem;
    accent-color: var(--accent);
    flex-shrink: 0;
}

/* Decision node — qualification box inside form */
.decision-node {
    background: var(--bg-onyx);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--accent-border);
    margin: 2rem 0 1.5rem;
}

.decision-node > p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}


/* ----------------------------------------------------------------
   10. CARDS
---------------------------------------------------------------- */

/* Base card */
.card {
    background: var(--surface-charcoal);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    transition:
        border-color var(--transition-base),
        transform var(--transition-base);
}

.card:hover {
    border-color: var(--border-hover);
}

.card-lift:hover {
    transform: translateY(-4px);
}

.card-body {
    padding: 3rem 2.5rem;
}

.card-body-sm {
    padding: 2rem;
}

.card-body-lg {
    padding: 3.5rem;
}

/* Accent left border */
.card-accent-left {
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Top accent line — draws in on hover */
.card-accent-top {
    position: relative;
    overflow: hidden;
}

.card-accent-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.card-accent-top:hover::before {
    transform: scaleX(1);
}

/* Service card */
.service-card {
    background: var(--surface-charcoal);
    padding: 3rem 2.5rem;
    border-right: 1px solid var(--border-default);
    transition: background var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(122, 44, 255, 0.04);
}

.service-card:last-child {
    border-right: none;
}

.service-card-num {
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-top: 1.5rem;
    transition: gap var(--transition-fast);
}

.service-card-link:hover {
    gap: 0.875rem;
    color: var(--accent);
}

/* Case study card */
.case-card {
    background: var(--surface-charcoal);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    padding: 3rem;
    transition:
        border-color var(--transition-base),
        transform var(--transition-base);
}

.case-card:hover {
    border-color: rgba(122, 44, 255, 0.4);
    transform: translateY(-4px);
}

.case-card-industry {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.case-card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}

.case-card-metrics {
    display: flex;
    gap: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    margin: 1.5rem 0;
}

.case-card-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.case-card:hover .case-card-link {
    color: var(--accent);
}

/* Portfolio item */
.port-item {
    background: var(--surface-charcoal);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-base);
    cursor: pointer;
}

.port-item:hover {
    border-color: rgba(122, 44, 255, 0.4);
}

.port-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.port-item::after {
    content: 'View Project →';
    position: absolute;
    inset: 0;
    background: rgba(122, 44, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.port-item:hover::after {
    opacity: 1;
}

.port-item-label {
    position: absolute;
    bottom: 1.25rem;
    left: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

/* Portfolio grid span classes */
.port-item-lg { height: 380px; grid-row: span 2; }
.port-item-sm { height: 180px; }

/* Outcome card (before/after) */
.outcome-card {
    padding: 2.5rem;
    background: var(--surface-charcoal);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-default);
}

.outcome-card-title {
    font-size: 0.875rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Visual placeholder (before images are added) */
.visual-placeholder {
    background: var(--surface-charcoal);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: monospace;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

/* Grid pattern inside placeholder */
.visual-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.visual-placeholder span {
    position: relative;
    z-index: 1;
}

/* Standard heights */
.h-200  { height: 200px; }
.h-280  { height: 280px; }
.h-300  { height: 300px; }
.h-380  { height: 380px; }
.h-400  { height: 400px; }
.h-480  { height: 480px; }
.h-500  { height: 500px; }
.h-560  { height: 560px; }


/* ----------------------------------------------------------------
   11. METRICS & STATS
---------------------------------------------------------------- */

/* Inline hero stats row */
.stat-row {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--text-light);
    line-height: 1;
    letter-spacing: 0.04em;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Case study large metrics */
.metric-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
    letter-spacing: 0.04em;
}

.metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Metric box grid */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 4rem;
}

.metric-box {
    padding: 3rem 2rem;
    border-right: 1px solid var(--border-default);
    text-align: center;
    transition: background var(--transition-base);
}

.metric-box:last-child {
    border-right: none;
}

.metric-box:hover {
    background: var(--surface-charcoal);
}

.metric-box-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--accent);
    line-height: 1;
    letter-spacing: 0.04em;
}

.metric-box-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-top: 0.5rem;
}


/* ----------------------------------------------------------------
   12. TESTIMONIALS
---------------------------------------------------------------- */

.testimonial-card {
    background: var(--bg-onyx);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent);
    padding: 2.75rem;
}

.testimonial-card blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.testimonial-attr {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-light);
    font-weight: 500;
}

.testimonial-source {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Large centered quote (funnel / case study) */
.quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--accent);
    line-height: 0.5;
    display: block;
    margin-bottom: 1.5rem;
    opacity: 0.4;
}

.quote-large {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.625rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 2rem;
}


/* ----------------------------------------------------------------
   13. PROCESS STEPS
---------------------------------------------------------------- */

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* 4-column variant */
.process-steps-4 {
    grid-template-columns: repeat(4, 1fr);
}

.process-step {
    padding: 3rem 2.5rem;
    border-right: 1px solid var(--border-default);
    background: var(--bg-onyx);
    transition: background var(--transition-base);
    position: relative;
}

.process-step:last-child {
    border-right: none;
}

.process-step:hover {
    background: rgba(122, 44, 255, 0.05);
}

.step-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-num-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(122, 44, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.step-line {
    flex: 1;
    height: 1px;
    background: var(--border-default);
}

.step-ghost-num {
    font-family: var(--font-display);
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    letter-spacing: 0.04em;
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid rgba(122, 44, 255, 0.3);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.625rem;
    color: var(--text-light);
    margin-bottom: 0.875rem;
    letter-spacing: 0.03em;
}


/* ----------------------------------------------------------------
   14. ABOUT SECTION
---------------------------------------------------------------- */

.about-photo-wrap {
    position: relative;
}

.about-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--surface-charcoal);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Corner accent bracket */
.about-photo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 60px;
    height: 60px;
    border-bottom: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
}

.about-year-badge {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-light);
    line-height: 1;
    letter-spacing: 0.04em;
}

.about-year-badge span {
    font-family: var(--font-body);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.15rem;
}


/* ----------------------------------------------------------------
   15. HERO VARIANTS
---------------------------------------------------------------- */

/* Full-height hero */
.hero-full {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

/* Interior page hero (shorter) */
.hero-interior {
    padding: 8rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-default);
    background: radial-gradient(circle at top, rgba(122, 44, 255, 0.06) 0%, var(--bg-onyx) 70%);
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.hero-location {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    color: var(--accent);
    display: block;
    font-weight: 600;
    font-family: var(--font-body);
}

.hero-stat-right {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: right;
    flex-shrink: 0;
}

.hero-stat-num-lg {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--accent);
    line-height: 1;
    letter-spacing: 0.04em;
}

.hero-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-top: 0.25rem;
}


/* ----------------------------------------------------------------
   16. MARQUEE STRIP
   Usage: <div class="marquee-strip">
            <div class="marquee-track">
              <!-- items x2 for seamless loop -->
            </div>
          </div>
---------------------------------------------------------------- */

.marquee-strip {
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    background: var(--surface-charcoal);
    padding: 1.5rem 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee 28s linear infinite;
    width: max-content;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    flex-shrink: 0;
}


/* ----------------------------------------------------------------
   17. FOOTER
   Usage: <footer class="site-footer">
            <div class="container">
              <div class="footer-inner">...</div>
              <div class="footer-bottom">...</div>
            </div>
          </footer>
---------------------------------------------------------------- */

.site-footer {
    background: var(--surface-charcoal);
    border-top: 1px solid var(--border-default);
    padding: 4.5rem 0 3rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-default);
}

.footer-brand .nav-logo {
    display: block;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 0.8rem;
    color: rgba(160, 170, 178, 0.45);
    margin: 0;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--accent);
}

.footer-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
    flex-shrink: 0;
}

/* Minimal footer (funnel / landing pages) */
.footer-minimal {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-onyx);
}

.footer-minimal-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-minimal p,
.footer-minimal a {
    font-size: 0.78rem;
    color: rgba(138, 149, 160, 0.4);
    margin: 0;
    transition: color var(--transition-fast);
}

.footer-minimal a:hover {
    color: var(--accent);
}


/* ----------------------------------------------------------------
   18. BADGES & LABELS
---------------------------------------------------------------- */

/* Pill badge (e.g. "Free — Limited Spots") */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(122, 44, 255, 0.1);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-pill);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.06em;
}

.badge-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Inline category tag (e.g. "B2B Consulting") */
.tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Solid tag variant */
.tag-solid {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    background: rgba(122, 44, 255, 0.08);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

/* Next project navigation */
.next-project-section {
    background: var(--surface-charcoal);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.next-project-section a {
    display: block;
    padding: 4rem 0;
    transition: background var(--transition-base);
}

.next-project-section a:hover {
    background: rgba(122, 44, 255, 0.04);
}

.next-project-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-project-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.next-project-industry {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: block;
    font-weight: 500;
}

.next-project-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    line-height: 1;
    transition: color var(--transition-fast);
}

.next-project-section a:hover .next-project-title {
    color: var(--accent);
}

.next-project-arrow {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    color: var(--text-muted);
    transition:
        background var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base);
}

.next-project-section a:hover .next-project-arrow {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-light);
}


/* ----------------------------------------------------------------
   19. ANIMATIONS
---------------------------------------------------------------- */

@keyframes rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* Utility animation classes */
.anim-rise     { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.anim-fade     { animation: fadeIn 0.6s ease both; }
.anim-scale    { animation: scaleIn 0.5s ease both; }

/* Stagger delays */
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.15s; }
.delay-3 { animation-delay: 0.28s; }
.delay-4 { animation-delay: 0.42s; }
.delay-5 { animation-delay: 0.58s; }


/* ----------------------------------------------------------------
   20. UTILITIES
---------------------------------------------------------------- */

/* Spacing — margin */
.mt-1  { margin-top: var(--space-1); }
.mt-2  { margin-top: var(--space-2); }
.mt-3  { margin-top: var(--space-3); }
.mt-4  { margin-top: var(--space-4); }
.mt-5  { margin-top: var(--space-5); }
.mt-6  { margin-top: var(--space-6); }
.mt-7  { margin-top: var(--space-7); }
.mt-8  { margin-top: var(--space-8); }
.mb-1  { margin-bottom: var(--space-1); }
.mb-2  { margin-bottom: var(--space-2); }
.mb-3  { margin-bottom: var(--space-3); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-5  { margin-bottom: var(--space-5); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-7  { margin-bottom: var(--space-7); }
.mb-8  { margin-bottom: var(--space-8); }

/* Display */
.block         { display: block; }
.inline-block  { display: inline-block; }
.inline-flex   { display: inline-flex; }
.hidden        { display: none; }

/* Width */
.w-full        { width: 100%; }
.w-auto        { width: auto; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Hide on mobile / show on desktop */
.hide-mobile   { display: block; }
.show-mobile   { display: none; }


/* ----------------------------------------------------------------
   21. RESPONSIVE BREAKPOINTS
---------------------------------------------------------------- */

/* Tablet: 960px */
@media (max-width: 960px) {

    /* Typography */
    .text-hero { font-size: clamp(3.5rem, 12vw, 5rem); }

    /* Grids */
    .grid-2,
    .grid-about,
    .grid-contact,
    .grid-hero     { grid-template-columns: 1fr; gap: 3rem; }

    .grid-services { grid-template-columns: 1fr; }
    .grid-portfolio { grid-template-columns: 1fr; }

    /* Service cards */
    .service-card {
        border-right: none;
        border-bottom: 1px solid var(--border-default);
    }
    .service-card:last-child { border-bottom: none; }

    /* Process */
    .process-steps,
    .process-steps-4  { grid-template-columns: repeat(2, 1fr); }
    .process-step     { border-right: none; border-bottom: 1px solid var(--border-default); }
    .process-step:nth-child(odd)   { border-right: 1px solid var(--border-default); }
    .process-step:last-child       { border-bottom: none; }

    /* Metrics */
    .metrics-row { grid-template-columns: repeat(2, 1fr); }
    .metric-box:nth-child(odd)    { border-right: 1px solid var(--border-default); }
    .metric-box:nth-child(n+3)    { border-top: 1px solid var(--border-default); }

    /* Portfolio */
    .port-item-lg { grid-row: span 1; height: 280px; }
    .port-item-sm { height: 200px; }

    /* About */
    .about-year-badge { display: none; }

    /* Sticky col */
    .sticky-col { position: static; }

    /* Footer */
    .footer-inner  { flex-direction: column; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-minimal-inner { flex-direction: column; gap: 0.5rem; text-align: center; }

    /* Nav */
    .nav-links .hide-mobile { display: none; }

    /* Hero stat */
    .hero-stat-right { flex-direction: row; text-align: left; }
}

/* Mobile: 600px */
@media (max-width: 600px) {

    .container     { padding: 0 1.25rem; }

    .grid-3,
    .grid-4        { grid-template-columns: 1fr; }
    .grid-2-col    { grid-template-columns: 1fr; gap: 2rem; }

    .form-row      { grid-template-columns: 1fr; }

    .process-steps,
    .process-steps-4 { grid-template-columns: 1fr; }
    .process-step  { border-right: none !important; }

    .metrics-row   { grid-template-columns: 1fr 1fr; }

    .case-card { padding: 2rem; }
    .card-body { padding: 2rem; }
    .card-body-lg { padding: 2.5rem; }

    .next-project-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }

    .section-header-split { flex-direction: column; align-items: flex-start; }

    .stat-row      { gap: 1.5rem; }

    .hide-mobile   { display: none; }
    .show-mobile   { display: block; }
}


/* ----------------------------------------------------------------
   22. WORDPRESS THEME ADDITIONS
   Added during the WordPress conversion — supports wp_nav_menu()
   output and the new shared header/footer partials. Everything
   above this line is unchanged from the static site.
---------------------------------------------------------------- */

/* Primary + footer nav — wp_nav_menu() renders into this <ul>,
   nested inside the existing .nav-links flex row alongside the
   "Start a Project" CTA button. */
.nav-links-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

@media (max-width: 960px) {
    .nav-links-list.hide-mobile { display: none; }
}

/* Current-page highlight — WordPress adds these classes automatically,
   equivalent to the old hand-added .nav-active class. */
.nav-links-list .current-menu-item > a,
.nav-links-list .current_page_item > a {
    color: var(--accent);
}

/* Topbar — minimal header used by the audit landing page and
   thank-you page (previously duplicated per-page inline styles). */
.topbar {
    padding: 1.25rem 0;
    background: rgba(13, 15, 18, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile menu — hamburger toggle + dropdown panel. header.php only
   showed the CTA button below 960px before; this restores access to
   the rest of the nav on mobile. */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .mobile-menu-toggle { display: flex; }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 15, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 2rem 1.25rem;
}

.mobile-menu-list li {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-list li:first-child {
    border-top: none;
}

.mobile-menu-list a {
    display: block;
    padding: 1rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.mobile-menu-list a:hover,
.mobile-menu-list .current-menu-item > a {
    color: var(--accent);
}

.mobile-menu-cta {
    padding: 1.25rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Filter tabs — used on the blog index (category) and /work archive
   (portfolio category). Shared here since both need the same look. */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 0.5rem 1.125rem;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-pill);
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.filter-tab:hover {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
    color: var(--accent);
    border-color: rgba(122, 44, 255, 0.4);
    background: rgba(122, 44, 255, 0.08);
}

/* Content card — thumbnail + tag + title + excerpt + link. Originally
   written as page-specific CSS on the thank-you page; promoted here once
   the blog index (home.php) needed the identical pattern. */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.content-card {
    background: var(--surface-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    border-color: rgba(122, 44, 255, 0.35);
    transform: translateY(-4px);
}

.content-card-thumb {
    height: 140px;
    background: rgba(13, 15, 18, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}

.content-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-top: auto;
    padding-top: 1rem;
}

@media (max-width: 960px) {
    .content-grid { grid-template-columns: 1fr; }
}

/* Custom logo — header.php, header-minimal.php, footer.php, shown via
   the_custom_logo() when a logo is uploaded under Site Identity.
   width: auto keeps proportions; the actual max-height numbers are
   user-controlled under Appearance → Customize → Logo Display Size,
   output dynamically by arvinity_studio_customizer_css() in
   inc/customizer.php — so only the structural rules live here. */
.nav-logo-wrap,
.custom-logo-link {
    display: flex;
    align-items: center;
}

.nav-logo-wrap img,
.custom-logo-link img {
    width: auto;
    display: block;
}

/* Footer social icons — Appearance → Customize → Footer Extras */
.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-default);
    color: var(--text-muted);
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.footer-social a:hover {
    color: var(--accent);
    border-color: rgba(122, 44, 255, 0.35);
    background: rgba(122, 44, 255, 0.06);
}

.footer-social .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* footer-bottom's copyright line now sometimes wraps Privacy/Terms
   links — keep everything readable if it wraps on narrow screens. */
.footer-bottom p {
    line-height: 1.6;
}

.footer-bottom p a {
    color: rgba(160, 170, 178, 0.7);
}

.footer-bottom p a:hover {
    color: var(--accent);
}

@media (max-width: 960px) {
    .footer-social {
        width: 100%;
        justify-content: flex-start;
    }
}
