/* ==========================================================================
   GOTICTEAM — site stylesheet
   Identity: warm black, bone paper, GOTIC yellow (#FFC501) used sparingly.
   Signature devices: stencil-cut corner (from the wordmark), yellow full stop,
   black/yellow duotone photography, hairline grid.
   ========================================================================== */

:root {
  --ink: #0d0d0c;
  --ink-2: #141412;
  --ink-3: #1c1c19;
  --paper: #f3f0e8;
  --paper-2: #e9e5da;
  --paper-3: #dfdacd;
  --yellow: #ffc501;
  --yellow-press: #eab300;

  --text: var(--ink);
  --muted: #5f5b52;
  --muted-on-ink: #9d988c;
  --line: rgba(13, 13, 12, 0.14);
  --line-strong: rgba(13, 13, 12, 0.32);
  --line-on-ink: rgba(243, 240, 232, 0.13);
  --line-on-ink-strong: rgba(243, 240, 232, 0.28);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display-stretch: 112%;

  --max: 1320px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --section: clamp(88px, 11vw, 168px);
  --header-h: 76px;
  --notch: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

:root[lang="ar"] {
  --f-display: "Noto Kufi Arabic", "Archivo", Tahoma, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "IBM Plex Sans", Tahoma, sans-serif;
  --display-stretch: 100%;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
:root[lang="ar"] body { font-size: 17.5px; line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.sec--yellow :focus-visible { outline-color: var(--ink); }

.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--section); position: relative; }
.sec--tight { padding-block: clamp(64px, 8vw, 112px); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--ink2 { background: var(--ink-2); color: var(--paper); }
.sec--paper2 { background: var(--paper-2); }
.sec--yellow { background: var(--yellow); color: var(--ink); }
.sec + .sec:not(.sec--ink):not(.sec--ink2):not(.sec--yellow):not(.sec--paper2) { border-top: 1px solid var(--line); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* ---------- Type ---------- */
.display,
.h1, .h2, .h3 {
  font-family: var(--f-display);
  font-stretch: var(--display-stretch);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.display { font-size: clamp(42px, 6.2vw, 96px); line-height: 0.98; letter-spacing: -0.035em; }
.h1 { font-size: clamp(40px, 5.6vw, 84px); }
.h2 { font-size: clamp(32px, 4vw, 60px); }
.h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; line-height: 1.15; }
:root[lang="ar"] .display,
:root[lang="ar"] .h1,
:root[lang="ar"] .h2,
:root[lang="ar"] .h3 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
:root[lang="ar"] .display { line-height: 1.3; font-size: clamp(38px, 5.8vw, 92px); }
:root[lang="ar"] .h3 { font-weight: 600; line-height: 1.5; }

.dot { color: var(--yellow); }
.sec--yellow .dot { color: var(--ink); }

.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--muted); max-width: 40em; }
.sec--ink .lead, .sec--ink2 .lead { color: var(--muted-on-ink); }
.statement { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 500; font-size: clamp(26px, 3.1vw, 46px); line-height: 1.22; letter-spacing: -0.02em; text-wrap: pretty; }
:root[lang="ar"] .statement { letter-spacing: 0; line-height: 1.7; font-weight: 500; }
.muted { color: var(--muted); }
.sec--ink .muted, .sec--ink2 .muted { color: var(--muted-on-ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
:root[lang="ar"] .eyebrow { font-family: var(--f-body); letter-spacing: 0; font-size: 14px; font-weight: 600; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--yellow); flex: none; }
.sec--ink .eyebrow, .sec--ink2 .eyebrow { color: var(--muted-on-ink); }
.sec--yellow .eyebrow { color: var(--ink); }
.sec--yellow .eyebrow::before { background: var(--ink); }
.mono { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.num { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); font-variant-numeric: tabular-nums; }
.sec--ink .num, .sec--ink2 .num { color: var(--muted-on-ink); }

.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head > .eyebrow { grid-column: 1 / -1; margin-bottom: 28px; }
.sec-head > .h2 { grid-column: 1 / span 7; }
.sec-head > .sec-head__aside { grid-column: 9 / -1; }
.sec-head--stack > .h2 { grid-column: 1 / span 9; }

/* ---------- Stencil notch ---------- */
.notch { clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
[dir="rtl"] .notch { clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch)); }

/* ---------- Buttons & links ---------- */
.btn { --notch: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 28px; font-family: var(--f-body); font-weight: 600; font-size: 15.5px; letter-spacing: 0.01em; background: var(--yellow); color: var(--ink); transition: background-color 0.25s var(--ease); clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); white-space: nowrap; }
[dir="rtl"] .btn { clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch)); }
.btn:hover { background: var(--yellow-press); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--line-strong); clip-path: none; }
.sec--ink .btn--ghost, .sec--ink2 .btn--ghost, .hero .btn--ghost { box-shadow: inset 0 0 0 1px var(--line-on-ink-strong); }
.btn--ghost:hover { background: rgba(127, 127, 127, 0.08); }
.btn .arr, .link .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(4px); }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr, [dir="rtl"] .link:hover .arr { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] [dir="ltr"] .arr { transform: none; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.3s var(--ease); }
.link:hover { background-size: 0 1px; }
.link--y { background-image: linear-gradient(var(--yellow), var(--yellow)); background-size: 100% 2px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--paper); transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.4s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(13, 13, 12, 0.94); border-bottom-color: var(--line-on-ink); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; height: 100%; gap: 32px; }

