/* ODD LLC v7 (FINAL) - 2026-05-11
   v7 deltas vs v6 (3 sizing-consistency tweaks):
   - .why-image max-width 420 (was 520) to match .hero-image
   - .service-image fixed height 360px + cream-deep bg + contain
   - .capsule-image fixed height 200px + cream-deep bg + contain
   All other styles identical to v6. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --teal: #1A6B70;
    --teal-dark: #134F53;
    --teal-light: #2A8B91;
    --charcoal: #2C2C2E;
    --gray: #4A4A4C;
    --gray-soft: #6B6B6D;
    --cream: #F5F2E8;
    --cream-deep: #EEE9D8;
    --ivory: #FAFAF7;
    --gold: #C99A3F;
    --gold-deep: #8C6420;
    --rule: #D8D4C7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

html, body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

body.about-page {
    background-image:
        linear-gradient(rgba(245, 242, 232, 0.92), rgba(245, 242, 232, 0.92)),
        url('assets/24_About_Engineer_at_Work.jpg');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    background-color: var(--cream);
}
@media (max-width: 900px) {
    body.about-page { background-attachment: scroll, scroll; }
}
body.about-page .section-label { color: var(--teal); }

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

img, video { display: block; max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}
.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============ Nav ============ */
nav.topnav {
    position: sticky; top: 0;
    background: rgba(245, 242, 232, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
    z-index: 100;
}
body.about-page nav.topnav { background: rgba(245, 242, 232, 0.88); }
nav.topnav .container {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 22px; padding-bottom: 22px;
}
.logo {
    font-weight: 800; font-size: 22px;
    letter-spacing: 0.3px; color: var(--teal); line-height: 1;
}
nav.topnav ul { display: flex; list-style: none; gap: 36px; }
nav.topnav ul a {
    color: var(--charcoal); font-weight: 500; font-size: 15px;
}
nav.topnav ul a:hover { color: var(--teal); text-decoration: none; }
nav.topnav ul a.active { color: var(--teal); }

/* ============ Section labels ============ */
.section-label {
    font-size: 12px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 18px;
}

/* ============ Buttons ============ */
.btn {
    display: inline-block;
    background: var(--teal); color: var(--cream);
    padding: 16px 34px; border-radius: 4px;
    font-weight: 600; font-size: 15px; letter-spacing: 0.3px;
    transition: all 0.18s;
    border: none; cursor: pointer; font-family: inherit;
}
.btn:hover {
    background: var(--teal-dark); color: var(--cream);
    text-decoration: none; transform: translateY(-1px);
}

/* ============ Home hero ============ */
.hero { padding: 88px 0 110px; }
.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}
.hero h1 {
    font-size: 58px; font-weight: 800;
    line-height: 1.05; letter-spacing: -2px;
    color: var(--charcoal);
}
.hero h1 .accent { color: var(--teal); }
.hero .subhead {
    font-size: 22px; color: var(--gray);
    margin-top: 28px; line-height: 1.5;
    font-weight: 400; max-width: 540px;
}
.hero .ctas {
    margin-top: 40px;
    display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.hero .secondary-cta {
    margin-top: 22px; font-size: 14px; color: var(--gray-soft);
}
.hero .secondary-cta a {
    color: var(--teal);
    border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(26, 107, 112, 0.12);
    max-width: 420px;
    margin: 0 auto;
}
.hero-image img { width: 100%; height: auto; display: block; }

/* ============ Page hero split (Cap + Contact) ============ */
.page-hero-split { padding: 64px 0 40px; }
.page-hero-split .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}
.page-hero-split h1 {
    font-size: 46px; font-weight: 800;
    letter-spacing: -1.5px; color: var(--charcoal);
    margin-bottom: 20px; line-height: 1.08;
}
.page-hero-split .subhead {
    font-size: 19px; color: var(--gray);
    line-height: 1.55; max-width: 540px;
}
.page-hero-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(26, 107, 112, 0.12);
    max-width: 420px;
    margin: 0 auto;
}
.page-hero-image img, .page-hero-image video {
    width: 100%; height: auto; display: block;
}

