/* Al-Mashawer website v2, "Trust & Authority" (ui-ux-pro-max): warm paper, navy and gold from the logo,
   card-based services, an interactive documents checklist and a preview of the client file.
   Logical properties throughout, so one stylesheet serves Arabic and Kurdish (RTL) and English (LTR). */

@font-face {
  font-family: "Droid Arabic Kufi"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/droid-arabic-kufi-regular.ttf") format("truetype");
}

:root {
  --ground: #f7f4ee;
  --surface: #ffffff;
  --surface-2: #f0ebe1;
  --ink: #10233a;
  --muted: #4b5767;
  --line: #e2dccf;
  --navy: #0e2440;
  --navy-2: #1a3a5f;
  --on-navy: #f3f5f8;
  --on-navy-2: #b9c7d8;
  --gold: #c9973a;
  --gold-hover: #b8862b;
  --gold-ink: #8a6417;
  --gold-soft: #f5ebd6;
  --on-gold: #0e2440;
  --ok: #24704b;
  --ok-soft: #e2f1e8;
  --danger: #b42318;
  --ring: #1a5fb4;
  --shadow: 0 1px 2px rgba(16, 35, 58, .06), 0 12px 32px -12px rgba(16, 35, 58, .18);

  --t-h1: clamp(40px, 6vw, 76px);
  --t-h2: clamp(28px, 3.4vw, 44px);
  --t-h3: 19px;
  --t-body: 17px;
  --t-small: 14.5px;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --body: "Droid Arabic Kufi", "Lato", system-ui, "Segoe UI", Tahoma, sans-serif;
  --display: var(--body);
  --lh: 1.9;
  --lh-head: 1.4;
  --bold: 400;
  color-scheme: light;
}
:root:lang(en) {
  --body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "EB Garamond", Georgia, "Times New Roman", serif;
  --lh: 1.65;
  --lh-head: 1.08;
  --bold: 700;
}
:lang(ar), :lang(ku-Arab) { font-synthesis: none; }

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0a1626;
    --surface: #102237;
    --surface-2: #142a43;
    --ink: #eef2f7;
    --muted: #a9b6c6;
    --line: #22395a;
    --navy: #07111e;
    --navy-2: #163152;
    --gold-ink: #e2b866;
    --gold-soft: #2b2617;
    --ok: #6fcf9b;
    --ok-soft: #12321f;
    --danger: #ff8a7a;
    --ring: #8ab4ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 var(--t-body)/var(--lh) var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--bold); line-height: var(--lh-head); margin: 0; text-wrap: balance; }
