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

:root {
    --bg-color: #c4bfd0;
    --text-color: #140033;
    --star-start: #e2036d;
    --star-end: #f98c01;
}

body {
    background: #c4bfd0;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: "proxima-nova", helvetica, "lucida grande", sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 15px,
        rgba(255, 255, 255, 0.2) 15px,
        rgba(255, 255, 255, 0.2) 30px
    );
    z-index: 100;
}

a {
    color: var(--star-start);
    text-decoration: none;
    font-weight: bold;
}

body.after-hours::before {
    display: none;
}

#starfield {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.topline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(
        -22deg,
        hsla(283, 70%, 52%, 0.85),
        hsla(2, 84%, 55%, 0.85),
        hsla(40, 90%, 52%, 0.85),
        hsla(93, 66%, 45%, 0.85),
        hsla(176, 60%, 44%, 0.85),
        hsla(228, 90%, 60%, 0.85),
        hsla(283, 70%, 52%, 0.85)
    );
    background-size: 240% 240%;
    filter: saturate(1.15);
    z-index: 200;
    pointer-events: none;
}

.page-shine,
.page-glare {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.page-shine {
    --space: 5%;
    --angle: -22deg;
    --imgsize: 150% 200%;
    opacity: 0.22;
    background-blend-mode: color-dodge;
    background-size: var(--imgsize);
    background-position: 0% var(--background-y, 50%);
    background-image: repeating-linear-gradient(
        var(--angle),
        hsla(283, 49%, 60%, 0.75) calc(var(--space) * 1),
        hsla(2, 74%, 59%, 0.75) calc(var(--space) * 2),
        hsla(53, 67%, 53%, 0.75) calc(var(--space) * 3),
        hsla(93, 56%, 52%, 0.75) calc(var(--space) * 4),
        hsla(176, 38%, 50%, 0.75) calc(var(--space) * 5),
        hsla(228, 100%, 77%, 0.75) calc(var(--space) * 6),
        hsla(283, 49%, 61%, 0.75) calc(var(--space) * 7)
    );
    filter: brightness(calc((var(--pointer-from-center, 0) * 0.3) + 0.5)) contrast(2.3) saturate(1);
    mix-blend-mode: color-dodge;
}

.page-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: 200% 250%;
    background-image: radial-gradient(
        farthest-corner ellipse
        at calc((var(--pointer-x, 50%) * 0.5) + 25%) calc((var(--pointer-y, 50%) * 0.5) + 25%),
        hsl(0, 0%, 100%) 5%,
        hsla(300, 100%, 11%, 0.6) 40%,
        hsl(0, 0%, 22%) 120%
    );
    filter: brightness(calc((var(--pointer-from-center, 0) * 0.2) + 0.4)) contrast(0.85) saturate(1.1);
    mix-blend-mode: hard-light;
}

.page-glare {
    opacity: 0.2;
    background-image: radial-gradient(
        farthest-corner circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
        hsla(0, 0%, 100%, 1) 10%,
        hsla(0, 0%, 100%, 0.6) 35%,
        hsla(180, 11%, 35%, 1) 60%
    );
    mix-blend-mode: soft-light;
}

.container {
    position: relative;
    max-width: 1080px;
    /* centered when there's room, but the left gutter never shrinks below the star's reach */
    margin-right: auto;
    margin-left: max(160px, calc((100% - 1080px) / 2));
    padding: 120px 40px 80px 40px;
}

.hero {
    position: relative;
    max-width: 1000px;
    margin-bottom: 60px;
}

.hero-actions {
    position: absolute;
    top: 124px;
    right: 40px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.contact-btn {
    display: inline-block;
    padding: 14px 26px;
    background: #e2036d;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.contact-btn:hover {
    background: #c40561;
}

/* After Hours toggle */
.ah-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.ah-toggle .ah-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.65;
}

.ah-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ah-toggle .ah-switch {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: rgba(20, 0, 51, 0.22);
    transition: background 0.25s ease;
}

.ah-toggle .ah-switch::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.ah-toggle input:checked + .ah-switch {
    background: #e2036d;
}