.page-hero-text-only { padding: 96px 0 32px; }
.page-hero-text-only .container { max-width: 960px; }
.page-hero-text-only h1 {
    font-size: 50px; font-weight: 800;
    letter-spacing: -1.6px; color: var(--charcoal);
    margin-bottom: 22px; line-height: 1.06;
    max-width: 880px;
}
.page-hero-text-only .subhead {
    font-size: 20px; color: var(--gray);
    max-width: 760px; line-height: 1.55;
}

/* ============ Home cards (fixed 220px media) ============ */
.what-i-do {
    padding: 100px 0;
    background: var(--ivory);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.what-i-do h2 {
    font-size: 44px; font-weight: 800;
    letter-spacing: -1.2px; color: var(--charcoal);
    margin-bottom: 52px; max-width: 540px; line-height: 1.1;
}
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.card {
    background: var(--cream);
    border-radius: 6px;
    border: 1px solid var(--rule);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 107, 112, 0.1);
}
.card-media {
    height: 220px;
    background: var(--cream-deep);
    overflow: hidden;
    flex: 0 0 auto;
}
.card-media img, .card-media video {
    width: 100%; height: 100%;
    object-fit: contain; display: block;
}
.card-body { padding: 28px 30px 32px; flex: 1 1 auto; }
.card-body h3 {
    font-size: 22px; font-weight: 700; color: var(--charcoal);
    margin-bottom: 12px; letter-spacing: -0.3px;
}
.card-body p {
    font-size: 15.5px; color: var(--gray); line-height: 1.65;
}

/* ============ Why ODD (v7: why-image max-width matches hero-image) ============ */
.why { padding: 100px 0; }
.why .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.why h2 {
    font-size: 42px; font-weight: 800;
    letter-spacing: -1.2px; color: var(--charcoal);
    margin-bottom: 26px; line-height: 1.1;
}
.why p {
    font-size: 18px; color: var(--gray);
    line-height: 1.7; max-width: 520px;
}
.why-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(26, 107, 112, 0.12);
    max-width: 420px;
    margin: 0 auto;
}
.why-image video, .why-image img { width: 100%; height: auto; display: block; }

/* ============ Quote band ============ */
.quote-band {
    background: var(--teal); color: var(--cream);
    padding: 92px 0; text-align: center;
}
.quote-band blockquote {
    font-size: 42px; font-weight: 800;
    line-height: 1.22; letter-spacing: -0.8px;
    max-width: 920px; margin: 0 auto;
}

/* ============ Closing CTA ============ */
.closing-cta {
    background: var(--cream-deep);
    padding: 92px 0; text-align: center;
}
.closing-cta h2 {
    font-size: 42px; font-weight: 800;
    letter-spacing: -1.2px; color: var(--charcoal);
    line-height: 1.15; max-width: 760px; margin: 0 auto 36px;
}

/* ============ Footer ============ */
footer {
    background: var(--charcoal);
    color: rgba(245, 242, 232, 0.72);
    padding: 56px 0 32px; font-size: 13px;
}
footer a {
    color: rgba(245, 242, 232, 0.92);
    border-bottom: 1px solid transparent;
}
footer a:hover {
    color: var(--cream);
    border-bottom-color: rgba(245, 242, 232, 0.5);
    text-decoration: none;
}
footer .footer-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: start;
}
footer .footer-brand strong {
    color: var(--cream); font-weight: 700;
    font-size: 18px; letter-spacing: 0.3px;
    display: block; margin-bottom: 8px;
}
footer .footer-brand .tagline {
    color: rgba(245, 242, 232, 0.6);
    font-size: 13px; line-height: 1.7;
}
footer .footer-meta {
    text-align: right; line-height: 1.85; font-size: 13.5px;
}
footer .footer-credentials {
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid rgba(245, 242, 232, 0.12);
    font-size: 11.5px; color: rgba(245, 242, 232, 0.55);
    line-height: 1.8;
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}

