/* Parezar Shakew: one-page site. Idea: the lawyer's round ink stamp (مۆر) on official paper. */

@font-face {
  font-family: "Scheherazade New";
  src: url("fonts/scheherazade-new-arabic-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC, U+2726;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2-variations"), url("fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/vazirmatn-latin-wght-normal.woff2") format("woff2-variations"), url("fonts/vazirmatn-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations"), url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}

:root {
  --paper: #F3F4F6;      /* official paper, cool */
  --paper-2: #E6E7F0;    /* case-folder card */
  --ink: #1D2030;        /* pen ink, body text */
  --ink-2: #545A6C;      /* secondary text */
  --rule: #D2D5DE;
  --stamp: #3B3486;      /* stamp ink, violet-blue */
  --stamp-2: #4E46A8;
  --night: #262058;      /* deep stamp-ink band */
  --on-night: #F2F1FA;
  --on-night-2: #C9C5EC;
  --f-head: "Scheherazade New", "Noto Naskh Arabic", "Traditional Arabic", serif;
  --f-body: "Vazirmatn", "Noto Sans Arabic", Tahoma, sans-serif;
  --wrap: 1120px;
  --gutter: 16px;
  --dock-h: 0px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.9 var(--f-body);
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--stamp-2); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--stamp); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 20; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 244, 246, .92);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--stamp); }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font: 700 1.5rem/1 var(--f-head); color: var(--ink); padding-top: 4px; }
.nav { display: none; gap: 28px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--stamp); }
.top-call {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--stamp); font-weight: 600;
  min-height: 44px; padding: 0 4px;
}
.top-call .num { display: none; direction: ltr; unicode-bidi: isolate; }
/* On phones the call buttons are in the hero and the bottom bar, so the header keeps only name + language. */
@media (max-width: 899px) { .top-call { display: none; } }
@media (max-width: 380px) { .brand-name { font-size: 1.28rem; } }
@media (min-width: 900px) {
  .nav { display: flex; }
  .top-call { margin-inline-start: 8px; padding: 0 16px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--stamp); }
  .top-call .num { display: inline; }
}

/* Language menu */
.lang { position: relative; margin-inline-start: auto; }
.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 10px; border-radius: 6px; cursor: pointer;
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ico { color: var(--stamp); }
.lang summary:hover, .lang[open] summary { background: var(--paper-2); }
.lang ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20;
  margin: 0; padding: 6px; list-style: none; min-width: 160px;
  background: #fff; border: 1px solid var(--rule); border-radius: 8px;
  box-shadow: 0 14px 30px -16px rgba(29, 32, 48, .4);
}
.lang a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.lang a:hover { background: var(--paper-2); }
.lang a[aria-current] { color: var(--stamp); font-weight: 700; }
@media (min-width: 900px) { .lang { margin-inline-start: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 6px;
  font: 600 1.05rem/1 var(--f-body); text-decoration: none;
  transition: background-color .15s, color .15s;
}
.btn-ink { background: var(--stamp); color: #fff; }
.btn-ink:hover { background: var(--stamp-2); }
.btn-line { color: var(--stamp); box-shadow: inset 0 0 0 1.5px var(--stamp); }
.btn-line:hover { background: rgba(59, 52, 134, .08); background: color-mix(in srgb, var(--stamp) 8%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 899px) { .actions .btn { flex: 1 1 auto; } }

/* ---------- Hero ---------- */
/* clip (not hidden): the pattern behind the photo may not widen the page, and nothing becomes scrollable */
.hero { padding-top: 36px; overflow-x: clip; }
.hero-in { display: grid; gap: 44px; }
.hero h1 {
  font-size: clamp(2.75rem, 11vw, 5.2rem);
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}
.lead { margin-top: 14px; font-size: clamp(1.1rem, 2.4vw, 1.28rem); line-height: 1.95; color: var(--ink-2); max-width: 32em; }
.hero .actions { margin-top: 28px; }

/* Photos are shown as prints: a thin white border and a small paper shadow. */
.print {
  display: block; background: #fff; padding: 8px;
  box-shadow: 0 1px 1px rgba(29, 32, 48, .06), 0 10px 24px -14px rgba(29, 32, 48, .35);
}
.print img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* The stamp sits half on the photo corner, half on the paper, like on an official ID photo.
   Behind the photo: a fine certificate pattern (guilloche). */
.hero-photo { position: relative; isolation: isolate; width: min(100% - 44px, 420px); justify-self: end; margin-top: 40px; }
.hero-photo::before {
  content: ""; position: absolute; z-index: -1;
  width: 150%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: url("guilloche.svg") center / contain no-repeat;
  opacity: .5;
  pointer-events: none;
}
.seal {
  position: absolute; z-index: 1;
  width: clamp(128px, 38vw, 176px); height: auto; aspect-ratio: 1;
  top: -50px; inset-inline-start: -44px;
  color: var(--stamp);
  mix-blend-mode: multiply;
  opacity: .9;
  transform: rotate(-11deg);
  animation: stamp .5s cubic-bezier(.2, .8, .25, 1.15) .45s both;
}
.seal-ring { font: 700 15px var(--f-head); }
.seal-mid { font: 700 17px var(--f-head); }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-4deg) scale(1.55); }
  70% { opacity: .95; }
  100% { opacity: .9; transform: rotate(-11deg) scale(1); }
}

