/* Triple Glazed Studios — coastal studio system */
:root {
    --mint: #BEF8F0;
    --sage: #DFEEE9;
    --ice: #E5FEFF;
    --sand: #FFF4D4;
    --sun: #F7A50E;
    --coral: #FF7554;
    --tgs-blue: #09ABD1;
    --tgs-coral: #F6865A;
    --tgs-aqua: #38CEB5;
    --pluto-green: #45BFA0;
    --mercury-blue: #066E86;
    --orbit-retro: #873B72;
    --hero-cream: #FDEAC5;
    --hero-light-cream: #F9EFE2;
    --logo-cream: #FCF0D6;
    --hero-title-color: #0B5053;
    --hero-stripe-blue: #13A4D4;
    --hero-stripe-coral: #FF6A3D;
    --hero-stripe-aqua: #26D6A5;
    --about-wave-bottom: #70D0C3;
    --ochre: #8A5A00;
    --kelp: #003B34;
    --deep-kelp: #001A20;
    --ocean: #004A5C;
    --deep-ocean: #00242D;
    --sea: #006D5F;
    --paper: #FFFEFA;
    --nav-rest-bg: transparent;
    --nav-menu-bg: rgba(255, 254, 250, 0.98);
    --nav-scrolled-bg: rgba(177, 249, 240, 0.9);
    --nav-scrolled-text: #003C33;
    --hairline: rgba(0, 59, 52, 0.2);
    --display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --editorial-body: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --editorial-copy-size: clamp(1.08rem, 1.4vw, 1.28rem);
    --editorial-copy-weight: 500;
    --editorial-copy-line-height: 1.58;
    --editorial-copy-tracking: -0.02em;
    --body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shell: min(1240px, calc(100vw - 80px));
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--deep-kelp);
    background: var(--mint);
    font-family: var(--body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.home-page,
.about-page {
    --nav-menu-bg: var(--logo-cream);
    --hero-title-gap: 36px;
    --hero-title-tracking: -0.0475em;
}

.home-page {
    --display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --body: var(--editorial-body);
    --nav-glass-shadow: rgba(0, 59, 52, 0.15);
    --home-section-pad: clamp(90px, 10vw, 150px);
    --home-section-compact-pad: clamp(52px, 5vw, 78px);
    --home-eyebrow-gap: 18px;
    --home-heading-copy-gap: clamp(32px, 3vw, 40px);
    --home-heading-content-gap: clamp(64px, 8vw, 120px);
    --home-title-max: 820px;
    --home-title-tracking: var(--hero-title-tracking);
    --home-product-title-tracking: -0.02em;
    --home-editorial-tracking: -0.045em;
    --home-copy-tracking: -0.02em;
    --home-eyebrow-tracking: 0.12em;
    --home-label-tracking: 0.1em;
    --home-index-tracking: 0.04em;
    --home-detail-width: 75%;
    --home-copy-width: min(var(--home-title-max), calc(100vw - 80px));
    --home-product-media-inset: clamp(0px, calc(50vw - 600px), 60px);
    background: var(--logo-cream);
}

.home-page h1,
.home-page h2,
.home-page h3 {
    text-wrap: balance;
}

.home-page p {
    text-wrap: pretty;
}

.home-page .project-kicker,
.home-page .project-index,
.home-page .collaboration-index,
.home-page .principle-number {
    font-family: var(--ui);
}

.home-page .eyebrow {
    font-family: var(--ui);
    letter-spacing: var(--home-eyebrow-tracking);
}

.home-page .project-kicker,
.home-page .collaboration-slogan,
.home-page .hero-primary {
    letter-spacing: var(--home-label-tracking);
}

.home-page .project-index,
.home-page .collaboration-index,
.home-page .principle-number {
    letter-spacing: var(--home-index-tracking);
}

.home-page .section-intro h2,
.home-page .collaborations-heading h2,
.home-page .principles-intro h2,
.home-page .studio-copy h2,
.home-page .contact-section-redesign h2,
.home-page .jobs-callout h2 {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: var(--home-title-tracking);
}

.home-page .principle h3 {
    font-family: var(--ui);
    font-weight: 400;
}

.home-page .collaboration-copy h3,
.home-page .contact-section-redesign h2 {
    font-weight: 800;
}

body.nav-open {
    overflow: hidden;
}

main,
section,
header,
footer {
    display: block;
}

h1,
h2,
h3,
p,
figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.055em;
}

a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    color: inherit;
    font: inherit;
}

::selection {
    color: var(--paper);
    background: var(--kelp);
}

:focus-visible {
    outline: 3px solid var(--paper);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--deep-kelp);
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: 999px;
    color: var(--paper);
    background: var(--kelp);
    font-weight: 600;
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.section-shell {
    width: var(--shell);
    margin-inline: auto;
}

.eyebrow {
    font-family: var(--body);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Header */
.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1380px, calc(100vw - 36px));
    min-height: 76px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 19px;
    color: var(--nav-text-color, var(--kelp));
    background-color: var(--nav-rest-bg);
    transform: translateX(-50%);
    transition: color 180ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, top 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
    top: 10px;
    border-color: var(--nav-glass-shadow, rgba(0, 59, 52, 0.12));
    box-shadow:
        0 6px 18px var(--nav-glass-shadow, rgba(0, 59, 52, 0.15)),
        0 24px 60px rgba(0, 26, 32, 0.14);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.site-header.is-menu-open {
    background-color: var(--nav-menu-bg);
}

.site-header.is-scrolled {
    --nav-text-color: var(--nav-section-text, var(--nav-scrolled-text));
    --nav-cta-text-color: var(--nav-section-cta-text, var(--paper));
    background-color: var(--nav-section-bg, var(--nav-scrolled-bg));
}

@supports (background: color-mix(in srgb, black 10%, transparent)) {
    .site-header.is-scrolled {
        --nav-hover-bg: color-mix(in srgb, var(--nav-text-color) 10%, transparent);
        --nav-current-bg: color-mix(in srgb, var(--nav-text-color) 14%, transparent);
    }
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    font-family: var(--ui);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: -0.04em;
}

.site-brand-logo {
    width: 100px;
    height: auto;
    max-height: 60px;
    padding: 6px 4px 4px;
    object-fit: contain;
    filter: drop-shadow(0 5px 8px rgba(0, 36, 45, 0.08));
}

