/* ALSAMANI — site styles
   Layout concept: a restrained editorial page. Ivory paper, charcoal ink,
   brass used only for hairlines, numerals and small labels. Square corners,
   wide margins, hairline rules in stone. One fixed look by design. */

:root {
  --charcoal: #141714;
  --ivory: #F4F0E7;
  --brass: #B39A68;
  --stone: #D8D1C4;

  --paper: var(--ivory);
  --paper-2: #EDE8DD;        /* alternate band */
  --ink: var(--charcoal);
  --ink-2: #4A4D48;          /* secondary text on paper */
  --ink-3: #6B6E68;          /* captions on paper */
  --rule: var(--stone);
  --accent: var(--brass);
  --accent-text: #6E5D39;    /* brass darkened for small text on paper */
  --on-ink: var(--ivory);
  --on-ink-2: #C9C3B6;       /* secondary text on charcoal */
  --error: #8A2E24;
  --ok: #3E5A3B;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --measure: 64ch;
  --wrap: 1120px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 72px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin: 0; }
p + p { margin-top: 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}
.skip {
  position: absolute; left: var(--gutter-l); top: -100px;
  background: var(--ink); color: var(--on-ink);
  padding: 0.6em 1em; z-index: 100; font-size: 14px;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.measure { max-width: var(--measure); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; }

/* Eyebrow label: brass hairline + letter-spaced caps */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.band--ink .eyebrow { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.8em 1.5em;
  font: 500 0.8125rem/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink);
  cursor: pointer; border-radius: 0; transition: background 120ms ease, color 120ms ease;
}
.btn:hover { background: #2A2E2A; border-color: #2A2E2A; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--paper-2); }
.band--ink .btn { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.band--ink .btn:hover { background: #C6AF7E; border-color: #C6AF7E; }
.band--ink .btn--ghost { background: transparent; color: var(--on-ink); border-color: var(--on-ink-2); }
.band--ink .btn--ghost:hover { background: rgba(244,240,231,0.08); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper); border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand__mark { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.2em; }
.brand__desc { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav a { text-decoration: none; font-size: 0.875rem; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--ink); color: var(--ink);
  min-height: 44px; min-width: 44px; padding: 0 14px; font: 500 0.8125rem var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: fixed; left: 0; right: 0; bottom: 0;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    background: var(--ink); color: var(--on-ink); overflow-y: auto; z-index: 19;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 24px var(--gutter-r) 40px var(--gutter-l); }
  .site-nav a {
    display: block; padding: 14px 0; border-bottom: 1px solid rgba(244,240,231,0.14);
    font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; line-height: 1.1; color: var(--on-ink);
  }
  .site-nav a:hover { border-bottom-color: var(--accent); }
  .site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: rgba(244,240,231,0.14); padding-left: 14px; box-shadow: inset 3px 0 0 var(--accent); }
}

/* Bands */
.band { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band--stone { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--on-ink); }
.band--ink .lead, .band--ink .muted { color: var(--on-ink-2); }
.band + .band { border-top: 1px solid var(--rule); }
.band--ink + .band, .band + .band--ink { border-top: 0; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { max-width: 20ch; }
.section-head p { margin-top: 1rem; }

/* Hero */
.hero { padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 7vw, 6rem); }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 56ch; margin-top: 1.5rem; }
.hero--page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.crumbs { font-size: 0.8125rem; color: var(--on-ink-2); margin-bottom: 1.5rem; }
.crumbs a { color: inherit; }

/* Split hero: charcoal text panel with a brass inset frame, photo beside it */
.hero--split { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 0; }
.hero-panel { position: relative; padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem) 0; }
.hero-panel::before {
  content: ""; position: absolute; inset: 0 0 0 -16px; pointer-events: none;
  border: 1px solid rgba(179, 154, 104, 0.45);
}
.hero-panel > * { position: relative; }
.hero-panel h1 { max-width: 12ch; }
.hero-panel .lead { max-width: 48ch; margin-top: 1.5rem; }
.hero-photo { height: 100%; min-height: 360px; position: relative; }
.hero-photo img { height: 100%; }
.hero-photo::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(244,240,231,0.28); pointer-events: none; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { padding: clamp(2rem, 6vw, 3rem) 0 2rem; }
  .hero-panel::before { inset: -12px -12px 12px -12px; border-width: 0; }
  .hero-photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* Evidence-rule box */
