/* DABIT LLC — static site. No external resources. */
:root {
  --bg: #f6f0e4;
  --bg-alt: #ece3d0;
  --card: #fffaf0;
  --ink: #1d2230;
  --muted: #565b6b;
  --accent: #c8441b;
  --accent-ink: #a8360f;
  --rule: #d6c9ae;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, Georgia, "Noto Serif Armenian", "Noto Serif", Sylfaen, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Armenian", Sylfaen, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1.0625rem/1.65 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0; overflow-wrap: break-word; }
:lang(hy) h1, :lang(hy) h2, :lang(hy) h3 { letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2.5rem); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 0.6rem 1rem; z-index: 20; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 240, 228, 0.94); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.4) blur(8px); }
.top-in { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 0.55rem; background: var(--accent); color: var(--bg); font: 700 1.4rem/1 var(--serif); }
.brand-name { font: 700 1.25rem/1 var(--serif); letter-spacing: 0.06em; }
.menu ul { display: flex; gap: 1.5rem; }
.menu a { color: var(--ink); text-decoration: none; font-size: 0.95rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.menu a:hover { border-bottom-color: var(--accent); color: var(--ink); }
.lang { display: flex; gap: 0.15rem; border: 1px solid var(--rule); border-radius: 999px; padding: 0.15rem; background: var(--card); }
.lang a { display: block; padding: 0.25rem 0.65rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: var(--bg); }

/* hero */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.eyebrow { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; margin-bottom: 1.2rem; }
.eyebrow a { text-decoration: none; letter-spacing: 0.04em; text-transform: none; font-size: 0.95rem; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 14ch; }
:lang(hy) .hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch; }
:lang(ru) .hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.8rem); max-width: 17ch; }
.lead { font-size: 1.2rem; max-width: 36rem; color: var(--muted); margin-top: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin: 2rem 0 1.8rem; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 0.85rem 1.5rem; border-radius: 0.5rem; }
.btn:hover { background: var(--accent-ink); color: #fff; }
.textlink { color: var(--ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid var(--rule); background: var(--card); padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.85rem; color: var(--muted); }
.hero-art { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--bg); position: relative; max-width: 340px; width: 100%; justify-self: center; }
.hero-art::before { content: ""; position: absolute; inset: -1.1rem; border: 2px solid var(--ink); border-radius: 50%; transform: translate(0.9rem, 0.9rem); z-index: -1; }
.hero-art span { font: 600 clamp(9rem, 18vw, 15rem)/1 var(--serif); }

/* sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--bg-alt); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.sec-head p { color: var(--muted); margin: 0; }
.rows li { display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--ink); align-items: baseline; }
.rows li:last-child { border-bottom: 1px solid var(--ink); }
.num { font: 600 1.5rem/1 var(--serif); color: var(--accent); }
.rows h3 { font-size: 1.45rem; }
.rows p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.steps li { border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps .num { display: block; margin-bottom: 0.8rem; }
.steps h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.steps p { font-size: 0.97rem; color: var(--muted); margin: 0; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.about-grid h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1.2rem; }
.about-p { color: var(--muted); }
.facts { margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 0.75rem; padding: 0.5rem 1.5rem; }
.facts div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 0.9rem; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.contact { background: var(--ink); color: var(--bg); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.contact p { max-width: 36rem; color: #d9d3c5; }
.mail-lbl { margin: 2rem 0 0.3rem; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: #bdb6a4 !important; }
.mail { font: 600 clamp(1.5rem, 4vw, 2.6rem)/1.2 var(--serif); color: var(--bg); text-decoration-color: var(--accent); text-decoration-thickness: 3px; overflow-wrap: anywhere; }
.mail:hover { color: #fff; }
.contact :focus-visible { outline-color: var(--bg); }

/* footer */
.foot { background: var(--bg-alt); border-top: 1px solid var(--rule); padding: 2.5rem 0 2rem; font-size: 0.93rem; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem 3rem; }
.foot p { margin: 0 0 0.3rem; }
.foot-name { color: var(--ink); font: 600 1.1rem/1.3 var(--serif); }
.foot-links { text-align: right; }
.foot-copy { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--rule); margin-top: 0.5rem !important; font-size: 0.85rem; }

/* document pages */
.doc { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); min-height: 55vh; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 0.8rem; }
.doc h2 { font-size: 1.4rem; margin: 2.2rem 0 0.6rem; }
.doc .updated { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.5rem; }
.doc section p { color: #2e3342; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 220px; justify-self: start; order: -1; margin-left: 1rem; }
  .hero-art span { font-size: 8rem; }
  .sec-head, .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .rows li { grid-template-columns: 3rem minmax(0, 1fr); }
  .rows li p { grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .steps li { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 0.5rem; }
  .steps .num { grid-row: 1 / span 2; margin: 0; }
  .steps h3, .steps p { grid-column: 2; }
}
@media (max-width: 720px) {
  .top-in { flex-wrap: wrap; gap: 0.2rem 1rem; padding: 0.6rem 0 0.4rem; }
  .menu { order: 3; flex-basis: 100%; overflow-x: auto; }
  .menu ul { gap: 1.1rem; white-space: nowrap; }
  html { scroll-padding-top: 6.5rem; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { text-align: left; }
  .facts { padding: 0.25rem 1.1rem; }
  .facts div { grid-template-columns: 1fr; gap: 0.1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:lang(hy) .steps h3 { font-size: 1.1rem; }
.steps h3 { hyphens: auto; }
@media (max-width: 900px) { .hero-art { max-width: 150px; } .hero-art span { font-size: 5.5rem; } }
