@font-face {
  font-family: "Libre Franklin";
  src: url("fonts/libre-franklin-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #05192b;
  --cyan: #35b4e8;
  --cyan-lift: #6fcbf0;
  --white: #fff;
  --soft: #a8c3d6;
  --dim: #7d9bb1;
  --line: rgba(168, 195, 214, 0.2);
  --line-soft: rgba(168, 195, 214, 0.12);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  --edge: rgba(255, 255, 255, 0.19);
  --sans: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scrollbar-color: #4a7f9e var(--deep); }

body {
  margin: 0;
  background: var(--deep);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cyan); color: var(--deep); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }

.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;
}

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* the whole site is one screen: header, content, footer, nothing to scroll */
.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  max-width: 78rem;
  margin-inline: auto;
  padding: clamp(1rem, 2.4vw, 1.9rem) clamp(1.25rem, 4vw, 3.5rem) clamp(1rem, 2.2vw, 1.6rem);
  display: flex;
  flex-direction: column;
}

.head { flex: none; display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--white); text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand img { height: 30px; width: auto; }

.kick { margin: 0 0 0.85rem; color: var(--dim); font-size: 0.75rem; letter-spacing: 0.19em; text-transform: uppercase; }
h1 { font-size: clamp(1.7rem, min(3.4vw, 5.1vh), 3.05rem); max-width: 17ch; }
.sub { margin: clamp(0.6rem, 1.6vh, 1rem) 0 0; color: var(--soft); max-width: 46ch; font-size: clamp(0.9375rem, 1.9vh, 1.0625rem); }

/* ---------- services, two columns so they fit the fold ---------- */

.rows {
  margin: clamp(0.8rem, 2.1vh, 1.6rem) 0 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(0.35rem, 0.9vh, 0.6rem);
}
/* seven services in two columns leaves a hole, so the last one takes the row */
.rows > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rows > div {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.55rem, 1.5vh, 0.95rem) clamp(0.75rem, 1.4vw, 1.05rem);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.048);
  transition: background 0.28s var(--ease);
}
.rows > div::before {
  content: "";
  position: absolute; left: 0; top: 50%; width: 2px; height: 0;
  background: var(--cyan);
  transform: translateY(-50%);
  transition: height 0.34s var(--ease);
}
.rows > div:hover { background: rgba(255, 255, 255, 0.082); }
.rows > div:hover::before { height: 100%; }
.rows dt { font-weight: 600; font-size: clamp(0.875rem, 1.85vh, 1rem); }
.rows dd { margin: 0.12rem 0 0; color: var(--soft); font-size: clamp(0.78rem, 1.6vh, 0.875rem); line-height: 1.42; }

/* ---------- the card ---------- */

.note {
  margin: clamp(1rem, 2.4vh, 1.75rem) 0 0;
  margin-top: auto;
  padding-left: 0.9rem;
  border-left: 2px solid var(--cyan);
  color: var(--soft);
  font-size: clamp(0.8125rem, 1.7vh, 0.9375rem);
  max-width: 34ch;
}