.rule-box { margin-top: 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--rule); max-width: 72ch; }
.rule-box p + p { margin-top: 0.75rem; color: var(--ink-2); }
.rule-box .eyebrow { margin-bottom: 0.9rem; }

/* Photo slots. A missing file renders as a stone panel, never a broken icon. */
.photo { margin: 0; background: var(--stone); position: relative; overflow: hidden; max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--16x9 { aspect-ratio: 16 / 9; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--3x4 { aspect-ratio: 3 / 4; }
.photo--21x9 { aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .photo--21x9 { aspect-ratio: 16 / 10; } }
.photo--pending { background: linear-gradient(135deg, var(--stone) 0%, #CFC6B6 100%); }
.photo--pending::after {
  content: ""; position: absolute; left: 24px; bottom: 24px; width: 40px; height: 2px; background: var(--accent);
}
.band--ink .photo { background: #26292A; }
.band--ink .photo--pending { background: linear-gradient(135deg, #26292A 0%, #1C1F1E 100%); }
.photo-credit { font-size: 0.75rem; color: var(--ink-3); margin-top: 0.5rem; }
.band--ink .photo-credit { color: var(--on-ink-2); }

/* Split layout */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Service areas list (01–07) */
.areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.areas li { border-bottom: 1px solid var(--rule); }
.areas a, .areas .area {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px 24px; align-items: start;
  padding: 1.4rem 0; text-decoration: none; color: inherit;
}
.areas a { position: relative; }
.areas a::after { content: "\2192"; position: absolute; right: 0; top: 1.5rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity 160ms ease, transform 160ms ease; }
.areas a:hover::after, .areas a:focus-visible::after { opacity: 1; transform: none; }
.areas a:hover .area__title { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
@media (max-width: 600px) { .areas a::after { display: none; } }
.area__num { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--accent-text); line-height: 1; font-variant-numeric: tabular-nums; padding-top: 2px; }
.area__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.area__desc { color: var(--ink-2); margin-top: 0.35rem; max-width: var(--measure); }
.areas .area__count { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.5rem; }
@media (max-width: 600px) {
  .areas a, .areas .area { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 16px; }
  .area__num { font-size: 1.6rem; }
  .area__title { font-size: 1.3rem; }
}

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { border-top: 2px solid var(--accent); padding-top: 1rem; min-width: 0; }
.steps .step__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent-text); letter-spacing: 0.05em; font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 0.4rem; font-size: 1.4rem; }
.steps p { margin-top: 0.6rem; color: var(--ink-2); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Simple column grids */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cols > * { min-width: 0; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .cols, .cols--2 { grid-template-columns: 1fr; } }
.col h3 { font-size: 1.4rem; }
.col p { margin-top: 0.6rem; color: var(--ink-2); }

/* Plain lists */
.list { margin: 1.25rem 0 0; padding-left: 1.2em; }
.list li { margin: 0.35em 0; }
.list--bare { list-style: none; padding: 0; }
.list--bare li { padding: 0.6em 0; border-top: 1px solid var(--rule); }
.list--bare li:last-child { border-bottom: 1px solid var(--rule); }

/* Services page */
.jump { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 1.25rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 0.875rem; }
.jump a { text-decoration: none; display: inline-flex; gap: 8px; align-items: baseline; padding: 4px 0; }
.jump a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.jump .n { font-family: var(--font-display); color: var(--accent-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.group { scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px); }
.group__head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px 24px; align-items: start; margin-bottom: 1.5rem; }
.group__head .area__num { font-size: 2.4rem; }
.group__head p { color: var(--ink-2); margin-top: 0.5rem; max-width: var(--measure); }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--rule); }
.services li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.services h3 { font-size: 1.3rem; }
.services p { margin-top: 0.4rem; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .group__head { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 16px; }
  .group__head .area__num { font-size: 1.8rem; }
}
.group__foot { margin-top: 1.5rem; }

/* Definition rows (brief points, facts) */
.defs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--rule); }
.defs > div { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.defs dt { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.defs dd { margin: 0.35rem 0 0; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 760px) { .defs { grid-template-columns: 1fr; } }

/* Hypothetical enquiry cases */
.case { border: 1px solid var(--rule); padding: clamp(1.25rem, 3vw, 2rem); min-width: 0; }
.case__label { display: inline-block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--accent-text); border: 1px solid var(--accent); padding: 4px 8px; margin-bottom: 1rem; }
.case h3 { font-size: 1.5rem; }
.case dl { margin: 1.25rem 0 0; }
.case dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-top: 1rem; }
.case dd { margin: 0.25rem 0 0; color: var(--ink-2); font-size: 0.95rem; }
.note { border-left: 2px solid var(--accent); padding-left: 1rem; color: var(--ink-2); font-size: 0.95rem; margin-top: 2rem; max-width: var(--measure); }

/* Facts strip (About) */
.facts { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts li { border-top: 1px solid var(--rule); padding-top: 0.9rem; min-width: 0; }
.facts .k { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.facts .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-top: 0.3rem; line-height: 1.15; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* Contact channels */
.channels { list-style: none; margin: 0; padding: 0; counter-reset: ch; border-top: 1px solid var(--rule); }
.channels li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px 20px; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.channels .n { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-text); line-height: 1; padding-top: 4px; font-variant-numeric: tabular-nums; }
.channels .k { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.channels .v { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.15; margin-top: 0.2rem; overflow-wrap: anywhere; }
.channels .v a { text-decoration: none; }
.channels .v a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.8rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--ink); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.chip:hover { background: var(--ink); color: var(--on-ink); }

/* Form */
.form { margin-top: 1rem; }
.field { margin-top: 1.25rem; }
.field label, .field .legend { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.4rem; }
.field .hint { display: block; font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 0.45rem; }
.req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7em 0.9em; font: 1rem var(--font-body); color: var(--ink);
  background: #FBF9F4; border: 1px solid #B9B2A4; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: var(--accent-text); }
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: var(--error); }
.field .err { display: none; font-size: 0.8125rem; color: var(--error); margin-top: 0.35rem; }
.field[data-invalid="true"] .err { display: block; }
.fields-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.fields-2 > * { min-width: 0; }
@media (max-width: 640px) { .fields-2 { grid-template-columns: 1fr; } }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.form__use { font-size: 0.8125rem; color: var(--ink-3); margin-top: 1rem; max-width: var(--measure); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.status { border: 1px solid var(--rule); border-left: 3px solid var(--accent); padding: 1rem 1.25rem; margin-top: 1.5rem; background: #FBF9F4; }
.status[data-tone="error"] { border-left-color: var(--error); }
.status[data-tone="ok"] { border-left-color: var(--ok); }
.status[data-tone="wait"] { border-left-color: var(--ink-3); }
.status .t { font-weight: 600; }
.status p + p { margin-top: 0.5rem; }
.status .small { color: var(--ink-2); }

.brief-out { margin-top: 1.5rem; }
.brief-out label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.4rem; }
.brief-out textarea { width: 100%; min-height: 260px; padding: 0.9em 1em; font: 0.9rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); background: #FBF9F4; border: 1px solid #B9B2A4; border-radius: 0; resize: vertical; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.18em; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 1.1fr 1.1fr; gap: 40px 32px; }
.foot-grid > * { min-width: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand__mark { color: var(--on-ink); }
.foot-brand .brand__desc { color: var(--on-ink-2); }
.foot-brand p { color: var(--on-ink-2); margin-top: 1rem; font-size: 0.9rem; max-width: 36ch; }
.foot-h { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.9rem; font-weight: 600; }
.foot-list { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.foot-list li { padding: 0.3rem 0; }
.foot-contact { list-style: none; margin: 0; padding: 0; counter-reset: fc; }
.foot-contact li { padding: 0.5rem 0; border-top: 1px solid rgba(244,240,231,0.14); }
.foot-contact .k { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink-2); }
.foot-contact .v { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; overflow-wrap: anywhere; }
.foot-contact .ways { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.8rem; color: var(--on-ink-2); margin-top: 0.2rem; }
.foot-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(244,240,231,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.8125rem; color: var(--on-ink-2); }

/* ------------------------------------------------------------------ Arabic / RTL
   Amiri carries the display role, IBM Plex Sans Arabic the body. Letter-spacing and
   uppercase devices are switched off: they break Arabic letterforms. */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.site-nav li.lang a { color: var(--accent-text); }
[dir="rtl"] {
  --font-display: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
  --font-body: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
[dir="rtl"] h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
[dir="rtl"] .hero--page h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
[dir="rtl"] .hero-panel h1 { max-width: 16ch; }
[dir="rtl"] .hero-panel .lead, [dir="rtl"] .hero .lead { max-width: 60ch; }
[dir="rtl"] .eyebrow, [dir="rtl"] .btn, [dir="rtl"] .chip, [dir="rtl"] .foot-h, [dir="rtl"] .brand__desc,
[dir="rtl"] .areas .area__count, [dir="rtl"] .case__label, [dir="rtl"] .case dt, [dir="rtl"] .facts .k,
[dir="rtl"] .channels .k, [dir="rtl"] .foot-contact .k, [dir="rtl"] .nav-toggle {
  letter-spacing: 0; text-transform: none;
}
[dir="rtl"] .eyebrow { font-size: 0.85rem; }
[dir="rtl"] .btn { font-size: 0.95rem; font-weight: 500; }
[dir="rtl"] .chip { font-size: 0.9rem; }
[dir="rtl"] .brand__mark { letter-spacing: 0; font-size: 1.7rem; line-height: 1.2; }
[dir="rtl"] .brand__mark--ar { font-family: "Amiri", "Noto Naskh Arabic", serif; }
[dir="rtl"] .brand__desc { font-size: 0.8rem; }
[dir="rtl"] .site-nav a { font-size: 0.95rem; }
[dir="rtl"] .area__title, [dir="rtl"] .services h3, [dir="rtl"] .defs dt, [dir="rtl"] .col h3, [dir="rtl"] .steps h3 { line-height: 1.35; }
[dir="rtl"] .area__num, [dir="rtl"] .step__num, [dir="rtl"] .channels .n, [dir="rtl"] .jump .n { font-family: var(--font-display); }
[dir="rtl"] .hero-panel { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
[dir="rtl"] .hero-panel::before { inset: 0 -16px 0 0; }
[dir="rtl"] .areas a::after { content: "\2190"; right: auto; left: 0; transform: translateX(6px); }
[dir="rtl"] .site-nav a[aria-current="page"] { padding-left: 0; padding-right: 14px; box-shadow: inset -3px 0 0 var(--accent); }
[dir="rtl"] .note { border-left: 0; border-right: 2px solid var(--accent); padding-left: 0; padding-right: 1rem; }
[dir="rtl"] .status { border-left: 1px solid var(--rule); border-right: 3px solid var(--accent); }
[dir="rtl"] .status[data-tone="error"] { border-right-color: var(--error); }
[dir="rtl"] .status[data-tone="ok"] { border-right-color: var(--ok); }
[dir="rtl"] .status[data-tone="wait"] { border-right-color: var(--ink-3); }
[dir="rtl"] .skip { left: auto; right: var(--gutter-r); }
[dir="rtl"] .photo--pending::after { left: auto; right: 24px; }
[dir="rtl"] .field select { background-position: 20px 50%, 14px 50%; padding-right: 0.9em; padding-left: 40px; }
[dir="rtl"] .list { padding-left: 0; padding-right: 1.2em; }
[dir="rtl"] .brief-out textarea { font-family: var(--font-body); font-size: 0.95rem; }
[dir="rtl"] .foot-contact .v, [dir="rtl"] .channels .v { font-family: var(--font-body); font-weight: 600; }
@media (max-width: 860px) {
  [dir="rtl"] .hero-panel { padding: clamp(2rem, 6vw, 3rem) 0 2rem; }
  [dir="rtl"] .hero-panel::before { inset: -12px -12px 12px -12px; border-width: 0; }
  [dir="rtl"] .site-nav a { font-size: 1.7rem; }
}

/* ------------------------------------------------------------------ Cinematic landing
   Tokens lifted from the supplied imagery: deep black #060605 / #0d0c0a, bronze #a27b4f,
   light gold #d9af7d, highlight #e9cca0. Brass stays the accent; these are the backdrop. */
:root {
  --cine-black: #060605;
  --cine-black-2: #0d0c0a;
  --bronze: #A27B4F;
  --gold: #D9AF7D;
  --gold-light: #E9CCA0;
}
.cine {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--cine-black); color: var(--on-ink);
  min-height: min(92svh, 980px);
  display: grid; align-items: end;
  padding-block: clamp(5rem, 12vw, 9rem) clamp(4rem, 9vw, 7rem);
  perspective: 1200px;
}
.cine__bg { position: absolute; inset: -6% -4%; z-index: -3; will-change: transform; transform: translate3d(0,0,0) scale(1.04); }
.cine__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; animation: cine-drift 28s ease-in-out infinite alternate; }
@keyframes cine-drift { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.06) translate3d(-1.5%, 1%, 0); } }
.cine__haze {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,6,5,0.94) 0%, rgba(6,6,5,0.78) 36%, rgba(6,6,5,0.25) 68%, rgba(6,6,5,0.45) 100%),
    linear-gradient(180deg, rgba(6,6,5,0.55) 0%, rgba(6,6,5,0) 30%, rgba(6,6,5,0.2) 70%, rgba(6,6,5,0.92) 100%);
}
.cine__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(217,175,125,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(217,175,125,0.08) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 60%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 60%, #000 0%, transparent 70%);
}
.cine__wrap { width: 100%; }
.cine__panel { max-width: 640px; transform-style: preserve-3d; will-change: transform; }
.cine .eyebrow { color: var(--gold); }
.cine .eyebrow::before { background: var(--gold); }
.cine__title { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.0; color: var(--gold-light); text-shadow: 0 2px 40px rgba(0,0,0,0.6); }
.cine__line { display: block; opacity: 0; transform: translateY(18px); animation: cine-rise 900ms cubic-bezier(.2,.7,.2,1) forwards; }
.cine__line:nth-child(2) { animation-delay: 140ms; }
.cine__lead { color: var(--on-ink-2); margin-top: 1.5rem; max-width: 52ch; opacity: 0; animation: cine-rise 900ms 320ms cubic-bezier(.2,.7,.2,1) forwards; }
.cine .btn-row { opacity: 0; animation: cine-rise 900ms 480ms cubic-bezier(.2,.7,.2,1) forwards; }
.cine .btn { background: var(--gold); border-color: var(--gold); color: var(--cine-black); }
.cine .btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.cine .btn--ghost { background: transparent; color: var(--gold-light); border-color: rgba(233,204,160,0.5); }
.cine .btn--ghost:hover { background: rgba(233,204,160,0.1); }
@keyframes cine-rise { to { opacity: 1; transform: none; } }

