:root {
    --ink: #17211f;
    --muted: #52615d;
    --paper: #fbfaf7;
    --surface: #ffffff;
    --line: #dce4df;
    --teal: #176f72;
    --teal-dark: #0d4c4f;
    --coral: #d66853;
    --gold: #d8a744;
    --graphite: #252b2b;
    --shadow: 0 18px 60px rgba(23, 33, 31, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 56px);
    background: rgba(251, 250, 247, 0.92);
    border-bottom: 1px solid rgba(220, 228, 223, 0.8);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: var(--teal);
    border-radius: 8px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--ink);
    background: #edf4f1;
}

.hero {
    position: relative;
    min-height: calc(100vh - 68px);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--graphite);
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 24, 23, 0.84), rgba(9, 24, 23, 0.58) 38%, rgba(9, 24, 23, 0.12) 76%),
        linear-gradient(0deg, rgba(9, 24, 23, 0.28), rgba(9, 24, 23, 0));
}

.hero-content {
    position: relative;
    width: min(720px, calc(100% - 36px));
    margin: 0 0 clamp(56px, 10vh, 96px) clamp(18px, 7vw, 92px);
    color: #fff;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content .eyebrow {
    color: #ffb39e;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.6;
}

.motto {
    max-width: 640px;
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.button.primary {
    color: #fff;
    background: var(--teal);
}

.button.primary:hover {
    background: var(--teal-dark);
}

.button.secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.button.outline {
    color: var(--teal-dark);
    border: 1px solid #b9d2cb;
    background: #f7fbf9;
}

.button.outline:hover {
    border-color: var(--teal);
    background: #e8f4f0;
}

.section {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(54px, 8vw, 92px) 0;
}

.intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: start;
}

.section-heading h2,
.contact-copy h2,
.team-hero h1,
.team-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: 0;
}

.intro > p,
.contact-copy p,
.team-hero p,
.team-cta p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 0;
}

.service-card,
.team-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 38px rgba(23, 33, 31, 0.08);
}

.service-card {
    min-height: 290px;
    padding: 26px;
}

.service-number {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
}

.service-card h3,
.process-grid h3 {
    margin: 34px 0 14px;
    font-size: 1.35rem;
}

.service-card p,
.process-grid p,
.team-card p {
    color: var(--muted);
    line-height: 1.65;
}

.process {
    border-top: 1px solid var(--line);
}

.use-cases {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1.18fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: start;
    border-top: 1px solid var(--line);
}

.use-case-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.use-case-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    color: var(--teal-dark);
    font-size: 0.95rem;
    font-weight: 800;
    background: #e7f3ef;
    border: 1px solid #cfe2da;
    border-radius: 8px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 34px;
}

.process-grid > div {
    padding-left: 18px;
    border-left: 4px solid var(--coral);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
    gap: clamp(28px, 6vw, 68px);
    align-items: start;
    border-top: 1px solid var(--line);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: clamp(20px, 4vw, 34px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    color: var(--ink);
    font: inherit;
    background: #fbfdfc;
    border: 1px solid #cfdad5;
    border-radius: 8px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(23, 111, 114, 0.18);
    border-color: var(--teal);
}

.form-button {
    width: fit-content;
}

.form-messages {
    display: grid;
    gap: 8px;
}

.form-messages p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
}

.form-messages .success {
    color: #0d4c4f;
    background: #e5f5f1;
}

.form-messages .warning {
    color: #7a311f;
    background: #fff0ea;
}

.team-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: clamp(28px, 5vw, 58px);
    align-items: center;
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(46px, 8vw, 82px) 0 clamp(30px, 5vw, 54px);
}

.team-hero > div {
    max-width: 620px;
}

.team-hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
}

.team-hero p {
    max-width: 620px;
    margin-top: 18px;
    font-size: 1.04rem;
}

.team-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.team-hero-photo {
    position: relative;
    min-height: clamp(280px, 34vw, 420px);
    margin: 0;
    overflow: hidden;
    background: #dde8e2;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.team-hero-photo img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: 54% 48%;
}

.team-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto clamp(24px, 4vw, 34px);
}

.team-strip div {
    min-height: 136px;
    padding: 20px;
    background: #f7fbf9;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.team-strip strong,
.team-strip span {
    display: block;
}

.team-strip strong {
    color: var(--ink);
    font-size: 1rem;
}

.team-strip span {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.55;
}

.team-list {
    display: grid;
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 clamp(36px, 6vw, 70px);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.team-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: visible;
}

.team-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 22px 22px 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    background: var(--teal);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(23, 111, 114, 0.18);
}

.team-photo {
    width: calc(100% - 44px);
    height: 190px;
    margin: 22px 22px 0;
    object-fit: cover;
    object-position: center;
    background: #e8efeb;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 44px);
    height: 190px;
    margin: 22px 22px 0;
    color: #b7c4be;
    font-size: 1.35rem;
    font-weight: 900;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.leadership-grid .team-card:first-child .team-photo {
    object-position: 50% 38%;
}

.leadership-grid .team-card:nth-child(2) .team-photo {
    object-position: 63% 30%;
}

.leadership-grid .team-card:nth-child(3) .team-photo {
    object-position: 50% 36%;
}

.leadership-grid .team-card:nth-child(4) .team-photo {
    object-position: 50% 42%;
}

.team-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 22px 22px;
}

