/* ------------------------------------------------------------------
   MetallicGloss portfolio - main stylesheet
   Theme tokens preserved from original design:
   charcoal #252525 / #1B1B1B, light #F5F5F5, text #E5E5E5,
   accent purple #A367DF, muted #939393
------------------------------------------------------------------- */

:root {
    --bg-dark: #252525;
    --bg-darker: #1B1B1B;
    --bg-light: #F5F5F5;
    --text-light: #E5E5E5;
    --text-dark: #252525;
    --text-muted: #939393;
    --accent: #A367DF;
    --accent-bright: #C79EF2;
    --accent-glow: rgba(163, 103, 223, 0.45);
    --line-dark: #333333;
    --line-light: #D6D6D6;
    --font-display: 'Bebas Neue', cursive;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Raleway', sans-serif;
    --font-mono: 'Source Code Pro', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    padding: 0;
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-dark);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent);
}

::-webkit-scrollbar {
    width: 8px;
    background-color: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

@media (min-width: 1500px) {
    .container {
        max-width: 1400px;
    }
}

/* ---------------------------------------------------------------
   Decorative elements
--------------------------------------------------------------- */

.deco-line {
    position: absolute;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.deco-line-v {
    height: 100%;
    top: 0;
    border-right: 1px solid var(--line-dark);
}

.deco-line-light {
    border-right-color: var(--line-light);
}

#hero-line-one { left: 80%; }
#hero-line-two { left: 89%; }
#info-line-one { left: 80%; }
#info-line-two { left: 89%; }

.deco-plus {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

#plus-one { left: 80%; top: 120px; margin-left: -7px; }
#plus-two { left: 42%; bottom: 80px; }

.hero-grid-dots {
    position: absolute;
    top: 40px;
    right: 4%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .deco-line, .deco-plus, .hero-grid-dots {
        display: none;
    }
}

/* ---------------------------------------------------------------
   Hero
--------------------------------------------------------------- */

.hero {
    background: var(--bg-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 3;
}

.hero-logo-link {
    display: block;
}

.hero-logo {
    height: 70px;
    width: auto;
    display: block;
}

.hero-nav {
    display: flex;
    gap: 28px;
}

.hero-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.hero-nav a:hover, .hero-nav a:focus {
    color: var(--accent-bright);
    text-shadow: 0 0 14px var(--accent-glow);
}

.hero-main {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 60px;
    align-items: center;
    padding: 72px 0 80px;
}

.hero-welcome {
    order: 2;
}

.hero-terminal {
    order: 1;
    min-width: 0;
}

.hero-welcome .intro {
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.hero-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(58px, 9vw, 102px);
    line-height: 0.95;
    margin: 0 0 30px 0;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.hero-name-outline span {
    color: var(--bg-dark);
    text-shadow: -1px -1px 0 var(--text-light), 1px -1px 0 var(--text-light), -1px 1px 0 var(--text-light), 1px 1px 0 var(--text-light);
}

.hero-blurb {
    font-size: 16px;
    line-height: 1.7;
    color: #c9c9c9;
    max-width: 480px;
    margin: 0 0 30px 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-accent, .btn-ghost {
    display: inline-block;
    padding: 12px 26px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

.btn-accent:hover, .btn-accent:focus {
    background: #8d4fd0;
    border-color: #8d4fd0;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-light);
    border: 1px solid #4a4a4a;
}

.btn-ghost:hover, .btn-ghost:focus {
    border-color: var(--accent);
    color: var(--accent-bright);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Shorter desktop/laptop screens: compact the hero so it fits above the fold */
@media (min-width: 901px) and (max-height: 850px) {
    .hero-top {
        padding: 14px 0;
    }

    .hero-logo {
        height: 46px;
    }

    .hero-main {
        padding: 34px 0 36px;
        gap: 48px;
    }

    .hero-name {
        font-size: clamp(44px, 8.5vh, 72px);
        margin-bottom: 12px;
    }

    .hero-welcome .intro {
        font-size: 16px;
    }

    .hero-blurb {
        font-size: 15px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .btn-accent, .btn-ghost {
        padding: 10px 22px;
        font-size: 13px;
    }

    .term-screen {
        height: clamp(260px, 38vh, 350px);
    }

    .term {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .hero-main {
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 10px 0 60px;
    }

    .hero-welcome {
        order: 1;
    }

    .hero-terminal {
        order: 2;
    }

    .hero-logo {
        height: 56px;
    }

    .hero-nav {
        gap: 18px;
    }

    .hero-nav a {
        font-size: 13px;
    }
}

/* ---------------------------------------------------------------
   Terminal
--------------------------------------------------------------- */

.term {
    background: linear-gradient(180deg, #1B1B1B 0%, #212121 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid #383838;
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 1.55;
}

.term-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #161616;
    border-bottom: 1px solid #2e2e2e;
    padding: 10px 14px;
}

.term-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.term-dot-red { background: #ff5f57; }
.term-dot-yellow { background: #febc2e; }
.term-dot-green { background: #28c840; }

.term-title {
    margin-left: 10px;
    color: #8a8a8a;
    font-size: 12px;
}

.term-screen {
    padding: 16px 18px;
    height: clamp(360px, 48vh, 520px);
    overflow-y: auto;
    cursor: text;
    overflow-wrap: break-word;
}

.term-output .term-line {
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text-light);
    min-height: 1.2em;
}

.term-output .term-line a {
    color: var(--accent);
    text-decoration: underline;
}

.term-output .term-line .term-cmd-name {
    color: var(--accent);
    font-weight: 600;
}

.term-output .term-line .term-dim {
    color: #8a8a8a;
}

.term-output .term-banner {
    color: var(--accent);
    font-size: 11px;
    line-height: 1.25;
    overflow-x: auto;
}

.term-prompt {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.term-input-row {
    display: flex;
    align-items: baseline;
}

.term-input {
    flex: 1;
    min-width: 40px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-family: var(--font-mono);
    font-size: 13.5px;
    caret-color: var(--accent);
    padding: 0;
}

@media (max-width: 900px) {
    .term-screen {
        height: 380px;
    }

    .term {
        font-size: 13px;
    }
}

/* ---------------------------------------------------------------
   Information / About / Contact
--------------------------------------------------------------- */

.information {
    background-color: var(--bg-light);
    position: relative;
    padding: 90px 0;
}

.about-me {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 90px;
}

.about-label-text {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.14em;
    color: var(--text-dark);
    padding-top: 4px;
}

.about-label-separator {
    border-top: 1px solid #5C5C5C;
    width: 70px;
    margin-top: 14px;
}

.about-statement p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-dark);
    margin: 0 0 18px 0;
}

.about-statement .about-lead {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.4;
    color: var(--text-dark);
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
    margin: 28px 0 0 0;
    padding-top: 24px;
    border-top: 1px solid #D6D6D6;
}

.about-fact dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 4px 0;
}

.about-fact dd {
    font-size: 15px;
    color: var(--text-dark);
    margin: 0;
}

.social-contacts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.social-link svg {
    width: 44px;
    height: 44px;
    transition: filter 0.25s ease;
}

.social-link span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

.social-link:hover, .social-link:focus {
    color: var(--accent-bright);
}

.social-link:hover svg, .social-link:focus svg {
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

@media (max-width: 900px) {
    .information {
        padding: 60px 0;
    }

    .about-me {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 60px;
    }

    .about-label-separator {
        display: none;
    }

    .social-contacts {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 12px;
    }

    .social-link svg {
        width: 36px;
        height: 36px;
    }
}

/* ---------------------------------------------------------------
   Projects
--------------------------------------------------------------- */

.projects {
    background: var(--bg-dark);
}

.large-project {
    padding: 52px 0;
    position: relative;
    overflow: hidden;
    transition: background-color 0.25s ease;
}

#primenodes {
    background: linear-gradient(0deg, #2E2D2D 0%, #252525 78%);
}

#whmcsdiscord {
    background: #262626;
    border-top: 1px solid #393939;
}

#steamchatmanager {
    background: #272727;
    border-top: 1px solid #393939;
}

.project-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    align-items: center;
}

.numeric-col {
    display: flex;
    align-items: center;
    gap: 14px;
}

.numeric-bar {
    border-top: 1px solid #5C5C5C;
    flex: 1;
}

.numeric-col p {
    font-size: 13px;
    color: var(--accent);
    margin: 0;
}

.project-info {
    max-width: 540px;
}

.project-heading {
    margin: 0 0 12px 0;
}

/* The badge lives inside the h3 as inline content so it wraps with the
   title text itself (staying on the last line of a long title) instead
   of being forced onto its own line below a short-but-wide flex row. */
.project-info h3 {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.3;
    margin: 0;
}

.status-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #3f3f3f;
    border-radius: 20px;
    padding: 4px 12px;
    white-space: nowrap;
}

.status-badge--active {
    color: #3cb043;
    border-color: rgba(60, 176, 67, 0.4);
    background: rgba(60, 176, 67, 0.08);
}

/* Concluded via acquisition/merge rather than left to lapse - a
   distinct, neutral-positive blue rather than the muted "shelved" grey
   the default badge uses for plain archived projects. */
.status-badge--merged {
    color: #8ab4f8;
    border-color: rgba(138, 180, 248, 0.4);
    background: rgba(138, 180, 248, 0.08);
}

.project-description {
    font-size: 14px;
    line-height: 1.6;
    color: #D2D6DB;
    margin: 0 0 18px 0;
}

.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px 0;
}

.project-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 6px 12px;
    border: 1px solid #3a3a3a;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.project-stat-label {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-stat-value {
    color: #D2D6DB;
}

.project-highlights {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.project-highlights li {
    position: relative;
    font-size: 14px;
    line-height: 1.5;
    color: #D2D6DB;
    padding-left: 22px;
    margin-bottom: 6px;
}

.project-highlights li:last-child {
    margin-bottom: 0;
}

.project-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 1px;
    background: var(--accent);
}

.project-decor {
    position: relative;
    min-height: 200px;
    height: 100%;
}

.project-number-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The original design had the front screenshot shifted up-and-right,
   with this darkened duplicate peeking out lower-and-left from behind
   it - not the other way round (that read as broken/floating above
   rather than tucked behind). */
.project-img-secondary {
    position: absolute;
    top: 88px;
    left: -26px;
    width: 90%;
    filter: brightness(50%);
}

.project-img-primary {
    position: relative;
    width: 90%;
    /* box-shadow follows the element's rectangular box, not its actual
       (tilted, alpha-masked) pixel content - it was rendering as a
       mismatched rectangle showing through the image's transparent
       corners. filter:drop-shadow follows the visible pixel shape. */
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}

/* Rows without a preview image get a large outlined number instead,
   echoing the hero's METALLIC outline treatment, so the space reads as
   an intentional design accent rather than empty or overcrowded. */
.project-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(140px, 13vw, 220px);
    line-height: 1;
    letter-spacing: 0.02em;
    user-select: none;
}

#whmcsdiscord .project-number {
    color: #262626;
    text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.12), 1px -1px 0 rgba(255, 255, 255, 0.12), -1px 1px 0 rgba(255, 255, 255, 0.12), 1px 1px 0 rgba(255, 255, 255, 0.12);
}

#steamchatmanager .project-number {
    color: #272727;
    text-shadow: -1px -1px 0 rgba(255, 255, 255, 0.12), 1px -1px 0 rgba(255, 255, 255, 0.12), -1px 1px 0 rgba(255, 255, 255, 0.12), 1px 1px 0 rgba(255, 255, 255, 0.12);
}

.view-project {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.view-project .backing-circle {
    border-radius: 50%;
    width: 52px;
    height: 52px;
    background: #9C9C9C;
    opacity: 0.1;
    position: absolute;
    left: -25px;
    top: 50%;
    margin-top: -26px;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.view-project-label {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.view-project .arrow {
    margin-left: 12px;
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.view-project:hover .backing-circle, .view-project:focus-visible .backing-circle {
    opacity: 0.3;
    background: var(--accent);
}

.view-project:hover .arrow, .view-project:focus-visible .arrow {
    color: var(--accent-bright);
    text-shadow: 0 0 12px var(--accent-glow);
}

.view-project:hover .view-project-label, .view-project:focus-visible .view-project-label {
    color: var(--accent-bright);
}

@media (max-width: 1100px) {
    .project-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .numeric-col {
        max-width: 120px;
    }

    .project-decor {
        display: none;
    }
}

@media (max-width: 900px) {
    .large-project {
        padding: 48px 0;
    }
}

/* ---------------------------------------------------------------
   Why MetallicGloss
--------------------------------------------------------------- */

/* A deliberately bold, different-coloured "moment" - the only purple
   section on the page - so it reads as a fun aside rather than another
   charcoal content band blending into Projects on one side and Contact
   on the other. */
.why {
    background: linear-gradient(135deg, #6b3fa0 0%, #A367DF 55%, #8659c4 100%);
    padding: 110px 0;
    text-align: center;
}

.why-container {
    max-width: 640px;
}

.why-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 18px 0;
}

.why-mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 9vw, 96px);
    line-height: 1;
    letter-spacing: 0.01em;
    margin: 0 0 28px 0;
}

.why-mark-metallic {
    /* Same thin outline technique as the hero's METALLIC treatment: a
       fill colour close to the local background plus four 1px offset
       shadows, NOT text-stroke (which reads as noticeably chunkier at
       this weight/size no matter how far it's thinned down). */
    color: #7a4bb0;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
}

.why-mark-gloss {
    /* Static metallic sheen fill - no motion. */
    background: linear-gradient(120deg, #ffffff 0%, #e8e8e8 25%, #ffffff 48%, #cfd2d6 70%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.why-copy {
    font-size: 17px;
    line-height: 1.7;
    color: #f2ebfa;
    margin: 0 auto;
    max-width: 540px;
}

@media (max-width: 900px) {
    .why {
        padding: 70px 0;
    }

    .why-mark {
        margin-bottom: 20px;
    }

    .why-copy {
        font-size: 16px;
    }
}

/* ---------------------------------------------------------------
   Contact
--------------------------------------------------------------- */

.contact {
    background-color: var(--bg-light);
    padding: 90px 0;
}

/* One grid for the whole section - label on the left, intro copy AND
   the form itself sharing the same right-hand column - so the form
   lines up with the paragraph above it instead of being independently
   centered at a different width/position (which read as misaligned). */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-body {
    max-width: 620px;
}

.contact-intro p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.contact-intro p:last-child {
    margin-bottom: 20px;
}

/* Reusable status dot + label, e.g. "Not currently accepting new
   clients". Static - no pulsing/blinking. */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.status-indicator--closed .status-dot {
    background: #c23b3b;
    box-shadow: 0 0 0 3px rgba(194, 59, 59, 0.15);
}

.status-indicator--closed .status-indicator-label {
    color: #a53131;
}

.quote-card {
    background: #ffffff;
    border: 1px solid #E5E5E5;
    border-left: 3px solid #c23b3b;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 28px;
}

.quote-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.quote-card-copy {
    font-size: 14px;
    line-height: 1.6;
    color: #5C5C5C;
    margin: 0;
}

.quote-card .status-indicator {
    margin-top: 14px;
    margin-bottom: 18px;
}

.quote-card-eta {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #E5E5E5;
}

.quote-card-eta dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 4px 0;
}

.quote-card-eta dd {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-muted);
}

.form-field input,
.form-field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background: #ffffff;
    border: 1px solid #D6D6D6;
    border-radius: 4px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.form-status {
    min-height: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.form-status--success {
    color: #2f8f37;
}

.form-status--error {
    color: #c23b3b;
}

.form-submit {
    border: none;
    cursor: pointer;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.form-recaptcha-note {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 16px 0 0 0;
}

.form-recaptcha-note a {
    color: var(--text-muted);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .contact {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-body {
        max-width: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ---------------------------------------------------------------
   Footer
--------------------------------------------------------------- */

footer {
    background: var(--bg-darker);
    border-top: 1px solid #333;
}

footer p {
    text-align: center;
    color: #8a8a8a;
    font-size: 13px;
    margin: 0;
    padding: 30px 0;
}

/* ---------------------------------------------------------------
   Motion preferences
--------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.001s !important;
        animation-duration: 0.001s !important;
    }
}
