/* ==========================================================================
   webdesigncompanydubai.ae — Dubyte AI Solutions
   Design system: "The Canvas"

   A web design studio's own site is judged as a portfolio piece, so the layout
   system is the argument: a visible column grid, measurements annotated in the
   margin, and performance numbers stated rather than claimed.

   Fourth Dubyte property, fourth identity on purpose: pale violet paper,
   electric violet brand, a volt-yellow used only for measurement, and a type
   pairing shared with none of the others.
   ========================================================================== */

:root {
  /* Paper — tinted toward the brand hue, never warm */
  --paper:   oklch(97.5% 0.008 285);
  --paper-2: oklch(94.2% 0.013 285);
  --paper-3: oklch(90% 0.018 285);
  --rule:    oklch(86% 0.018 285);
  --rule-2:  oklch(92% 0.014 285);

  --ink:   oklch(16% 0.030 285);
  --ink-2: oklch(43% 0.028 285);   /* 7:1 on paper */
  --ink-3: oklch(60% 0.024 285);   /* marks and large text only */

  /* Brand */
  --volt:      oklch(88% 0.185 104);   /* measurement / annotation only */
  --volt-ink:  oklch(52% 0.115 104);   /* volt that passes as text on paper */
  --electric:  oklch(48% 0.240 288);
  --electric-2: oklch(58% 0.230 288);

  --display: 'Darker Grotesque', 'Darker Fallback', system-ui, sans-serif;
  --text:    'Lexend', 'Lexend Fallback', system-ui, -apple-system, sans-serif;

  --t-xs:   0.75rem;
  --t-sm:   0.8438rem;
  --t-base: 1.0625rem;
  --t-lg:   clamp(1.125rem, 0.4vw + 1.02rem, 1.3125rem);
  --t-xl:   clamp(1.375rem, 1vw + 1.1rem, 1.6875rem);
  --t-2xl:  clamp(2rem, 2.6vw + 1.3rem, 3.125rem);
  --t-3xl:  clamp(2.875rem, 5.4vw + 1.1rem, 5.25rem);

  --gutter: clamp(20px, 4vw, 56px);
  --shell:  1360px;
  --read:   66ch;

  --s1: 0.5rem; --s2: 0.9rem; --s3: 1.3rem; --s4: 2rem;
  --s5: 3.1rem; --s6: 4.5rem;

  --head-h: 76px;
  --r: 0px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 165ms;
  --slow: 430ms;

  --z-grid: 1;
  --z-sticky: 100;
  --z-drawer: 200;
  --z-skip: 300;
}

@font-face {
  font-family: 'Darker Fallback';
  src: local('Arial Narrow'), local('Arial');
  ascent-override: 98%; descent-override: 22%; line-gap-override: 0%; size-adjust: 88%;
}
@font-face {
  font-family: 'Lexend Fallback';
  src: local('Arial'), local('Helvetica Neue');
  ascent-override: 96%; descent-override: 24%; line-gap-override: 0%; size-adjust: 101%;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-base);
  font-weight: 340;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0; font-family: var(--display); font-weight: 700; line-height: 0.98;
  letter-spacing: -0.015em;
}
p, li, blockquote, dd, h1, h2, h3 { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--volt); color: var(--ink); }

:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--volt); }

/* ── Shell + the visible grid ──────────────────────────────────────────── */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.read { max-width: var(--read); text-wrap: pretty; }

/* The column rules that give the site its name. Decorative, so hidden from
   assistive tech and dropped entirely on small screens where they would only
   add noise. */
.ruled { position: relative; }
.ruled > .shell { position: relative; z-index: var(--z-grid); }
.ruled::before {
  content: ""; position: absolute; inset: 0;
  width: min(1240px, 100%); margin-inline: auto;
  padding-inline: var(--gutter);
  background-image: repeating-linear-gradient(to right, var(--rule-2) 0 1px, transparent 1px calc(100% / 12));
  background-clip: content-box; background-origin: content-box;
  opacity: 0.9; pointer-events: none;
}
.dark.ruled::before { background-image: repeating-linear-gradient(to right, oklch(30% 0.03 285) 0 1px, transparent 1px calc(100% / 12)); }
@media (max-width: 820px) { .ruled::before { display: none; } }

.section { padding-block: clamp(3.25rem, 6.5vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 4.5vw, 4rem); }
.section--alt { background: var(--paper-2); }

