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

/* ─── Tokens ─── */
:root {
    --bg: #FAF9F6;
    --text: #000000;
    --border: #E0E0E0;
    --accent: #FF5B05;
    --font: 'TASA Orbiter Display', sans-serif;
}

/* ─── Base ─── */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover { color: var(--accent); }

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

/* ─── Layout ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

section h2 {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0;
    padding: 14px 28px 14px 14px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.btn-primary::after {
    content: '';
    display: block;
    width: 38px;
    height: 10px;
    background-color: currentColor;
    -webkit-mask-image: url('ic-arrow-right-long.svg');
    mask-image: url('ic-arrow-right-long.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: left center;
    mask-position: left center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.btn-primary:hover {
    background: var(--accent);
    color: #FFFFFF;
}

.btn-sm {
    padding: 8px 18px 8px 12px;
    font-size: 14px;
}

.btn-sm::after { width: 30px; height: 9px; }

/* ─── Header ─── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-start {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo:hover { color: var(--text); }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.nav-share-btn {
    flex-shrink: 0;
}

.nav-share-mobile {
    align-self: flex-start;
    margin-top: 16px;
}

/* Share button: arrow on the right of text, pointing up-right */
.nav-share-btn,
.nav-share-mobile {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
}

.nav-share-btn::after,
.nav-share-mobile::after {
    width: 12px;
    height: 12px;
    -webkit-mask-image: url('/ic-arrow-up-right.svg');
    mask-image: url('/ic-arrow-up-right.svg');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.nav-share-mobile {
    padding: 12px 18px;
}

.nav-share-mobile::after {
    width: 14px;
    height: 14px;
}

/* ─── Share Dialog ─── */
.share-dialog[hidden] { display: none; }

.share-dialog {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.share-modal {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    max-width: 520px;
    width: 100%;
    padding: 40px 32px 32px;
}

.share-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text);
    cursor: pointer;
    padding: 4px 8px;
    font-family: var(--font);
    transition: color 0.2s;
}

.share-close:hover { color: var(--accent); }

.share-modal h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.share-preview {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.share-page-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.share-page-desc {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.65;
}

.share-url-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.share-url {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--bg);
    color: var(--text);
    outline: none;
}

.share-url:focus { border-color: var(--accent); }

.share-copy {
    white-space: nowrap;
    flex-shrink: 0;
}

.share-copy.copied {
    background: var(--accent);
    color: #FFFFFF;
}

.share-copy.copied::after { display: none; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    position: absolute;
    left: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }

.nav-toggle.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.active span:last-child {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 40px 24px;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-of-type {
    border-bottom: none;
}

.mobile-nav.open { display: flex; }

/* ─── Hero ─── */
.hero {
    padding: 120px 0 100px;
    border-top: none;
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 40px;
}

.hero-content {
    min-width: 0;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 700px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 19px;
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 40px;
    color: var(--text);
    opacity: 0.75;
}

.hero-graphic {
    color: var(--accent);
    opacity: 0.28;
    width: 100%;
    max-width: 560px;
    justify-self: end;
    pointer-events: none;
    overflow: visible;
}

.hero-graphic svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

/* ─── About ─── */
.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
}

.about-photo-wrap {
    border: 1px solid var(--border);
}

.about-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

#about .about-content {
    max-width: 640px;
}

#about .about-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
}

#about .about-content p:last-child {
    margin-bottom: 0;
}

.about-location {
    margin-top: 8px;
    opacity: 0.6;
}

/* ─── Work With Me ─── */
.work-with-me {
    max-width: 520px;
}

.work-with-me p {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.75;
}

/* ─── Work / Projects ─── */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.project:first-child { padding-top: 0; }
.project:last-child { border-bottom: none; }

.project h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project p {
    font-size: 16px;
    line-height: 1.65;
    opacity: 0.75;
    margin-bottom: 12px;
    max-width: 600px;
}

.project a {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
}

.project a:hover { opacity: 0.8; }

.tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0;
    padding: 2px 10px;
    vertical-align: middle;
    margin-left: 4px;
}

/* Post meta line on blog cards: type tag + date */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-type {
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 3px 10px;
    line-height: 1;
}

.post-date {
    opacity: 0.55;
    font-weight: 500;
}

