/* ==========================================================================
   MISQ · Entertainment & Event Management
   Site stylesheet. Built from "MISQ Website.dc.html" (Claude Design).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg:        #0a0b0e;
  --bg-deep:   #08090b;
  --panel:     #0c0e12;
  --img-bg:    #101319;

  /* Accent */
  --accent:      #4aa8e0;
  --accent-hi:   #7fc4ea;
  --accent-soft: #8fd0f2;
  --accent-ink:  #04121c;

  /* Ink */
  --ink-100: #f8fafb;
  --ink-90:  #f2f5f8;
  --ink-80:  #eef1f4;
  --ink-70:  #e6e9ec;
  --ink-60:  #d7dbdf;
  --ink-50:  #c3c9d0;
  --ink-40:  #9aa1a9;
  --ink-30:  #8b929b;
  --ink-20:  #7b828b;
  --ink-10:  #5c626b;

  /* Hairlines */
  --line-1: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .12);
  --line-3: rgba(255, 255, 255, .16);
  --line-4: rgba(255, 255, 255, .22);
  --line-5: rgba(255, 255, 255, .30);

  /* Layout */
  --shell:  1280px;
  --gut:    clamp(20px, 4vw, 48px);
  --nav-h:  78px;
  --sec-y:  clamp(64px, 9vw, 118px);

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --ui:      "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-hero:    clamp(40px, 7.2vw, 88px);
  --fs-page:    clamp(38px, 6.4vw, 78px);
  --fs-contact: clamp(36px, 5.6vw, 70px);
  --fs-cta:     clamp(32px, 5vw, 62px);
  --fs-h2:      clamp(30px, 4.3vw, 52px);
  --fs-h2-sm:   clamp(28px, 3.8vw, 46px);
  --fs-svc:     clamp(27px, 3.6vw, 44px);
  --fs-h3-lg:   clamp(28px, 3vw, 38px);
  --fs-h3:      clamp(23px, 1.9vw, 29px);
  --fs-lead:    clamp(17px, 1.4vw, 21px);
  --fs-body:    clamp(15px, 1.1vw, 17px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-50);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-hi); }

::selection { background: rgba(74, 168, 224, .3); }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 14px 22px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.skip:focus { left: 12px; top: 12px; color: var(--accent-ink); }

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout primitives ---------- */
.shell { max-width: var(--shell); margin-inline: auto; width: 100%; }

.section { padding: var(--sec-y) var(--gut); }
.section--tight  { padding-block: clamp(56px, 7vw, 96px); }
.section--head   { padding: clamp(64px, 8vw, 104px) var(--gut) clamp(52px, 6.5vw, 84px); }
.section--deep   { background: var(--bg-deep); }
.section--rule   { border-bottom: 1px solid var(--line-1); }
.section--flush  { padding-block: 0; }

.stack   { display: flex; flex-direction: column; }
.gap-16  { gap: 16px; }
.gap-22  { gap: 22px; }
.gap-26  { gap: 26px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--soft { color: var(--accent-soft); }
.eyebrow--mute { color: var(--ink-30); }

.kicker {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.micro {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ink-10);
}

.h-hero, .h-page, .h-contact, .h2, .h3 { font-family: var(--display); text-wrap: pretty; }

.h-hero {
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -1px;
  color: var(--ink-100);
  max-width: 17ch;
}

.h-page {
  font-weight: 400;
  font-size: var(--fs-page);
  line-height: 1.02;
  letter-spacing: -1px;
  color: var(--ink-100);
  max-width: 20ch;
}

.h-contact {
  font-weight: 400;
  font-size: var(--fs-contact);
  line-height: 1.02;
  letter-spacing: -1px;
  color: var(--ink-100);
}

.h2 {
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -.5px;
  color: var(--ink-90);
}
.h2--sm { font-size: var(--fs-h2-sm); }

.h3 {
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.15;
  color: var(--ink-80);
}
.h3--lg { font-size: var(--fs-h3-lg); line-height: 1.1; color: var(--ink-90); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.66;
  color: var(--ink-40);
  max-width: 62ch;
}
.lead--bright { color: var(--ink-50); }

.copy {
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink-30);
}

.num-mark {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}

.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--accent-hi); color: var(--accent-ink); }

.btn--ghost { border-color: var(--line-4); color: var(--ink-80); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .07); color: var(--ink-80); }