.role {
    margin: 0 0 8px;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.team-card h2 {
    margin: 0;
    font-size: 1.32rem;
    line-height: 1.15;
}

.team-card-body > p:not(.role) {
    font-size: 0.96rem;
    line-height: 1.62;
}

.team-detail {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.team-detail span {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.team-detail p {
    margin: 6px 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.contact-lines {
    display: grid;
    gap: 6px;
    margin-top: auto;
    padding-top: 20px;
    font-size: 0.88rem;
}

.contact-lines a,
.contact-copy a,
.footer-links a {
    color: var(--teal-dark);
    font-weight: 800;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 26px clamp(18px, 4vw, 56px);
    color: var(--muted);
    background: #eef3ef;
    border-top: 1px solid var(--line);
}

.team-cta {
    width: min(920px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 clamp(64px, 10vw, 112px);
    text-align: center;
}

.team-cta p {
    max-width: 720px;
    margin: 18px auto 0;
}

.team-cta .button {
    margin-top: 28px;
}

.leadership-heading {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) 0 22px;
    border-top: 1px solid var(--line);
}

.leadership-heading h2,
.extended-team h2 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.04;
}

.leadership-heading p:last-child {
    max-width: 680px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.leadership-grid .team-card {
    min-height: 540px;
}

.extended-team {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(300px, 1.3fr);
    gap: clamp(22px, 5vw, 56px);
    align-items: start;
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(28px, 5vw, 50px);
    background: #fbfdfc;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(23, 33, 31, 0.07);
}

.extended-team-copy {
    display: grid;
    gap: 16px;
}

.extended-team-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.72;
}

.pitch-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
    gap: clamp(26px, 5vw, 58px);
    align-items: stretch;
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(62px, 9vw, 108px) 0 clamp(34px, 6vw, 68px);
}

.pitch-hero h1,
.pitch-cta h2 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.pitch-lede {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    line-height: 1.7;
}

.pitch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.pitch-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
    padding: clamp(24px, 4vw, 34px);
    color: #fff;
    background:
        linear-gradient(180deg, rgba(23, 111, 114, 0.78), rgba(37, 43, 43, 0.92)),
        url("images/founder-office-hero.png") center / cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.pitch-card span {
    color: #f1d68c;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.pitch-card strong {
    display: block;
    margin-top: 12px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.05;
}

.pitch-card p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.pitch-script {
    display: grid;
    gap: 18px;
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 clamp(42px, 7vw, 76px);
}

.pitch-script article {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    column-gap: clamp(18px, 4vw, 38px);
    padding: clamp(22px, 4vw, 34px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 38px rgba(23, 33, 31, 0.06);
}

.pitch-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 38px;
    color: var(--teal-dark);
    font-size: 0.82rem;
    font-weight: 900;
    background: #e7f3ef;
    border: 1px solid #cfe2da;
    border-radius: 8px;
}

.pitch-script h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.pitch-script p {
    grid-column: 2;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.pitch-cta {
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(38px, 6vw, 62px);
    color: #fff;
    text-align: center;
    background: var(--ink);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.pitch-cta p {
    max-width: 720px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.7;
}

.pitch-cta .button {
    margin-top: 28px;
}

.portfolio-hero {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(58px, 9vw, 104px) 0 clamp(30px, 5vw, 56px);
}

.portfolio-hero > div {
    max-width: 860px;
}

.portfolio-hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: 0.96;
}

.portfolio-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1.06rem, 2vw, 1.24rem);
    line-height: 1.72;
}

.portfolio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.portfolio-video-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(420px, 1fr);
    gap: clamp(24px, 5vw, 58px);
    align-items: start;
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(30px, 5vw, 58px) 0;
    border-top: 1px solid var(--line);
}

.portfolio-video-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
}

.portfolio-video-copy p:not(.eyebrow) {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.72;
}

.video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111817;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.portfolio-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 clamp(64px, 10vw, 110px);
}

.portfolio-notes article {
    padding: 22px;
    background: #f7fbf9;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.portfolio-notes strong,
.portfolio-notes span {
    display: block;
}

.portfolio-notes strong {
    color: var(--ink);
}

.portfolio-notes span {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.58;
}

.site-footer strong,
.site-footer span {
    display: block;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 860px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        margin-left: 18px;
        margin-bottom: 58px;
    }

    .intro,
    .services,
    .use-cases,
    .process-grid,
    .contact-section,
    .team-hero,
    .team-strip,
    .team-list,
    .extended-team,
    .pitch-hero,
    .portfolio-video-section,
    .portfolio-notes {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 861px) and (max-width: 1160px) {
    .team-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
    }

    .team-avatar {
        width: 48px;
        height: 48px;
        margin: 16px 16px 0;
    }

    .team-photo,
    .team-photo-placeholder {
        width: calc(100% - 32px);
        height: 160px;
        margin: 16px 16px 0;
    }

    .team-card-body {
        padding: 14px 16px 18px;
    }

    .team-card h2 {
        font-size: 1.12rem;
    }

    .team-card-body > p:not(.role),
    .team-detail p {
        font-size: 0.86rem;
    }

    .contact-lines {
        font-size: 0.78rem;
    }
}

@media (max-width: 560px) {
    .site-nav a {
        padding: 9px 10px;
    }

    h1 {
        font-size: clamp(3rem, 17vw, 4.8rem);
    }

    .field-row,
    .team-card {
        grid-template-columns: 1fr;
    }

    .pitch-script article {
        grid-template-columns: 1fr;
    }

    .pitch-script p {
        grid-column: 1;
    }

    .team-card img,
    .team-photo,
    .team-photo-placeholder {
        height: 280px;
        min-height: 0;
    }

    .form-button {
        width: 100%;
    }
}
