/* Use predictable element sizing across the site. */
* {
    box-sizing: border-box;
}

/* Define the Kanseko visual system with true black, clean white, gray, and gold. */
:root {
    --black: #000000;
    --panel: #050505;
    --panel-2: #090909;
    --gold: #d4a437;
    --gold-light: #f0c967;
    --white: #ffffff;
    --text: #f5f5f5;
    --muted: #cfcfcf;
    --subtle: #9a9a9a;
    --line: #2a2a2a;
    --gold-line: rgba(212, 164, 55, 0.72);
}

/* Enable smooth scrolling for same-page navigation if used later. */
html {
    scroll-behavior: smooth;
}

/* Set a pure black body background and clean modern font stack. */
body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* Keep links gold and simple. */
a {
    color: var(--gold-light);
    text-decoration: none;
}

/* Add underline on hover for accessibility. */
a:hover {
    text-decoration: underline;
}

/* Make the main layout wider so the site does not feel squeezed into the center. */
.container {
    width: min(1480px, calc(100% - 72px));
    margin: 0 auto;
}

/* Create a simple black sticky header. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #000000;
    border-bottom: 1px solid var(--gold-line);
}

/* Arrange the navigation bar. */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

/* Style the brand block in the header. */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Style the small logo in the header. */
.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* Arrange navigation links. */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 1rem;
    font-weight: 700;
}

/* Style navigation links. */
.nav-links a {
    color: var(--muted);
}

/* Make navigation hover gold. */
.nav-links a:hover {
    color: var(--gold-light);
}

/* Style the main button for non-hero areas only. */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    background: var(--gold);
    border: 1px solid var(--gold-light);
    border-radius: 0;
    color: #000000;
    font-weight: 900;
    letter-spacing: 0.02em;
}

/* Keep button hover clean. */
.button:hover {
    background: var(--gold-light);
    color: #000000;
    text-decoration: none;
}

/* Create a minimal hero section. */
.hero {
    padding: 90px 0 78px;
    border-bottom: 1px solid var(--line);
}

/* Let the hero use more horizontal room instead of looking narrowly centered. */
.hero-inner {
    max-width: 1280px;
}

/* Style the logo above the hero text. */
.hero-logo {
    display: block;
    width: min(300px, 72vw);
    margin: 0 0 46px;
}

/* Style gold section labels so they are more visible. */
.eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Style main page headings with less overwhelming size. */
h1 {
    margin: 0 0 28px;
    max-width: 1120px;
    color: var(--white);
    font-size: clamp(2.55rem, 4.8vw, 4.95rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

/* Style secondary headings. */
h2 {
    margin: 0 0 20px;
    color: var(--white);
    font-size: clamp(1.95rem, 3.2vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

/* Style tertiary headings. */
h3 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 1.18rem;
}

/* Style paragraph text. */
p {
    margin: 0 0 18px;
    color: var(--muted);
}

/* Style lead paragraph text. */
.lead {
    max-width: 980px;
    color: var(--text);
    font-size: clamp(1.12rem, 1.45vw, 1.32rem);
}

/* Create a simple stats row under the hero. */
.signal-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 62px;
    max-width: 1320px;
    border: 1px solid var(--gold-line);
    background: var(--gold-line);
}

/* Style each signal cell as black with gold labels. */
.signal {
    padding: 24px;
    background: #000000;
}

/* Style signal labels. */
.signal strong {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-light);
    font-size: 0.98rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Style signal text. */
.signal span {
    color: var(--muted);
    font-size: 1rem;
}

/* Create standard sections. */
.section {
    padding: 86px 0;
    border-bottom: 1px solid var(--line);
}

/* Create split sections with more horizontal room. */
.split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 84px;
    align-items: start;
}

/* Create a text block that is readable but not cramped. */
.copy {
    max-width: 860px;
}

/* Create a simple grid of service blocks. */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* Create a three-card variant. */
.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Style cards as stark black panels with gold top border. */
.card {
    min-height: 230px;
    padding: 30px;
    background: #000000;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
}

/* Make card borders brighter on hover without changing background. */
.card:hover {
    border-color: var(--gold-line);
    border-top-color: var(--gold-light);
}

/* Style card labels. */
.kicker {
    margin-bottom: 14px;
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 950;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Style plain lists. */
.clean-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

/* Add spacing between list items. */
.clean-list li {
    margin-bottom: 10px;
}

/* Create a firm black-and-gold contact block. */
.callout {
    max-width: 1320px;
    padding: 42px;
    background: #000000;
    border: 1px solid var(--gold-line);
    border-left: 6px solid var(--gold);
}

/* Style inner page hero sections. */
.page-hero {
    padding: 86px 0 64px;
    border-bottom: 1px solid var(--line);
}

/* Style contact boxes without gradients. */
.contact-box {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px 24px;
    background: #000000;
    border: 1px solid var(--gold-line);
}

/* Style contact labels. */
.contact-box span {
    color: var(--subtle);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Limit legal page width for readability. */
.legal {
    max-width: 980px;
}

/* Style legal text for readability. */
.legal p,
.legal li {
    color: var(--muted);
}

/* Style the footer. */
.site-footer {
    padding: 34px 0;
    background: #000000;
    color: var(--subtle);
    border-top: 1px solid var(--gold-line);
}

/* Arrange footer contents. */
.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Arrange footer links. */
.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* Style small utility text. */
.small {
    font-size: 0.92rem;
}

/* Stack layouts on smaller screens. */
@media (max-width: 1020px) {
    .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .card-grid,
    .card-grid.three,
    .signal-row {
        grid-template-columns: 1fr;
    }
}

/* Adjust spacing for phones. */
@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .hero {
        padding: 62px 0 66px;
    }

    .hero-logo {
        width: min(230px, 75vw);
        margin-bottom: 36px;
    }

    .eyebrow {
        font-size: 0.86rem;
    }

    h1 {
        font-size: clamp(2.25rem, 11vw, 3.75rem);
    }

    .section {
        padding: 68px 0;
    }

    .callout {
        padding: 30px 24px;
    }
}
