/* ==========================================================================
   digitalmarketingcompanydubai.ae — Dubyte AI Solutions
   Design system: "The Media Plan"

   The organising idea is budget allocation: six channels, six colours, used
   as a legend rather than as decoration. Colour here carries information, so
   the surface stays a true neutral and lets the channels do the talking.

   Deliberately unlike the other two Dubyte properties: neutral paper instead
   of tinted, a six-colour functional palette instead of one accent, and a
   different type pairing. Sites from one publisher should not share a
   fingerprint.
   ========================================================================== */

:root {
  /* Surface — true neutral, no tint in either direction */
  --paper:   oklch(98.4% 0 0);
  --paper-2: oklch(95.2% 0 0);
  --paper-3: oklch(91.5% 0 0);
  --rule:    oklch(87% 0 0);
  --rule-2:  oklch(93% 0 0);

  --ink:   oklch(17% 0 0);
  --ink-2: oklch(43% 0 0);   /* 7:1 on paper */
  --ink-3: oklch(58% 0 0);   /* large text and marks only */

  /* Channels — the legend. Each service owns one. */
  --ch-search:  oklch(58% 0.205 28);
  --ch-paid:    oklch(72% 0.165 75);
  --ch-social:  oklch(53% 0.200 295);
  --ch-content: oklch(54% 0.135 162);
  --ch-web:     oklch(55% 0.160 245);
  --ch-email:   oklch(58% 0.185 350);

  /* Per-page accent; each service page overrides it */
  --accent: var(--ch-search);

  --display: 'Bricolage Grotesque', 'Bricolage Fallback', system-ui, sans-serif;
  --text:    'Public Sans', 'Public Fallback', system-ui, -apple-system, sans-serif;

  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1.0625rem;
  --t-lg:   clamp(1.125rem, 0.4vw + 1.02rem, 1.3125rem);
  --t-xl:   clamp(1.3125rem, 1vw + 1.05rem, 1.625rem);
  --t-2xl:  clamp(1.8125rem, 2.2vw + 1.2rem, 2.625rem);
  --t-3xl:  clamp(2.5rem, 4.3vw + 1.1rem, 4rem);

  --gutter: clamp(20px, 4vw, 52px);
  --shell:  1200px;
  --read:   68ch;

  --s1: 0.5rem; --s2: 0.9rem; --s3: 1.3rem; --s4: 2rem;
  --s5: 3.1rem; --s6: 4.5rem;

  --head-h: 74px;
  --rail: 232px;      /* width of the fixed navigation rail on desktop */
  --r: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 165ms;
  --slow: 430ms;

  --z-sticky: 100;
  --z-drawer: 200;
  --z-skip: 300;
}

@font-face {
  font-family: 'Bricolage Fallback';
  src: local('Arial'), local('Helvetica Neue');
  ascent-override: 94%; descent-override: 24%; line-gap-override: 0%; size-adjust: 102%;
}
@font-face {
  font-family: 'Public Fallback';
  src: local('Arial'), local('Helvetica Neue');
  ascent-override: 95%; descent-override: 24%; line-gap-override: 0%; size-adjust: 100%;
}

*, *::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);
  line-height: 1.7;
  -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: 1.12;
  letter-spacing: -0.02em;
}
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(--accent); color: oklch(99% 0 0); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: oklch(99% 0 0); }

/* ── Shell ─────────────────────────────────────────────────────────────── */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.read { max-width: var(--read); text-wrap: pretty; }

.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 .lede, .dark p { color: oklch(80% 0 0); }
.dark h1, .dark h2, .dark h3, .dark strong { color: var(--paper); }

.display { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.03em; }
.lede { font-size: var(--t-lg); line-height: 1.62; color: var(--ink-2); }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: var(--z-skip);
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.1rem; font-family: var(--display); font-weight: 700; font-size: var(--t-sm);
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

/* ── Channel chip: the legend element, repeated site-wide ──────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-size: var(--t-xs); font-weight: 700;
  letter-spacing: 0.02em; color: var(--ink-2);
}
.chip::before {
  content: ""; width: 12px; height: 12px; border-radius: 2px;
  background: var(--accent); flex: none;
}
.dark .chip { color: oklch(80% 0 0); }
.chip--search  { --accent: var(--ch-search); }
.chip--paid    { --accent: var(--ch-paid); }
.chip--social  { --accent: var(--ch-social); }
.chip--content { --accent: var(--ch-content); }
.chip--web     { --accent: var(--ch-web); }
.chip--email   { --accent: var(--ch-email); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.5rem; border-radius: var(--r);
  font-family: var(--display); font-size: var(--t-sm); font-weight: 700; line-height: 1;
  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--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: oklch(99% 0 0); }
.btn--accent:hover { filter: brightness(1.08); 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--solid { background: var(--paper); color: var(--ink); }
.dark .btn--solid:hover { background: var(--accent); color: oklch(99% 0 0); }
.dark .btn--line { border-color: oklch(40% 0 0); color: var(--paper); }
.dark .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 0.72rem 1.1rem; font-size: var(--t-xs); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.tlink {
  color: var(--accent); font-weight: 600;
  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(--paper); }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: var(--s4); }

/* ── Navigation rail ───────────────────────────────────────────────────── */
/* A media plan is read as a document with a permanent index beside it, so on
   desktop the navigation is a fixed left rail rather than a bar across the top.
   Below 1100px it collapses to a conventional top bar and the drawer. */