.creds {
  list-style: none; margin: 56px 0 0; padding: 26px 0 0;
  border-top: 1px solid var(--rule);
  display: grid; gap: 20px;
}
.creds li { display: flex; gap: 14px; align-items: flex-start; }
.creds .ico { width: 30px; height: 30px; color: var(--stamp); margin-top: 2px; }
.creds b { display: block; font-weight: 600; color: var(--ink); }
.creds span { color: var(--ink-2); font-size: .97rem; line-height: 1.75; }

@media (min-width: 900px) {
  .hero { padding-top: 72px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; }
  .hero-photo { margin-top: 56px; }
  .seal { top: -58px; inset-inline-start: -88px; }
  .creds { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 80px; }
}

/* ---------- Section rhythm ---------- */
.services, .steps, .about, .contact { padding-block: 72px; }
.services h2, .principles h2, .steps h2, .about h2, .contact h2, .topics h2 {
  font-size: clamp(2.05rem, 5.6vw, 2.9rem); line-height: 1.3; margin-bottom: 30px;
}
.steps { border-top: 1px solid var(--rule); }
@media (min-width: 900px) {
  .services, .steps, .about, .contact { padding-block: 104px; }
  .services h2, .principles h2, .steps h2, .about h2, .contact h2 { margin-bottom: 44px; }
}

/* ---------- Services: case folders ---------- */
.folders { display: grid; gap: 34px 24px; }
.folder {
  position: relative; margin-top: 16px;
  background: var(--paper-2);
  border-radius: 0 0 8px 8px;
  padding: 20px 22px 24px;
}
.folder::before {
  content: ""; position: absolute; bottom: 100%; inset-inline-start: 0;
  width: 44%; height: 16px; background: var(--paper-2);
  border-radius: 8px 8px 0 0;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}