.ah-toggle input:checked + .ah-switch::before {
    transform: translateX(18px);
}

.ah-toggle input:focus-visible + .ah-switch {
    outline: 2px solid #e2036d;
    outline-offset: 2px;
}

/* "After Hours" vaporwave script over the logotype */
.after-hours-script {
    position: absolute;
    top: -17px;
    left: 345px;
    z-index: 5;
    font-family: "Kaushan Script", cursive;
    font-size: 3.9rem;
    line-height: 1;
    letter-spacing: -0.05em;
    color: #e2036d;
    white-space: nowrap;
    pointer-events: none;
    transform: rotate(-8deg);
    opacity: 0;
    transition: opacity 0.5s ease;
    text-shadow:
        0 0 6px rgba(255, 74, 168, 0.475),
        0 0 14px rgba(226, 3, 109, 0.45),
        0 0 30px rgba(226, 3, 109, 0.4),
        0 0 55px rgba(226, 3, 109, 0.35),
        0 0 90px rgba(226, 3, 109, 0.275);
}

body.after-hours .after-hours-script {
    opacity: 1;
}

/* After Hours mode — inverted palette */
body,
.creed-list li,
.creed-list li .txt,
.bullet {
    transition: background-color 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
}

body.after-hours {
    --text-color: #c4bfd0;
    background: #140033;
}

body.after-hours .creed-list li {
    background: #241147;
}

body.after-hours .creed-list li .txt,
body.after-hours .bullet {
    color: #a99fc4;
}

body.after-hours .logo-strip {
    box-shadow:
        0 0 6px rgba(255, 74, 168, 0.356),
        0 0 14px rgba(226, 3, 109, 0.338),
        0 0 30px rgba(226, 3, 109, 0.3),
        0 0 55px rgba(226, 3, 109, 0.263),
        0 0 90px rgba(226, 3, 109, 0.206),
        0 0 0 1px rgba(226, 3, 109, 0.263);
}

