

.op-hero, .op-story {
    --op-accent: #FF9A3D;
    --op-fg: #f4f4f0;
    --op-muted: #9ea0a8;
    --op-line: rgba(255, 255, 255, 0.2);
    --op-pad: clamp(20px, 5vw, 72px);
    --op-display: 'League Spartan', sans-serif;
    --op-body: 'Inter', sans-serif;
    --op-hand: 'League Spartan', sans-serif;   
    position: relative;
    box-sizing: border-box;
    color: var(--op-fg);
    font-family: var(--op-body);
}
.op-hero *, .op-story * { box-sizing: border-box; }
.op-hero :where(h1, h2, p, figure, ul), .op-story :where(h1, h2, p, figure, ul) { margin: 0; }

.op-hero {
    display: flex; flex-direction: column;
    min-height: 100vh; min-height: 100svh;
    padding: clamp(104px, 15vh, 140px) var(--op-pad) clamp(28px, 5vh, 48px);
    background: #050505; overflow: hidden; isolation: isolate;
}
.op-hero__bg { position: absolute; inset: 0; z-index: -1; }
.op-hero__bg img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) brightness(0.78); }
.op-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.62) 0%, rgba(5, 5, 5, 0.18) 32%, rgba(5, 5, 5, 0.3) 60%, rgba(5, 5, 5, 0.9) 100%),
        radial-gradient(60% 60% at 80% 100%, rgba(255, 154, 61, 0.12), rgba(255, 154, 61, 0) 70%);
}

.op-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.82rem; color: #cfcfd4; }
.op-crumb a { color: inherit; text-decoration: none; transition: color 0.3s; }
.op-crumb a:hover, .op-crumb a:focus-visible { color: var(--op-accent); }
.op-crumb span[aria-hidden] { color: var(--op-accent); }
.op-crumb [aria-current] { color: #fff; }

.op-hero .op-title {
    flex: 1; display: grid; grid-template-rows: auto 1fr auto; margin-top: clamp(20px, 5vh, 56px);
    font-family: var(--op-display); font-size: clamp(2.1rem, 6vw, 6.8rem); font-weight: 800; line-height: 0.92;
    letter-spacing: -0.01em; text-transform: uppercase; color: #fff;
}
.op-title__top { grid-row: 1; justify-self: start; }
.op-title__bottom { grid-row: 3; justify-self: end; }
.op-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.op-line > span { display: inline-block; }
.op-title em { font-style: normal; color: var(--op-accent); }

.op-hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-top: clamp(28px, 5vh, 48px); }
.op-eyebrow {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
    font-family: var(--op-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--op-accent);
}
.op-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--op-accent); }
.op-tagline { max-width: 24em; font-family: var(--op-display); font-size: clamp(1.15rem, 1.7vw, 1.6rem); font-weight: 600; line-height: 1.25; color: #ececf0; }
.op-cue {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 0;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: color 0.3s, border-color 0.3s;
}
.op-cue:hover, .op-cue:focus-visible { color: var(--op-accent); border-color: var(--op-accent); }
.op-cue:focus-visible { outline: 2px solid var(--op-accent); outline-offset: 4px; }

@media (min-width: 761px) { .op-hero__foot, .op-rule { margin-left: max(0px, calc(112px - var(--op-pad))); } }
.op-rule { position: relative; height: 1px; margin-top: clamp(18px, 3vh, 28px); background: var(--op-line); }
.op-rule span {
    position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--op-accent); box-shadow: 0 0 0 6px rgba(255, 154, 61, 0.15);
}

