/* v3 home page: colour-block layout with a light serif display face. Standalone: does not load styles.css.
   Serif: IvyJournal Light (Adobe Fonts kit bgf2vue). UI: system face (SF Pro on Apple), Inter elsewhere. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('../fonts/inter-var-latin.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 {
    --orange: #ff4d12;
    --yellow: #fbba10;
    --pink: #ffbef2;
    --brown: #482f22;
    --ember: #ff6937;
    --ink: #000;
    --text: #101214;
    --pad: 40px;
    --serif: 'FK Roman Standard', 'ivyjournal', 'IvyJournal', 'Iowan Old Style', 'Times New Roman', serif;
    --sans: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', system-ui, 'Helvetica Neue', Arial, sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.2; font-weight: 500; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.v3-skip { position: fixed; left: 16px; top: -100px; z-index: 200; padding: 12px 16px; background: #fff; color: #000; }
.v3-skip:focus { top: 16px; }

/* Type */
.v3-serif { font-family: var(--serif); font-weight: 300; font-size: 64px; line-height: 70.4px; letter-spacing: -0.05em; color: var(--ink); }
.v3-serif--m { font-size: 48px; line-height: 52.8px; }
.v3-label { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; letter-spacing: -0.04em; color: var(--ink); }
.v3-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.v3-dim { color: rgba(16, 18, 20, .45); }