.btn--line {
  padding: 10px 18px;
  border-color: var(--line-4);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--ink-80);
}
.btn--line:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.link-more {
  display: inline-block;
  align-self: flex-start;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(74, 168, 224, .45);
  font-family: var(--ui);
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 14px);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.link-more:hover { color: #fff; border-color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(8, 9, 12, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--gut);
}

.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.5vw, 32px);
}

.nav-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding-top: 3px;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .4px;
  white-space: nowrap;
  color: var(--ink-50);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: #fff; }

/* Active underline: rendered always, revealed only for the current page. */
.nav-links a::after {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

.lang {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-3);
  border-radius: 2px;
  overflow: hidden;
}
.lang > * {
  padding: 7px 11px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1.2;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang .is-on { color: var(--ink-80); background: rgba(255, 255, 255, .12); }
.lang a { color: var(--ink-40); }
.lang a:hover { color: #fff; background: rgba(255, 255, 255, .07); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-3);
  border-radius: 2px;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink-80);
  transition: background .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink-80);
  transition: transform .24s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile panel */
.nav-panel {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 55;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 28px var(--gut) 40px;
  background: rgba(8, 9, 12, .985);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-panel.is-open { display: flex; }

.nav-panel a.nav-panel-link {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-1);
  font-family: var(--display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink-80);
}
.nav-panel a.nav-panel-link[aria-current="page"] { color: var(--accent); }
.nav-panel .btn { margin-top: 28px; align-self: flex-start; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: calc(100svh - var(--nav-h));
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gut) clamp(56px, 8vw, 72px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--img-bg);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 11, 14, .62) 0%,
    rgba(10, 11, 14, .24) 32%,
    rgba(10, 11, 14, .72) 74%,
    rgba(10, 11, 14, .97) 100%);
}

.hero-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 30px);
}

.hero .h-hero {
  max-width: 1080px;
  text-shadow: 0 3px 40px rgba(0, 0, 0, .55);
}

.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
  color: var(--ink-50);
  max-width: 640px;
}

.hero-place { display: flex; align-items: center; gap: 16px; }
.hero-place .bar { width: 44px; height: 1px; background: var(--accent); flex-shrink: 0; }
.hero-place .eyebrow { letter-spacing: 3.4px; color: var(--accent-soft); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue span {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2.6px;
  color: var(--ink-30);
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: cue 2.4s ease-in-out infinite;
}

@keyframes cue {
  0%   { transform: translateY(0);   opacity: .9; }
  60%  { transform: translateY(9px); opacity: .25; }
  100% { transform: translateY(0);   opacity: .9; }
}

/* ==========================================================================
   Home: positioning
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.6vw, 34px);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 20px;
}
.pillar .h3 { font-size: clamp(22px, 1.8vw, 26px); }

/* ---------- Section head ---------- */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(36px, 4vw, 52px);
}
.sec-head .stack { gap: 16px; }

/* ---------- Work cards (home) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 2.8vw, 34px);
}

.card { display: flex; flex-direction: column; gap: 22px; }
.card:hover .card-frame img { transform: scale(1.03); }
.card:hover .h3 { color: #fff; }

.card-frame {
  position: relative;
  height: clamp(260px, 34vw, 400px);
  overflow: hidden;
  background: var(--img-bg);
}
.card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.card-meta { display: flex; flex-direction: column; gap: 8px; }
.card-meta p { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; color: var(--ink-30); }

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(32px, 5vw, 68px);
}

.cap {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line-2);
}
.cap .num-mark { padding-top: 8px; flex-shrink: 0; }
.cap .h3 { font-size: clamp(22px, 1.85vw, 27px); }
.cap-body { display: flex; flex-direction: column; gap: 6px; }
.cap-body p { font-size: var(--fs-body); line-height: 1.5; color: var(--ink-30); }

/* ---------- CTA band ---------- */
.band {
  position: relative;
  padding: clamp(90px, 11vw, 150px) var(--gut);
  overflow: hidden;
}
.band-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--img-bg);
}
.band-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, .88), rgba(10, 11, 14, .72) 45%, rgba(10, 11, 14, .95));
}
.band-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(24px, 3vw, 34px);
}
.band-body h2 {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-cta);
  line-height: 1.12;
  color: var(--ink-100);
  max-width: 940px;
}

