/* Annie website. One stylesheet for the home page, the blog index and a post.
   Look: black ground, light text, square corners, full-screen pictures with the words at the
   bottom left, and a header whose menus drop down over a darkening band.
   Type: Barlow Semi Condensed in capitals for headings, labels and buttons; Barlow for text;
   Roboto Mono for small technical labels. All three have Vietnamese letters.
   Sizes are set for older readers: body 19px, controls at least 52px tall, text contrast at least 4.5:1. */

:root {
  --ground: #000000;
  --panel: #0c0c10;
  --panel-raised: #17171d;
  --text: rgb(240, 240, 250);
  --dim: rgba(240, 240, 250, 0.74);
  --line: rgba(240, 240, 250, 0.36);
  --line-soft: rgba(240, 240, 250, 0.18);
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", system-ui, sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --radius: 4px;
  --wrap: 1440px;
  --gutter: 56px;
  /* stand-ins for the full-screen pictures, until real ones exist */
  --picture-a: linear-gradient(180deg, #5b6470 0%, #3f474f 45%, #14181c 100%);
  --picture-b: linear-gradient(180deg, #2c4a5e 0%, #1f3644 50%, #0d151a 100%);
  --picture-c: linear-gradient(180deg, #4c4a44 0%, #2e2c28 50%, #121110 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.16; letter-spacing: 0.01em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--text); color: var(--ground); padding: 12px 16px; z-index: 30; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.meta { font: 400 15px/1.5 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); }
.lead { font-size: 22px; line-height: 1.5; color: var(--text); }
.text-link { font: 500 17px/1.3 var(--display); letter-spacing: 0.09em; text-transform: uppercase; text-underline-offset: 7px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Buttons: outlined, in capitals; the colours swap on hover */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 52px; padding: 0 24px;
  background: rgba(0, 0, 0, 0.5); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  font: 500 16px/1 var(--display); letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.button:hover { background: var(--text); border-color: var(--text); color: var(--ground); }
.button--large { min-height: 60px; padding: 0 28px; font-size: 17px; }

/* Header: brand, menus, then the language button and the two actions */
.site-header { position: relative; z-index: 10; background: var(--ground); }
.has-hero .site-header { position: absolute; inset: 0 0 auto 0; background: transparent; }
.site-header__row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 48px; padding-top: 26px; padding-bottom: 26px; }
.logo { display: inline-flex; align-items: center; min-height: 52px; font: 700 26px/1.3 var(--display); letter-spacing: 0.32em; text-transform: uppercase; text-decoration: none; color: var(--text); }
.site-header nav { flex: 1; }
.menu { display: flex; flex-wrap: wrap; gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.menu__item { position: relative; }
.menu__label { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0; background: none; border: 0; color: var(--text); cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 16px/1.2 var(--display); letter-spacing: 0.09em; text-transform: uppercase; }
.menu__label .icon { width: 16px; height: 16px; stroke-width: 2; transition: transform 0.2s; }
.menu__label[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 9px; }
a.menu__label:hover { text-decoration: underline; text-underline-offset: 9px; }
.menu__list { position: absolute; left: 0; top: 100%; min-width: 300px; margin: 0; padding: 4px 0 18px; list-style: none;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.menu__list a { display: flex; align-items: center; min-height: 44px; font: 600 16px/1.3 var(--display); letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; color: var(--dim); }
.menu__list a:hover, .menu__list a:focus-visible { color: var(--text); }
.menu__item--more:hover .menu__list, .menu__item--more:focus-within .menu__list { opacity: 1; visibility: visible; }
.menu__item--more:hover .menu__label .icon, .menu__item--more:focus-within .menu__label .icon { transform: rotate(180deg); }
.site-header__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }

/* The band that darkens the top of the page while a menu is open */
.backdrop { position: absolute; z-index: 1; inset: 0 0 auto 0; height: 460px; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: linear-gradient(rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.88) 55%, rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0) 100%); }
.site-header:has(.menu__item--more:hover, .menu__item--more:focus-within) .backdrop { opacity: 1; }
/* and the first screen's words step back a little, as the menu takes the attention */
.site-header:has(.menu__item--more:hover, .menu__item--more:focus-within) ~ main .screen__text { opacity: 0.5; }

/* The language button: globe, the language in view, chevron; opens a menu of the languages. */
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; color: var(--text); cursor: pointer; list-style: none; white-space: nowrap;
  font: 600 16px/1.2 var(--display); letter-spacing: 0.09em; text-transform: uppercase; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .icon:first-child { width: 20px; height: 20px; }
.lang summary .icon:last-child { width: 16px; height: 16px; stroke-width: 2; transition: transform 0.2s; }
.lang[open] summary .icon:last-child { transform: rotate(180deg); }
.lang__menu { position: absolute; z-index: 20; top: calc(100% + 4px); right: 0; min-width: 100%; margin: 0; padding: 6px; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.lang__menu a { display: flex; align-items: center; gap: 18px; min-height: 48px; padding: 0 14px; border-radius: 2px; text-decoration: none; white-space: nowrap; color: var(--dim);
  font: 600 16px/1.2 var(--display); letter-spacing: 0.09em; text-transform: uppercase; }
.lang__menu a:hover { background: var(--panel-raised); color: var(--text); }
.lang__menu a[aria-current="true"] { color: var(--text); }
.lang__menu a[aria-current="true"]::after { content: ""; width: 12px; height: 7px; margin: 0 2px 4px auto; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }

/* A full-screen section: the picture behind, the words at the bottom left */
.screen { position: relative; display: flex; align-items: flex-end; min-height: 100vh; padding: 180px 0 88px; overflow: hidden; }
.screen__picture { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-end; padding: 24vh var(--gutter) 24px; background: var(--picture-a); }
.screen__picture span { max-width: 44%; text-align: center; font: 400 15px/1.6 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: rgba(240, 240, 250, 0.74); }
/* a shade under the words, so they stay readable over any picture */
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0) 100%); }
.screen__text { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; transition: opacity 0.3s; }
.screen h1 { max-width: 15em; font-size: clamp(42px, 6vw, 88px); line-height: 1.12; }
.screen .lead { max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; margin-top: 12px; }

/* Placeholders: where a real picture or figure is still to come */
.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; color: var(--dim);
  border: 1px dashed var(--line); border-radius: var(--radius);
  font: 400 15px/1.6 var(--mono); letter-spacing: 0.04em; text-transform: uppercase;
}
.placeholder--cell { justify-content: flex-start; text-align: left; padding: 28px; min-height: 132px; }
.placeholder--card { align-self: stretch; min-height: 200px; order: -1; margin-bottom: auto; }
.placeholder--fill { flex: 1; }
.frame--corner { flex: 1 1 480px; min-height: 520px; padding: 40px; display: flex; background: var(--picture-b); border-radius: var(--radius); }

