:root {
  --a: #0f032b;
  --b: #230c38;
  --dim: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .2);
  --max: 1200px;
  --c1: #5b2a9e;
  --c2: #8a2f78;
  --c3: #3f1d78;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: linear-gradient(90deg, var(--a), var(--b)) fixed;
  color: #fff;
  font: 17px/1.6 ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), 100% - 48px); margin: 0 auto; }

/* header */
.head { position: sticky; top: 0; z-index: 30; background: var(--a); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.head img { height: 24px; }
.head nav { display: flex; gap: 36px; font-weight: 600; font-size: 15px; }
.head nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* hero */
.hero { position: relative; overflow: hidden; min-height: 86vh; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; background: url(img/hero.webp) 70% 60% / cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 3, 43, .94) 0%, rgba(15, 3, 43, .72) 45%, rgba(35, 12, 56, .35) 100%); }
.credit { position: absolute; z-index: 2; left: 24px; bottom: 14px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding: 80px 0; }
.hero h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1; letter-spacing: -.035em; }
.hero p { margin-top: 26px; max-width: 480px; font-size: 20px; color: rgba(255, 255, 255, .78); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; padding: 22px; border-radius: 6px; font-size: 22px; font-weight: 700; line-height: 1.15; transition: transform .2s, filter .2s; }
.tile i { font-style: normal; font-size: 26px; align-self: flex-end; transition: transform .2s; }
.tile:hover { transform: translateY(-4px); filter: brightness(1.12); }
.tile:hover i { transform: translateX(5px); }
.tile.t1 { background: var(--c1); }
.tile.t2 { background: var(--c2); margin-top: 44px; }
.tile.t3 { background: var(--c3); grid-column: 1; }
.btn { padding: 14px 26px; border-radius: 3px; font-weight: 700; font-size: 15px; background: #fff; color: var(--a); }

/* sections */
.sec { padding: 100px 0; border-top: 1px solid var(--line); }
.eyebrow { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--dim); }
.sec h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -.03em; max-width: 760px; }
.sec .sub { margin-top: 16px; color: var(--dim); max-width: 540px; font-size: 18px; }
.sec .top { margin-bottom: 64px; }

/* platform bands */
.band { padding: 90px 0; border-top: 1px solid var(--line); }
.band.b1 { background: rgba(255, 255, 255, .035); box-shadow: inset 6px 0 0 var(--c1); }
.band.b2 { background: rgba(255, 255, 255, .035); box-shadow: inset 6px 0 0 var(--c2); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split.flip { grid-template-columns: 1.1fr 1fr; }
.split.flip .copy { order: 2; }
.kicker { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .7); margin-bottom: 12px; }
.band h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 20px; }
.band p { font-size: 19px; color: rgba(255, 255, 255, .82); margin-bottom: 26px; max-width: 520px; }
.band ul { list-style: none; border-top: 1px solid rgba(255, 255, 255, .28); max-width: 520px; }
.band li { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .28); font-size: 16px; font-weight: 600; }
.band .pic { max-width: 520px; width: 100%; justify-self: center; }
.band .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }

/* cases */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { display: flex; flex-direction: column; min-height: 400px; padding: 28px; border-radius: 6px; transition: transform .2s, filter .2s; }
.case:hover { transform: translateY(-5px); filter: brightness(1.1); }
.case.c1 { background: var(--c1); } .case.c2 { background: var(--c2); } .case.c3 { background: var(--c3); }
.case .cat { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.case h3 { font-size: 30px; line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 14px; }
.case p { font-size: 16px; color: rgba(255, 255, 255, .82); }
.case .res { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-weight: 700; font-size: 16px; border-top: 1px solid rgba(255, 255, 255, .28); }
.case .res i { font-style: normal; font-size: 26px; }
.cases { border-top: 1px solid var(--line); }

/* partner band */
.partner { background: var(--c2); padding: 110px 0; }
.partner .split { grid-template-columns: 1.1fr 1fr; align-items: start; }
.partner h2 { font-size: clamp(38px, 6vw, 80px); line-height: 1; letter-spacing: -.035em; }
.partner p { font-size: 20px; color: rgba(255, 255, 255, .88); max-width: 480px; }
.partner .mail-line { margin-top: 28px; font-size: 24px; font-weight: 700; color: #fff; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.fcols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
footer img { height: 24px; margin-bottom: 14px; }
footer h4 { font-size: 14px; color: var(--dim); margin-bottom: 12px; }
footer li { list-style: none; margin-bottom: 8px; font-size: 16px; }
footer p { color: var(--dim); max-width: 320px; }
.mail { font-size: 22px; font-weight: 700; }
.legal { margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

@media (max-width: 900px) {
  .head nav { gap: 20px; }
  .split, .split.flip, .partner .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .copy { order: 0; }
  .band, .partner { padding: 64px 0; }
  .grid3 { grid-template-columns: 1fr; }
  .case { min-height: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .hero { min-height: 0; }
  .tile { min-height: 140px; }
  .sec { padding: 64px 0; }
  .sec .top { margin-bottom: 40px; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .fcols > :first-child { grid-column: 1 / -1; }
}

/* notices + news */
.notice-bar { background: #b3261e; font-size: 15px; font-weight: 600; }
.notice-bar .wrap { padding: 11px 0; display: flex; flex-direction: column; gap: 4px; }
.notice-bar a:hover { text-decoration: underline; }
.notices { margin-bottom: 36px; }
.notices h3 { font-size: 22px; margin-bottom: 14px; }
.notices .empty { color: var(--dim); }
.notice { border: 1px solid var(--line); border-left-width: 4px; padding: 16px 20px; margin-bottom: 10px; background: rgba(255, 255, 255, .04); }
.notice.investigating, .notice.identified { border-left-color: #ff6b6b; }
.notice.monitoring { border-left-color: #ffc857; }
.notice.resolved { border-left-color: #5fd39a; }
.nh { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.st-investigating, .st-identified { color: #ff6b6b; } .st-monitoring { color: #ffc857; } .st-resolved { color: #5fd39a; }
.nb p { margin-top: 8px; color: rgba(255, 255, 255, .8); font-size: 16px; }
.nt { margin-top: 10px; font-size: 13px; color: var(--dim); }
#news .case { min-height: 260px; }
#news .case p { margin-bottom: 10px; }

#news .case { min-height: 0; }
#news .case.news-purple { background: var(--c1); }
#news .case.news-magenta { background: var(--c2); }
#news .case.news-violet { background: var(--c3); }
#news .case h3 { font-size: 28px; margin: 6px 0 12px; }
#news .case .md { font-size: 16px; color: rgba(255, 255, 255, .88); }
#news .cover { width: calc(100% + 56px); max-width: none; margin: -28px -28px 18px; height: 180px; object-fit: cover; border-radius: 6px 6px 0 0; }
.nb.md p { margin-top: 8px; color: rgba(255, 255, 255, .8); font-size: 16px; }

/* outages, engineering-works style */
.ow-title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; font-weight: 500; margin-bottom: 14px; }
.ow-sub { color: rgba(255, 255, 255, .75); max-width: 760px; margin-bottom: 28px; }
.ow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ow-card { background: #fff; color: #222; border-radius: 2px; padding: 22px 24px 18px; display: flex; flex-direction: column; min-height: 260px; border-top: 5px solid var(--c1); }
.ow-card.investigating, .ow-card.identified { border-top-color: #c0392b; }
.ow-card.monitoring { border-top-color: #e0a100; }
.ow-card.resolved { border-top-color: #2e9e6b; }
.ow-card h3 { font-size: 22px; line-height: 1.25; font-weight: 500; margin-bottom: 18px; }
.ow-body { flex: 1; color: #3b3b3b; font-size: 16px; }
.ow-body p { color: inherit; margin: 0 0 10px; font-size: inherit; }
.ow-body a { color: var(--c1); }
.ow-body code, .ow-body pre { background: #eee; color: #222; }
.ow-foot { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: #3b3b3b; }
@media (max-width: 900px) { .ow-grid { grid-template-columns: 1fr; } .ow-card { min-height: 0; } }

/* detail pages */
a.case, a.ow-card { color: inherit; }
a.case:hover, a.ow-card:hover { transform: translateY(-4px); }
a.ow-card { color: #222; transition: transform .2s, box-shadow .2s; }
a.ow-card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.teaser { font-size: 16px; color: rgba(255, 255, 255, .88); margin-bottom: 16px; }
#news .case .more { margin-top: auto; font-weight: 700; }
.more::after { content: " →"; }
.article { padding: 56px 0 110px; }
.article .back { display: inline-block; color: rgba(255, 255, 255, .75); font-size: 15px; margin-bottom: 26px; }
.article .back:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.article h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; margin: 8px 0 24px; }
.article .meta { color: rgba(255, 255, 255, .7); font-size: 15px; }
.article .lede { color: rgba(255, 255, 255, .8); font-size: 19px; }
.article .hero-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 6px; margin: 0 0 28px; }
.article > .body { max-width: 860px; }
.article .body { font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, .92); }
.article .body p { margin-bottom: 18px; }
.chip { display: inline-block; font-weight: 700; }
.chip.investigating, .chip.identified { color: #ff6b6b; } .chip.monitoring { color: #ffc857; } .chip.resolved { color: #5fd39a; }
.article .facts { margin-top: 36px; border-top: 1px solid var(--line); }
.article .facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.article .facts dt { color: rgba(255, 255, 255, .65); }

/* incident timeline */
.inc-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.inc-main { border-left: 2px solid var(--line); padding-left: 28px; }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before { content: ""; box-sizing: border-box; position: absolute; left: -37px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--a); border: 3px solid rgba(255, 255, 255, .5); }
.tl-item.investigating::before, .tl-item.identified::before { border-color: #ff6b6b; }
.tl-item.monitoring::before { border-color: #ffc857; }
.tl-item.resolved::before { border-color: #5fd39a; }
.tl-h { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; font-size: 15px; }
.tl-h time { color: rgba(255, 255, 255, .65); }
.chip.first { color: rgba(255, 255, 255, .8); }
.inc-side .facts { margin-top: 0; position: sticky; top: 90px; }
.article .facts dd.chip { font-weight: 700; }
@media (max-width: 900px) { .inc-grid { grid-template-columns: 1fr; gap: 24px; } .inc-side .facts { position: static; } }

/* phones */
.head img { flex: none; }
@media (max-width: 700px) {
  html { scroll-padding-top: 76px; }
  .tiles { gap: 12px; }
  .tile { min-height: 118px; padding: 16px; font-size: 18px; }
  .tile.t2 { margin-top: 0; }
  .tile.t3 { grid-column: 1 / -1; min-height: 84px; }
  .hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .hero p { font-size: 18px; }
  .sec { padding: 52px 0; }
  .sec .top { margin-bottom: 30px; }
  .band { padding: 52px 0; }
  .bigtile, .case { padding: 22px; }
  .partner { padding: 64px 0; }
  .partner h2 { font-size: clamp(34px, 10vw, 48px); }
  .ow-card { padding: 18px 18px 14px; }
  .ow-title { font-size: 30px; }
  .notice-bar { font-size: 14px; }
  .fcols { grid-template-columns: 1fr; gap: 26px; }
  .fcols > :first-child { grid-column: auto; }
  .mail { font-size: 20px; overflow-wrap: anywhere; }
  .article { padding: 32px 0 70px; }
  .article h1 { font-size: clamp(30px, 9vw, 42px); }
  .article .body { font-size: 17px; }
  .inc-main { padding-left: 22px; }
  .tl-item::before { left: -31px; }
  #news .cover { width: calc(100% + 44px); margin: -22px -22px 16px; }
}

/* mobile menu */
.menu-btn { display: none; }
@media (max-width: 700px) {
  .head .wrap { height: 60px; }
  .head { z-index: 40; }
  .head nav { gap: 16px; font-size: 14px; }
  .js .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; padding: 0 10px; background: transparent; border: 0; cursor: pointer; border-radius: 6px; }
  .menu-btn:focus-visible { outline: 2px solid #fff; }
  .menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .head.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .head.open .menu-btn span:nth-child(2) { opacity: 0; }
  .head.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .head nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--a); border-bottom: 1px solid var(--line); padding: 6px 24px 14px; box-shadow: 0 18px 30px rgba(0, 0, 0, .45); font-size: 20px; }
  .js .head.open nav { display: flex; }
  .js .head nav a { padding: 15px 0; border-top: 1px solid var(--line); font-weight: 600; }
  .js .head nav a:first-child { border-top: 0; }
  .js .head nav a:active { color: #c9a8ff; }
}

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes drift { from { transform: scale(1.08); } }
@keyframes slidedown { from { opacity: 0; transform: translateY(-100%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); } 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
@keyframes blink { 50% { opacity: .45; } }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

/* scroll reveal (class added by script, removed after it plays) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* hero entrance */
.hero-bg { animation: drift 12s cubic-bezier(.2, .6, .2, 1) backwards; }

/* header */
.head { transition: box-shadow .3s, background .3s; }
.head.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.head nav a { position: relative; }
.head nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.head nav a:hover { text-decoration: none; }
.head nav a:hover::after, .head nav a:focus-visible::after { transform: scaleX(1); }

/* notices */
.notice-bar { animation: slidedown .5s .1s cubic-bezier(.2, .7, .2, 1) backwards; }
.notice-bar a::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: #fff; animation: pulse 1.7s infinite; vertical-align: 1px; }
.chip.investigating, .chip.identified { animation: blink 1.8s ease-in-out infinite; }

/* press and hover feedback */
.btn { transition: background .2s, transform .15s, box-shadow .2s; }
.btn:active, .tile:active, a.case:active, a.ow-card:active { transform: scale(.98); }
.more::after { display: inline-block; transition: transform .2s; }
a.case:hover .more::after { transform: translateX(6px); }
.ow-card .ow-foot svg { transition: transform .4s; }
a.ow-card:hover .ow-foot svg { transform: rotate(120deg); }

/* mobile menu slide */
@media (max-width: 700px) {
  .js .head nav { display: flex; visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .22s, transform .22s cubic-bezier(.2, .7, .2, 1), visibility 0s .22s; }
  .js .head.open nav { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
  .js .head nav a { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
  .js .head.open nav a { opacity: 1; transform: none; }
  .js .head.open nav a:nth-child(1) { transition-delay: .04s; } .js .head.open nav a:nth-child(2) { transition-delay: .08s; }
  .js .head.open nav a:nth-child(3) { transition-delay: .12s; } .js .head.open nav a:nth-child(4) { transition-delay: .16s; }
  .js .head.open nav a:nth-child(5) { transition-delay: .2s; }
  .head nav a::after { display: none; }
}

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

/* navbar motion */
.head { transition: box-shadow .3s, background .3s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.head .wrap { transition: height .3s cubic-bezier(.2, .7, .2, 1); }
.head img { transition: height .3s cubic-bezier(.2, .7, .2, 1); }
.head.scrolled .wrap { height: 56px; }
.head.scrolled img { height: 21px; }
.head.hide { transform: translateY(-100%); }
.head nav a { transition: color .2s; }
.head nav a.active::after { transform: scaleX(1); }
@media (max-width: 700px) {
  .head.scrolled .wrap { height: 52px; }
  .js .head nav a.active { color: #c9a8ff; }
}
@media (prefers-reduced-motion: reduce) { .head, .head .wrap, .head img { transition: none !important; } .head.hide { transform: none; } }

/* ---------- slick pass ---------- */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }
h1, h2, h3 { font-weight: 800; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: #fff; transform: scaleX(0); transform-origin: left; z-index: 60; pointer-events: none; }

/* spotlight (added by script) */
.spot { position: relative; overflow: hidden; }
.spot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 62%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover::after { opacity: 1; }


/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(230px, auto); gap: 20px; }
.bt { border-radius: 10px; padding: 34px; display: flex; flex-direction: column; color: #fff; transition: transform .3s var(--ease), filter .3s; }
.bt:hover { transform: translateY(-5px); filter: brightness(1.08); }
.bt-edge { grid-column: span 2; grid-row: span 2; background: var(--c1); min-height: 480px; }
.bt-mon { background: var(--c2); }
.bt-fmt { background: var(--c3); }
.bt .kicker { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.bt h3 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -.035em; margin: 8px 0 14px; }
.bt-edge h3 { font-size: clamp(44px, 7vw, 104px); }
.bt p { color: rgba(255, 255, 255, .86); max-width: 540px; font-size: 18px; }
.wave { margin-top: auto; padding-top: 28px; display: flex; align-items: flex-end; gap: 5px; height: 150px; }
.wave i { flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .88); height: calc(16% + var(--d) * 84%); transform-origin: bottom; animation: wv 1.8s ease-in-out infinite; animation-delay: calc(var(--d) * -1.8s); }
@keyframes wv { 50% { transform: scaleY(.3); } }
.live { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; font-weight: 700; }
.live .dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #5fd39a; animation: pulseg 1.8s infinite; }
.live.bad .dot { background: #ff6b6b; animation-name: pulser; }
@keyframes pulseg { 0% { box-shadow: 0 0 0 0 rgba(95, 211, 154, .7); } 100% { box-shadow: 0 0 0 12px rgba(95, 211, 154, 0); } }
@keyframes pulser { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, .75); } 100% { box-shadow: 0 0 0 12px rgba(255, 107, 107, 0); } }
.fmt-list { margin-top: auto; font-size: clamp(40px, 5vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: .98; }

/* bigger hero on desktop */
@media (min-width: 701px) {
  .hero { min-height: calc(100svh - 64px); align-items: flex-end; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding: 90px 0 56px; align-content: end; }
  .hero h1 { font-size: clamp(58px, 10vw, 168px); line-height: .92; letter-spacing: -.045em; max-width: 1150px; }
  .hero p { font-size: 22px; max-width: 560px; margin-top: 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tile { min-height: 170px; border-radius: 10px; font-size: 24px; }
  .tile.t2 { margin-top: 0; }
  .tile.t3 { grid-column: auto; }
}
.tile { border-radius: 10px; }
.case, .bigtile { border-radius: 10px; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bt-edge { grid-column: auto; grid-row: auto; min-height: 380px; }
  .bt { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; transform: none; } .live .dot { animation: none; } .progress { display: none; } }

/* ---------- bolder pass: bigger type, more contrast, more air ---------- */
:root { --dim: rgba(255, 255, 255, .8); --line: rgba(255, 255, 255, .26); --a: #08021c; --b: #1a0830; }
body { color: #fff; }
.hero h1 { color: #fff; text-shadow: 0 2px 40px rgba(8, 2, 28, .5); }
.hero p, .sec .sub, .bt p, .case p, .teaser, .ow-sub { color: rgba(255, 255, 255, .9); }
.case .cat { color: #fff; opacity: .8; font-size: 15px; font-weight: 600; }
.hero::after { background: linear-gradient(90deg, rgba(8, 2, 28, .96) 0%, rgba(8, 2, 28, .78) 50%, rgba(26, 8, 48, .4) 100%); }

.sec { padding: 150px 0; }
.sec .top { margin-bottom: 84px; }
.sec h2, .photo h2 { font-size: clamp(44px, 8.4vw, 132px); line-height: .94; letter-spacing: -.05em; max-width: 1100px; }
.sec .sub { font-size: 22px; margin-top: 26px; max-width: 620px; }
.ow-title { font-size: clamp(40px, 7vw, 108px); line-height: .96; letter-spacing: -.045em; margin-bottom: 26px; font-weight: 800; }
.ow-sub { font-size: 20px; max-width: 760px; margin-bottom: 64px; }

.tile { min-height: 210px; font-size: clamp(24px, 2.4vw, 34px); padding: 28px; font-weight: 800; letter-spacing: -.02em; }
.tile i { font-size: 34px; }
.hero p { font-size: clamp(19px, 1.7vw, 24px); }

.bento { gap: 28px; grid-auto-rows: minmax(260px, auto); }
.bt { padding: 44px; }
.bt h3 { font-size: clamp(34px, 4.4vw, 68px); letter-spacing: -.045em; }
.bt-edge h3 { font-size: clamp(54px, 9vw, 140px); line-height: .92; letter-spacing: -.055em; }
.bt p { font-size: 20px; }
.fmt-list { font-size: clamp(48px, 6.4vw, 100px); }
.bt-edge { min-height: 560px; }

.grid3 { gap: 28px; }
.case { padding: 40px; min-height: 340px; }
#news .case h3, .case h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1.04; letter-spacing: -.035em; }
.case p, .teaser { font-size: 17px; }

.ow-grid { gap: 28px; }
.ow-card { padding: 30px 32px 24px; min-height: 300px; }
.ow-card h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.ow-body { font-size: 17px; color: #222; }
.ow-foot { color: #222; font-weight: 600; }

.partner { padding: 190px 0; }
.partner h2 { font-size: clamp(56px, 11vw, 176px); line-height: .9; letter-spacing: -.055em; }
.partner p { font-size: 24px; }
.partner .mail-line { font-size: clamp(26px, 3vw, 40px); }


footer { padding: 100px 0 36px; }
.fcols { gap: 60px; }
.mail { font-size: clamp(24px, 3vw, 40px); }
footer h4 { color: #fff; opacity: .75; font-size: 15px; font-weight: 600; }

.article { padding: 90px 0 150px; }
.article h1 { font-size: clamp(40px, 7.6vw, 112px); line-height: .94; letter-spacing: -.05em; margin: 14px 0 54px; max-width: 1100px; }
.article .body { font-size: 20px; }
.article .facts div { padding: 18px 0; font-size: 17px; }

@media (max-width: 700px) {
  .sec { padding: 84px 0; }
  .sec .top { margin-bottom: 44px; }
  .sec h2, .photo h2 { font-size: clamp(40px, 12.4vw, 60px); }
  .sec .sub { font-size: 18px; }
  .ow-title { font-size: clamp(36px, 11vw, 52px); }
  .ow-sub { margin-bottom: 36px; font-size: 17px; }
  .tile { min-height: 130px; padding: 18px; font-size: 20px; }
  .tile.t3 { min-height: 96px; }
  .bt { padding: 26px; }
  .bt-edge { min-height: 420px; }
  .bt-edge h3 { font-size: clamp(48px, 15vw, 72px); }
  .bento, .grid3, .ow-grid { gap: 18px; }
  .case { padding: 26px; min-height: 0; }
  .ow-card { padding: 22px; min-height: 0; }
  .partner { padding: 100px 0; }
  .partner h2 { font-size: clamp(48px, 15vw, 76px); }
  .partner p { font-size: 19px; }
  .article { padding: 44px 0 90px; }
  .article h1 { font-size: clamp(34px, 11vw, 52px); margin-bottom: 30px; }
  .article .body { font-size: 18px; }
  footer { padding: 64px 0 28px; }
}

/* ---------- desktop scale-down (bold, but not oversized) ---------- */
@media (min-width: 701px) {
  .hero-in { padding: 70px 0 44px; gap: 34px; }
  .hero h1 { font-size: clamp(46px, 6.6vw, 104px); line-height: .96; letter-spacing: -.04em; max-width: 980px; }
  .hero p { font-size: clamp(17px, 1.35vw, 21px); }
  .tile { min-height: 150px; font-size: clamp(20px, 1.8vw, 28px); padding: 24px; }
  .tile i { font-size: 28px; }

  .sec { padding: 110px 0; }
  .sec .top { margin-bottom: 56px; }
  .sec h2, .photo h2 { font-size: clamp(36px, 4.8vw, 76px); line-height: 1; letter-spacing: -.04em; max-width: 900px; }
  .sec .sub { font-size: 19px; margin-top: 18px; }
  .ow-title { font-size: clamp(34px, 4.4vw, 68px); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
  .ow-sub { font-size: 18px; margin-bottom: 44px; }


  .bento { gap: 22px; grid-auto-rows: minmax(230px, auto); }
  .bt { padding: 34px; }
  .bt h3 { font-size: clamp(28px, 3vw, 46px); letter-spacing: -.04em; }
  .bt-edge h3 { font-size: clamp(42px, 6vw, 92px); line-height: .95; letter-spacing: -.05em; }
  .bt p { font-size: 18px; }
  .bt-edge { min-height: 460px; }
  .wave { height: 120px; }
  .fmt-list { font-size: clamp(36px, 4.2vw, 64px); }

  .grid3, .ow-grid { gap: 22px; }
  .case { padding: 30px; min-height: 300px; }
  #news .case h3, .case h3 { font-size: clamp(24px, 2.2vw, 34px); }
  .ow-card { padding: 26px 28px 20px; min-height: 250px; }
  .ow-card h3 { font-size: clamp(21px, 1.8vw, 26px); }

  .partner { padding: 130px 0; }
  .partner h2 { font-size: clamp(42px, 7vw, 112px); line-height: .94; }
  .partner p { font-size: 20px; }
  .partner .mail-line { font-size: clamp(22px, 2.2vw, 32px); }

  footer { padding: 80px 0 32px; }
  .mail { font-size: clamp(20px, 2.2vw, 30px); }

  .article { padding: 64px 0 110px; }
  .article h1 { font-size: clamp(36px, 5vw, 76px); line-height: 1; margin: 12px 0 40px; max-width: 980px; }
  .article .body { font-size: 18px; }
}

/* top of the hero */
@media (min-width: 701px) {
  .hero-in { padding-top: 52px; }
}

/* hero: even space above the headline and below the tiles */
@media (min-width: 701px) {
  .hero { min-height: 0; align-items: stretch; }
  .hero-in { padding: 96px 0 84px; gap: 48px; align-content: start; }
}
@media (max-width: 700px) {
  .hero-in { padding: 48px 0 64px; }
}


/* ---------- card hover: lift, tilt, sweep ---------- */
.tilt { will-change: transform; transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .3s; }
.tilt.tilt:hover {
  transform: perspective(1100px) translateY(-14px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.025);
  box-shadow: 0 40px 70px -22px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .18s ease-out, box-shadow .35s var(--ease), filter .3s;
  filter: brightness(1.1);
  z-index: 3;
}
.tilt.tilt:active { transform: perspective(1100px) translateY(-6px) scale(.99); }
.spot::before { content: ""; position: absolute; inset: -25% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .22) 50%, transparent 58%); transform: translateX(-70%); pointer-events: none; opacity: 0; }
.spot:hover::before { opacity: 1; transform: translateX(70%); transition: transform 1s var(--ease), opacity .2s; }
.tile i, .case .more::after { transition: transform .35s var(--ease); }
.tile:hover i { transform: translateX(8px) scale(1.15); }
.tile span, .case h3, .bt h3 { transition: transform .35s var(--ease); }
.tile:hover span, .case:hover h3 { transform: translateY(-3px); }

/* mobile menu collapses and unfolds from the header */
@media (max-width: 700px) {
  .js .head nav { clip-path: inset(0 0 100% 0); transition: clip-path .42s var(--ease), opacity .25s, transform .35s var(--ease), visibility 0s .42s; }
  .js .head.open nav { clip-path: inset(0 0 -48px 0); transition: clip-path .42s var(--ease), opacity .2s, transform .35s var(--ease), visibility 0s 0s; }
}
@media (prefers-reduced-motion: reduce) { .spot::before { display: none; } .js .head nav { clip-path: none; } }

/* reduced motion: keep calm fades so the page still feels alive, but no movement */
@keyframes fadein { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 0; transform: none; transition: opacity .7s ease !important; transition-delay: calc(var(--i, 0) * 70ms) !important; }
  .js .reveal.in { opacity: 1; }
  .progress { display: none; }
}

/* hover lift stays on for everyone: a short, smooth rise with a soft shadow fade (user-triggered, small) */
.tile, .case, .bt, .ow-card { transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .35s; }
.tile:hover, .case:hover, .bt:hover, .ow-card:hover { transform: translateY(-12px); box-shadow: 0 36px 60px -22px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .16); filter: brightness(1.1); }
@media (prefers-reduced-motion: reduce) {
  .tile, .case, .bt, .ow-card { transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .35s !important; }
  .tile:hover, .case:hover, .bt:hover, .ow-card:hover { transform: translateY(-12px) !important; }
}

/* ---------- hero: headline left, interlocking "puzzle" tiles right ---------- */
@media (min-width: 901px) {
  .hero { align-items: center; }
  .hero-in { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; align-content: center; padding: 84px 0 92px; }
  .hero h1 { font-size: clamp(44px, 5.7vw, 96px); line-height: .95; max-width: none; }
  .hero p { margin-top: 28px; max-width: 520px; }
  .tiles { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, 66px); gap: 16px; }
  .tile { min-height: 0; margin: 0; padding: 24px; font-size: clamp(20px, 1.9vw, 30px); }
  .tile.t1 { grid-column: 1; grid-row: 1 / 4; }
  .tile.t2 { grid-column: 2; grid-row: 3 / 7; margin-top: 0; }
  .tile.t3 { grid-column: 1; grid-row: 4 / 7; }
}

/* ---------- hero tiles float: staggered bottoms and a slow idle drift ---------- */
@keyframes bob { 50% { translate: 0 -10px; } }
@media (min-width: 901px) {
  .tiles { grid-template-rows: repeat(7, 66px); }
  .tile.t1 { grid-row: 1 / 4; }
  .tile.t2 { grid-row: 3 / 7; }
  .tile.t3 { grid-row: 5 / 8; }
  .tile.t1 { animation: bob 7s ease-in-out infinite; }
  .tile.t2 { animation: bob 8.5s ease-in-out -2.5s infinite; }
  .tile.t3 { animation: bob 6.2s ease-in-out -4s infinite; }
  .tile:hover { animation-play-state: paused; }
}

/* right tile (Outages) hangs lower than the rest */
@keyframes bob2 { 50% { translate: 0 -14px; } }
@media (min-width: 901px) {
  .tiles { grid-template-rows: repeat(8, 66px); }
  .tile.t2 { grid-row: 3 / 9; animation: bob2 8.5s ease-in-out -2.5s infinite; }
}

/* Outages: 10% shorter than Cases, hanging lowest */
@media (min-width: 901px) {
  .tiles { --h3: calc(3 * 66px + 2 * 16px); }
  .tile.t2 { grid-row: 4 / 9; align-self: end; height: calc(var(--h3) * .9); }
}

/* tidy puzzle: Platform and Cases stacked, Outages straddles the seam and hangs a little lower */
@media (min-width: 901px) {
  .tiles { grid-template-rows: repeat(7, 66px); gap: 16px; --h3: calc(3 * 66px + 2 * 16px); }
  .tile.t1 { grid-column: 1; grid-row: 1 / 4; }
  .tile.t3 { grid-column: 1; grid-row: 4 / 7; }
  .tile.t2 { grid-column: 2; grid-row: 1 / 8; align-self: end; height: calc(var(--h3) * .9); margin-bottom: 46px; }
}
@keyframes bob { 50% { translate: 0 -6px; } }
@keyframes bob2 { 50% { translate: 0 -8px; } }

/* Our platform moves above Outages (right column); Cases and Outages keep their positions */
@media (min-width: 901px) {
  .tile.t1 { grid-column: 2; grid-row: 1 / 8; align-self: end; height: var(--h3); margin-bottom: calc(46px + var(--h3) * .9 + 16px); }
}

/* Cases sits vertically centred between Our platform and Outages */
@media (min-width: 901px) {
  .tile.t3 { grid-column: 1; grid-row: 1 / 8; align-self: start; height: var(--h3); margin-top: calc(285.5px - var(--h3) / 2); }
}


/* hover: smaller lift, and only for cards that are links */
.tilt.tilt:hover { transform: perspective(1100px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.012); box-shadow: 0 26px 46px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .14); }
a.tile:hover, a.case:hover, a.bt:hover, a.ow-card:hover { transform: translateY(-6px); }
article.case:hover, article.bt:hover, article.ow-card:hover, article.bigtile:hover { transform: none !important; box-shadow: none !important; filter: none !important; }
article.case, article.bt, article.ow-card { cursor: default; }
@media (prefers-reduced-motion: reduce) {
  a.tile:hover, a.case:hover, a.bt:hover, a.ow-card:hover { transform: translateY(-6px) !important; }
  .tile:not(a):hover, article.case:hover, article.bt:hover, article.ow-card:hover { transform: none !important; }
}
.tile:hover i { transform: translateX(6px); }

/* photo credit sits bottom right */
.credit { left: auto; right: 24px; text-align: right; max-width: calc(100% - 48px); }
