/* ============================================================
   FAISAL ARTS — Heritage Premium Design System
   Est. 1982 · Abu Dhabi
   ============================================================ */

:root {
  /* Three brand colours sampled from the logo artwork (LOGO-NEW.PNG):
     cream ground, near-black letterform, champagne curl. */

  /* Cream family — the page's own ground */
  --ink: #F9F4EA;
  --coal: #F4EEE0;
  --surface: #FCF9F1;
  --surface-2: #F1EADB;
  --line-dark: rgba(204, 176, 141, 0.48);
  --line-soft: rgba(24, 21, 16, 0.10);

  /* Near-black — headings on cream, and the inverted feature bands */
  --paper: #181510;
  --paper-2: #221E18;
  --line-light: rgba(249, 244, 234, 0.16);

  /* Champagne — sampled from the curl inside the monogram (#CCB08D).
     That value is only ~1.9:1 on cream, so it is used for fills, rules and
     large display type only; --accent-lo carries anything small. */
  --accent: #CCB08D;
  --accent-hi: #E0CBAB;
  --accent-lo: #7D6544;
  --accent-grad: linear-gradient(115deg, #E0CBAB 0%, #CCB08D 55%, #8A6E45 100%);

  --text-main: #1F1B14;
  --muted-main: #6E6557;
  --text-inv: #F9F4EA;
  --muted-inv: #B0A794;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  /* Type */
  --font-display: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Rhythm */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 140px;
  --container: 1200px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur-med: 400ms;
  --dur-slow: 800ms;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--ink);
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--ink);
  padding: 10px 18px; z-index: 2000; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* ---------- Utility type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-lo);
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--accent);
  opacity: 0.8;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 52px);
  margin-top: var(--space-2);
  color: var(--paper);
}
.on-ink .section-title { color: var(--text-inv); }

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted-main);
  max-width: 62ch;
  margin-top: var(--space-3);
}
.on-ink .lede { color: var(--muted-inv); }
.on-ink .eyebrow, .on-ink .quote-block cite { color: var(--muted-inv); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn:hover { box-shadow: 0 10px 24px rgba(24, 21, 16, 0.10); }
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
  z-index: -1;
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn:active { transform: scale(0.98); }

.btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--solid::after { background: var(--accent); }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--ink); border-color: var(--accent); }

.on-ink .btn { border-color: var(--accent-hi); color: var(--text-inv); }
.on-ink .btn::after { background: var(--accent-hi); }
.on-ink .btn:hover, .on-ink .btn:focus-visible { color: var(--paper); }
.on-ink .btn--solid { background: var(--text-inv); color: var(--paper); border-color: var(--text-inv); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-lo);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.text-link .arr { transition: transform var(--dur-fast) var(--ease-out); }
.text-link:hover .arr { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(249, 244, 234, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 18px;
  transition: padding var(--dur-med) var(--ease-out);
}
.site-header.scrolled .header-inner { padding-block: 12px; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: auto;
  height: 46px;
  filter: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent-lo);
  margin-top: 5px;
}

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted-main);
  padding: 10px 2px;
  position: relative;
  transition: color var(--dur-fast) var(--ease-out);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-fast) var(--ease-out);
}
.main-nav a:hover, .main-nav a.active { color: var(--paper); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav .btn { min-height: 44px; padding: 10px 24px; }

/* Language placeholder (Arabic-ready) */
.lang-toggle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted-main);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: transparent;
  padding: 9px 16px;
  min-height: 44px;
  cursor: pointer;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.lang-toggle:hover { color: var(--accent); border-color: var(--accent); }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  cursor: pointer;
  position: relative;
  z-index: 1101;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--accent);
  margin: 5px auto;
  transition: transform 280ms var(--ease-out), opacity 200ms;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(249, 244, 234, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 320ms var(--ease-out), visibility 320ms;
    z-index: 1100;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav a { font-size: 17px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: var(--space-7);
  background:
    radial-gradient(ellipse 60% 45% at 72% 30%, rgba(204, 176, 141, 0.10), transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 85%, rgba(204, 176, 141, 0.05), transparent 60%),
    var(--ink);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; }

.hero-est {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-lo);
  margin-bottom: var(--space-4);
  padding: 10px 20px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(204, 176, 141, 0.06);
}
.hero-est::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(204, 176, 141, 0.22);
}