/* ============ Capabilities service rows (v7: fixed 360px height + contain) ============ */
.services-list { padding: 24px 0 96px; }
.services-list .container > .service-row {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--rule);
}
.services-list .container > .service-row:last-child { border-bottom: none; }
.services-list .container > .service-row:nth-child(even) .service-image { order: 2; }
.services-list .container > .service-row:nth-child(even) .service-text { order: 1; }
.service-image {
    height: 360px;
    max-width: 480px;
    margin: 0 auto;
    background: var(--cream-deep);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(26, 107, 112, 0.10);
}
.service-image img, .service-image video {
    width: 100%; height: 100%;
    object-fit: contain; display: block;
}
.service-text h3 {
    font-size: 30px; font-weight: 700;
    color: var(--charcoal); letter-spacing: -0.7px;
    margin-bottom: 16px; line-height: 1.15;
}
.service-text .service-kicker {
    font-size: 11px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 12px;
}
.service-text p {
    font-size: 17px; color: var(--gray);
    line-height: 1.7; max-width: 520px;
}

/* ============ Differentiators ============ */
.differentiators {
    background: var(--ivory);
    padding: 80px 0;
    border-top: 1px solid var(--rule);
}
.differentiators h2 {
    font-size: 36px; font-weight: 700;
    color: var(--charcoal); letter-spacing: -0.8px;
    margin-bottom: 32px;
}
.differentiators ul {
    list-style: none; max-width: 920px;
}
.differentiators li {
    font-size: 17px; color: var(--gray);
    line-height: 1.7; margin-bottom: 16px;
    padding-left: 28px; position: relative;
}
.differentiators li::before {
    content: ""; position: absolute;
    left: 0; top: 13px;
    width: 14px; height: 1.5px; background: var(--teal);
}

/* ============ About sections ============ */
.about-section {
    padding: 80px 0;
    border-top: 1px solid var(--rule);
}
.about-section h2 {
    font-size: 36px; font-weight: 700;
    color: var(--charcoal); letter-spacing: -0.7px;
    margin-bottom: 32px;
}
.bio-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: start;
}
.bio-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(26, 107, 112, 0.10);
    max-width: 360px;
    margin: 0 auto;
}
.bio-image img { width: 100%; height: auto; display: block; }
.bio-text .name {
    font-size: 22px; font-weight: 700;
    color: var(--teal); margin-bottom: 18px;
    letter-spacing: -0.3px;
}
.bio-text p {
    font-size: 16px; color: var(--gray);
    line-height: 1.75; margin-bottom: 16px;
}
.bio-text p strong { color: var(--charcoal); font-weight: 600; }

/* ============ About capsules (v7.1: consistent layout - body left, image right for ALL capsules) ============ */
.capsule-row {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
    margin-bottom: 32px;
}
.capsule-row .capsule-image { order: 2; }
.capsule-row .capsule-body { order: 1; }
.capsule-image {
    height: 200px;
    max-width: 280px;
    background: var(--cream-deep);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(26, 107, 112, 0.10);
}
.capsule-image img, .capsule-image video {
    width: 100%; height: 100%;
    object-fit: contain; display: block;
}
.capsule-body {
    background: rgba(250, 250, 247, 0.92);
    border-left: 3px solid var(--teal);
    padding: 24px 28px;
    border-radius: 0 6px 6px 0;
}
.capsule-body h3 {
    font-size: 17px; font-weight: 700; color: var(--charcoal);
    margin-bottom: 10px; letter-spacing: -0.2px;
    line-height: 1.3;
}
.capsule-body p {
    font-size: 15px; color: var(--gray); line-height: 1.7;
}
.capsule-intro {
    font-size: 14px; color: var(--gray-soft);
    font-style: italic; max-width: 800px;
    margin-bottom: 32px; line-height: 1.65;
}

.cap-data dl {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px 36px;
    font-size: 15px; max-width: 940px;
}
.cap-data dt { color: var(--gray-soft); font-weight: 500; }
.cap-data dd { color: var(--charcoal); }
.download-cta { margin-top: 40px; }

