/* SEIFCONNECT public site */
:root {
  --paper: #E9ECF2;
  --ink: #0F1A33;
  /* Brand colours taken from the logo */
  --accent: #FB8A2F;       /* orange: thread, dots, underlines, button fills (with navy text) */
  --accent-ink: #A84C08;   /* darker orange for orange text on the light background */
  --tint: #FFE3CC;         /* pale orange for empty image areas */
  --signal: #3BCCF3;       /* cyan: accents on the dark contact section */
  --muted: #55607A;
  --line: rgba(15, 26, 51, 0.14);
  --on-dark: #E9ECF2;
  --on-dark-muted: #A4AECB;
  --edge: clamp(16px, 5vw, 64px);
  --thread-gap: 56px;
  --radius: 12px;
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip: auto; top: 8px; inset-inline-start: 8px; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 100; }

/* ----- Navigation ----- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--edge);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-stretch: 75%; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links > a:not(.nav-cta):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.nav-cta { background: var(--ink); color: var(--paper); padding: .55rem 1rem; border-radius: 10px; font-weight: 600; }
.nav-cta:hover { background: var(--accent); color: var(--ink); }

/* ----- Language menu ----- */
.flag { display: block; flex: none; width: 20px; height: 14px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15, 26, 51, 0.12); }
.lang-menu { position: relative; }
.lang-menu summary {
  display: flex; align-items: center; gap: .45rem; list-style: none; cursor: pointer; user-select: none;
  padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.55);
  font-size: .875rem; font-weight: 600; font-family: var(--font);
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { border-color: var(--accent); background: #fff; }
.lang-menu .chevron { color: var(--muted); transition: transform .2s ease; }
.lang-menu[open] .chevron { transform: rotate(180deg); }
.lang-menu[open] summary { border-color: var(--accent); background: #fff; }
.lang-list {
  position: absolute; top: calc(100% + .5rem); inset-inline-end: 0; z-index: 30; min-width: 12rem;
  padding: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(15, 26, 51, 0.28), 0 2px 6px rgba(15, 26, 51, 0.06);
  transform-origin: top right; animation: menu-in .16s ease-out;
}
[dir=rtl] .lang-list { transform-origin: top left; }
.lang-list a {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 9px;
  font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.lang-list a[lang=ar] { font-family: "Noto Kufi Arabic", var(--font); }
.lang-list a:hover, .lang-list a:focus-visible { background: color-mix(in srgb, var(--accent) 14%, #fff); text-decoration: none; }
.lang-list a[aria-current] { font-weight: 700; }
.lang-list .check { margin-inline-start: auto; color: var(--accent-ink); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
.footer-langs { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.footer-langs a { display: inline-flex; align-items: center; gap: .4rem; }
.footer-langs .flag { width: 16px; height: 11px; border-radius: 2px; }
.latin { font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; }

/* ----- Arabic: a typeface with Arabic glyphs, no condensed axis, no letter-spacing ----- */
[dir=rtl] body, [dir=rtl] button, [dir=rtl] input, [dir=rtl] select, [dir=rtl] textarea { font-family: "Noto Kufi Arabic", "Bricolage Grotesque", Arial, sans-serif; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3, [dir=rtl] dt, [dir=rtl] .btn, [dir=rtl] .nav-cta, [dir=rtl] .more-list a { font-stretch: normal; letter-spacing: 0; }
[dir=rtl] .section-head h2, [dir=rtl] .contact-intro h2, [dir=rtl] .project-head h1 { line-height: 1.2; }
[dir=rtl] .hero-title { line-height: 1.3; }
[dir=rtl] .work-body h3, [dir=rtl] .form-done h3 { line-height: 1.3; }
[dir=rtl] .wordmark, [dir=rtl] .nav-brand, [dir=rtl] .footer-brand { font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; }
[dir=rtl] .wordmark { letter-spacing: -0.012em; font-stretch: 75%; }
[dir=rtl] .nav-brand, [dir=rtl] .footer-brand { font-stretch: 75%; letter-spacing: -0.02em; }
[dir=rtl] .lead, [dir=rtl] .about-text, [dir=rtl] .project-body { line-height: 1.8; }

/* ----- Page frame and the connecting thread ----- */
.page { position: relative; padding-inline: calc(var(--edge) + var(--thread-gap)) var(--edge); max-width: 1440px; margin: 0 auto; }
.thread { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--edge); width: 2px; background: color-mix(in srgb, var(--accent) 25%, var(--paper)); z-index: 0; }
.thread-fill { width: 100%; height: 0; background: var(--accent); transition: height .25s linear; }
.section { position: relative; z-index: 1; padding-top: clamp(5rem, 10vw, 9rem); }
.section-head h2 {
  position: relative;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700; font-stretch: 85%; letter-spacing: -0.025em; line-height: 1;
}
.section-head h2::before {
  content: ""; position: absolute; top: .3em; inset-inline-start: calc(-1 * var(--thread-gap) - 6px);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
}
.section-head p { margin-top: 1rem; max-width: 48ch; color: var(--muted); font-size: 1.125rem; }

/* ----- Logo -----
   Uploaded logos may have a white background: multiply blends it into the light page. */
.logo { display: block; object-fit: contain; mix-blend-mode: multiply; }
.nav-logo { width: 40px; height: 40px; }
.footer-logo { width: 56px; height: 56px; margin-bottom: .75rem; }

/* ----- Hero ----- */
.hero { position: relative; z-index: 1; padding-top: clamp(2.5rem, 7vw, 6rem); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.hero-logo { flex: 0 0 auto; width: clamp(200px, 26vw, 380px); height: auto; aspect-ratio: 1; animation: rise .7s cubic-bezier(.2,.7,.2,1) .15s both; }
.wordmark {
  display: flex; flex-direction: column;
  font-weight: 800; font-stretch: 75%; letter-spacing: -0.012em; line-height: .86;
  font-size: clamp(3.6rem, 15.5vw, 15.5rem);
  margin-inline-start: -0.04em;
}
.wordmark span { display: block; animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.wordmark span:nth-child(2) { margin-inline-start: .45em; animation-delay: .1s; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); align-items: end; }
.hero-title {
  grid-column: 1 / 8;
  font-size: clamp(1.75rem, 3.4vw, 3rem); font-weight: 600; font-stretch: 90%;
  letter-spacing: -0.02em; line-height: 1.1;
  animation: rise .7s cubic-bezier(.2,.7,.2,1) .25s both;
}
.hero-aside { grid-column: 9 / 13; animation: rise .7s cubic-bezier(.2,.7,.2,1) .35s both; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 44ch; }
.hero-aside .btn { margin-top: 1.5rem; }
@keyframes rise { from { opacity: 0; transform: translateY(14%); } to { opacity: 1; transform: none; } }

/* ----- Buttons and links ----- */
.btn {
  display: inline-block; background: var(--ink); color: var(--paper);
  padding: .9rem 1.4rem; border: 0; border-radius: 10px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent); color: var(--ink); }
.btn-light { background: var(--accent); color: var(--ink); }
.btn-light:hover { background: var(--signal); color: var(--ink); }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.textlink:hover { color: var(--accent-ink); }

/* ----- Work ----- */
.work-list { margin-top: 3rem; }
.work-row {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem; align-items: center;
  padding: 2.5rem 0; border-top: 1px solid var(--line);
}
.work-row:last-child { border-bottom: 1px solid var(--line); }
.work-media { grid-column: 1 / 8; display: block; text-decoration: none; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
/* Logos are shown whole, with breathing room, instead of cropped to fill the frame. */
.work-media.is-logo img, .project-media.is-logo img { object-fit: contain; padding: 8%; }
.work-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent-ink); font-weight: 800; font-stretch: 75%; font-size: clamp(5rem, 20vw, 12rem); line-height: 1; }
.work-body { grid-column: 8 / 13; }
.work-row.is-flipped .work-media { grid-column: 6 / 13; }
.work-row.is-flipped .work-body { grid-column: 1 / 6; grid-row: 1; }
.work-meta { color: var(--muted); font-size: .95rem; }
.work-meta span + span::before { content: ", "; }
.work-body h3 { margin-top: .5rem; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; font-stretch: 90%; letter-spacing: -0.02em; line-height: 1.1; }
.work-body h3 a { text-decoration: none; }
.work-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
.work-body > p { margin-top: 1rem; max-width: 42ch; }
.work-result { font-weight: 600; border-inline-start: 3px solid var(--accent); padding-inline-start: 1rem; }
.work-body .textlink { display: inline-block; margin-top: 1.25rem; }

/* ----- Services ----- */
.services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; margin-top: 3rem; }
.service { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; }
.service dt { font-size: 1.45rem; font-weight: 700; font-stretch: 90%; letter-spacing: -0.015em; line-height: 1.15; }
.service dd { margin-top: .6rem; color: var(--muted); max-width: 40ch; }

/* ----- About ----- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem; margin-top: 3rem; }
.about-media { grid-column: 1 / 6; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text { grid-column: 7 / 13; font-size: 1.2rem; line-height: 1.5; align-self: center; }
.about.no-image .about-text { grid-column: 1 / 10; }
.about-text p + p { margin-top: 1em; }

/* ----- Contact ----- */
.contact {
  position: relative; z-index: 1;
  margin-top: clamp(5rem, 10vw, 9rem);
  margin-inline: calc(-1 * (var(--edge) + var(--thread-gap))) calc(-1 * var(--edge));
  padding-block: clamp(4rem, 8vw, 7rem);
  padding-inline: calc(var(--edge) + var(--thread-gap)) var(--edge);
  background: var(--ink); color: var(--on-dark);
}
.contact-inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3rem; }
.contact-intro { grid-column: 1 / 6; }
.contact-intro h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; font-stretch: 85%; letter-spacing: -0.025em; line-height: 1; }
.contact-intro p { margin-top: 1.25rem; color: var(--on-dark-muted); font-size: 1.125rem; max-width: 40ch; }
.contact-details { margin-top: 2rem; display: grid; gap: .5rem; font-weight: 500; }
.contact-details a { text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.form, .form-done { grid-column: 7 / 13; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .4rem; }
.field label small { color: var(--on-dark-muted); font-weight: 400; margin-inline-start: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 8px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--on-dark);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23A4AECB' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-inline-end: 2.5rem; }
[dir=rtl] .field select { background-position: left 1rem center; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--signal); outline: 3px solid rgba(59, 204, 243, 0.3); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form .btn { margin-top: .5rem; }
.form-error { margin-bottom: 1.25rem; padding: .85rem 1rem; border-inline-start: 3px solid #FF8A80; background: rgba(255, 138, 128, 0.12); border-radius: 8px; }
.form-done h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; font-stretch: 90%; letter-spacing: -0.02em; }
.form-done p { margin: 1rem 0 1.5rem; color: var(--on-dark-muted); max-width: 40ch; }
.form-done .textlink { text-decoration-color: var(--signal); }
.form-done .textlink:hover { color: var(--signal); }

.contact :focus-visible { outline-color: var(--signal); }

/* ----- Footer ----- */
.footer { padding: 2.5rem var(--edge) 3rem; border-top: 1px solid var(--line); font-size: .95rem; }
.footer-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-brand { font-weight: 800; font-stretch: 75%; font-size: 1.3rem; letter-spacing: -0.02em; }
.footer-text { color: var(--muted); margin-top: .35rem; max-width: 40ch; }
.footer-links { display: grid; gap: .35rem; }
.footer-links a, .footer-meta a { text-decoration: none; }
.footer-links a:hover, .footer-meta a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-meta { display: grid; gap: .35rem; color: var(--muted); justify-items: end; text-align: end; }

/* ----- Project page ----- */
.page-project { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.project { max-width: 76rem; }
.back { display: inline-block; margin-bottom: 2rem; }
.project-head h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 700; font-stretch: 85%; letter-spacing: -0.03em; line-height: .95; max-width: 20ch; }
.project-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.project-facts dt { color: var(--muted); font-size: .9rem; }
.project-facts dd { font-weight: 600; margin-top: .15rem; }
.project-media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--tint); margin: 3rem 0; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-body { max-width: 64ch; font-size: 1.125rem; line-height: 1.55; margin-top: 2.5rem; }
.project-body .lead { font-size: 1.4rem; color: var(--ink); max-width: none; font-weight: 500; line-height: 1.35; margin-bottom: 1.5rem; }
.project-body p + p { margin-top: 1em; }
.project-result { margin-top: 3rem; border-inline-start: 3px solid var(--accent); padding-inline-start: 1.5rem; }
/* Links to the client's site and social pages */
.project-links { margin-top: 1.75rem; }
.project-links h2 { color: var(--muted); font-size: .9rem; font-weight: 400; margin-bottom: .6rem; }
.project-links ul { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: border-color .15s, color .15s, transform .15s; }
.chip:hover { border-color: currentColor; transform: translateY(-1px); }
.chip-facebook:hover { color: #1877f2; }
.chip-instagram:hover { color: #d62976; }
.chip-youtube:hover { color: #ff0000; }
.chip-tiktok:hover { color: #000; }
.icon { flex: none; }

/* Preview of the client's site in a browser frame. The live view renders the site at
   desktop width and is scaled down to fit (see --preview-scale in site.js). */
.site-preview { margin: 3rem 0; }
.site-preview h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: .9rem; }
.browser { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 20px 50px -30px rgba(15, 27, 51, .45); }
.browser-bar { display: flex; align-items: center; gap: 1rem; padding: .65rem 1rem; border-bottom: 1px solid var(--line); background: var(--tint); }
.browser-dots { display: flex; gap: .4rem; }
.browser-dots i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--line); }
.browser-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .3rem .8rem; border-radius: 999px; background: #fff; color: var(--muted); font-size: .85rem; }
.browser-open { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.browser-open .icon { width: 15px; height: 15px; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser-view.is-live iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; transform: scale(var(--preview-scale, .5)); }

.project-result h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.more-work { padding-top: clamp(4rem, 8vw, 6rem); }
.more-list { margin-top: 2rem; max-width: 48rem; }
.more-list li { border-top: 1px solid var(--line); }
.more-list li:last-child { border-bottom: 1px solid var(--line); }
.more-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.25rem 0; text-decoration: none; font-weight: 600; font-size: 1.25rem; font-stretch: 90%; }
.more-list a small { color: var(--muted); font-weight: 400; font-size: .95rem; font-stretch: 100%; }
.more-list a:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .hero-title { grid-column: 1 / 13; }
  .hero-aside { grid-column: 1 / 10; }
  .work-media, .work-row.is-flipped .work-media { grid-column: 1 / 13; }
  .work-body, .work-row.is-flipped .work-body { grid-column: 1 / 13; grid-row: auto; }
  .work-row { gap: 1.5rem; }
  .about-media { grid-column: 1 / 7; }
  .about-text, .about.no-image .about-text { grid-column: 1 / 13; }
  .contact-intro, .form, .form-done { grid-column: 1 / 13; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / 3; justify-items: start; text-align: left; }
}
@media (max-width: 720px) {
  :root { --thread-gap: 0px; }
  .thread, .section-head h2::before { display: none; }
  /* Collapse the 12-column grids: their gaps alone would be wider than a phone screen. */
  .hero-grid, .work-row, .about, .contact-inner { grid-template-columns: 1fr; }
  .hero-title, .hero-aside, .work-media, .work-body, .about-media, .about-text, .contact-intro, .form, .form-done,
  .work-row.is-flipped .work-media, .work-row.is-flipped .work-body, .about.no-image .about-text { grid-column: auto; }
  .work-row.is-flipped .work-body { grid-row: auto; }
  .work-row { gap: 1.25rem; }
  .contact-inner { gap: 2.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .lang-menu summary { padding: .45rem .55rem; }
  .lang-menu .lang-code { display: none; }
  .lang-list { inset-inline-end: auto; inset-inline-start: 0; transform-origin: top left; }
  [dir=rtl] .lang-list { transform-origin: top right; }
  .wordmark span:nth-child(2) { margin-inline-start: .2em; }
  .hero-top { gap: 1rem; }
  .hero-logo { width: 34vw; max-width: 160px; }
  .nav-cta { white-space: nowrap; }
  .services { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { grid-column: auto; }
}
@media (max-width: 440px) {
  /* The logo already carries the name on small phones */
  .nav-brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark span, .hero-title, .hero-aside, .hero-logo, .lang-list { animation: none; }
  .lang-menu .chevron { transition: none; }
  .thread-fill { transition: none; }
}