.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand__tile { --notch: 9px; display: grid; place-items: center; height: 40px; padding: 0 12px; background: var(--yellow); color: var(--ink); clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
[dir="rtl"] .brand__tile { clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch)); }
.brand__tile svg { height: 17px; width: auto; }
.brand__name { font-family: "Archivo", sans-serif; font-stretch: 118%; font-weight: 600; font-size: 13px; letter-spacing: 0.22em; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); margin-inline-start: auto; }
.nav a { position: relative; font-size: 15px; font-weight: 500; color: rgba(243, 240, 232, 0.78); padding-block: 8px; transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 20px; }
.lang { font-size: 14px; font-weight: 600; color: rgba(243, 240, 232, 0.78); padding: 8px 2px; }
.lang:hover { color: var(--yellow); }
.lang[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 15px; }
.site-header .btn { min-height: 44px; padding: 0 20px; font-size: 14.5px; }

.menu-btn { display: none; width: 44px; height: 44px; margin-inline-start: auto; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--paper); transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 26px; right: 17px; }
[dir="rtl"] .menu-btn span:nth-child(2) { right: 11px; left: 17px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); right: 11px; left: 11px; }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); padding: calc(var(--header-h) + 32px) var(--gutter) 32px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; border-top: 1px solid var(--line-on-ink); }
.mobile-menu nav a { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 600; font-size: 32px; padding: 18px 0; border-bottom: 1px solid var(--line-on-ink); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav a[aria-current="page"] { color: var(--yellow); }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 20px; }
.mobile-menu__foot .btn { width: 100%; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--paper); padding-top: calc(var(--header-h) + clamp(56px, 9vw, 128px)); padding-bottom: 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: stretch; }
.hero__copy { grid-column: 1 / span 8; display: flex; flex-direction: column; padding-bottom: clamp(56px, 7vw, 104px); }
.hero__copy .eyebrow { color: var(--muted-on-ink); margin-bottom: clamp(28px, 3.5vw, 44px); }
.hero__copy .lead { margin-top: clamp(28px, 3vw, 40px); color: var(--muted-on-ink); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(36px, 4vw, 52px); }
.hero__actions .link { color: var(--paper); }

.hero__panel { --notch: 28px; grid-column: 9 / -1; background: var(--yellow); color: var(--ink); position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 2.2vw, 32px); min-height: 440px; margin-bottom: clamp(56px, 7vw, 104px); }
.hero__panel-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.hero__panel-mark { width: 100%; color: var(--ink); }
.hero__panel-mark svg { width: 100%; height: auto; }
.hero__panel-foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 20px; border-top: 1.5px solid var(--ink); padding-top: 14px; font-size: 14px; font-weight: 500; }
.hero__panel-foot strong { font-family: var(--f-display); font-stretch: var(--display-stretch); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }

.facts { border-top: 1px solid var(--line-on-ink); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 0 30px; padding-inline-end: 24px; display: flex; flex-direction: column; gap: 6px; }
.facts li + li { border-inline-start: 1px solid var(--line-on-ink); padding-inline-start: clamp(16px, 2vw, 32px); }
.facts .k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-ink); }
:root[lang="ar"] .facts .k { font-family: var(--f-body); letter-spacing: 0; font-size: 13px; }
.facts .v { font-size: 16px; font-weight: 500; color: var(--paper); }