.dark { background: var(--ink); color: var(--paper); }
.dark p, .dark .lede { color: oklch(80% 0.012 285); }
.dark h1, .dark h2, .dark h3, .dark strong { color: var(--paper); }

.display { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.02em; }
.lede { font-size: var(--t-lg); line-height: 1.65; color: var(--ink-2); }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: var(--z-skip);
  background: var(--electric); color: oklch(99% 0 0);
  padding: 0.7rem 1.1rem; font-family: var(--display); font-weight: 700; font-size: var(--t-base);
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

/* ── Annotation: the measurement label, used sparingly ─────────────────── */
.note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--text); font-size: var(--t-xs); font-weight: 500;
  color: var(--ink-2);
}
.note::before {
  content: ""; width: 18px; height: 2px; background: var(--volt-ink); flex: none;
}
.dark .note { color: oklch(78% 0.012 285); }
.dark .note::before { background: var(--volt); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: var(--r);
  font-family: var(--display); font-size: var(--t-lg); font-weight: 700; line-height: 1;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn--electric { background: var(--electric); color: oklch(99% 0 0); }
.btn--electric:hover { background: var(--electric-2); transform: translateY(-2px); }
.btn--volt { background: var(--volt); color: var(--ink); }
.btn--volt:hover { background: oklch(93% 0.16 104); transform: translateY(-2px); }
.btn--line { border-color: var(--rule); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.dark .btn--line { border-color: oklch(36% 0.03 285); color: var(--paper); }
.dark .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 0.62rem 1.05rem; font-size: var(--t-base); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.tlink {
  color: var(--electric); font-weight: 500;
  box-shadow: inset 0 -1px 0 0 currentColor;
  transition: box-shadow var(--fast) var(--ease);
}
.tlink:hover { box-shadow: inset 0 -2px 0 0 currentColor; }
.dark .tlink { color: var(--volt); }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: var(--s4); }

/* ── Header ────────────────────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--paper);
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.masthead__in { display: flex; align-items: center; gap: var(--s4); min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 0.65rem; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.brand__name {
  display: grid; font-family: var(--display); line-height: 0.92;
  font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase;
}
.brand__name span {
  font-family: var(--text); font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.16em; color: var(--ink-2); margin-top: 3px;
}

/* There is no horizontal navigation on this site at any width: the studio
   opens a menu. It keeps the first screen for the work rather than for a
   list of sections, and it is the clearest structural break from the other
   properties. */
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 1.4rem; }
.nav__link {
  display: inline-block; font-family: var(--display);
  font-size: var(--t-lg); font-weight: 600; color: var(--ink-2);
  padding-block: 0.3rem; border-bottom: 2px solid transparent;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current] { color: var(--ink); border-bottom-color: var(--volt); }
.nav__item { position: relative; }
.nav__item--has > .nav__link::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.nav__sub {
  position: absolute; top: calc(100% + 11px); left: -16px; min-width: 286px; padding: 0.4rem 0;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r);
  box-shadow: 0 20px 46px -22px oklch(16% 0.03 285 / 0.4);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
}
.nav__item--has:hover .nav__sub, .nav__item--has:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: none;
}
.nav__sub a {
  display: block; padding: 0.55rem 1.05rem;
  font-family: var(--display); font-size: var(--t-lg); font-weight: 500; color: var(--ink-2);
  transition: background var(--fast), color var(--fast);
}
.nav__sub a:hover { background: var(--paper-2); color: var(--electric); }

.masthead__cta { display: flex; align-items: center; gap: 0.7rem; }
.masthead__tel { font-family: var(--display); font-size: var(--t-lg); font-weight: 700; white-space: nowrap; }
.masthead__tel:hover { color: var(--electric); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.62rem 1.05rem;
  border: 1.5px solid var(--ink); border-radius: var(--r);
  font-family: var(--display); font-size: var(--t-base); font-weight: 700;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.menu-btn:hover { background: var(--ink); color: var(--paper); }
.menu-btn__bars { display: grid; gap: 3px; }
.menu-btn__bars i { display: block; width: 16px; height: 1.5px; background: currentColor; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(2) { opacity: 0; }

.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--rule); border-radius: var(--r);
}
.burger span { display: block; width: 19px; height: 1.5px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--ink);
  transition: transform var(--fast) var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) { .masthead__tel { display: none; } }
