/* =====================================================================
   Powered by Robert - site stylesheet
   Hand-written. No framework. Tokens first, then layout, then components.
   ===================================================================== */

/* ---------- Fonts (self-hosted, variable, subset) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0c1015;
  --ink-2: #131920;
  --ink-3: #1c232c;
  --ink-line: rgba(255, 255, 255, 0.11);
  --paper: #ffffff;
  --warm: #f6f4f0;
  --warm-2: #e9e5de;
  --text: #161b21;
  --muted: #5a6472;
  --muted-dark: #96a2b1;
  --amber: #f2a72c;
  --amber-light: #ffc861;
  --amber-deep: #8a5210;
  --amber-tint: rgba(242, 167, 44, 0.12);
  --blue: #3d7dff;

  --ff: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h1: clamp(2.15rem, 1.35rem + 3.1vw, 3.55rem);
  --fs-h2: clamp(1.65rem, 1.22rem + 1.75vw, 2.5rem);
  --fs-h3: clamp(1.125rem, 1.03rem + 0.42vw, 1.35rem);
  --fs-h4: 1.0625rem;

  --wrap: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 2px rgba(12, 16, 21, 0.06), 0 8px 24px -18px rgba(12, 16, 21, 0.35);
  --shadow-2: 0 18px 40px -28px rgba(12, 16, 21, 0.55);
  --section-y: clamp(3.5rem, 2.2rem + 5.5vw, 6.5rem);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--fs-base);
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.14; margin: 0 0 0.6em; letter-spacing: -0.018em; font-weight: 700; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.028em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.022em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.012em; }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15rem; }
li { margin-bottom: 0.45em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber-deep); }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--warm-2); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-dark :focus-visible, .section--ink :focus-visible { outline-color: var(--amber-light); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber); color: var(--ink); font-weight: 600;
  padding: 0.75rem 1.15rem; text-decoration: none; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout primitives ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--warm { background: var(--warm); }
.section--white { background: var(--paper); }
.section--ink { background: var(--ink); color: #eef1f5; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber-deep); margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--amber); display: inline-block; flex: none;
}
.section--ink .eyebrow, .on-dark .eyebrow { color: var(--amber-light); }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 68ch; }
.section--ink .lead, .on-dark .lead { color: #c3ccd8; }
.muted { color: var(--muted); }
.section--ink .muted { color: var(--muted-dark); }
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(1.75rem, 4vw, 4rem); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.85rem 1.5rem;
  font: inherit; font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.01em;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn--primary { background: var(--amber); color: #14100a; border-color: #d9931f; }
.btn--primary:hover { background: var(--amber-light); color: #14100a; }
.btn--primary:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-3); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(12, 16, 21, 0.22); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(12, 16, 21, 0.04); }
.section--ink .btn--ghost, .on-dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.section--ink .btn--ghost:hover, .on-dark .btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.55); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: var(--fs-sm); color: var(--amber-deep);
  text-decoration: none;
}
.text-link::after { content: "\2192"; transition: transform 0.18s ease; }
.text-link:hover { color: var(--ink); }
.text-link:hover::after { transform: translateX(3px); }
.section--ink .text-link { color: var(--amber-light); }
.section--ink .text-link:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); color: #fff;
  border-bottom: 1px solid var(--ink-line);
}
.site-header::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber) 34%, rgba(242, 167, 44, 0.25) 62%, rgba(242, 167, 44, 0) 100%);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: calc(var(--header-h) - 3px);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__top { font-size: 0.5625rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-dark); font-weight: 600; }
.brand__name { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.brand:hover .brand__name { color: #fff; }

.nav { display: flex; align-items: center; gap: clamp(0.35rem, 1.4vw, 1rem); }
.nav__list { display: flex; align-items: center; gap: clamp(0.35rem, 1.3vw, 1.05rem); list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-block; padding: 0.65rem 0.35rem; font-size: var(--fs-sm); font-weight: 500;
  color: #d8dee7; text-decoration: none; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0.35rem; right: 0.35rem; bottom: 0.35rem; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; text-decoration: none;
  font-weight: 600; font-size: var(--fs-sm); white-space: nowrap;
}
.header-phone:hover { color: var(--amber-light); }
.header-phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none; align-items: center; gap: 0.55rem;
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius); min-height: 44px; padding: 0.5rem 0.85rem;
  font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; flex: none; }
.nav-toggle__bars span, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor; content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 5px; }
.nav-toggle__bars::after { top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #eef1f5; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px, 62px 62px;
  mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, rgba(0, 0, 0, 0.35) 58%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 12%, #000 0%, rgba(0, 0, 0, 0.35) 58%, transparent 100%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink-line);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 2rem + 6vw, 6.5rem);
}
.hero__title { margin-bottom: 0.7rem; }
.hero__title em { font-style: normal; color: var(--amber); position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.09em;
  background: currentColor; opacity: 0.35;
}
.hero__sub { font-size: var(--fs-lg); color: #c6cfda; max-width: 46ch; margin-bottom: 1.6rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hero__points li {
  display: flex; align-items: center; gap: 0.5rem; margin: 0;
  font-size: var(--fs-sm); color: #aab6c4; font-weight: 500;
}
.hero__points svg { width: 16px; height: 16px; color: var(--amber); flex: none; }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--ink-line); }
.hero__badge {
  position: absolute; bottom: -1rem; left: -0.5rem;
  background: var(--ink-2); border: 1px solid var(--ink-line); border-left: 3px solid var(--amber);
  padding: 0.75rem 1rem; border-radius: var(--radius); max-width: 15rem;
  font-size: var(--fs-xs); color: #c6cfda; line-height: 1.5;
}
.hero__badge strong { display: block; color: #fff; font-size: var(--fs-sm); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__badge { position: static; margin-top: 1.25rem; max-width: none; }
}

/* ---------- Trust strip / feature grid ---------- */
.trust {
  border-top: 1px solid var(--warm-2); border-bottom: 1px solid var(--warm-2);
  background: var(--paper);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.trust__item {
  padding: clamp(1.25rem, 1rem + 1vw, 2rem) clamp(1rem, 1.5vw, 1.75rem);
  border-left: 1px solid var(--warm-2);
}
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item h3 { font-size: var(--fs-h4); margin-bottom: 0.35rem; }
.trust__item p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.trust__icon {
  width: 38px; height: 38px; border-radius: 7px; margin-bottom: 0.85rem;
  display: grid; place-items: center; background: var(--amber-tint); color: var(--amber-deep);
  border: 1px solid rgba(242, 167, 44, 0.3);
}
.trust__icon svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item { border-left: 1px solid var(--warm-2); padding-left: clamp(1rem, 3vw, 1.5rem); }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--warm-2); }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: minmax(0, 1fr); }
  .trust__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--warm-2); }
  .trust__item:first-child { border-top: 0; }
}

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--warm-2); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { border-color: rgba(242, 167, 44, 0.55); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.card__icon {
  width: 42px; height: 42px; border-radius: 8px; margin-bottom: 1rem;
  display: grid; place-items: center; background: var(--ink); color: var(--amber);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.45rem; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:hover { color: var(--amber-deep); }
.card p { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 1rem; }
.card__foot { margin-top: auto; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-deep); }
.section--ink .card { background: var(--ink-2); border-color: var(--ink-line); }
.section--ink .card p { color: var(--muted-dark); }
.card--flat:hover { transform: none; }

/* ---------- Service detail page ---------- */
.page-hero { background: var(--ink); color: #eef1f5; padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.page-hero--light { background: var(--warm); color: var(--text); }
.crumbs { font-size: var(--fs-xs); color: var(--muted-dark); margin: 0 0 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, 0.3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--amber-light); }
.page-hero--light .crumbs { color: var(--muted); }
.page-hero--light .crumbs li + li::before { color: var(--warm-2); }
.page-hero--light .crumbs a:hover { color: var(--amber-deep); }

.task-list { list-style: none; padding: 0; margin: 0; }
.task-list li {
  position: relative; padding-left: 1.9rem; margin-bottom: 0.7rem; font-size: var(--fs-sm);
}
.task-list li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 14px; height: 8px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { max-width: 72ch; }
.note-box {
  background: var(--warm); border: 1px solid var(--warm-2); border-left: 3px solid var(--amber);
  border-radius: var(--radius); padding: 1.15rem 1.35rem; margin: 1.75rem 0;
}
.note-box h3 { font-size: var(--fs-h4); margin-bottom: 0.5rem; }
.note-box ul { margin: 0; padding-left: 1.1rem; }
.note-box li { font-size: var(--fs-sm); color: var(--muted); }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .sticky-aside { position: static; } }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding-top: 3.15rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--ff-mono); font-size: 1.15rem; font-weight: 600; color: var(--amber-deep);
  border-top: 2px solid var(--amber); padding-top: 0.55rem; min-width: 2.6rem;
}
.step h3 { font-size: var(--fs-h4); margin-bottom: 0.4rem; }
.step p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filter-btn {
  font: inherit; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
  background: var(--paper); border: 1px solid var(--warm-2); color: var(--muted);
  border-radius: 999px; padding: 0.5rem 0.95rem; cursor: pointer; min-height: 40px;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.filter-btn:hover { color: var(--ink); border-color: rgba(12, 16, 21, 0.35); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

.project {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--warm-2); border-radius: var(--radius-lg); overflow: hidden;
}
.project__media { position: relative; background: var(--ink); aspect-ratio: 4 / 3; overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project:hover .project__media img { transform: scale(1.03); }
.project__chip {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(12, 16, 21, 0.82); color: var(--amber-light);
  border: 1px solid rgba(242, 167, 44, 0.45); border-radius: 999px; padding: 0.3rem 0.65rem;
}
.project__type {
  position: absolute; bottom: 0.7rem; left: 0.7rem; z-index: 2;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); border-radius: 999px; padding: 0.28rem 0.6rem;
}
.project__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: 0.4rem; }
.project__body h3 { margin: 0; font-size: var(--fs-h4); }
.project__meta { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }
.project__body p { font-size: var(--fs-sm); color: var(--muted); margin: 0.2rem 0 0; }
.gallery-bar {
  background: rgba(242, 167, 44, 0.1); border: 1px solid rgba(242, 167, 44, 0.4);
  border-radius: var(--radius); padding: 0.9rem 1.15rem; margin-bottom: 1.75rem; font-size: var(--fs-sm);
}
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ---------- Before / after ---------- */
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.ba figure { margin: 0; position: relative; }
.ba figcaption {
  position: absolute; bottom: 0.6rem; left: 0.6rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(12, 16, 21, 0.82); color: #fff; border-radius: 999px; padding: 0.25rem 0.6rem;
}
.ba img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(8, 11, 15, 0.94); padding: clamp(0.75rem, 3vw, 2rem);
}
.lightbox[open], .lightbox.is-open { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lightbox__img { max-width: min(1100px, 100%); max-height: 78vh; width: auto; border-radius: var(--radius); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #d7dee8; font-size: var(--fs-sm); }
.lightbox__caption { max-width: 70ch; }
.lightbox__dot { color: var(--amber); }
.icon-btn {
  background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius); width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; gap: 0.5rem; }
.lightbox__nav--prev { left: 0; }
.lightbox__nav--next { right: 0; }
.lightbox__top { position: absolute; top: 0; right: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label, .fieldset legend {
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink); padding: 0;
}
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field .req { color: var(--amber-deep); }
input[type="text"], input[type="tel"], input[type="email"], input[type="file"], select, textarea {
  font: inherit; font-size: var(--fs-base); color: var(--text); background: var(--paper);
  border: 1px solid #cfcbC4; border-radius: var(--radius); padding: 0.7rem 0.85rem; min-height: 48px; width: 100%;
}
textarea { min-height: 148px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='none' stroke='%235a6472' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--ink); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3261e; border-width: 2px; }
.field .error { font-size: var(--fs-xs); font-weight: 600; color: #b3261e; display: none; }
.field.has-error .error { display: block; }
fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.radio-row label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; min-height: 44px; }
.radio-row input { width: 20px; height: 20px; min-height: 0; accent-color: var(--amber-deep); }
.check-row { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-row input { width: 20px; height: 20px; min-height: 0; margin-top: 0.3rem; flex: none; accent-color: var(--amber-deep); }
.check-row label { font-weight: 400; font-size: var(--fs-sm); color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 1rem 1.15rem; font-size: var(--fs-sm); margin-bottom: 1.25rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--error { background: #fdecea; border: 1px solid #f2b8b5; color: #7f1d1a; }
.form-status--success { background: #eef6ed; border: 1px solid #b6d7b0; color: #1c4a17; }
.form-status ul { margin: 0.5rem 0 0; padding-left: 1.15rem; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.submit-row .muted { font-size: var(--fs-xs); }
.success-panel { border: 1px solid #b6d7b0; background: #f2f8f1; border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.success-panel h2 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.ref { font-family: var(--ff-mono); font-size: var(--fs-sm); background: var(--warm); border: 1px dashed var(--warm-2); padding: 0.35rem 0.6rem; border-radius: 4px; display: inline-block; }

/* ---------- Contact aside ---------- */
.contact-aside { display: grid; gap: 1.25rem; }
.contact-method { border: 1px solid var(--warm-2); border-radius: var(--radius-lg); padding: 1.15rem 1.25rem; }
.contact-method h3 { font-size: var(--fs-h4); margin-bottom: 0.35rem; }
.contact-method p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.contact-method a { font-weight: 600; color: var(--amber-deep); }

/* ---------- Tabs of service areas / misc lists ---------- */
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li { margin: 0; font-size: var(--fs-sm); background: var(--warm); border: 1px solid var(--warm-2); border-radius: 999px; padding: 0.35rem 0.8rem; }
.section--ink .pill-list li { background: var(--ink-2); border-color: var(--ink-line); color: #c6cfda; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--warm-2); }
.faq details { border-bottom: 1px solid var(--warm-2); }
.faq summary {
  cursor: pointer; padding: 1.15rem 2.2rem 1.15rem 0; font-weight: 600; font-size: var(--fs-h4);
  position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.35rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--amber-deep); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq__body { padding: 0 0 1.25rem; max-width: 74ch; }
.faq .faq__body p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 45%;
  background-image: repeating-linear-gradient(-45deg, rgba(242, 167, 44, 0.16) 0 1px, transparent 1px 12px);
  opacity: 0.7; pointer-events: none;
}
.cta-band__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { color: #c3ccd8; margin: 0; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab6c4; font-size: var(--fs-sm); padding-top: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 3rem); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h2 { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { text-decoration: none; color: #c3ccd8; }
.site-footer a:hover { color: var(--amber-light); }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand svg { width: 40px; height: 40px; }
.footer-brand span { font-size: 1.2rem; font-weight: 700; color: #fff; }
.site-footer__bottom {
  margin-top: clamp(2rem, 3vw, 3rem); border-top: 1px solid var(--ink-line);
  padding-block: 1.5rem 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; justify-content: space-between;
  font-size: var(--fs-xs); color: #8b98a8;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__bottom li { margin: 0; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  background: rgba(12, 16, 21, 0.97); border-top: 1px solid var(--ink-line);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.mobile-bar .btn { flex: 1; min-height: 48px; }
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 78px; }
}

/* ---------- Mobile navigation ---------- */
@media (max-width: 1040px) {
  .nav__list, .header-phone span { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 1041px) { .nav-toggle { display: none; } }

.nav-panel {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: var(--ink); color: #fff; overflow-y: auto;
  padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
}
.nav-panel.is-open { display: block; }
.nav-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem 1.5rem; }
.nav-panel__close {
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius); min-height: 44px; padding: 0.5rem 0.9rem; font: inherit; font-size: var(--fs-sm);
  font-weight: 600; cursor: pointer;
}
.nav-panel__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.nav-panel__list li { border-bottom: 1px solid var(--ink-line); }
.nav-panel__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 0; font-size: 1.2rem; font-weight: 600; text-decoration: none; color: #fff;
}
.nav-panel__list a:hover { color: var(--amber-light); }
.nav-panel__list a[aria-current="page"] { color: var(--amber); }
.nav-panel__cta { display: grid; gap: 0.75rem; }
.nav-panel__meta { margin-top: 2rem; font-size: var(--fs-sm); color: var(--muted-dark); }

/* ---------- Reveal on scroll (JS-enhanced only) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .project:hover .project__media img { transform: none; }
}

/* ---------- Brand / utilities pages ---------- */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.swatch { border: 1px solid var(--warm-2); border-radius: var(--radius); overflow: hidden; font-size: var(--fs-xs); }
.swatch__chip { height: 84px; }
.swatch__meta { padding: 0.7rem 0.8rem; }
.swatch__meta strong { display: block; }
.logo-tile { border: 1px solid var(--warm-2); border-radius: var(--radius-lg); padding: 2rem; display: grid; place-items: center; gap: 1rem; }
.logo-tile--ink { background: var(--ink); border-color: var(--ink); }
.logo-tile img { max-height: 60px; width: auto; }
.logo-tile--stack img { max-height: 120px; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---------- Brand kit swatches ---------- */
.sw-ink { background: #0c1015; }
.sw-panel { background: #131920; }
.sw-warm { background: #f6f4f0; }
.sw-amber { background: #f2a72c; }
.sw-amber-light { background: #ffc861; }
.sw-slate { background: #7f8ea3; }
.sw-blue { background: #3d7dff; }
.logo-tile figcaption { font-size: var(--fs-xs); }

/* Ordered list used on the contact page */
.prose-list { margin: 0; padding-left: 1.15rem; font-size: var(--fs-sm); color: var(--muted); }
.prose-list li { margin-bottom: 0.5rem; }


/* ---------- Small-screen header: the sticky action bar carries the CTA ---------- */
@media (max-width: 560px) {
  .header-actions .btn--primary { display: none; }
  .brand__name { font-size: 1.1rem; }
}

/* ---------- Comfortable tap targets for inline link lists ---------- */
.site-footer a { display: inline-block; padding-block: 0.4rem; }
.site-footer li { margin-bottom: 0.25rem; }
.crumbs a { display: inline-block; padding-block: 0.35rem; }

/* Headings used as card titles keep their visual size at any semantic level */
.card h2 { font-size: var(--fs-h3); margin-bottom: 0.45rem; }
.card h2 a { text-decoration: none; }
.card h2 a::after { content: ""; position: absolute; inset: 0; }
.project__body h2 { font-size: var(--fs-h4); margin: 0; }
.contact-method h2 { font-size: var(--fs-h4); margin-bottom: 0.35rem; }

.download-list { list-style: none; padding: 0; display: grid; gap: 0.15rem; }
.download-list a { display: inline-block; padding-block: 0.4rem; font-size: var(--fs-sm); }

/* ---------- Touch comfort for standalone and in-card text links ---------- */
.text-link { padding-block: 0.4rem; }
.card .task-list a, .note-box a, .contact-method a, .prose a { display: inline-block; padding-block: 0.35rem; }
.prose p a, .check-row label a { padding-block: 0; }
