/*
Theme Name: IszDesign
Description: The IszDesign V5 creative portfolio for WordPress.
Version: 1.1.3
Author: IszDesign
Text Domain: iszdesign
Requires at least: 6.8
Requires PHP: 7.4
*/
@import url("assets/fonts.css");

@font-face {
  font-family: 'IBM Plex Mono Arrows';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/-F6qfjptAgt5VM-kVkqdyU8n3twJ8lc.ttf) format('truetype');
  unicode-range: U+2190, U+2197;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/poppins-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/poppins-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/poppins-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: dark;
    --background: #080808;
    --text: #cdcbca;
    --muted: #aaaeb8;
    --blue: #88aaff;
    --electric: #2b66f0;
    --line: #303034;
    --heading: "Space Grotesk", Arial, sans-serif;
    --body: "Poppins", "IBM Plex Mono Arrows", Arial, sans-serif;
    --mono: "IBM Plex Mono", monospace;
    --display: Anton, Impact, "Arial Narrow", sans-serif;
    --script: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: 400 1rem/1.5 var(--body); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
img, video { display: block; max-width: 100%; }
p, h1, h2, h3, h4, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.08; }
h2 { font-size: clamp(2.25rem, 4.55vw, 4.0625rem); letter-spacing: -.045em; }
h3 { font-size: 1.6rem; letter-spacing: -.025em; }
html :where(.wp-block-image img) { height: auto; }
button { font: inherit; }
[hidden] { display: none !important; }

.screen-reader-text, .skip-link:not(:focus) {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
    position: fixed; top: 8px; left: 8px; z-index: 10; padding: .75rem 1rem;
    color: #080808; background: var(--blue);
}
.site-shell {
    position: relative; isolation: isolate; container-type: inline-size;
    width: min(100%, 1440px); margin-inline: auto; overflow: clip;
}
.wrap { width: 91.111%; margin-inline: auto; }
.mono {
    font-family: var(--body); font-weight: 500; font-size: .9375rem;
    letter-spacing: .02em; line-height: 1.4; text-transform: uppercase;
}
:where(h1, h2, h3, h4, h5, h6).mono { font-family: var(--mono); }
.script { font-family: var(--script); font-weight: 400; font-style: italic; letter-spacing: -.022em; line-height: .97; }
.display-heading { font-family: var(--display); font-weight: 400; line-height: 1; text-transform: uppercase; letter-spacing: -.018em; }
.section-kicker { color: var(--blue); margin-bottom: 1.35rem; }
.section { border-top: 1px solid var(--line); scroll-margin-top: 1rem; }

.site-header {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    gap: 1rem; min-height: 110px; position: relative; z-index: 1;
}
.site-header--inner { border-bottom: 1px solid var(--line); width: 90%; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: .625rem; font: 500 clamp(1.375rem, 2.08cqw, 1.875rem)/1 var(--heading); letter-spacing: -.032em; }
.brand picture { width: 38px; flex-shrink: 0; }
.brand strong { font-weight: 700; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6cqw, 2.5rem); font: 500 .875rem/1.25 var(--body); text-transform: uppercase; }
.header-action { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; min-height: 44px; gap: .25em; white-space: nowrap; }

