/* Layout: the logo's black tile becomes the header and hero; its three type colours (sage, mauve, khaki)
   carry through the page. Light, quiet sections below so the client work stays the loudest thing. */
:root {
  --night: #170e0f;      /* the logo's ground */
  --sage: #a5b2aa;       /* KONRAD */
  --mauve: #87736a;      /* BRIGHT */
  --khaki: #b0a97c;      /* DESIGN */
  --on-night: #ece9e2;

  --paper: #eef0ec;      /* sage-tinted light ground */
  --surface: #ffffff;
  --ink: #1e1516;
  --muted: #5f524c;      /* deep mauve for secondary text */
  --line: #d6dbd5;
  --accent: #6f6838;     /* khaki deepened for text-on-light */
  --board: #ffffff;      /* portfolio boards are white in both themes */

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.7rem;
  --step-3: clamp(2.2rem, 4.4vw, 3.2rem);
  --step-4: clamp(3rem, 7.6vw, 6.4rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b1314; --surface: #241a1b; --ink: #ece9e2; --muted: #a5b2aa; --line: #3a2e2f; --accent: #c9c193;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1b1314; --surface: #241a1b; --ink: #ece9e2; --muted: #a5b2aa; --line: #3a2e2f; --accent: #c9c193;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--khaki); outline-offset: 3px; border-radius: 2px; }
.wrap {
  max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1; letter-spacing: 0; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); }
p { margin: 0; }
.lede { color: var(--muted); max-width: 60ch; font-size: var(--step-1); line-height: 1.5; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--khaki); color: var(--night); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--night); color: var(--on-night); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.mark { display: block; flex: none; line-height: 0; }
.mark img { width: 56px; height: 56px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 32px); font-size: var(--step--1); font-weight: 500; }
.nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--khaki); }
.nav .cta { border: 1.5px solid var(--khaki); color: var(--khaki); border-radius: 999px; padding: 8px 16px; }
.nav .cta:hover { background: var(--khaki); color: var(--night); }
@media (max-width: 640px) { .nav .opt { display: none; } }

/* Hero: three lines in the logo's three colours, next to a live wall of the work */
.hero { background: var(--night); color: var(--on-night); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 104px); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: var(--step-4); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; line-height: 0.95; display: grid; }
.hero h1 span:nth-child(1) { color: var(--sage); }
.hero h1 span:nth-child(2) { color: var(--mauve); }
.hero h1 span:nth-child(3) { color: var(--khaki); }
.hero .lede { color: var(--on-night); opacity: .85; margin-top: 28px; max-width: 44ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid currentColor; cursor: pointer; background: none; }
.btn.primary { background: var(--khaki); border-color: var(--khaki); color: var(--night); }
.btn:hover { background: var(--sage); border-color: var(--sage); color: var(--night); }
.since { margin-top: 36px; font-size: var(--step--1); color: var(--sage); }

.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
.wall a { position: relative; display: block; aspect-ratio: 15 / 8; max-width: 100%; background: var(--board); border-radius: var(--radius); overflow: hidden; }
.wall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; }
.wall img.out { opacity: 0; }
.wall span { position: absolute; left: 8px; bottom: 8px; background: var(--night); color: var(--on-night); font-size: .75rem; padding: 3px 8px; border-radius: 2px; opacity: 0; transition: opacity .2s; }
.wall a:hover span, .wall a:focus-visible span { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .wall img { transition: none; } html { scroll-behavior: auto; } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 32px; }
.head > div:first-child { display: grid; gap: 12px; min-width: 0; }
.head .lede { font-size: var(--step-0); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: var(--step--1); font-weight: 500; cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline; }
.chip small { color: var(--muted); font-size: .8em; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] small, .chip[aria-selected="true"] small { color: inherit; opacity: .7; }