.site-brand-name {
    font-family: var(--editorial-body);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (min-width: 1200px) {
    .site-nav {
        margin-right: 110px;
    }
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-family: var(--ui);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
    background: var(--nav-hover-bg, rgba(0, 59, 52, 0.08));
}

.site-nav a[aria-current='page'] {
    background: var(--nav-current-bg, rgba(0, 59, 52, 0.1));
}

.site-nav .nav-cta {
    margin-left: 8px;
    padding-inline: 19px;
    color: var(--nav-cta-text-color, var(--paper));
    background: var(--nav-text-color, var(--kelp));
}

.site-nav .nav-cta:hover {
    background: var(--nav-text-color, var(--kelp));
    box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.nav-cta span {
    margin-left: 7px;
}

.nav-toggle {
    display: none;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}

.nav-toggle-lines span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease;
}

/* Home hero */
.studio-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: max(720px, 100svh);
    overflow: hidden;
    isolation: isolate;
    background: var(--logo-cream);
}

.studio-hero::before {
    position: absolute;
    inset: -30% -20%;
    z-index: 0;
    content: '';
    background: linear-gradient(
        135deg,
        transparent 0 66%,
        var(--hero-stripe-blue) 66% 69.5%,
        transparent 69.5% 70%,
        var(--hero-stripe-coral) 70% 73.5%,
        transparent 73.5% 74%,
        var(--hero-stripe-aqua) 74% 78%,
        transparent 78% 100%
    );
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    width: var(--shell);
    margin-inline: auto;
    padding: clamp(108px, 9vw, 142px) 0 clamp(100px, 8.5vw, 136px);
}

.hero-eyebrow {
    margin-bottom: var(--hero-title-gap);
    color: var(--sea);
}

.hero-eyebrow span {
    display: inline-block;
    padding-inline: 7px;
    color: var(--sun);
}

.hero-title {
    max-width: 1080px;
    font-size: clamp(6.2rem, 10vw, 10.4rem);
    font-weight: 800;
    line-height: 0.84;
    color: var(--hero-title-color);
    letter-spacing: var(--home-title-tracking);
}

.hero-title > span {
    display: block;
}

.hero-intro {
    max-width: 580px;
    margin-top: 36px;
    font-size: var(--editorial-copy-size);
    font-weight: var(--editorial-copy-weight);
    line-height: var(--editorial-copy-line-height);
    letter-spacing: var(--editorial-copy-tracking);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    /* Balance the visible gap with the eyebrow's extra line-box space. */
    margin-top: calc(var(--hero-title-gap) + 6px);
}

.hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    min-height: 60px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    color: var(--deep-kelp);
    background: var(--coral);
    font-family: var(--body);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    transition: background-color 180ms ease;
}

.hero-primary:hover,
.hero-primary:focus-visible {
    background: var(--tgs-blue);
}

.hero-primary span {
    display: inline-block;
    font-size: 1.05rem;
    transition: transform 180ms ease;
}

.hero-primary:hover span,
.hero-primary:focus-visible span {
    transform: translateY(3px);
}

.hero-secondary,
.project-link,
.jobs-callout-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border-bottom: 1px solid currentColor;
    font-family: var(--body);
    font-weight: 600;
    line-height: 1;
    transition: gap 180ms ease, opacity 180ms ease;
}

.hero-secondary {
    color: var(--sea);
}

.hero-secondary:hover,
.project-link:hover,
.jobs-callout-link:hover {
    gap: 16px;
}

/* Work */
.work-section {
    position: relative;
    background: var(--mint);
}

.section-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
    width: var(--home-copy-width);
    padding-top: var(--home-section-pad);
    padding-bottom: var(--home-section-pad);
}

.section-intro .eyebrow {
    grid-column: 1;
    margin-bottom: var(--home-eyebrow-gap);
    color: var(--sea);
}

.section-intro h2 {
    grid-column: 1;
    width: 100%;
    max-width: var(--home-title-max);
    margin-bottom: var(--home-heading-copy-gap);
    font-size: clamp(3.7rem, 6.8vw, 6.8rem);
    line-height: 0.91;
    color: var(--kelp);
}

.section-intro > p:last-child {
    grid-column: 1;
    width: var(--home-detail-width);
    font-size: clamp(1.08rem, 1.4vw, 1.32rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: var(--home-copy-tracking);
}

.feature-project {
    padding-block: var(--home-section-pad);
    overflow: hidden;
}

.feature-project-mercury {
    color: var(--paper);
    background: var(--mercury-blue);
}

.feature-project-sun {
    color: var(--deep-kelp);
    background: var(--pluto-green);
}

.feature-project-orbit {
    color: var(--paper);
    background: var(--orbit-retro);
}

.feature-project-mercury .project-kicker,
.feature-project-mercury .project-quote cite,
.feature-project-orbit .project-kicker {
    opacity: 0.84;
}

.project-copy {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    margin-bottom: clamp(48px, 7vw, 92px);
}

.project-index {
    grid-column: 1 / 2;
    padding-top: 34px;
    font-family: var(--body);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    opacity: 0.68;
}

.project-title {
    grid-column: 3 / 8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--home-eyebrow-gap);
}

.project-kicker {
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.72;
}

.project-copy h3 {
    font-size: clamp(4rem, 8vw, 7.7rem);
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: var(--home-product-title-tracking);
}

.project-details {
    grid-column: 9 / 13;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(30px, 3.2vw, 44px);
    margin-right: var(--home-product-media-inset);
    margin-left: calc(0px - var(--home-product-media-inset));
    padding-top: 31px;
}

.project-details p {
    max-width: 440px;
    font-size: clamp(1.02rem, 1.3vw, 1.22rem);
    line-height: 1.55;
    letter-spacing: var(--home-copy-tracking);
}

.project-details .project-link {
    margin-top: 0;
}

.project-media {
    position: relative;
    display: block;
    max-width: 1120px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 34px 75px rgba(0, 20, 25, 0.18);
}

.project-media img {
    width: 100%;
    height: auto;
    transition: transform 700ms cubic-bezier(.2, .75, .25, 1);
}

.project-media:hover img,
.project-media:focus-visible img,
.collaboration-media:hover img,
.collaboration-media:focus-visible img {
    transform: scale(1.025);
}

.project-quote {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding-top: clamp(55px, 7vw, 100px);
}

.project-quote p {
    grid-column: 3 / 11;
    font-family: var(--ui);
    font-size: clamp(2rem, 3.8vw, 4rem);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: var(--home-editorial-tracking);
}

.project-quote cite {
    grid-column: 3 / 11;
    margin-top: 12px;
    font-style: normal;
    opacity: 0.68;
}

/* Collaborations */
.collaborations {
    padding-block: var(--home-section-pad);
    color: var(--deep-kelp);
    background: var(--sun);
}

.collaborations-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    width: var(--home-copy-width);
    margin-inline: auto;
    margin-bottom: var(--home-heading-content-gap);
}

.collaborations-heading .eyebrow {
    grid-column: 1;
    margin-bottom: var(--home-eyebrow-gap);
    color: var(--deep-kelp);
    opacity: 0.68;
}