/* ─── Content / Videos ─── */
.section-intro {
    font-size: 17px;
    opacity: 0.75;
    margin-bottom: 48px;
    max-width: 520px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 1px solid var(--border);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ─── Video Fallback ─── */
.video-placeholder {
    grid-column: 1 / -1;
    border: 1px solid var(--border);
    padding: 64px 32px;
    text-align: center;
}

.video-placeholder p {
    font-size: 17px;
    opacity: 0.6;
    margin-bottom: 24px;
}

/* ─── Email Signup ─── */
.email-signup {
    border: 1px solid var(--border);
    padding: 48px;
    max-width: 600px;
}

.email-signup h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.email-signup p {
    font-size: 16px;
    line-height: 1.65;
    opacity: 0.75;
    margin-bottom: 24px;
}

.signup-form {
    display: flex;
    gap: 12px;
}

.signup-form input {
    flex: 1;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}

.signup-form input:focus { border-color: var(--accent); }

.signup-form input::placeholder { opacity: 0.4; }

/* ─── Footer ─── */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-top {
    margin-bottom: 40px;
}

.footer-tagline {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-cta {
    font-size: 16px;
    opacity: 0.75;
}

.footer-cta a {
    color: var(--accent);
    font-weight: 600;
}

.footer-cta a:hover { opacity: 0.8; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    font-weight: 500;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.5;
}

/* ─── Case Study Page ─── */
.case-container {
    max-width: 760px;
    padding: 0 20px;
}

.breadcrumb {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    font-size: 13px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    opacity: 0.65;
}

.breadcrumb li[aria-current="page"] {
    opacity: 1;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--text);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb-sep {
    opacity: 0.4;
}

.case-hero {
    padding: 56px 0 48px;
    border-top: 1px solid var(--border);
}

.case-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.case-hero h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.case-dek {
    font-size: 20px;
    line-height: 1.55;
    opacity: 0.75;
    margin-bottom: 20px;
}

.case-meta {
    font-size: 13px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 36px;
    opacity: 0.6;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.case-meta-author {
    font-weight: 600;
}

.case-meta-sep {
    opacity: 0.5;
}

.case-meta-date {
    font-weight: 400;
}

/* ─── Legal / policy pages ─── */
.legal-hero {
    padding: 56px 0 36px;
}

.legal-hero h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: baseline;
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.5;
    margin: 0;
}

.legal-meta strong {
    font-weight: 600;
}

.legal-meta-sep {
    opacity: 0.4;
}

.legal-article {
    padding: 16px 0 80px;
}

.legal-callout {
    border-left: 2px solid var(--accent);
    background: #F0EFEB;
    padding: 20px 24px;
    margin: 28px 0 40px;
}

.legal-callout p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
}

.legal-article h2 {
    margin-top: 56px;
}

.legal-article h2:first-of-type {
    margin-top: 32px;
}

@media (max-width: 768px) {
    .legal-hero h1 { font-size: 30px; }
    .legal-callout { padding: 16px 18px; }
    .legal-callout p { font-size: 16px; }
}

.case-keynum {
    display: inline-flex;
    flex-direction: column;
    border: 1px solid var(--accent);
    padding: 18px 24px;
    gap: 4px;
}

.case-keynum-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.3px;
}

.case-keynum-label {
    font-size: 13px;
    opacity: 0.75;
    letter-spacing: 0.2px;
}

.case-article {
    padding: 24px 0 80px;
}

.case-article p,
.case-article li {
    font-size: 18px;
    line-height: 1.7;
}

.case-article p {
    margin-bottom: 20px;
}

.case-article h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 64px 0 20px;
    line-height: 1.2;
}

.case-article h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 12px;
    line-height: 1.3;
}

.case-article ul,
.case-article ol {
    margin: 0 0 24px 24px;
}

.case-article li {
    margin-bottom: 8px;
}

.case-article li::marker {
    color: var(--accent);
}

.case-article strong {
    font-weight: 600;
}

.case-article code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.9em;
    background: #F0EFEB;
    padding: 2px 6px;
    border: 1px solid var(--border);
}

.case-figure {
    margin: 40px 0;
}

.case-figure-zoom {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.case-figure-zoom:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.case-figure-zoom img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border);
    background: #F0EFEB;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-figure-zoom:hover img {
    transform: scale(1.01);
}

.case-figure-zoom::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--bg);
    border: 1px solid var(--border);
    background-image:
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 12px 1px, 1px 12px, 12px 1px, 1px 12px;
    background-position: center 11px, 11px center, center calc(100% - 11px), calc(100% - 11px) center;
    color: var(--text);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

.case-figure-zoom:hover::after,
.case-figure-zoom:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback for old img-only figures */
.case-figure > img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    background: #F0EFEB;
}

.case-figure-caption {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.6;
    margin-top: 12px;
    text-align: center;
}

/* ─── Lightbox ─── */
.lightbox[hidden] { display: none; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 64px 72px;
    animation: lightbox-fade 0.18s ease-out;
}

@keyframes lightbox-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 14, 12, 0.92);
}

.lightbox-stage {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    pointer-events: none;
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 240px);
    width: auto;
    height: auto;
    object-fit: contain;
    background: #F0EFEB;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: auto;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    transform-origin: center center;
    animation: lightbox-fade-in 0.22s ease-out;
}

.lightbox-img.is-zoomed {
    cursor: grab;
}

.lightbox-img.is-dragging {
    cursor: grabbing;
}

@keyframes lightbox-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    max-width: 720px;
    pointer-events: auto;
    margin: 0;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 0.5px;
    margin: 0;
    pointer-events: auto;
}

