/* Ewan Engineering — concept site */
:root {
  --ink: #23262f;
  --slate: #2e3441;          /* the "n" icon colour */
  --text: #4b4f5a;
  --muted: #858996;
  --line: #e2e0db;
  --paper: #f6f5f2;
  --white: #fff;
  --stone: #b39f84;          /* travertine, used sparingly */
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 300 17px/1.7 var(--font-en, "Be Vietnam Pro"), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 500; margin: 0; letter-spacing: -.02em; line-height: 1.15; }
h1 em, h2 em { font-style: normal; color: var(--muted); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); max-width: 16ch; margin-bottom: clamp(32px, 4vw, 56px); }

.label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 28px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.label span { color: var(--stone); }
.label span:empty { display: none; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
  font-family: inherit;
}
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--slate); }
.arrow-link { font-size: 15px; font-weight: 500; color: var(--ink); display: inline-flex; gap: 10px; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .3s var(--ease); }
.arrow-link:hover::after { transform: translateX(5px); }

/* header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 88px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); transition: background .35s, height .35s, box-shadow .35s;
}
.top .logo img { width: 112px; height: auto; }
.logo-w { display: none; }
.on-dark .top:not(.is-solid) .logo-b { display: none; }
.on-dark .top:not(.is-solid) .logo-w { display: block; }
.top.is-solid { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); height: 72px; box-shadow: 0 1px 0 var(--line); }
body:not(.on-dark) .top { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: 14px; font-weight: 400; color: var(--ink); }
.menu a { position: relative; padding: 6px 0; }
.menu a[aria-current]::after, .menu a:not(.menu-cta):hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
}
.menu-cta { border: 1px solid currentColor; border-radius: 999px; padding: 9px 20px !important; }
.on-dark .top:not(.is-solid) .menu { color: #fff; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s; }
.on-dark .top:not(.is-solid) .burger span { background: #fff; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 620px; color: #fff; overflow: hidden; background: var(--slate); }
.hero-media, .hero-img, .hero-shade { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.2s var(--ease), transform 7s linear; }
.hero-img.is-on { opacity: 1; transform: scale(1); }
.hero-shade { background: linear-gradient(90deg, rgba(20,22,28,.72) 0%, rgba(20,22,28,.35) 45%, rgba(20,22,28,.05) 75%), linear-gradient(0deg, rgba(20,22,28,.6), transparent 40%); }
.hero-text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 120px; }
.hero-kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 92px); font-weight: 500; letter-spacing: -.035em; line-height: 1.16; }
.hero-lead { max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); margin: 26px 0 36px; opacity: .88; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* signature: the vertical column lines carried over from the current site */
.hero-cols { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-col {
  position: relative; display: flex; align-items: baseline; gap: 14px; padding: 26px var(--pad) 30px;
  border-left: 1px solid rgba(255,255,255,.22); border-top: 1px solid rgba(255,255,255,.22);
  font-size: 15px; color: rgba(255,255,255,.66); transition: color .4s, background .4s;
}
.hero-col:first-child { border-left: 0; }
.hero-col::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: #fff; }
.hero-col.is-on { color: #fff; }
.hero-col.is-on::before { width: 100%; transition: width 6s linear; }
.hero-col:hover { background: rgba(255,255,255,.06); color: #fff; }
.hero-n { font-size: 12px; letter-spacing: .1em; opacity: .7; }
.hero-name { font-weight: 400; }

/* intro */
.intro-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.statement { font-size: clamp(28px, 3.2vw, 44px); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.intro-text { padding-top: 8px; }
.intro-text .arrow-link { margin-top: 12px; }

/* services on home */
.services-home { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-pic { position: sticky; top: 110px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px 160px 4px 4px; background: var(--line); }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s; }
.svc-pic img.is-fading { opacity: 0; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc { border-bottom: 1px solid #d6d3cc; }
.svc-head {
  width: 100%; display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 12px;
  padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
}
.svc-n { font-size: 12px; color: var(--stone); letter-spacing: .1em; font-weight: 500; }
.svc-t { font-size: clamp(19px, 1.7vw, 24px); font-weight: 400; }
.svc-plus { position: relative; width: 14px; height: 14px; }
.svc-plus::before, .svc-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .35s var(--ease); }
.svc-plus::after { transform: rotate(90deg); }
.svc.is-open .svc-plus::after { transform: rotate(0); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); padding-left: 56px; }
.svc-body > div { overflow: hidden; min-height: 0; }
.svc.is-open .svc-body { grid-template-rows: 1fr; }
.svc-body p { margin: 0; padding-bottom: 10px; max-width: 30em; }
.svc-body a { display: block; padding-bottom: 26px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* project cards */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.sec-head .label { flex: 1; white-space: nowrap; }
.sec-head .arrow-link { white-space: nowrap; }
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 28px); }
.feat-grid .card { grid-column: span 2; }
.feat-grid .card-big { grid-column: span 4; grid-row: span 2; }
.feat-grid .card:nth-child(4), .feat-grid .card:nth-child(5) { grid-column: span 3; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-img { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--paper); }
.card-big .card-img { aspect-ratio: auto; flex: 1; min-height: 300px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-meta { display: grid; gap: 2px; }
.card-cat { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.card-title { font-size: 21px; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.card-tag { font-size: 15px; color: var(--muted); }
.card.is-hidden { display: none; }

/* process */
.process { background: var(--slate); color: rgba(255,255,255,.72); }
.process .label { color: #fff; }
.process .label::after { background: rgba(255,255,255,.2); }
.process h2, .process h3 { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.steps li { padding: 28px 24px 8px 0; border-top: 1px solid rgba(255,255,255,.25); position: relative; }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--stone); }
.steps h3 { font-size: 22px; margin: 14px 0 10px; font-weight: 500; }
.steps p { font-size: 15px; margin: 0; }
.step-n { font-size: 12px; letter-spacing: .1em; color: var(--stone); font-weight: 500; }

/* CTA + footer */
.cta { background: var(--paper); padding: clamp(72px, 9vw, 130px) 0; }
.cta-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 500; }
.cta h2 span { color: var(--muted); }
.cta-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta .btn-light { background: var(--ink); color: #fff; }
.cta .btn-light:hover { background: var(--slate); }
.cta-link { font-size: 18px; color: var(--ink); font-weight: 400; }
.foot { background: var(--ink); color: rgba(255,255,255,.62); font-size: 15px; padding-top: 72px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.foot-line { margin-top: 20px; max-width: 22em; }
.foot-nav, .foot-contact { display: grid; gap: 10px; align-content: start; }
.foot a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; font-size: 13px; position: relative; }
.foot-base::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: rgba(255,255,255,.12); }

/* inner pages */
.page-head { padding-top: clamp(140px, 16vw, 200px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -.035em; line-height: 1.16; max-width: 15ch; }
.page-lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 36em; margin-top: 24px; color: var(--muted); }
.wide-pic img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 4px; }
.vm { background: var(--paper); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.vm-item p:last-child { font-size: clamp(19px, 1.7vw, 24px); color: var(--ink); line-height: 1.5; font-weight: 300; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why li { border-top: 1px solid var(--ink); padding-top: 22px; }
.why h3 { font-size: 20px; margin-bottom: 10px; }
.why p { font-size: 15px; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.jump a, .chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 14px; color: var(--ink);
  background: none; font-family: inherit; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.jump a:hover, .chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.svc-blocks { display: grid; gap: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 10vw, 140px); }
.svc-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; scroll-margin-top: 110px; }
.svc-block.flip .svc-block-pic { order: 2; }
.svc-block-pic { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 4px; }
.svc-block-pic img { width: 100%; height: 100%; object-fit: cover; }
.svc-block h2 { font-size: clamp(30px, 3.2vw, 44px); margin: 10px 0 18px; }
.svc-short { font-size: 19px; color: var(--ink); }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.ticks li { border-top: 1px solid var(--line); padding: 12px 0; font-size: 15px; color: var(--ink); }

.proj-grid { padding-bottom: clamp(72px, 10vw, 140px); row-gap: clamp(36px, 4vw, 56px); }
.back { font-size: 14px; color: var(--muted); display: inline-block; margin-bottom: 28px; }
.back::before { content: "← "; }
.proj-head .card-cat { margin-bottom: 12px; }
.proj-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.proj-over { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; border-top: 1px solid var(--line); padding-top: 22px; }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; color: var(--ink); font-weight: 400; }
.feats { list-style: none; margin: 0; padding: 0; }
.feats li { display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feats li:first-child { padding-top: 0; }
.feats h3 { font-size: 18px; margin-bottom: 4px; }
.feats p { margin: 0; font-size: 15px; }
.gallery { columns: 3; column-gap: 16px; padding-bottom: clamp(72px, 9vw, 120px); }
.g-item { display: block; margin-bottom: 16px; break-inside: avoid; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.g-item img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.03); }
.next-proj { position: relative; display: block; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0; }
.next-proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; transition: opacity .6s, transform 1.2s var(--ease); }
.next-proj:hover img { opacity: .5; transform: scale(1.03); }
.next-proj .wrap { position: relative; z-index: 1; display: block; }
.next-proj .label { color: #fff; }
.next-proj .label::after { background: rgba(255,255,255,.3); }
.next-title { display: block; font-size: clamp(36px, 5vw, 72px); font-weight: 500; letter-spacing: -.03em; }
.next-title::after { content: " →"; }

/* contact */
.contact-sec { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.contact-info { display: grid; gap: 30px; align-content: start; }
.contact-info .label { margin-bottom: 8px; }
.contact-info a, .contact-info p:not(.label) { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink); font-weight: 400; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 5px; }
.form { background: var(--paper); border-radius: 4px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 20px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; color: var(--ink); font-weight: 500; margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; border: 1px solid #d6d3cc; border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink); cursor: pointer; background: #fff; transition: .25s; }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--stone); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink); font-weight: 500; }
.field input, .field textarea {
  font: inherit; font-weight: 300; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid #d6d3cc; border-radius: 4px; padding: 13px 14px; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form .btn { justify-self: start; }
.form-note { font-size: 14px; margin: 0; color: var(--muted); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(18,20,26,.95); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 2px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; width: 64px; height: 64px; opacity: .7; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .1em; }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .why { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid .card, .feat-grid .card:nth-child(4), .feat-grid .card:nth-child(5) { grid-column: span 1; }
  .feat-grid .card-big { grid-column: span 2; grid-row: auto; }
  .card-big .card-img { aspect-ratio: 16 / 9; }
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; z-index: 2; }
  .menu {
    position: fixed; inset: 0; background: var(--white); color: var(--ink) !important;
    flex-direction: column; justify-content: center; gap: 22px; font-size: 26px;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .menu.is-open { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  body.menu-open .top { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--white) !important; }
  .menu-cta { font-size: 18px; margin-top: 12px; }
  body.menu-open .burger span { background: var(--ink) !important; }
  body.menu-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  body.menu-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  body.menu-open .logo-b { display: block !important; }
  body.menu-open .logo-w { display: none !important; }
  .top .logo { z-index: 2; }
  .intro-grid, .svc-grid, .vm-grid, .svc-block, .proj-body, .contact-grid { grid-template-columns: 1fr; }
  .svc-block.flip .svc-block-pic { order: 0; }
  .svc-pic { position: relative; top: 0; aspect-ratio: 16 / 10; border-radius: 4px 90px 4px 4px; }
  .hero-col { padding: 18px 14px 22px; font-size: 13px; flex-direction: column; gap: 4px; }
  .hero-text { padding-bottom: 110px; }
  .gallery { columns: 2; }
  .wide-pic img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid3, .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .feat-grid .card-big { grid-column: auto; }
  .steps, .why, .ticks, .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .hero-name { font-size: 12px; line-height: 1.35; }
  .gallery { columns: 1; }
  .cta-actions { width: 100%; }
}

/* WordPress additions */
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
.form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.notice { padding: 14px 18px; border-radius: 4px; margin: 0; font-size: 15px; }
.notice--ok { background: #e7f0e6; color: #1f4d1c; }
.notice--error { background: #f6e3e1; color: #7a2018; }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 13px; font-weight: 400; }
.entry { max-width: 760px; padding-bottom: clamp(72px, 9vw, 120px); }
.entry h2 { font-size: 30px; margin: 1.6em 0 .6em; }
.entry h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.entry img { height: auto; border-radius: 4px; }
.entry a { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.foot-social { display: flex; gap: 10px; margin-top: 8px; }
.foot-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); transition: color .3s, border-color .3s, background .3s; }
.foot-social a:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.06); }
.foot-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1001px) {
  .feat-grid:not(.feat-5) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feat-grid:not(.feat-5) .card, .feat-grid:not(.feat-5) .card-big { grid-column: auto; grid-row: auto; }
  .feat-grid:not(.feat-5) .card-big .card-img { aspect-ratio: 4 / 3; flex: none; min-height: 0; }
}

/* Arabic (right to left) */
.is-ar { font-family: var(--font-ar, "Readex Pro"), var(--font-en), system-ui, sans-serif; line-height: 1.85; }
.is-ar h1, .is-ar h2, .is-ar h3, .is-ar .hero h1, .is-ar .page-head h1, .is-ar .next-title { letter-spacing: 0; line-height: 1.5; }
.is-ar .label, .is-ar .hero-kicker, .is-ar .card-cat, .is-ar .facts dt, .is-ar .svc-n, .is-ar .step-n, .is-ar .hero-n { letter-spacing: 0; text-transform: none; }
.is-ar .label { font-size: 14px; }
.is-ar .hero-kicker, .is-ar .card-cat { font-size: 14px; }
.is-ar .hero-shade { transform: scaleX(-1); }
.is-ar .hero-col { border-left: 0; border-right: 1px solid rgba(255,255,255,.22); }
.is-ar .hero-col:first-child { border-right: 0; }
.is-ar .hero-col::before { left: auto; right: 0; }
.is-ar .svc-head { text-align: right; }
.is-ar .svc-body { padding-left: 0; padding-right: 56px; }
.is-ar .svc-pic { border-radius: 160px 4px 4px 4px; }
.is-ar .arrow-link::after { content: "←"; }
.is-ar .arrow-link:hover::after { transform: translateX(-5px); }
.is-ar .back::before { content: "→ "; }
.is-ar .next-title::after { content: " ←"; }
.is-ar .lb-prev { left: auto; right: 12px; }
.is-ar .lb-next { right: auto; left: 12px; }
.is-ar .steps li { padding: 28px 0 8px 24px; }
.is-ar .steps li::before { left: auto; right: 0; }
.is-ar .entry, .is-ar .form { text-align: right; }
.is-ar [dir="ltr"] { text-align: left; }
.is-ar .contact-info a[href^="tel:"], .is-ar .cta-link, .is-ar .foot-contact a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
.foot-contact a[href^="tel:"] { justify-self: start; }
.menu-lang { font-size: 14px; opacity: .85; }
.is-en .menu-lang { font-family: var(--font-ar, "Readex Pro"), sans-serif; }
@media (max-width: 820px) {
  .is-ar .svc-pic { border-radius: 90px 4px 4px 4px; }
  .is-ar .hero-col { padding: 18px 14px 22px; }
}

.foot-end { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot-credit a { color: rgba(255,255,255,.85); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.foot-credit a:hover { text-decoration-color: currentColor; }

/* Room between lines for tall letters (Bukra, Arabic marks) */
.jump a, .chip { line-height: 1.45; }
.cta h2 { line-height: 1.22; }
.is-ar .cta h2, .is-ar .statement, .is-ar .h2 { line-height: 1.5; }