/* Bands and sections */
.band { border-top: 1px solid var(--line-soft); }
.band--panel { background: var(--panel); }
.band--dark { background: var(--ground); }
.band--picture { position: relative; background: var(--picture-c); border-top: 0; }
.section { padding-top: 112px; padding-bottom: 112px; }
.section__title { font-size: clamp(34px, 4.2vw, 60px); margin-bottom: 48px; }
.section__title--center { text-align: center; margin-bottom: 20px; }
.section__lead { font-size: 21px; color: var(--dim); }
.section__lead--center { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; margin-bottom: 48px; }
.section__head .section__title { margin-bottom: 0; }

/* Proof */
.proof { padding-top: 80px; padding-bottom: 80px; }
.proof__title { margin-bottom: 44px; text-align: center; font: 400 17px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--dim); }
.proof__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* Audience: two tall panels, the words at the bottom left */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.audience__card { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-height: 600px; padding: 40px; border-radius: var(--radius); }
.audience__card--a { background: var(--picture-a); }
.audience__card--b { background: var(--picture-b); }
.audience__card h3 { font-size: clamp(30px, 3vw, 44px); margin-top: 24px; }
.audience__card p { font-size: 20px; max-width: 26em; }

/* Features */
.features { display: flex; flex-wrap: wrap; gap: 48px 72px; padding-top: 24px; }
.features__list { flex: 1 1 420px; min-width: 0; }
.features__list .section__title { margin-bottom: 40px; }
.feature { border-top: 1px solid var(--line-soft); }
.feature:last-of-type { border-bottom: 1px solid var(--line-soft); }
.feature[open] { border-top: 1px solid var(--text); }
.feature summary { cursor: pointer; list-style: none; padding: 26px 0; font: 600 26px/1.25 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); }
.feature summary::-webkit-details-marker { display: none; }
.feature summary:hover, .feature[open] summary { color: var(--text); }
.feature p { padding: 0 0 30px; color: var(--text); max-width: 34em; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }
.steps li { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.steps__number { font: 400 17px/1 var(--mono); letter-spacing: 0.04em; color: var(--dim); }
.steps h3 { font-size: 28px; font-weight: 600; letter-spacing: 0.03em; }
.steps p { color: var(--text); }

/* Standards */
.standards { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.standards__intro { flex: 1 1 400px; display: flex; flex-direction: column; gap: 24px; }
.standards__intro h2 { font-size: clamp(34px, 4.2vw, 60px); }
.standards__intro p { font-size: 21px; color: var(--dim); max-width: 26em; }
.standards__list { flex: 1 1 480px; list-style: none; margin: 0; padding: 0; }
.standards__list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); font: 400 21px/1.4 var(--mono); }
.standards__note, .standards__more { color: var(--dim); font: 400 15px/1.6 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.standards__list .standards__more { border-bottom: 0; }

/* Blog teasers on the home page */
.teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.teaser { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); text-decoration: none; }
.teaser:hover { border-top-color: var(--text); }
.teaser__title { font: 600 26px/1.25 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.teaser__summary { color: var(--dim); }

/* Call to action */
.cta { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 160px; padding-bottom: 120px; }
.cta h2 { max-width: 16em; font-size: clamp(36px, 5vw, 72px); line-height: 1.12; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 64px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__brand p { font-size: 17px; color: var(--dim); }
.site-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 18px; }
.site-footer__column h2 { margin-bottom: 6px; font: 400 15px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--dim); }
.site-footer__column a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Blog: the bar under the header, shared by the index and every post */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { flex: none; }
.blog-nav { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.blog-nav__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 40px; padding-top: 10px; padding-bottom: 10px; }
.blog-nav__name { font: 400 15px/1.5 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.blog-nav__topics { display: flex; flex-wrap: wrap; gap: 0 32px; font: 600 16px/1.2 var(--display); letter-spacing: 0.09em; text-transform: uppercase; }
.blog-nav__topics a { display: inline-flex; align-items: center; min-height: 48px; color: var(--dim); text-decoration: none; }
.blog-nav__topics a:hover, .blog-nav__topics a[aria-current="true"] { color: var(--text); }
.blog-nav__topics a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 9px; }