.masthead {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--paper);
  background: color-mix(in oklab, var(--paper) 92%, 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; gap: 1px; font-family: var(--display); line-height: 1.05;
  font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.015em; text-transform: uppercase;
}
.brand__name span { font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.15em; color: var(--ink-2); }

.nav__list { display: flex; align-items: center; gap: 1.4rem; }
.nav__link {
  display: block; font-family: var(--display);
  font-size: var(--t-sm); font-weight: 600; color: var(--ink-2);
  padding-block: 0.4rem;
  transition: color var(--fast) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current] { color: var(--ink); }
.nav__item { position: relative; }
.nav__sub a {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-size: var(--t-sm); font-weight: 500; color: var(--ink-2);
  transition: color var(--fast);
}
.nav__sub a::before {
  content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); flex: none;
}
.nav__sub a:hover { color: var(--ink); }

.masthead__cta { display: flex; align-items: center; gap: 0.7rem; }
.masthead__tel { font-family: var(--display); font-size: var(--t-sm); font-weight: 700; white-space: nowrap; }
.masthead__tel:hover { color: var(--accent); }

.burger {
  display: flex; 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 (min-width: 1100px) {
  body { padding-left: var(--rail); }
  .masthead {
    position: fixed; inset: 0 auto 0 0; width: var(--rail);
    display: flex; flex-direction: column;
    padding: var(--s4) var(--s3);
    border-bottom: 0; border-right: 1px solid var(--rule);
    background: var(--paper-2); backdrop-filter: none;
    overflow-y: auto;
  }
  .masthead__in { flex-direction: column; align-items: stretch; gap: var(--s4); min-height: 0; }
  .brand { margin-right: 0; }
  .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__link { padding: 0.42rem 0; border-bottom: 0; }
  .nav__link[aria-current]::before {
    content: ""; display: inline-block; width: 10px; height: 2px; margin-right: 8px;
    background: var(--accent); vertical-align: middle;
  }
  .nav__item--has > .nav__link::after { content: none; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0.2rem 0 0.5rem 0.1rem;
    background: none; border: 0; box-shadow: none;
    display: grid; gap: 0.3rem;
  }
  .nav__sub a { padding: 0.18rem 0; font-size: var(--t-xs); }
  .nav__sub a:hover { background: none; }
  .masthead__cta { flex-direction: column; align-items: stretch; margin-top: auto; padding-top: var(--s4); }
  .masthead__cta .btn { width: 100%; }
  .masthead__tel { order: 2; text-align: center; font-size: var(--t-xs); color: var(--ink-2); }
  .burger { display: none; }
  .foot { margin-left: 0; }
}

@media (max-width: 1099px) {
  .nav { display: none; }
  /* the rail markup has no .shell, so the bar needs the container padding back */
  .masthead__in { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
}
@media (max-width: 520px) { .masthead__cta .btn { display: none; } }

.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 a {
  display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--rule-2);
  font-family: var(--display); font-weight: 700;
}
.drawer .drawer__sub a { padding-left: 1rem; font-weight: 500; font-size: var(--t-sm); color: var(--ink-2); }
.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 62%; opacity: 0.32; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, oklch(17% 0 0) 18%, oklch(17% 0 0 / 0.78) 58%, oklch(17% 0 0 / 0.55) 100%);
}
.hero > .shell { position: relative; }
.hero__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.hero__lead { max-width: 46rem; }
.hero h1 { font-size: var(--t-3xl); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero__sub { margin-top: var(--s3); font-size: var(--t-lg); line-height: 1.66; color: oklch(82% 0 0); max-width: 52ch; }
.hero .lede { color: oklch(82% 0 0); }
/* the allocation reads as a chart across the full measure, not as a sidebar */
.alloc__row { grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) 3.5rem; }
@media (max-width: 560px) { .alloc__row { grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr) 2.8rem; } }

/* Allocation panel — the one loud object, and the brand idea made literal */
.alloc {
  border: 1px solid oklch(34% 0 0); border-radius: var(--r);
  background: oklch(21% 0 0 / 0.86); backdrop-filter: blur(6px);
}
.alloc__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2);
  padding: 0.95rem 1.2rem; border-bottom: 1px solid oklch(34% 0 0);
}
.alloc__top h2 { font-size: var(--t-sm); font-weight: 700; }
.alloc__top span { font-family: var(--display); font-size: var(--t-xs); color: oklch(72% 0 0); }
.alloc__rows { padding: 0.4rem 1.2rem 0.8rem; }
.alloc__row {
  display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr) 3rem;
  gap: 0.75rem; align-items: center; padding: 0.5rem 0;
}
.alloc__label { font-family: var(--display); font-size: var(--t-sm); font-weight: 600; }
.alloc__track { height: 10px; border-radius: 2px; background: oklch(30% 0 0); overflow: hidden; }
.alloc__fill { height: 100%; border-radius: 2px; background: var(--accent); transform-origin: left center; }
.alloc__pct { font-family: var(--display); font-size: var(--t-sm); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.alloc__foot { padding: 0.85rem 1.2rem; border-top: 1px solid oklch(34% 0 0); font-size: var(--t-xs); line-height: 1.55; color: oklch(72% 0 0); }
@media (max-width: 420px) {
  .alloc__row { grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr) 2.6rem; gap: 0.5rem; }
  .alloc__rows, .alloc__top, .alloc__foot { padding-inline: 0.85rem; }
}