@media (max-width: 560px) {
  .masthead__cta .btn:not(.menu-btn) { display: none; }
  .masthead__in { gap: var(--s2); }
}

.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--paper);
  padding: calc(var(--head-h) + 20px) var(--gutter) 3rem;
  overflow-y: auto; transform: translateY(-100%); visibility: hidden;
  transition: transform var(--slow) var(--ease), visibility var(--slow);
}
.drawer[data-open="true"] { transform: none; visibility: visible; }
.drawer__close {
  position: absolute; top: 18px; right: var(--gutter);
  width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--r);
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1;
}
.drawer__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.drawer a {
  display: block; padding: 0.55rem 0;
  font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700;
  line-height: 1; letter-spacing: -0.02em;
  transition: color var(--fast) var(--ease);
}
.drawer a:hover { color: var(--electric); }
.drawer__link[aria-current] { color: var(--electric); }
.drawer .drawer__sub { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.drawer .drawer__sub a { font-size: var(--t-lg); font-weight: 500; color: var(--ink-2); padding: 0.35rem 0; }
.drawer__meta { display: grid; gap: 0.5rem; font-size: var(--t-sm); color: var(--ink-2); }
.drawer__meta a { font-size: var(--t-sm); font-family: var(--text); font-weight: 500; padding: 0; }
@media (max-width: 860px) { .drawer__in { grid-template-columns: 1fr; } }
.drawer__foot { margin-top: var(--s4); display: grid; gap: 0.7rem; }
.drawer__foot .btn { width: 100%; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 6vw, 5.5rem); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0.28; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, oklch(16% 0.03 285) 20%, oklch(16% 0.03 285 / 0.8) 60%, oklch(16% 0.03 285 / 0.55) 100%);
}
.hero > .shell { position: relative; z-index: var(--z-grid); }
.hero__grid { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }
/* The headline runs the full measure; the sentence and the buttons share the
   row beneath it. ch units are deliberately avoided here: they resolve against
   the container's font size, not the headline's. */
.hero h1 { font-size: clamp(2.75rem, 7.2vw, 6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 0.9; }
.hero__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--s3) var(--s4);
  padding-top: var(--s3); border-top: 1px solid oklch(34% 0.03 285);
}
.hero__foot .hero__sub { margin-top: 0; max-width: 52ch; flex: 1 1 28rem; }
.hero__foot .actions { margin-top: 0; }
.hero__sub { margin-top: var(--s3); font-size: var(--t-lg); line-height: 1.68; color: oklch(82% 0.012 285); }

/* Build spec panel — the numbers we commit to, stated up front */
.spec-panel {
  border: 1px solid oklch(32% 0.03 285); border-radius: var(--r);
  background: oklch(20% 0.032 285 / 0.9); backdrop-filter: blur(6px);
}
.spec-panel__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2);
  padding: 0.9rem 1.2rem; border-bottom: 1px solid oklch(32% 0.03 285);
}
.spec-panel__top h2 { font-size: var(--t-lg); font-weight: 700; }
.spec-panel__top span { font-family: var(--text); font-size: var(--t-xs); color: oklch(72% 0.012 285); }
.spec-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem; align-items: baseline;
  padding: 0.7rem 1.2rem; border-bottom: 1px solid oklch(26% 0.03 285);
}
.spec-row:last-of-type { border-bottom: 0; }
.spec-row__label { font-size: var(--t-sm); color: oklch(84% 0.012 285); }
.spec-row__label span { display: block; font-size: var(--t-xs); color: oklch(68% 0.012 285); }
.spec-row__value {
  font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--volt);
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.spec-panel__foot { padding: 0.85rem 1.2rem; border-top: 1px solid oklch(32% 0.03 285); font-size: var(--t-xs); line-height: 1.55; color: oklch(70% 0.012 285); }
/* the committed numbers run as a strip across the full measure */
.spec-panel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: 0; }
.spec-panel__top, .spec-panel__foot { grid-column: 1 / -1; }
.spec-panel__top { border-bottom: 1px solid oklch(32% 0.03 285); }
.spec-row {
  display: grid; grid-template-columns: 1fr; gap: 0.4rem; align-items: start;
  padding: 1rem 1.2rem; border-bottom: 0; border-right: 1px solid oklch(32% 0.03 285);
}
.spec-row:nth-child(6) { border-right: 0; }
.spec-row__value { font-size: clamp(1.5rem, 2.4vw, 2.25rem); order: -1; }
@media (max-width: 1000px) { .spec-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec-row { border-right: 0; border-bottom: 1px solid oklch(32% 0.03 285); } }
@media (max-width: 560px) { .spec-panel { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .spec-row, .spec-panel__top, .spec-panel__foot { padding-inline: 0.9rem; } }

/* ── Section heading ───────────────────────────────────────────────────── */
.head { max-width: 60ch; }
.head .lede { margin-top: var(--s2); }
.head--wide { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3); }
.head--wide > div { max-width: 56ch; }

