/* Al Manzel Marine — site styles */
:root {
  --blue: #286D98;
  --blue-dark: #1C5070;
  --navy: #0E2A3D;
  --ink: #1F2A33;
  --muted: #4A555E;
  --line: #E1E8ED;
  --line-strong: #C9D6DF;
  --mist: #EEF3F7;
  --white: #FFFFFF;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.02;
}
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.stack { display: flex; flex-direction: column; gap: 8px; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

/* Placeholder blocks — replaced with real photos later */
.ph {
  background: repeating-linear-gradient(135deg, #DCE5EC 0 14px, #E5ECF1 14px 28px);
  display: flex; align-items: flex-end; padding: 14px;
  font-size: 13px; color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 3px; border: 1px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.btn-ghost-light { color: var(--white); border-color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline { color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--mist); }

/* Header */
.site-header { background: var(--white); position: relative; }
.header-top { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.brand { flex: none; }
.brand img { height: 96px; width: auto; }
.header-badges { margin-left: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.made-uae.in-header { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--ink); letter-spacing: 0.02em; }
.made-uae.in-header em { font-weight: 400; color: var(--muted); }
.made-uae.in-header > span { display: flex; flex-direction: column; }
.made-uae.in-header .uae-flag { width: 22px; height: 11px; }
.made-uae.in-header, .header-cred { min-width: 0; }
.made-uae.in-header .uae-flag, .header-cred svg { flex: none; width: 22px; }
.header-contact { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-weight: 600; font-size: 15px; }
.header-contact a { color: var(--ink); text-decoration: none; }
.header-contact a:hover { color: var(--blue); }
.header-cred { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.header-cred b { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; color: var(--ink); }
.header-cred em { font-style: normal; font-size: 13px; color: var(--muted); }
.header-cred svg { width: 22px; height: 22px; }
.header-cred { gap: 8px; }
.header-cred:hover b { color: var(--blue-dark); }
.header-nav { border-top: 1px solid var(--line); }
.nav-toggle {
  display: none; margin-left: auto;
  min-width: 48px; min-height: 48px; padding: 0 12px;
  background: none; border: 1px solid var(--line-strong); border-radius: 3px;
  font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
  align-items: center; gap: 8px;
}
.site-nav {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 30px; min-height: 60px;
  font-family: var(--display); font-size: 17px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.site-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); border-bottom: 2px solid var(--blue); }
.site-nav .nav-cta { margin-left: auto; color: var(--white); background: var(--blue); padding: 10px 18px; border-radius: 3px; }
.site-nav .nav-cta:hover { color: var(--white); background: var(--blue-dark); }

@media (max-width: 1100px) { .site-nav { gap: 22px; font-size: 16px; } }
@media (max-width: 880px) {
  .header-top { gap: 18px; padding-top: 12px; padding-bottom: 12px; }
  .brand img { height: 64px; }
  .header-contact { display: none; }
  .header-cred em { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-nav { border-top: none; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
    flex-direction: column; align-items: stretch; gap: 0; min-height: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin: 14px 0 0; text-align: center; border-bottom: none; }
}
@media (max-width: 600px) {
  .header-top { gap: 12px; }
  .brand img { height: 46px; }
  .made-uae.in-header { font-size: 11px; gap: 6px; line-height: 1.2; }
  .header-badges { gap: 4px; }
  .made-uae.in-header .uae-flag { width: 22px; height: 11px; }
  .made-uae.in-header em { display: none; }
  .header-cred { display: none; }
  .nav-toggle { padding: 0 10px; font-size: 0; gap: 0; }
}

/* Hero */
.hero {
  color: var(--white);
  background: repeating-linear-gradient(135deg, #123247 0 16px, #163a51 16px 32px);
}
.hero .wrap { padding-top: 120px; padding-bottom: 110px; display: flex; flex-direction: column; gap: 22px; }
.hero .kicker {
  font-family: var(--display); font-size: 18px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: #9FC4DD;
}
.hero h1 { font-size: clamp(48px, 8vw, 84px); line-height: 0.98; letter-spacing: 0.01em; max-width: 900px; }
.hero p { font-size: 21px; max-width: 640px; color: #D6E4EE; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero .ph-note { margin-top: 40px; font-size: 13px; color: #9FC4DD; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 40px; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px;
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(38px, 5vw, 52px); }
.section-head p { max-width: 460px; }
.band { background: var(--mist); }
.page-intro { background: var(--mist); }
.page-intro .wrap { padding-top: 64px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 12px; }
.page-intro h1 { font-size: clamp(44px, 6vw, 64px); line-height: 1; }
.page-intro p { max-width: 680px; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }

/* Division cards */
.division {
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--line);
}
.division:hover { border-color: var(--line-strong); color: var(--ink); }
.division .ph { height: 260px; }
.division .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.division h3 { font-size: 30px; }
.division .more { font-weight: 700; color: var(--blue); margin-top: 6px; }

/* Split feature */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px; align-items: center;
  padding-top: 88px; padding-bottom: 88px;
}
.split .ph { min-height: 420px; }
.split h2 { font-size: clamp(36px, 4.5vw, 48px); }
.split .copy { display: flex; flex-direction: column; gap: 22px; }
.points { display: flex; flex-direction: column; gap: 16px; }
.point { display: flex; gap: 14px; align-items: flex-start; }
.point svg { flex: none; margin-top: 2px; }

/* Project cards */
.project-card {
  text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px;
}
.project-card:hover { color: var(--ink); }
.project-card:hover .title { color: var(--blue); }
.project-card .ph { height: 230px; }
.project-card .tag {
  font-family: var(--display); font-size: 15px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);
}
.project-card .title { font-size: 21px; font-weight: 700; line-height: 1.25; }
.project-card .meta { font-size: 15px; color: var(--muted); }

/* Sectors strip */
.sectors {
  border-top: 2px solid var(--blue); padding-top: 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px;
}
.sectors b { display: block; font-family: var(--display); font-size: 26px; font-weight: 700; text-transform: uppercase; }

/* CTA band */
.cta-band { background: var(--blue); color: var(--white); }
.cta-band .wrap {
  padding-top: 72px; padding-bottom: 72px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px;
}
.cta-band h2 { font-size: clamp(36px, 4.5vw, 48px); }
.cta-band p { font-size: 19px; color: #E1EDF5; }

/* Footer */
.site-footer { background: var(--navy); color: #C5D6E2; }
.site-footer a { color: #C5D6E2; }
.site-footer a:hover { color: var(--white); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 36px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 6px; }
.footer-cols b { color: var(--white); }
.site-footer .social { display: flex; gap: 10px; }
.site-footer .social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(197, 214, 226, 0.35); }
.site-footer .social a:hover { border-color: var(--white); }
.footer-logo { background: var(--white); padding: 12px 14px; border-radius: 3px; align-self: flex-start; }
.footer-logo img { width: 240px; }
.footer-base {
  border-top: 1px solid #24465C; padding-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px;
}

/* Projects library filters */
.filters { display: flex; flex-direction: column; gap: 14px; }
.cat-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; cursor: pointer;
  font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 14px 12px;
}
.tab:first-child { padding-left: 2px; }
.tab small { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0; color: #8A99A6; }
.tab:hover { color: var(--navy); }
.tab[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--blue); }
.tab[aria-pressed="true"] small { color: var(--blue); }
.tab:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.toolbar .search {
  flex: 1 1 200px; max-width: 320px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 3px; color: var(--muted); background: var(--white);
}
.toolbar .search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(40,109,152,0.25); }
.toolbar .search input { flex: 1; min-width: 0; border: none; outline: none; font: inherit; font-size: 15px; color: var(--ink); background: none; height: 100%; }
.toolbar .search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.more { display: contents; }
.ctrl { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; font-size: 15px; }
.ctrl span { font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ctrl select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  height: 38px; padding: 0 30px 0 12px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A555E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
}
.ctrl select:hover { border-color: var(--blue); }
.ctrl select:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(40,109,152,0.25); }
.ctrl select.on { border-color: var(--blue); color: var(--blue); }
.seg { display: inline-flex; height: 38px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--white); overflow: hidden; }
.seg button {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap;
  padding: 0 13px; border: 0; border-left: 1px solid var(--line-strong); background: none;
}
.seg button:first-child { border-left: 0; }
.seg button:hover { color: var(--navy); background: var(--mist); }
.seg button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.seg button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.toolbar .end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.toolbar .count { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); white-space: nowrap; }
.toolbar .count .link-btn { min-height: 0; padding: 0; font-weight: 600; font-size: 15px; }
.ftoggle { display: none; }
@media (max-width: 720px) {
  .filters { gap: 12px; }
  .cat-tabs { margin: 0 -24px; padding: 0 24px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
  .cat-tabs.at-end { -webkit-mask-image: none; mask-image: none; }
  .tab { font-size: 18px; padding: 12px 12px 13px; }
  .toolbar { gap: 10px; }
  .toolbar .search { max-width: none; height: 44px; }
  .ftoggle {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; cursor: pointer;
    font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
    border: 1px solid var(--line-strong); border-radius: 3px; background: var(--white);
  }
  .ftoggle[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
  .ftoggle .n {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; background: var(--blue); color: var(--white);
  }
  .more { display: none; flex: 1 1 100%; flex-direction: column; gap: 10px; }
  .more.open { display: flex; }
  .ctrl, .ctrl select, .seg { height: 44px; }
  .ctrl { width: 100%; }
  .ctrl select { flex: 1; min-width: 0; }
  .seg button { flex: 1; }
  .toolbar .end { flex: 1 1 100%; margin-left: 0; justify-content: space-between; }
  .ctrl.sort { width: auto; }
  .ctrl.sort select { flex: none; }
}
.library { padding-top: 36px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; }
.empty { padding: 40px; text-align: center; background: var(--mist); color: var(--muted); }
.link-btn { font: inherit; font-weight: 700; color: var(--blue); background: none; border: none; cursor: pointer; text-decoration: underline; min-height: 44px; }

/* Project sheet */
.breadcrumb { font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-head { padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.sheet-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.sheet-title h1 { font-size: clamp(40px, 5.5vw, 60px); line-height: 1; }
.gallery { padding-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.gallery .main { grid-column: 1 / -1; height: clamp(260px, 45vw, 560px); }
.gallery .thumb { height: 150px; font-size: 12px; }
.sheet-body { padding-top: 56px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 56px; }
.sheet-body .prose { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.sheet-body h2 { font-size: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { background: var(--mist); padding: 6px 14px; border-radius: 3px; font-weight: 600; }
.particulars { flex: 1 1 320px; min-width: 0; align-self: flex-start; border: 1px solid var(--line); }
.particulars .head {
  background: var(--blue); color: var(--white); padding: 12px 18px;
  font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.particulars dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 16px; }
.particulars dt, .particulars dd { margin: 0; padding: 10px 18px; border-bottom: 1px solid #E6EBEF; }
.particulars dt { color: var(--muted); }
.particulars dd { font-weight: 600; }
.particulars dt:last-of-type, .particulars dd:last-of-type { border-bottom: none; }

/* About & contact */
.about-intro { padding-top: 72px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-intro .copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-intro h1 { font-size: clamp(44px, 6vw, 64px); line-height: 1; }
.about-intro .ph { flex: 1 1 360px; min-width: 0; height: 420px; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.person { display: flex; flex-direction: column; gap: 6px; }
.person .ph { height: 260px; }
.person b { font-size: 19px; }
.contact { padding-top: 72px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; scroll-margin-top: 24px; }
.contact .details { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact .details h2 { font-size: clamp(40px, 5vw, 52px); line-height: 1; }
.contact .details .ph { height: 260px; }
.enquiry {
  flex: 999 1 520px; min-width: 0;
  display: flex; flex-direction: column; gap: 18px;
  border: 1px solid var(--line); padding: 32px;
}
.enquiry h3 { font-size: 30px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.enquiry label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.enquiry input, .enquiry select, .enquiry textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  min-height: 46px; padding: 0 12px;
  border: 1px solid #B7C4CF; border-radius: 3px; background: var(--white);
}
.enquiry textarea { padding: 10px 12px; resize: vertical; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.enquiry .note { font-size: 14px; color: var(--muted); }
.enquiry .btn { align-self: flex-start; }

@media (max-width: 600px) {
  .hero .wrap { padding-top: 72px; padding-bottom: 64px; }
  .section { padding-top: 64px; }
  .split { padding-top: 56px; padding-bottom: 56px; }
  .enquiry { padding: 22px; }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- v2 additions ---------- */

/* Placeholder illustrations (swap for photos later) */
.illus { position: relative; margin: 0; overflow: hidden; background: var(--mist); }
.illus img { width: 100%; height: 100%; object-fit: cover; }
.illus figcaption {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(14, 42, 61, 0.78); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 8px; border-radius: 2px;
}
.division .illus, .project-card .illus, .news-card .illus { aspect-ratio: 16 / 10; }
.split .illus { aspect-ratio: 16 / 10; min-height: 0; }
.gallery .illus.main { grid-column: 1 / -1; aspect-ratio: 16 / 8; height: auto; }
.about-intro .illus { flex: 1 1 360px; min-width: 0; aspect-ratio: 16 / 11; }
.post .illus { aspect-ratio: 16 / 9; }
.page-intro .illus { aspect-ratio: 16 / 10; }

/* Hero */
.hero { background: linear-gradient(135deg, #0E2A3D 0%, #163A51 100%); }
.hero .wrap.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-illus { aspect-ratio: 16 / 9; border-radius: 3px; box-shadow: 0 18px 50px rgba(0,0,0,0.35); }

/* Stats */
.stats-band { background: var(--white); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.stats div { display: flex; flex-direction: column; gap: 2px; }
.stats b { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--blue); }
.stats span { color: var(--muted); font-size: 15px; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.grid-4 .division h3 { font-size: 26px; }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cred { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); padding: 20px; }
.cred svg { flex: none; }
.cred div { display: flex; flex-direction: column; gap: 4px; }
.cred b { font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; }
.cred .muted { font-size: 15px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.service { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); padding: 22px; }
.service svg { flex: none; margin-top: 2px; }
.service div { display: flex; flex-direction: column; gap: 6px; }
.service b { font-size: 18px; }
.intro-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: center; }

/* Sectors beside copy */
.sectors-tight { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* News */
.news-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.news-card:hover { color: var(--ink); }
.news-card:hover .title { color: var(--blue); }
.news-card time { font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.news-card .title { font-size: 21px; font-weight: 700; line-height: 1.25; }
.post { max-width: 860px; padding-top: 32px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; }
.post h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.02; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.lead { font-size: 20px; }

/* Founder message */
.founder { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.founder blockquote { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.founder blockquote p { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; color: var(--navy); }
.founder footer { color: var(--muted); }

/* People */
.ph.portrait { height: 300px; align-items: center; justify-content: center; }

/* Careers */
.careers { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.careers h2 { font-size: clamp(36px, 4.5vw, 48px); }

/* Photos */
.illus.photo { background: var(--navy); }
.gallery .illus.thumb { aspect-ratio: 4 / 3; }
.footer-logo { background: none; padding: 0; }
.footer-logo img { width: 210px; height: auto; }

/* Enquiry form status */
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; min-height: 1em; }
.form-status.ok { color: #1F6B3A; }
.form-status.err { color: #A33A1A; }

/* Video reel: silent loop that opens the full film on YouTube */
.reel { position: relative; display: block; aspect-ratio: 1280 / 544; overflow: hidden; background: var(--navy); color: var(--white); text-decoration: none; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-cta {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(14, 42, 61, 0.85); color: var(--white);
  padding: 12px 18px; border-radius: 3px; font-weight: 700; min-height: 44px;
}
.reel:hover .reel-cta, .reel:focus-visible .reel-cta { background: var(--blue); color: var(--white); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.reel img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Portfolio */
.card-media { position: relative; display: block; }
.badge {
  display: inline-block; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: 3px; text-transform: none;
}
.card-media .badge { position: absolute; top: 10px; left: 10px; }
.badge-built { background: var(--blue); color: var(--white); }
.badge-design { background: var(--white); color: var(--navy); border: 1px solid var(--line-strong); }
.badge-construction { background: #e8a33d; color: #0b2430; }
.badge.inline { vertical-align: 2px; margin-left: 4px; }
.illus.drawing { background: var(--white); border: 1px solid var(--line); }
.illus.drawing img { object-fit: contain; padding: 10px; }
.design-note { background: var(--mist); border-left: 3px solid var(--blue); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 12px; }
.design-note b { font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; }
.design-note p { margin: 0; }
.drawings-block { padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.drawings-block h2 { font-size: 36px; }
.drawings { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.drawings a { text-decoration: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.drawings .illus { aspect-ratio: 4 / 3; }
.gallery .illus.drawing.main { aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .drawings { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* UAE identity */
.uae-stripe { height: 7px; background: linear-gradient(90deg, #FF0000 0 25%, #00732F 25% 50%, #FFFFFF 50% 75%, #000000 75%); border-top: 1px solid var(--line); }
.made-uae { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }
.made-uae .uae-flag { flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }
.made-uae em { font-style: normal; font-weight: 400; color: var(--muted); }
.made-uae.on-dark { color: var(--white); }
.made-uae.on-dark em { color: rgba(255,255,255,0.8); }
.local { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; border-top: 2px solid var(--blue); padding-top: 48px; }
.local h2 { font-size: clamp(34px, 4.2vw, 46px); }
.places { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); }
.local .sectors { border-top: none; padding-top: 0; }
.ref-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 32px; }
.ref-list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 18px; }
.steps li { padding-left: 6px; }
.steps li b { display: block; font-size: 18px; }
.steps li::marker { font-family: var(--display); font-weight: 700; color: var(--blue); font-size: 20px; }
.illus.none { background: var(--mist); display: flex; align-items: center; justify-content: center; }
.illus.none { border: 2px solid #D62828; background: #FFF5F5; }
.illus.none .ph-cross { position: absolute; inset: 0; width: 100%; height: 100%; }
.illus.none .ph-cross line { stroke: #D62828; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-width: 3px; }
.illus.none figcaption { left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%); background: #D62828; color: #fff; white-space: nowrap; }
.client-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-strip li { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 21px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy); }
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; padding-top: 64px; }
.client-group h2 { font-size: 26px; border-bottom: 2px solid var(--blue); padding-bottom: 10px; margin-bottom: 8px; }
.client-group ul { list-style: none; margin: 0; padding: 0; }
.client-group li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

.u { text-transform: none; }

/* Location map on marina pages */
.map-card { display: block; position: relative; border-top: 1px solid var(--line); text-decoration: none; }
.map-card iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; pointer-events: none; }
.map-cta { display: block; padding: 12px 18px; font-weight: 700; color: var(--blue); }
.map-card:hover .map-cta { color: var(--blue-dark); }
.map-note { position: absolute; top: 10px; left: 10px; background: #FFF4D6; color: #6B4E00; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 2px; }

/* Project gallery thumbnails */
.thumbs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.thumb-btn { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; border-radius: 2px; opacity: 0.75; transition: opacity .15s, border-color .15s; }
.thumb-btn:hover { opacity: 1; }
.thumb-btn[aria-pressed="true"] { border-color: var(--blue); opacity: 1; }
.thumb-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.thumb-btn .illus.thumb { aspect-ratio: 4 / 3; height: auto; display: block; }
.gallery .illus.main img { transition: opacity .2s; }