/* ── Section heading ───────────────────────────────────────────────────── */
.head { max-width: 62ch; }
.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: 58ch; }

/* ── Channel cards (the six services) ──────────────────────────────────── */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--s4); margin-top: var(--s5); }
.channel { display: grid; align-content: start; gap: 0.55rem; padding-top: var(--s2); border-top: 3px solid var(--accent); }
.channel h3 { font-size: var(--t-lg); }
.channel:hover h3 { color: var(--accent); }
.channel p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.62; }
.channel__go { font-family: var(--display); font-size: var(--t-xs); font-weight: 700; color: var(--accent); margin-top: 0.25rem; }
@media (max-width: 900px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .channels { grid-template-columns: 1fr; } }

/* ── Numbered process (a real sequence) ────────────────────────────────── */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.phase { display: grid; align-content: start; gap: 0.5rem; }
.phase__n {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-size: var(--t-sm); font-weight: 700;
}
.dark .phase__n { background: var(--paper); color: var(--ink); }
.phase h3 { font-size: var(--t-lg); margin-top: 0.3rem; }
.phase p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.62; }
.dark .phase p { color: oklch(78% 0 0); }
@media (max-width: 960px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .phases { grid-template-columns: 1fr; } }

/* ── Spec rows ─────────────────────────────────────────────────────────── */
.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-lg); }
.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-lg); 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 55%; }
.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 45%; opacity: 0.26; }
.page-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(17% 0 0 / 0.7), var(--ink) 94%); }
.page-hero > .shell { position: relative; }
.page-hero h1 { font-size: clamp(2.125rem, 3.4vw + 1rem, 3.25rem); font-weight: 800; letter-spacing: -0.032em; }
.page-hero__sub { margin-top: var(--s3); font-size: var(--t-lg); line-height: 1.62; color: oklch(82% 0 0); max-width: 56ch; }
.page-hero .chip { color: oklch(82% 0 0); margin-bottom: var(--s2); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem;
  margin-bottom: var(--s3); font-family: var(--display); font-size: var(--t-xs); color: oklch(72% 0 0);
}
.crumbs li::after { content: "/"; margin-left: 0.45rem; color: oklch(45% 0 0); }
.crumbs li:last-child::after { content: none; }
.crumbs a:hover { color: var(--paper); }
.crumbs [aria-current] { color: var(--paper); }

/* ── Prose ─────────────────────────────────────────────────────────────── */
.prose { max-width: var(--read); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: var(--s5); font-size: var(--t-xl); }
.prose h3 { margin-top: var(--s4); font-size: var(--t-lg); }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul { display: grid; gap: 0.55rem; }
.prose li { position: relative; padding-left: 1.45rem; color: var(--ink-2); font-size: var(--t-sm); }
.prose li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.62em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
}
.prose__lead { font-size: var(--t-lg); line-height: 1.66; 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(--display); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.aside ul { display: grid; gap: 0.5rem; }
.aside a { font-family: var(--display); font-size: var(--t-sm); font-weight: 600; }
.aside a:hover { color: var(--accent); }
.aside__cta { padding: var(--s3); background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r); display: grid; gap: 0.7rem; }
.aside__cta p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.6; }
@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.6rem; }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.post h2 { font-size: var(--t-lg); margin-top: 0.3rem; }
.post:hover h2 { color: var(--accent); }
.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-xs); font-weight: 700; color: var(--accent); }
@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(--display); font-size: var(--t-xs); font-weight: 700; 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(--accent); }
.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-sm); font-weight: 700; }
.form__status[data-state="busy"] { color: var(--ink-2); }
.form__status[data-state="ok"] { color: var(--ch-content); }
.form__status[data-state="error"] { color: var(--ch-search); }
.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(--display); font-size: var(--t-xs); font-weight: 700; 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(--accent); }
@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.03em; }
.cta p { margin-top: var(--s3); font-size: var(--t-lg); line-height: 1.6; max-width: 58ch; }
.cta__legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid oklch(34% 0 0); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.foot { background: var(--paper-2); border-top: 1px solid var(--rule); padding-block: var(--s6) var(--s4); }
.foot { border-top: 2px solid var(--ink); }
.foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.foot h2, .foot h3 { font-family: var(--display); font-size: var(--t-xs); font-weight: 700; 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(--ink); }
.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(--ink); color: var(--ink); }
.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: 900px) { .foot__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 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;
  }
}
