/* filename: style.css */
/* ============================================= */
/* Thomas Ireland - Site Styles                  */
/* ============================================= */


/* ---------------------------------------------
   COLORS AND FONTS (edit values here)
--------------------------------------------- */
:root {
    --bg:           #ffffff;   /* page background (white) */
    --band:         #0d0d0f;   /* dark header band */
    --bg-soft:      #f4f5f7;   /* card background (cool gray) */
    --ink:          #0d0d0f;   /* main text color (near-black) */
    --ink-soft:     #27272a;   /* secondary text color */
    --rule:         #e4e4e7;   /* divider lines */
    --accent:       #1a56db;   /* accent color (signal blue) */
    --accent-light: #60a5fa;   /* accent on dark backgrounds */
    --on-band:      #fafafa;   /* primary text on the dark band */
    --on-band-soft: #d4d4d8;   /* secondary text on the dark band */

    --serif: "Spectral", Georgia, serif;
    --sans:  "Inter", system-ui, sans-serif;
    --mono:  "IBM Plex Mono", "Courier New", monospace;
}


/* ---------------------------------------------
   BASE RESET
--------------------------------------------- */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--serif);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    min-height: 100vh;
}


/* ---------------------------------------------
   HEADER BAND (full-bleed dark masthead)
--------------------------------------------- */
.masthead {
    background: var(--band);
    padding: 5rem 1.5rem 3.5rem;
}

.masthead-inner {
    max-width: 680px;
    margin: 0 auto;
}


/* ---------------------------------------------
   LAYOUT
--------------------------------------------- */
.wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem;
}

section {
    margin: 3.5rem 0;
}


/* ---------------------------------------------
   HEADER TEXT (sits on the dark band)
--------------------------------------------- */
.eyebrow {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin: 0 0 0.7rem;
}

h1 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 3.4rem;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--on-band);
    margin: 0 0 1rem;
}

.lede {
    font-family: var(--serif);
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--on-band-soft);
    max-width: 32em;
    margin: 0;
    font-weight: 400;
}

.tagline {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--accent-light);
    margin: 0.85rem 0 0;
}


/* ---------------------------------------------
   SECTION HEADINGS
--------------------------------------------- */
h2 {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--rule);
}


/* ---------------------------------------------
   BODY TEXT AND LINKS
--------------------------------------------- */
p {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 1rem;
}

p strong {
    color: var(--ink);
    font-weight: 600;
}

a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

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


/* ---------------------------------------------
   LISTS
--------------------------------------------- */
ul {
    margin: 0 0 1rem;
    padding-left: 1.3rem;
}

li {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}

li::marker {
    color: var(--accent);
}


/* ---------------------------------------------
   PROJECT CARD (The MP3 Thing)
--------------------------------------------- */
.project {
    padding: 1.5rem 1.5rem 1.75rem;
    background: var(--bg-soft);
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.project h3 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.45rem;
    margin: 0 0 0.4rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.project .status {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.9rem;
}

.project p {
    margin: 0;
    font-size: 1rem;
}


/* ---------------------------------------------
   CONTACT LINES
--------------------------------------------- */
.contact-line {
    font-family: var(--mono);
    font-size: 1rem;
    margin: 0.4rem 0;
}

.contact-line .label {
    display: inline-block;
    width: 5.5em;
    color: var(--ink-soft);
}


/* ---------------------------------------------
   CONTACT FORM
--------------------------------------------- */
.contact-form {
    margin-top: 2rem;
    max-width: 28em;
}

.contact-form label {
    display: block;
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 1.1rem 0 0.35rem;
}

.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--rule);
    border-radius: 3px;
}

.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 1.25rem;
    padding: 0.6rem 1.7rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--ink);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: var(--accent);
}

/* Honeypot field: hidden from humans */
.contact-form .hp {
    position: absolute;
    left: -9999px;
}

/* Status line after submitting */
.form-status {
    font-family: var(--mono);
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
}

.form-status.ok {
    color: #15803d;
}

.form-status.err {
    color: #b91c1c;
}


/* ---------------------------------------------
   FOOTER
--------------------------------------------- */
footer {
    margin-top: 5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--ink-soft);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

footer .copy {
    letter-spacing: 0.05em;
}

footer .location {
    letter-spacing: 0.1em;
}


/* ---------------------------------------------
   MOBILE STYLES
--------------------------------------------- */
@media (max-width: 540px) {
    .masthead {
        padding: 3.5rem 1.25rem 2.75rem;
    }
    .wrap {
        padding: 2.75rem 1.25rem 3rem;
    }
    section {
        margin: 2.75rem 0;
    }
    h1 {
        font-size: 2.4rem;
    }
    .lede {
        font-size: 1.1rem;
    }
    p {
        font-size: 1.04rem;
    }
    li {
        font-size: 1.04rem;
    }
    .contact-line .label {
        width: 4.5em;
    }
}