/* Inner page hero */
.page-hero { background: var(--ink); color: var(--paper); padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px)); padding-bottom: clamp(64px, 8vw, 112px); }
.page-hero .eyebrow { color: var(--muted-on-ink); margin-bottom: clamp(24px, 3vw, 40px); }
.page-hero .h1 { max-width: 15em; }
.page-hero .lead { margin-top: 28px; }
.page-hero__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.page-hero__row > :first-child { grid-column: 1 / span 8; }
.page-hero__row > :last-child { grid-column: 10 / -1; }

.jump { border-top: 1px solid var(--line-on-ink-strong); }
.jump a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line-on-ink); font-weight: 500; color: rgba(243, 240, 232, 0.86); transition: color 0.2s, padding 0.3s var(--ease); }
.jump a::after { content: "→"; color: var(--yellow); }
[dir="rtl"] .jump a::after { content: "←"; }
.jump a:hover { color: var(--paper); padding-inline-start: 8px; }

/* Two-column split utilities */
.col-a { grid-column: 1 / span 5; }
.col-b { grid-column: 7 / -1; }
.col-a4 { grid-column: 1 / span 4; }
.col-b6 { grid-column: 6 / -1; }
.col-a > .h2, .col-a4 > .h2 { margin-top: 28px; }

/* ---------- Intro / statement ---------- */
.intro__body { grid-column: 4 / -1; }
.intro__label { grid-column: 1 / span 3; padding-top: 12px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(16px, 2vw, 32px); margin-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line-strong); }
.pillars > div { padding-top: 24px; padding-inline-end: 12px; }
.pillars h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.pillars p { color: var(--muted); font-size: 15.5px; }

/* ---------- Service rows ---------- */
.rows { border-top: 1px solid var(--line-strong); }
.row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: baseline; padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); transition: background-color 0.3s var(--ease); }
.row::before { content: ""; position: absolute; inset-inline-start: calc(-1 * clamp(12px, 1.4vw, 24px)); top: -1px; bottom: -1px; width: 3px; background: var(--yellow); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.row:hover::before { transform: scaleY(1); }
.row .num { grid-column: 1 / span 1; }
.row h3 { grid-column: 2 / span 4; }
.row p { grid-column: 6 / span 5; color: var(--muted); }
.row .tags { grid-column: 11 / -1; justify-self: end; text-align: end; font-size: 13.5px; color: var(--muted); }
a.row .arr-cell { grid-column: 12; justify-self: end; font-size: 20px; transition: transform 0.3s var(--ease); }
a.row:hover .arr-cell { transform: translateX(4px); }

/* ---------- GOT Suite ---------- */
.suite { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-on-ink-strong); border-bottom: 1px solid var(--line-on-ink); }
.suite__item { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 28px clamp(18px, 1.6vw, 28px) 28px; transition: background-color 0.35s var(--ease), color 0.35s var(--ease); }
.suite__item + .suite__item { border-inline-start: 1px solid var(--line-on-ink); }
.suite__pre { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--yellow); font-weight: 500; transition: color 0.35s; }
.suite__name { font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 700; font-size: clamp(30px, 2.8vw, 44px); letter-spacing: -0.01em; line-height: 1; margin-top: 10px; }
.suite__desc { margin-top: auto; font-size: 15.5px; line-height: 1.55; color: var(--muted-on-ink); transition: color 0.35s; padding-top: 40px; }
.suite__mode { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-on-ink); font-size: 13px; color: var(--muted-on-ink); transition: color 0.35s, border-color 0.35s; }
.suite__item:hover { background: var(--yellow); color: var(--ink); }
.suite__item:hover .suite__pre, .suite__item:hover .suite__desc, .suite__item:hover .suite__mode { color: var(--ink); }
.suite__item:hover .suite__mode { border-color: rgba(13, 13, 12, 0.25); }
.suite-note { margin-top: 28px; font-size: 14.5px; color: var(--muted-on-ink); max-width: 60em; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: clamp(16px, 2vw, 32px); }
.step { border-top: 1px solid var(--line-strong); padding-top: 24px; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 44px; height: 3px; background: var(--yellow); }
.step .num { display: block; margin-bottom: 36px; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Work ---------- */
.work-list { display: grid; gap: clamp(64px, 8vw, 120px); }
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.work__media { grid-column: 1 / span 8; background: var(--ink-3); border: 1px solid var(--line-on-ink); overflow: hidden; }
.work__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.work:hover .work__media img { transform: scale(1.02); }
.work__meta { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 14px; }
.work--flip .work__media { grid-column: 5 / -1; order: 2; }
.work--flip .work__meta { grid-column: 1 / span 4; order: 1; }
.work__meta dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line-on-ink); font-size: 14.5px; }
.work__meta dt { color: var(--muted-on-ink); }
.sec:not(.sec--ink):not(.sec--ink2) .work__meta dl { border-color: var(--line); }
.sec:not(.sec--ink):not(.sec--ink2) .work__meta dt { color: var(--muted); }
.sec:not(.sec--ink):not(.sec--ink2) .work__media { border-color: var(--line); background: var(--paper-2); }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.client { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: clamp(16px, 2vw, 30px); border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }
.client img { max-height: 72px; width: auto; max-width: 82%; object-fit: contain; filter: grayscale(1) contrast(1.08); opacity: 0.7; mix-blend-mode: multiply; transition: filter 0.4s var(--ease), opacity 0.4s var(--ease); }
.client img.is-tall { max-height: 92px; }
.client img.is-light { filter: grayscale(1) brightness(0.55) contrast(1.6); opacity: 0.78; }
.client:hover img.is-light { filter: none; opacity: 1; }
.client:hover img { filter: none; opacity: 1; }
.client--cta { align-content: center; justify-items: start; gap: 10px; padding: clamp(18px, 2vw, 30px); transition: background-color 0.3s var(--ease); }
.client--cta b { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 600; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.25; }
.client--cta span { font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; }
.client--cta:hover { background: var(--yellow); }