/* Four-step "trail": a bronze hairline that draws itself under the hero */
.cine__trail {
  list-style: none; margin: 2.75rem 0 0; padding: 1.25rem 0 0; position: relative;
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem;
  font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-2);
  opacity: 0; animation: cine-rise 900ms 640ms cubic-bezier(.2,.7,.2,1) forwards;
}
.cine__trail::before { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--gold), transparent); animation: cine-draw 1400ms 800ms cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes cine-draw { to { width: 100%; } }
.cine__trail .n { font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; margin-inline-end: 0.5rem; font-variant-numeric: tabular-nums; }
.cine__scroll {
  position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; text-decoration: none;
}
.cine__scroll span { width: 1px; height: 28px; background: var(--gold); display: block; animation: cine-bob 1.8s ease-in-out infinite; }
@keyframes cine-bob { 0%, 100% { transform: translateY(0); opacity: 0.9; } 50% { transform: translateY(8px); opacity: 0.4; } }
@media (max-width: 860px) {
  .cine { min-height: min(88svh, 820px); align-items: end; }
  .cine__bg img { object-position: 62% 50%; }
  .cine__haze { background: linear-gradient(180deg, rgba(6,6,5,0.35) 0%, rgba(6,6,5,0.15) 30%, rgba(6,6,5,0.78) 58%, rgba(6,6,5,0.96) 100%); }
  .cine__title { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .cine__grid { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cine__bg img, .cine__scroll span { animation: none; }
  .cine__line, .cine__lead, .cine .btn-row, .cine__trail { opacity: 1; transform: none; animation: none; }
  .cine__trail::before { width: 100%; animation: none; }
}

/* Photo strip: edge-to-edge, horizontal scroll with snap, slow auto-drift on desktop */
.strip { padding-block: 0; overflow: hidden; border-top: 1px solid rgba(217,175,125,0.18); }
.strip__track { display: flex; gap: 10px; padding: 10px 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.strip__track::-webkit-scrollbar { display: none; }
.strip__track .photo { flex: 0 0 36vw; min-width: 280px; max-width: 560px; scroll-snap-align: start; background: #141311; }
.strip__track .photo img { filter: saturate(0.92) contrast(1.04); transition: transform 600ms ease; }
.strip__track .photo:hover img { transform: scale(1.03); }
@media (max-width: 700px) { .strip__track .photo { flex-basis: 80vw; min-width: 0; } }

/* Framed photo (bespoke band) */
.photo--frame { position: relative; }
.photo--frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(179,154,104,0.55); pointer-events: none; }

/* RTL adjustments for the landing */
[dir="rtl"] .cine__haze { background:
    linear-gradient(270deg, rgba(6,6,5,0.94) 0%, rgba(6,6,5,0.78) 36%, rgba(6,6,5,0.25) 68%, rgba(6,6,5,0.45) 100%),
    linear-gradient(180deg, rgba(6,6,5,0.55) 0%, rgba(6,6,5,0) 30%, rgba(6,6,5,0.2) 70%, rgba(6,6,5,0.92) 100%); }
[dir="rtl"] .cine__bg img { object-position: 28% 55%; transform: scaleX(-1); }
[dir="rtl"] .cine__bg img { animation-name: cine-drift-rtl; }
@keyframes cine-drift-rtl { from { transform: scaleX(-1) scale(1); } to { transform: scaleX(-1) scale(1.06) translate3d(-1.5%, 1%, 0); } }
[dir="rtl"] .cine__grid { mask-image: radial-gradient(ellipse 70% 60% at 70% 60%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 60%, #000 0%, transparent 70%); }
[dir="rtl"] .cine__title { line-height: 1.2; font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
[dir="rtl"] .cine__trail { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
[dir="rtl"] .cine__trail::before { background: linear-gradient(270deg, var(--gold), transparent); right: 0; left: auto; }
@media (max-width: 860px) {
  [dir="rtl"] .cine__haze { background: linear-gradient(180deg, rgba(6,6,5,0.35) 0%, rgba(6,6,5,0.15) 30%, rgba(6,6,5,0.78) 58%, rgba(6,6,5,0.96) 100%); }
  [dir="rtl"] .cine__bg img { object-position: 38% 50%; }
}

/* Photo band: a dark band with a photograph behind the text */
.band--photo { position: relative; overflow: hidden; isolation: isolate; }
.band--photo .band__bg { position: absolute; inset: 0; z-index: -1; }
.band--photo .band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: brightness(0.42) saturate(0.85); }
.band--photo .band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,5,0.75), rgba(6,6,5,0.25)); }
[dir="rtl"] .band--photo .band__bg::after { background: linear-gradient(270deg, rgba(6,6,5,0.75), rgba(6,6,5,0.25)); }
/* Landing: object position tuned for the floodlit field */
.cine__bg img { object-position: 60% 45%; }
[dir="rtl"] .cine__bg img { object-position: 40% 45%; }
@media (max-width: 860px) { .cine__bg img { object-position: 55% 45%; } [dir="rtl"] .cine__bg img { object-position: 45% 45%; } }

/* Wordmark: SA in brass, the rest in the surrounding ink */
.brand__sa { color: var(--accent-text); }
.site-footer .brand__sa, .band--ink .brand__sa, .cine .brand__sa { color: var(--accent); }

/* ------------------------------------------------------------------ Brand assets (Gemini logo, cut into parts) */
.brand { flex-direction: row; align-items: center; gap: 14px; }
.brand__logo { width: 52px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand__wordmark { width: 190px; height: auto; display: block; }
.brand__wordmark--ar { width: 112px; }
.brand__logo--rtl { transform: scaleX(-1); }
@media (max-width: 480px) { .brand__logo { width: 42px; } .brand__wordmark { width: 150px; } .brand__wordmark--ar { width: 92px; } .brand__desc { display: none; } }
.foot-logo { width: 220px; height: auto; display: block; margin-bottom: 1rem; }
.cine__mark { width: 84px; height: auto; margin-bottom: 1.5rem; opacity: 0; animation: cine-rise 900ms cubic-bezier(.2,.7,.2,1) forwards; }
.cine__mark--rtl { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .cine__mark { opacity: 1; animation: none; } }
@media (max-width: 860px) { .cine__mark { width: 64px; } }

/* Dark photo heroes on the inner pages: same treatment as the Home closing band */
.hero--photo { color: var(--on-ink); padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 7vw, 5rem); }
.hero--photo .lead { color: var(--on-ink-2); }
.hero--photo h1 { color: var(--gold-light); text-shadow: 0 2px 30px rgba(0,0,0,0.55); }
.hero--photo .eyebrow { color: var(--gold); }
.hero--photo .eyebrow::before { background: var(--gold); }
.hero--photo .jump { border-color: rgba(244,240,231,0.18); color: var(--on-ink); }
.hero--photo .jump .n { color: var(--gold); }
.hero--photo .jump a:hover { text-decoration-color: var(--gold); }
.hero--photo .photo { box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.band--photo .band__bg img { filter: brightness(0.38) saturate(0.8); }
.hero--photo .band__bg img { object-position: center 55%; }
/* Keep the page from feeling like one long dark slab: the ivory band right after a dark hero keeps its top rule off */
.hero--photo + .band { border-top: 0; }
/* Closing bands: brass CTA stays, ghost CTA takes ivory outline */
.band--photo .btn--ghost { border-color: rgba(244,240,231,0.55); color: var(--on-ink); }
.band--photo .btn--ghost:hover { background: rgba(244,240,231,0.1); }

/* Areas-of-work tiles (About) */
.photo--4x5 { aspect-ratio: 4 / 5; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; counter-reset: tile; }
.tiles .tile { min-width: 0; position: relative; }
.tiles .photo img { filter: saturate(0.9); transition: transform 600ms ease; }
.tiles .tile:hover .photo img { transform: scale(1.03); }
.tile__num { display: block; margin-top: 0.9rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.tiles h3 { font-size: 1.25rem; margin-top: 0.2rem; }
.tiles p { margin-top: 0.4rem; color: var(--ink-2); font-size: 0.92rem; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .tiles { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter-l) var(--gutter-r); scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles .tile { flex: 0 0 72vw; scroll-snap-align: start; }
}
[dir="rtl"] .tile__num { font-family: var(--font-display); }

/* ------------------------------------------------------------------ Japanese / Chinese typography */
:lang(ja) { --font-display: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }
:lang(zh-Hant-HK), :lang(zh) { --font-display: "Noto Serif TC", "PingFang HK", "Microsoft JhengHei", serif; --font-body: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif; }
:lang(ja) body, :lang(zh) body, :lang(zh-Hant-HK) body { line-height: 1.85; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh-Hant-HK) h1, :lang(zh-Hant-HK) h2, :lang(zh-Hant-HK) h3 { letter-spacing: 0.02em; line-height: 1.35; font-weight: 600; }
:lang(ja) h1, :lang(zh-Hant-HK) h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
:lang(ja) .cine__title, :lang(zh-Hant-HK) .cine__title { font-size: clamp(2.1rem, 5.2vw, 4.2rem); line-height: 1.25; }
:lang(ja) .eyebrow, :lang(ja) .btn, :lang(ja) .chip, :lang(ja) .foot-h, :lang(ja) .brand__desc, :lang(ja) .cine__trail, :lang(ja) .case dt, :lang(ja) .facts .k, :lang(ja) .channels .k, :lang(ja) .foot-contact .k,
:lang(zh-Hant-HK) .eyebrow, :lang(zh-Hant-HK) .btn, :lang(zh-Hant-HK) .chip, :lang(zh-Hant-HK) .foot-h, :lang(zh-Hant-HK) .brand__desc, :lang(zh-Hant-HK) .cine__trail, :lang(zh-Hant-HK) .case dt, :lang(zh-Hant-HK) .facts .k, :lang(zh-Hant-HK) .channels .k, :lang(zh-Hant-HK) .foot-contact .k { letter-spacing: 0.06em; text-transform: none; }
:lang(ja) .btn, :lang(zh-Hant-HK) .btn { font-size: 0.9rem; }
:lang(ja) .area__title, :lang(zh-Hant-HK) .area__title { font-size: 1.35rem; }
:lang(ja) .hero-panel h1, :lang(zh-Hant-HK) .hero-panel h1 { max-width: 18ch; }
.site-nav li.lang + li.lang { margin-inline-start: -12px; }
@media (max-width: 860px) { .site-nav li.lang + li.lang { margin-inline-start: 0; } }

/* ---- film ---- */
.film .wrap{max-width:1180px}
.film__h{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:clamp(1.7rem,3.2vw,2.8rem);line-height:1.15;color:var(--ivory,#F4F0E7);margin:.4rem 0 1.4rem;max-width:22ch}
.film__frame{position:relative;aspect-ratio:16/9;background:#060605;border:1px solid rgba(179,154,104,.45);overflow:hidden}
.film__video{display:block;width:100%;height:100%;object-fit:cover;background:#060605}
.film__play{position:absolute;inset:0;width:100%;height:100%;border:0;background:linear-gradient(180deg,rgba(6,6,5,.05),rgba(6,6,5,.45));cursor:pointer;display:grid;place-items:center;transition:opacity .35s ease}
.film__play span{width:92px;height:92px;border-radius:50%;border:1px solid rgba(233,204,160,.85);display:grid;place-items:center;background:rgba(6,6,5,.35);backdrop-filter:blur(4px)}
.film__play span::after{content:"";display:block;width:0;height:0;border-style:solid;border-width:14px 0 14px 24px;border-color:transparent transparent transparent #E9CCA0;transform:translateX(3px)}
[dir="rtl"] .film__play span::after{transform:translateX(3px)}
.film__play:hover span{background:rgba(179,154,104,.25)}
.film__frame.is-playing .film__play{opacity:0;pointer-events:none}
.film__p{color:var(--stone,#D8D1C4);max-width:62ch;margin:1.2rem 0 .4rem;font-size:1.02rem;line-height:1.6}
.film__dl a{color:#E9CCA0;text-decoration:none;border-bottom:1px solid rgba(179,154,104,.6);font-size:.92rem;letter-spacing:.04em}
.film__dl a:hover{border-bottom-color:#E9CCA0}
@media (max-width:700px){.film__play span{width:68px;height:68px}}
