/* Linkawy website — Material 3 inspired, navy & gold. Logical properties keep LTR and RTL in one sheet. */
:root {
  --navy: #14273b;
  --navy-2: #1f3a56;
  --gold: #b88c34;
  --gold-text: #8f6a20;
  --gold-l: #e2c27a;
  --gold-c: #f6ead0;
  --surface: #fcfaf6;
  --surf-c: #f3eee5;
  --outline: #ddd5c6;
  --on: #1b1d21;
  --on-v: #4b525d;
  --r: 16px;
  --elev-1: 0 1px 2px rgba(20, 39, 59, .10), 0 2px 6px rgba(20, 39, 59, .08);
  --elev-2: 0 2px 4px rgba(20, 39, 59, .10), 0 8px 20px rgba(20, 39, 59, .14);
  --bar: 72px;
  --font: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
[lang="ar"] { --font: 'Cairo', 'Segoe UI', Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--on); font-family: var(--font); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
html[lang="ar"] body { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b { color: var(--navy); font-weight: 700; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; display: block; }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slides img { animation: none !important; }
  .hero-slides img:first-child { opacity: 1 !important; }
}

/* ---------- app bar ---------- */
.appbar { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .25s, box-shadow .25s, color .25s; }
.appbar.is-solid, .appbar.menu-open { background: #fff; color: var(--navy); box-shadow: var(--elev-1); }
.appbar-row { height: var(--bar); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Roboto', 'Segoe UI', Arial, sans-serif; font-weight: 900; letter-spacing: .14em; font-size: 18px; }
.mark { display: block; flex: none; width: 44px; height: 44px; border-radius: 10px; background: #fff center 38% / 230% no-repeat; box-shadow: var(--elev-1); }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 100px; font-weight: 500; font-size: 15px; transition: background .2s; }
.nav a:hover { background: rgba(127, 127, 127, .16); }
.nav a.is-active { background: var(--gold-c); color: var(--navy); }
.appbar-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 100px; border: 1px solid currentColor; }
.lang .ic { font-size: 16px; }
.lang:hover { background: rgba(127, 127, 127, .16); }
.lang[lang="ar"] { font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif; }
.lang[lang="en"] { font-family: 'Roboto', 'Segoe UI', Arial, sans-serif; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 50%; }
.menu-btn span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-slides, .hero-shade { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 18s infinite; }
.hero-slides img:first-child { opacity: 1; animation-name: heroFirst; }
.hero-slides img:nth-child(2) { animation-delay: 6s; }
.hero-slides img:nth-child(3) { animation-delay: 12s; }
@keyframes heroFirst { 0%, 33% { opacity: 1; } 40%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes heroFade { 0%, 100% { opacity: 0; transform: scale(1.03); } 6%, 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1); } }
.hero-shade { background: linear-gradient(180deg, rgba(20, 39, 59, .62) 0%, rgba(20, 39, 59, .25) 34%, rgba(20, 39, 59, .9) 80%, var(--navy) 100%); }
.hero-body { position: relative; padding-block: calc(var(--bar) + 48px) 40px; }
.eyebrow { display: block; color: var(--gold-l); font-weight: 600; letter-spacing: .04em; font-size: clamp(14px, 1.6vw, 17px); }
.hero h1 { font-size: clamp(38px, 7vw, 76px); line-height: 1.08; font-weight: 800; margin-block: 10px 16px; letter-spacing: -.01em; }
html[lang="ar"] .hero h1 { line-height: 1.25; letter-spacing: 0; }
.hero p { max-width: 720px; font-size: clamp(16px, 1.8vw, 19px); color: #e8edf3; }
.hero p b { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; border-radius: 100px; font-weight: 600; text-decoration: none; transition: box-shadow .2s, background .2s, transform .2s; }
.btn.filled { background: var(--gold-l); color: var(--navy); box-shadow: var(--elev-1); }
.btn.filled:hover { box-shadow: var(--elev-2); transform: translateY(-1px); }
.btn.outlined-light { border: 1px solid rgba(255, 255, 255, .7); color: #fff; }
.btn.outlined-light:hover { background: rgba(255, 255, 255, .14); }
.btn.text { color: var(--gold-text); padding-inline: 0; min-height: 40px; }
.btn.text:hover { text-decoration: underline; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.stats > div { display: flex; flex-direction: column-reverse; padding: 12px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.stats dd { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: var(--gold-l); line-height: 1.1; }
.stats dt { font-size: 13.5px; color: #dfe6ee; line-height: 1.3; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); position: relative; }
.section.tinted { background: var(--surf-c); }
.section-head { max-width: 780px; margin-block-end: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; color: var(--navy); font-weight: 800; }
.rule { display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--gold); margin-block: 12px 16px; }
.lede { color: var(--on-v); font-size: clamp(16px, 1.7vw, 18px); }
.note { margin-block-start: 28px; color: var(--on-v); max-width: 780px; }

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--elev-1); }
.card.outlined { box-shadow: none; border: 1px solid var(--outline); }
.card header { display: flex; align-items: center; gap: 12px; margin-block-end: 14px; }
.card h3 { font-size: 19px; line-height: 1.3; color: var(--navy); font-weight: 700; }
.card p { color: var(--on-v); }
.ic-round { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-c); color: var(--navy); display: grid; place-items: center; font-size: 22px; flex: none; }
.ic-round.dark { background: var(--navy); color: var(--gold-l); }
.ic-round.gold { background: var(--gold-l); color: var(--navy); }
.ic-square { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold-l); display: grid; place-items: center; font-size: 20px; margin-block-end: 12px; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split-media { border-radius: calc(var(--r) * 1.25); overflow: hidden; box-shadow: var(--elev-2); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text p + p { margin-block-start: 14px; color: var(--on-v); }
.big { font-size: clamp(17px, 2vw, 21px); color: var(--navy); line-height: 1.55; }
.split-text blockquote { margin-block-start: 20px; padding: 14px 18px; border-inline-start: 4px solid var(--gold); background: var(--surf-c); border-radius: 0 12px 12px 0; font-weight: 500; color: var(--navy); }
[dir="rtl"] .split-text blockquote { border-radius: 12px 0 0 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-block-start: clamp(28px, 4vw, 44px); }
.tile { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--surf-c); font-weight: 600; color: var(--navy); line-height: 1.3; }

/* ---------- services ---------- */
.svc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.svc li { position: relative; padding-inline-start: 18px; color: var(--on-v); font-size: 15px; line-height: 1.45; }
.svc li::before { content: ''; position: absolute; inset-inline-start: 0; top: .5em; width: 8px; height: 8px; background: var(--gold); border-radius: 2px; transform: rotate(45deg); }

/* ---------- projects ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 24px; }
.chip { min-height: 40px; padding: 6px 18px; border-radius: 10px; background: #fff; border: 1px solid var(--outline); cursor: pointer; font-weight: 500; font-size: 15px; transition: background .2s; }
.chip:hover { background: var(--surf-c); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pc { display: flex; flex-direction: column; width: 100%; padding: 0; border: 1px solid var(--outline); border-radius: var(--r); background: #fff; overflow: hidden; text-align: start; transition: box-shadow .25s, transform .25s, opacity .55s ease; }
.pc[hidden] { display: none; }
button.pc { cursor: pointer; }
button.pc:hover { box-shadow: var(--elev-2); transform: translateY(-3px); }
button.pc:hover .pc-img { transform: scale(1.04); }
.pc-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surf-c); }
.pc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pc-empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--gold-l); font-size: 48px; }
.pc-count { position: absolute; inset-block-end: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 100px; background: rgba(20, 39, 59, .85); color: #fff; font-size: 13px; }
.pc-count .ic { color: var(--gold-l); font-size: 14px; }
.pc-body { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px 18px; }
.pc-name { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.pc-scope { color: var(--gold-text); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.pc-meta { display: flex; align-items: center; gap: 5px; margin-block-start: 6px; font-size: 14px; color: var(--on-v); }
.pc-meta .ic { color: var(--gold); }
.pc-sub { margin-block-start: 8px; align-self: flex-start; padding: 2px 10px; border-radius: 8px; background: var(--surf-c); color: var(--navy); font-size: 12.5px; font-weight: 500; line-height: 1.4; }

/* ---------- why ---------- */
.apart .num { display: block; font-size: 32px; font-weight: 900; color: var(--gold); line-height: 1; margin-block-end: 12px; font-family: 'Roboto', 'Segoe UI', Arial, sans-serif; }
.apart h3, .value h3 { margin-block-end: 8px; }
.value .ic-round { margin-block-end: 14px; }

/* ---------- vision ---------- */
.section.navy { background: var(--navy); color: #e8edf3; }
.section.navy .section-head h2, .section.navy .sub-title { color: #fff; }
.section.navy .rule { background: var(--gold-l); }
.card.glass { background: rgba(255, 255, 255, .07); box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); }
.card.glass h3 { color: #fff; }
.card.glass p { color: #dfe6ee; }
.card.glass b { display: block; margin-block-start: 10px; color: var(--gold-l); }
.card.glass br { display: none; }
.sub-title { font-size: 22px; font-weight: 700; margin-block: 36px 16px; }
.goal .ic-round { margin-block-end: 12px; }
.goal p { color: #dfe6ee; font-size: 15px; line-height: 1.55; }

/* ---------- credibility ---------- */
.split.reverse .split-media { aspect-ratio: 1 / 1; }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 14px; color: var(--on); }
.pull { margin-block-start: 32px; display: flex; gap: 16px; align-items: flex-start; padding: 24px 28px; border-radius: var(--r); background: var(--navy); color: #fff; box-shadow: var(--elev-2); }
.pull .ic { font-size: 34px; color: var(--gold-l); }
.pull p { font-size: clamp(17px, 2vw, 21px); line-height: 1.5; font-weight: 500; }

/* ---------- safety ---------- */
.tiny p { font-size: 15px; line-height: 1.5; }
.wide-photo { position: relative; margin-block-start: 24px; border-radius: calc(var(--r) * 1.25); overflow: hidden; box-shadow: var(--elev-2); aspect-ratio: 21 / 9; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.wide-photo figcaption { position: absolute; inset: auto 0 0; padding: 48px 24px 20px; color: #fff; font-weight: 700; font-size: clamp(16px, 2.2vw, 22px); line-height: 1.35; background: linear-gradient(180deg, rgba(20, 39, 59, 0), rgba(20, 39, 59, .9)); }

/* ---------- partners ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 12px; }
.brands span, .brands a { padding: 3px 10px; border-radius: 8px; background: var(--gold-c); color: var(--navy); font-family: 'Roboto', 'Segoe UI', Arial, sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.partner p { font-size: 15px; line-height: 1.5; }

/* ---------- contact ---------- */
.section.contact { color: #fff; background: var(--navy); overflow: hidden; }
.contact-bg, .contact-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-bg { object-fit: cover; }
.contact-shade { background: linear-gradient(180deg, rgba(20, 39, 59, .86), rgba(20, 39, 59, .42) 60%, rgba(20, 39, 59, .78)); }
.section.contact .wrap { position: relative; }
.section.contact .section-head h2 { color: #fff; }
.section.contact .rule { background: var(--gold-l); }
.section.contact .lede { color: #e8edf3; }
.section.contact .lede b { color: #fff; }
.section.contact .card { color: var(--on); }
.phones { display: grid; gap: 8px; margin-block-end: 6px; }
.phones li { display: flex; align-items: center; gap: 10px; }
.phones a { color: var(--navy); font-weight: 600; font-size: 18px; text-decoration: none; font-variant-numeric: tabular-nums; }
.phones a:hover { text-decoration: underline; }
.phones a.wa { font-size: 13px; font-weight: 600; color: var(--gold-text); padding: 2px 10px; border: 1px solid var(--gold); border-radius: 100px; margin-inline-start: auto; }
.phones a.wa:hover { background: var(--gold-c); text-decoration: none; }
.socs { display: grid; gap: 10px; }
.soc { display: flex; align-items: center; gap: 12px; color: var(--navy); font-family: 'Roboto', 'Segoe UI', Arial, sans-serif; font-weight: 600; font-size: 17px; text-decoration: none; }
a.soc:hover { text-decoration: underline; }
.cc { min-width: 40px; text-align: center; padding: 1px 6px; border-radius: 6px; background: var(--gold-c); font-size: 12px; font-weight: 700; color: var(--navy); }
.closing-line { margin-block-start: 36px; font-size: clamp(22px, 3.4vw, 36px); line-height: 1.25; font-weight: 800; color: #fff; }

/* ---------- footer ---------- */
.footer { background: #0e1c2b; color: #c9d3de; padding-block: 36px 92px; font-size: 15px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .mark { width: 52px; height: 52px; border-radius: 12px; }
.footer-brand strong { display: block; color: #fff; letter-spacing: .1em; }
html[lang="ar"] .footer-brand strong { letter-spacing: 0; }
.footer-brand span { font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-nav a, .footer-contact a { text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-l); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-social { display: flex; gap: 8px; margin-block-start: 8px; }
.footer-social a, .footer-social span { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; font-size: 17px; }
.footer-social a:hover { background: var(--gold-l); color: var(--navy); }
.copyright { margin-block-start: 22px; padding-block-start: 14px; border-block-start: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #93a1b1; }

.fab-wrap { position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 40; }
.fab { list-style: none; cursor: pointer; width: 56px; height: 56px; border-radius: 16px; background: var(--gold-l); color: var(--navy); display: grid; place-items: center; font-size: 26px; box-shadow: var(--elev-2); transition: transform .2s; }
.fab::-webkit-details-marker { display: none; }
.fab:hover { transform: translateY(-2px); }
.fab-menu { position: absolute; inset-block-end: 66px; inset-inline-end: 0; width: max-content; max-width: calc(100vw - 40px); display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--elev-2); }
.fab-menu a { display: flex; flex-direction: column; padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--navy); line-height: 1.35; }
.fab-menu a:hover { background: var(--surf-c); }
.fab-menu strong { font-size: 15px; }
.fab-menu span { font-size: 14px; color: var(--on-v); text-align: left; }
[dir="rtl"] .fab-menu span { text-align: right; }

/* ---------- project sheet ---------- */
dialog { border: 0; padding: 0; color: var(--on); }
.sheet { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: 24px; background: var(--surface); box-shadow: var(--elev-2); overflow: hidden; }
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: rgba(14, 28, 43, .66); }
.sheet-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 14px; border-block-end: 1px solid var(--outline); }
.sheet-head h2 { font-size: clamp(21px, 3vw, 28px); line-height: 1.25; color: var(--navy); font-weight: 800; }
.sheet-scope { color: var(--gold-text); font-weight: 600; }
.sheet-scroll { overflow-y: auto; padding: 16px 24px 24px; }
.sheet-desc { color: var(--on-v); max-width: 760px; }
.sheet-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 12px 18px; }
.tag { padding: 3px 12px; border-radius: 8px; background: var(--surf-c); color: var(--navy); font-size: 13.5px; font-weight: 500; }
.tag.strong { background: var(--navy); color: #fff; }
.masonry { columns: 3 220px; column-gap: 10px; }
.masonry button { display: block; width: 100%; padding: 0; margin-block-end: 10px; border: 0; background: var(--surf-c); border-radius: 10px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.masonry img { width: 100%; height: auto; transition: transform .3s; }
.masonry button:hover img { transform: scale(1.03); }
.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surf-c); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--outline); }

/* ---------- photo viewer ---------- */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(8, 15, 24, .96); }
.viewer[open] { display: grid; place-items: center; }
.viewer::backdrop { background: rgba(8, 15, 24, .96); }
.viewer img { max-width: min(100vw, 1600px); max-height: 100dvh; width: auto; height: auto; object-fit: contain; }
.icon-btn.light { position: absolute; z-index: 2; background: rgba(255, 255, 255, .14); color: #fff; }
.icon-btn.light:hover { background: rgba(255, 255, 255, .28); }
.viewer .close { top: 14px; inset-inline-end: 14px; }
.viewer .prev { inset-inline-start: 14px; top: 50%; translate: 0 -50%; font-size: 32px; }
.viewer .next { inset-inline-end: 14px; top: 50%; translate: 0 -50%; font-size: 32px; }
.viewer-count { position: absolute; inset-block-end: 14px; left: 50%; translate: -50% 0; padding: 3px 14px; border-radius: 100px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .nav { position: absolute; inset: var(--bar) 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px var(--gutter) 16px; background: #fff; color: var(--navy); box-shadow: var(--elev-2); margin: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 16px; }
  .appbar-actions { margin-inline-start: auto; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --bar: 64px; }
  .split, .grid.two, .grid.three, .grid.four { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-media { aspect-ratio: 4 / 3; }
  .svc ul { grid-template-columns: minmax(0, 1fr); }
  .wide-photo { aspect-ratio: 4 / 3; }
  .sheet { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .sheet-head, .sheet-scroll { padding-inline: 16px; }
  .masonry { columns: 2; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .stats > div { padding: 10px 12px; }
  .brand > span:last-child { display: none; }
  .hero-body { padding-block-end: 92px; }
}
@media print {
  .appbar, .fab-wrap, dialog { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