.hero-title {
  font-size: clamp(44px, 8.4vw, 108px);
  color: var(--paper);
  max-width: 15ch;
}
.hero-title .accent {
  font-style: normal;
  /* darker than --accent-grad: display type still has to carry on cream */
  background: linear-gradient(115deg, #CCB08D 0%, #7A5F38 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  animation: heroLine 900ms var(--ease-out) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 130ms; }
.hero-title .line:nth-child(3) > span { animation-delay: 260ms; }
@keyframes heroLine { to { transform: translateY(0); } }

.hero-sub {
  margin-top: var(--space-4);
  max-width: 56ch;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted-main);
  opacity: 0;
  animation: fadeUp 800ms var(--ease-out) 480ms forwards;
}
.hero-actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  opacity: 0;
  animation: fadeUp 800ms var(--ease-out) 640ms forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-meta {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 72px);
  opacity: 0;
  animation: fadeUp 800ms var(--ease-out) 800ms forwards;
}
.hero-meta div { min-width: 120px; }
.hero-meta .num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--accent-lo);
  font-variant-numeric: tabular-nums;
}
.hero-meta .lbl {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-main);
  margin-top: 6px;
}

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 64px;
  background: var(--line-dark);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--accent);
  animation: cueDrop 2.2s var(--ease-out) infinite;
}
@keyframes cueDrop {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-8); position: relative; }
.section--dark { background: var(--coal); }
.section--darker { background: var(--ink); }
.section--ink { background: var(--paper); color: var(--text-inv); }
.section--ink2 { background: var(--paper-2); color: var(--text-inv); }

.section-head { max-width: 720px; margin-bottom: var(--space-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Marquee strip ---------- */
.marquee {
  border-block: 1px solid var(--line-soft);
  padding-block: 22px;
  overflow: hidden;
  background: var(--coal);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-main);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee span::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  transition: background var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  display: block;
  overflow: hidden;
}
.service-card:hover {
  background: var(--surface-2);
  transform: translateY(-6px);
  border-color: var(--line-dark);
  box-shadow: 0 20px 40px rgba(24, 21, 16, 0.10);
}
.service-card .idx {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-lo);
}
.service-card .icon {
  margin-block: var(--space-3);
  width: 46px; height: 46px;
  color: var(--accent);
  transition: transform var(--dur-fast) var(--ease-out);
}
.service-card:hover .icon { transform: translateY(-4px); }
.service-card h3 {
  font-size: 22px;
  color: var(--paper);
  margin-bottom: 12px;
}
.service-card p { font-size: 14.5px; color: var(--muted-main); }
.service-card .text-link { margin-top: var(--space-3); font-size: 11.5px; }
.service-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 380ms var(--ease-out);
}
.service-card:hover::after { transform: scaleX(1); }

@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Placeholder media frames ---------- */
.ph-frame {
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 70% 20%, rgba(204, 176, 141, 0.07), transparent 65%),
    linear-gradient(145deg, var(--surface) 0%, var(--coal) 60%);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-med) var(--ease-out);
}
.ph-frame:hover { border-color: var(--line-dark); }
.ph-frame .ph-mark {
  width: 24%;
  max-width: 90px;
  opacity: 0.2;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.ph-frame:hover .ph-mark { opacity: 0.42; transform: scale(1.05); }
.ph-frame .ph-label {
  position: absolute;
  left: 26px; bottom: 22px; right: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-main);
}
.ph-frame .ph-label strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--paper);
  margin-bottom: 4px;
}

/* Portfolio grid */
/* Masonry columns: the real project shots are a mix of wide photographs and
   tall presentation sheets, so preserve each one's own proportions rather
   than cropping the specifications off a drawing. */