/* ============ Contact ============ */
.contact-section { padding: 24px 0 100px; }
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 72px;
}
.contact-form label {
    display: block;
    font-size: 12px; font-weight: 700;
    color: var(--gray-soft);
    margin-bottom: 8px; margin-top: 22px;
    letter-spacing: 1.2px; text-transform: uppercase;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form textarea {
    width: 100%; padding: 13px 16px;
    border: 1px solid var(--rule); border-radius: 4px;
    font-family: inherit; font-size: 15px;
    background: var(--ivory); color: var(--charcoal);
    transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none; border-color: var(--teal);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .submit-row { margin-top: 28px; }

/* ============ Form status banners (sent/error after submission) ============ */
.form-status {
    display: none;
    padding: 14px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.5;
}
.form-status.show { display: block; }
.form-status.sent {
    background: rgba(26, 107, 112, 0.10);
    color: var(--teal-dark);
    border-left: 3px solid var(--teal);
}
.form-status.error {
    background: #FAEBE5;
    color: #6B2E1F;
    border-left: 3px solid #B0341B;
}
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.direct-contact h3 {
    font-size: 12px; font-weight: 700;
    color: var(--gray-soft);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.direct-contact dl { font-size: 15px; line-height: 1.85; }
.direct-contact dt {
    color: var(--gray-soft); font-size: 11px;
    font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; margin-top: 18px;
}
.direct-contact dt:first-child { margin-top: 0; }
.direct-contact dd {
    color: var(--charcoal); font-size: 16px; font-weight: 500;
}

/* ============ Mobile ============ */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding: 56px 0 64px; }
    .hero h1 { font-size: 34px; letter-spacing: -1.1px; }
    .hero .subhead { font-size: 17px; }
    .hero-image { max-width: 380px; }

    .cards-3 { grid-template-columns: 1fr; gap: 18px; }
    .card-media { height: 200px; }
    .what-i-do, .why { padding: 64px 0; }
    .what-i-do h2, .why h2 { font-size: 30px; }
    .why .container { grid-template-columns: 1fr; gap: 40px; }
    .why-image { max-width: 380px; }

    .quote-band { padding: 56px 0; }
    .quote-band blockquote { font-size: 26px; letter-spacing: -0.4px; }
    .closing-cta { padding: 56px 0; }
    .closing-cta h2 { font-size: 28px; }

    .page-hero-split { padding: 40px 0 24px; }
    .page-hero-split .container { grid-template-columns: 1fr; gap: 36px; }
    .page-hero-split h1 { font-size: 32px; letter-spacing: -1px; }
    .page-hero-image { max-width: 320px; }

    .page-hero-text-only { padding: 56px 0 24px; }
    .page-hero-text-only h1 { font-size: 32px; }

    .services-list .container > .service-row {
        grid-template-columns: 1fr; gap: 22px; padding: 44px 0;
    }
    .services-list .container > .service-row:nth-child(even) .service-image { order: 1; }
    .services-list .container > .service-row:nth-child(even) .service-text { order: 2; }
    .service-image { max-width: 420px; height: 300px; }
    .service-text h3 { font-size: 24px; }

    .differentiators { padding: 56px 0; }
    .differentiators h2 { font-size: 28px; }

    .about-section { padding: 56px 0; }
    .about-section h2 { font-size: 28px; }
    .bio-row { grid-template-columns: 1fr; gap: 28px; }
    .bio-image { max-width: 320px; }
    .capsule-row { grid-template-columns: 1fr; gap: 18px; }
    .capsule-row .capsule-image { order: 1; }
    .capsule-row .capsule-body { order: 2; }
    .capsule-image { max-width: 320px; height: 180px; }

    /* Form status banner mobile sizing */
    .form-status { font-size: 14px; padding: 12px 16px; }

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-section { padding: 16px 0 64px; }

    .cap-data dl { grid-template-columns: 1fr; gap: 6px 0; }
    .cap-data dt { margin-top: 14px; }

    footer .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    footer .footer-meta { text-align: left; }

    nav.topnav ul { gap: 20px; }
    nav.topnav ul a { font-size: 14px; }
    .logo { font-size: 19px; }
}