.collaborations-heading h2 {
    grid-column: 1;
    width: 100%;
    max-width: var(--home-title-max);
    margin-bottom: var(--home-heading-copy-gap);
    font-size: clamp(3.7rem, 6.8vw, 6.8rem);
    line-height: 0.91;
    color: var(--deep-kelp);
}

.collaborations-intro {
    grid-column: 1;
    width: var(--home-detail-width);
    font-size: clamp(1.02rem, 1.35vw, 1.24rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: var(--home-copy-tracking);
}

.collaboration-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    padding-block: clamp(44px, 6vw, 78px);
    border-top: 1px solid var(--hairline);
}

.collaboration-row:last-child {
    border-bottom: 1px solid var(--hairline);
}

.collaboration-index {
    grid-column: 1 / 2;
    padding-top: 8px;
    font-family: var(--display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--deep-kelp);
    opacity: 0.68;
}

.collaboration-copy {
    --collaboration-slogan-gap: 24px;
    grid-column: 3 / 7;
    padding-right: 38px;
}

.collaboration-copy h3 {
    margin-bottom: var(--collaboration-slogan-gap);
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: var(--home-product-title-tracking);
}

.collaboration-copy p {
    max-width: 430px;
    margin-bottom: 28px;
    font-size: 1rem;
}

.collaboration-copy .collaboration-slogan {
    margin-bottom: var(--collaboration-slogan-gap);
    font-family: var(--ui);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    opacity: 0.68;
}

.collaboration-media {
    grid-column: 7 / 13;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 55px rgba(0, 59, 52, 0.13);
}

.collaboration-media img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(.2, .75, .25, 1);
}

/* Recognition */
.recognition {
    padding-block: var(--home-section-compact-pad);
    color: var(--kelp);
    background: var(--sage);
}

.recognition .eyebrow {
    margin-bottom: var(--home-eyebrow-gap);
    color: var(--sea);
}

.recognition-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.recognition-logos a {
    display: grid;
    min-height: 118px;
    padding: 22px 16px;
    place-items: center;
    border-right: 1px solid var(--hairline);
    transition: background-color 180ms ease;
}

.recognition-logos a:last-child {
    border-right: 0;
}

.recognition-logos a:hover {
    background: var(--mint);
}

.recognition-logos img {
    max-width: 118px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(1) contrast(1.1);
    opacity: 0.72;
}

/* Principles */
.principles {
    padding-block: var(--home-section-pad);
    color: var(--kelp);
    background: var(--sand);
}

.principles-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    width: var(--home-copy-width);
    margin-inline: auto;
    margin-bottom: var(--home-heading-content-gap);
}

.principles-intro .eyebrow {
    grid-column: 1;
    margin-bottom: var(--home-eyebrow-gap);
    color: var(--ochre);
}

.principles-intro h2 {
    grid-column: 1;
    width: 100%;
    max-width: var(--home-title-max);
    font-size: clamp(3.7rem, 6.8vw, 6.8rem);
    line-height: 0.88;
}

.principles-list {
    counter-reset: principles;
    border-top: 1px solid rgba(138, 90, 0, 0.3);
}

.principle {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    padding-block: clamp(32px, 4vw, 52px);
    border-bottom: 1px solid rgba(138, 90, 0, 0.3);
}

.principle-number {
    grid-column: 1 / 2;
    padding-top: 0.65rem;
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ochre);
}

.principle h3 {
    grid-column: 3 / 8;
    font-size: clamp(2rem, 3.3vw, 3.5rem);
    line-height: 1;
    letter-spacing: var(--home-editorial-tracking);
}

.principle p {
    grid-column: 8 / 13;
    max-width: 510px;
    padding-top: 0.45rem;
    font-size: 1rem;
}

/* Studio */
.studio-section {
    display: grid;
    min-height: 720px;
    padding-block: var(--home-section-pad);
    place-items: center;
    color: var(--kelp);
    background: var(--mint);
}

.studio-copy {
    width: var(--home-copy-width);
}

.studio-copy .eyebrow {
    margin-bottom: var(--home-eyebrow-gap);
    color: var(--sea);
}

.studio-copy h2 {
    width: 100%;
    max-width: var(--home-title-max);
    margin-bottom: var(--home-heading-copy-gap);
    font-size: clamp(3.7rem, 6.8vw, 6.8rem);
    line-height: 0.91;
}

.studio-copy .studio-intro {
    width: var(--home-detail-width);
    margin-bottom: 24px;
    font-size: clamp(1.08rem, 1.4vw, 1.32rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: var(--home-copy-tracking);
}

.studio-copy .studio-note {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    width: var(--home-detail-width);
    margin-block: 34px;
    padding-block: 22px;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    font-size: 0.94rem;
}

.studio-note span {
    flex: 0 0 auto;
    color: var(--sun);
}

/* Jobs + contact */
.jobs-callout,
.contact-section-redesign {
    padding-block: var(--home-section-pad, clamp(90px, 10vw, 150px));
}

.jobs-callout {
    color: var(--paper);
    background: var(--ocean);
}

.jobs-callout .section-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
    width: var(--home-copy-width);
}

.jobs-callout .eyebrow {
    grid-column: 1;
    margin-bottom: var(--home-eyebrow-gap, 18px);
    color: var(--paper);
    opacity: 0.72;
}

.jobs-callout h2 {
    grid-column: 1;
    width: 100%;
    max-width: var(--home-title-max);
    font-size: clamp(4.25rem, 8.2vw, 8.4rem);
    font-weight: 800;
    line-height: 0.84;
}

.contact-section-redesign {
    position: relative;
    overflow: hidden;
    color: var(--paper);
    background: var(--kelp);
}

.contact-section-redesign .section-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
    width: var(--home-copy-width);
}

.contact-section-redesign .eyebrow {
    grid-column: 1;
    margin-bottom: var(--home-eyebrow-gap, 18px);
    color: var(--mint);
}

.contact-section-redesign h2 {
    grid-column: 1;
    width: 100%;
    max-width: var(--home-title-max);
    font-size: clamp(4rem, 8.6vw, 8.7rem);
    line-height: 0.86;
}