.work-grid {
  column-count: 3;
  column-gap: var(--space-3);
}
.work-card {
  break-inside: avoid;
  margin: 0 0 var(--space-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}
.work-card img { width: 100%; height: auto; display: block; }
.work-card figcaption {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line-soft);
}
.work-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.work-card figcaption span {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-lo);
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-dark);
  box-shadow: 0 18px 38px rgba(24, 21, 16, 0.10);
}
.work-grid--featured { column-count: 3; }
@media (max-width: 980px) { .work-grid { column-count: 2; } }
@media (max-width: 620px) { .work-grid { column-count: 1; } }

/* Real project photography sitting in a layout slot (service rows, splits).
   Natural aspect ratio — these include drawn presentation sheets, and
   cropping one would cut the specifications off the drawing. */
.shot {
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  align-self: start;
  transition: border-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 15px 18px 17px; border-top: 1px solid var(--line-soft); }
.shot figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--paper);
}
.shot figcaption span {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-lo);
}
.shot:hover { border-color: var(--line-dark); box-shadow: 0 18px 38px rgba(24, 21, 16, 0.10); }

/* Full-width band of recent installations */
.showcase-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
.showcase-band figure { margin: 0; position: relative; overflow: hidden; background: var(--coal); }
.showcase-band img {
  width: 100%;
  height: clamp(220px, 26vw, 380px);
  object-fit: cover;
  display: block;
  transition: transform 900ms var(--ease-out);
}
.showcase-band figure:hover img { transform: scale(1.04); }
.showcase-band figcaption {
  position: absolute;
  left: 20px; bottom: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F9F4EA;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}
@media (max-width: 760px) { .showcase-band { grid-template-columns: 1fr; } }