/* ── Service cards ─────────────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: var(--s5); background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.service {
  display: grid; align-content: start; gap: 0.5rem;
  padding: var(--s3) var(--s3) var(--s4); background: var(--paper);
  transition: background var(--fast) var(--ease);
}
.service:hover { background: var(--paper-2); }
.service__n { font-family: var(--text); font-size: var(--t-xs); font-weight: 600; color: var(--volt-ink); letter-spacing: 0.08em; }
.service h3 { font-size: var(--t-xl); }
.service:hover h3 { color: var(--electric); }
.service p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.6; }
.service__go { font-family: var(--display); font-size: var(--t-lg); font-weight: 700; color: var(--electric); margin-top: 0.2rem; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ── Process ───────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.step { display: grid; align-content: start; gap: 0.45rem; padding-top: var(--s2); border-top: 3px solid var(--ink); }
.dark .step { border-top-color: var(--volt); }
.step__n { font-family: var(--text); font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); letter-spacing: 0.1em; }
.dark .step__n { color: var(--volt); }
.step h3 { font-size: var(--t-xl); }
.step p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.6; }
.dark .step p { color: oklch(78% 0.012 285); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ── Spec list ─────────────────────────────────────────────────────────── */
.spec { margin-top: var(--s5); border-top: 2px solid var(--ink); }
.spec__row {
  display: grid; grid-template-columns: minmax(0, 22ch) minmax(0, 1fr);
  gap: var(--s2) var(--s4); padding: 1.15rem 0; border-bottom: 1px solid var(--rule);
  transition: background var(--fast) var(--ease);
}
.spec__row:hover { background: var(--paper-2); }
.spec__row h3 { font-size: var(--t-xl); }
.spec__row p { font-size: var(--t-sm); color: var(--ink-2); max-width: 70ch; }
@media (max-width: 760px) { .spec__row { grid-template-columns: 1fr; } }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { margin-top: var(--s4); border-top: 1px solid var(--rule); }
.faq__item { padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
.faq__item h3 { font-size: var(--t-xl); margin-bottom: 0.4rem; }
.faq__item p { font-size: var(--t-sm); color: var(--ink-2); max-width: 72ch; }

/* ── Photo band ────────────────────────────────────────────────────────── */
.band { display: block; width: 100%; height: clamp(170px, 22vw, 320px); object-fit: cover; object-position: center 45%; }
.band-wrap { position: relative; background: var(--ink); line-height: 0; }

/* ── Page hero ─────────────────────────────────────────────────────────── */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(2.75rem, 5vw, 4.5rem); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0.24; }
.page-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(16% 0.03 285 / 0.72), var(--ink) 94%); }
.page-hero > .shell { position: relative; z-index: var(--z-grid); }
.page-hero h1 { font-size: clamp(2.5rem, 4vw + 1rem, 4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 0.94; }
.page-hero__sub { margin-top: var(--s3); font-size: var(--t-lg); line-height: 1.65; color: oklch(82% 0.012 285); max-width: 56ch; }
.page-hero .note { margin-bottom: var(--s2); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem;
  margin-bottom: var(--s3); font-family: var(--text); font-size: var(--t-xs); color: oklch(72% 0.012 285);
}
.crumbs li::after { content: "/"; margin-left: 0.45rem; color: oklch(45% 0.03 285); }
.crumbs li:last-child::after { content: none; }
.crumbs a:hover { color: var(--volt); }
.crumbs [aria-current] { color: var(--volt); }

/* ── Prose ─────────────────────────────────────────────────────────────── */
.prose { max-width: var(--read); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: var(--s5); font-size: var(--t-2xl); }
.prose h3 { margin-top: var(--s4); font-size: var(--t-xl); }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { display: grid; gap: 0.55rem; }
.prose li { position: relative; padding-left: 1.5rem; color: var(--ink-2); font-size: var(--t-sm); }
.prose li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 11px; height: 2px; background: var(--volt-ink);
}
.prose__lead { font-size: var(--t-lg); line-height: 1.68; color: var(--ink); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 16.5rem); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.aside { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: var(--s3); }
.aside h2 { font-family: var(--text); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.aside ul { display: grid; gap: 0.4rem; }
.aside a { font-family: var(--display); font-size: var(--t-lg); font-weight: 600; }
.aside a:hover { color: var(--electric); }
.aside__cta { padding: var(--s3); background: var(--ink); color: var(--paper); border-radius: var(--r); display: grid; gap: 0.7rem; }
.aside__cta p { font-size: var(--t-sm); color: oklch(80% 0.012 285); line-height: 1.55; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .aside { position: static; } }

.article__hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); margin-bottom: var(--s3); }
@media (max-width: 560px) { .article__hero { aspect-ratio: 4 / 3; } }