.contact-intro {
    grid-column: 1;
    width: var(--home-detail-width);
    margin-top: var(--home-heading-copy-gap);
    font-size: clamp(1.04rem, 1.5vw, 1.3rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: var(--home-copy-tracking);
}

.jobs-callout-link {
    grid-column: 1;
    justify-self: start;
    max-width: 100%;
    margin-top: 48px;
    color: var(--paper);
    font-family: var(--editorial-body);
    overflow-wrap: anywhere;
}

.contact-email {
    grid-column: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    margin-top: 48px;
    padding-bottom: 8px;
    border-bottom: 2px solid currentColor;
    color: var(--paper);
    font-family: var(--body);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: var(--home-copy-tracking);
    overflow-wrap: anywhere;
    transition: gap 180ms ease, opacity 180ms ease;
}

.contact-email:hover {
    gap: 22px;
}

/* Footer */
footer.site-footer {
    width: 100%;
    margin: 0;
    padding: 80px max(40px, calc((100vw - 1240px) / 2)) 32px;
    color: var(--kelp);
    background: var(--logo-cream);
    font: 400 1rem / 1.65 var(--ui);
}

.site-footer :where(*) {
    font: inherit;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    gap: 48px;
    align-items: start;
}

.footer-columns > * {
    min-width: 0;
}

.site-footer .footer-heading {
    margin: 0 0 10px;
    font: 700 0.78rem / 1.5 var(--ui);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-links li {
    max-width: 100%;
}

.site-footer .footer-links li::before {
    content: none;
}

.site-footer .footer-links a {
    display: inline-block;
    max-width: 100%;
    padding-block: 7px;
    font-weight: 500;
    line-height: 1.75;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    transition: text-decoration-color 180ms ease;
}

.site-footer .footer-links a:hover {
    text-decoration-color: currentColor;
}

.site-footer .footer-links a span {
    display: inline-block;
    margin-left: 5px;
    transition: transform 180ms ease;
}

.site-footer .footer-links a:hover span {
    transform: translate(2px, -2px);
}

.site-footer .footer-navigation {
    /* Align the larger link lettering with the small column headings. */
    margin-top: -8px;
}

.site-footer .footer-navigation a {
    padding-block: 2px;
    font: 600 1.75rem / 1.45 var(--display);
    letter-spacing: -0.025em;
}

.site-footer .footer-social .footer-links a {
    padding-block: 3px;
}

.site-footer .footer-social .footer-links li:first-child a {
    padding-top: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid var(--hairline);
}

.footer-wordmark {
    width: 100px;
    height: auto;
    transform: rotate(-1deg);
}

.site-footer .footer-brand {
    justify-self: start;
}

.site-footer .footer-legal {
    margin: 0;
    font-size: 0.78rem;
    opacity: 0.72;
}

@media (max-width: 1000px) {
    .footer-columns {
        grid-template-columns: repeat(3, max-content);
        gap: 36px;
    }

    .site-footer .footer-brand {
        display: none;
    }
}

@media (max-width: 700px) {
    footer.site-footer {
        padding: 56px 24px 28px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .site-footer .footer-navigation {
        margin-top: 0;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        margin-top: 44px;
    }
}

.jobs-page strong,
.jobs-page b {
    font-weight: 700;
}

.job-post-page .job-apply-link {
    max-width: 100%;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* About page — studio model */
.about-page {
    background: var(--logo-cream);
}

.about-page h1,
.about-page h2,
.about-page h3 {
    text-wrap: balance;
}

.about-page p {
    text-wrap: pretty;
}

.about-page main p:not(.eyebrow) {
    font-family: var(--editorial-body);
    font-size: var(--editorial-copy-size);
    font-weight: var(--editorial-copy-weight);
    line-height: var(--editorial-copy-line-height);
    letter-spacing: var(--editorial-copy-tracking);
}

.about-hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    color: var(--deep-kelp);
    background: var(--logo-cream);
}

.about-hero-copy {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    align-content: stretch;
    column-gap: clamp(20px, 2vw, 32px);
    row-gap: 0;
    width: var(--shell);
    min-height: 100svh;
    margin-inline: auto;
    padding: clamp(108px, 14vh, 170px) 0 clamp(64px, 8.5vh, 120px);
}

.about-hero-message {
    grid-column: 1 / 7;
    grid-row: 2;
    align-self: center;
}

.about-hero-copy h1 {
    width: auto;
    max-width: none;
    font-size: clamp(4rem, 8vw, 7.7rem);
    font-weight: 800;
    line-height: 0.84;
    color: var(--hero-title-color);
    letter-spacing: var(--hero-title-tracking);
}

.about-hero-intro {
    max-width: 540px;
    margin-top: var(--hero-title-gap);
    padding-bottom: 0;
}

.about-hero-gallery {
    --gallery-cut: clamp(22px, 2.8vw, 42px);
    --gallery-cut-mid: clamp(9px, 1.17vw, 18px);
    grid-column: 7 / -1;
    grid-row: 2;
    align-self: center;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(8px, 0.8vw, 12px);
    width: 100%;
    aspect-ratio: 1.45;
}

.about-hero-photo {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: clamp(14px, 1.25vw, 19px);
}

.about-hero-photo-founders {
    grid-column: 1;
    grid-row: 1;
    border-bottom-left-radius: 0;
}

.about-hero-photo-team {
    grid-column: 2;
    grid-row: 1;
}

.about-hero-photo-encinitas {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: calc(0px - var(--gallery-cut));
    border-top-right-radius: 0;
}

.about-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-photo-founders img {
    object-position: 50% 30%;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--gallery-cut-mid)), 0 100%);
}

.about-hero-photo-team img {
    object-position: 50% 46%;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--gallery-cut)), 0 calc(100% - var(--gallery-cut-mid)));
}

.about-hero-photo-encinitas img {
    object-position: 50% 40%;
    clip-path: polygon(0 var(--gallery-cut), 100% 0, 100% 100%, 0 100%);
}