/* Payments */
.pay { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; align-items: center; }
.pay__copy { grid-column: 1 / span 5; }
.pay__copy .h2 { margin-top: 28px; }
.pay__copy .lead { margin-top: 24px; }
.pay__list { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.pay__list li { font-size: 14px; font-weight: 500; padding: 7px 12px; border: 1px solid var(--line-on-ink); color: rgba(243, 240, 232, 0.86); }
.pay__panel { --notch: 26px; grid-column: 7 / -1; background: var(--ink-3); border: 1px solid var(--line-on-ink); padding: clamp(32px, 5vw, 72px); display: grid; place-items: center; }
.pay__panel img { width: 100%; max-width: 520px; }
.pay__by { grid-column: 7 / -1; margin-top: -32px; font-size: 14px; color: var(--muted-on-ink); display: flex; align-items: center; gap: 14px; }
.pay__by img { height: 30px; width: auto; }

/* Framed photo (non-duotone) */
.frame { background: var(--paper-2); padding: clamp(10px, 1.2vw, 16px); border: 1px solid var(--line); }
.frame img { width: 100%; height: auto; }
.frame figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px 2px; font-size: 13.5px; color: var(--muted); }
.frame figcaption b { color: var(--ink); font-weight: 600; }

/* Single featured case */
.case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; }
.case__media { grid-column: 1 / -1; border: 1px solid var(--line-on-ink); background: var(--ink-3); overflow: hidden; }
.case__media img { width: 100%; aspect-ratio: 1600 / 762; object-fit: cover; object-position: top; }
.case__title { grid-column: 1 / span 5; }
.case__title .h2 { margin-top: 18px; }
.case__body { grid-column: 7 / -1; }
.case__body p { color: var(--muted-on-ink); font-size: 17px; }
.case__body dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-on-ink); }
.case__body dt { font-size: 13px; color: var(--muted-on-ink); margin-bottom: 4px; }
.case__body dd { font-weight: 500; }
.case__body .link { margin-top: 32px; color: var(--paper); }
.client figcaption { position: absolute; inset-inline: 14px; bottom: 10px; font-size: 12px; color: var(--muted); text-align: center; opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.client:hover figcaption { opacity: 1; transform: none; }
.clients--named .clients { grid-auto-rows: 1fr; }
.clients--named .client { display: flex; flex-direction: column; justify-content: center; aspect-ratio: auto; min-height: 190px; }
.clients--named .client img { flex: none; }
.clients--named .client figcaption { opacity: 1; transform: none; position: static; margin-top: 16px; min-height: 2.6em; display: flex; align-items: flex-start; justify-content: center; }
.clients--named .client--cta { align-items: flex-start; }

/* ---------- Plans (hosting) ---------- */
.plan-table { width: 100%; border-collapse: collapse; }
.plan-table th, .plan-table td { text-align: start; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line-on-ink); font-weight: 400; vertical-align: baseline; }
[dir="rtl"] .plan-table th, [dir="rtl"] .plan-table td { padding: 20px 0 20px 16px; }
.plan-table thead th { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-ink); padding-top: 0; border-bottom-color: var(--line-on-ink-strong); }
:root[lang="ar"] .plan-table thead th { font-family: var(--f-body); letter-spacing: 0; font-size: 13px; }
.plan-table tbody th { font-family: var(--f-display); font-stretch: var(--display-stretch); font-size: 20px; font-weight: 600; }
.plan-table .price { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 600; font-size: 22px; white-space: nowrap; }
.plan-table .price small { font-family: var(--f-body); font-size: 13px; color: var(--muted-on-ink); font-weight: 400; margin-inline-start: 4px; }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 32px); }
.plan { --notch: 22px; background: var(--white, #fbfaf6); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; border: 1px solid var(--line); position: relative; }
.plan--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan__tag { position: absolute; top: clamp(28px, 3vw, 44px); inset-inline-end: clamp(28px, 3vw, 44px); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 5px 10px; font-weight: 500; }
:root[lang="ar"] .plan__tag { font-family: var(--f-body); letter-spacing: 0; font-size: 12.5px; }
.plan__kind { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
:root[lang="ar"] .plan__kind { font-family: var(--f-body); letter-spacing: 0; font-size: 13.5px; }
.plan--featured .plan__kind, .plan--featured .plan__desc, .plan--featured .plan__per, .plan--featured .plan__spec dt { color: var(--muted-on-ink); }
.plan h3 { margin-top: 14px; }
.plan__desc { margin-top: 10px; color: var(--muted); font-size: 15.5px; max-width: 30em; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin-top: 36px; font-family: var(--f-display); font-stretch: var(--display-stretch); }
.plan__amount { font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.plan__per { font-family: var(--f-body); color: var(--muted); font-size: 15px; }
.plan__spec { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-top: 1px solid var(--line); }
.plan--featured .plan__spec, .plan--featured .plan__list li { border-color: var(--line-on-ink); }
.plan__spec div { padding: 16px 0 0; }
.plan__spec dt { font-size: 12.5px; color: var(--muted); }
.plan__spec dd { font-family: var(--f-display); font-stretch: var(--display-stretch); font-size: 22px; font-weight: 600; }
.plan__list { margin-top: 28px; }
.plan__list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.plan__list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.62em; background: var(--yellow); }
.plan .btn { margin-top: 32px; align-self: flex-start; }
.plan--featured .btn { background: var(--yellow); color: var(--ink); }
.plan:not(.plan--featured) .btn { background: var(--ink); color: var(--paper); }
.plan-note { margin-top: 24px; font-size: 14.5px; color: var(--muted); }

.toggle { display: inline-flex; border: 1px solid var(--line-strong); padding: 4px; gap: 4px; }
.toggle button { padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background-color 0.2s, color 0.2s; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.toggle-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.toggle-row .save { font-size: 14px; color: var(--muted); }
.toggle-row .save b { color: var(--ink); background: var(--yellow); padding: 1px 6px; font-weight: 600; }

.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 64px); }
.addons h3 { margin-bottom: 8px; }
.addons > div > p { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 1px solid var(--line); }
.price-list b { font-weight: 600; }
.price-list span { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 600; white-space: nowrap; }
.price-list small { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.callout { margin-top: 28px; padding: 18px 22px; border-inline-start: 3px solid var(--yellow); background: var(--paper-2); font-size: 15px; }

/* Calculator */
.calc { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; }
.calc__form { grid-column: 1 / span 6; display: grid; gap: 22px; align-content: start; }
.calc__summary { --notch: 22px; grid-column: 8 / -1; background: var(--yellow); color: var(--ink); padding: clamp(24px, 3vw, 40px); align-self: start; }
.calc__summary h3 { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
:root[lang="ar"] .calc__summary h3 { font-family: var(--f-body); letter-spacing: 0; font-size: 14px; font-weight: 600; }
.calc__summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(13, 13, 12, 0.18); font-size: 15px; }
.calc__summary dd { font-weight: 600; text-align: end; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; gap: 16px; }
.calc__total span { font-weight: 600; }
.calc__total strong { font-family: var(--f-display); font-stretch: var(--display-stretch); font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.calc__statement { margin-top: 18px; font-size: 14px; line-height: 1.55; }

/* Storage visual */
.storage-bar { display: flex; height: 64px; margin-top: 32px; border: 1px solid var(--line-strong); }
.storage-bar span { display: flex; align-items: flex-end; padding: 8px 10px; font-size: 12.5px; font-weight: 600; border-inline-end: 1px solid var(--line-strong); overflow: hidden; white-space: nowrap; }
.storage-bar span:last-child { border-inline-end: 0; }
.storage-bar .s-web { background: var(--ink); color: var(--paper); flex: 1.2; }
.storage-bar .s-db { background: var(--ink-3); color: var(--paper); flex: 0.8; }
.storage-bar .s-mail { background: var(--yellow); flex: 2; }
.storage-bar .s-free { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(13, 13, 12, 0.08) 6px 7px); flex: 1; color: var(--muted); }
.storage-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Compare & FAQ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 18px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-stretch: var(--display-stretch); font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 22%; }
.compare td:last-child { background: rgba(255, 197, 1, 0.08); }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-weight: 600; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 46em; }

/* ---------- Timeline & duotone ---------- */
.duo { position: relative; background: var(--yellow); overflow: hidden; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.18) brightness(1.02); mix-blend-mode: multiply; }
.duo figcaption { position: absolute; inset-inline-start: 0; bottom: 0; background: var(--ink); color: var(--paper); font-size: 13px; padding: 8px 14px; }

