/* =========================================================
   Inusah Iddrisu — AdelgaCode
   Design tokens
   ========================================================= */
:root {
    /* Color */
    --ink: #10131a;          /* primary dark surface */
    --ink-soft: #1a2029;      /* raised dark surface */
    --paper: #f4f2ec;         /* primary light surface */
    --paper-line: #e2ded0;    /* hairline on light surface */
    --text: #15181f;         /* body text on light */
    --text-on-dark: #eceae2; /* body text on dark */
    --muted: #565f6b;        /* secondary text on light */
    --muted-on-dark: #a9b0ba;/* secondary text on dark */
    --gold: #b9862e;         /* accent — brass/gold */
    --gold-bright: #d6a94a;
    --teal: #1f4b45;         /* accent surface — deep teal */
    --teal-soft: #2f6f62;

    /* Type */
    --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
}

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

main {
    padding: 0;
}

#hero {
    padding-top: 6rem;
}

.section-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 6%;
}

/* Reusable mono "eyebrow" tag — echoes the data/code register of the work */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

/* =========================================================
   NAVBAR — left exactly as supplied
   ========================================================= */
.navbar {
    width: 100%;
    padding: 1rem 6%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(10, 12, 28);
    border-bottom: 1px solid rgba(207, 246, 10, 0.12);
    z-index: 1000;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.blue {
    color: #4285F4;
}

.red {
    color: #EA4335;
}

.yellow {
    color: #FBBC05;
}

.green {
    color: #34A853;
}

.logo:hover {
    color: #0d0f1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(207, 246, 10, 0.25);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #e7e7ef;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #cff60a;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #cff60a;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: #cff60a;
}

.navbar.scrolled {
    padding: 0.65rem 6%;
    background: rgba(10, 12, 28, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #f8f6f6;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: #cff60a;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #cff60a;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 0.6rem);
        right: 6%;
        left: 6%;
        background: rgba(13, 15, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        gap: 1.1rem;
        padding: 1.5rem;
        border: 1px solid rgba(207, 246, 10, 0.15);
        border-radius: 12px;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-links.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        display: block;
        width: 100%;
        color: #fff;
        font-weight: 500;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li:last-child a {
        display: inline-block;
        text-align: center;
    }
}

/* =========================================================
   HERO
   ========================================================= */
#hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4rem;
    padding: 8rem 6% 5rem;
    background-color: var(--ink);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.09) 1px, transparent 0);
    background-size: 26px 26px;
    color: var(--text-on-dark);
    overflow: hidden;
}

/* soft directional glow behind the portrait, not a flat overlay */
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 78% 45%, rgba(185,134,46,0.16), transparent 65%),
        linear-gradient(180deg, rgba(16,19,26,0.2), rgba(16,19,26,0.85));
    z-index: 0;
}

#hero > * {
    position: relative;
    z-index: 1;
}

.hero-text .eyebrow {
    color: var(--gold-bright);
    margin-bottom: 1.4rem;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.6vw, 3.75rem);
    font-weight: 600;
    color: #fbfaf6;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 1.4rem;
}

.hero-text .subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-on-dark);
    max-width: 520px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-text .support {
    font-size: 1rem;
    color: var(--muted-on-dark);
    max-width: 480px;
    font-weight: 400;
    margin-bottom: 2.4rem;
}

/* HERO BUTTONS */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    text-decoration: none;
    padding: 0.85rem 1.9rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn.primary {
    background: var(--gold);
    border: 1.5px solid var(--gold);
    color: #14120a;
}

.btn.primary:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    border: 1.5px solid rgba(236, 234, 226, 0.4);
    color: var(--text-on-dark);
}

.btn.secondary:hover {
    border-color: var(--text-on-dark);
    background: rgba(236, 234, 226, 0.08);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

/* HERO IMAGE */
.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(236, 234, 226, 0.14);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
    #hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: unset;
        padding: 7.5rem 6% 4rem;
        gap: 2.5rem;
    }

    .hero-text .eyebrow {
        justify-content: center;
    }

    .hero-text .subtitle,
    .hero-text .support {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 240px;
    }
}

/* ===== HERO ENTRANCE STATES ===== */
.hero-text,
.hero-image {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-image {
    transition-delay: 0.15s;
}

.hero-visible .hero-text,
.hero-visible .hero-image {
    opacity: 1;
    transform: translateY(0);
}

.hero-text h1 { transition-delay: 0.1s; }
.hero-text .subtitle { transition-delay: 0.25s; }
.hero-text .support { transition-delay: 0.4s; }
.hero-buttons { transition-delay: 0.55s; }

/* =========================================================
   WHAT I DO — focus-area cards
   ========================================================= */
.about-preview {
    padding: 6rem 6%;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-line);
}

.about-preview-container {
    max-width: var(--container);
    margin: auto;
}

.about-preview .eyebrow {
    color: var(--teal-soft);
    margin-bottom: 1rem;
}

.about-preview h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.1rem;
    max-width: 20ch;
}

.about-preview > .about-preview-container > p {
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 62ch;
    margin-bottom: 1.4rem;
    color: var(--muted);
    font-weight: 400;
}

.about-preview strong a {
    color: var(--teal-soft);
    text-decoration: underline;
    text-decoration-color: rgba(47, 111, 98, 0.35);
    text-underline-offset: 3px;
}

/* Focus-area cards */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.8rem 0 3rem;
}

.focus-card {
    background: #fff;
    border: 1px solid var(--paper-line);
    border-radius: 12px;
    padding: 1.9rem 1.7rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.focus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(185, 134, 46, 0.4);
    box-shadow: 0 20px 40px -24px rgba(16, 19, 26, 0.35);
}

.focus-card .tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(185, 134, 46, 0.1);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    margin-bottom: 1rem;
}

.focus-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.focus-card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
}

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

.hero-buttons.inline-cta {
    margin-top: 0.5rem;
}

/* =========================================================
   APPROACH / CONTACT SECTION
   ========================================================= */
.contact-page {
    position: relative;
    padding: 6rem 6%;
    background: var(--teal);
    color: var(--text-on-dark);
    overflow: hidden;
}

.contact-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
    background-size: 24px 24px;
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.header-ontop {
    text-align: center;
}

.header-ontop .eyebrow {
    color: var(--gold-bright);
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-page h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #fbfaf6;
    margin-bottom: 1.4rem;
}

.contact-page .lead {
    font-size: 1.1rem;
    line-height: 1.85;
    text-align: center;
    color: rgba(236, 234, 226, 0.88);
    font-weight: 400;
    margin: 0 auto 2.2rem;
    max-width: 56ch;
}

.contact-btn {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    background: var(--gold);
    color: #14120a;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 8px;
    border: 1.5px solid var(--gold);
    transition: all 0.25s ease;
}

.contact-btn:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    transform: translateY(-2px);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    padding: 3.5rem 6% 2.5rem;
    background: var(--ink);
    border-top: 1px solid rgba(236, 234, 226, 0.08);
}

.footer-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold-bright);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.footer-role {
    font-size: 0.92rem;
    color: var(--muted-on-dark);
    margin-bottom: 1.6rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.footer-socials .social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(236, 234, 226, 0.16);
    color: var(--text-on-dark);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-socials .social:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    color: var(--gold-bright);
}

.footer-socials .social.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--muted-on-dark);
}