.isz-home { position: relative; isolation: isolate; }
/* Keep the glow centered on the artwork as it fades into the outer gutters. */
.isz-home::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(ellipse min(45.83vw, 660px) min(38.89vw, 560px) at calc(50% + min(23.61vw, 340px)) min(29.86vw, 430px), rgb(20 80 212 / .85), transparent),
        radial-gradient(ellipse min(41.67vw, 600px) min(29.17vw, 420px) at calc(50% + min(47.22vw, 680px)) min(118.06vw, 1700px), rgb(20 80 212 / .38), transparent);
}
.portfolio-orbit { position: absolute; width: 100%; top: 0; left: 0; z-index: -1; pointer-events: none; }
.portfolio-orbit svg { display: block; width: 100%; height: auto; fill: none; stroke-linecap: round; }
.portfolio-orbit .orbit-mobile { display: none; }
.orbit-track { stroke: #397dff; stroke-width: 3; }
.orbit-mobile .orbit-track { stroke: #3978ff; stroke-width: 1.2; opacity: .8; }
.orbit-glow { stroke: #5d99ff; stroke-width: 2; opacity: .48; filter: drop-shadow(0 0 5px #397dff); }
.hero { position: relative; min-height: calc(62.5cqw - 110px); display: flow-root; }
.hero-content { position: relative; z-index: 1; padding: clamp(1.125rem, 2.78cqw, 2.5rem) 0 2rem; width: fit-content; max-width: 50%; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.hero-eyebrow { margin-bottom: 6.1cqw; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: 9.86cqw; line-height: 1.018; text-transform: uppercase; letter-spacing: -.013em; margin-left: -.055em; }
.hero-line, .hero-line > span { display: block; }
.hero-line:first-child { font-size: .92em; }
.hero-line:last-child { font-size: .86em; }
.hero-intro { font-size: clamp(1rem, 1.59cqw, 1.4375rem); line-height: 1.18; max-width: 520px; margin-top: .7rem; }
.hero-actions { margin-top: clamp(1rem, 2.7cqw, 2.5rem); }
.hero-actions a { display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; }
.hero-portrait {
    position: absolute; z-index: 0; width: 61.111cqw; height: 55.903cqw;
    right: -4.444cqw; bottom: 0; overflow: hidden;
}
.hero-portrait img { width: 200.15%; height: auto; max-width: none; position: absolute; left: -49.55%; top: -6.46%; }

.work { padding: 3rem 0 3.75rem; }
.work-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 1.5rem; margin-bottom: 2.2rem; }
.services h2 { text-transform: uppercase; }
.work-heading > p, .about-copy > p, .services-intro, .contact > div:first-child > p:last-child { font-size: clamp(1rem, 1.52cqw, 1.375rem); line-height: 1.28; }
.work-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 1.25rem; }
.work-card { --card: #101c32; --card-accent: var(--blue); background: var(--card); grid-column: span 2; min-width: 0; }
.work-card--ayesha-stuart { --card: #25281f; }
.work-card--forma { --card: #162720; --card-accent: #c1d985; }
.work-card--xlock { --card: #152218; --card-accent: #a6d4ad; }
.work-card--comfort-interior { --card: #282113; --card-accent: #e9cc8a; }
.work-card--xlock, .work-card--comfort-interior { grid-column: span 3; }
.work-card-link { display: flex; flex-direction: column; height: 100%; }
a.work-card-link:hover { color: inherit; }
.work-thumbnail { width: 100%; aspect-ratio: 424 / 176; object-fit: cover; }
.work-card-copy { position: relative; min-width: 0; padding: 1.1rem 1.5rem 1.35rem; flex: 1; }
.work-card h3 { min-height: 1.18em; font-size: clamp(1.45rem, 2.5cqw, 2.25rem); }
.work-card--ayesha-stuart h3 { font: italic 400 clamp(1.65rem, 2.5cqw, 2.25rem)/1.12 var(--script); }
.work-category, .work-type, .work-action { font-size: clamp(.65rem, .96cqw, .875rem); }
.work-category { margin-top: .8rem; }
.work-action { color: var(--card-accent); display: inline-block; margin-top: .7rem; }
a.work-card-link:hover .work-action { text-decoration: underline; text-underline-offset: 3px; }
.work-card:is(.work-card--xlock,.work-card--comfort-interior) .work-card-link {
    display: grid; grid-template-columns: 48% minmax(0, 1fr); align-items: center; padding: 1.35rem 1rem;
}
.work-card:is(.work-card--xlock,.work-card--comfort-interior) .work-thumbnail { aspect-ratio: 296 / 180; object-fit: contain; border-radius: 3px; }
.work-card:is(.work-card--xlock,.work-card--comfort-interior) .work-card-copy { padding: 0 0 0 1.5rem; }
.work-card:is(.work-card--xlock,.work-card--comfort-interior) h3 { font-size: clamp(1.3rem, 2.08cqw, 1.875rem); }
.work-type { color: var(--card-accent); margin-bottom: .6rem; }
.work-summary { margin-top: .8rem; font-size: clamp(.82rem, 1.12cqw, 1rem); line-height: 1.3; }

.split { display: grid; grid-template-columns: 1fr .93fr; column-gap: clamp(2rem, 5cqw, 4.5rem); }
.about { padding-block: clamp(3rem, 4cqw, 3.625rem) clamp(3.5rem, 7.8cqw, 7rem); }
.about h2 { font-size: clamp(3.5rem, 7.2cqw, 6.5rem); }
.subtitle { color: #588bff; font-size: clamp(2.25rem, 4.6cqw, 4.125rem); margin: .35rem 0 1rem; }
.about-copy { padding-top: clamp(1.5rem, 3.1cqw, 2.75rem); }
.about-copy > p + p { margin-top: 1rem; }
.about-copy .toolkit { font-size: .875rem; margin-block: 2rem .7rem; }
.inline-actions { display: flex; flex-wrap: wrap; gap: .15rem 1.35rem; }
.inline-actions a { display: inline-flex; align-items: center; min-height: 44px; gap: .35rem; font-size: .875rem; }

.services { padding-block: 3.5rem 2.9rem; }
.services-intro { max-width: 400px; }
.numbered { list-style: none; padding: 0; margin: 0; }
.numbered li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .5rem; border-top: 1px solid var(--line); padding: .9rem 0 1.25rem; }
.number { font-size: .875rem; color: var(--blue); }
.numbered h3 { margin-bottom: .32rem; }
.numbered p { color: var(--muted); line-height: 1.35; }
.service-list h3 { font-size: clamp(1.25rem, 1.85cqw, 1.7rem); }
.process { padding-block: 2.35rem 3.4rem; }
.process h2 { font-size: clamp(2.125rem, 3.1cqw, 2.875rem); margin-bottom: 1.6rem; }
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.process-list h3 { font-size: clamp(1.05rem, 1.58cqw, 1.5rem); }

.contact { padding-block: 4rem 5rem; align-items: center; }
.contact h2 { margin-bottom: 1.25rem; }
.contact h2 .script { display: block; margin-bottom: .35em; }
.contact h2 .display-heading { display: block; font-size: clamp(3rem, 5.9cqw, 5.3rem); color: #588bff; }
.contact > div:first-child > p:last-child { max-width: 460px; }
.contact-card { background: #101827; padding: clamp(1.25rem, 2.3cqw, 2rem); border-radius: 4px; }
.contact-card h3 { font-size: clamp(1.35rem, 2.25cqw, 2rem); margin-bottom: .8rem; }
.contact-card p { color: var(--muted); line-height: 1.4; }
.contact-card a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; margin-block: .65rem 1.2rem; color: var(--blue); }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.whatsapp-row { display: flex; gap: 1rem; justify-content: space-between; align-items: center; border-top: 1px solid #263045; padding-top: 1.25rem; margin-bottom: .65rem; }
.whatsapp-row h4 { font-size: clamp(1.05rem, 1.6cqw, 1.45rem); }
.contact-card .whatsapp-row :is(a, p) { margin: 0; font-size: .75rem; color: var(--blue); text-align: right; }
.site-footer { position: relative; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 106px; }
.site-footer .mono { font-size: .75rem; }

.case-page, .cv-page { width: 90%; }
.case-page { --case-accent: #83aaff; --showcase: #0c1222; }
.case-page--ayesha-stuart { --case-accent: #d6bc83; --showcase: #21251a; }
.case-page--xlock { --case-accent: #b2d7b5; --showcase: #101d15; }
.case-page--comfort-interior { --case-accent: #e9cc8a; --showcase: #282113; }
.case-page .section-kicker, .case-page .case-meta dt, .case-figure figcaption, .case-decisions .number { color: var(--case-accent); }
.case-masthead { padding-block: 2.15rem 3.5rem; }
.case-masthead > .section-kicker { margin-bottom: clamp(1.6rem, 4.35cqw, 4rem); }
.case-lead { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 2rem; }
.case-lead h1 { color: #e0dedd; font-size: clamp(4rem, 9.5cqw, 8.55rem); }
.case-lead h1 span { display: block; }
.case-page--xlock .case-lead h1, .case-page--comfort-interior .case-lead h1 { font-size: clamp(3.1rem, 7.25cqw, 6.5rem); }
.case-page--ayesha-stuart .case-lead { display: block; }
.case-page--ayesha-stuart .case-lead h1 { font-size: clamp(3.5rem, 9.35cqw, 8.4rem); color: #e0dbd0; }
.case-tagline { font-size: clamp(2.45rem, 4.35cqw, 4rem); color: #e0dedd; margin-bottom: 1.25rem; }
.case-description { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 1.62cqw, 1.45rem); line-height: 1.3; }
.case-page--ayesha-stuart .case-description { margin-top: 1.15rem; max-width: none; }
.case-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin: 2.4rem 0 2.65rem; }
.case-meta > div { border-top: 1px solid var(--line); padding-top: .875rem; min-width: 0; }
.case-meta dt { font-size: .8125rem; margin-bottom: .4rem; }
.case-meta dd { font: 700 clamp(1rem, 1.32cqw, 1.2rem)/1.25 var(--body); }
.case-showcase { background: var(--showcase); display: grid; gap: 1.25rem; padding: clamp(.85rem, 3.2cqw, 3.125rem) clamp(.85rem, 5cqw, 4.375rem) clamp(.85rem, 1.7cqw, 1.5rem); border-radius: 6px; }
.case-showcase img, .case-figure img { width: 100%; height: auto; border-radius: 3px; }
.case-figure figcaption { margin-top: .9rem; font-size: .8125rem; }
.case-page--ayesha-stuart .case-showcase { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 1.5rem 1.5rem 2.5rem; }
.case-section { border-top: 1px solid var(--line); padding-block: clamp(2rem, 3.25cqw, 3rem); }
.case-section h2 { font-size: clamp(2.15rem, 4.2cqw, 3.65rem); color: #e0dedd; margin-bottom: .8rem; }
.case-section p:not(.section-kicker) { color: var(--muted); font-size: clamp(1rem, 1.38cqw, 1.25rem); line-height: 1.3; }
.case-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.case-overview > div:first-child p:not(.section-kicker), .case-overview > div:nth-child(2) p:not(.section-kicker) { max-width: 580px; }
.case-overview > div:nth-child(2):not(:has(.section-kicker)) { padding-top: 2.65rem; }
.case-credit { margin-top: .75rem; }
.case-details-grid { display: grid; grid-template-columns: 1.35fr 1fr; align-items: start; gap: clamp(1.5rem, 3.2cqw, 3rem); margin-top: 2.25rem; }
.case-page--ayesha-stuart .case-details-grid { grid-template-columns: 1.65fr .92fr; gap: min(8cqw, 8rem); }
.case-details-grid h3 { margin: 1.25rem 0 .45rem; }
.case-decisions h3 { margin: 0 0 .45rem; font-size: clamp(1.1rem, 1.7cqw, 1.55rem); }
.case-result { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 2rem; }
.case-result a { color: var(--case-accent); justify-self: center; }
.case-result a:hover, .cv-request:hover { text-decoration: underline; text-underline-offset: 3px; }

.cv-page { padding-bottom: clamp(3.5rem, 6cqw, 6rem); }
.cv-intro { padding: 2.45rem 0 3.85rem; }
.cv-intro h1 { font-size: clamp(2.45rem, 5.12cqw, 4.63rem); color: #e0dedd; letter-spacing: -.034em; }
.cv-intro > p:last-child { max-width: 780px; font-size: clamp(1rem, 1.47cqw, 1.3rem); color: var(--muted); }
.cv-intro .cv-subtitle { font: 700 clamp(1rem, 1.78cqw, 1.6rem)/1.25 var(--heading); color: var(--blue); margin: 1rem 0 1.4rem; }
.cv-section { border-top: 1px solid var(--line); padding: 1.75rem 0 2rem; }
.cv-section h2 { letter-spacing: .02em; }
.cv-section h3 { color: #e0dedd; }
.cv-section p:not(.cv-date), .cv-section li { color: var(--muted); }
.cv-section ul { margin: 0; padding: 0; list-style: none; }
.cv-section li + li { margin-top: .35rem; }
.cv-role { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .4rem 1.5rem; margin: 0 0 2rem; }
.cv-role p:not(.cv-date) { grid-column: 1; }
.cv-date, .cv-request { color: var(--blue); }
.cv-education h3 { margin-bottom: .65rem; }
.cv-request { display: inline-flex; gap: .35rem; align-items: center; min-height: 44px; margin-top: 1.25rem; }
.generic-page { padding-block: 3rem 6rem; min-height: 60vh; }
.generic-page h1 { margin-bottom: 1.5rem; }

.showreel-dialog { color: var(--text); background: #0c1222; border: 1px solid var(--line); border-radius: 6px; width: min(900px, calc(100vw - 2rem)); padding: .9rem; }
.showreel-dialog::backdrop { background: rgb(0 0 0 / .82); }
.showreel-dialog video { width: 100%; max-height: 74dvh; background: #080808; }
.showreel-close, .showreel-file { display: flex; gap: .5rem; align-items: center; min-height: 44px; }
.showreel-close { color: var(--text); background: transparent; border: 0; margin: 0 0 .25rem auto; cursor: pointer; }
.showreel-file { color: var(--blue); }

@media (min-width: 1100px) {
    .work-card:is(.work-card--qbiz,.work-card--ayesha-stuart,.work-card--forma) .work-card-copy { padding-right: 8rem; }
    .work-card:is(.work-card--qbiz,.work-card--ayesha-stuart,.work-card--forma) .work-action { position: absolute; right: 1.15rem; top: 1.35rem; margin-top: 0; }
}

@media (min-width: 741px) and (max-width: 1050px) {
    .site-header { min-height: 82px; }
    .hero { min-height: max(400px, calc(62.5cqw - 82px)); }
    .work-card-copy { padding-inline: 1rem; }
}

@media (max-width: 740px) {
    .isz-home::before {
        background: radial-gradient(ellipse 63vw 65.42vw at 71% calc(max(110px, 78px + 13.846vw) + 66.46vw), rgb(17 78 190 / .72), rgb(17 78 190 / .22) 52%, transparent);
    }
    .wrap, .case-page, .cv-page, .site-header--inner { width: calc(100% - 48px); }
    .site-header { grid-template-columns: 1fr auto; min-height: 78px; }
    .brand picture { width: 32px; }
    .brand picture img { width: 32px; height: 32px; }
    .header-action { grid-column: 2; font-size: .75rem; }
    .primary-nav { display: none; }
    .mono { font-size: .8125rem; }
    .section-kicker { margin-bottom: 1rem; }
    .portfolio-orbit { top: max(110px, calc(78px + 13.846cqw)); }
    .portfolio-orbit .orbit-desktop { display: none; }
    .portfolio-orbit .orbit-mobile { display: block; }
    .hero { min-height: calc(117.44cqw + 130px); }
    .hero-content { max-width: 100%; width: 100%; padding: 9px 0 22px; }
    .hero-eyebrow { font-size: .6875rem; letter-spacing: .075em; margin: 0 0 .6rem; }
    .hero h1 { font-size: clamp(2.6rem, 16.92cqw, 6rem); line-height: .985; margin-left: -.03em; }
    .hero-line:last-child { font-size: .93em; }
    .hero-intro { margin-top: 0; position: absolute; top: calc(117.44cqw + 1.15rem); max-width: 330px; }
    .hero-actions { position: absolute; top: calc(117.44cqw + 3.85rem); margin: 0; }
    .hero-portrait { width: 100cqw; height: 61.28cqw; right: -24px; bottom: auto; top: 56.15cqw; }
    .hero-portrait img { width: 178.54%; height: auto; left: -31.28%; top: -5.02%; }
    .work { padding-block: 1.8rem 2.85rem; }
    .work-heading { display: block; margin-bottom: 1.35rem; }
    .work-heading h2 { font-size: clamp(1.95rem, 8.7cqw, 2.8rem); margin-bottom: .55rem; }
    .work-heading p, .about-copy > p, .contact > div:first-child > p:last-child { font-size: 1rem; }
    .work-grid { display: block; }
    .work-card + .work-card { margin-top: 1rem; }
    .work-card .work-card-link, .work-card:is(.work-card--xlock,.work-card--comfort-interior) .work-card-link {
        display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: center; gap: .8rem;
        padding: .85rem .85rem .85rem 0; min-height: 137px;
    }
    .work-card .work-thumbnail, .work-card:is(.work-card--xlock,.work-card--comfort-interior) .work-thumbnail {
        grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 171 / 105; object-fit: contain; border-radius: 3px;
    }
    .work-card .work-card-copy, .work-card:is(.work-card--xlock,.work-card--comfort-interior) .work-card-copy {
        grid-column: 1; grid-row: 1; padding: 0 0 0 .9rem;
    }
    .work-card h3, .work-card:is(.work-card--xlock,.work-card--comfort-interior) h3 { font-size: clamp(1.06rem, 5.1cqw, 1.5rem); }
    .work-card--ayesha-stuart h3 { font-size: clamp(1.1rem, 5.2cqw, 1.7rem); }
    .work-category, .work-type, .work-action { font-size: .625rem; }
    .work-type { margin: 0 0 .45rem; }
    .work-category { margin-top: .45rem; }
    .work-summary { display: none; }
    .split { display: block; }
    .about { padding-block: 2.1rem 2.65rem; }
    .about h2 { font-size: 3.8rem; }
    .subtitle { font-size: 2.85rem; }
    .about-copy { padding-top: .45rem; }
    .about-copy > p + p { margin-top: .8rem; }
    .about-copy .toolkit { font-size: .6875rem; margin-block: 1.3rem .35rem; }
    .inline-actions a { font-size: .72rem; }
    .services { padding-block: 2.35rem 1.15rem; }
    .services h2 { font-size: 2.65rem; }
    .services-intro { display: none; }
    .service-list { margin-top: 1.35rem; }
    .numbered li { grid-template-columns: 27px minmax(0, 1fr); padding: 1rem 0; }
    .numbered h3 { font-size: 1.18rem; }
    .numbered p { font-size: .9rem; }
    .number { font-size: .75rem; }
    .process { padding-block: 1.8rem 1.65rem; }
    .process h2 { font-size: 2.15rem; }
    .process-list { display: block; }
    .contact { padding-block: 2.2rem 2.6rem; }
    .contact h2 .script { font-size: 2.75rem; }
    .contact h2 .display-heading { font-size: clamp(2.8rem, 10cqw, 4rem); }
    .contact > div:first-child { margin-bottom: 1.5rem; }
    .contact-card { padding: 1.05rem; }
    .contact-card p { font-size: .92rem; }
    .contact-card .whatsapp-row :is(a, p) { font-size: .68rem; }
    .site-footer { min-height: 76px; }
    .site-footer .mono { font-size: .625rem; }

    .case-masthead { padding-block: 1.6rem 1.8rem; }
    .case-lead { display: block; }
    .case-lead h1 { margin-bottom: .85rem; }
    .case-tagline { margin-bottom: .65rem; }
    .case-meta { display: block; margin: 1.25rem 0 1.5rem; }
    .case-meta > div { display: grid; grid-template-columns: 32% minmax(0,1fr); align-items: baseline; gap: .5rem; padding-block: .65rem; }
    .case-meta dt { margin-bottom: 0; font-size: .68rem; }
    .case-meta dd { font-size: .875rem; }
    .case-page--ayesha-stuart .case-showcase { grid-template-columns: 1fr; padding: .85rem .85rem 1.05rem; }
    .case-figure figcaption { margin-top: .6rem; font-size: .7rem; }
    .case-overview, .case-details-grid, .case-page--ayesha-stuart .case-details-grid, .case-result { display: block; }
    .case-overview > div + div, .case-details-grid > * + * { margin-top: 1.6rem; }
    .case-overview > div:nth-child(2):not(:has(.section-kicker)) { padding-top: 0; }
    .case-details-grid { margin-top: 1.25rem; }
    .case-result a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; margin-top: .65rem; }
    .cv-intro { padding-block: 1.85rem 2.25rem; }
    .cv-role { display: block; margin-bottom: 1.45rem; }
    .cv-role h3 { font-size: 1.25rem; }
    .cv-date { margin: .45rem 0; font-size: .75rem; }
}

@media (max-width: 360px) {
    .wrap, .case-page, .cv-page, .site-header--inner { width: calc(100% - 36px); }
    .hero-portrait { right: -18px; }
    .brand { gap: .4rem; }
    .hero-actions { top: calc(117.44cqw + 4.75rem); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .orbit-light { opacity: .64; }
}

.site-pointer { display: none; }

@media (prefers-reduced-motion: no-preference) {
    .hero-intro, .hero-actions { animation: rise-in .65s .12s cubic-bezier(.2, .65, .3, 1) both; }
    .reveal-in { animation: rise-in .64s cubic-bezier(.2, .65, .3, 1) both; }
}

@keyframes rise-in {
    from { opacity: .72; translate: 0 12px; }
    to { opacity: 1; translate: 0 0; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .work-card { transition: transform .25s ease, box-shadow .25s ease; }
    .work-card:has(a:hover) { transform: translateY(-4px); box-shadow: 0 12px 34px rgb(0 0 0 / .55), 0 0 0 1px color-mix(in srgb, var(--card-accent) 45%, transparent); }
    .work-card a .work-action { transition: translate .25s ease; }
    .work-card a:hover .work-action { translate: 3px 0; }

    .site-shell.has-site-pointer:not(:has(dialog[open])),
    .site-shell.has-site-pointer:not(:has(dialog[open])) :is(a, button) { cursor: none; }
    .site-pointer {
        display: block; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
        visibility: hidden;
    }
    .site-pointer[data-mode] { visibility: visible; }
    body:has(.showreel-dialog[open]) .site-pointer { visibility: hidden; }
    .site-pointer > span {
        position: absolute; top: 0; left: 0;
        transform: translate3d(var(--pointer-x, -80px), var(--pointer-y, -80px), 0) translate(-50%, -50%);
    }
    .site-pointer .pointer-halo {
        width: 22px; height: 22px; border-radius: 50%; border: 1px solid #94bbff;
        display: grid; place-items: center; box-shadow: 0 0 12px rgb(80 147 255 / .45), inset 0 0 8px rgb(80 147 255 / .24);
        transition: width .2s ease, height .2s ease, background-color .2s ease;
    }
    .site-pointer[data-mode] .pointer-halo { transition: transform .095s ease-out, width .2s ease, height .2s ease, background-color .2s ease; }
    .pointer-dot { width: 4px; height: 4px; border-radius: 50%; background: #e5f2ff; box-shadow: 0 0 6px #75aeff; }
    .pointer-arrow { color: #eaf3ff; font: 500 1.35rem/1 'IBM Plex Mono Arrows', monospace; opacity: 0; }
    .site-pointer[data-mode="link"] .pointer-halo { width: 36px; height: 36px; background: rgb(66 133 255 / .15); }
    .site-pointer[data-mode="work"] .pointer-halo { width: 52px; height: 52px; background: rgb(22 51 112 / .93); }
    .site-pointer[data-mode="work"] .pointer-arrow { opacity: 1; }
    .site-pointer[data-mode="work"] .pointer-dot { opacity: 0; }
}

/* Featured work, project previews and enquiry pages. */
.ice-text { color: #77a7ff; }
.silver-text { color: #d7dbe3; }
@supports (background-clip: text) {
    .ice-text {
        background-image: linear-gradient(145deg, #c5e4ff 3%, #74a5ff 36%, #457cf9 60%, #3064dc 91%);
        background-clip: text; color: transparent;
    }
    .silver-text {
        background-image: linear-gradient(158deg, #f6f7fb 5%, #ccd3df 49%, #a3afc3 91%);
        background-clip: text; color: transparent;
    }
}
.hero-line { overflow: clip; padding-block: .045em; margin-block: -.045em; }
.hero-intro { max-width: min(100%, 540px); font-size: clamp(1rem, 1.42cqw, 1.275rem); line-height: 1.3; }

.work-heading h2 { display: flex; flex-direction: column; font-size: clamp(3rem, 8cqw, 7rem); line-height: .83; }
.work-heading h2 .script { font-size: .49em; color: var(--blue); margin-bottom: .25em; }
.work-heading > p { max-width: 32ch; justify-self: end; }
.featured-work { margin-bottom: 1.4rem; padding: 1px; border-radius: 8px; background: linear-gradient(130deg, #5277a9, #202f47 40%, #131c2b 72%, #30476b); }
.featured-work-link {
    display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center;
    gap: clamp(1rem, 3cqw, 3rem); padding: clamp(1.1rem, 3cqw, 2.75rem); border-radius: 7px;
    background: radial-gradient(ellipse at 80% 45%, #1a3558 0%, #101c30 47%, #0b111b 82%);
}
.featured-work-copy { align-self: center; }
.featured-work-copy .work-type { font-size: clamp(.62rem, .88cqw, .81rem); letter-spacing: .055em; }
.featured-work-copy h3 { font-size: clamp(4.5rem, 12cqw, 10rem); color: #e5ecf6; line-height: .9; margin: .9rem 0 .75rem; }
.featured-work-copy > p:not(.work-type) { color: var(--muted); max-width: 29ch; }
.featured-work-copy .work-action { margin-top: 1.05rem; }
.featured-work-media { position: relative; padding: .65rem 11% 10% 0; }
.featured-screen, .featured-phone, .annotation-screen, .device-gallery .case-figure img {
    border-radius: 6px; border: 1px solid #40638a;
    box-shadow: 0 20px 45px rgb(0 0 0 / .36);
}
.featured-screen { overflow: hidden; }
.featured-screen img { width: 100%; height: auto; }
.featured-phone {
    position: absolute; bottom: 0; right: 0; width: 27%;
    overflow: hidden; border: 3px solid #101b29; border-radius: clamp(4px, 1cqw, 14px);
    box-shadow: 0 0 0 1px #5679a8, 0 14px 24px rgb(0 0 0 / .52);
}
.featured-phone img { width: 100%; height: auto; }
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-grid .work-card { grid-column: auto; }
.work-grid .work-card .work-card-link { display: flex; align-items: stretch; padding: 0; gap: 0; }
.work-grid .work-card .work-thumbnail { aspect-ratio: 2.22; object-fit: cover; border-radius: 0; }
.work-grid .work-card .work-card-copy { display: grid; align-content: start; gap: .5rem; padding: clamp(1rem, 2.3cqw, 1.65rem); }
.work-grid .work-card .work-action { position: static; margin: .2rem 0 0; justify-self: start; }
.work-grid .work-card .work-summary { margin: 0; color: var(--muted); }
.work-grid .work-card .work-type { margin: 0; }
.work-grid .work-card--ayesha-stuart { --card-accent: #d6bc83; }

.service-examples { display: flex; flex-wrap: wrap; column-gap: 1rem; margin-top: .3rem; }
.service-examples a { color: var(--blue); font-size: .82rem; display: inline-flex; align-items: center; min-height: 44px; gap: .3rem; }
.service-examples a:hover { text-decoration: underline; text-underline-offset: .2em; }
.process-list { --process-progress: 0; position: relative; }
.process-list::before {
    content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, #376beb, #9bccff);
    transform: scaleX(var(--process-progress)); transform-origin: left;
    filter: drop-shadow(0 0 6px #5488ff);
}
.contact-mark { color: #c4d9fb; float: right; margin: -.15rem -.15rem .65rem 1rem; }
.contact-mark svg { display: block; }
.contact-card .action-link { background: #d2e3ff; color: #0b1930; padding: .5rem .9rem; width: fit-content; border-radius: 3px; }
.contact-card .action-link:hover { background: #e4eeff; text-decoration: none; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: end; align-items: center; gap: .3rem 1.4rem; }
.footer-nav a { display: inline-flex; min-height: 44px; align-items: center; gap: .25rem; }
.action-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; color: var(--blue); }
.action-link:hover { text-decoration: underline; text-underline-offset: .25em; }

.case-page--forma { --case-accent: #c1d985; --showcase: #1b2c22; }
.case-meta { grid-template-columns: .9fr 1fr .85fr 1.25fr; }
.case-showcase {
    background: radial-gradient(ellipse at 68% 8%, color-mix(in srgb, var(--case-accent) 27%, var(--showcase)), var(--showcase) 65%);
    border: 1px solid color-mix(in srgb, var(--case-accent) 29%, var(--line));
}
.case-detail .case-figure figcaption, .annotated-caption { text-align: right; }
.case-end { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.4rem; }
.case-next { display: flex; flex-direction: column; gap: .25rem; color: var(--case-accent); }
.case-next strong { font: 700 clamp(1.3rem, 3cqw, 2.35rem)/1.1 var(--heading); }
.case-next .mono { font-size: .73rem; }
.client-quote { margin: 0; }
.client-quote blockquote { margin: 0 0 .75rem; font: italic 400 clamp(1.6rem, 4.2cqw, 3.5rem)/1.13 var(--script); color: #e7e5e0; max-width: 28ch; }
.client-quote figcaption { color: var(--case-accent); }
.device-controls { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.device-controls button {
    min-height: 44px; color: var(--text); background: #111c29;
    border: 1px solid #3f5472; border-radius: 4px; padding: .35rem 1rem; cursor: pointer;
}
.device-controls button[aria-pressed='true'] { color: #0c1727; background: #c6dbff; border-color: #c6dbff; }
.device-panel + .device-panel:not([hidden]) { margin-top: 1rem; }
.device-panel[hidden] + .device-panel { margin-top: 0; }
.mobile-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; gap: clamp(.65rem, 2.25cqw, 2rem); }
.mobile-examples .case-figure img { aspect-ratio: 390 / 610; object-fit: cover; object-position: top; }
.mobile-examples .case-figure figcaption { font-size: clamp(.65rem, 1.25cqw, .82rem); }
.annotation-screen { position: relative; overflow: hidden; }
.annotation-screen img { width: 100%; height: auto; }
.annotation-pin {
    position: absolute; display: grid; place-items: center; width: clamp(17px, 2.25cqw, 29px); aspect-ratio: 1;
    border: 1px solid #c3d9fb; border-radius: 50%; background: #102b55; color: #fff;
    font: 700 clamp(.6rem, 1.1cqw, .82rem)/1 var(--body); box-shadow: 0 0 9px rgb(55 119 247 / .7);
}
.annotation-pin--services { left: 47%; top: 8%; }
.annotation-pin--solutions { left: 57%; top: 8%; }
.annotation-pin--contact { right: 3%; top: 8%; }
.case-section p.annotated-caption { color: var(--case-accent); margin: .8rem 0 1.5rem; font-size: .75rem; }

.wedding-story-stage { display: none; }
.wedding-story-steps { display: grid; gap: 2rem; margin: 1.5rem 0 2.5rem; }
.wedding-story-step .case-figure { width: min(100%, 700px); }
.wedding-story-step h3 { margin: .85rem 0 .45rem; }
.wedding-story-step p { max-width: 48ch; }
.wedding-preview { margin: 1.8rem 0 0; }
.wedding-preview video { max-width: 780px; width: 100%; background: #121913; border: 1px solid #3c4935; border-radius: 5px; }
.wedding-preview figcaption { color: var(--case-accent); font-size: .75rem; margin-top: .7rem; }
@media (min-width: 741px) and (prefers-reduced-motion: no-preference) {
    .wedding-story.is-enhanced { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); column-gap: 2.5rem; align-items: start; }
    .wedding-story.is-enhanced .wedding-story-stage {
        display: grid; place-items: center; align-self: start; position: sticky; top: min(12vh, 6rem); padding: 1.5rem 0;
    }
    .wedding-story-screen {
        width: min(100%, 310px); aspect-ratio: 390 / 610; position: relative;
        overflow: hidden; background: #171e16; border: 7px solid #2a3126; border-radius: 26px;
        box-shadow: 0 0 0 1px #717d62, 0 18px 36px rgb(0 0 0 / .45);
    }
    .wedding-story-screen img {
        position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
        opacity: 0; transition: opacity .32s ease;
    }
    .wedding-story-screen img.is-current { opacity: 1; }
    .wedding-story.is-enhanced .wedding-story-steps { gap: 0; }
    .wedding-story.is-enhanced .wedding-story-step { display: grid; align-content: center; min-height: 44vh; }
    .wedding-story.is-enhanced .wedding-story-step .case-figure { display: none; }
}

.brief-page, .lab-page { min-height: 70vh; padding-block: clamp(2.5rem, 6cqw, 5rem) clamp(4rem, 8cqw, 7rem); }
.brief-intro { margin-bottom: clamp(1.5rem, 4cqw, 3.5rem); }
.brief-intro h1 { font-size: clamp(3.1rem, 9cqw, 8.4rem); letter-spacing: -.025em; color: #dfe5ef; }
.brief-intro > p:last-child { margin-top: .7rem; color: var(--muted); max-width: 48ch; }
.brief-form {
    max-width: 850px; display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.05rem 1.3rem; padding: clamp(1rem, 3cqw, 2.35rem);
    background: #111a28; border: 1px solid #2d4260; border-radius: 8px;
}
.brief-field { display: grid; align-content: start; gap: .35rem; min-width: 0; }
.brief-field label > span { color: var(--muted); font-size: .75rem; margin-left: .55rem; }
.brief-field :is(input, select, textarea) {
    background: #0b1320; border: 1px solid #4d6180; padding: .65rem .75rem;
    border-radius: 4px; width: 100%; min-height: 44px; color: #e5ecf6; font: inherit;
}
.brief-field textarea { resize: vertical; }
.brief-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.brief-field [aria-invalid='true'] { border-color: #ffadad; }
.brief-field--type, .brief-field--summary, .brief-actions, .brief-form > .brief-notice { grid-column: 1 / -1; }
.brief-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.brief-actions p { width: 100%; color: var(--muted); font-size: .82rem; margin-bottom: .4rem; }
.brief-actions button { border: 0; border-radius: 4px; background: #c6dcff; color: #0a182d; cursor: pointer; padding: .5rem .85rem; }
.brief-actions > a { color: var(--blue); padding-block: .65rem; }
.brief-notice { margin: 0; max-width: 850px; border: 1px solid #3a5884; border-radius: 5px; padding: 1rem; background: #111e31; }
.brief-notice h2 { margin-bottom: .65rem; }
.field-error, .brief-error { color: #ffb5b5; font-size: .88rem; }
.lab-study { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: start; gap: 2rem; border-top: 1px solid var(--line); padding: 2rem 0; }
.lab-study h2 { margin-bottom: .55rem; }
.lab-study p { max-width: 43ch; color: var(--muted); }
.lab-study .action-link { margin-top: .55rem; }
.lab-orbit { border: 1px solid #354d71; border-radius: 6px; background: radial-gradient(ellipse at 50% 60%, #112c4b, #0b111b 66%); }
.lab-orbit svg { width: 100%; height: auto; display: block; }
.cv-actions .cv-request { margin-top: 0; }

@media (max-width: 740px) {
    .hero { min-height: calc(117.44cqw + 150px); }
    .hero-summary { position: absolute; top: calc(117.44cqw + 1.15rem); left: 0; width: 100%; }
    .hero-intro { position: static; max-width: min(100%, 360px); }
    .hero-actions { position: static; margin-top: .55rem; }
    .work-heading > p { margin-top: .95rem; }
    .featured-work-link { grid-template-columns: 1fr; gap: 1.25rem; }
    .featured-work-copy h3 { font-size: clamp(3.4rem, 16cqw, 5.5rem); }
    .featured-work-copy > p:not(.work-type) { font-size: .9rem; }
    .featured-work-media { padding-top: .2rem; padding-bottom: 6%; }
    .featured-phone { width: 25%; }
    .work-grid .work-card .work-thumbnail { aspect-ratio: 2.35; }
    .case-meta { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .case-page .case-end { grid-template-columns: 1fr; }
    .process-list::before {
        top: 0; bottom: 0; left: 0; width: 2px; height: auto;
        transform: scaleY(var(--process-progress)); transform-origin: top;
        background: linear-gradient(#376beb, #9bccff);
    }
    .process-list li { padding-left: .7rem; }
    .footer-nav { justify-content: start; gap: 0 1rem; }
    .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: .85rem; gap: 0; }
    .lab-study { grid-template-columns: 1fr; gap: .85rem; }
}
@media (max-width: 460px) {
    .brief-form { grid-template-columns: 1fr; gap: .85rem; }
}
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    [data-qbiz-transition] { view-transition-name: qbiz-cover; }
    ::view-transition-group(qbiz-cover) { animation-duration: .32s; animation-timing-function: cubic-bezier(.18, .65, .25, 1); }
    ::view-transition-group(root) { animation-duration: .22s; }
    .hero-line > span { animation: title-rise .52s cubic-bezier(.23, .71, .25, 1) both; }
    .hero-line:nth-child(2) > span { animation-delay: 75ms; }
    .hero-line:nth-child(3) > span { animation-delay: 150ms; }
    .featured-work.is-entering .featured-screen { animation: screen-reveal .58s cubic-bezier(.2, .68, .2, 1) both; }
    .featured-work.is-entering .featured-work-copy { animation: rise-in .45s .13s cubic-bezier(.2, .65, .3, 1) both; }
    .device-panel.panel-enter { animation: rise-in .22s ease-out both; }
    .contact-mark.is-entering path { animation: assemble-mark .5s cubic-bezier(.2, .65, .3, 1) both; --part-offset: -8px; }
    .contact-mark.is-entering path + path { --part-offset: 9px; animation-delay: 60ms; }
}
@keyframes title-rise { from { translate: 0 102%; } to { translate: 0 0; } }
@keyframes screen-reveal { from { clip-path: inset(100% 0 0); } to { clip-path: inset(0); } }
@keyframes assemble-mark { from { opacity: .12; translate: var(--part-offset) 0; } to { opacity: 1; translate: 0 0; } }

@media print {
    html, body, .site-shell { background: #fff !important; color: #111 !important; }
    .site-header, .site-footer, .skip-link, .cv-actions, #wpadminbar { display: none !important; }
    .cv-page { width: 100%; padding: 0; }
    .cv-intro { padding: 0 0 1rem; }
    .cv-intro h1 { font-size: 24pt; }
    .cv-intro .cv-subtitle { font-size: 12pt; margin: .4rem 0 .6rem; }
    .cv-section { padding: .75rem 0; border-color: #ccc; }
    .cv-role { margin-bottom: .6rem; break-inside: avoid; }
    .cv-page :is(h1, h2, h3, p, li) { color: #18202a !important; }
    .cv-section h2 { font-size: 12pt; margin-bottom: .4rem; }
    .cv-section h3 { font-size: 11pt; }
    .cv-page p, .cv-page li { font-size: 9.5pt !important; }
}
