:root {
    /* Colors - dark slate with an amber accent (#d8a13e = Shirouz brand amber) */
    --primary: #060a14;        /* darkest band (About) */
    --primary-light: #0f1524;
    --accent: #d8a13e;         /* brand amber */
    --accent-hover: #e8b75f;
    --bg-body: #0b111f;        /* page background */
    --bg-light: #141c2e;       /* raised panels: hero, cards, engagements, footer */
    --text-main: #b8c2d4;      /* body copy on dark */
    --text-heading: #f4f6fb;   /* headings */
    --text-light: #7d8aa1;     /* muted */
    --text-muted: #7d8aa1;     /* alias used by footer/location */
    --border: #23304a;

    /* Spacing */
    --container-width: 1100px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-family: var(--font-body); /* keep card titles clean sans-serif */
    font-size: 1.25rem;
    font-weight: 700;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: #1a1206;             /* dark ink on amber for contrast */
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    color: var(--text-heading);
}

.btn-small:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Header */
.site-header {
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    background-color: rgba(11, 17, 31, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Wordmark only — single color, serif. The sun mark was retired from the
   header (founder direction 2026-07-24); favicon.svg still carries it. */
.logo-word {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-heading);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

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

/* Hero */
.hero {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-heading);
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: var(--spacing-lg);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    padding: var(--spacing-xl) 0;
}

/* Engagements reuses the services layout; the tint keeps the two
   consecutive sections from reading as one continuous block. */
.services.engagements {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    padding: var(--spacing-md);
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    border-color: var(--accent);
}

.icon-box {
    margin-bottom: var(--spacing-sm);
    color: var(--accent);
}

/* Specialization band — the deep practice gets its own tinted section
   between the broad services grid and engagements. */
.specialization {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.specialization .section-header {
    margin-bottom: var(--spacing-md);
}

.eyebrow {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.spec-content {
    max-width: 760px;
    margin: 0 auto;
}

.spec-content p {
    font-size: 1.1rem;
}

/* Product band — plain background between the tinted specialization and
   engagements sections; inline links pick up the accent. */
/* Demoted below Contact (2026-07-26): the services buyer is the primary reader
   and the product was competing with them for attention. Kept because it is
   real and it is proof of practice — but as a quieter footnote, separated by a
   rule so it does not merge into the Contact band above it. */
.product {
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.product .section-header {
    margin-bottom: var(--spacing-md);
}

.product a:not(.btn) {
    color: var(--accent);
}

.product a:not(.btn):hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* About */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary);
    color: var(--text-main);
    border-top: 2px solid var(--accent);   /* low-key amber rule */
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: var(--text-heading);
}

.about p {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: var(--spacing-md);
}

/* Contact */
.contact {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.email-link {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: var(--spacing-md) 0;
}

.email-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    padding: var(--spacing-md) 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    /* auto-fit handles both the 4-card services grid and the 4-card
       engagements grid without an orphan row */
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .hero { padding: 8rem 0; }
}

@media (max-width: 767px) {
    .main-nav ul { gap: var(--spacing-sm); }
    .main-nav a { font-size: 0.85rem; }
    .hero h1 { font-size: 2.25rem; }
    .btn-small { display: none; }
}