.card {
  border-radius: 18px;
  border: 1px solid var(--edge);
  background: var(--glass);
  -webkit-backdrop-filter: blur(26px) saturate(155%);
  backdrop-filter: blur(26px) saturate(155%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 24px 58px rgba(2, 10, 20, 0.44);
  overflow: hidden;
  isolation: isolate;
  position: relative;
}
.card-in {
  position: relative;
  z-index: 1;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(5, 25, 43, 0) 34%, rgba(5, 25, 43, 0.42) 100%);
}
.card-t { margin: 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.card-s { margin: 0.35rem 0 1.15rem; color: var(--soft); font-size: 0.9375rem; }

/* three drifting paths, each translated by exactly one of its own periods */
.water { position: absolute; inset: auto 0 0 0; height: 72%; z-index: 0; pointer-events: none; }
.water svg { width: 100%; height: 100%; display: block; }
.water path { fill: var(--cyan); }
.w1 { opacity: 0.26; animation: drift1 19s linear infinite; }
.w2 { opacity: 0.19; animation: drift2 27s linear infinite; }
.w3 { opacity: 0.13; animation: drift3 36s linear infinite; }
@keyframes drift1 { from { transform: translateX(0); }       to { transform: translateX(-600px); } }
@keyframes drift2 { from { transform: translateX(-800px); }   to { transform: translateX(0); } }
@keyframes drift3 { from { transform: translateX(0); }       to { transform: translateX(-500px); } }

.wa {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--cyan); color: var(--deep); font-weight: 600;
  text-decoration: none; padding: 0.9rem 1rem; border-radius: 11px;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.wa svg { width: 21px; height: 21px; fill: currentColor; flex: none; }
.wa:hover { background: var(--cyan-lift); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(53, 180, 232, 0.28); }
.wa:active { transform: translateY(0); }

/* the same shape as the WhatsApp action, held one step back so the page still
   has a single primary */
.mail {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: 0.55rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--edge);
  color: var(--white); font-weight: 600;
  text-decoration: none; padding: 0.8rem 1rem; border-radius: 11px;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.mail svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.mail:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--cyan); transform: translateY(-2px); }
.mail:active { transform: translateY(0); }