:lang(en) h1, :lang(en) h2 { font-weight: 600; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num { font-family: "Lato", system-ui, sans-serif; unicode-bidi: isolate; }
.sr, .sr-sm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: var(--bold); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: var(--t-small); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-navy { background: var(--navy-2); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy); }
.btn-line { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-line:hover { border-color: var(--gold); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-inline-end: auto; }
.brand img { width: 44px; height: 44px; }
.brand b { display: block; font-family: var(--display); font-weight: var(--bold); font-size: 18px; line-height: 1.2; }
:lang(en) .brand b { font-size: 21px; font-weight: 600; }
.brand small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav ul { display: flex; gap: 4px; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15.5px; color: var(--muted); transition: color .2s, background-color .2s; }
.nav ul a:hover { color: var(--ink); background: var(--surface-2); }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.langs a { min-height: 36px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--muted); }
.langs a:lang(en) { font-family: "Lato", sans-serif; }
.langs a:lang(ar), .langs a:lang(ku-Arab) { font-family: "Droid Arabic Kufi", sans-serif; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(16, 35, 58, .15); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-ink); font-size: var(--t-small); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { font-size: var(--t-h1); }
.lead { margin-top: 24px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { display: grid; gap: 10px; margin-top: 32px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.ticks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 2.6; }
.hero-media { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.case-card {
  position: absolute; inset-inline-start: -32px; bottom: 32px; width: min(330px, 86%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px;
}
.case-card header { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.case-card header b { display: block; font-size: 15.5px; line-height: 1.4; font-weight: var(--bold); }
.case-card header small { color: var(--muted); font-size: 13px; }
.case-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-ink); flex: none; }
.case-steps { display: grid; gap: 8px; padding-block: 14px; }
.case-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.tick { width: 20px; height: 20px; padding: 3px; border-radius: 50%; stroke-width: 3; background: var(--ok); color: #fff; flex: none; }
.case-steps li.now { color: var(--ok); font-weight: var(--bold); }
.case-card footer { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.case-card footer .icon { width: 16px; height: 16px; color: var(--gold-ink); }
.case-card footer span { white-space: nowrap; }
.case-card time { margin-inline-start: auto; white-space: nowrap; }

/* Sections */
.section { padding-block: var(--section); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head h2 { font-size: var(--t-h2); }
.section-head p { margin-top: 16px; color: var(--muted); }
.badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); margin-bottom: 18px; }
.badge .icon { width: 24px; height: 24px; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.service:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-2); color: var(--on-navy); margin-bottom: 18px; }
.service h3 { font-size: var(--t-h3); }
:lang(en) .service h3 { font-size: 22px; font-weight: 600; }
.service dl { margin: 14px 0 0; display: grid; gap: 8px; }
.service dt { font-size: 12.5px; color: var(--gold-ink); }
.service dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.steps-section { background: var(--surface-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; inset-inline: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(to right, var(--gold) 0 8px, transparent 8px 14px); opacity: .6; }
.steps li { position: relative; }
.step-no { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 20px; font-weight: 700; margin-bottom: 20px; box-shadow: 0 0 0 6px var(--surface-2); position: relative; }
.steps h3 { font-size: var(--t-h3); }
:lang(en) .steps h3 { font-size: 22px; font-weight: 600; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* Documents checklist */
.attach-box { display: grid; grid-template-columns: 280px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow); }
.tabs { display: grid; gap: 6px; align-content: start; }
.tabs button {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: 12px; border: 1px solid transparent;
  background: transparent; color: var(--muted); font: inherit; text-align: start; cursor: pointer; transition: background-color .2s, color .2s;
}
.tabs button:hover { background: var(--surface-2); color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--navy-2); color: var(--on-navy); }
.attach-panel { padding: clamp(12px, 2vw, 24px); border-inline-start: 1px solid var(--line); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist label { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background-color .2s; line-height: 1.5; }
.checklist label:hover { border-color: var(--gold); }
.checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); flex: none; transition: background-color .2s, border-color .2s; }
.box .icon { width: 16px; height: 16px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.checklist input:checked + .box { background: var(--ok); border-color: var(--ok); }
.checklist input:checked + .box .icon { opacity: 1; transform: none; }
.checklist label:has(input:checked) { background: var(--ok-soft); border-color: transparent; }
.checklist input:focus-visible + .box { outline: 3px solid var(--ring); outline-offset: 2px; }
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 24px; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease), background-color .3s; }
[dir="rtl"] .progress span { transform-origin: right; }
[dir="ltr"] .progress span { transform-origin: left; }
.complete .progress span { background: var(--ok); }
.progress-text { margin-top: 10px; font-size: var(--t-small); color: var(--muted); }
.complete .progress-text { color: var(--ok); font-weight: var(--bold); }
.attach-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); }
.note { color: var(--muted); font-size: var(--t-small); max-width: 34em; }