[dir="rtl"] .folder::before { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.folder h3 { font-size: 1.62rem; line-height: 1.45; color: var(--ink); margin-bottom: 6px; }
.folder p { color: var(--ink-2); }
.folder-ico { display: block; width: 34px; height: 34px; color: var(--stamp); margin-bottom: 10px; }
/* The last "folder" is an empty one: dashed, for cases that are not listed. */
.folder-note { background: transparent; border-radius: 8px; outline: 1.5px dashed rgba(59, 52, 134, .45); outline: 1.5px dashed color-mix(in srgb, var(--stamp) 45%, transparent); outline-offset: -1.5px; }
.folder-note::before { display: none; }
.folder-note .text-link { margin-top: 10px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--stamp); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }
@media (min-width: 720px) { .folders { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .folders { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Principles: ink band ---------- */
.principles { background: var(--night); color: var(--on-night); padding-block: 72px; }
.principles h2 { color: var(--on-night); }
.principle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.principle-list li { border-top: 1px solid rgba(242, 241, 250, .2); padding-top: 18px; }
.principle-list h3 { font-size: 1.85rem; line-height: 1.4; color: #fff; margin-bottom: 6px; }
.principle-list p { color: var(--on-night-2); max-width: 26em; }
@media (min-width: 900px) {
  .principles { padding-block: 104px; }
  .principle-list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* ---------- Steps (a real sequence) ---------- */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; counter-reset: step; }
.step-list li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; }
.step-list li::before {
  content: counter(step, arabic-indic);
  grid-row: span 2;
  font: 700 2.9rem/1 var(--f-head); color: var(--stamp);
  padding-top: 6px;
}
.step-list h3 { font-size: 1.55rem; line-height: 1.45; }
.step-list p { color: var(--ink-2); }
@media (min-width: 900px) { .step-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- About: three real photos, like prints laid on the file ---------- */
.about-in { display: grid; gap: 44px; }
.about-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; align-items: start; max-width: 520px; }
.ph { margin: 0; }
.ph-main { grid-row: span 2; }
.ph figcaption { margin-top: 8px; font-size: .86rem; line-height: 1.6; color: var(--ink-2); }
.ph-side .print { padding: 5px; }
.about-text p { max-width: 36em; }
.about-text p + p { margin-top: 1em; }
.facts { margin: 32px 0 0; padding: 0; border-top: 1px solid var(--rule); max-width: 36em; }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-2); font-size: .95rem; }
.facts dd { margin: 0; font-weight: 500; }
@media (min-width: 900px) {
  .about-in { grid-template-columns: minmax(0, 500px) 1fr; gap: 72px; align-items: center; }
}

/* ---------- Topics: his legal Q&A posts ---------- */
.topics { border-top: 1px solid var(--rule); padding-block: 72px; }
.topics-head { max-width: 40em; margin-bottom: 30px; }
.topics-head h2 { margin-bottom: 12px; }
.topics-head p { color: var(--ink-2); }
.topic-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.topic-list li { border-bottom: 1px solid var(--rule); }
.topic-list a { display: grid; gap: 4px; padding: 20px 0 18px; text-decoration: none; }
.topic-area { font-size: .88rem; color: var(--stamp); font-weight: 600; }
.topic-list strong { font: 700 1.42rem/1.55 var(--f-head); color: var(--ink); }
.topic-go { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-2); margin-top: 4px; }
.topic-go .ico { width: 1.05em; height: 1.05em; }
.topic-list a:hover strong { color: var(--stamp); }
.topic-list a:hover .topic-go { color: var(--stamp); }
.topics-more { margin-top: 32px; }
@media (min-width: 900px) {
  .topics { padding-block: 104px; }
  .topics-head { margin-bottom: 44px; }
  .topic-list { grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
  .topic-list li:nth-child(-n + 2) { border-top: 1px solid var(--rule); }
}

/* ---------- Contact ---------- */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; gap: 40px; }
.label { font-size: .95rem; color: var(--ink-2); margin-bottom: 6px; }
.phone-big {
  display: inline-block; direction: ltr; unicode-bidi: isolate;
  font: 700 clamp(2.1rem, 8vw, 3.1rem)/1.2 var(--f-body); letter-spacing: .01em;
  color: var(--ink); text-decoration: none; margin-bottom: 18px;
}
.contact address { font-style: normal; font-size: 1.2rem; line-height: 1.9; margin-bottom: 10px; }
.office-links { display: grid; justify-items: start; }
.contact-call > .text-link { margin-top: 16px; }
.socials {
  list-style: none; margin: 52px 0 0; padding: 28px 0 0; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.socials a {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  text-decoration: none; padding: 10px 0; min-height: 44px;
}
.socials .ico { grid-row: span 2; width: 26px; height: 26px; color: var(--stamp); }
.socials span { font-weight: 600; line-height: 1.4; }
.socials bdi { justify-self: start; font-size: .88rem; color: var(--ink-2); line-height: 1.4; word-break: break-all; }
.socials a:hover span { color: var(--stamp); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .socials { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Footer: closes the page on the same ink as the principles band ---------- */
.foot { background: var(--night); color: var(--on-night-2); font-size: .95rem; }
.foot-in { display: grid; gap: 32px; padding-block: 56px 36px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-mark { width: 52px; height: 52px; color: var(--on-night); flex: none; }
.foot-name { font: 700 1.5rem/1.4 var(--f-head); color: #fff; }
.foot-links { display: grid; gap: 6px; }
.foot-langs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; border-top: 1px solid rgba(242, 241, 250, .16); padding-top: 6px; }
.foot-langs a { color: var(--on-night-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-langs a:hover { color: #fff; }
.foot-langs a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-nav a { color: var(--on-night); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.foot-share p { margin-bottom: 10px; }
.btn-night { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(242, 241, 250, .55); border: 0; cursor: pointer; }
.btn-night:hover { background: rgba(242, 241, 250, .08); }
.foot-bottom {
  border-top: 1px solid rgba(242, 241, 250, .16); padding-block: 14px calc(14px + var(--dock-h)); font-size: .86rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px;
}
.foot-bottom p { padding-block: 6px; text-wrap: pretty; }
/* Developer credit: quiet, but a real tap target that opens Ahmad Hiwa's portfolio. */
.credit a { color: var(--on-night); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(242, 241, 250, .35); text-underline-offset: 5px; display: inline-flex; align-items: center; min-height: 44px; }
.credit a:hover { color: #fff; text-decoration-color: #fff; }
.foot :focus-visible { outline-color: #fff; }
@media (min-width: 900px) {
  .foot-in { grid-template-columns: 1.3fr 1fr 1fr; align-items: center; gap: 48px; padding-block: 64px 44px; }
}

/* ---------- Phone dock ---------- */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 9;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px max(var(--gutter), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  background: rgba(243, 244, 246, .94);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule);
  transition: transform .25s ease, visibility .25s;
}
.dock .btn { min-height: 48px; padding: 0 12px; }
.dock .btn-line { background: var(--paper); }
.dock.is-away { transform: translateY(110%); visibility: hidden; }
@media (max-width: 899px) { :root { --dock-h: calc(70px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- English: left to right, a Latin serif for headings ---------- */
html[lang="en"] { --f-head: "Source Serif 4", Georgia, "Times New Roman", serif; }
html[lang="en"] body { line-height: 1.7; }
html[lang="en"] :is(h1, h2, h3) { font-weight: 600; letter-spacing: -0.012em; }
html[lang="en"] .hero h1 { font-size: clamp(2.6rem, 8.6vw, 4.5rem); line-height: 1.06; }
html[lang="en"] .lead { line-height: 1.65; }
html[lang="en"] :is(.services, .principles, .steps, .about, .contact, .topics) h2 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height: 1.15; }
html[lang="en"] .brand-name { font-size: 1.3rem; font-weight: 600; padding-top: 0; }
html[lang="en"] .folder h3 { font-size: 1.38rem; line-height: 1.3; margin-bottom: 8px; }
html[lang="en"] .principle-list h3 { font-size: 1.55rem; line-height: 1.25; margin-bottom: 8px; }
html[lang="en"] .step-list h3 { font-size: 1.35rem; line-height: 1.3; }
html[lang="en"] .step-list li::before { content: counter(step); font-size: 2.4rem; padding-top: 0; }
html[lang="en"] .topic-list strong { font-size: 1.24rem; line-height: 1.4; font-weight: 600; }
html[lang="en"] .foot-name { font-size: 1.35rem; font-weight: 600; }
html[lang="en"] .facts div { grid-template-columns: 8.5em 1fr; }
@media (max-width: 480px) { html[lang="en"] .facts div { grid-template-columns: 6.2em 1fr; } }
.seal-en .seal-ring { font: 600 10.2px "Source Serif 4", Georgia, serif; letter-spacing: .07em; }
.seal-en .seal-mid { font: 600 13.5px "Source Serif 4", Georgia, serif; letter-spacing: .18em; }

/* ---------- 404 page ---------- */
.nf { --dock-h: 0px; min-height: 100vh; display: grid; place-items: center; }
.nf-in { padding-block: 64px; max-width: 640px; }
.nf-mark { width: 72px; height: 72px; color: var(--stamp); margin-bottom: 12px; transform: rotate(-11deg); }
.nf .nf-name { font: 700 1.3rem/1.5 var(--f-head); color: var(--stamp); margin-bottom: 18px; }
.nf h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: 1.3; margin-bottom: 8px; }
.nf p { color: var(--ink-2); margin-bottom: 28px; }
.nf-other { list-style: none; margin: 36px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); color: var(--ink-2); display: grid; gap: 6px; }
.nf-other a { color: var(--stamp); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.nf-other [lang="en"] { font-family: var(--f-body); text-align: left; }

::selection { background: rgba(59, 52, 134, .22); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seal { animation: none; }
  .dock { transition: none; }
}