.timeline { border-top: 1px solid var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline .year { font-family: "Archivo", sans-serif; font-stretch: 112%; font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.timeline h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: 15.5px; }

.recog { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.recog__media { grid-column: 1 / span 5; }
.recog__media .duo { aspect-ratio: 4 / 5; }
.recog__body { grid-column: 7 / -1; }
.recog__body .h2 { margin: 28px 0 40px; }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.gallery .duo { grid-column: span 6; aspect-ratio: 3 / 2; }
.gallery .duo img { object-position: center 30%; }

/* ---------- Delivery grid (services) ---------- */
.cells { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.cell { padding: 28px clamp(16px, 1.8vw, 28px) 36px 0; border-bottom: 1px solid var(--line); }
.cell:not(:nth-child(4n + 1)) { padding-inline-start: clamp(16px, 1.8vw, 28px); border-inline-start: 1px solid var(--line); }
.cell .num { display: block; margin-bottom: 28px; }
.cell h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.cell p { color: var(--muted); font-size: 15px; }

/* Integration diagram */
.hub { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; margin-top: 8px; }
.hub__side { display: grid; gap: 14px; }
.hub__node { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 22px; border: 1px solid var(--line-on-ink-strong); position: relative; }
.hub__node b { font-family: "Archivo", sans-serif; font-stretch: 120%; font-weight: 700; letter-spacing: 0.04em; }
.hub__node span { font-size: 14px; color: var(--muted-on-ink); }
.hub__side--l .hub__node::after, .hub__side--r .hub__node::before { content: ""; position: absolute; top: 50%; width: clamp(24px, 4vw, 64px); height: 1px; background: var(--line-on-ink-strong); }
.hub__side--l .hub__node::after { inset-inline-start: 100%; }
.hub__side--r .hub__node::before { inset-inline-end: 100%; }
.hub__core { --notch: 18px; margin-inline: clamp(24px, 4vw, 64px); background: var(--yellow); color: var(--ink); padding: 34px 30px; text-align: center; min-width: 190px; }
.hub__core b { display: block; font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 700; font-size: 30px; line-height: 1; }
.hub__core span { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 4vw, 64px); border-top: 1px solid var(--line-strong); }
.checks li { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 12px; height: 7px; border-inline-start: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-3px) rotate(-45deg); }
[dir="rtl"] .checks li::before { transform: translateY(-3px) rotate(45deg); border-inline-start: 0; border-inline-end: 2px solid var(--ink); }

.platforms { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.platforms a { flex: 1 1 180px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 600; font-size: 19px; transition: background-color 0.25s; }
:root[lang="ar"] .platforms a { font-family: "Archivo", sans-serif; font-stretch: 112%; }
.platforms a:hover { background: var(--yellow); }
.platforms a .arr { font-size: 15px; }

/* ---------- Contact band ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; }
.contact__intro { grid-column: 1 / span 5; }
.contact__intro .h2 { margin-top: 28px; }
.contact__intro p.lead { color: rgba(13, 13, 12, 0.72); margin-top: 24px; }
.contact__direct { margin-top: 48px; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.contact__direct div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(13, 13, 12, 0.2); font-size: 15.5px; }
.contact__direct dt { font-weight: 600; }
.contact__direct a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__form { grid-column: 7 / -1; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field label .opt { font-weight: 400; opacity: 0.65; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0; padding: 10px 0 12px; font-size: 17px; outline: none; transition: border-color 0.2s, background-color 0.2s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-end: 28px; cursor: pointer; }
[dir="rtl"] .field select { background-position: 6px 55%, 12px 55%; }
.field select option { color: var(--ink); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: currentColor; opacity: 0.45; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-width: 3px; padding-bottom: 10.5px; }
.sec--yellow .field input:focus, .sec--yellow .field select:focus, .sec--yellow .field textarea:focus { background: rgba(255, 255, 255, 0.18); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom-color: #b3261e; }
.field .err { font-size: 13px; color: #8c1d18; display: none; }
.sec--ink .field .err, .sec--ink2 .field .err { color: #ff9b8f; }
.field.is-invalid .err { display: block; }
/* Honeypot: visually hidden without offsetting off-canvas (a large negative offset breaks RTL scrolling). */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form { position: relative; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 8px; }
.form__foot p { font-size: 14px; opacity: 0.75; max-width: 26em; }
.form__status { grid-column: 1 / -1; display: none; padding: 16px 20px; font-weight: 500; }
.form__status.is-ok { display: block; background: var(--ink); color: var(--paper); }
.form__status.is-err { display: block; background: #fff4f2; color: #8c1d18; border-inline-start: 3px solid #b3261e; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Dark form (hosting calculator) */
.sec--ink .field select option, .sec--ink2 .field select option { background: var(--ink-2); color: var(--paper); }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; row-gap: 32px; }
.cta-band .h2 { grid-column: 1 / span 8; }
.cta-band > div { grid-column: 10 / -1; justify-self: end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(72px, 9vw, 128px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 48px; }
.footer-about { grid-column: 1 / span 4; }
.footer-about p { color: var(--muted-on-ink); font-size: 15.5px; margin-top: 24px; max-width: 24em; }
.footer-col { grid-column: span 2; }
.footer-col--wide { grid-column: span 3; }
.footer-col h2 { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-on-ink); margin-bottom: 20px; }
:root[lang="ar"] .footer-col h2 { font-family: var(--f-body); letter-spacing: 0; font-size: 13px; font-weight: 600; }
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-col address { font-size: 15.5px; font-style: normal; color: rgba(243, 240, 232, 0.86); line-height: 1.6; }
.footer-col a:hover { color: var(--yellow); }
.footer-col .small { display: block; font-size: 13px; color: var(--muted-on-ink); }
.footer-mark { margin-top: clamp(72px, 9vw, 128px); color: #1d1d1a; }
.footer-mark svg { width: 100%; height: auto; }
.footer-base { position: relative; border-top: 1px solid var(--line-on-ink); }
.footer-base .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 22px; font-size: 13.5px; color: var(--muted-on-ink); }
.footer-base a:hover { color: var(--yellow); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: flex; align-items: center; background: var(--ink); color: var(--paper); padding-top: var(--header-h); }
.nf .h1 { margin-top: 24px; }
.nf .lead { margin-top: 20px; }
.nf .hero__actions { margin-top: 36px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.1s; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .suite { grid-template-columns: repeat(3, 1fr); }
  .suite__item:nth-child(4) { border-inline-start: 0; }
  .suite__item:nth-child(n + 4) { border-top: 1px solid var(--line-on-ink); }
  .suite__item { min-height: 300px; }
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clients .client--cta { grid-column: span 3; aspect-ratio: auto; }
  .cells { grid-template-columns: repeat(2, 1fr); }
  .cell:not(:nth-child(4n + 1)) { padding-inline-start: 0; border-inline-start: 0; }
  .cell:nth-child(2n) { padding-inline-start: clamp(16px, 1.8vw, 28px); border-inline-start: 1px solid var(--line); }
  .footer-about { grid-column: 1 / -1; }
  .footer-col, .footer-col--wide { grid-column: span 3; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav, .header-tools .btn, .header-tools .lang { display: none; }
  .menu-btn { display: block; }
  .header-tools { margin-inline-start: auto; }
  .hero__copy { grid-column: 1 / -1; padding-bottom: 48px; }
  .hero__panel { grid-column: 1 / -1; min-height: 0; aspect-ratio: auto; margin-bottom: 56px; gap: 40px; }
  .hero__panel-mark { max-width: 420px; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line-on-ink); }
  .sec-head > .h2, .sec-head--stack > .h2 { grid-column: 1 / -1; }
  .sec-head > .sec-head__aside { grid-column: 1 / -1; margin-top: 24px; }
  .page-hero__row > :first-child, .page-hero__row > :last-child { grid-column: 1 / -1; }
  .page-hero__row > :last-child { margin-top: 32px; }
  .intro__label, .intro__body, .col-a, .col-b, .col-a4, .col-b6 { grid-column: 1 / -1; }
  .col-b, .col-b6 { margin-top: 40px; }
  .intro__label { margin-bottom: 24px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars > div + div { border-top: 1px solid var(--line); margin-top: 24px; }
  .row { grid-template-columns: 48px 1fr; row-gap: 10px; }
  .row .num { grid-column: 1; }
  .row h3, .row p, .row .tags { grid-column: 2; }
  .row .tags { justify-self: start; text-align: start; }
  a.row .arr-cell { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .work, .work--flip { row-gap: 24px; }
  .work__media, .work--flip .work__media, .work__meta, .work--flip .work__meta { grid-column: 1 / -1; order: 0; }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients .client--cta { grid-column: auto; aspect-ratio: 4 / 3; }
  .pay__copy, .pay__panel, .pay__by { grid-column: 1 / -1; }
  .pay__by { margin-top: -24px; }
  .case__title, .case__body { grid-column: 1 / -1; }
  .plans, .addons { grid-template-columns: 1fr; }
  .calc__form, .calc__summary { grid-column: 1 / -1; }
  .recog__media, .recog__body { grid-column: 1 / -1; }
  .recog__media { margin-bottom: 48px; }
  .recog__media .duo { aspect-ratio: 16 / 10; }
  .hub { grid-template-columns: 1fr; gap: 14px; }
  .hub__core { margin: 10px 0; order: -1; }
  .hub__side--l .hub__node::after, .hub__side--r .hub__node::before { display: none; }
  .contact__intro, .contact__form { grid-column: 1 / -1; }
  .cta-band .h2, .cta-band > div { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .suite { grid-template-columns: 1fr; }
  .suite__item + .suite__item { border-inline-start: 0; border-top: 1px solid var(--line-on-ink); }
  .suite__item { min-height: 0; }
  .suite__desc { padding-top: 20px; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case__body dl { grid-template-columns: 1fr 1fr; }
  .client figcaption { opacity: 1; transform: none; position: static; margin-top: 8px; }
  .client { display: flex; flex-direction: column; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .cells, .checks { grid-template-columns: 1fr; }
  .cell:nth-child(2n) { padding-inline-start: 0; border-inline-start: 0; }
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .plan__spec { grid-template-columns: 1fr 1fr 1fr; }
  .plan-table thead { display: none; }
  .plan-table tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line-on-ink); padding: 16px 0; }
  .plan-table th, .plan-table td { border: 0; padding: 2px 0 !important; }
  .plan-table td:not(.price) { grid-column: 1 / -1; color: var(--muted-on-ink); font-size: 14.5px; }
  .plan-table td.price { grid-row: 1; grid-column: 2; }
  .gallery .duo { grid-column: 1 / -1; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .footer-col, .footer-col--wide { grid-column: 1 / -1; }
  .contact__direct div { grid-template-columns: 1fr; gap: 2px; }
  .storage-bar span { font-size: 11px; padding: 6px; }
  .hero__actions .btn { width: 100%; }
}

@media print {
  .site-header, .mobile-menu, .footer-mark { display: none; }
  .hero, .page-hero, .sec--ink, .sec--ink2, .site-footer { background: #fff !important; color: #000 !important; }
}