/* Client file */
.portal { background: var(--navy); color: var(--on-navy); padding-block: var(--section); overflow: hidden; }
.portal-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.portal h2 { font-size: var(--t-h2); }
.portal-text > p { margin-top: 16px; color: var(--on-navy-2); }
.badge-dark { background: rgba(201, 151, 58, .16); color: var(--gold); }
.ticks-dark { margin-block: 28px 32px; }
.ticks-dark .icon { background: rgba(111, 207, 155, .16); color: #6fcf9b; }
.window { background: #fff; color: #10233a; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #eef1f5; font-size: 13px; color: #4b5767; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6df; }
.window-bar span { margin-inline-start: 10px; }
.window-title { padding: 18px 20px 6px; font-weight: var(--bold); font-size: 17px; }
.docs { padding: 8px 12px 16px; }
.docs li { display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-bottom: 1px solid #eceff3; }
.docs li:last-child { border-bottom: 0; }
.docs b { display: block; font-weight: var(--bold); font-size: 15px; line-height: 1.5; }
.docs small { color: #5d6877; font-size: 12.5px; }
.doc-icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #f5ebd6; color: #8a6417; flex: none; }
.dl { margin-inline-start: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #eef1f5; color: #1a3a5f; }
.dl .icon { width: 18px; height: 18px; }

.band img { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { font-size: var(--t-h2); }
.lead-sm { margin-top: 16px; color: var(--muted); }
.info { display: grid; gap: 4px; margin-block: 28px; }
.info li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info .icon { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-ink); }
.info b { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.info span { font-size: 16px; }
.info a { text-decoration: none; }
.info a:hover { color: var(--gold-ink); text-decoration: underline; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.form h3 { font-size: 24px; }
:lang(en) .form h3 { font-size: 30px; font-weight: 600; }
.form > p { margin-top: 8px; color: var(--muted); font-size: var(--t-small); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--ground);
  color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.form-error { margin-top: 14px; color: var(--danger); font-size: var(--t-small); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.form-actions a { color: var(--muted); font-size: var(--t-small); }

/* Footer */
.footer { background: var(--navy); color: var(--on-navy-2); padding-block: 48px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 4px; }
.footer-brand b { display: block; color: var(--on-navy); font-weight: var(--bold); }
.footer-brand span { font-size: var(--t-small); }
.langs-foot { background: rgba(255, 255, 255, .08); }
.langs-foot a { color: var(--on-navy-2); }
.langs-foot a:hover { color: var(--on-navy); }
.langs-foot a[aria-current] { background: var(--gold); color: var(--on-gold); box-shadow: none; }
.fine { flex-basis: 100%; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; line-height: 1.8; }
.fine a { color: var(--on-navy); }

/* Mobile contact bar */
.bar { display: none; }

/* Reveal */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.rise.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav ul a { padding: 8px; font-size: 14.5px; }
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px; background: var(--ground); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 12px; font-size: 17px; color: var(--ink); }
  .langs { align-self: flex-start; }
  .hero-in, .portal-in, .contact { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .case-card { inset-inline-start: 16px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .attach-box { grid-template-columns: 1fr; }
  .tabs { grid-auto-flow: column; grid-auto-columns: 1fr; overflow-x: auto; }
  .tabs button { justify-content: center; text-align: center; }
  .attach-panel { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline: 4px; }
}

@media (max-width: 640px) {
  :root { --t-body: 16px; }
  .hide-sm { display: none; }
  .brand small { display: none; }
  .services, .checklist, .fields { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tabs button { flex-direction: column; gap: 4px; min-height: 64px; padding: 8px; font-size: 14px; }
  .hero-photo img { aspect-ratio: 4 / 4.4; }
  .case-card { position: relative; inset: auto; width: auto; margin: -64px 12px 0; }
  .attach-foot .btn { width: 100%; white-space: normal; }
  body { padding-bottom: 72px; }
  .bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    background: var(--navy); padding-bottom: env(safe-area-inset-bottom);
  }
  .bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: var(--on-navy); text-decoration: none; font-size: 13px; }
  .bar a:first-child { background: var(--gold); color: var(--on-gold); }
}

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

/* Condensed layout: compact service tiles, one-row file band, contact as a single row of facts. */
.service { display: flex; align-items: center; gap: 14px; padding: 18px; }
.service .service-icon { margin: 0; flex: none; }
.service h3, :lang(en) .service h3 { font-size: 16.5px; line-height: 1.45; }
:lang(en) .service h3 { font-family: var(--body); font-weight: 700; }
.service p { margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.hero { padding-bottom: clamp(56px, 7vw, 96px); }
.section { padding-block: clamp(56px, 7vw, 96px); }
.attach-foot { justify-content: flex-end; }
.portal { padding-block: clamp(40px, 5vw, 64px); }
.portal-in { display: flex; align-items: center; gap: 24px; }
.portal-in > div { flex: 1; }
.portal-in .badge { margin: 0; flex: none; }
.portal-in h2 { font-size: clamp(24px, 2.6vw, 34px); }
.portal-in p { margin-top: 6px; color: var(--on-navy-2); }
#contact .info { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-block: 0 28px; }
#contact .info li { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px; }
#contact .cta { margin-top: 0; }
@media (max-width: 900px) {
  .portal-in { flex-wrap: wrap; }
  #contact .info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  #contact .info { grid-template-columns: 1fr; }
  .portal-in .btn { width: 100%; }
}

/* Hero shows the company logo on a soft gold disc in place of a photo. */
.hero-logo { display: grid; place-items: center; aspect-ratio: 1; max-width: 440px; margin-inline: auto; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 58%, var(--gold-soft) 58% 100%); box-shadow: var(--shadow); }
.hero-logo picture { display: grid; place-items: center; width: 100%; }
.hero-logo img { width: 72%; height: auto; }
@media (max-width: 900px) { .hero-logo { max-width: 300px; } }
@media (max-width: 640px) { .hero-media { order: -1; } .hero-logo { max-width: 200px; } }
#contact .form { margin-top: 40px; max-width: 760px; }