/* ==========================================================================
   About
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 5.5vw, 80px);
  align-items: center;
}

.facts { display: flex; flex-wrap: wrap; }
.fact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px 40px;
  border-inline-start: 1px solid var(--line-2);
}
.fact:first-child { padding-inline-start: 0; border-inline-start: 0; }
.fact b {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(21px, 1.8vw, 25px);
  color: var(--ink-70);
  white-space: nowrap;
}
.fact .micro { color: var(--ink-10); }

.about-frame {
  height: clamp(280px, 40vw, 440px);
  overflow: hidden;
  background: var(--img-bg);
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }

.statement {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
}
.statement .eyebrow { padding-top: 14px; }
.statement-vision {
  font-family: var(--display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.14;
  letter-spacing: -.5px;
  color: var(--ink-90);
}
.statement-mission {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.9vw, 36px);
  line-height: 1.3;
  color: #c4cace;
}
.hr { height: 1px; background: var(--line-2); margin: clamp(36px, 4.5vw, 52px) 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.4vw, 44px);
}
.step { display: flex; flex-direction: column; gap: 16px; }
.step em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(46px, 5vw, 66px);
  line-height: 1;
  color: var(--accent);
}
.step:last-child em { color: var(--ink-80); }
.step i { display: block; height: 1px; background: rgba(255, 255, 255, .14); }

/* ==========================================================================
   Services
   ========================================================================== */
.svc {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(34px, 4.2vw, 52px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background .25s var(--ease);
}
.svc:hover { background: rgba(255, 255, 255, .02); }
.svc > .num-mark {
  font-size: 13px;
  letter-spacing: 2px;
  width: 44px;
  flex-shrink: 0;
  padding-top: 14px;
}
.svc-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--fs-svc);
  line-height: 1.1;
  color: var(--ink-90);
  width: 400px;
  flex-shrink: 0;
}
.svc-body { display: flex; flex-direction: column; gap: 14px; }
.svc-body p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.62;
  color: var(--ink-40);
}

.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: .6px;
  color: var(--ink-30);
}

/* ==========================================================================
   Work
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: 22px;
}
.filter {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 2px;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.2px;
  color: var(--ink-30);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.filter:hover { color: var(--ink-80); border-color: var(--line-5); }
.filter[aria-pressed="true"] {
  background: rgba(74, 168, 224, .14);
  border-color: rgba(74, 168, 224, .4);
  color: var(--accent-soft);
}

.tiles { display: flex; flex-direction: column; gap: 26px; }

.tile {
  position: relative;
  display: block;
  height: clamp(320px, 44vw, 520px);
  overflow: hidden;
  background: var(--img-bg);
}
.tile--sm { height: clamp(300px, 36vw, 420px); }
.tile[hidden] { display: none; }

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.tile:hover img { transform: scale(1.03); }

.tile-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, .15), rgba(10, 11, 14, .86));
}

.tile-body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3.6vw, 48px);
}
.tile-body h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1;
  color: var(--ink-100);
}
.tile--sm .tile-body h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.04; }
.tile-body p {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-50);
  max-width: 560px;
}
.tile-body .kicker { color: var(--accent-soft); }

.no-results {
  padding: 48px 0;
  font-size: var(--fs-lead);
  color: var(--ink-30);
}

/* ==========================================================================
   What's On
   ========================================================================== */
.events-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}
.tally { display: flex; gap: clamp(28px, 3.6vw, 48px); flex-shrink: 0; padding-bottom: 12px; }
.tally div { display: flex; flex-direction: column; gap: 4px; }
.tally b {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 44px);
  line-height: 1;
  color: var(--accent);
}
.tally div + div b { color: var(--ink-80); }

.event {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  border-top: 1px solid var(--line-2);
}
.event--flip { grid-template-columns: .9fr 1.1fr; }

.event-media {
  position: relative;
  min-height: clamp(300px, 40vw, 500px);
  overflow: hidden;
  background: var(--img-bg);
}
.event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.event:hover .event-media img { transform: scale(1.03); }
.event-media .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, .28), rgba(10, 11, 14, .12) 40%, rgba(10, 11, 14, .4));
}

.event-stamp {
  position: absolute;
  top: 26px;
  inset-inline-start: 26px;
  padding: 9px 15px;
  background: rgba(8, 9, 12, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-3);
  border-radius: 2px;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.6px;
  white-space: nowrap;
  color: var(--ink-80);
}
.event-stamp--right { inset-inline-start: auto; inset-inline-end: 26px; }