/* Client wall */
.client-wall {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.client-wall li {
  background: var(--surface);
  min-height: 108px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: var(--muted-main);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.client-wall li:hover { color: var(--paper); background: var(--surface-2); }
@media (max-width: 900px) { .client-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .client-wall { grid-template-columns: repeat(2, 1fr); } }

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-5);
}
.filter-bar button {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-main);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 44px;
  cursor: pointer;
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.filter-bar button:hover { color: var(--accent); border-color: var(--accent); }
.filter-bar button.active {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- Timeline (About) ---------- */
.timeline {
  position: relative;
  margin-top: var(--space-6);
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line-dark);
}
.tl-item { position: relative; padding-bottom: var(--space-6); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -37px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px rgba(204, 176, 141, 0.16);
}
.tl-item .year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--accent-lo);
}
.tl-item h3 { font-size: 21px; color: var(--paper); margin-top: 6px; }
.tl-item p { color: var(--muted-main); margin-top: 8px; max-width: 60ch; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  counter-reset: step;
}
.process-step { position: relative; padding-top: var(--space-3); }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 54px;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-lo);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}
.on-ink .process-step::before { -webkit-text-stroke: 1px var(--accent-lo); }
.process-step h3 { font-size: 19px; margin-bottom: 10px; }
.process-step p { font-size: 14.5px; color: var(--muted-inv); }
.section--dark .process-step p, .section--darker .process-step p { color: var(--muted-main); }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(28px, 3.4vw, 48px) var(--space-3);
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 62px);
  color: var(--accent-lo);
  font-variant-numeric: tabular-nums;
}
.stat .num sup { font-size: 0.5em; color: var(--accent-lo); }
.stat .lbl {
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-main);
}
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Quote / testimonial ---------- */
.quote-block {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.45;
  color: var(--text-inv);
}
.quote-block blockquote::before { content: "\201C"; color: var(--accent-lo); }
.quote-block blockquote::after { content: "\201D"; color: var(--accent-lo); }
.quote-block cite {
  display: block;
  margin-top: var(--space-4);
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-lo);
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split .ph-frame { aspect-ratio: 4 / 5; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.feature-list { margin-top: var(--space-4); display: grid; gap: var(--space-3); }
.feature-list li {
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-list .tick {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  color: var(--accent);
}
.feature-list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.feature-list p { font-size: 14.5px; color: var(--muted-main); }
.on-ink .feature-list p { color: var(--muted-inv); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding-block: var(--space-8);
  background:
    radial-gradient(ellipse 55% 65% at 50% 110%, rgba(204, 176, 141, 0.14), transparent 70%),
    var(--coal);
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
}
.cta-band h2 {
  font-size: clamp(32px, 5vw, 58px);
  color: var(--paper);
  max-width: 20ch;
  margin-inline: auto;
}
.cta-band p { color: var(--muted-main); margin-top: var(--space-3); }
.cta-band .btn { margin-top: var(--space-5); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info dl { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.contact-info dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-lo);
  margin-bottom: 6px;
}
.contact-info dd { color: var(--text-main); font-size: 16.5px; }
.contact-info dd a:hover { color: var(--accent-lo); }

.form-field { margin-bottom: var(--space-3); }
.form-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-main);
  margin-bottom: 10px;
}
.form-field .req { color: var(--accent); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--paper);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-field .field-error {
  display: none;
  font-size: 13px;
  color: #9E3B1E;
  margin-top: 8px;
}
.form-field.invalid input, .form-field.invalid textarea { border-color: #9E3B1E; }
.form-field.invalid .field-error { display: block; }
.form-note { font-size: 13px; color: var(--muted-main); margin-top: var(--space-2); }
.form-note--error { color: #9E3B1E; font-weight: 600; }
/* spam honeypot — hidden from people, visible to bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  display: none;
  border: 1px solid var(--accent);
  padding: var(--space-3);
  margin-top: var(--space-3);
  color: var(--accent-lo);
  font-size: 15px;
}
.form-success.show { display: block; }

.map-frame {
  margin-top: var(--space-6);
  aspect-ratio: 21 / 9;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-top: clamp(140px, 20vh, 220px);
  padding-bottom: var(--space-7);
  background:
    radial-gradient(ellipse 55% 60% at 80% 0%, rgba(204, 176, 141, 0.09), transparent 65%),
    var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 {
  font-size: clamp(38px, 6vw, 76px);
  color: var(--paper);
  margin-top: var(--space-2);
}
.page-hero .lede { margin-top: var(--space-3); }
.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-main);
  margin-bottom: var(--space-4);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--accent-lo); }

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--line-soft);
}
.service-row:last-child { border-bottom: none; }
.service-row .ph-frame { aspect-ratio: 16 / 11; }
.service-row h2 { font-size: clamp(26px, 3vw, 38px); color: var(--paper); }
.service-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-3); }
.service-row .tags span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-lo);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 16px;
}
.service-row p { color: var(--muted-main); margin-top: var(--space-3); }
@media (max-width: 880px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row.flip .ph-frame { order: -1; }
}
@media (min-width: 881px) {
  .service-row.flip > div:first-child { order: 2; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper);
  color: var(--text-inv);
  border-top: 1px solid var(--line-soft);
  padding-top: var(--space-7);
}
.site-footer .brand-name { color: var(--text-inv); }
/* the footer uses a dedicated cream artwork file, so no filter is needed */
.site-footer .brand img { filter: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-5);
  padding-bottom: var(--space-6);
}
.footer-grid h4 {
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: var(--space-3);
}
.footer-grid ul { list-style: none; display: grid; gap: 12px; }
.footer-grid a { color: var(--muted-inv); font-size: 14.5px; transition: color var(--dur-fast); }
.footer-grid a:hover { color: var(--text-inv); }
.footer-about p { color: var(--muted-inv); font-size: 14.5px; max-width: 34ch; margin-top: var(--space-3); }
.footer-about .brand-ar {
  font-size: 19px;
  color: var(--text-inv);
  letter-spacing: 0.02em;
  margin-top: var(--space-3);
  text-align: left; /* RTL glyph order, but flush with the LTR column */
}
.footer-about .brand-motto {
  color: var(--accent-hi);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: var(--space-3);
}
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-block: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted-inv);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-line {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms var(--ease-out) 150ms;
}
.reveal-line.in { transform: scaleX(1); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .hero-sub, .hero-actions, .hero-meta { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .marquee-track { animation: none; }
}
