/* Artifex Innovations, artio.space (static rebuild, 2026-10-07)
   Fonts: Inter + Cormorant Garamond + Noto Sans Armenian, all self-hosted (OFL).
   ADOBE KIT SLOT: if Daniel confirms ownership of the Adobe Fonts kit, add its
   <link> in each page <head> AFTER this stylesheet and set --font-display to the
   Adobe family name. Until then this file is the whole typographic system. */

@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/inter-latin-normal-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-normal-400.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/inter-latin-normal-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-normal-500.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/inter-latin-normal-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-normal-600.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/inter-latin-normal-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-normal-700.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/cormorant-latin-normal-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/cormorant-latin-ext-normal-500.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/cormorant-latin-normal-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/cormorant-latin-ext-normal-600.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/cormorant-latin-italic-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/noto-armenian-400.woff2') format('woff2');
  unicode-range: U+0530-058F;
}
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/noto-armenian-500.woff2') format('woff2');
  unicode-range: U+0530-058F;
}
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/noto-armenian-700.woff2') format('woff2');
  unicode-range: U+0530-058F;
}

:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', 'Noto Sans Armenian', -apple-system, 'Segoe UI', sans-serif;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-faint: #767676;
  --paper: #ffffff;
  --paper-warm: #faf8f4;
  --accent: #b8860b;
  --accent-ink: #8a6508;
  --line: #e8e2d8;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 1.6em 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-top: 0.4em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }
p { margin: 0 0 1.1em; }
a { color: var(--accent-ink); }
img { max-width: 100%; height: auto; border-radius: 8px; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
li { margin-bottom: 0.45em; }
blockquote {
  margin: 1.6em 0;
  padding: 0.4em 0 0.4em 1.2em;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.25em;
}

/* layout, full-bleed sections, wide inner grid (breakpoints per original page systems) */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 4vw; }
.wrap.narrow { max-width: 48rem; }
.wrap.wide { max-width: 1400px; }
main { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
section { margin: 0 0 clamp(3rem, 7vw, 5.5rem); }

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; padding-top: 14px; padding-bottom: 14px;
}
.brand img { height: 34px; width: auto; border-radius: 0; }
.site-nav a {
  margin-left: 26px; text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 15px;
}
.site-nav a:hover { color: var(--accent-ink); }

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-warm);
  padding: 3rem 0 2rem;
  color: var(--ink-soft);
  font-size: 15px;
}
.site-footer .wrap { max-width: 1400px; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.foot-grid h4 {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-faint); margin: 0 0 0.8em;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 0.5em; }
.foot-grid a { color: var(--ink-soft); text-decoration: none; }
.foot-grid a:hover { color: var(--accent-ink); }
.foot-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.foot-base {
  border-top: 1px solid var(--line); padding-top: 1.4rem;
  font-size: 13px; color: var(--ink-faint);
}

/* buttons */
.btn {
  display: inline-block;
  background: var(--ink); color: #fff !important;
  padding: 0.8em 1.7em; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  margin: 0.4em 0.4em 0.4em 0;
}
.btn:hover { background: #000; }
.btn.gold { background: var(--accent); }
.btn.gold:hover { background: var(--accent-ink); }

/* video */
video { max-width: 100%; border-radius: var(--radius); background: #000; }

/* script builder form */
.script-builder label { display: block; font-weight: 600; margin: 1.2em 0 0.4em; }
.script-builder input[type="text"],
.script-builder textarea,
.script-builder select {
  width: 100%; padding: 0.7em 0.9em; font-size: 16px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body);
}
.script-builder textarea { min-height: 120px; }
.script-output {
  background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4em; margin-top: 1.4em;
  white-space: pre-wrap;
}

/* misc */
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 12.5px; font-weight: 600; color: var(--accent-ink);
}
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem; margin: 1.6em 0;
}
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3em; background: var(--paper);
}
.card img { margin-bottom: 0.8em; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.6em 1em; z-index: 99;
}
.skip-link:focus { left: 0; }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .site-nav a { margin-left: 16px; }
  .site-nav a:not(:first-child) { display: none; }
}

/* InkCheck page */
.ink-hero { padding: 3.2em 0 1.2em; }
.lede { font-size: 1.18em; line-height: 1.55; max-width: 38em; }
.fine { font-size: 0.86em; color: var(--muted, #666); }
.steps { list-style: none; padding: 0; margin: 1.6em 0; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 1.4em 3em;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.1em;
  width: 2em; height: 2em; line-height: 2em; text-align: center;
  border-radius: 50%; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 0.9em;
}
.steps h3 { margin: 0 0 0.3em; }
.check-grid {
  list-style: none; padding: 0; margin: 1.6em 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.check-grid li {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1em 1.2em; background: var(--paper);
}
.check-grid h3 { margin: 0 0 0.35em; font-size: 1em; }
.check-grid p { margin: 0; font-size: 0.94em; }

/* hero, two-column on desktop, stacked below 940px (matches original company breakpoint) */
.ax-hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(2rem, 6vw, 5rem) 0;
}
.ax-hero h1 { margin-top: 0; }
.ax-hero > div[role="img"] {
  justify-self: center; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.ax-hero > div[role="img"] img {
  width: min(100%, 380px); height: auto; border-radius: 0;
}
.ax-hero > div[role="img"] span {
  font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-soft);
}
@media (max-width: 940px) {
  .ax-hero { grid-template-columns: 1fr; }
  .ax-hero > div[role="img"] img { width: min(72vw, 300px); }
}

/* Nur Armenian display face (ported from original; 54KB TTF, swap) */
@font-face {
  font-family: 'Nur Armenian';
  src: url('/assets/fonts/nur-armenian-500.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
.nur-page h1, .nur-page h2, .nur-page .masthead {
  font-family: 'Nur Armenian', 'Iowan Old Style', Palatino, Georgia, serif;
}

/* Nur wallpaper: tiled motif under a paper veil (ported from original injector) */
.nur-page {
  background-image: linear-gradient(rgba(255,250,241,0.78), rgba(255,250,241,0.78)), url('/assets/nur-background-tile.png');
  background-size: 512px 512px, 512px 512px;
  background-repeat: repeat, repeat;
}