/* Hero */
.v3-hero .site-brand { color: #000; }
.v3-hero { position: relative; height: 75.2svh; min-height: 600px; padding: var(--pad); background: var(--orange); }
.v3-hero h1 { position: absolute; left: var(--pad); bottom: 39px; max-width: 900px; }
.v3-pillbtn { display: inline-grid; place-items: center; height: 40px; padding: 0 20px; border-radius: 20px; background: #000; color: #fff; font-size: 16px; white-space: nowrap; transition: transform .4s var(--ease), opacity .25s ease; }
.v3-pillbtn:hover { transform: scale(1.03); }
.v3-textlink { padding-bottom: 2px; border-bottom: 1px solid currentColor; transition: opacity .2s ease; }
.v3-textlink:hover { opacity: .55; }
.v3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v3-cta { position: absolute; right: var(--pad); bottom: 40px; display: grid; grid-template-columns: 79px 1fr 40px; align-items: center; gap: 17px; width: 346px; height: 99px; padding: 10px 16px 10px 10px; background: #fff; color: #000; font-size: 16px; line-height: 19px; }
.v3-cta img, .v3-cta video { width: 79px; height: 79px; object-fit: cover; }
.v3-cta small { display: block; font-size: 16px; color: rgba(0, 0, 0, .45); white-space: nowrap; }
.v3-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f1f1f1; transition: background .25s ease, transform .5s var(--ease); }
.v3-cta:hover .v3-arrow { background: #000; color: #fff; transform: translateX(4px); }

/* Work carousel */
.v3-reel { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.v3-reel::-webkit-scrollbar { display: none; }
.v3-reel.is-drag { cursor: grabbing; scroll-snap-type: none; }
.v3-reel.is-drag a { pointer-events: none; }
.v3-slide { flex: 0 0 48.49%; width: 48.49%; scroll-snap-align: start; -webkit-user-drag: none; user-select: none; }
.v3-slide__media { position: relative; aspect-ratio: 691 / 797; overflow: hidden; background: #e9e9e9; }
.v3-slide__media img, .v3-slide__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.4s var(--ease); pointer-events: none; }
.v3-slide:hover .v3-slide__media img, .v3-slide:hover .v3-slide__media video { transform: scale(1.03); }
.v3-cap { display: flex; align-items: center; gap: 12px; padding: 19px var(--pad) 0; font-size: 16px; line-height: 19px; }
.v3-cap b { display: block; font-weight: 500; }
.v3-cap small { display: block; font-size: 16px; color: rgba(16, 18, 20, .45); }
.v3-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 8px; overflow: hidden; background: #000; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: -0.02em; }
.v3-icon img { width: 100%; height: 100%; object-fit: cover; }
.v3-icon--light { background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.v3-icon--light img { width: 72%; height: 72%; object-fit: contain; }
/* UI screenshots: shown whole-height on a dark field instead of cropped to fill. */
.v3-slide__media--ui { background: #0e1726; }
.v3-slide__media--ui img { inset: auto; left: 8%; top: 50%; width: auto; height: 46%; max-width: none; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: translateY(-50%); }
.v3-slide:hover .v3-slide__media--ui img { transform: translateY(-50%) scale(1.03); transform-origin: left center; }
.v3-cap__line { color: rgba(16, 18, 20, .45); }
.v3-slide .v3-cap { align-items: flex-start; }
/* Project logo centred over its video, sized as a share of the slide (same rule as the live site). */
.v3-slide__media { container-type: size; }
.v3-vlogo { position: absolute; top: 50%; left: 50%; z-index: 1; width: calc(var(--w) * max(100cqw, 100cqh)); transform: translate(-50%, -50%); pointer-events: none; }
.v3-slide__media .v3-vlogo img { position: static; width: 100%; height: auto; object-fit: contain; transform: none; }
.v3-reel-wrap { padding-bottom: 0; }
.v3-more-work { padding: 72px var(--pad) 120px; font-size: 16px; }
.v3-more-work a { border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity .2s ease; }
.v3-more-work a:hover { opacity: .55; }

/* Colour blocks */
.v3-block { position: relative; padding: var(--pad); }
.v3-block--yellow { display: flex; flex-direction: column; justify-content: space-between; min-height: 800px; background: var(--yellow); }
.v3-block--yellow { gap: 160px; }
.v3-block--yellow h2 { max-width: 760px; }
.v3-bring__head { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 40px; align-items: end; }
.v3-bring__head p { font-size: 15px; line-height: 20px; color: rgba(0, 0, 0, .78); }
/* One row per discipline: number, large serif name, one-line description in the right-hand column. */
.v3-bring { margin: 96px 0 0; padding: 0; list-style: none; }
.v3-bring li { display: grid; grid-template-columns: 32px minmax(0, 1fr) 305px; gap: 0 40px; align-items: baseline; padding: 18px 0 20px; border-top: 1px solid rgba(0, 0, 0, .18); }
.v3-bring span { font-size: 13px; line-height: 17px; color: rgba(0, 0, 0, .55); font-variant-numeric: tabular-nums; }
.v3-bring p { font-size: 16px; line-height: 21px; color: rgba(0, 0, 0, .78); }
.v3-bring p { max-width: 300px; margin-top: 6px; }
.v3-note { max-width: 520px; margin-top: 44px; }
.v3-block--pink { display: flex; flex-direction: column; justify-content: space-between; min-height: 860px; background: var(--pink); }
.v3-block--pink { gap: 160px; }
.v3-research { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 80px; align-items: end; }
.v3-research h2 { max-width: 760px; }
.v3-research p { max-width: 440px; margin: 26px 0 28px; font-size: 16px; line-height: 21px; color: rgba(0, 0, 0, .78); }
.v3-flow { margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.v3-flow li { display: grid; grid-template-columns: 34px 1fr; padding: 18px 0; border-top: 1px solid rgba(0, 0, 0, .18); counter-increment: flow; }
.v3-flow li::before { content: counter(flow, decimal-leading-zero); grid-row: span 2; font-size: 13px; line-height: 21px; color: rgba(0, 0, 0, .55); }
.v3-flow b { font-size: 16px; line-height: 21px; font-weight: 600; color: #000; }
.v3-flow span { font-size: 15px; line-height: 20px; color: rgba(0, 0, 0, .78); }

/* Testimonials */
.v3-voices { display: grid; grid-template-columns: 1fr 1fr; }
.v3-voice { position: relative; }
.v3-voice__media { position: relative; aspect-ratio: 713 / 620; overflow: hidden; background: #111; }
.v3-voice__media video, .v3-voice__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v3-voice__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .12) 38%, rgba(0, 0, 0, .66)); }
.v3-voice__media blockquote { position: absolute; left: var(--pad); right: 96px; bottom: var(--pad); z-index: 2; font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 35px; letter-spacing: -0.035em; color: #fff; }
/* Name and role sit over the image, so the cells meet the blocks above and below with no white strip. */
.v3-voice .v3-cap { position: absolute; top: 0; left: 0; z-index: 2; padding: var(--pad) var(--pad) 0; color: #fff; }
.v3-voice .v3-cap small { color: rgba(255, 255, 255, .7); }
.v3-voice .v3-icon { width: 40px; height: 40px; }

/* Logos */

/* Project list */
.v3-list { position: relative; padding: var(--pad) var(--pad) 220px; }
.v3-list ul { margin-top: 160px; }
.v3-item { position: relative; display: grid; grid-template-columns: 1fr 345px 38px; align-items: end; height: 82.4px; padding-bottom: 12px; }
.v3-item h3 { align-self: start; color: rgba(0, 0, 0, .3); transition: color .3s ease; white-space: nowrap; }
.v3-item span { font-size: 16px; line-height: 19px; color: rgba(16, 18, 20, .45); }
.v3-item span:last-child { text-align: right; }
.v3-item.is-active h3 { color: #000; }
.v3-item a::after { content: ''; position: absolute; inset: 0; }
.v3-peek { position: absolute; left: 527px; top: 134px; z-index: 2; width: 371px; aspect-ratio: 371 / 278; overflow: hidden; background: #eee; pointer-events: none; transition: transform .8s var(--ease); }
.v3-peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.v3-peek img.is-on { opacity: 1; }

/* Black panel: intro statement, four career chapters, then education, recognition and contact. */
.v3-block--black { --line: rgba(255, 255, 255, .13); padding: 28px 0 0; background: #000; color: #f0f0f0; }
.v3-block--black .v3-label { margin: 0 var(--pad) 220px; color: #fff; }
.v3-story { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 40px; align-items: end; padding: 0 var(--pad) 140px; }
.v3-story h2 { max-width: 800px; color: #f0f0f0; }
.v3-story p, .v3-col p { font-size: 15px; line-height: 19.5px; color: rgba(240, 240, 240, .55); }
.v3-cols, .v3-facts { display: grid; gap: 1px; margin: 0; padding: 1px 0 0; list-style: none; background: var(--line); }
.v3-cols { grid-template-columns: repeat(4, 1fr); }
.v3-facts { grid-template-columns: repeat(3, 1fr); }
.v3-col, .v3-fact { display: flex; flex-direction: column; background: #000; padding: 40px var(--pad); }
.v3-col { min-height: 452px; }
.v3-col__head { display: flex; justify-content: space-between; align-items: flex-start; }
.v3-tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--c); color: #000; font-size: 13px; font-weight: 600; letter-spacing: -0.02em; }
.v3-pill { align-self: flex-start; padding: 6px 12px; border-radius: 100px; background: rgba(140, 147, 158, .2); font-size: 13px; line-height: 17px; font-weight: 500; color: rgba(240, 240, 240, .6); }
.v3-pill--hot { background: rgba(255, 77, 18, .2); color: var(--orange); }
.v3-col h3 { margin-top: 41px; color: #f0f0f0; }
.v3-col p { margin-top: 19px; }
.v3-more { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding-top: 40px; font-size: 13px; line-height: 17px; color: rgba(240, 240, 240, .6); transition: color .2s ease; }
.v3-more svg { transition: transform .5s var(--ease); }
.v3-more:hover { color: #fff; }
.v3-more:hover svg { transform: translateX(4px); }
.v3-fact { min-height: 330px; }
.v3-fact ul { margin-top: 41px; }
.v3-fact li + li { margin-top: 16px; }
.v3-fact b { display: block; font-size: 15px; line-height: 19.5px; font-weight: 500; color: #f0f0f0; }
.v3-fact small { display: block; font-size: 13px; line-height: 17px; color: rgba(240, 240, 240, .5); }
.v3-mail { margin-top: 41px; font-size: 32px; line-height: 36px; letter-spacing: -0.04em; color: #f0f0f0; overflow-wrap: anywhere; }
.v3-fact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 40px; }
/* Experience: one row per role, newest first. */
.v3-xp { margin: 0; padding: 0; list-style: none; }
.v3-xp li { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 40px; align-items: baseline; padding: 30px var(--pad) 32px; border-top: 1px solid var(--line); }
.v3-xp__when { font-size: 13px; line-height: 17px; color: rgba(240, 240, 240, .5); font-variant-numeric: tabular-nums; }
.v3-xp h3 { font-size: 36px; line-height: 40px; color: #f0f0f0; }
.v3-xp h3 a { transition: opacity .2s ease; }
.v3-xp h3 a:hover { opacity: .6; }
.v3-xp b { display: block; font-size: 15px; line-height: 19.5px; font-weight: 500; color: #f0f0f0; }
.v3-xp p { max-width: 460px; margin-top: 2px; font-size: 15px; line-height: 19.5px; color: rgba(240, 240, 240, .55); }
.v3-xp p a { border-bottom: 1px solid rgba(240, 240, 240, .3); transition: color .2s ease; }
.v3-xp p a:hover { color: #fff; }
.v3-btn { display: inline-grid; place-items: center; width: 140px; height: 40px; border-radius: 20px; background: #fff; color: #000; font-size: 16px; letter-spacing: .02em; transition: transform .4s var(--ease), background .25s ease; }
.v3-btn:hover { background: #e4e4e4; transform: scale(1.03); }
.v3-btn--line { background: transparent; color: #f0f0f0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.v3-btn--line:hover { background: rgba(255, 255, 255, .12); }

/* Brown block */
.v3-gap { display: none; }
.v3-block--brown { background: var(--brown); color: var(--ember); padding-bottom: 80px; }
.v3-block--brown .v3-label, .v3-block--brown .v3-serif { color: var(--ember); }
.v3-block--brown h2 { max-width: 760px; margin-top: 300px; }
.v3-block--brown p { max-width: 440px; margin: 26px 0 28px; font-size: 16px; line-height: 21px; opacity: .85; }
.v3-block--brown .v3-pillbtn { background: var(--ember); color: var(--brown); }

/* Footer */

/* Reveal */
.v3-rise { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform 1.1s var(--ease); }
.v3-rise.is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
    .v3-serif { font-size: 50px; line-height: 55px; }
    .v3-serif--m { font-size: 40px; line-height: 44px; }
    .v3-peek { left: auto; right: 320px; width: 260px; }
    .v3-item { grid-template-columns: 1fr 200px 38px; }
    .v3-research { grid-template-columns: 1fr; gap: 56px; }
    .v3-xp li { grid-template-columns: 110px minmax(0, 1fr); }
    .v3-xp li > div { grid-column: 2; margin-top: 8px; }
    .v3-bring__head { grid-template-columns: 1fr; gap: 24px; }
    .v3-bring__head p { max-width: 420px; }
    .v3-bring li { grid-template-columns: 32px minmax(0, 1fr) 260px; }
    .v3-story { grid-template-columns: 1fr; }
    .v3-story p { max-width: 420px; }
    .v3-cols { grid-template-columns: 1fr 1fr; }
    .v3-col { min-height: 380px; }
    .v3-facts { grid-template-columns: 1fr; }
    .v3-fact { min-height: 0; }
}

@media (max-width: 720px) {
    :root { --pad: 20px; }
    .v3-serif { font-size: 38px; line-height: 42px; letter-spacing: -0.045em; }
    .v3-serif--m { font-size: 32px; line-height: 36px; }
    .v3-hero { height: auto; min-height: 88svh; display: flex; flex-direction: column; }
    .v3-hero h1 { position: static; margin-top: auto; padding-top: 120px; }
    .v3-bring__head { grid-template-columns: 1fr; gap: 20px; }
    .v3-bring { margin-top: 56px; }
    .v3-bring li { grid-template-columns: 34px minmax(0, 1fr); }
    .v3-bring p { grid-column: 2; margin-top: 4px; }
    .v3-block--yellow, .v3-block--pink { gap: 96px; }
    .v3-story { padding-bottom: 72px; }
    .v3-xp li { grid-template-columns: 1fr; padding: 18px var(--pad) 20px; }
    .v3-xp li > div { grid-column: 1; }
    .v3-xp h3 { font-size: 30px; line-height: 34px; margin-top: 4px; }
    .v3-block--brown h2 { margin-top: 96px; }
    .v3-cta { position: static; width: 100%; margin-top: 28px; }
    .v3-slide { flex-basis: 84%; width: 84%; }
    .v3-hero h1 br { display: none; }
    .v3-reel-wrap { padding-bottom: 72px; }
    .v3-block--yellow { min-height: 0; }
    .v3-voices { grid-template-columns: 1fr; }
    .v3-more-work { padding: 40px var(--pad) 72px; }
    .v3-block--brown h2 { margin-top: 140px; }
    .v3-voice__media { aspect-ratio: 4 / 3.4; }
    .v3-voice__media blockquote { right: var(--pad); font-size: 23px; line-height: 27px; bottom: 24px; }
    .v3-block--pink { min-height: 0; }
    .v3-list { padding-bottom: 90px; }
    .v3-list ul { margin-top: 72px; }
    .v3-peek { display: none; }
    .v3-item { grid-template-columns: 1fr auto; height: auto; padding: 6px 0 14px; }
    .v3-item h3 { grid-column: 1 / -1; color: #000; white-space: normal; }
    .v3-item span { font-size: 14px; }
    .v3-block--black .v3-label { margin-bottom: 72px; }
    .v3-story { padding-bottom: 56px; }
    .v3-cols { grid-template-columns: 1fr; }
    .v3-col { min-height: 0; padding: 28px var(--pad) 32px; }
    .v3-fact { padding: 28px var(--pad) 32px; }
    .v3-mail { font-size: 26px; line-height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .v3-rise { opacity: 1; transform: none; }
}