.about-hero-photo figcaption {
    position: absolute;
    bottom: clamp(7px, 0.7vw, 10px);
    left: clamp(7px, 0.7vw, 10px);
    display: grid;
    gap: 1px;
    max-width: calc(100% - clamp(14px, 1.4vw, 20px));
    padding: clamp(7px, 0.7vw, 10px) clamp(9px, 0.9vw, 13px);
    border: 1px solid rgba(11, 80, 83, 0.1);
    border-radius: clamp(9px, 0.8vw, 12px);
    color: var(--deep-kelp);
    background: rgba(252, 240, 214, 0.94);
    box-shadow: 0 7px 22px rgba(0, 36, 45, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-hero-photo-team figcaption {
    bottom: calc(clamp(7px, 0.7vw, 10px) + var(--gallery-cut-mid) + 6px);
}

.about-hero-photo figcaption span {
    color: var(--sea);
    font-family: var(--body);
    font-size: clamp(0.46rem, 0.55vw, 0.56rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.about-hero-photo figcaption strong {
    overflow: hidden;
    font-family: var(--display);
    font-size: clamp(0.7rem, 0.85vw, 0.86rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.about-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    height: clamp(14px, 1.4vw, 20px);
    content: '';
    background: linear-gradient(
        90deg,
        var(--hero-stripe-blue) 0 33.333%,
        var(--hero-stripe-coral) 33.333% 66.666%,
        var(--hero-stripe-aqua) 66.666% 100%
    );
    pointer-events: none;
}

.studio-name {
    padding-block: clamp(115px, 13vw, 195px);
    color: var(--paper);
    background: var(--deep-ocean);
}

.studio-name .section-shell {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.studio-name-heading {
    grid-column: 1 / 8;
}

.studio-name h2 {
    font-size: clamp(4rem, 7.2vw, 7.3rem);
    line-height: 0.84;
}

.studio-name-heading {
    align-self: center;
}

.studio-name-heading .eyebrow {
    margin-bottom: clamp(32px, 4vw, 48px);
    color: var(--paper);
}

.studio-name-copy {
    grid-column: 8 / 13;
    align-self: center;
    max-width: 520px;
}

.studio-name-copy p + p {
    margin-top: 1em;
}

.studio-people {
    --people-card-bg: #9CDED5;
    --people-founders-bg: #9CDED5;
    --people-cory-bg: #9CDED5;
    padding-block: clamp(110px, 13vw, 190px);
    color: var(--kelp);
    background: var(--about-wave-bottom);
}

.studio-people .section-shell {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.studio-people-intro {
    grid-column: 1 / 5;
}

.studio-people-intro .eyebrow {
    margin-bottom: clamp(24px, 3vw, 36px);
    color: var(--sea);
}

.studio-people-intro h2 {
    font-size: clamp(3.7rem, 4.7vw, 4.3rem);
    line-height: 0.86;
}

.studio-people-copy {
    max-width: 390px;
    margin-top: clamp(34px, 4vw, 52px);
}

.studio-people-copy p + p {
    margin-top: 1em;
}

.people-profiles {
    grid-column: 5 / 13;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 26px);
}

.people-card {
    --editorial-copy-size: clamp(0.88rem, 0.9vw, 0.94rem);
    --editorial-copy-line-height: 1.42;
    overflow: hidden;
    border: 0;
    border-radius: clamp(20px, 2vw, 28px);
    color: var(--deep-kelp);
    background: var(--people-card-bg);
    box-shadow: 0 22px 52px rgba(0, 59, 52, 0.13);
}

.people-card-founder {
    --people-card-bg: var(--people-founders-bg);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.people-card-photo {
    position: relative;
    overflow: hidden;
    background: var(--sage);
}

.people-card-founder .people-card-photo {
    aspect-ratio: 4 / 3;
}

.people-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(.2, .7, .2, 1);
}

.people-card-photo-malin img {
    object-position: 50% 30%;
}

.people-card-photo-kai img {
    object-position: 52% 30%;
}

.people-card-bio {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(26px, 3vw, 38px);
}

.people-card-bio h3 {
    font-size: clamp(2.8rem, 3.5vw, 3.7rem);
    line-height: 0.9;
}

.people-card-bio h3 + p {
    margin-top: 24px;
}

.people-card-bio .project-link {
    margin-top: auto;
    padding-top: 28px;
}

.people-card-founder .people-card-bio {
    padding: clamp(22px, 2.3vw, 30px);
}

.people-card-founder .people-card-bio h3 {
    font-size: clamp(2.4rem, 2.8vw, 3rem);
}

.people-card-founder .people-card-title {
    margin-top: 10px !important;
}

.people-card-founder .people-card-title + p {
    margin-top: 14px;
}

.people-card-founder .people-card-bio .project-link {
    padding-top: 20px;
}

.people-card-cory {
    --people-card-bg: var(--people-cory-bg);
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.22fr);
    height: 275px;
    min-height: 275px;
}

.people-card-photo-cory {
    min-width: 0;
    min-height: 0;
}

.people-card-photo-cory img {
    object-position: 50% 31%;
}

.people-card-role {
    margin-bottom: 12px;
    color: var(--sea);
}

.people-card-title {
    margin-top: 14px !important;
    color: var(--sea);
    font-family: var(--body) !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
}

.people-card-title + p {
    max-width: 540px;
    margin-top: 18px;
}

@media (hover: hover) {
    .people-card-founder:hover .people-card-photo img {
        transform: scale(1.025);
    }

    .people-card-cory:hover .people-card-photo img {
        transform: scale(1.025);
    }
}

.about-place {
    position: relative;
    padding-block: clamp(105px, 12vw, 180px);
    padding-bottom: clamp(170px, 18vw, 260px);
    overflow: hidden;
    isolation: isolate;
    color: var(--deep-kelp);
    background: var(--ice);
}

.about-place .section-shell {
    position: relative;
    z-index: 1;
}

.about-place-copy {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    align-items: end;
}

.about-place-copy .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: clamp(32px, 4vw, 48px);
    color: var(--sea);
}

.about-place-copy h2 {
    grid-column: 1 / 8;
    margin-bottom: 0;
    color: var(--ocean);
    font-size: clamp(4rem, 7.2vw, 7.3rem);
    line-height: 0.84;
}

.about-place-copy > p:not(.eyebrow) {
    grid-column: 8 / 13;
    justify-self: end;
    max-width: 490px;
}

.about-place-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.2vw, 18px);
    width: min(100%, 1020px);
    margin: clamp(56px, 7vw, 96px) 0 0 auto;
}

.about-place-photo {
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: clamp(14px, 1.4vw, 22px);
}

.about-place-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-place-photo-primary img {
    object-position: 56% 50%;
}

.about-place-photo-bluff img {
    object-position: 50% 54%;
}

.about-place-photo-stairs img {
    object-position: 52% 54%;
}

.about-place-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 0;
    display: block;
    width: min(68vw, 980px);
    height: clamp(150px, 18vw, 270px);
    overflow: visible;
    pointer-events: none;
}

.about-place-wave path {
    transform-box: fill-box;
    transform-origin: 0 100%;
    animation: about-wave-drift var(--wave-duration, 21s) ease-in-out var(--wave-delay, 0s) infinite alternate;
    will-change: transform;
}

.js .about-place-wave:not(.is-animating) path {
    animation-play-state: paused;
    will-change: auto;
}

.about-place-wave-top {
    --wave-duration: 6s;
    --wave-delay: -5s;
    --wave-scale-x: 1.14;
    --wave-scale-y: 1.025;
    --wave-shift-x: -10%;
    fill: #DAF0E6;
}

.about-place-wave-middle {
    --wave-duration: 8s;
    --wave-delay: -12s;
    --wave-scale-x: 1.11;
    --wave-scale-y: 1.018;
    --wave-shift-x: -7%;
    fill: #9FDFD5;
}

.about-place-wave-bottom {
    --wave-duration: 11s;
    --wave-delay: -18s;
    --wave-scale-x: 1.07;
    --wave-scale-y: 1.01;
    --wave-shift-x: -4%;
    fill: var(--about-wave-bottom);
}

@keyframes about-wave-drift {
    from {
        transform: translate3d(0, 0, 0) scaleX(var(--wave-scale-x, 1.1)) scaleY(1);
    }

    to {
        transform: translate3d(var(--wave-shift-x, -7%), 0, 0) scaleX(var(--wave-scale-x, 1.1)) scaleY(var(--wave-scale-y, 1.02));
    }
}

.about-community {
    padding-block: clamp(105px, 12vw, 180px);
    border-top: 0;
    color: var(--deep-kelp);
    background: var(--about-wave-bottom);
}

.about-community .section-shell {
    display: grid;
    grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: center;
}

.about-community-content {
    max-width: 540px;
}

.about-community .eyebrow {
    margin-bottom: clamp(28px, 3vw, 40px);
    color: var(--deep-kelp);
    opacity: 0.68;
}

.about-community h2 {
    font-size: clamp(3.9rem, 6vw, 6.2rem);
    line-height: 0.86;
}

.about-community-copy {
    margin-top: clamp(30px, 3vw, 42px);
}

.about-community-copy p + p {
    margin-top: 22px;
}

.about-community-copy .project-link {
    margin-top: 32px;
}

.about-community-gallery {
    --community-split: clamp(8px, 0.8vw, 12px);
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 0;
    width: 100%;
    aspect-ratio: 2 / 1;
}

.about-community-gallery::after {
    position: absolute;
    z-index: 2;
    top: -2px;
    bottom: -2px;
    left: 50%;
    width: var(--community-split);
    background: var(--about-wave-bottom);
    content: "";
    pointer-events: none;
    transform: translateX(-50%) skewX(-4deg);
    transform-origin: center;
}

.about-community-photo {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: clamp(14px, 1.25vw, 19px);
}

.about-community-photo-wwdc {
    grid-column: 1;
    grid-row: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.about-community-photo-meetup {
    grid-column: 2;
    grid-row: 1;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.about-community-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-community-photo-wwdc img {
    object-position: 100% 64%;
    transform: scale(1.1);
    transform-origin: 75% 60%;
}

.about-community-photo-meetup img {
    object-position: 42% 50%;
}

.about-page .jobs-callout .section-shell {
    width: var(--shell);
}

.about-page .jobs-callout h2 {
    max-width: 1100px;
    letter-spacing: var(--hero-title-tracking);
}

/* Motion */
.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity 800ms cubic-bezier(.2, .7, .2, 1), transform 800ms cubic-bezier(.2, .7, .2, 1);
}

.js [data-reveal-delay='1'] { transition-delay: 90ms; }
.js [data-reveal-delay='2'] { transition-delay: 180ms; }
.js [data-reveal-delay='3'] { transition-delay: 270ms; }

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Avoid extra backdrop sampling inside clipped photos on touch screens. */
@media (max-width: 800px), (hover: none), (pointer: coarse) {
    .about-hero-photo figcaption {
        background: #FCF0D6;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* Tablet */
@media (max-width: 1120px) {
    :root {
        --shell: min(100% - 48px, 1040px);
    }

    .recognition-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .recognition-logos a:nth-child(3) {
        border-right: 0;
    }

    .recognition-logos a:nth-child(-n+3) {
        border-bottom: 1px solid var(--hairline);
    }

    .about-hero-copy {
        width: var(--shell);
    }

    .studio-people .section-shell {
        grid-template-columns: 1fr;
    }

    .studio-people-intro {
        grid-column: 1;
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 20px;
        align-items: end;
        padding-right: 0;
    }

    .studio-people-intro .eyebrow {
        grid-column: 1 / -1;
        margin-bottom: 14px;
    }

    .studio-people-intro h2 {
        grid-column: 1 / 7;
    }

    .studio-people-copy {
        grid-column: 7 / 13;
        justify-self: end;
        max-width: 530px;
        margin-top: 0;
    }

    .people-profiles {
        grid-column: 1;
        margin-top: clamp(72px, 8vw, 96px);
    }
}

/* Mobile navigation and layouts */
@media (max-width: 800px) {
    :root {
        --shell: calc(100% - 40px);
        --editorial-copy-size: 1.02rem;
        --editorial-copy-line-height: 1.52;
    }

    .home-page {
        --home-heading-copy-gap: clamp(28px, 4vw, 32px);
        --home-heading-content-gap: clamp(48px, 7vw, 56px);
        --home-detail-width: 100%;
        --home-copy-width: calc(100vw - 40px);
    }

    /* Keep section copy aligned with the hero on small screens. */
    .home-page .section-intro,
    .home-page .studio-copy,
    .home-page .contact-section-redesign .section-shell,
    .home-page .jobs-callout .section-shell {
        margin-inline: calc((100% - var(--shell)) / 2) 0;
    }

    .home-page .studio-copy {
        justify-self: start;
    }

    .home-page .collaborations-heading,
    .home-page .principles-intro {
        margin-inline: 0;
    }

    html {
        scroll-padding-top: 82px;
    }

    .site-header {
        top: 8px;
        width: calc(100vw - 16px);
        min-height: 62px;
        padding: 7px 7px 7px 9px;
        border-radius: 17px;
    }

    .site-header.is-scrolled,
    .site-header.is-menu-open {
        top: 8px;
    }

    .site-brand-logo {
        width: 78px;
        max-height: 48px;
    }

    .site-brand-name {
        display: none;
    }

    .js .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        max-height: calc(100dvh - 88px);
        padding: 8px;
        border: 1px solid rgba(0, 59, 52, 0.12);
        border-radius: 17px;
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        opacity: 0;
        background: var(--nav-menu-bg);
        box-shadow: 0 22px 48px var(--nav-glass-shadow, rgba(0, 59, 52, 0.16));
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background-color 220ms ease;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .site-header.is-menu-open .site-nav {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .site-header.is-scrolled .site-nav {
        background: var(--nav-section-bg, var(--nav-scrolled-bg));
    }

    .site-header.is-menu-open,
    .site-header.is-menu-open .site-nav {
        background-color: var(--nav-section-menu-bg, var(--nav-menu-bg));
    }

    .site-nav a {
        justify-content: flex-start;
        min-height: 52px;
        padding-inline: 16px;
        font-size: 1.05rem;
    }

    .site-nav .nav-cta {
        justify-content: space-between;
        margin: 4px 0 0;
    }

    .site-header.is-menu-open .nav-toggle-lines span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .site-header.is-menu-open .nav-toggle-lines span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    html:not(.js) .site-header {
        position: relative;
        top: 0;
        left: 0;
        flex-wrap: wrap;
        width: 100%;
        border-radius: 0;
        background: var(--nav-menu-bg);
        transform: none;
    }

    html:not(.js) .site-nav {
        position: static;
        flex: 1 0 100%;
        flex-flow: row wrap;
        max-height: none;
        border: 0;
        visibility: visible;
        opacity: 1;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    html:not(.js) .site-nav a {
        flex: 1 1 auto;
    }

    html:not(.js) .site-nav .nav-cta {
        margin-left: 0;
    }

    .jobs-page .hero-section {
        padding-top: 170px;
    }

    .jobs-hero-title {
        font-size: 3.2rem;
        letter-spacing: -0.045em;
    }

    .job-detail-card {
        padding: 24px;
    }

    .job-list-item {
        gap: 18px;
        padding: 22px 0;
    }

    .job-article-section {
        margin-top: 34px;
    }

    .job-back-link,
    .job-back-link .arrow {
        font-size: 2.4rem;
    }

    .job-apply-link {
        font-size: 1.3rem;
    }

    .studio-hero {
        min-height: calc(100svh + 48px);
        padding-inline: 20px;
        padding-bottom: 48px;
    }

    .studio-hero::before {
        inset: -30% -20%;
        background: linear-gradient(
            135deg,
            transparent 0 70%,
            var(--hero-stripe-blue) 70% 73.5%,
            transparent 73.5% 74%,
            var(--hero-stripe-coral) 74% 77.5%,
            transparent 77.5% 78%,
            var(--hero-stripe-aqua) 78% 82%,
            transparent 82% 100%
        );
    }

    .hero-copy {
        width: 100%;
        max-width: none;
        padding: 88.2px 0 78.4px;
    }

    .hero-eyebrow {
        max-width: 290px;
        line-height: 1.7;
    }

    .hero-title {
        max-width: 100%;
        font-size: clamp(3.4rem, 18vw, 6rem);
        line-height: 0.86;
    }

    .hero-title > span:not(:first-child) {
        display: inline;
    }

    .hero-intro {
        max-width: 360px;
        margin-top: 28px;
    }

    .hero-actions {
        gap: 22px;
        /* The link's 44px tap target adds space above its visible label. */
        margin-top: calc(var(--hero-title-gap) - 9px);
    }

    .home-page .hero-primary {
        justify-content: flex-start;
        gap: 10px;
        min-height: 44px;
        padding: 0;
        border-bottom: 1px solid currentColor;
        border-radius: 0;
        color: var(--sea);
        background: transparent;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: normal;
        text-transform: none;
        transition: gap 180ms ease, opacity 180ms ease;
    }

    .home-page .hero-primary:hover,
    .home-page .hero-primary:focus-visible {
        gap: 16px;
    }

    .hero-primary span {
        font-size: inherit;
    }

    .hero-secondary {
        display: none;
    }

    .section-intro,
    .project-copy,
    .project-quote,
    .collaborations-heading,
    .collaboration-row,
    .principles-intro,
    .jobs-callout .section-shell,
    .contact-section-redesign .section-shell {
        grid-template-columns: 1fr;
    }

    .section-intro .eyebrow,
    .section-intro h2,
    .section-intro > p:last-child,
    .project-title,
    .project-details,
    .project-quote p,
    .project-quote cite,
    .collaborations-heading .eyebrow,
    .collaborations-heading h2,
    .collaborations-intro,
    .collaboration-index,
    .collaboration-copy,
    .collaboration-media,
    .principles-intro .eyebrow,
    .principles-intro h2,
    .jobs-callout .eyebrow,
    .jobs-callout h2,
    .jobs-callout-link,
    .contact-section-redesign .eyebrow,
    .contact-section-redesign h2,
    .contact-intro,
    .contact-email {
        grid-column: 1;
    }

    .section-intro {
        gap: 0;
    }

    .section-intro h2 {
        margin-bottom: var(--home-heading-copy-gap);
    }

    .section-intro .eyebrow,
    .collaborations-heading .eyebrow,
    .principles-intro .eyebrow {
        padding-top: 0;
    }

    .section-intro .eyebrow,
    .section-intro h2,
    .section-intro > p:last-child,
    .collaborations-heading .eyebrow,
    .collaborations-heading h2,
    .collaborations-intro {
        grid-row: auto;
    }

    .section-intro h2,
    .collaborations-heading h2 {
        font-size: clamp(3.35rem, 14.5vw, 5rem);
        line-height: 0.92;
    }

    .section-intro > p:last-child {
        margin-top: 0;
    }

    .project-copy {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 8px;
        row-gap: 0;
        margin-bottom: 46px;
    }

    .project-index {
        grid-column: 1;
        grid-row: 1;
        padding-top: 32px;
    }

    .project-title {
        grid-column: 1;
        grid-row: 1;
        gap: var(--home-eyebrow-gap);
        margin-bottom: 32px;
    }

    .project-copy h3 {
        font-size: clamp(3.8rem, 18vw, 5.8rem);
        line-height: 0.84;
    }

    .project-details {
        grid-column: 1;
        grid-row: 2;
        gap: 26px;
        padding-top: 0;
    }

    .project-media {
        width: calc(100% - 24px);
        border-radius: 14px;
    }

    .project-media img {
        width: 150%;
        max-width: none;
        margin-left: -25%;
    }

    .feature-project-orbit .project-media img {
        width: 100%;
        margin-left: 0;
    }

    .project-quote {
        gap: 18px;
        padding-top: 55px;
    }

    .project-quote p {
        font-size: 2.25rem;
    }

    .collaborations-heading {
        gap: 0;
        margin-bottom: var(--home-heading-content-gap);
    }

    .collaborations-heading h2 {
        margin-bottom: var(--home-heading-copy-gap);
    }

    .collaborations-intro {
        margin-top: 0;
    }

    .collaboration-row {
        gap: 24px;
        padding-block: 45px;
    }

    .collaboration-index {
        padding-top: 0;
    }

    .collaboration-copy {
        --collaboration-slogan-gap: 18px;
        padding-right: 0;
    }

    .collaboration-media {
        border-radius: 14px;
    }

    .collaboration-media img {
        min-height: 220px;
    }

    .recognition-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .recognition-logos a,
    .recognition-logos a:nth-child(3) {
        min-height: 104px;
        border-right: 1px solid var(--hairline);
        border-bottom: 1px solid var(--hairline);
    }

    .recognition-logos a:nth-child(2n) {
        border-right: 0;
    }

    .recognition-logos a:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .principles-intro {
        gap: 0;
        margin-bottom: var(--home-heading-content-gap);
    }

    .principles-intro h2 {
        font-size: clamp(2.25rem, 12.5vw, 5rem);
        line-height: 0.9;
    }

    .principle {
        grid-template-columns: 42px 1fr;
        gap: 14px 8px;
        padding-block: 36px;
    }

    .principle-number {
        grid-column: 1;
        padding-top: 0.55rem;
    }

    .principle h3 {
        grid-column: 2;
        font-size: 2.25rem;
    }

    .principle p {
        grid-column: 2;
        padding-top: 0;
    }

    .studio-section {
        min-height: 0;
        padding-block: var(--home-section-pad);
    }

    .studio-copy {
        width: calc(100% - 40px);
    }

    .studio-copy h2 {
        font-size: clamp(3.35rem, 14.5vw, 5rem);
        line-height: 0.92;
    }

    .jobs-callout .eyebrow {
        grid-row: auto;
        margin-bottom: var(--home-eyebrow-gap, 18px);
        padding-top: 0;
    }

    .jobs-callout h2 {
        font-size: clamp(3.45rem, 15vw, 5.4rem);
        line-height: 0.86;
    }

    .contact-section-redesign .eyebrow,
    .contact-section-redesign h2,
    .contact-intro,
    .contact-email {
        grid-row: auto;
    }

    .contact-section-redesign .eyebrow {
        margin-bottom: var(--home-eyebrow-gap, 18px);
        padding-top: 0;
    }

    .contact-section-redesign h2 {
        font-size: clamp(3.6rem, 17vw, 5.6rem);
    }

    .contact-email {
        align-items: flex-start;
        margin-top: 40px;
        font-size: 1.15rem;
    }

    .about-hero {
        min-height: 100svh;
    }

    .about-hero-copy {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        align-content: center;
        width: var(--shell);
        min-height: 100svh;
        margin-inline: auto;
        padding: 118px 0 62px;
    }

    .about-hero-message {
        grid-column: 1;
        grid-row: auto;
    }

    .about-hero-copy h1 {
        width: auto;
        max-width: 620px;
        font-size: clamp(3.8rem, 18vw, 5.8rem);
        line-height: 0.86;
    }

    .about-hero-intro {
        max-width: 590px;
    }

    .about-hero-gallery {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        max-height: 360px;
        margin-top: 34px;
        aspect-ratio: 1.3;
    }

    /* Keep the mobile hero mosaic complete before its individual reveal triggers. */
    .js .about-hero-photo[data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .about-hero::after {
        left: 0;
        height: 12px;
    }

    .studio-name,
    .studio-people {
        padding-block: 100px;
    }

    .studio-name .section-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .studio-people-intro {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }

    .studio-people-intro .eyebrow {
        margin-bottom: 0;
    }

    .studio-name-heading,
    .studio-name-copy,
    .studio-people-intro .eyebrow,
    .studio-people-intro h2,
    .studio-people-copy {
        grid-column: 1;
    }

    .studio-name h2,
    .studio-people-intro h2 {
        font-size: clamp(3.7rem, 17vw, 5.5rem);
    }

    .studio-people-intro h2 {
        font-size: clamp(3.2rem, 15vw, 4.25rem);
    }

    .studio-name-heading {
        align-self: start;
    }

    .studio-name-heading .eyebrow {
        margin-bottom: 28px;
    }

    .studio-name-copy {
        margin-top: 4px;
    }

    .studio-people-copy {
        justify-self: start;
        max-width: none;
        margin-top: 4px;
    }

    .people-profiles {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 64px;
    }

    .people-card {
        --editorial-copy-size: 1rem;
        --editorial-copy-line-height: 1.5;
        border-radius: 20px;
    }

    .people-card-founder .people-card-photo {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .people-card-founder {
        grid-column: 1;
    }

    .people-card-photo-cory {
        min-height: 0;
        aspect-ratio: 6 / 5;
        border-radius: 0;
    }

    .people-card-photo-cory img {
        object-position: 50% 31%;
    }

    .people-card-cory {
        grid-column: 1;
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    .people-card-bio {
        padding: 28px 24px 32px;
    }

    .people-card-bio h3 {
        font-size: clamp(3.1rem, 14vw, 4rem);
    }

    .people-card-founder .people-card-bio {
        padding: 24px 24px 28px;
    }

    .people-card-founder .people-card-bio h3 {
        font-size: clamp(2.8rem, 12vw, 3.5rem);
    }

    .people-card-founder .people-card-title {
        margin-top: 10px !important;
    }

    .people-card-founder .people-card-title + p {
        margin-top: 14px;
    }

    .people-card-founder .people-card-bio .project-link {
        padding-top: 20px;
    }

    .about-place {
        padding-block: 100px;
        padding-bottom: 170px;
    }

    .about-place-copy {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-place-copy .eyebrow,
    .about-place-copy h2,
    .about-place-copy > p:not(.eyebrow) {
        grid-column: 1;
    }

    .about-place-copy .eyebrow {
        margin-bottom: 28px;
    }

    .about-place-copy h2 {
        margin-bottom: 34px;
        font-size: clamp(3.7rem, 17vw, 5.5rem);
    }

    .about-place-copy > p:not(.eyebrow) {
        justify-self: start;
        max-width: 590px;
    }

    .about-place-gallery {
        gap: 8px;
        margin-top: 48px;
    }

    .about-place-photo {
        aspect-ratio: 1;
    }

    .about-place-photo-primary img {
        object-position: 50% 46%;
    }

    .about-place-photo-bluff img,
    .about-place-photo-stairs img {
        object-position: 50% 50%;
    }

    .about-place-wave {
        width: 112vw;
        max-width: none;
        height: 155px;
    }

    .about-community .section-shell {
        grid-template-columns: 1fr;
        gap: 56px;
        align-items: start;
    }

    .about-community-content,
    .about-community-gallery {
        grid-column: 1;
    }

    .about-community-content {
        max-width: 590px;
    }

    .about-community .eyebrow {
        margin-bottom: 28px;
    }

    .about-community h2 {
        font-size: clamp(3.7rem, 16vw, 5.2rem);
    }

    .about-community-copy {
        margin-top: 30px;
    }

    .about-community-gallery {
        width: 100%;
        aspect-ratio: 2 / 1;
    }
}

@media (max-width: 560px) {
    .about-community-photo-wwdc img {
        object-position: 82% 55%;
    }
}

@media (max-width: 460px) {
    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

@media (max-width: 340px) {
    .about-hero-copy h1 {
        font-size: 17.5vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .about-place-wave path {
        animation: none;
        transform: none;
        will-change: auto;
    }
}

@supports (color: color(display-p3 0 0 0)) {
    :root {
        --mint: color(display-p3 0.75 0.97 0.94);
        --sage: color(display-p3 0.87 0.93 0.91);
        --ice: color(display-p3 0.9 1 1);
        --sand: color(display-p3 1 0.96 0.83);
        --sun: color(display-p3 0.97 0.63 0.06);
        --kelp: color(display-p3 0 0.23 0.20);
        --deep-kelp: color(display-p3 0 0.1 0.13);
        --ocean: color(display-p3 0 0.29 0.36);
        --deep-ocean: color(display-p3 0 0.14 0.18);
        --sea: color(display-p3 0 0.43 0.37);
    }
}
