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

:root {
    --ink: #0b0d0e;
    --ink-soft: #131719;
    --paper: #f3f1ea;
    --paper-soft: #e6e3da;
    --white: #fffefa;
    --muted: #9da4a6;
    --line: rgba(255, 255, 255, .15);
    --dark-line: rgba(11, 13, 14, .16);
    --cyan: #61d7e8;
    --green: #9bde76;
    --amber: #f0b94a;
    --coral: #f07b62;
    --page: min(1440px, 100%);
    --pad: clamp(22px, 4vw, 68px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: 'Manrope', sans-serif; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; }
.site-shell { width: var(--page); margin: 0 auto; overflow: hidden; background: var(--ink); }

.site-header { position: fixed; z-index: 100; top: 0; left: 50%; display: flex; width: var(--page); min-height: 84px; padding: 0 var(--pad); align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(11, 13, 14, .88); backdrop-filter: blur(18px); transform: translateX(-50%); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; background: var(--cyan); color: var(--ink); font-family: 'DM Mono', monospace; font-weight: 500; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 14px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font: 11px 'DM Mono', monospace; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 42px); }
.site-nav a { color: #cbd0d1; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta { display: inline-flex; min-height: 42px; padding: 0 16px; align-items: center; gap: 10px; border: 1px solid var(--line); color: var(--white); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: white; }

.hero { min-height: 790px; padding: 84px 0 0; display: grid; grid-template-columns: .86fr 1.14fr; border-bottom: 1px solid var(--line); }
.hero-visual { position: relative; min-height: 706px; background: #1a1e20 center/cover no-repeat; overflow: hidden; }
.hero-visual:before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(11,13,14,.9)), linear-gradient(90deg, rgba(11,13,14,.2), transparent); }
.hero-visual:after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 64px 64px; opacity: .25; }
.hero-visual-label { position: absolute; z-index: 2; left: var(--pad); bottom: 34px; display: flex; align-items: center; gap: 10px; color: #d6dbdc; font: 11px 'DM Mono', monospace; text-transform: uppercase; }
.hero-visual-label span, .hero-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(155,222,118,.12); }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: 70px var(--pad) 54px; background: var(--ink); }
.hero-status { display: flex; align-items: center; gap: 12px; margin-bottom: 58px; color: #c5cbcc; font: 11px 'DM Mono', monospace; text-transform: uppercase; }
.eyebrow, .section-index { color: var(--cyan); font: 11px 'DM Mono', monospace; text-transform: uppercase; }
.hero h1 { max-width: 790px; margin: 22px 0 28px; font-size: clamp(46px, 5.2vw, 82px); line-height: .98; font-weight: 700; letter-spacing: 0; }
.hero-lede { max-width: 680px; color: #bec5c7; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; min-height: 50px; padding: 0 20px; align-items: center; justify-content: center; gap: 14px; border: 1px solid var(--line); background: transparent; color: white; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--cyan); background: var(--cyan); color: var(--ink); }
.button-primary:hover { color: var(--ink); background: #8ce4f0; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 58px; border: 1px solid var(--line); background: var(--line); }
.hero-meta div { display: flex; min-height: 86px; padding: 18px; flex-direction: column; justify-content: center; background: var(--ink); }
.hero-meta strong { font-size: 18px; }
.hero-meta span { margin-top: 5px; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; }

.ticker { display: flex; min-height: 66px; padding: 0 var(--pad); align-items: center; justify-content: space-between; gap: 18px; overflow: hidden; background: var(--green); color: var(--ink); font: 12px 'DM Mono', monospace; text-transform: uppercase; white-space: nowrap; }
.ticker span { opacity: .4; }
.section { padding: clamp(90px, 10vw, 150px) var(--pad); }
.section-index { margin-bottom: 34px; color: #707879; }
.section h2, .contact-section h2 { margin: 16px 0 0; font-size: clamp(38px, 5vw, 72px); line-height: 1.03; font-weight: 600; letter-spacing: 0; }
.section-heading { display: grid; grid-template-columns: 1.55fr .65fr; gap: clamp(40px, 8vw, 130px); align-items: end; margin-bottom: 72px; }
.section-heading > p { color: #a9b0b2; font-size: 16px; line-height: 1.7; }
.section-heading.compact { align-items: end; }

.intro-section { display: grid; grid-template-columns: .42fr 1.15fr .75fr; gap: clamp(32px, 6vw, 100px); background: var(--paper); color: var(--ink); }
.intro-section .section-index { margin: 4px 0 0; }
.intro-heading h2 { font-size: clamp(38px, 4vw, 62px); }
.intro-copy { padding-top: 40px; color: #3e4546; font-size: 16px; line-height: 1.75; }
.intro-copy p + p { margin-top: 18px; }
.text-link { display: inline-flex; margin-top: 28px; align-items: center; gap: 12px; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 13px; font-weight: 700; }

.work-section { background: var(--ink); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 64px 24px; }
.case-card:nth-child(3n) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; }
.case-media { position: relative; display: block; min-height: 370px; overflow: hidden; background: var(--cyan); }
.case-card:nth-child(3n) .case-media { min-height: 490px; }
.case-card-amber .case-media { background: var(--amber); }
.case-card-green .case-media { background: var(--green); }
.case-card-coral .case-media { background: var(--coral); }
.case-media > img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; filter: saturate(.72) contrast(1.05); transition: transform .5s ease, filter .5s ease; }
.case-media > span { position: absolute; right: 26px; bottom: 10px; color: rgba(11,13,14,.65); font: 150px/1 'DM Mono', monospace; }
.case-media-overlay { position: absolute; inset: auto 0 0; display: flex; min-height: 58px; padding: 0 22px; align-items: center; justify-content: space-between; background: rgba(11,13,14,.88); transform: translateY(100%); transition: transform .3s ease; }
.case-media-overlay i { transform: rotate(45deg); }
.case-media:hover img { transform: scale(1.025); filter: saturate(1); }
.case-media:hover .case-media-overlay { transform: none; }
.case-body { padding: 24px 0; }
.case-card:nth-child(3n) .case-body { display: flex; padding: 44px; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-left: 0; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.case-meta span:first-child { color: var(--cyan); }
.case-body h3 { margin: 16px 0 12px; max-width: 690px; font-size: clamp(23px, 2.4vw, 38px); line-height: 1.18; }
.case-summary { max-width: 650px; color: #aeb5b7; font-size: 14px; line-height: 1.7; }
.case-link { display: inline-flex; margin-top: 22px; align-items: center; gap: 12px; color: #e9eded; font-size: 12px; font-weight: 700; }

.services-section { background: var(--paper); color: var(--ink); }
.services-section .eyebrow { color: #176674; }
.services-section .section-heading > p { color: #596062; }
.service-list { border-top: 1px solid var(--dark-line); }
.service-row { display: grid; grid-template-columns: 50px 52px .7fr 1fr; gap: 22px; padding: 30px 0; align-items: start; border-bottom: 1px solid var(--dark-line); }
.service-row > span { color: #747b7c; font: 11px 'DM Mono', monospace; }
.service-row > i { display: grid; width: 42px; height: 42px; place-items: center; background: var(--ink); color: var(--cyan); }
.service-row h3 { margin: 7px 0 0; font-size: 21px; }
.service-row div { color: #555c5e; font-size: 14px; line-height: 1.65; }
.service-row div p { margin: 0; }

.process-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 170px); background: #15191b; }
.process-intro { position: sticky; top: 130px; align-self: start; }
.process-intro > p:last-child { max-width: 540px; margin-top: 30px; color: #a9b0b2; line-height: 1.7; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--cyan); font: 11px 'DM Mono', monospace; }
.process-list strong { font-size: 22px; }
.process-list p { margin-top: 8px; color: #9da4a6; font-size: 14px; line-height: 1.65; }

.experience-section { background: var(--ink); }
.experience-list { border-top: 1px solid var(--line); }
.experience-item { border-bottom: 1px solid var(--line); }
.experience-item summary { display: grid; grid-template-columns: 180px 1fr 30px; gap: 20px; padding: 28px 0; align-items: start; cursor: pointer; list-style: none; }
.experience-item summary::-webkit-details-marker { display: none; }
.experience-years { color: var(--cyan); font: 11px 'DM Mono', monospace; text-transform: uppercase; }
.experience-item summary strong { display: block; font-size: 18px; }
.experience-item summary small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.experience-item summary i { transition: transform .2s; }
.experience-item[open] summary i { transform: rotate(45deg); }
.experience-detail { max-width: 760px; margin: 0 0 32px 200px; color: #aeb5b7; font-size: 14px; line-height: 1.7; }
.experience-detail p + p { margin-top: 12px; }

.studio-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 140px); background: var(--green); color: var(--ink); }
.studio-section .eyebrow { color: #244b18; }
.studio-copy > p:nth-of-type(2) { max-width: 570px; margin-top: 28px; line-height: 1.7; }
.interest-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.interest-list span { display: inline-flex; padding: 9px 12px; gap: 8px; align-items: center; border: 1px solid rgba(11,13,14,.25); font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.spotify-panel { align-self: center; padding: 18px; background: var(--ink); color: white; box-shadow: 18px 18px 0 rgba(11,13,14,.15); }
.spotify-heading { display: flex; padding: 2px 2px 16px; align-items: center; justify-content: space-between; gap: 20px; }
.spotify-heading span { color: var(--green); font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.spotify-heading strong { font-size: 13px; }
.spotify-heading i { font-size: 17px; margin-right: 7px; }
.spotify-panel iframe { display: block; border: 0; background: #121212; }

.writing-section { background: var(--paper); color: var(--ink); }
.writing-section .eyebrow { color: #176674; }
.writing-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.writing-card { position: relative; min-height: 330px; padding: 28px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.writing-meta { display: flex; justify-content: space-between; gap: 20px; color: #757c7d; font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.writing-card h3 { margin: 52px 0 16px; font-size: 24px; line-height: 1.25; }
.writing-card p { color: #5b6264; font-size: 14px; line-height: 1.65; }
.writing-card > a:last-child { position: absolute; right: 28px; bottom: 28px; display: grid; width: 42px; height: 42px; place-items: center; background: var(--ink); color: white; }

.contact-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 120px); padding: clamp(90px, 10vw, 150px) var(--pad); background: #121617; }
.contact-copy > p:nth-of-type(2) { max-width: 540px; margin-top: 28px; color: #a9b0b2; line-height: 1.7; }
.contact-direct { display: grid; gap: 12px; margin-top: 38px; }
.contact-direct a { display: flex; gap: 14px; align-items: center; }
.contact-direct i { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); color: var(--cyan); }
.contact-direct span { display: flex; flex-direction: column; color: var(--muted); font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.contact-direct strong { margin-top: 4px; color: white; font: 13px 'Manrope', sans-serif; text-transform: none; }
.contact-form { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); background: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 9px; }
.form-grid label > span { color: #9ca3a5; font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 50px; padding: 12px 0; border: 0; border-bottom: 1px solid #384043; border-radius: 0; outline: 0; background: transparent; color: white; }
.form-grid select { color-scheme: dark; }
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--cyan); }
.form-message { grid-column: 1 / -1; }
.form-footer { display: flex; margin-top: 30px; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
#loader, .form-status { display: none; }
.form-status { margin-top: 18px; padding: 13px; background: rgba(155,222,118,.13); color: var(--green); font-size: 13px; }
.form-status i { margin-right: 8px; }
.form-error { background: rgba(240,123,98,.12); color: var(--coral); }
label.error { color: var(--coral); font-size: 11px; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; padding: 42px var(--pad); align-items: center; border-top: 1px solid var(--line); }
.site-footer > div:first-child { display: flex; align-items: center; gap: 12px; }
.site-footer p { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 8px; }
.footer-links a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); }
.site-footer > small { grid-column: 1 / -1; color: #626a6c; font: 9px 'DM Mono', monospace; text-transform: uppercase; }

.ajax-portfolio { position: fixed; z-index: 300; inset: 0; display: none; padding: 64px max(18px,4vw); overflow-y: auto; background: rgba(7,9,10,.96); }
.ajax-portfolio.is-open { display: block; }
.ajax-portfolio .content-wrap { width: min(1120px,100%); margin: 0 auto; padding: 0; background: var(--paper); color: var(--ink); }
.popup-close { position: fixed; z-index: 2; top: 22px; right: 28px; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); background: var(--ink); color: white; cursor: pointer; }
.popup-close:hover { border-color: var(--cyan); color: var(--cyan); }
.ajax-loader { display: none; position: fixed; inset: 50% auto auto 50%; width: 34px; height: 34px; border: 2px solid var(--line); border-top-color: var(--cyan); border-radius: 50%; animation: spin .7s linear infinite; }
.ajax-portfolio.loading .ajax-loader { display: block; }
.ajax-portfolio .popup-content img { max-width: 100%; height: auto; }
.case-study-sheet { overflow: hidden; }
.case-study-sheet__header { display: grid; padding: clamp(34px,6vw,76px); grid-template-columns: .3fr 1fr; gap: 25px clamp(30px,6vw,80px); border-bottom: 1px solid var(--dark-line); }
.case-study-sheet__index { color: #777f81; font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.case-study-sheet__title { grid-column: 2; }
.case-study-eyebrow { margin: 0; color: #176674; font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.case-study-sheet__title h1 { max-width: 800px; margin: 16px 0 0; font-size: clamp(38px,5vw,68px); line-height: 1.02; font-weight: 600; }
.case-study-sheet__meta { grid-column: 2; display: grid; margin-top: 22px; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.case-study-sheet__meta > div, .case-study-sheet__meta > a { display: flex; min-height: 82px; padding: 16px; flex-direction: column; justify-content: center; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.case-study-sheet__meta span { color: #777f81; font: 8px 'DM Mono', monospace; text-transform: uppercase; }
.case-study-sheet__meta strong { margin-top: 7px; overflow-wrap: anywhere; font-size: 12px; }
.case-study-sheet__meta a strong { display: flex; align-items: center; justify-content: space-between; color: #176674; }
.case-study-sheet__meta a i { transform: rotate(45deg); }
.case-study-sheet__content { padding: clamp(34px,6vw,76px); }
.case-study-detail__summary { max-width: 850px; margin: 0 0 clamp(45px,6vw,72px); color: #303638; font-size: clamp(19px,2vw,27px); line-height: 1.55; }
.case-study-detail__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.case-study-detail__section { min-height: 330px; padding: clamp(26px,4vw,46px); border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.case-study-detail__section > span { display: block; color: #176674; font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.case-study-detail__section h2 { max-width: 420px; margin: 22px 0 42px; color: var(--ink); font-size: clamp(25px,2.6vw,38px); line-height: 1.12; font-weight: 600; }
.case-study-detail__section p { margin: 0; color: #555d5f; font-size: 15px; line-height: 1.75; }
.case-study-detail__section--outcome { grid-column: 1 / -1; display: grid; min-height: 280px; grid-template-columns: .35fr 1fr; column-gap: 50px; background: var(--green); }
.case-study-detail__section--outcome > span { color: #244b18; }
.case-study-detail__section--outcome h2 { grid-column: 2; margin-top: 0; }
.case-study-detail__section--outcome p { grid-column: 2; color: #20351a; font-size: clamp(18px,2vw,25px); line-height: 1.55; }
.case-study-detail__section--stack { grid-column: 1 / -1; min-height: auto; background: var(--ink); color: var(--white); }
.case-study-detail__section--stack > span { color: var(--cyan); }
.case-study-detail__section--stack h2 { margin-bottom: 30px; color: var(--white); }
.case-study-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.case-study-stack span { display: inline-flex; min-height: 34px; padding: 0 11px; align-items: center; border: 1px solid rgba(255,255,255,.2); color: #dce2e3; font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.case-study-sheet__footer { display: flex; padding: clamp(38px,6vw,70px); align-items: end; justify-content: space-between; gap: 35px; border-top: 1px solid var(--dark-line); background: var(--paper-soft); }
.case-study-sheet__footer h2 { max-width: 680px; margin: 15px 0 0; font-size: clamp(30px,4vw,50px); line-height: 1.06; }
.case-study-sheet__footer .button { flex: 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
    .hero { grid-template-columns: .72fr 1.28fr; }
    .hero h1 { font-size: clamp(44px, 6vw, 66px); }
    .intro-section { grid-template-columns: 1fr 2fr; }
    .intro-copy { grid-column: 2; }
    .section-heading { grid-template-columns: 1fr; }
    .process-section, .studio-section, .contact-section { grid-template-columns: 1fr; }
    .process-intro { position: static; }
}

@media (max-width: 760px) {
    .site-header { min-height: 70px; }
    .brand-copy { display: none; }
    .nav-toggle { display: grid; place-items: center; }
    .site-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; padding: 22px var(--pad); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: var(--ink); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .site-nav .nav-cta { margin-top: 12px; justify-content: space-between; }
    .hero { min-height: auto; padding-top: 70px; grid-template-columns: 1fr; }
    .hero-visual { min-height: 42vh; }
    .hero-content { padding: 48px var(--pad); }
    .hero-status { margin-bottom: 38px; }
    .hero h1 { font-size: clamp(42px, 13vw, 62px); }
    .hero-meta { grid-template-columns: 1fr; }
    .hero-meta div { min-height: 70px; }
    .ticker { justify-content: flex-start; }
    .ticker div:nth-of-type(n+4), .ticker span:nth-of-type(n+4) { display: none; }
    .intro-section { grid-template-columns: 1fr; }
    .intro-copy { grid-column: auto; padding-top: 0; }
    .case-grid { grid-template-columns: 1fr; }
    .case-card:nth-child(3n) { grid-column: auto; display: block; }
    .case-card:nth-child(3n) .case-media { min-height: 370px; }
    .case-card:nth-child(3n) .case-body { padding: 24px 0; border: 0; }
    .service-row { grid-template-columns: 38px 44px 1fr; }
    .service-row div { grid-column: 3; }
    .experience-item summary { grid-template-columns: 100px 1fr 20px; }
    .experience-detail { margin-left: 120px; }
    .writing-grid { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: 1fr auto; }
    .site-footer p { grid-column: 1 / -1; grid-row: 2; }
    .form-grid { grid-template-columns: 1fr; }
    .form-message { grid-column: auto; }
    .spotify-panel iframe { height: 300px; }
    .ajax-portfolio { padding: 58px 12px 20px; }
    .popup-close { top: 10px; right: 12px; width: 40px; height: 40px; }
    .case-study-sheet__header { grid-template-columns: 1fr; }
    .case-study-sheet__title, .case-study-sheet__meta { grid-column: auto; }
    .case-study-sheet__meta { grid-template-columns: 1fr; }
    .case-study-detail__grid { grid-template-columns: 1fr; }
    .case-study-detail__section, .case-study-detail__section--outcome, .case-study-detail__section--stack { grid-column: auto; }
    .case-study-detail__section--outcome { grid-template-columns: 1fr; }
    .case-study-detail__section--outcome h2, .case-study-detail__section--outcome p { grid-column: auto; }
    .case-study-detail__section--outcome h2 { margin-top: 22px; }
    .case-study-sheet__footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
    .section, .contact-section { padding-top: 78px; padding-bottom: 78px; }
    .hero-actions .button { width: 100%; }
    .case-media, .case-card:nth-child(3n) .case-media { min-height: 280px; }
    .service-row { grid-template-columns: 30px 1fr; }
    .service-row > i { grid-column: 2; }
    .service-row h3, .service-row div { grid-column: 2; }
    .experience-item summary { grid-template-columns: 1fr 24px; }
    .experience-years { grid-column: 1 / -1; }
    .experience-detail { margin-left: 0; }
    .spotify-heading { align-items: flex-start; flex-direction: column; }
    .form-footer .button { width: 100%; }
    .g-recaptcha { max-width: 100%; transform: scale(.88); transform-origin: left center; }
    .case-study-sheet__meta > div, .case-study-sheet__meta > a { min-height: 68px; }
    .case-study-detail__section { min-height: auto; }
    .case-study-detail__section h2 { margin-bottom: 25px; }
    .case-study-sheet__footer .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Journal */
.journal-body { background: #d9d6cc; color: var(--ink); }
.journal-shell { width: var(--page); min-height: 100vh; margin: 0 auto; background: var(--paper); overflow: hidden; }
.journal-header { position: relative; left: auto; width: 100%; background: var(--ink); transform: none; }
.journal-header .brand { color: var(--white); }
.journal-header .site-nav a[aria-current="page"] { color: var(--cyan); }
.journal-hero { display: grid; min-height: 520px; padding: 150px var(--pad) 80px; grid-template-columns: .35fr 1.15fr .6fr; gap: clamp(30px, 6vw, 90px); align-items: end; border-bottom: 1px solid var(--dark-line); background: var(--paper); }
.journal-hero-index { align-self: start; color: #737a7c; font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.journal-hero h1 { max-width: 780px; margin: 18px 0 0; font-size: clamp(54px, 7vw, 100px); line-height: .94; font-weight: 600; letter-spacing: 0; }
.journal-hero-copy { padding-bottom: 5px; color: #51585a; font-size: 15px; line-height: 1.75; }
.journal-hero-copy span { display: flex; margin-top: 34px; align-items: center; gap: 9px; color: #737a7c; font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.journal-hero-copy i { color: #176674; }
.journal-tools { display: flex; min-height: 84px; padding: 16px var(--pad); align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--dark-line); background: var(--white); }
.journal-search { display: flex; width: min(340px,100%); align-items: center; gap: 12px; }
.journal-search i { color: #667072; }
.journal-search input { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--dark-line); outline: none; background: transparent; color: var(--ink); }
.journal-search input:focus { border-color: #176674; }
.journal-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.journal-filters button { min-height: 34px; padding: 0 11px; border: 1px solid var(--dark-line); background: transparent; color: #4f5759; font: 9px 'DM Mono', monospace; text-transform: uppercase; cursor: pointer; }
.journal-filters button:hover, .journal-filters button.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.journal-index { padding: clamp(80px, 9vw, 130px) var(--pad); }
.journal-index-head { display: grid; grid-template-columns: .45fr 1.2fr .45fr; gap: 30px; align-items: end; margin-bottom: 58px; }
.journal-index-head h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.05; }
.journal-index-head > p:last-child { color: #757d7f; font: 10px 'DM Mono', monospace; text-align: right; text-transform: uppercase; }
.journal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 54px 22px; }
.journal-card { min-width: 0; }
.journal-card[hidden] { display: none; }
.journal-card-media { position: relative; display: block; min-height: 320px; overflow: hidden; background: var(--cyan); }
.journal-card:nth-child(4n+2) .journal-card-media { background: var(--amber); }
.journal-card:nth-child(4n+3) .journal-card-media { background: var(--green); }
.journal-card:nth-child(4n+4) .journal-card-media { background: var(--coral); }
.journal-card-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; filter: saturate(.75); transition: transform .4s ease, filter .4s ease; }
.journal-card-media:hover img { transform: scale(1.025); filter: saturate(1); }
.journal-card-media > span { position: absolute; right: 22px; bottom: -8px; color: rgba(11,13,14,.65); font: 130px 'DM Mono', monospace; }
.journal-card-body { padding: 23px 0; }
.journal-card-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; color: #747c7e; font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.journal-card-meta span:nth-child(2) { color: #176674; }
.journal-card h3 { max-width: 610px; margin: 16px 0 12px; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.18; }
.journal-card-body > p { max-width: 620px; color: #596163; font-size: 14px; line-height: 1.7; }
.journal-read { display: inline-flex; margin-top: 22px; align-items: center; gap: 12px; border-bottom: 1px solid var(--dark-line); padding-bottom: 5px; font-size: 12px; font-weight: 700; }
.journal-empty { grid-column: 1 / -1; display: grid; min-height: 420px; padding: clamp(30px,6vw,80px); grid-template-columns: .45fr 1fr; gap: 40px; align-items: center; border: 1px solid var(--dark-line); background: var(--paper-soft); }
.journal-empty > span { color: rgba(11,13,14,.18); font: clamp(100px,17vw,220px)/1 'DM Mono', monospace; }
.journal-empty h2 { margin: 16px 0 18px; font-size: clamp(34px,4vw,58px); }
.journal-empty div > p:last-child { max-width: 620px; color: #596163; line-height: 1.7; }
.journal-no-results { padding: 70px 0; text-align: center; }
.journal-no-results h3 { margin-top: 12px; font-size: 30px; }
.journal-cta { display: flex; padding: clamp(70px,8vw,110px) var(--pad); align-items: end; justify-content: space-between; gap: 40px; background: var(--green); color: var(--ink); }
.journal-cta .eyebrow { color: #244b18; }
.journal-cta h2 { max-width: 800px; margin: 16px 0 0; font-size: clamp(38px,5vw,68px); line-height: 1; }
.journal-footer { background: var(--ink); color: var(--white); }

/* Article */
.article-hero { padding: 96px var(--pad) 70px; border-bottom: 1px solid var(--dark-line); }
.article-breadcrumb { display: flex; align-items: center; gap: 12px; color: #70787a; font: 10px 'DM Mono', monospace; text-transform: uppercase; }
.article-breadcrumb i { font-size: 7px; }
.article-title-wrap { display: grid; grid-template-columns: .28fr 1fr; gap: clamp(30px,6vw,90px); margin-top: 70px; }
.article-number { color: rgba(11,13,14,.18); font: clamp(80px,12vw,170px)/.8 'DM Mono', monospace; }
.article-title-wrap h1 { max-width: 980px; margin: 18px 0 25px; font-size: clamp(46px,6vw,86px); line-height: .98; font-weight: 600; }
.article-deck { max-width: 780px; color: #555d5f; font-size: clamp(17px,1.7vw,22px); line-height: 1.6; }
.article-byline { display: flex; margin: 65px 0 0 calc(28% + clamp(30px,6vw,90px)); flex-wrap: wrap; gap: 14px 30px; color: #747c7e; font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.article-byline strong { color: var(--ink); }
.article-cover { width: calc(100% - (var(--pad) * 2)); max-height: 720px; margin: 0 var(--pad); overflow: hidden; background: var(--ink-soft); }
.article-cover img { width: 100%; max-height: 720px; object-fit: cover; }
.article-layout { display: grid; padding: clamp(70px,9vw,130px) var(--pad); grid-template-columns: .3fr 1fr; gap: clamp(40px,8vw,120px); align-items: start; }
.article-aside { position: sticky; top: 30px; display: flex; padding-top: 8px; flex-direction: column; align-items: flex-start; color: #747c7e; font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.article-aside > strong { margin-top: 8px; color: var(--ink); font: 15px 'Manrope', sans-serif; text-transform: none; }
.article-aside > div { display: flex; margin-top: 20px; flex-wrap: wrap; gap: 6px; }
.article-aside > div span { padding: 6px 8px; border: 1px solid var(--dark-line); }
.article-aside > a { display: inline-flex; margin-top: 30px; align-items: center; gap: 9px; color: #176674; }
.article-content { max-width: 800px; color: #2e3436; font-size: clamp(17px,1.5vw,20px); line-height: 1.85; }
.article-content > p:first-child:first-letter { float: left; margin: 10px 12px 0 0; color: #176674; font-size: 75px; font-weight: 700; line-height: .7; }
.article-content p + p, .article-content ul, .article-content ol, .article-content blockquote, .article-content pre { margin-top: 28px; }
.article-content h2 { margin: 65px 0 20px; color: var(--ink); font-size: clamp(30px,3vw,46px); line-height: 1.15; }
.article-content h3 { margin: 48px 0 18px; color: var(--ink); font-size: 27px; }
.article-content a { color: #176674; text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin-left: 0; padding: 25px 30px; border-left: 4px solid var(--cyan); background: var(--paper-soft); color: var(--ink); font-size: 1.1em; }
.article-content img { width: auto; max-width: 100%; height: auto; margin: 40px auto; }
.article-content pre { max-width: 100%; padding: 25px; overflow-x: auto; background: var(--ink); color: #dce3e4; font: 13px/1.7 'DM Mono', monospace; }
.article-pagination { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.article-pagination > a { display: flex; min-height: 170px; padding: 35px var(--pad); flex-direction: column; justify-content: center; border-right: 1px solid var(--dark-line); }
.article-pagination > a:last-child { align-items: flex-end; border-right: 0; text-align: right; }
.article-pagination span { color: #747c7e; font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.article-pagination strong { max-width: 520px; margin-top: 12px; font-size: 20px; }
.article-comments { padding: clamp(80px,9vw,130px) var(--pad); background: #15191b; color: var(--white); }
.article-comments-head { display: grid; grid-template-columns: 1fr .6fr; gap: 40px; align-items: end; }
.article-comments-head h2 { margin: 14px 0 0; font-size: clamp(34px,4vw,58px); }
.article-comments-head > p { color: #a4acae; line-height: 1.7; }
.comment-list { max-width: 900px; margin: 55px 0 70px; border-top: 1px solid var(--line); }
.comment { display: grid; padding: 28px 0; grid-template-columns: 44px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.comment-avatar { display: grid; width: 44px; height: 44px; place-items: center; background: var(--cyan); color: var(--ink); font-weight: 800; }
.comment-meta { display: flex; margin-bottom: 10px; justify-content: space-between; gap: 20px; }
.comment-meta span { color: var(--muted); font: 9px 'DM Mono', monospace; text-transform: uppercase; }
.comment > div:last-child > div:last-child { color: #c4c9ca; line-height: 1.7; }
.comment-empty { padding: 28px 0; color: var(--muted); }
.comment-form { max-width: 900px; padding-top: 55px; border-top: 1px solid var(--line); }
.comment-form .form-grid input, .comment-form .form-grid textarea { width: 100%; min-height: 50px; padding: 12px 0; border: 0; border-bottom: 1px solid #384043; outline: 0; background: transparent; color: white; }
.comment-form .form-grid label { display: flex; flex-direction: column; gap: 9px; }
.comment-form .form-grid label > span { color: #9ca3a5; font: 10px 'DM Mono', monospace; text-transform: uppercase; }
#comment-loader, #comment-success, #comment-error { display: none; }

@media (max-width: 900px) {
    .journal-hero { grid-template-columns: 1fr 2fr; }
    .journal-hero-copy { grid-column: 2; }
    .journal-tools { align-items: stretch; flex-direction: column; }
    .journal-search { width: 100%; }
    .journal-filters { justify-content: flex-start; }
    .journal-index-head { grid-template-columns: 1fr; }
    .journal-index-head > p:last-child { text-align: left; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; }
}

@media (max-width: 760px) {
    .journal-header { position: relative; }
    .journal-hero { min-height: auto; padding-top: 70px; grid-template-columns: 1fr; }
    .journal-hero-copy { grid-column: auto; }
    .journal-hero h1 { font-size: clamp(52px,16vw,76px); }
    .journal-grid { grid-template-columns: 1fr; }
    .journal-empty { grid-template-columns: 1fr; }
    .journal-empty > span { font-size: 110px; }
    .journal-cta { align-items: flex-start; flex-direction: column; }
    .article-hero { padding-top: 70px; }
    .article-title-wrap { grid-template-columns: 1fr; margin-top: 45px; }
    .article-number { font-size: 95px; }
    .article-byline { margin: 40px 0 0; }
    .article-pagination { grid-template-columns: 1fr; }
    .article-pagination > a { border-right: 0; border-bottom: 1px solid var(--dark-line); }
    .article-comments-head { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .journal-tools { padding-top: 22px; padding-bottom: 22px; }
    .journal-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
    .journal-filters button { flex: 0 0 auto; }
    .journal-card-media, .journal-card-media img { min-height: 250px; }
    .article-content { font-size: 17px; }
}