.op-story { padding: clamp(80px, 14vh, 160px) var(--op-pad) clamp(70px, 12vh, 140px); background: #050505; overflow: hidden; }
.op-story__grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px);
    max-width: 1440px; margin: 0 auto;
}
.op-story__text { grid-column: 6 / 13; grid-row: 1; align-self: start; }
.op-story__lead {
    font-family: var(--op-display); font-size: clamp(1.5rem, 2.9vw, 2.9rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; color: #fff;
}
.op-story__lead strong { font-weight: 500; }
.op-word { transition: color 0.2s linear; }
html.op-motion .op-story__lead .op-word { color: rgba(255, 255, 255, 0.42); } /* raised from 0.2 for readable contrast (≥3:1) before the words light up */
html.op-motion .op-story__lead .op-word.is-lit { color: #fff; }
html.op-motion .op-story__lead strong .op-word.is-lit { color: var(--op-accent); }

.op-pic { position: relative; }
.op-pic a { display: block; overflow: hidden; border-radius: 4px; background: #141416; }
.op-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.op-pic a:hover img, .op-pic a:focus-visible img { transform: scale(1.12); }
.op-pic a:focus-visible { outline: 2px solid var(--op-accent); outline-offset: 4px; }
.op-pic figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 0.74rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--op-muted); }
.op-pic figcaption b { font-weight: 700; color: #fff; }
.op-pic--a { grid-column: 1 / 5; grid-row: 1 / 3; }
.op-pic--a a { aspect-ratio: 4 / 5; }
.op-pic--b { grid-column: 8 / 12; grid-row: 3; margin-top: clamp(20px, 4vh, 40px); }
.op-pic--b a { aspect-ratio: 4 / 3; }
.op-pic--c { grid-column: 2 / 6; grid-row: 4; margin-top: clamp(-80px, -6vw, -20px); }
.op-pic--c a { aspect-ratio: 3 / 4; }

.op-note {
    grid-column: 5 / 9; grid-row: 2; align-self: end; justify-self: center; position: relative;
    padding: 0 0 clamp(70px, 9vw, 120px); transform: rotate(-6deg);
    font-family: var(--op-hand); font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; font-style: italic; line-height: 1; color: var(--op-accent); white-space: nowrap;
}
.op-note svg { position: absolute; left: 30%; bottom: 0; width: clamp(70px, 8vw, 120px); height: auto; overflow: visible; }
.op-note path { fill: none; stroke: var(--op-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.op-story .op-numbers {
    grid-column: 7 / 13; grid-row: 4; align-self: center;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vh, 48px) clamp(20px, 3vw, 48px);
    margin: clamp(-80px, -6vw, -20px) 0 0;
}

@media (max-width: 1000px) {
    .op-story__text { grid-column: 1 / -1; grid-row: 1; margin-bottom: clamp(40px, 7vh, 64px); }
    .op-pic--a { grid-column: 1 / 8; grid-row: 2; }
    .op-note { grid-column: 7 / 13; grid-row: 3; justify-self: start; margin-top: 24px; }
    .op-pic--b { grid-column: 5 / 13; grid-row: 4; }
    .op-pic--c { grid-column: 1 / 8; grid-row: 5; margin-top: 32px; }
    .op-story .op-numbers { grid-column: 8 / 13; grid-row: 5; margin: 32px 0 0; grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
    .op-hero .op-title { font-size: clamp(2rem, 9.5vw, 2.9rem); }
    .op-hero__bg img { object-position: 74% 50%; } /* keep the person at the desk in view on narrow screens */
    .op-pic figcaption { flex-direction: column; gap: 2px; }
}
/* Phones and tablets: the three project pictures sit centred, full width, in their own website-screenshot
   shape (portrait crops cut off the text in the screenshots), with the numbers underneath */
@media (max-width: 1000px) {
    .op-pic--a, .op-pic--b, .op-pic--c { grid-column: 1 / -1; margin-top: 0; }
    .op-pic--a { grid-row: 2; }
    .op-note { grid-column: 1 / -1; grid-row: 3; justify-self: center; margin: 28px 0 8px; }
    .op-pic--b { grid-row: 4; }
    .op-pic--c { grid-row: 5; margin-top: 36px; }
    .op-pic--a a, .op-pic--b a, .op-pic--c a { aspect-ratio: 16 / 9; }
    .op-pic img { transform: none; }
    .op-story .op-numbers { grid-column: 1 / -1; grid-row: 6; margin: 48px 0 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 600px) {
    .op-story .op-numbers { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}
