/* ============================================
   Jay Roman — Technical Delivery Architect
   ============================================ */

:root {
    --bg: #141414;
    --bg-alt: #1c1c1c;
    --fg: #e8e6e1;
    --fg-muted: #908d85;
    --accent: #d4854a;
    --rule: #2a2a2a;
    --sans: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--fg);
    font-size: 1.05rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Navigation ---- */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
}

.nav-name {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fg);
}

.nav-name:hover { text-decoration: none; color: var(--accent); }
a:hover { text-decoration-color: var(--accent); }

.nav-links { display: flex; gap: 2rem; }

.nav-links a {
    font-size: 0.88rem;
    color: var(--fg-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); text-decoration: none; }

/* ---- Hero ---- */
.hero {
    max-width: 820px;
    padding: 4rem 3rem 3.5rem;
}

.hero-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--sans);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--fg-muted);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--fg-muted);
    max-width: 600px;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.cta-link {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
    transition: padding-bottom 0.2s;
}

.cta-link:hover {
    text-decoration: none;
    padding-bottom: 5px;
}

/* ---- Services ---- */
.services {
    background: var(--bg-alt);
    padding: 3.5rem 3rem;
}

.services-header {
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.services-header h2 {
    font-family: var(--sans);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.services-header p {
    color: var(--fg-muted);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.service {
    background: var(--bg);
    padding: 2rem;
}

.service-number {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.service h3 {
    font-family: var(--sans);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.service p {
    color: var(--fg-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---- Process ---- */
.process {
    padding: 3.5rem 3rem;
    max-width: 900px;
}

.process h2 {
    font-family: var(--sans);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-line {
    width: 100%;
    height: 2px;
    background: var(--rule);
    margin-bottom: 1.5rem;
    position: relative;
}

.step-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.step h3 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.step p {
    font-size: 0.88rem;
    color: var(--fg-muted);
    line-height: 1.6;
}

/* ---- Closing / CTA ---- */
.closing {
    border-top: 1px solid var(--rule);
    padding: 3.5rem 3rem;
    max-width: 700px;
}

.closing h2 {
    font-family: var(--sans);
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.closing p {
    color: var(--fg-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ---- Contact Form ---- */
.contact-form {
    margin-top: 1.5rem;
    max-width: 500px;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--rule);
    color: var(--fg);
    font-family: var(--sans);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--fg-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 1rem;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.contact-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.contact-form button:hover {
    opacity: 0.85;
}

/* ---- Footer ---- */
footer {
    display: flex;
    justify-content: space-between;
    padding: 2rem 3rem;
    border-top: 1px solid var(--rule);
    font-size: 0.82rem;
    color: var(--fg-muted);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { gap: 1.25rem; }

    .hero { padding: 4rem 1.5rem 3rem; }
    .hero h1 { font-size: 2rem; }

    .services { padding: 3rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }

    .process { padding: 3rem 1.5rem; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }

    .closing { padding: 3rem 1.5rem; }
    .closing h2 { font-size: 1.6rem; }
    .form-row { flex-direction: column; }

    footer { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .nav-links a:first-child { display: none; }
    .process-steps { grid-template-columns: 1fr; }
}