/* each record is its own control: click copies it and the record lights up */
.row {
  display: block; text-decoration: none; color: var(--soft);
  padding: 0.7rem 0.55rem;
  margin-top: 0.3rem;
  border-radius: 8px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.row:last-child { border-bottom: 0; }
.row small { display: block; color: var(--soft); font-size: 0.6875rem; letter-spacing: 0.17em; text-transform: uppercase; }
.row span { display: block; color: var(--white); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.row em { font-style: italic; font-weight: 300; color: var(--dim); font-size: 0.8125rem; margin-left: 0.4rem; }
.row:hover em { color: var(--cyan-lift); }

@media (hover: hover) {
  .row:hover { background: rgba(255, 255, 255, 0.08); }
  .row[data-copy] { cursor: copy; }
  .row[data-copy]:hover small::after { content: " · copy"; color: var(--cyan-lift); }
  .row[data-copy].copied { background: rgba(53, 180, 232, 0.18); }
  .row[data-copy].copied small { color: var(--cyan-lift); }
  .row[data-copy].copied small::after { content: " · copied"; color: var(--cyan-lift); }
}

/* ---------- footer ---------- */

.foot {
  flex: none;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.3rem 2rem;
  font-size: 0.8125rem; color: var(--soft);
}
.foot p { margin: 0; }
.foot-facts b { color: var(--white); font-weight: 600; }
.foot-facts a { color: var(--soft); }
.foot-facts a:hover { color: var(--cyan); }

/* ---------- arrival ---------- */

/* gated on JS so that with scripting off the page is simply visible, never
   stranded at the first frame of an animation that will not run */
@media (prefers-reduced-motion: no-preference) {
  .js .head, .js .kick, .js h1, .js .sub, .js .rows, .js .card, .js .foot { animation: rise 0.8s var(--ease) both; }
  .js .kick { animation-delay: 0.04s; }
  .js h1    { animation-delay: 0.09s; }
  .js .sub  { animation-delay: 0.14s; }
  .js .card { animation-delay: 0.19s; }
  .js .rows { animation-delay: 0.24s; }
  .js .foot { animation-delay: 0.3s; }
}
@keyframes rise {
  from { transform: translateY(0.7rem); }
  to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .w1, .w2, .w3 { animation: none; }
}

/* a narrow screen is read down the middle, so everything centres */
@media (max-width: 48rem) {
  .head { justify-content: center; }
  .card-in, .foot { text-align: center; }
  h1, .sub { margin-inline: auto; }
  /* scoped to .page for the same reason as the hides above: centring belongs to
     the first screen, and in the story it left the service names centred over
     left-aligned descriptions */
  .page .rows > div { align-items: center; }
  .page .rows dd { max-width: 34ch; margin-inline: auto; }
  .row { padding-inline: 0.2rem; }
  .row em { display: block; margin-left: 0; margin-top: 0.15rem; }
  .note { text-align: left; margin-inline: auto; }
}

/* on a phone the FIRST SCREEN carries the essentials and the ways to reach us,
   nothing else. These two hides are scoped to .page on purpose: .rows and .note
   moved into the story below the fold, where hiding them left the "What we
   handle" band as a heading with nothing under it on every phone. */
@media (max-width: 40rem) {
  .page .rows { display: none; }
  .page { padding-inline: 1.15rem; }
  h1 { font-size: 1.85rem; max-width: none; }
  .sub { font-size: 0.9375rem; }
  .foot { justify-content: center; text-align: center; }
  .page .note { display: none; }
}

@media print {
  #sky, .water, .progress, .p-close-img { display: none; }
  body { background: #fff; color: #000; }
  .page { min-height: 0; }
}

/* ═══════════════ the landing screen fills the viewport ═══════════════ */

.page { min-height: 100svh; }

/* the gate: the contact card alone, centred, holding the whole first screen */
.gate { flex: 1; display: flex; align-items: center; justify-content: center; padding-block: clamp(1rem, 3vh, 2.5rem); }
.gate-in { width: min(34rem, 100%); }

/* who this is, before the card asks for anything */
.gate-say { text-align: center; margin-bottom: clamp(1.1rem, 3vh, 2rem); }
.gate-say .kick { margin: 0 0 0.6rem; }
.gate-say h1 {
  font-size: clamp(1.45rem, 3.1vh, 2.15rem);
  max-width: 22ch; margin-inline: auto;
}
.gate-say .sub {
  margin: 0.7rem auto 0; max-width: 42ch;
  font-size: clamp(0.875rem, 1.75vh, 1rem);
}
.gate .card { width: 100%; }
.gate .card-in { padding: clamp(1.35rem, 3.2vh, 2rem); }
.gate .card-t { font-size: clamp(1.25rem, 2.6vh, 1.6rem); }
.gate .card-s { font-size: clamp(0.9375rem, 1.9vh, 1.0625rem); margin-bottom: clamp(1rem, 2.4vh, 1.6rem); }
.gate .wa, .gate .mail { padding-block: clamp(0.8rem, 1.9vh, 1.05rem); }

/* the cue: the page ends here unless you scroll, and it says so */
.cue {
  flex: none; align-self: center;
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: clamp(0.6rem, 1.8vh, 1.25rem);
  padding: 0.5rem 0.7rem 0.5rem 1.1rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--soft); text-decoration: none;
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.cue svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  color: var(--cyan);
}
.cue:hover { background: rgba(255, 255, 255, 0.13); border-color: var(--cyan); color: var(--white); }
.cue:hover svg { color: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .cue svg { animation: nudge 2.2s var(--ease) infinite; }
}
@keyframes nudge {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(2px); }
}

/* ═══════════════ the story below the fold ═══════════════ */

.story { position: relative; z-index: 1; }

/* ---------- scroll progress ---------- */

.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 20; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--cyan); }

/* ---------- sticky bar ---------- */


/* ---------- hero ---------- */


/* ---------- bands ---------- */