.lightbox-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    pointer-events: auto;
}

.lightbox-toolbar {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    pointer-events: auto;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lightbox-zoom-btn {
    background: transparent;
    color: #FFFFFF;
    border: 0;
    padding: 0 16px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    height: 36px;
    min-width: 44px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, opacity 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lightbox-zoom-btn + .lightbox-zoom-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.lightbox-zoom-btn:hover:not(:disabled) {
    background: var(--accent);
}

.lightbox-zoom-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    z-index: 1;
    position: relative;
}

.lightbox-zoom-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.lightbox-zoom-reset {
    min-width: 64px;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

.lightbox-btn {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    font-family: var(--font);
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}

.lightbox-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.lightbox-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.lightbox-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 26px;
    font-weight: 300;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 64px;
    font-size: 32px;
    font-weight: 300;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.04);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox.is-single .lightbox-prev,
.lightbox.is-single .lightbox-next,
.lightbox.is-single .lightbox-counter {
    display: none;
}

@media (max-width: 768px) {
    .lightbox {
        padding: 48px 16px 80px;
    }
    .lightbox-img {
        max-height: calc(100vh - 280px);
    }
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 16px;
        transform: none;
        width: 44px;
        height: 44px;
        font-size: 26px;
    }
    .lightbox-prev:hover,
    .lightbox-next:hover {
        transform: scale(1.04);
    }
    .lightbox-prev { left: 16px; }
    .lightbox-next { right: 16px; }
    .lightbox-caption {
        font-size: 13px;
    }
    .lightbox-controls {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }
    .lightbox-zoom-btn {
        height: 40px;
        min-width: 48px;
        font-size: 18px;
    }
    .lightbox-zoom-reset {
        min-width: 60px;
        font-size: 12px;
    }
    .lightbox-counter {
        font-size: 11px;
    }
}

/* Body scroll lock when lightbox open */
body.lightbox-open {
    overflow: hidden;
}

.case-table-wrap {
    margin: 24px 0 28px;
    overflow-x: auto;
}

.case-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    border: 1px solid var(--border);
}

.case-table th,
.case-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.case-table th:last-child,
.case-table td:last-child {
    border-right: none;
}

.case-table tbody tr:last-child td {
    border-bottom: none;
}

.case-table th {
    font-weight: 600;
    background: #F0EFEB;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.case-cta-section {
    border-top: 1px solid var(--border);
    padding: 80px 0 100px;
}

.case-cta-card {
    border: 1px solid var(--border);
    padding: 48px;
    max-width: 760px;
    margin: 0 auto;
}

.case-cta-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.case-cta-card p {
    font-size: 17px;
    line-height: 1.65;
    opacity: 0.75;
    margin-bottom: 28px;
    max-width: 600px;
}

/* Tablet / phablet for case study */
@media (max-width: 768px) {
    .case-container { padding: 0 24px; }
    .case-hero { padding: 40px 0 32px; }
    .case-hero h1 { font-size: 32px; letter-spacing: -0.5px; }
    .case-dek { font-size: 17px; margin-bottom: 28px; }
    .case-keynum { padding: 14px 18px; }
    .case-keynum-value { font-size: 18px; }
    .case-article { padding: 16px 0 56px; }
    .case-article p, .case-article li { font-size: 17px; }
    .case-article h2 { font-size: 26px; margin: 48px 0 16px; }
    .case-article h3 { font-size: 20px; margin: 32px 0 10px; }
    .case-cta-section { padding: 56px 0 72px; }
    .case-cta-card { padding: 32px 24px; }
    .case-cta-card h2 { font-size: 24px; }
    .case-table { font-size: 14px; }
    .case-table th, .case-table td { padding: 10px 12px; }
}

/* ─── Responsive ─── */

/* Tablet */
@media (max-width: 1024px) {
    .hero h1 { font-size: 46px; }
    .hero-graphic { max-width: 340px; opacity: 0.18; }
    .about-grid { grid-template-columns: 220px 1fr; gap: 40px; }
}

/* Phablet */
@media (max-width: 768px) {
    .container { padding: 0 24px; }

    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .mobile-nav { padding: 0 24px 24px; }

    section { padding: 72px 0; }
    section h2 { font-size: 30px; }

    .hero { padding: 80px 0 72px; }
    .hero .container { grid-template-columns: 1fr; gap: 0; }
    .hero-graphic { display: none; }
    .hero h1 { font-size: 38px; }
    .hero-sub { font-size: 17px; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-photo-wrap { max-width: 200px; }

    .videos-grid { grid-template-columns: 1fr; }

    .email-signup { padding: 32px 24px; }

    .signup-form { flex-direction: column; }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

/* Mobile */
@media (max-width: 375px) {
    .hero h1 { font-size: 32px; }
    section h2 { font-size: 26px; }
    .service-card { padding: 24px 20px; }
}