.event-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-block: clamp(36px, 5vw, 56px);
  padding-inline-start: clamp(28px, 5vw, 64px);
}
.event--flip .event-body {
  padding-inline-start: 0;
  padding-inline-end: clamp(28px, 5vw, 64px);
}
.event-body h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4.3vw, 54px);
  line-height: 1.02;
  letter-spacing: -.5px;
  color: #f4f6f8;
}
.event-body > p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.62;
  color: var(--ink-40);
}

.spec { display: flex; flex-direction: column; margin-top: 8px; }
.spec div {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line-2);
}
.spec div:last-child { border-bottom: 1px solid var(--line-2); }
.spec dt { width: 96px; flex-shrink: 0; }
.spec dd {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-60);
}
.event-body .link-more { margin-top: 10px; }

.notify {
  border-top: 1px solid var(--line-2);
  padding-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

/* ==========================================================================
   Careers
   ========================================================================== */
.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.4vw, 44px);
}
.perk {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 22px;
}
.perk .h3 { font-size: clamp(23px, 2vw, 28px); }
.perk p { font-size: var(--fs-body); line-height: 1.58; color: var(--ink-30); }

.panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line-2);
  background: var(--panel);
}
.panel p {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.62;
  color: var(--ink-40);
  max-width: 660px;
}
.panel .btn { margin-top: 6px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}

.channels { display: flex; flex-direction: column; margin-top: 24px; }
.channels div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-top: 1px solid var(--line-2);
}
.channels div:last-child { border-bottom: 1px solid var(--line-2); }
.channels a, .channels span.val {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-70);
}
.channels a:hover { color: var(--accent-hi); }

/* ---------- Forms ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 3.6vw, 48px);
  border: 1px solid var(--line-2);
  background: var(--panel);
}
.form > h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 32px);
  color: var(--ink-90);
  margin-bottom: 6px;
}

.field { display: flex; flex-direction: column; gap: 9px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field > label,
.fieldset > legend {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6e757e;
  padding: 0;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-3);
  border-radius: 0;
  background: var(--bg);
  font-family: var(--ui);
  font-size: 15px;
  color: var(--ink-70);
  transition: border-color .2s var(--ease);
}
.field textarea { height: 118px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-10); }
.field input:hover,
.field textarea:hover { border-color: var(--line-5); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--accent); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #d9736b; }

.fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: block;
  padding: 9px 16px;
  border: 1px solid var(--line-3);
  border-radius: 2px;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--ink-30);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.chip input:hover + span { color: var(--ink-80); border-color: var(--line-5); }
.chip input:checked + span {
  border-color: rgba(74, 168, 224, .45);
  background: rgba(74, 168, 224, .13);
  color: var(--accent-soft);
}
.chip input:focus-visible + span { outline: 2px solid var(--accent-soft); outline-offset: 3px; }

.err {
  font-size: 13px;
  line-height: 1.4;
  color: #e08a82;
}
.err:empty { display: none; }

.form-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-10);
}

.form-status {
  padding: 14px 16px;
  border: 1px solid rgba(74, 168, 224, .4);
  background: rgba(74, 168, 224, .1);
  font-size: 14px;
  line-height: 1.5;
  color: var(--accent-soft);
}
.form-status[hidden] { display: none; }
.form-status--bad {
  border-color: rgba(217, 115, 107, .45);
  background: rgba(217, 115, 107, .1);
  color: #e08a82;
}

/* Newsletter */
.subscribe { display: flex; flex-direction: column; gap: 14px; }
.subscribe-row { display: flex; }
.subscribe-row input {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line-3);
  border-inline-end: none;
  background: transparent;
  font-family: var(--ui);
  font-size: 15px;
  color: var(--ink-70);
}
.subscribe-row input::placeholder { color: var(--ink-10); }
.subscribe-row input:focus { outline: none; border-color: var(--accent); }
.subscribe-row button {
  flex-shrink: 0;
  padding: 16px 30px;
  background: var(--accent);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent-ink);
  transition: background .22s var(--ease);
}
.subscribe-row button:hover { background: var(--accent-hi); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot {
  padding: clamp(56px, 7vw, 76px) var(--gut) 40px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: var(--bg-deep);
}
.foot-in { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 56px); }
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(32px, 4.5vw, 56px);
}
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand img { width: 230px; height: auto; }
.foot-brand p {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-20);
  max-width: 330px;
}
.foot-col { display: flex; flex-direction: column; gap: 14px; }
.foot-col a { font-size: 16px; color: var(--ink-40); }
.foot-col a:hover { color: var(--ink-80); }

.foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line-1);
}
.foot-base, .foot-base a { font-size: 14px; color: var(--ink-10); }
.foot-base a:hover { color: var(--ink-40); }
.foot-legal { display: flex; gap: 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .svc-title { width: 300px; }
}

@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-in { justify-content: space-between; }

  .split,
  .about-split,
  .contact-grid,
  .notify { grid-template-columns: 1fr; }

  .cap-grid { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .steps    { grid-template-columns: repeat(2, 1fr); }
  .event, .event--flip { grid-template-columns: 1fr; }
  .event-body,
  .event--flip .event-body { padding: 36px 0 44px; }
  .event--flip .event-media { grid-row: 1; }

  .statement { grid-template-columns: 1fr; gap: 18px; }
  .statement .eyebrow { padding-top: 0; }

  .svc { flex-wrap: wrap; }
  .svc-title { width: auto; flex: 1 1 100%; }
  .svc > .num-mark { padding-top: 4px; }
}

/* The scroll cue is centred on the hero; below this width it would sit on
   top of the stacked call-to-action buttons, so it is dropped. */
@media (max-width: 900px), (max-height: 700px) {
  .scroll-cue { display: none; }
}

@media (max-width: 820px) {
  .card-grid { grid-template-columns: 1fr; }
  .pillars,
  .perks { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .events-head { align-items: flex-start; }
  .facts { gap: 24px 0; }
}

@media (max-width: 560px) {
  .cap-grid,
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .subscribe-row { flex-direction: column; }
  .subscribe-row input { border-inline-end: 1px solid var(--line-3); }
  .fact { padding: 8px 0; border-left: 0; }
  .facts { flex-direction: column; }
  .foot-base { flex-direction: column; align-items: flex-start; gap: 16px; }
  .spec dt { width: 84px; }
  .hero-place .eyebrow { letter-spacing: 2.2px; }
  .hero-place .bar { width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Arabic / RTL
   Layout flips automatically from dir="rtl"; this handles the things
   direction alone does not: typefaces and letter-spacing. Arabic is a
   joined script, so tracking must be removed or the letters pull apart.
   ========================================================================== */
[dir="rtl"] {
  --display: "Amiri", "Times New Roman", serif;
  --ui: "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

[dir="rtl"] .eyebrow,
[dir="rtl"] .kicker,
[dir="rtl"] .micro,
[dir="rtl"] .num-mark,
[dir="rtl"] .btn,
[dir="rtl"] .link-more,
[dir="rtl"] .filter,
[dir="rtl"] .tag,
[dir="rtl"] .lang > *,
[dir="rtl"] .nav-links a,
[dir="rtl"] .scroll-cue span,
[dir="rtl"] .event-stamp,
[dir="rtl"] .field > label,
[dir="rtl"] .fieldset > legend,
[dir="rtl"] .subscribe-row button,
[dir="rtl"] .chip span {
  letter-spacing: 0;
}

/* Display faces need their tracking neutralised too. */
[dir="rtl"] .h-hero,
[dir="rtl"] .h-page,
[dir="rtl"] .h-contact,
[dir="rtl"] .h2,
[dir="rtl"] .h3,
[dir="rtl"] .statement-vision,
[dir="rtl"] .band-body h2,
[dir="rtl"] .svc-title,
[dir="rtl"] .tile-body h2,
[dir="rtl"] .event-body h2 {
  letter-spacing: 0;
}

/* Amiri sits smaller on the line than Cormorant, so headings get a nudge. */
[dir="rtl"] .h-hero    { line-height: 1.18; }
[dir="rtl"] .h-page    { line-height: 1.2; }
[dir="rtl"] .h-contact { line-height: 1.2; }
[dir="rtl"] .h2        { line-height: 1.25; }
[dir="rtl"] .band-body h2 { line-height: 1.35; }
[dir="rtl"] .statement-vision { line-height: 1.4; }
[dir="rtl"] .statement-mission { line-height: 1.5; }
[dir="rtl"] .event-body h2,
[dir="rtl"] .tile-body h2 { line-height: 1.2; }
[dir="rtl"] .step em { font-family: var(--ui); font-weight: 500; }

/* Latin fragments inside Arabic copy (numbers, emails, MISQ) keep LTR order. */
[dir="rtl"] .ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* ---------- Print ---------- */
@media print {
  .nav, .nav-panel, .scroll-cue, .site-foot { display: none !important; }
  body { background: #fff; color: #111; }
}