.logo-section {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.star {
    position: absolute;
    left: -135px;
    top: 71px;
}

.star-svg {
    display: block;
    width: 150px;
    height: 150px;
    overflow: visible;
    transition: opacity 0.45s ease;
}

.star-disco {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    opacity: 0;
    transition: opacity 0.45s ease;
    -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

body.after-hours .star-svg {
    opacity: 0;
}

body.after-hours .star-disco {
    opacity: 1;
}

body.after-hours .star {
    filter: url(#disco-bloom);
}

.title-group {
    padding-top: 0;
}

.company-name {
    font-family: "microgramma-extended", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.625rem;
    color: #320080;
    line-height: 0.9;
    letter-spacing: 0.02em;
    margin-bottom: 32px;
}

body.after-hours .company-name {
    color: #a98cff;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2px;
    line-height: 1;
}

.is-text {
    font-style: normal;
    font-weight: 400;
}

.name {
    font-style: italic;
    font-weight: 500;
}

.roles {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1;
}

.dot {
    margin: 0 0.25em;
    opacity: 0.5;
}

.content {
    padding-left: 0;
    margin-top: 60px;
}

.content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 600px;
}

.intro {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 54px;
    align-items: start;
}

.intro-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro p {
    font-size: 1rem;
    line-height: 1.25;
    color: var(--text-color);
}

.intro-body .graf-lead {
    font-weight: 700;
    color: #320080;
}

body.after-hours .intro-body .graf-lead {
    color: #a98cff;
}

.intro .intro-greeting {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 16px;
}

.intro .intro-greeting .greeting-lead {
    opacity: 0.5;
}

.logo-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    max-width: 1000px;
    padding: 24px;
    background: #140033;
    border-radius: 16px;
}

.strip-tile {
    height: 64px;
    display: grid;
    place-items: center;
    transition: transform 0.45s ease;
}

body.after-hours .strip-tile {
    transform: rotate(var(--tilt, 0deg));
}

.strip-tile img {
    grid-area: 1 / 1;
    max-width: 80%;
    max-height: 42px;
    width: auto;
    height: auto;
}

.strip-tile .strip-glow {
    filter: blur(6px) saturate(1.9) brightness(1.3);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

body.after-hours .strip-tile .strip-glow {
    opacity: 0.9;
}

.creed {
    margin-top: 48px;
}

.creed-intro {
    font-size: 1rem;
    line-height: 1.25;
    color: var(--text-color);
    max-width: 620px;
    margin-bottom: 24px;
}

.creed-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin-top: 8px;
    perspective: 700px;
}

.creed-list li {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 236px;
    background: #e1deeb;
    box-shadow: 0 5px 18px rgba(20, 0, 51, 0.08);
    transform-style: preserve-3d;
    transform:
        scale(var(--card-scale, 1))
        rotateY(calc(var(--rotate-x, 0deg) * 0.5))
        rotateX(calc(var(--rotate-y, 0deg) * 0.5));
    transition: box-shadow 0.3s ease;
    will-change: transform;
}

.creed-list li:nth-child(1) { --card-grad: linear-gradient(145deg, #e2036d, #f98c01); --c: #e2036d; --c2: #c40561; }
.creed-list li:nth-child(2) { --card-grad: linear-gradient(145deg, #ff8c00, #ff007f); --c: #ff6a00; --c2: #d2590a; }
.creed-list li:nth-child(3) { --card-grad: linear-gradient(145deg, #fcff00, #ff7700); --c: #ff9500; --c2: #c98208; }
.creed-list li:nth-child(4) { --card-grad: linear-gradient(145deg, #44cc00, #00c3ae); --c: #2ba600; --c2: #2a9410; }
.creed-list li:nth-child(5) { --card-grad: linear-gradient(145deg, #ff007f, #0073ff); --c: #0073ff; --c2: #1664d8; }
.creed-list li:nth-child(6) { --card-grad: linear-gradient(145deg, #7a2bff, #ff007f); --c: #7a2bff; --c2: #6320c9; }

.creed-list li .stripe {
    height: 3px;
    flex-shrink: 0;
    background: var(--card-grad);
}

.creed-list li .tick {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid var(--c);
    opacity: 0.7;
    z-index: 3;
}

.creed-list li .tick.a { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.creed-list li .tick.b { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }

.creed-list li .num {
    position: relative;
    z-index: 2;
    font-family: "microgramma-extended", sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--c);
    opacity: 0.95;
    padding: 18px 0 0 20px;
}

.creed-list li .card-body {
    position: relative;
    z-index: 2;
    padding: 20px 20px 24px;
    margin-top: 0;
}

.creed-list li .lead {
    font-family: "microgramma-extended", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--c2);
    margin-bottom: 12px;
    line-height: 1.2;
}

.creed-list li .txt {
    font-size: 1rem;
    line-height: 1.25;
    color: #4a3d63;
}

.creed-list li.is-active {
    z-index: 10;
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.35);
}

.creed-list li .card-shine,
.creed-list li .card-glare {
    inset: 0;
    border-radius: 0;
}

.creed-list li .card-shine::after {
    border-radius: 0;
}

.creed-list li .card-shine {
    opacity: calc(var(--card-opacity, 0) * 0.5);
}

.creed-list li .card-glare {
    opacity: calc(var(--card-opacity, 0) * 0.25);
}

/* Holographic foil — Trainer Gallery effect, ported from poke-holo */
.card-shine,
.card-glare {
    position: absolute;
    inset: 0;
    border-radius: 11px;
    overflow: hidden;
    pointer-events: none;
    opacity: var(--card-opacity, 0);
}

.card-shine {
    z-index: 3;
    transform: translateZ(1px);
    --space: 5%;
    --angle: -22deg;
    --imgsize: 300% 400%;
    background-blend-mode: color-dodge;
    background-size: var(--imgsize);
    background-position: 0% var(--background-y, 50%);
    background-image: repeating-linear-gradient(
        var(--angle),
        hsla(283, 49%, 60%, 0.75) calc(var(--space) * 1),
        hsla(2, 74%, 59%, 0.75) calc(var(--space) * 2),
        hsla(53, 67%, 53%, 0.75) calc(var(--space) * 3),
        hsla(93, 56%, 52%, 0.75) calc(var(--space) * 4),
        hsla(176, 38%, 50%, 0.75) calc(var(--space) * 5),
        hsla(228, 100%, 77%, 0.75) calc(var(--space) * 6),
        hsla(283, 49%, 61%, 0.75) calc(var(--space) * 7)
    );
    filter: brightness(calc((var(--pointer-from-center, 0) * 0.3) + 0.5)) contrast(2.3) saturate(1);
    mix-blend-mode: color-dodge;
}

.card-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 11px;
    transform: translateZ(1.2px);
    background-position: center center;
    background-size: 400% 500%;
    background-image: radial-gradient(
        farthest-corner ellipse
        at calc((var(--pointer-x, 50%) * 0.5) + 25%) calc((var(--pointer-y, 50%) * 0.5) + 25%),
        hsl(0, 0%, 100%) 5%,
        hsla(300, 100%, 11%, 0.6) 40%,
        hsl(0, 0%, 22%) 120%
    );
    filter: brightness(calc((var(--pointer-from-center, 0) * 0.2) + 0.4)) contrast(0.85) saturate(1.1);
    mix-blend-mode: hard-light;
}

.card-glare {
    z-index: 4;
    opacity: calc(var(--card-opacity, 0) * 0.5);
    transform: translateZ(1.41px);
    background-image: radial-gradient(
        farthest-corner circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
        hsla(0, 0%, 100%, 1) 20%,
        hsla(0, 0%, 100%, 0.6) 70%,
        hsla(180, 11%, 35%, 1) 120%
    );
    mix-blend-mode: soft-light;
}

.creed-list strong {
    display: block;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.1;
    margin-bottom: 10px;
}


.section-label {
    font-family: "microgramma-extended", sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 20px;
}

.work {
    margin-top: 64px;
}

.creed-list.work-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
}

.work-cards li {
    min-height: auto;
}

.work-cards .num {
    display: none;
}

.work-cards li .card-body {
    margin-top: 0;
}

.bullet {
    position: relative;
    padding-left: 15px;
    margin-bottom: 7px;
    font-size: 0.86rem;
    line-height: 1.4;
    color: #4a3d63;
}

.bullet:last-child {
    margin-bottom: 0;
}

.bullet::before {
    content: "•";
    position: absolute;
    left: 0;
    opacity: 0.6;
}

.work-item {
    max-width: 600px;
    margin-bottom: 28px;
}

.work-item h3 {
    font-family: "proxima-nova", helvetica, "lucida grande", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 4px;
}

.work-item p {
    font-size: 1rem;
    line-height: 1.25;
    color: var(--text-color);
    opacity: 0.92;
}

.work-item ul {
    list-style: none;
    max-width: 600px;
}

.work-item li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--text-color);
    opacity: 0.92;
}

.work-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    opacity: 0.5;
}

.beliefs {
    margin-top: 64px;
}

.beliefs p {
    font-size: 1rem;
    line-height: 1.25;
    color: var(--text-color);
    max-width: 600px;
    margin-bottom: 12px;
}

/* Inset images/videos within the intro copy */
.inset {
    float: right;
    width: 160px;
    aspect-ratio: 4 / 3;
    margin: 6px 0 12px 22px;
    padding: 0;
    border: 0;
    background: none;
    display: block;
    line-height: 0;
    position: relative;
    isolation: isolate;
    border-radius: 10px;
    cursor: zoom-in;
    box-shadow: 0 6px 18px rgba(20, 0, 51, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inset.inset-left {
    float: left;
    margin: 6px 22px 12px 0;
}

/* a row of thumbnails shown after a paragraph */
.shot-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.shot-row .inset {
    float: none;
    margin: 0;
    width: auto;
    max-width: none;
    flex: 0 1 calc(25% - 9px);
}

.inset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.inset.inset-top img {
    object-position: top;
}

/* saturated blurred copy that "blasts out" behind each thumbnail in After Hours */
.inset-glow {
    position: absolute;
    inset: 0;
    z-index: 2;
    filter: blur(9px) saturate(2) brightness(1.2);
    transform: scale(1.05);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.inset > img:not(.inset-glow) {
    position: relative;
    z-index: 1;
    transition: filter 0.5s ease;
}

.inset-play {
    z-index: 3;
}

body.after-hours .inset-glow {
    opacity: 0.5;
}

body.after-hours .inset > img:not(.inset-glow) {
    filter: saturate(1.6) brightness(1.12) contrast(1.04);
}

body.after-hours .inset {
    transform: rotate(var(--tilt, 0deg));
}

body.after-hours .inset:hover {
    transform: rotate(var(--tilt, 0deg)) translateY(-3px);
}

.inset:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(20, 0, 51, 0.28);
}

.inset-video {
    cursor: pointer;
}

.inset-play {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px 0 10px 0;
    background: rgba(20, 0, 51, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.inset-play::after {
    content: "";
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 2px;
}

/* Lightbox — zoom an image or play a video */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-scrim {
    position: absolute;
    inset: 0;
    background: rgba(10, 0, 26, 0.85);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: lightboxFade 0.25s ease;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: #e2036d;
}

.lightbox-stage {
    position: relative;
    z-index: 1;
    display: flex;
    animation: lightboxPop 0.25s ease;
}

.lightbox-stage img,
.lightbox-stage video {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.lightbox-stage video {
    width: 92vw;
    height: auto;
    object-fit: contain;
    background: #0d0714;
}

@keyframes lightboxFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxPop {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: none; }
}

body.modal-open {
    overflow: hidden;
}

.clients {
    margin-top: 64px;
}

.client-list {
    list-style: none;
    columns: 4 150px;
    column-gap: 24px;
    max-width: 1000px;
    margin-top: 4px;
}

.client-list li {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.8;
    break-inside: avoid;
    padding-left: 1em;
    text-indent: -1em;
}

.client-list em {
    font-style: italic;
}

.contact {
    margin-top: 64px;
}

.contact p {
    font-size: 1rem;
    line-height: 1.25;
    color: var(--text-color);
    max-width: 600px;
}

.contact a:hover {
    border-bottom-color: var(--star-start);
}

.site-footer {
    margin-top: 60px;
}

.site-footer p {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-color);
    max-width: 400px;
}

.site-footer .ai-note {
    opacity: 0.5;
}

.site-footer .onward {
    margin-top: 60px;
    opacity: 0.2;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(7, 100px);
    gap: 12px;
    margin-top: 60px;
    color: var(--text-color);
    perspective: 700px;
}

.logo-item {
    position: relative;
    width: 100px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #140033;
    border-radius: 10px;
    overflow: hidden;
    transform-style: preserve-3d;
    transform:
        scale(var(--card-scale, 1))
        rotateY(var(--rotate-x, 0deg))
        rotateX(var(--rotate-y, 0deg));
    transition: box-shadow 0.3s ease;
}

.logo-item.is-active {
    z-index: 10;
    box-shadow: 0 16px 30px -6px rgba(0, 0, 0, 0.6);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 20px 40px;
        margin-left: 0;
        margin-right: 0;
    }

    .logo-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-strip {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding: 18px;
    }

    .strip-tile {
        height: 76px;
    }

    .strip-tile img {
        max-width: 88%;
        max-height: 56px;
    }

    .star {
        position: static;
        margin: 24px 0 0 0;
    }

    .title-group {
        padding-top: 0;
    }

    .company-name {
        font-size: 2rem;
    }

    .tagline,
    .roles {
        font-size: 1.1rem;
    }

    .content {
        padding-left: 0;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .creed-list,
    .creed-list.work-cards {
        grid-template-columns: 1fr;
    }

    .shot-row .inset {
        flex-basis: calc(50% - 6px);
    }

    .hero {
        max-width: none;
    }

    .hero-actions {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 8px;
    }

    .contact-btn {
        padding: 13px 16px;
        flex-shrink: 0;
    }

    .after-hours-script {
        left: auto;
        right: 0;
        top: -10px;
        font-size: 2.3rem;
    }
}