/* ── Blog list ─────────────────────────────────────────────────────────── */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.post { display: grid; align-content: start; gap: 0.55rem; }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.post h2 { font-size: var(--t-xl); margin-top: 0.3rem; }
.post:hover h2 { color: var(--electric); }
.post p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.6; }
.post__go { font-family: var(--display); font-size: var(--t-lg); font-weight: 700; color: var(--electric); }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* ── Form ──────────────────────────────────────────────────────────────── */
.form { display: grid; gap: var(--s3); margin-top: var(--s3); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--text); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea {
  font-family: var(--text); font-size: var(--t-sm); color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 0.85rem 0.95rem; transition: border-color var(--fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 8.5rem; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--electric); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .field input, .field textarea { font-size: 1rem; } }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.form__note { font-size: var(--t-xs); color: var(--ink-2); max-width: 42ch; line-height: 1.55; }
.form__status { font-family: var(--display); font-size: var(--t-lg); font-weight: 700; }
.form__status[data-state="busy"] { color: var(--ink-2); }
.form__status[data-state="ok"] { color: var(--electric); }
.form__status[data-state="error"] { color: oklch(52% 0.2 25); }
.form button[disabled] { opacity: 0.55; cursor: progress; }

/* ── Contact details ───────────────────────────────────────────────────── */
.reach { display: grid; gap: var(--s3); margin-top: var(--s4); }
.reach > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s2); align-items: baseline; }
.reach dt { font-family: var(--text); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.reach dd { margin: 0; font-size: var(--t-base); }
.reach dd a:hover { color: var(--electric); }
@media (max-width: 560px) { .reach > div { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ── CTA ───────────────────────────────────────────────────────────────── */
.cta h2 { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.02em; }
.cta p { margin-top: var(--s3); font-size: var(--t-lg); line-height: 1.6; max-width: 58ch; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.foot { background: var(--paper-2); border-top: 1px solid var(--rule); padding-block: var(--s6) var(--s4); }
.foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.foot__grid > :first-child {
  grid-column: 1 / -1; padding-bottom: var(--s4); margin-bottom: var(--s2);
  border-bottom: 2px solid var(--ink);
}
.foot__grid > :first-child p { max-width: 52ch; font-size: var(--t-lg); line-height: 1.55; }
.foot .brand__name { font-size: clamp(2rem, 5vw, 3.5rem); }
.foot .brand img { width: 46px; height: 46px; }
.foot h2, .foot h3 { font-family: var(--text); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: var(--s2); }
.foot p, .foot a { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.68; }
.foot a:hover { color: var(--electric); }
.foot li + li { margin-top: 0.45rem; }
.foot .brand { margin: 0 0 var(--s3); }
.foot__socials { display: flex; gap: 0.55rem; margin-top: var(--s3); }
.foot__socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--rule); border-radius: var(--r); color: var(--ink-2);
  transition: border-color var(--fast), color var(--fast);
}
.foot__socials a:hover { border-color: var(--electric); color: var(--electric); }
.foot__socials svg { width: 17px; height: 17px; }
.foot__legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2);
  margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--rule);
  font-size: var(--t-xs); color: var(--ink-2);
}
@media (max-width: 760px) { .foot__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }

/* ── Motion opt-out ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