/* Blog index: filter column on the left, cards on the right */
.blog { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 64px; padding-top: 48px; padding-bottom: 120px; }
.blog__side { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 24px; }
.select { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.select select { appearance: none; flex: 1; min-width: 0; height: 58px; border: 0; background: transparent; color: var(--text); cursor: pointer; font: 600 16px/1.2 var(--display); letter-spacing: 0.09em; text-transform: uppercase; }
.select select option { background: var(--panel); color: var(--text); }
.select select:focus-visible { outline: none; }
.select:focus-within { outline: 2px solid var(--text); outline-offset: 4px; }
.select .icon:last-child { pointer-events: none; }
.side-box { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line-soft); border-radius: var(--radius); font-size: 17px; color: var(--dim); }
.side-box h2 { font: 400 15px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--text); }

.cards { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; min-height: 360px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.card:hover { border-color: var(--text); }
.card[hidden] { display: none; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line-soft); font: 400 14px/1.5 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); }
.card__kind { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 20px; }
.card__title { font: 600 26px/1.22 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.card__summary { color: var(--dim); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card__tags { display: flex; flex-direction: column; gap: 10px; padding: 0 28px 28px; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; color: var(--dim); }
.cards__empty { grid-column: 1 / -1; }
.card__preview { padding: 10px 28px; background: var(--text); color: var(--ground); font: 500 14px/1.5 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }

/* Shown on a post that is not released yet, wherever previews are built */
.preview-bar { background: var(--text); color: var(--ground); padding: 18px 0; font-size: 18px; }
.preview-bar p { margin-top: 12px; font-weight: 600; }
.preview-bar ul { margin: 8px 0 0; padding-left: 1.3em; }

/* A post: picture tile, title and lead; details on the right; contents list on the left of the text */
.post { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 900px) minmax(0, 260px); column-gap: 56px; justify-content: space-between; padding-top: 56px; padding-bottom: 120px; max-width: 1640px; }
.post__hero { grid-column: 2; grid-row: 1; padding-bottom: 72px; }
.post__tile { width: 200px; height: 200px; margin-bottom: 56px; display: flex; align-items: center; justify-content: center; background: var(--panel-raised); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.post__tile .icon { width: 112px; height: 112px; stroke-width: 0.9; }
.post__tile img { width: 100%; height: 100%; object-fit: cover; }
.post h1 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.14; margin-bottom: 32px; }
.post__lead { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.5; color: var(--dim); }
.post__meta { grid-column: 3; grid-row: 1; align-self: end; margin: 0; padding-bottom: 72px; display: flex; flex-direction: column; gap: 26px; }
.post__meta > div { display: grid; grid-template-columns: 22px 1fr; column-gap: 16px; row-gap: 4px; align-items: center; }
.post__meta dt { font: 400 14px/1.5 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); }
.post__meta dd { grid-column: 2; margin: 0; font-size: 20px; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.link-button:hover { text-decoration-thickness: 2px; }
.post__toc { grid-column: 1; grid-row: 2; align-self: start; position: sticky; top: 32px; }
.post__toc h2 { font: 400 14px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--dim); margin-bottom: 20px; }
.post__toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.post__toc a { font-size: 18px; line-height: 1.4; color: var(--dim); text-decoration: none; }
.post__toc a:hover, .post__toc a[aria-current="true"] { color: var(--text); }
.post .prose { grid-column: 2; grid-row: 2; }
.prose { font-size: 21px; line-height: 1.7; color: var(--text); }
.prose > * { margin: 0 0 1.25em; }
.prose h2 { font-size: clamp(28px, 2.8vw, 38px); margin: 2em 0 0.7em; scroll-margin-top: 32px; }
.prose h3 { font-size: 24px; font-weight: 600; letter-spacing: 0.03em; margin: 1.7em 0 0.5em; scroll-margin-top: 32px; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--text); font-size: 24px; color: var(--dim); }
.prose code { font-family: var(--mono); font-size: 0.84em; background: var(--panel-raised); padding: 2px 6px; border-radius: 2px; }
.prose pre { background: var(--panel); border: 1px solid var(--line-soft); padding: 20px 24px; border-radius: var(--radius); overflow-x: auto; }
.prose pre code { background: transparent; padding: 0; color: inherit; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 19px; }
.prose th, .prose td { text-align: left; padding: 12px 24px 12px 0; border-bottom: 1px solid var(--line-soft); }
.prose th { font: 400 14px/1.5 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.prose img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); }