/* Project grid */
.projects { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 28px; }
@media (min-width: 700px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: grid; gap: 14px; align-content: start; min-width: 0; text-decoration: none; }
.card figure { margin: 0; aspect-ratio: 15 / 8; max-width: 100%; background: var(--board); border-radius: var(--radius); overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover img { transform: scale(1.03); }
.card h3 { font-size: var(--step-2); }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--khaki); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.card .meta { display: grid; gap: 4px; }
.card .meta p { color: var(--muted); font-size: var(--step--1); }
.card .tags { color: var(--accent); font-size: .78rem; font-weight: 500; }
.card.feature .meta { gap: 10px; }
.card.feature h3 { font-size: var(--step-3); }
.card.feature .meta p.body { color: var(--ink); font-size: var(--step-0); max-width: 52ch; }
.card.feature .go { font-weight: 600; font-size: var(--step--1); text-decoration: underline; text-decoration-color: var(--khaki); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.projects.all .card.feature { grid-column: 1 / -1; }
@media (min-width: 1100px) { .projects.all .card.feature { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 28px; align-items: center; } }
.projects:not(.all) .card.feature .body, .projects:not(.all) .card.feature .go { display: none; }
.projects:not(.all) .card.feature h3 { font-size: var(--step-2); }
@media (prefers-reduced-motion: reduce) { .card img { transition: none; } .card:hover img { transform: none; } }

/* Archive */
.thumbs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.thumbs.logos { grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); }
.thumb { all: unset; cursor: zoom-in; aspect-ratio: 15 / 8; max-width: 100%; background: var(--board); border-radius: var(--radius); overflow: hidden; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumbs.logos .thumb img { transform: scale(1.3); }
.thumb:focus-visible { outline: 3px solid var(--khaki); outline-offset: 3px; }
.thumb:hover { outline: 2px solid var(--sage); outline-offset: 3px; }

/* About */
.about { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }
.about .copy { display: grid; gap: 20px; max-width: 62ch; align-content: start; }
.about .copy p { font-size: 1.075rem; }
.lists { display: grid; gap: 36px; align-content: start; }
.lists h3 { font-size: var(--step-2); margin-bottom: 12px; }
.lists ul { list-style: none; margin: 0; padding: 0; columns: 2 12ch; column-gap: 24px; }
.lists li { padding-block: 6px; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: var(--step--1); }

/* Testimonials */
.quotes { display: grid; gap: 28px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.quotes figure { margin: 0; display: grid; gap: 16px; align-content: start; padding-top: 20px; border-top: 3px solid var(--khaki); }
.quotes blockquote { margin: 0; font-size: var(--step-1); line-height: 1.45; }
.quotes figcaption { color: var(--muted); font-size: var(--step--1); }
.quotes figcaption b { color: var(--ink); font-weight: 600; display: block; }

/* Contact + footer */
.contact { background: var(--night); color: var(--on-night); }
.contact .wrap { padding-block: clamp(64px, 9vw, 112px); display: grid; gap: 40px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); } }
.contact h2 { font-size: var(--step-4); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; line-height: .95; color: var(--sage); }
.contact h2 em { font-style: normal; color: var(--khaki); }
.contact .lede { color: inherit; opacity: .8; margin-top: 20px; }
.details { display: grid; gap: 20px; font-size: var(--step-1); }
.details a { text-decoration-color: var(--khaki); text-underline-offset: 5px; text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.details small { display: block; font-size: var(--step--1); color: var(--sage); margin-bottom: 2px; }
.copy-btn { margin-left: 10px; font-size: var(--step--1); border: 1px solid currentColor; background: none; border-radius: 999px; padding: 3px 10px; cursor: pointer; opacity: .8; vertical-align: middle; }
.copy-btn:hover { opacity: 1; }
.foot { background: var(--night); color: var(--on-night); border-top: 1px solid #3a2e2f; }
.foot .wrap { padding-block: 24px; font-size: var(--step--1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .wrap > span { opacity: .7; }
.foot-logo { width: 72px; height: 72px; }

/* Project page */
.crumbs { font-size: var(--step--1); color: var(--sage); }
.crumbs a { text-decoration-color: var(--khaki); text-underline-offset: 4px; }
.p-hero { background: var(--night); color: var(--on-night); }
.p-hero .wrap { padding-block: clamp(36px, 5vw, 64px) clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 72px); align-items: end; }
@media (max-width: 860px) { .p-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.p-hero .title { display: grid; gap: 18px; align-content: end; }
.p-hero h1 { font-size: var(--step-4); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 500; line-height: .95; color: var(--sage); }
.p-hero .sub { font-size: var(--step-1); color: var(--khaki); }
.p-hero .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.p-hero .tags a { font-size: .8rem; border: 1px solid var(--mauve); border-radius: 999px; padding: 3px 12px; text-decoration: none; color: var(--on-night); }
.p-hero .tags a:hover { border-color: var(--khaki); }
.p-hero .story { display: grid; gap: 20px; font-size: 1.1rem; max-width: 56ch; }
.p-hero .story .btn { justify-self: start; font-size: var(--step--1); }
.gallery { display: grid; gap: 20px; padding-block: clamp(32px, 5vw, 64px); }
.gallery img { width: 100%; height: auto; background: var(--board); border-radius: var(--radius); }
.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: 8px clamp(56px, 8vw, 96px); }
.pn a { display: grid; gap: 4px; text-decoration: none; padding-top: 14px; border-top: 3px solid var(--line); }
.pn a:hover { border-color: var(--khaki); }
.pn a:last-child { text-align: right; }
.pn small { color: var(--muted); font-size: var(--step--1); }
.pn b { font-family: var(--display); font-weight: 600; font-size: var(--step-2); line-height: 1.05; }

/* Lightbox */
dialog { border: 0; padding: 0; max-width: none; max-height: none; }
dialog::backdrop { background: rgb(12 7 8 / .7); }
.lightbox { width: 100vw; height: 100dvh; background: rgb(23 14 15 / .97); color: var(--on-night); }
.lightbox .stage { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox figure { margin: 0; display: grid; place-items: center; padding: max(64px, env(safe-area-inset-top, 0px)) max(64px, env(safe-area-inset-right, 0px)) 8px max(64px, env(safe-area-inset-left, 0px)); min-height: 0; }
.lightbox figure img { max-height: calc(100dvh - 150px); max-width: 100%; object-fit: contain; border-radius: 4px; background: #fff; }
.lightbox .bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px max(20px, env(safe-area-inset-right, 0px)) max(18px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); font-size: var(--step--1); }
.lightbox .bar span { color: var(--sage); font-variant-numeric: tabular-nums; }
.lightbox .arrows { display: flex; gap: 8px; }
.lightbox .arrows button, .x { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; font-size: 20px; background: var(--on-night); color: var(--night); display: grid; place-items: center; }
.x { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); z-index: 2; font-size: 22px; }
.lightbox .arrows button:hover, .x:hover { background: var(--khaki); }
@media (max-width: 640px) { .lightbox figure { padding-inline: 12px; } }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery img:first-child, .gallery img:last-child:nth-child(even) { grid-column: 1 / -1; }
}

/* ---------- Motion ---------- */
/* Hero entrance: the three logo-coloured lines rise in one after another, then the work wall settles in */
@keyframes rise { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.hero h1 span { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 span:nth-child(2) { animation-delay: .12s; }
.hero h1 span:nth-child(3) { animation-delay: .24s; }
.hero .lede, .hero .actions, .hero .since { animation: settle .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .lede { animation-delay: .4s; } .hero .actions { animation-delay: .5s; } .hero .since { animation-delay: .6s; }
.wall a { animation: settle .7s cubic-bezier(.2,.7,.2,1) both; }
.wall a:nth-child(1) { animation-delay: .35s; } .wall a:nth-child(2) { animation-delay: .45s; }
.wall a:nth-child(3) { animation-delay: .55s; } .wall a:nth-child(4) { animation-delay: .65s; }
.wall a:nth-child(5) { animation-delay: .75s; } .wall a:nth-child(6) { animation-delay: .85s; }
.wall a { transition: transform .35s ease; }
.wall a:hover { transform: translateY(-4px) rotate(-.6deg); }
.p-hero h1, .p-hero .sub, .p-hero .tags, .p-hero .story { animation: settle .7s cubic-bezier(.2,.7,.2,1) both; }
.p-hero .sub { animation-delay: .1s; } .p-hero .tags { animation-delay: .18s; } .p-hero .story { animation-delay: .26s; }

/* Header tightens once you scroll */
.mark img { transition: width .3s ease, height .3s ease; }
.top .wrap { transition: padding .3s ease; }
.top.small .wrap { padding-block: 6px; }
.top.small .mark img { width: 42px; height: 42px; }

/* Scroll reveal (added by script only to things still below the fold) */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }

/* Client marquee */
.marquee { background: var(--night); color: var(--sage); border-top: 1px solid #3a2e2f; overflow: hidden; display: flex; padding-block: 18px; }
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 0; animation: marquee 48s linear infinite; }
.marquee li { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; padding-inline: 28px; display: flex; align-items: center; gap: 56px; }
.marquee li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--khaki); margin-right: -28px; }
.marquee li:nth-child(3n+2) { color: var(--mauve); } .marquee li:nth-child(3n) { color: var(--khaki); }
.marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Testimonial slider */
.voices { background: var(--night); color: var(--on-night); overflow: hidden; }
.voices .wrap { padding-block: clamp(64px, 9vw, 120px); display: grid; gap: clamp(28px, 4vw, 48px); }
.voices-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.voices h2 { color: var(--sage); text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.voices .arrows { display: flex; gap: 8px; }
.voices .arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--khaki); background: none; color: var(--khaki); cursor: pointer; font-size: 20px; transition: background .2s, color .2s; }
.voices .arrows button:hover { background: var(--khaki); color: var(--night); }
.slider { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(12px, 3vw, 40px); align-items: start; min-height: 15rem; touch-action: pan-y; }
.q-mark { font-family: var(--display); font-size: clamp(7rem, 16vw, 13rem); line-height: .7; color: var(--khaki); transition: transform .6s cubic-bezier(.2,.7,.2,1), color .6s; }
.slider.bump .q-mark { transform: rotate(-8deg) scale(.9); color: var(--mauve); }
.slides { display: grid; }

.slide { grid-area: 1 / 1; margin: 0; display: grid; gap: 24px; align-content: start; }
.slide:not([hidden]) { animation: slideIn .7s cubic-bezier(.2,.7,.2,1) both; }
.slider.back .slide:not([hidden]) { animation-name: slideBack; }
@keyframes slideIn { from { opacity: 0; transform: translateX(48px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes slideBack { from { opacity: 0; transform: translateX(-48px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.slide blockquote { margin: 0; font-size: clamp(1.35rem, 2.6vw, 2.1rem); line-height: 1.35; max-width: 40ch; text-wrap: pretty; }
.slide figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; color: var(--sage); }
.slide figcaption b { color: var(--khaki); font-weight: 600; font-size: 1.05rem; }
.q-link { color: var(--on-night); font-size: var(--step--1); text-decoration-color: var(--khaki); text-underline-offset: 4px; }
.dots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .dots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .dots b, .dots small { display: none; } }
.dot { all: unset; cursor: pointer; display: grid; gap: 6px; min-width: 0; }
.dot:focus-visible { outline: 3px solid var(--khaki); outline-offset: 4px; }
.dot .bar { display: block; height: 3px; background: #3a2e2f; border-radius: 2px; overflow: hidden; }
.dot .bar i { display: block; height: 100%; width: 100%; background: var(--khaki); transform: scaleX(0); transform-origin: left; }
.dot[aria-selected="true"] .bar i { animation: fill 7s linear forwards; }
.dot.done .bar i { transform: scaleX(1); background: var(--mauve); }
.voices.paused .dot .bar i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.dot b { font-size: var(--step--1); color: var(--on-night); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot small { font-size: .75rem; color: var(--sage); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot[aria-selected="false"] b { opacity: .6; }
@media (max-width: 640px) { .slider { grid-template-columns: minmax(0, 1fr); } .q-mark { font-size: 6rem; height: 3.2rem; } }

@media (prefers-reduced-motion: reduce) {
  .hero h1 span, .hero .lede, .hero .actions, .hero .since, .wall a, .p-hero h1, .p-hero .sub, .p-hero .tags, .p-hero .story, .slide:not([hidden]) { animation: none; }
  .marquee { flex-wrap: wrap; } .marquee ul { animation: none; flex-wrap: wrap; } .marquee ul[aria-hidden] { display: none; }
  .reveal { opacity: 1; transform: none; }
  .dot[aria-selected="true"] .bar i { animation: none; transform: scaleX(1); }
  .wall a:hover { transform: none; }
}

/* Anything toggled with the hidden attribute stays hidden, whatever its display rule */
[hidden] { display: none !important; }
