@font-face { font-family: 'Calcam Display'; src: url('../fonts/Matrix-TM-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Max Hana'; src: url('../fonts/hana-min-a-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --yellow:#fdff00; --green:#11ff00; --red:#ff0505; --blue:#2600ff; --duration-fast:250ms; --duration-medium:350ms; --duration-very-slow:500ms; --ease-smooth-out:cubic-bezier(.22,1,.36,1); --story-open-duration:370ms; --story-close-duration:var(--duration-medium); --story-carousel-duration:var(--duration-very-slow); color-scheme:dark; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:#000; color:#fff; font-family:'Nanum Myeongjo',serif; -webkit-font-smoothing:antialiased; }
html:has(body.embedded-story),body.embedded-story { background:transparent; color-scheme:normal; }
body.embedded-story .story-card { background:transparent; border-color:transparent; box-shadow:none; backdrop-filter:none; }
button,a { -webkit-tap-highlight-color:transparent; }
a { color:inherit; }
img,video { display:block; max-width:100%; }
.corners i { position:fixed; width:25px; height:25px; background:#fff; z-index:100; pointer-events:none; }
.corners i:nth-child(1) { top:0; left:0; }.corners i:nth-child(2) { top:0; right:0; }.corners i:nth-child(3) { bottom:0; left:0; }.corners i:nth-child(4) { bottom:0; right:0; }
.screen { min-height:100vh; min-height:100dvh; position:relative; overflow:hidden; }
.home-link { position:absolute; left:30px; top:28px; }
.site-back { display:inline-flex; align-items:center; justify-content:center; min-height:36px; width:fit-content; padding:8px 14px; border:.5px solid color-mix(in srgb, currentColor 80%, transparent); border-radius:30px; background:transparent; color:#fff; text-decoration:none; white-space:nowrap; font:500 14px/1 'JetBrains Mono',monospace; transition:background .2s ease,color .2s ease; }
.site-back:hover,.site-back:focus-visible { background:#fff; color:#000; }
.site-back:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.overview { padding:58px 3.5% 62px; display:flex; flex-direction:column; }
.overview-head { text-align:center; }
.site-nav { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin:0 auto 78px; }
.site-nav a,.detail-nav a { display:inline-flex; align-items:center; gap:5px; border:.5px solid color-mix(in srgb, currentColor 80%, transparent); border-radius:30px; padding:8px 14px; min-height:36px; color:#fff; text-decoration:none; font:500 14px/1 'JetBrains Mono',monospace; white-space:nowrap; }
.site-nav a:hover,.site-nav a:focus-visible,.site-nav a.current,.detail-nav a:hover,.detail-nav a:focus-visible { color:#000; background:#fff; }
.site-nav span,.detail-nav span { font:italic 18px/1 'Alegreya',serif; }
h1,h2 { font-family:'Calcam Display',sans-serif; font-weight:400; font-feature-settings:'calt' 1; letter-spacing:-.055em; }
.overview h1 { font-size:clamp(45px,4.2vw,60px); line-height:1; margin:0 0 18px; }
.overview h1 { font-family:'Max Hana',serif; letter-spacing:-.02em; }
.overview-head p { max-width:520px; margin:0 auto; font-size:18px; line-height:24px; }
.story-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; margin-top:clamp(80px,11vh,130px); }
.story-card { min-height:45vh; display:flex; flex-direction:column; padding:30px 24px 22px; color:#000; text-decoration:none; transition:transform .25s var(--ease-smooth-out),filter .25s ease,opacity .18s ease; }
.story-card:hover,.story-card:focus-visible { transform:translateY(-5px); filter:brightness(1.055); }
.story-card:focus-visible { outline:2px solid #fff; outline-offset:5px; }
.yellow { --panel:var(--yellow); }.green { --panel:var(--green); }.red { --panel:var(--red); }.blue { --panel:var(--blue); }
.story-card { background:color-mix(in srgb,var(--panel) 72%,transparent); border:1px solid color-mix(in srgb,var(--panel) 65%,#fff); box-shadow:inset 0 1px 0 #ffffff55,inset 0 0 24px #ffffff0d; backdrop-filter:blur(3px); }.story-card.red,.story-card.blue { color:#fff; }
.card-label { font-size:18px; white-space:nowrap; }.card-label small { opacity:.55; font-size:15px; margin-right:5px; }
.card-copy { font-size:18px; line-height:24px; margin-top:auto; max-width:250px; }
.card-cta { align-self:flex-end; margin-top:20px; padding:7px 13px; border:.5px solid color-mix(in srgb, currentColor 80%, transparent); border-radius:20px; font:500 11px/1 'JetBrains Mono',monospace; }
.card-controls,.mobile-back { display:none; }
.overview-credit { position:absolute; right:3.5%; bottom:20px; margin:0; color:#aaa; font:500 10px/1 'JetBrains Mono',monospace; }
.detail { padding:65px 3.2% 52px; display:flex; flex-direction:column; gap:22px; }
.detail-nav { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 12px; }
.detail-nav>div { display:flex; flex-wrap:wrap; gap:8px; }
.detail-panel { flex:1; min-height:660px; border-radius:14px; background:var(--panel); color:#000; padding:32px; display:grid; grid-template-columns:minmax(210px,31%) minmax(0,1fr); gap:40px; overflow:hidden; }
.detail.red .detail-panel,.detail.blue .detail-panel { color:#fff; }
.detail-copy { display:flex; flex-direction:column; align-items:flex-start; }
.section-no { font-size:16px; opacity:.55; }
.detail h2 { font-size:clamp(34px,3.2vw,48px); line-height:1; margin:8px 0 22px; }
.detail p { font-size:17px; line-height:1.32; margin:0 0 24px; }
.detail h3 { font:500 12px/1.3 'JetBrains Mono',monospace; text-decoration:underline; text-underline-offset:3px; margin:0 0 10px; }
.space-media { display:grid; grid-template-rows:minmax(220px,1fr) 40%; gap:20px; min-width:0; }
.space-photos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; min-height:0; }
.space-photos img { width:100%; height:100%; object-fit:cover; }
.model-slot { position:relative; display:grid; place-items:center; overflow:hidden; background:#171717 center/cover no-repeat; min-height:170px; color:#fff; text-align:center; font:500 11px/1.4 'JetBrains Mono',monospace; }
.model-slot > span { padding:7px 10px; background:#000b; }
.room-model { background-image:url('../assets/DSC_4949_1.jpg'); }
[data-model-slot="left-wall-projection"] { background-image:url('../assets/IMG_4179_2.jpg'); }
[data-model-slot="right-wall-projection"] { background-image:url('../assets/R0002355_1.jpg'); }
[data-model-slot="centre-tv"] { background-image:url('../assets/final style .png'); }
.model-embed { position:absolute; inset:0; width:100%; height:100%; border:0; background:#000; opacity:0; transition:opacity .25s ease; }
.model-slot[data-model-ready="true"] .model-embed { opacity:1; }
.model-status { position:absolute; inset:0; display:grid; place-items:center; padding:15px; background:#0008; color:#fff; text-align:center; }
.model-status a { color:#fff; }
.model-hint { position:absolute; bottom:7px; left:10px; padding:4px 7px; background:#000a; color:#fff; font:500 9px/1 'JetBrains Mono',monospace; opacity:0; transition:opacity .25s ease; }
.model-slot[data-model-ready="true"] .model-hint { opacity:1; }
.projection-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; min-width:0; }
.projection-grid article { display:grid; grid-template-rows:auto minmax(160px,1fr) minmax(170px,1fr); gap:12px; min-width:0; }
.projection-grid h3 { justify-self:center; align-self:center; padding:5px 10px; border:1px solid #000; border-radius:20px; text-decoration:none; }
.projection-grid video { width:100%; height:100%; object-fit:cover; background:#00d000; }
.centre-panel { grid-template-columns:minmax(220px,35%) minmax(0,1fr); }
.rejected { margin-top:auto; width:100%; max-width:300px; }
.rejected video { width:100%; aspect-ratio:16/9; object-fit:cover; background:#000; }
.centre-media { min-width:0; display:flex; flex-direction:column; }
.centre-media p { font-size:16px; line-height:1.25; max-width:660px; }
.centre-media img { width:100%; max-height:390px; object-fit:cover; background:#000; }
.centre-model { width:100%; min-height:170px; margin-top:14px; }
.setup-media { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:14px; min-width:0; }
.setup-media figure { margin:0; position:relative; overflow:hidden; }
.setup-media video { width:100%; height:100%; min-height:420px; object-fit:cover; background:#090050; }
.setup-media figcaption { position:absolute; bottom:10px; left:10px; padding:5px 8px; border:1px solid #fff; border-radius:15px; background:#1b00b0a8; font:500 10px/1 'JetBrains Mono',monospace; }
.section-footer { display:flex; justify-content:space-between; gap:20px; padding:0 12px; font:500 12px/1.3 'JetBrains Mono',monospace; }
.section-footer a { text-decoration:none; }
.section-footer a:hover,.section-footer a:focus-visible { text-decoration:underline; }
@media(max-width:1050px) {
  .story-cards { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:35px; }
  .story-card { min-height:320px; }
  .detail-panel { grid-template-columns:1fr; min-height:0; }
  .detail-copy { display:block; }
  .space-media { min-height:500px; }
  .projection-grid { min-height:460px; }
  .centre-media img { max-height:440px; }
  .rejected { margin-top:20px; }
}
@media(max-width:650px) {
  .corners i { width:15px; height:15px; }
  .overview { padding:80px 20px 58px; }
  .home-link { left:20px; top:72px; transform:none; }
  .site-back,.detail-nav .site-back { min-height:34px; padding:7px 11px; font-size:11px; }
  .site-nav { display:none; }
  .site-nav a,.detail-nav a { font-size:10px; min-height:32px; padding:7px 10px; }
  .overview h1 { width:calc(100% - 80px); margin-left:80px; font-size:clamp(28px,7.7vw,30px); text-align:center; }
  .overview-head p { font-size:15px; line-height:21px; }
  .story-cards { display:flex; gap:12px; overflow-x:auto; margin-top:32px; padding:0 0 4px; scroll-snap-type:x mandatory; overscroll-behavior-inline:contain; scrollbar-width:none; }
  .story-cards::-webkit-scrollbar { display:none; }
  .story-card { flex:0 0 100%; min-width:0; min-height:clamp(280px,42dvh,390px); padding:22px 20px; scroll-snap-align:start; }
  .card-label { font-size:17px; white-space:normal; }
  .card-copy { font-size:17px; line-height:23px; max-width:290px; }
  .card-cta { display:none; }
  .card-controls { display:flex; align-items:center; justify-content:center; gap:20px; margin:18px 0 34px; }
  .card-controls button { display:grid; place-items:center; width:38px; height:38px; border:1px solid #fff; border-radius:50%; background:transparent; color:#fff; font:500 20px/1 'JetBrains Mono',monospace; cursor:pointer; }
  .card-controls button:disabled { opacity:.3; cursor:default; }
  .card-count { min-width:68px; text-align:center; font:500 12px/1 'JetBrains Mono',monospace; letter-spacing:.06em; }
  .overview-credit { bottom:20px; right:20px; }
  .detail { padding:20px 20px 32px; gap:14px; }
  .detail-nav { display:none; }
  .detail-panel { padding:22px 18px; gap:22px; border-radius:10px; }
  .detail h2 { font-size:34px; }
  .detail p { font-size:15px; line-height:1.4; }
  .space-media { min-height:400px; grid-template-rows:220px 170px; }
  .space-photos { gap:7px; }
  .projection-grid { grid-template-columns:1fr; }
  .projection-grid article { grid-template-rows:auto 210px 210px; }
  .centre-media p { font-size:14px; }
  .setup-media { grid-template-columns:1fr; }
  .setup-media video { min-height:0; height:auto; aspect-ratio:16/9; }
  .section-footer { display:none; }
  .mobile-back { display:inline-flex; align-self:center; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .story-card { transition:none; } }

/* The index and each opened card occupy the same viewport. */
html, body { width:100%; height:100%; overflow:hidden; overscroll-behavior:none; }
main { position:relative; width:100%; height:100vh; height:100dvh; overflow:hidden; }
.screen { position:absolute; inset:0; width:100%; height:100%; min-height:0; }
.overview { z-index:1; min-height:0; transition:opacity .17s ease .18s; }
.overview.is-leaving { opacity:0; pointer-events:none; transition-delay:0s; }
.overview.is-hidden { visibility:hidden; pointer-events:none; }
.site-nav { margin-bottom:clamp(22px,5vh,58px); }
.story-cards { flex:none; align-self:center; width:100%; max-width:1338px; min-height:0; margin-top:clamp(28px,6vh,72px); }
.story-card { aspect-ratio:318 / 411; height:auto; min-height:0; min-width:0; }
.detail { display:none; z-index:2; height:100%; min-height:0; padding:clamp(20px,4vh,65px) 3.2% clamp(18px,3vh,52px); gap:clamp(12px,2vh,22px); background:#000; transition:background-color .2s ease; }
.detail.is-active { display:flex; }
.detail.is-opening,.detail.is-closing { background:transparent; pointer-events:none; }
.detail-panel { flex:1; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.detail-panel,.detail-nav,.section-footer,.mobile-back { transition:opacity var(--duration-fast) ease .12s,transform var(--duration-fast) var(--ease-smooth-out) .12s; }
.detail.is-opening .detail-panel,.detail.is-opening .detail-nav,.detail.is-opening .section-footer,.detail.is-opening .mobile-back { opacity:0; transform:translateY(10px); }
.detail.is-closing .detail-panel,.detail.is-closing .detail-nav,.detail.is-closing .section-footer,.detail.is-closing .mobile-back { opacity:0; transform:translateY(5px); transition-duration:.18s; transition-delay:0s; }

@media(max-width:1050px) {
  .story-cards { min-height:0; margin-top:clamp(18px,4vh,35px); }
  .story-card { min-height:0; }
}
@media(max-width:650px) {
  .overview { padding:72px 20px 18px; }
  .story-cards { flex:1; min-height:0; height:auto; margin-top:clamp(14px,3vh,28px); padding:0; }
  .story-card { height:100%; min-height:0; }
  .card-controls { flex:none; margin:14px 0 30px; }
  .overview-credit { bottom:10px; }
  .detail { padding:20px 20px 22px; gap:12px; }
  .detail-panel { min-height:0; }
  .mobile-back { flex:none; }
}
@media(max-height:650px) and (min-width:651px) {
  .overview { padding-top:35px; padding-bottom:25px; }
  .site-nav { margin-bottom:14px; }
  .story-cards { margin-top:20px; }
  .story-card { padding:18px; }
  .card-copy { font-size:15px; line-height:1.2; }
}
@media(max-height:600px) and (max-width:650px) {
  .overview { padding-top:63px; }
  .home-link { top:63px; }
  .overview h1 { margin-bottom:8px; }
  .overview-head p { font-size:13px; line-height:17px; }
  .story-card { padding:16px; }
  .card-copy { font-size:15px; line-height:20px; }
  .card-controls { margin:8px 0 23px; }
}
@media(prefers-reduced-motion:reduce) {
  .overview,.detail,.detail-panel,.detail-nav,.section-footer,.mobile-back,.story-card,.site-back,.site-nav a,.detail-nav a,.model-embed,.model-hint { transition:none !important; }
}

/* Phone cards curve around the active card like a cylindrical carousel. */
@media(max-width:650px) {
  .story-cards {
    display:block;
    position:relative;
    overflow:visible;
    perspective:1000px;
    perspective-origin:50% 55%;
    scroll-snap-type:none;
    touch-action:pan-y;
  }
  .story-card,.story-card:hover,.story-card:focus-visible {
    position:absolute;
    top:50%;
    left:50%;
    width:78%;
    height:auto;
    min-height:0;
    padding:18px 16px;
    transform:translateX(calc(-50% + var(--card-x, 0%))) translateY(-50%) translateZ(var(--card-z, 0px)) rotateY(var(--card-turn, 0deg));
    backface-visibility:hidden;
    opacity:.65;
    filter:none;
    will-change:transform,opacity;
    transition:transform var(--story-carousel-duration) var(--ease-smooth-out);
    user-select:none;
    -webkit-user-drag:none;
  }
  .story-card.is-current,.story-card.is-current:hover,.story-card.is-current:focus-visible {
    z-index:3;
    opacity:1;
    filter:none;
  }
  .story-card.is-neighbor { z-index:2; cursor:pointer; }
  .story-card.is-far { z-index:1; opacity:0; pointer-events:none; }
  .story-card[data-carousel-offset="-1"] { opacity:0; pointer-events:none; }
  .story-card.is-left-visible { opacity:1; pointer-events:none; }
  .story-card.is-right-visible { opacity:1; pointer-events:none; }
  .story-card.is-neighbor .card-label,.story-card.is-neighbor .card-copy,.story-card.is-neighbor .card-cta { opacity:0; }
  .story-card.is-left-visible .card-label,.story-card.is-left-visible .card-copy,.story-card.is-left-visible .card-cta { opacity:1; }
  .story-card.carousel-instant,.story-cards.carousel-instant .story-card { transition:none !important; }
  .story-card .card-label { font-size:14px; }
  .story-card .card-copy { font-size:14px; line-height:19px; }
}
@media(max-width:650px) and (prefers-reduced-motion:reduce) {
  .story-card,.story-card:hover,.story-card:focus-visible { transition:none; }
}

/* Large cards wrap around a horizontal cylinder on wider screens. */
@media(min-width:651px) {
  .overview { padding-top:40px; padding-bottom:90px; }
  .overview-head { padding-top:0; }
  .home-link { top:40px; }
  .site-nav { position:absolute; z-index:4; left:5%; bottom:40px; justify-content:flex-start; margin:0; }
  .story-cards {
    display:block;
    position:relative;
    flex:none;
    align-self:stretch;
    width:100%;
    max-width:none;
    height:min(52dvh,540px,calc(100dvh - 330px));
    min-height:0;
    margin-top:auto;
    margin-bottom:auto;
    overflow:visible;
    perspective:1300px;
    perspective-origin:52% 50%;
  }
  .story-card,.story-card:hover,.story-card:focus-visible {
    position:absolute;
    top:50%;
    left:52%;
    width:min(36vw,440px);
    min-width:330px;
    height:100%;
    min-height:0;
    padding:30px 26px 24px;
    transform:translateX(calc(-50% + var(--card-x, 0%))) translateY(-50%) translateZ(var(--card-z, 0px)) rotateY(var(--card-turn, 0deg));
    backface-visibility:hidden;
    opacity:.82;
    filter:none;
    will-change:transform,opacity;
    transition:transform var(--story-carousel-duration) var(--ease-smooth-out);
    user-select:none;
    -webkit-user-drag:none;
  }
  .story-card.is-current,.story-card.is-current:hover,.story-card.is-current:focus-visible { z-index:3; opacity:1; }
  .story-card.is-neighbor { z-index:2; cursor:pointer; }
  .story-card.is-far { z-index:1; opacity:0; pointer-events:none; }
  .story-card[data-carousel-offset="-1"],.story-card[data-carousel-offset="-2"] { opacity:0; pointer-events:none; }
  .story-card.is-left-visible { opacity:1; pointer-events:none; }
  .story-card.is-right-visible { opacity:1; pointer-events:none; }
  .story-card.carousel-instant,.story-cards.carousel-instant .story-card { transition:none !important; }
  .card-controls { position:absolute; right:5%; bottom:40px; z-index:4; display:flex; align-items:center; justify-content:center; gap:22px; margin:0; }
  .card-controls button { display:grid; place-items:center; width:40px; height:40px; border:1px solid #fff; border-radius:50%; background:transparent; color:#fff; font:500 20px/1 'JetBrains Mono',monospace; cursor:pointer; }
  .card-controls button:hover,.card-controls button:focus-visible { background:#fff; color:#000; }
  .card-controls button:focus-visible { outline:2px solid #fff; outline-offset:3px; }
  .card-count { min-width:68px; text-align:center; font:500 12px/1 'JetBrains Mono',monospace; letter-spacing:.06em; }
}
@media(min-width:651px) and (max-width:900px) {
  .site-nav { gap:8px; }
  .site-nav a { padding:7px 10px; font-size:11px; }
}

/* Match the Figma media frames while preserving each source's proportions. */
.space-media { grid-template-rows:auto auto; align-content:start; }
.room-model { width:min(100%,391px); min-height:0; aspect-ratio:391 / 262; justify-self:end; }
.space-photos { align-items:start; }
.space-photos img { width:100%; height:auto; aspect-ratio:3 / 4; object-fit:cover; }
.projection-grid article { grid-template-rows:auto auto auto; align-content:start; }
.projection-grid video,.projection-grid .model-slot { width:100%; height:auto; min-height:0; aspect-ratio:392 / 249; }
.projection-grid video { object-fit:cover; }
.rejected video { width:100%; height:auto; aspect-ratio:346 / 227; object-fit:contain; background:#000; }
.centre-media img { width:100%; height:auto; max-height:none; aspect-ratio:640 / 392; object-fit:cover; }
.setup-media { align-items:start; }
.setup-media figure { height:auto; }
.setup-media video { width:100%; height:auto; min-height:0; aspect-ratio:9 / 16; object-fit:contain; background:#000; }

@media(max-width:650px) {
  .space-media { min-height:0; }
  .room-model { width:100%; justify-self:stretch; }
  .projection-grid { min-height:0; }
}

/* Section 2 display type and opening story composition. */
:root { --font-display-redesign: 'slight-chance', 'Slight Chance', 'Max Hana', serif; }
h1, h2, .overview h1 {
  font-family: var(--font-display-redesign);
  font-feature-settings: 'salt' 1, 'dlig' 1;
  font-weight: 400;
  letter-spacing: -2.5px;
}
.overview { padding: 61px 29px 55px; }
.overview-head { width: min(42%, 510px); text-align: left; }
.overview h1 { max-width: 520px; font-size: clamp(64px, 6.87vw, 99px); line-height: .869; margin: 0 0 42px; }
.overview-head p { max-width: 383px; margin: 0 0 0 9px; font-size: 18px; line-height: 24px; }
.overview-photo { position: absolute; top: 153px; right: 10.6%; width: 28%; max-width: 403px; margin: 0; }
.overview-mark { position: absolute; top: 65px; left: 61.45%; width: 26px; height: 40px; }
.overview-photo img { width: 100%; height: min(55vh, 505px); object-fit: cover; object-position: bottom; border-radius: 5px; }
.overview-photo figcaption { max-width: 453px; margin-top: 40px; font: 700 18px/24px 'Nanum Myeongjo', serif; }
.overview .home-link { top: 29px; left: auto; right: 29px; }
.overview .site-nav { justify-content: flex-start; margin: 0 0 34px; }
.overview-cta { position: absolute; left: 29px; bottom: 116px; display: flex; align-items: center; gap: 10px; font: 700 18px/24px 'Nanum Myeongjo', serif; }
.overview-cta a { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 8px 14px; border-radius: 30px; background: #fff; color: #000; text-decoration: none; font: 500 14px/1 'JetBrains Mono', monospace; }
.overview-cta a span { font: italic 18px/1 'Alegreya', serif; }
.overview .story-cards { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; width: min(49%, 650px); margin-top: auto; }
.overview .story-card { min-height: 125px; padding: 16px; }
.overview .card-copy { display: none; }
.overview .card-label { font: 500 13px/18px 'JetBrains Mono', monospace; }
.overview .card-cta { margin-top: auto; }
@media(max-width: 768px) {
  .overview { padding: 90px 20px 34px; overflow-y: auto; }
  .overview-head { width: 100%; }
  .overview h1 { width: 100%; margin-left: 0; font-size: clamp(46px, 11vw, 70px); text-align: left; }
  .overview-head p { margin: 0; font-size: 15px; line-height: 21px; }
  .overview .home-link { top: 25px; left: 20px; right: auto; }
  .overview-photo { position: static; width: 100%; max-width: none; margin: 32px 0; }
  .overview-mark { display: none; }
  .overview-cta { position: static; margin: 0 0 20px; font-size: 15px; }
  .overview-cta a { font-size: 11px; }
  .overview-photo img { height: 42vh; object-fit: cover; }
  .overview-photo figcaption { margin-top: 16px; font-size: 15px; line-height: 21px; }
  .overview .story-cards { display: flex; width: 100%; margin-top: 24px; }
  .overview .story-cards { position: relative; height: 130px; flex: 0 0 auto; overflow-x: auto; overflow-y: hidden; perspective: none; }
  .overview .story-card,
  .overview .story-card:hover,
  .overview .story-card:focus-visible {
    position: relative;
    inset: auto;
    flex: 0 0 72%;
    width: 72%;
    min-width: 0;
    height: 110px;
    min-height: 110px;
    aspect-ratio: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .overview .story-card .card-label { opacity: 1 !important; }
}

/* Keep topic links available without the earlier carousel covering the new hero. */
@media (min-width: 769px) {
  .overview .story-cards {
    position: absolute;
    top: min(61vh, 550px);
    left: 38px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
    width: min(42%, 600px);
    height: auto;
    margin: 0;
    perspective: none;
  }
  .overview .story-card,
  .overview .story-card:hover,
  .overview .story-card:focus-visible {
    position: relative;
    inset: auto;
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    height: 36px;
    min-height: 0;
    aspect-ratio: auto;
    padding: 8px 14px;
    border: 1px solid #fff;
    border-radius: 30px;
    background: transparent;
    color: #fff;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    filter: none;
    backdrop-filter: none;
  }
  .overview .story-card:hover,
  .overview .story-card:focus-visible { background: #fff; color: #000; }
  .overview .card-label { opacity: 1 !important; }
  .overview .card-label small,
  .overview .card-cta,
  .overview .card-controls { display: none; }
}