@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .menu { gap: 0 28px; }
  .site-header__row { gap: 8px 32px; }
  .site-header__actions { gap: 8px 20px; }
  .post { display: block; }
  .post__hero { padding-bottom: 32px; }
  .post__tile { width: 160px; height: 160px; margin-bottom: 40px; }
  .post__tile .icon { width: 92px; height: 92px; }
  .post__meta { flex-direction: row; flex-wrap: wrap; gap: 20px 48px; padding: 24px 0; margin-bottom: 40px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .post__toc { position: static; margin-bottom: 40px; padding: 24px; border: 1px solid var(--line-soft); border-radius: var(--radius); }
  .post__toc ol { gap: 12px; }
}

/* Narrow screens: the header takes its own room above the first screen, and a menu opens in
   place instead of floating over the page. */
@media (max-width: 900px) {
  .has-hero .site-header { position: relative; background: var(--ground); }
  .site-header__row { padding-top: 14px; padding-bottom: 14px; }
  .site-header nav { flex-basis: 100%; order: 3; }
  .menu { gap: 0 24px; }
  .menu__list { position: static; min-width: 0; padding: 0; max-height: 0; overflow: hidden; transition: none; }
  .menu__item--more:hover .menu__list, .menu__item--more:focus-within .menu__list { max-height: none; padding-bottom: 10px; }
  .menu__item--more:hover, .menu__item--more:focus-within { flex-basis: 100%; }
  .backdrop { display: none; }
  .site-header:has(.menu__item--more:hover, .menu__item--more:focus-within) ~ main .screen__text { opacity: 1; }
  .screen { min-height: 78vh; padding: 96px 0 56px; }
  .screen__picture { align-items: flex-start; justify-content: center; padding-top: 32px; }
  .screen__picture span { max-width: none; }
  .screen::after { background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0) 100%); }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .logo { font-size: 22px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .frame--corner { min-height: 320px; padding: 24px; }
  .audience__card { min-height: 480px; padding: 28px; }
  .cta { padding-top: 96px; padding-bottom: 72px; }
  .blog__side { max-width: none; }
  .card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lang summary .icon:last-child, .menu__label .icon, .menu__list, .backdrop, .screen__text { transition: none; }
}