.p-band { padding-block: clamp(4rem, 12vh, 8rem); }
.p-two { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.p-side h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.p-year { margin: 0.6rem 0 0; color: var(--cyan); font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.p-prose { max-width: 62ch; color: var(--soft); }
.p-prose p { margin: 0 0 1.15rem; font-size: clamp(1rem, 1.25vw, 1.0625rem); }
.p-prose p:last-child { margin-bottom: 0; }
.p-prose .p-big { color: var(--white); font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.35; letter-spacing: -0.015em; margin-bottom: 1.5rem; }

/* ---------- figures ---------- */

.p-figures { margin: clamp(2.5rem, 6vh, 4rem) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.p-figures > div { border-top: 2px solid var(--cyan); padding-top: 0.9rem; }
.p-figures dt { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; }
.p-figures dd { margin: 0.3rem 0 0; color: var(--soft); font-size: 0.875rem; }

/* ---------- full-bleed plates ---------- */

/* The plates used to force a fixed height on the figure, which at 1440 made a
   3.48:1 letterbox out of a 1.72:1 photograph and cut the vessel in half. The
   image now sets its own height, so nothing is cropped at any width. (The old
   .p-plate.tall never matched either — the markup says .p-tall — so the second
   plate was never taller than the first.) */
.p-plate { margin: 0; overflow: hidden; }
.p-plate img { display: block; width: 100%; height: auto; }

/* ---------- services ---------- */

.p-services { margin: clamp(2.5rem, 6vh, 4rem) 0 0; }
.p-services > div {
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.4rem clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(1.25rem, 3vh, 1.9rem);
  border-top: 1px solid var(--line);
}
.p-services > div:last-child { border-bottom: 1px solid var(--line); }
.p-services dt { font-weight: 600; font-size: 1.0625rem; }
.p-services dd { margin: 0; color: var(--soft); max-width: 62ch; }

/* ---------- close ---------- */

.p-close { position: relative; overflow: hidden; padding-block: clamp(5rem, 14vh, 9rem); text-align: center; }
.p-close-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-close::after { content: ""; position: absolute; inset: 0; background: rgba(4, 20, 34, 0.82); }
.p-close-in { position: relative; z-index: 1; padding-inline: var(--pad); }
.p-close h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.p-close-in > p { margin: 1rem 0 0; color: var(--soft); }
.p-acts { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.p-wa, .p-mail {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-weight: 600; text-decoration: none; padding: 0.9rem 1.5rem; border-radius: 11px;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}
.p-wa { background: var(--cyan); color: var(--deep); }
.p-wa svg { width: 21px; height: 21px; fill: currentColor; }
.p-wa:hover { background: var(--cyan-lift); transform: translateY(-2px); }
.p-mail { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); color: var(--white); }
.p-mail:hover { background: rgba(255,255,255,0.17); transform: translateY(-2px); }
.p-fine { margin: 1.8rem 0 0; color: var(--soft); font-size: 0.875rem; }
.p-fine a { color: var(--soft); }
.p-fine a:hover { color: var(--cyan); }

/* ---------- footer ---------- */


/* ---------- reveal on scroll ----------
   Transform only. If the timeline is ever frozen the content is simply in
   place, never invisible. */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { transform: translateY(1.1rem); transition: transform 0.75s var(--ease); }
  .js .reveal.seen { transform: none; }
  .js .p-services > div.reveal { transition-duration: 0.6s; }
}

/* ---------- narrow ---------- */

@media (max-width: 60rem) {
  .p-two { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .p-services > div { grid-template-columns: minmax(0, 1fr); }
  .p-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-year { font-size: 2.25rem; }
}

@media (max-width: 34rem) {
  .p-figures { grid-template-columns: minmax(0, 1fr); }
  .p-acts { flex-direction: column; }
  .p-wa, .p-mail { width: 100%; }
}

/* the merged footer sits at the very end of the page, not the first screen */
.foot { padding-inline: clamp(1.25rem, 4vw, 3.5rem); }

/* narrow screens: the cue must not push the first screen past the viewport.
   This block sits last on purpose — the base .cue rule is defined after the
   earlier media queries, so an override there would lose on source order. */
@media (max-width: 40rem) {
  .cue { padding: 0.4rem 0.55rem 0.4rem 0.9rem; font-size: 0.625rem; gap: 0.45rem; }
  .cue svg { width: 17px; height: 17px; }
}

/* the headline block that used to sit on the first screen now opens the story */
#who h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 20ch; margin-bottom: 0; }
#who .kick { margin-bottom: 0.9rem; }
#who .sub { margin: 1rem 0 0; color: var(--soft); max-width: 48ch; font-size: 1.0625rem; }
#who .note { margin: 1.5rem 0 0; }
#who .rows { margin-top: clamp(1.75rem, 4vh, 2.75rem); grid-auto-rows: auto; }
#who .rows > div { justify-content: flex-start; }

/* ═══════════ story sections: encased, and off the wall ═══════════
   Two rules were lost when the profile stylesheet was merged in: .p-wrap had
   no definition at all, so the story text spanned the full window with no side
   padding, and --pad was referenced by .p-close-in but never declared. Both are
   restored here, and each section now sits in a glass panel. This block is last
   on purpose: it must win on source order over the merged rules above. */

:root { --pad: clamp(1.25rem, 5vw, 4rem); }

.p-band { padding-inline: clamp(1rem, 4vw, 3rem); }

.p-panel {
  max-width: 74rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 3.4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  /* the swell behind sits on ~13px line spacing at mid-viewport, so a 20px blur
     erased it entirely and the panel read as a flat tinted box. At 3px the
     curves pass through and line up with the field outside — actually glass. */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.01));
  -webkit-backdrop-filter: blur(3px) saturate(140%);
  backdrop-filter: blur(3px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 20px 48px rgba(2, 10, 20, 0.28);
}
.p-wrap { max-width: none; margin-inline: 0; padding-inline: 0; }
.p-panel > .p-wrap + .p-wrap { margin-top: clamp(1.75rem, 4vh, 2.75rem); }

/* the band headings inherited body leading (1.6 on a 38px face), which stacked
   a two-line title to 123px and left a visible void beside the short intro */
.p-side h2 { line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 1rem; }

/* the service rows already have their own boxes; inside a panel they only need
   the hairlines, not a second nested container */
.p-panel .p-services > div:first-child { border-top: 0; padding-top: 0; }

@media (max-width: 40rem) {
  .p-panel { padding: 1.25rem; border-radius: 16px; }
  .p-band { padding-inline: 0.9rem; }
  /* stacked, the heading's own bottom margin sits on top of the grid gap and
     leaves a hole between the title and the first line. The sub-pages put an h1
     in .p-side, so the rule has to name both or it misses all five of them. */
  .p-side h2, .p-side h1 { margin-bottom: 0; }
}

/* ═══════════ service pages ═══════════
   sea-freight-lebanon, air-freight-lebanon, customs-clearing-lebanon and
   shipping-from-china-to-lebanon reuse the story's panels and rows. Only the
   parts a sub-page needs that the one-page site never had are defined here. */

/* a service page opens with the header alone — the first screen is the page
   itself, not a gate */
.page.headonly { min-height: 0; padding-bottom: 0; }
.page.headonly .head { justify-content: space-between; gap: 1rem; }

/* the message action, kept reachable from the top of every sub-page */
.head-act {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--edge); border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--white); text-decoration: none;
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.head-act svg { width: 17px; height: 17px; flex: none; fill: currentColor; }
.head-act:hover { background: rgba(255, 255, 255, 0.13); border-color: var(--cyan); }

.crumb {
  margin: 0 0 clamp(1rem, 2.4vh, 1.5rem);
  color: var(--dim); font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.crumb a { color: var(--soft); text-decoration: underline; text-decoration-color: var(--soft); text-underline-offset: 3px; }
.crumb a:hover { color: var(--cyan); }

/* the kicker is 4.60:1 over the canvas — a pass — but 4.27:1 inside a glass
   panel, where the wash lifts the background. The Arabic page is the only
   one that puts a .kick in a .p-panel. Scoped rather than retiring --dim,
   so the first screen that was signed off does not change colour. */
.p-panel .kick { color: var(--soft); }
.crumb span + span { color: var(--soft); }

/* the sub-page title takes the place a band heading holds on the home page */
.p-side h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.06; letter-spacing: -0.02em;
  margin-bottom: 1rem; max-width: 18ch;
}

/* inside a panel the rows are read, not fitted to a fold */
.p-panel .rows { grid-auto-rows: auto; margin-top: clamp(1.5rem, 3.5vh, 2.5rem); }
.p-panel .rows > div { justify-content: flex-start; }

/* ---------- questions ---------- */

.faq { margin: clamp(1.5rem, 3.5vh, 2.5rem) 0 0; }
.faq > div { padding-block: clamp(1rem, 2.4vh, 1.5rem); border-top: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; font-size: 1.0625rem; }
.faq dd { margin: 0.3rem 0 0; color: var(--soft); max-width: 68ch; }

/* ---------- on to the next page ---------- */

.next { margin: clamp(1.5rem, 3.5vh, 2.5rem) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.6rem; }
.next a {
  display: block; padding: clamp(0.8rem, 1.8vh, 1.05rem) 1.05rem;
  border-radius: 10px; border-left: 2px solid transparent;
  background: rgba(255, 255, 255, 0.048);
  color: var(--white); text-decoration: none;
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease);
}
.next a:hover { background: rgba(255, 255, 255, 0.082); border-left-color: var(--cyan); }
.next b { display: block; font-weight: 600; }
.next span { display: block; margin-top: 0.12rem; color: var(--soft); font-size: 0.875rem; line-height: 1.42; }

