:root {
  --accent: #C8402A;
  --accent-deep: #A3321F;
  --accent-soft: #FFE2CC;
  --accent-ink: #8A2E1C;
  --on-accent: #FFFFFF;
  --teal: #0F766E;
  --on-teal: #FFFFFF;
  --ink: #2B1D16;
  --muted: #6B5446;
  --bg: #FFF6EC;
  --tint: #FFEEDD;
  --card: #FFFFFF;
  --line: #EAD9C8;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.nav__brand { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); text-decoration: none; }
.nav__brand span { color: var(--accent); }
.nav__links { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 16px; border-radius: 999px; display: inline-block; }
.nav__links a:hover { background: var(--accent-soft); }
.nav__links a.nav__cta { background: var(--ink); color: var(--bg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line); font-weight: 500; }
.btn--ghost:hover { border-color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; margin-bottom: 24px; }
.hero__title { font-size: clamp(42px, 6.4vw, 74px); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 24px; }
.accent { color: var(--accent); }
.hero__lead { font-size: clamp(18px, 2.1vw, 20px); max-width: 600px; color: var(--muted); }
.hero__lead strong { color: var(--ink); }
.hero__link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hero__link:hover { color: var(--accent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 20%; border-radius: 999px 999px 32px 32px; }

/* Stats */
.stats { padding: 8px 0 24px; }
.stats__grid { display: flex; flex-wrap: wrap; gap: 12px; }
.stat { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-size: 16px; color: var(--muted); }
.stat__num { color: var(--teal); font-weight: 700; }

/* Sections */
.section { padding: 80px 0; }
.section--tint { background: var(--tint); }
.section__title { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 32px; }

/* Venture cards */
.venture { background: var(--teal); color: var(--on-teal); border-radius: 32px; padding: 44px; max-width: 900px; }
.venture a.btn--primary { background: var(--on-teal); color: var(--teal); }
.venture a.btn--primary:hover { opacity: .9; }
.venture__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 16px; }
.venture__name { font-size: 40px; }
.venture__name a { color: inherit; text-decoration: none; }
.venture__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.venture .hero__cta { margin-top: 0; }
.btn--outline { color: var(--on-teal); border-color: color-mix(in srgb, var(--on-teal) 55%, transparent); }
.btn--outline:hover { border-color: var(--on-teal); }
.venture__role { margin: 0; font-weight: 700; opacity: .85; }
.venture__text { font-size: 18px; max-width: 680px; }
.venture--light { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.venture--light .venture__role { color: var(--accent); opacity: 1; }
.venture--light a.btn--primary { background: var(--accent); color: var(--on-accent); }
.venture--light a.btn--primary:hover { background: var(--accent-deep); opacity: 1; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.tags li { font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--on-teal) 16%, transparent); }
.venture--light .tags li { background: var(--accent-soft); color: var(--accent-ink); }

/* Ventures */
.ventures { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.ventures .venture { max-width: none; display: flex; flex-direction: column; }
.ventures .venture > .btn, .ventures .venture > .hero__cta { margin-top: auto; }
.ventures .venture > .btn { align-self: flex-start; }
.ventures .venture--light .venture__name { font-size: 32px; }
.ventures .venture--light .venture__text { font-size: 16px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.credo { margin: 24px 0 0; background: var(--teal); color: var(--on-teal); border-radius: 24px; padding: 32px 36px; }
.credo p { margin: 0; font-family: var(--display); font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; max-width: 820px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card__title { font-size: 22px; margin-bottom: 12px; }

/* About */
.about p { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 760px; }
.about .about__punch { color: var(--ink); font-weight: 500; margin: 0; }
.section__lead { font-size: 19px; color: var(--muted); margin: -16px 0 32px; max-width: 640px; }

/* About extras */
.about .credo { margin-top: 28px; }
.about .credo p { color: var(--on-teal); font-size: clamp(21px, 2.6vw, 28px); max-width: 820px; }
.also { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.also li { font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }

/* Projects */
.project { display: flex; flex-direction: column; }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.card .tags { margin: auto 0 0; padding-top: 18px; }
.card .tags li { background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; padding: 4px 12px; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: var(--muted); border: 1px solid var(--line); }
.badge--live { background: #DDF2EE; color: var(--teal); border-color: #BFE3DC; }
.badge--wip { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

/* Playful bits (main.js). Without JS, everything below falls back to plain text. */
.js-only { display: none; }
.js .js-only { display: inline; }

.drum-egg { cursor: pointer; display: inline-block; border-radius: 8px; }
.drum-egg:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.drum-egg.is-hit { animation: wobble .6s ease-out; }
@keyframes wobble { 20% { transform: rotate(-4deg) scale(1.06); } 45% { transform: rotate(3deg); } 70% { transform: rotate(-1.5deg); } }

.worlds { margin: 8px 0 28px; }
.venn { display: flex; justify-content: center; padding: 8px 0; }
.world { font: inherit; font-family: var(--display); font-weight: 800; font-size: 19px; width: 190px; height: 190px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; color: var(--ink); background: transparent; border: 2px dashed var(--muted); margin: 0 -18px; transition: margin .6s cubic-bezier(.2, .9, .3, 1.3), background .3s, border-color .3s, transform .2s; mix-blend-mode: multiply; }
.world span { font-size: 36px; }
.world:hover { transform: scale(1.04); }
.world:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.world[aria-pressed="true"] { border-style: solid; }
.world--field[aria-pressed="true"] { background: #FFB8A3; border-color: #FFB8A3; }
.world--data[aria-pressed="true"] { background: #9ED9CF; border-color: #9ED9CF; }
.world--kit[aria-pressed="true"] { background: #FFE07A; border-color: #FFE07A; }
.worlds.is-complete .world { margin: 0 -40px; }
.worlds__line { display: none; text-align: center; min-height: 3.2em; margin: 18px auto 0; max-width: 560px; font-size: 18px; color: var(--ink); }
.worlds.is-live .worlds__line { display: block; }
.worlds.is-live .worlds__all { display: none; }
.worlds__all { color: var(--muted); max-width: 760px; }



/* Break it (breakit.js) */
.ops { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: none; }
.ops.is-live { display: block; }
.ops.is-live + .ops__fallback { display: none; }
.ops__fallback { color: var(--muted); }
.ops__bar { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-bottom: 8px; }
.ops__bar p { margin: 0; font-size: 15px; color: var(--muted); }
.ops__bar strong { color: var(--ink); }
.ops__status { margin-right: auto !important; font-weight: 700; color: var(--teal) !important; display: inline-flex; align-items: center; gap: 8px; }
.ops__status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.ops__status.is-alert { color: var(--accent) !important; }
.ops__status.is-alert::before { animation: blink .6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ops__pipe { width: 100%; height: auto; display: block; }
.ops-link { stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.ops-link--bin { stroke-dasharray: 4 6; stroke-width: 2; }
.ops-dots circle { fill: var(--teal); }
.ops-dots circle.is-bad { fill: var(--accent); }
.ops-box { fill: var(--bg); stroke: var(--line); stroke-width: 2; transition: fill .3s, stroke .3s; }
.ops-worker { fill: var(--bg); stroke: var(--line); stroke-width: 2; opacity: 0; transition: opacity .4s; }
.is-scaled .ops-worker { opacity: 1; }
.ops-name { font: 700 17px var(--display); fill: var(--ink); text-anchor: middle; }
.ops-sub { font: 500 13px var(--sans); fill: var(--muted); text-anchor: middle; }
.is-warn .ops-box { fill: #FFF1C2; stroke: #E0A800; }
.is-fail .ops-box { fill: #FFD6CC; stroke: var(--accent); animation: alarm .8s ease-in-out infinite; }
.is-fail .ops-sub { fill: var(--accent-ink); font-weight: 700; }
.is-heal .ops-box { stroke: var(--teal); stroke-dasharray: 8 6; animation: heal 1s linear infinite; }
@keyframes alarm { 50% { fill: #FFB8A3; } }
@keyframes heal { to { stroke-dashoffset: -28; } }
.ops-bin rect { fill: var(--bg); stroke: var(--line); stroke-dasharray: 4 4; }
.ops-bin { opacity: .45; transition: opacity .3s; }
.ops-bin.is-on { opacity: 1; }
.ops__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; margin-top: 12px; align-items: start; }
.ops__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.ops__buttons button { font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); box-shadow: 0 3px 0 var(--line); transition: transform .06s, box-shadow .06s, opacity .2s; }
.ops__buttons button:hover { border-color: var(--accent); }
.ops__buttons button:active { transform: translateY(3px); box-shadow: none; }
.ops__buttons button:disabled { opacity: .45; cursor: default; transform: none; }
.ops__buttons button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ops__buttons .ops__all { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 0 3px 0 var(--accent-deep); }
.ops__log { list-style: none; margin: 0; padding: 14px 16px; min-height: 196px; background: #12261F; border-radius: 14px; font: 13.5px/1.6 ui-monospace, 'SF Mono', Menlo, monospace; color: #7DF2C9; }
.ops__line { animation: step-in .25s ease-out; }
.ops__line--sys { color: #9DB8AE; }
.ops__line--alert { color: #FFB199; }
.ops__line--ok { color: #FFE07A; font-weight: 700; }
.ops__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.ops__win { margin: 14px 0 0; display: inline-block; background: var(--teal); color: var(--on-teal); font-weight: 700; padding: 12px 20px; border-radius: 999px; animation: step-in .4s ease-out; }
.ops__win[hidden] { display: none; }
.ops__win a { color: inherit; }

/* Projects game (main.js adds .is-game; without it both sides show) */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tile__front, .tile__back { border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.tile__front { background: var(--tile-bg); color: var(--tile-ink); }
.tile__back { background: var(--card); border: 2px solid var(--tile-bg); margin-top: 8px; }
.tile--coral { --tile-bg: #FFD9C7; --tile-ink: var(--accent-ink); }
.tile--teal  { --tile-bg: var(--teal); --tile-ink: #FFFFFF; }
.tile--sun   { --tile-bg: #FFE59E; --tile-ink: #5C4300; }
.tile--ink   { --tile-bg: var(--ink); --tile-ink: #FFF6EC; }
.tile--sand  { --tile-bg: #E9DCCB; --tile-ink: var(--ink); }
.tile__icon { font-size: 44px; line-height: 1; margin-bottom: auto; }
.tile__title { font-size: 22px; margin-top: 18px; }
.tile__hook { margin: 0; font-size: 15px; opacity: .85; }
.tile__hint { display: none; }
.tile__back p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.tile__back .badge { align-self: flex-start; margin: 0 30px 6px 0; white-space: nowrap; }
.tile__back a { font-weight: 700; font-size: 15px; margin-top: auto; }

.is-game .tile { perspective: 1000px; height: 270px; transition: transform .2s; }
.is-game .tile:nth-child(odd):hover { transform: rotate(-1.5deg) translateY(-4px); }
.is-game .tile:nth-child(even):hover { transform: rotate(1.5deg) translateY(-4px); }
.is-game .tile__inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .9, .3, 1.2); }
.is-game .is-flipped .tile__inner { transform: rotateY(180deg); }
.is-game .tile__front, .is-game .tile__back { position: absolute; inset: 0; margin: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.is-game .tile__front { cursor: pointer; }
.is-game .tile__front:focus-visible, .tile__undo:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.is-game .tile__back { transform: rotateY(180deg); cursor: pointer; }
.is-game .tile__hint { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; opacity: .7; }
.tile__undo { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 16px; cursor: pointer; }
.game__score { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: -12px 0 20px; font-size: 15px; font-weight: 700; color: var(--muted); }
.game__score[hidden], .game__win[hidden] { display: none; }
.game__dots { display: inline-flex; gap: 6px; }
.game__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.game__dots i.on { background: var(--accent); transform: scale(1.2); }
.game__all { padding: 0; margin-left: auto; }
.game__win { margin: 20px 0 0; display: inline-block; background: var(--teal); color: var(--on-teal); font-weight: 700; padding: 12px 20px; border-radius: 999px; animation: step-in .4s ease-out; }
.game__win a { color: inherit; }



/* Now */
.now { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 40px; align-items: baseline; border: 2px solid var(--ink); border-radius: 24px; padding: 28px 32px; max-width: 760px; }
.now__title { font-size: 32px; grid-row: span 2; }
.now__list { margin: 0; padding-left: 20px; font-size: 18px; }
.now__list li::marker { color: var(--accent); }
.now__date { margin: 0; font-size: 14px; color: var(--muted); }
.now__play { font: inherit; font-size: 14px; font-weight: 700; color: var(--teal); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-left: 6px; cursor: pointer; }
.now__play:hover { border-color: var(--teal); }
.todo { background: #FFF1A8; color: var(--ink); outline: 2px dashed var(--accent); padding: 0 4px; border-radius: 4px; }

/* Case studies inside Experience */
.job__case { margin-top: 12px; }
.job__case summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--teal); list-style: none; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.job__case summary::-webkit-details-marker { display: none; }
.job__case summary::after { content: "▸"; transition: transform .2s; }
.job__case[open] summary::after { transform: rotate(90deg); }
.job__case summary:hover { border-color: var(--teal); }
.job__case summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@keyframes step-in { from { opacity: 0; transform: translateY(4px); } }
.job__case .case { margin-top: 12px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; max-width: 620px; animation: step-in .3s ease-out; }
.case__stat { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.case__stat strong { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--accent); margin-right: 6px; }
.case__flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.case__flow li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.45; color: var(--ink); }
.case__tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.case__tag--win { color: var(--teal); }

/* Contact */
.contact__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.contact__row .hero__cta { margin: 0; }
.contact .now { max-width: none; }
.contact .now__title { font-size: 26px; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.job { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 0 0 36px 28px; position: relative; }
.job::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.job:nth-child(even)::before { background: var(--teal); }
.job__dates { color: var(--muted); font-size: 15px; font-weight: 700; }
.job__title { font-size: 22px; margin-bottom: 8px; }
.job__title span { font-family: var(--sans); font-weight: 500; letter-spacing: 0; color: var(--muted); font-size: 16px; }
.job__body p { color: var(--muted); max-width: 680px; margin: 0; }

/* Drums */
.section--dark { background: #2B1D16; color: #F6EBDD; }
.section--dark .section__title { color: #fff; }
.drums { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.drums__text p { font-size: 19px; color: #DCC8B6; max-width: 460px; }
.playlist { aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; }
.playlist iframe { width: 100%; height: 100%; border: 0; display: block; }
.btn--coral { background: #FF8466; color: #1C1410; }
.btn--coral:hover { background: #FFA48C; }
.videos { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video__play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: #FF8466; display: grid; place-items: center; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* Contact & footer */
.contact > p { font-size: 19px; color: var(--muted); max-width: 560px; }
.footer { padding: 28px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero__photo { max-width: 380px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops { padding: 16px; }
  .ops.is-live { display: flex; flex-direction: column; }
  .ops__bottom { display: contents; }
  .ops__buttons { order: 2; margin: 8px 0 4px; gap: 8px; }
  .ops__buttons button { font-size: 14px; padding: 8px 12px; }
  .ops__pipe { order: 3; }
  .ops__log { order: 4; min-height: 150px; }
  .ops__note, .ops__win { order: 5; }
  .ops__bar { gap: 6px 14px; }
  .ops__bar p { font-size: 13px; }
  .world { width: 130px; height: 130px; font-size: 15px; margin: 0 -12px; }
  .world span { font-size: 26px; }
  .worlds.is-complete .world { margin: 0 -24px; }
  .tiles .tile:last-child { grid-column: 1 / -1; }
  .is-game .tiles .tile:last-child { height: 200px; }
  .is-game .tile { height: 270px; }
  .tile__front, .tile__back { padding: 18px; }
  .tile__back p, .tile__back a { font-size: 14px; }
  .now { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .now__title { grid-row: auto; }
  .drums { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ventures, .contact__row { grid-template-columns: minmax(0, 1fr); }
  .job { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .venture { padding: 28px; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 32px; }
}
@media (max-width: 520px) {
  .nav__links { display: none; }
  .case__flow li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .case__stat strong { display: block; margin: 0 0 4px; }
  .stat { font-size: 15px; padding: 10px 16px; border-radius: 20px; }
  .venture__name { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .is-game .tile, .is-game .tile__inner, .world { transition: none; }
  .is-fail .ops-box, .is-heal .ops-box, .ops__line { animation: none; }
  .drum-egg.is-hit, .job__case .case { animation: none; }
}