/* ---------- footer: the same paths from every page ---------- */

.foot-nav { display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; }
.foot-nav a { color: var(--soft); text-decoration: none; }
.foot-nav a:hover { color: var(--cyan); text-decoration: underline; }

@media (max-width: 48rem) {
  .foot-nav { justify-content: center; }
}

/* the closing block on a service page has no photograph behind it: the drawn
   swell is the ground, and the overlay that makes a photo readable would only
   flatten it */
.p-close.plain::after { display: none; }

/* one line of links out of the home page's service list */
.more { margin: clamp(1.25rem, 3vh, 1.75rem) 0 0; color: var(--soft); font-size: 0.9375rem; }
.more a { color: var(--white); text-decoration: underline; text-decoration-color: var(--soft); text-underline-offset: 3px; }
.more a:hover { color: var(--cyan); text-decoration-color: var(--cyan); }

/* ═══════════ Arabic, right to left ═══════════
   ar.html only. Direction itself is handled by dir="rtl" — flexbox, grid and
   text all follow it. What does not follow it is anything written as a
   physical side, and anything that assumes Latin letterforms. */

[dir="rtl"] {
  /* Libre Franklin stays first so the Latin runs — Global Aim, LCL, FOB — keep
     the brand face; it carries no Arabic, so Arabic falls through to the
     system face, which is what every Arabic site on a phone already uses */
  --sans: "Libre Franklin", "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

/* letter-spacing breaks the joins between Arabic letters — it is not a
   tightening, it is a different word */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] .kick,
[dir="rtl"] .crumb,
[dir="rtl"] .p-prose .p-big,
[dir="rtl"] .p-figures dt,
[dir="rtl"] .row small { letter-spacing: normal; }

/* uppercase does nothing to Arabic, and the tracking that came with it is gone */
[dir="rtl"] .kick, [dir="rtl"] .crumb { text-transform: none; font-size: 0.8125rem; }

/* 1.06 is a Latin display leading; Arabic needs room above and below the line */
[dir="rtl"] .p-side h1, [dir="rtl"] .p-side h2, [dir="rtl"] .p-close h2 { line-height: 1.32; }
[dir="rtl"] .p-prose .p-big { line-height: 1.6; }
[dir="rtl"] .p-prose p { line-height: 1.85; }

/* the one physical side in the row markers */
[dir="rtl"] .rows > div::before { left: auto; right: 0; }
