/* Al Manzel Marine — "liquid glass" theme (layered over site.css) */
:root {
  --sea: #0E4B5A;
  --deep: #0B2430;
  --brass: #D9B977;
  --brass-ink: #C9A35B;
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.78);
  --text-3: rgba(255, 255, 255, 0.6);
  --edge: rgba(255, 255, 255, 0.28);
  --edge-soft: rgba(255, 255, 255, 0.14);
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'Instrument Sans', 'Segoe UI', sans-serif;
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 14px;
  --hdr: 132px;
  /* site.css colours remapped for a dark ground */
  --blue: var(--brass);
  --blue-dark: #EBD3A0;
  --ink: var(--text);
  --muted: var(--text-2);
  --line: var(--edge-soft);
  --line-strong: var(--edge);
  --mist: rgba(255, 255, 255, 0.08);
}

body {
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 88% 20%, rgba(201, 163, 91, 0.16), transparent 60%),
    radial-gradient(1100px 900px at 8% 70%, rgba(40, 140, 160, 0.30), transparent 60%),
    linear-gradient(180deg, var(--sea) 0%, var(--deep) 55%, #081B24 100%) fixed;
  background-color: var(--deep);
}
a { color: var(--brass); }
a:hover { color: #EBD3A0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1.02; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--brass); }
.muted { color: var(--text-2); }
.eyebrow { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.18em; color: var(--brass); }
:focus-visible { outline-color: var(--brass); }

/* Glass surface */
.glass,
.division, .cred, .service, .particulars, .enquiry, .client-group, .design-note,
.sheet-body .particulars, .map-card, .empty, .stats-band .stats, .creds .cred {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)), rgba(11, 36, 48, 0.30);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 18px 40px rgba(4, 20, 28, 0.25);
}

/* Buttons: pills */
.btn { border-radius: 999px; font-weight: 600; }
.btn-primary, .btn-light { background: var(--brass); color: var(--deep); border-color: transparent; }
.btn-primary:hover, .btn-light:hover { background: #EBD3A0; color: var(--deep); }
.btn-outline, .btn-ghost-light { color: var(--text); border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.06); }
.btn-outline:hover, .btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); color: var(--text); }

/* ---------- Header: fixed glass banner on every page ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(11, 36, 48, 0.78), rgba(11, 36, 48, 0.62));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18), 0 10px 30px rgba(4, 20, 28, 0.25);
}
.header-bar { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand-col { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.brand img { height: 58px; width: auto; }
.icv-pill {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
  padding: 5px 14px 5px 8px; border-radius: 999px; border: 1px solid var(--brass);
  background: rgba(11, 36, 48, 0.55);
}
.icv-pill:hover { color: var(--text); background: rgba(11, 36, 48, 0.8); }
.icv-pill .uae-flag { width: 26px; height: 13px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); border-radius: 2px; }
.icv-pill span { display: flex; flex-direction: column; line-height: 1.25; }
.icv-pill b { font-size: 12px; font-weight: 700; }
.icv-pill em { font-style: normal; font-size: 11.5px; color: var(--text-2); }
.site-nav {
  margin-left: auto; display: flex; flex-wrap: nowrap; align-items: center; gap: 26px; min-height: 0;
  font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.site-nav a { color: var(--text); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--brass); }
.site-nav a[aria-current="page"] { color: var(--brass); border-bottom: 1px solid var(--brass); }
.site-nav .nav-cta { margin-left: 4px; color: var(--deep); background: rgba(255, 255, 255, 0.94); padding: 11px 22px; border-radius: 999px; font-weight: 600; border: none; }
.site-nav .nav-cta:hover { color: var(--deep); background: var(--brass); }
.nav-toggle { color: var(--text); border-color: var(--edge); border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
/* Same flat UAE stripe as before, under the banner */
.uae-stripe { height: 6px; border-top: none; }

@media (max-width: 1180px) { .site-nav { gap: 18px; font-size: 14.5px; } }
@media (max-width: 1040px) {
  :root { --hdr: 118px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: rgba(11, 36, 48, 0.94); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    padding: 8px 24px 20px; border-bottom: 1px solid var(--edge);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--edge-soft); font-size: 17px; }
  .site-nav .nav-cta { margin: 14px 0 0; text-align: center; }
}
@media (max-width: 600px) {
  :root { --hdr: 104px; }
  .header-bar { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .brand img { height: 40px; }
  .icv-pill { padding: 3px 10px 3px 6px; gap: 7px; }
  .icv-pill b { font-size: 11px; }
  .icv-pill em { font-size: 10.5px; }
  .nav-toggle { padding: 0 10px; font-size: 0; gap: 0; }
}

/* ---------- Home hero: full-bleed photo under the glass banner ---------- */
.is-home .hero-glass { margin-top: calc(-1 * var(--hdr)); }
.hero.hero-glass { position: relative; min-height: min(100vh, 920px); display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); }
.hero-glass .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 36, 48, 0.35) 0%, rgba(11, 36, 48, 0) 30%, rgba(11, 36, 48, 0.82) 100%); }
.hero-glass .hero-inner { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--hdr) + 80px); padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-glass .hero-copy { flex: 1 1 560px; gap: 14px; }
.hero-glass .kicker { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0.18em; color: var(--brass); }
.hero-glass h1 { font-size: clamp(56px, 9vw, 120px); line-height: 0.92; max-width: 900px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero-card { flex: 0 1 400px; border-radius: var(--r-md); padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; }
.hero-card p { font-size: 16px; color: var(--text); max-width: none; }
.hero-card .actions { margin-top: 0; }

/* Stats as a glass strip */
.stats-band { background: none; border: none; padding-top: 40px; }
.stats-band .stats { border-radius: var(--r-lg); padding: 28px 32px; }
.stats b { font-family: var(--display); font-weight: 400; font-size: 46px; color: var(--text); }
.stats span { color: var(--text-2); }

/* Sections and bands */
.band, .page-intro { background: rgba(255, 255, 255, 0.04); border-top: 1px solid var(--edge-soft); border-bottom: 1px solid var(--edge-soft); }
.page-intro h1, .about-intro h1 { font-size: clamp(48px, 6.5vw, 76px); }
.page-intro p, .about-intro p { color: var(--text-2); }
.section-head h2, .split h2, .cta-band h2, .careers h2, .local h2, .contact .details h2 { font-size: clamp(40px, 5vw, 58px); }

/* Pictures: rounded */
.illus { border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); }
.illus figcaption { background: rgba(11, 36, 48, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 999px; padding: 4px 10px; }
.illus.photo { background: rgba(255, 255, 255, 0.06); }
.illus.drawing { background: #FFFFFF; border: none; }
.hero-illus { border-radius: var(--r-md); }
.reel { border-radius: var(--r-lg); }
.reel-cta { border-radius: 999px; background: rgba(11, 36, 48, 0.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* Division cards */
.division { border-radius: var(--r-lg); padding: 10px; color: var(--text); }
.division:hover { color: var(--text); border-color: rgba(217, 185, 119, 0.7); }
.division .illus { border-radius: var(--r-md); }
.division .body { padding: 18px 14px 14px; }
.division h3, .grid-4 .division h3 { font-size: 32px; }
.division .more { color: var(--brass); font-weight: 600; }

/* Project and news cards */
.project-card, .news-card { color: var(--text); }
.project-card:hover, .news-card:hover { color: var(--text); }
.project-card:hover .title, .news-card:hover .title { color: var(--brass); }
.project-card .tag, .news-card time { font-family: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--brass); }
.project-card .title, .news-card .title { font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1.1; }
.project-card .meta { color: var(--text-3); }
.card-media .badge { top: 12px; left: 12px; }
.badge { border-radius: 999px; font-family: var(--body); }
.badge-built { background: rgba(11, 36, 48, 0.7); color: var(--text); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.badge-design { background: var(--brass); color: var(--deep); border: none; }

/* Points, credentials, services */
.point svg path, .point svg circle, .point svg rect, .cred svg *, .service svg * { stroke: var(--brass); }
.cred, .service { border-radius: var(--r-md); }
.cred b { font-family: var(--display); font-weight: 400; font-size: 25px; text-transform: none; }
.sectors { border-top: 1px solid var(--brass); }
.sectors b { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: none; }
.places { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: none; letter-spacing: 0; color: var(--brass); }
.local { border-top: 1px solid var(--brass); }
.steps li::marker { font-family: var(--display); color: var(--brass); font-weight: 400; font-size: 24px; }

/* CTA band */
.cta-band { background: none; }
.cta-band .wrap { margin-top: 40px; margin-bottom: 72px; padding: 52px 56px; border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)), rgba(11, 36, 48, 0.30);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(217, 185, 119, 0.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 18px 40px rgba(4, 20, 28, 0.25);
  max-width: calc(var(--wrap) - 48px); }
.cta-band p { color: var(--text-2); }
@media (max-width: 1288px) { .cta-band .wrap { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 600px) { .cta-band .wrap { padding: 32px 26px; } }

/* Footer */
.site-footer { background: rgba(4, 16, 22, 0.55); border-top: 1px solid var(--edge-soft); color: var(--text-2); }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--brass); }
.footer-base { border-top-color: var(--edge-soft); }
.site-footer .social a { border-color: var(--edge); }

/* Portfolio filters */
.cat-tabs { border-bottom-color: var(--edge-soft); }
.tab { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: none; color: var(--text-2); }
.tab small { color: var(--text-3); }
.tab:hover, .tab[aria-pressed="true"] { color: var(--text); }
.tab[aria-pressed="true"] { border-bottom-color: var(--brass); }
.tab[aria-pressed="true"] small { color: var(--brass); }
.toolbar .search, .ctrl select, .seg, .ftoggle { background-color: rgba(255, 255, 255, 0.08); border-color: var(--edge); border-radius: 999px; color: var(--text); }
.toolbar .search input { color: var(--text); }
.toolbar .search input::placeholder { color: var(--text-3); }
.ctrl span { font-family: var(--body); font-size: 12.5px; color: var(--text-3); }
.ctrl select { color: var(--text);
  background-image: 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='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.ctrl select option { color: #1F2A33; }
.ctrl select.on { border-color: var(--brass); color: var(--brass); }
.seg button { color: var(--text-2); border-left-color: var(--edge); }
.seg button:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.seg button[aria-pressed="true"] { background: var(--brass); color: var(--deep); }
.ftoggle .n { background: var(--brass); color: var(--deep); }
.empty { border-radius: var(--r-md); color: var(--text-2); }

/* Project sheet */
.breadcrumb { color: var(--text-3); }
.sheet-title h1 { font-size: clamp(44px, 6vw, 68px); }
.sheet-body h2, .drawings-block h2 { font-size: 40px; }
.chips span { background: rgba(255, 255, 255, 0.1); border: 1px solid var(--edge-soft); border-radius: 999px; }
.particulars { border-radius: var(--r-md); overflow: hidden; }
.particulars .head { background: rgba(217, 185, 119, 0.18); color: var(--brass); font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 0; text-transform: none; border-bottom: 1px solid var(--edge); }
.particulars dt, .particulars dd { border-bottom-color: var(--edge-soft); }
.particulars dt { color: var(--text-3); }
.design-note { border-radius: var(--r-md); border-left: 1px solid var(--edge); }
.design-note b { font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: none; letter-spacing: 0; }
.thumb-btn { border-radius: var(--r-sm); }
.thumb-btn .illus { border-radius: 12px; }
.thumb-btn[aria-pressed="true"] { border-color: var(--brass); }
.map-card { border-radius: var(--r-md); overflow: hidden; border-top: 1px solid var(--edge); }
.map-cta { color: var(--brass); }

/* About, contact, clients */
.founder blockquote p { font-family: var(--display); color: var(--text); font-size: clamp(26px, 3vw, 36px); }
.founder footer { color: var(--text-2); }
.enquiry { border-radius: var(--r-lg); }
.enquiry h3 { font-size: 34px; }
.enquiry input, .enquiry select, .enquiry textarea { background: rgba(255, 255, 255, 0.92); color: #1F2A33; border-color: transparent; border-radius: 12px; }
.enquiry .note { color: var(--text-3); }
.form-status.ok { color: #9BE3B0; }
.form-status.err { color: #FFB4A1; }
.client-group { border-radius: var(--r-md); padding: 24px 26px; }
.client-group h2 { font-size: 30px; border-bottom: 1px solid var(--brass); }
.client-group li { border-bottom-color: var(--edge-soft); }
.client-strip, .client-strip li { border-color: var(--edge-soft); }
.client-strip li { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: none; color: var(--text); }
.ref-list li { border-bottom-color: var(--edge-soft); }
.made-uae, .made-uae.on-dark { color: var(--text); }
.made-uae em { color: var(--text-2); }

/* Placeholders stay obvious */
.illus.none { background: rgba(214, 40, 40, 0.12); }

/* fixes */
.hero.hero-glass .wrap.hero-inner { flex-direction: row; padding-top: calc(var(--hdr) + 80px); padding-bottom: 72px; }
.hero-glass .hero-copy { align-self: flex-end; }
.hero-card { align-self: flex-end; }
.stats b .u { font-size: inherit; color: inherit; }
.site-footer a { text-decoration: none; }

/* iOS Safari clips anything that hangs outside an element with backdrop-filter,
   which hid the drop-down menu. Put the frosted glass on a pseudo-element instead. */
.site-header { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header > * { position: relative; z-index: 1; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 36, 48, 0.78), rgba(11, 36, 48, 0.62));
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}
@media (max-width: 1040px) {
  .site-nav { background: rgba(11, 36, 48, 0.97); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 20px 40px rgba(4, 20, 28, 0.35); }
}

/* Compact banner on tablets and phones: badge sits to the right of the logo */
@media (max-width: 1040px) {
  :root { --hdr: 74px; }
  .header-bar { padding-top: 10px; padding-bottom: 10px; gap: 16px; }
  .brand-col { flex-direction: row; align-items: center; gap: 14px; }
  .brand img { height: 44px; }
  .nav-toggle { min-height: 44px; }
  .uae-stripe { height: 4px; }
}
@media (max-width: 600px) {
  :root { --hdr: 58px; }
  .wrap.header-bar { padding: 8px 14px; gap: 8px; }
  .brand-col { gap: 8px; min-width: 0; }
  .brand img { height: 30px; }
  .icv-pill { padding: 3px 9px 3px 5px; gap: 6px; }
  .icv-pill .uae-flag { width: 18px; height: 9px; }
  .icv-pill b { font-size: 10px; }
  .icv-pill em { font-size: 9.5px; }
  .nav-toggle { min-width: 40px; min-height: 40px; padding: 0 9px; }
}
@media (max-width: 370px) { .brand img { height: 25px; } .icv-pill b { font-size: 9.5px; } .icv-pill em { font-size: 9px; } .wrap.header-bar { padding-left: 12px; padding-right: 12px; } }

/* Home link: only in the phone/tablet drop-down (the logo is the home link on desktop) */
.site-nav .nav-home { display: none; }
@media (max-width: 1040px) { .site-nav .nav-home { display: block; } }
.site-footer .map-link { color: var(--brass); font-weight: 600; margin-top: 4px; }
.dwg-note { font-size: 14px; color: var(--text-3); max-width: 760px; }

/* ============================================================
   Phone density (portrait phones ≤ 600px): tighter type scale,
   spacing and grids so more fits on an iPhone-sized screen.
   Scoped to phone widths only; tablets and desktops unchanged.
   ============================================================ */
@media (max-width: 600px) {
  :root { --r-lg: 22px; --r-md: 16px; --r-sm: 10px; }
  body { font-size: 15.5px; line-height: 1.5; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .lead { font-size: 17px; line-height: 1.45; }
  .eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .stack { gap: 6px; }
  .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; gap: 8px; }

  /* Headings */
  h1, h2, h3 { line-height: 1.04; }
  .page-intro h1, .about-intro h1 { font-size: 36px; }
  .section-head h2, .split h2, .cta-band h2, .careers h2, .local h2, .contact .details h2 { font-size: 30px; }
  .section-head h2[style*="font-size"] { font-size: 28px !important; }
  .section-head a { font-size: 14.5px; }
  .section-head { gap: 10px; margin-bottom: 22px; }
  .section-head[style*="margin-bottom"] { margin-bottom: 18px !important; }
  .section-head p { font-size: 14.5px; }
  .division h3, .grid-4 .division h3 { font-size: 22px; }
  .project-card .title, .news-card .title { font-size: 18px; line-height: 1.15; }
  .project-card .tag, .news-card time { font-size: 10.5px; letter-spacing: 0.1em; }
  .project-card .meta { font-size: 12.5px; }
  .cred b { font-size: 20px; }
  .sectors b { font-size: 22px; }
  .places { font-size: 20px; line-height: 1.3; }
  .client-strip li { font-size: 18px; }
  .client-group h2 { font-size: 24px; }
  .enquiry h3 { font-size: 26px; }
  .founder blockquote p { font-size: 21px; line-height: 1.3; }
  .design-note b { font-size: 22px; }
  .particulars .head { font-size: 20px; }
  .steps li::marker { font-size: 20px; }
  .steps li b { font-size: 16px; }
  .post h1 { font-size: 32px; }
  h3[style*="margin-top: 48px"] { margin-top: 28px !important; font-size: 24px !important; }
  h3[style*="margin-top: 48px"] a { font-size: 14.5px !important; margin-left: 8px !important; }

  /* Section rhythm */
  .section { padding-top: 40px; padding-bottom: 24px; }
  .section[style*="padding-top: 24px"] { padding-top: 16px !important; }
  .section[style*="padding-top: 40px"], .section[style*="padding-top: 48px"] { padding-top: 28px !important; }
  .section[style*="padding-bottom: 96px"], .section[style*="padding-bottom: 88px"] { padding-bottom: 48px !important; }
  section[style*="margin-top: 56px"] { margin-top: 32px !important; }
  div[style="height: 72px"] { height: 36px !important; }
  div[style="height: 48px"] { height: 28px !important; }
  .band > .wrap[style*="padding-top: 64px"] { padding-top: 36px !important; padding-bottom: 36px !important; }
  .page-intro .wrap { padding-top: 32px; padding-bottom: 28px; gap: 8px; }
  .page-intro .stack[style*="gap: 14px"] { gap: 8px !important; }
  .page-intro .actions { gap: 10px !important; margin-top: 4px !important; }
  .split { padding-top: 32px; padding-bottom: 32px; gap: 22px; }
  .split .copy { gap: 14px; }
  .about-intro { padding-top: 32px; padding-bottom: 28px; gap: 24px; }
  .about-intro .copy { gap: 12px; }
  .founder { padding-top: 32px; padding-bottom: 32px; gap: 12px; }
  .careers { padding-top: 32px; padding-bottom: 32px; gap: 16px; }
  .contact { padding-top: 36px; padding-bottom: 44px; gap: 28px; }
  .contact .details { gap: 14px; }
  .local { padding-top: 28px; gap: 22px; }
  .points { gap: 10px; }
  .point { gap: 10px; font-size: 14.5px; }
  .steps { gap: 10px; }
  .muted[style*="margin-bottom: 28px"] { margin-bottom: 14px !important; font-size: 14.5px; }
  .grid-3, .grid-4 { gap: 12px; }
  .intro-grid { gap: 20px; }

  /* Home hero */
  .hero.hero-glass { min-height: min(100svh, 720px); }
  .hero.hero-glass .wrap.hero-inner { padding-top: calc(var(--hdr) + 36px); padding-bottom: 22px; gap: 16px; }
  .hero-glass .hero-copy { gap: 8px; flex-basis: 100%; }
  .hero-glass .kicker { font-size: 11px; letter-spacing: 0.16em; }
  .hero-glass h1 { font-size: 48px; line-height: 0.95; }
  .hero-card { flex-basis: 100%; padding: 16px 18px; gap: 12px; }
  .hero-card p { font-size: 14.5px; line-height: 1.45; }
  .hero-card .actions, .hero .actions { gap: 10px; }

  /* Stats strip: two columns */
  .stats-band { padding-top: 20px; }
  .stats-band .stats { padding: 16px 18px; gap: 12px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats b { font-size: 32px; }
  .stats span { font-size: 12.5px; line-height: 1.3; }

  /* Cards: two per row */
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .grid-3 > :only-child, .library-grid > :only-child { grid-column: 1 / -1; }
  .library { padding-top: 20px; padding-bottom: 56px; gap: 18px; }
  .project-card, .news-card { gap: 5px; }
  .project-card .illus, .news-card .illus { aspect-ratio: 4 / 3; }
  .badge { font-size: 11px; padding: 2px 8px; }
  .card-media .badge { top: 8px; left: 8px; }
  .illus figcaption { font-size: 10.5px; padding: 3px 8px; }
  .division { padding: 6px; }
  .division .illus { aspect-ratio: 4 / 3; }
  .division .body { padding: 10px 8px 8px; gap: 5px; }
  .division .body p { font-size: 13.5px; line-height: 1.4; }
  .division .more { font-size: 13.5px; margin-top: 2px; }

  /* Credentials, services, sectors, clients */
  .creds { gap: 10px; }
  .cred { padding: 14px 16px; gap: 12px; }
  .cred .muted { font-size: 13.5px; }
  .services { gap: 10px; }
  .service { padding: 14px 16px; gap: 12px; }
  .service b { font-size: 16px; }
  .service p, .service span { font-size: 14px; }
  .sectors { gap: 14px; padding-top: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors > div { font-size: 14px; line-height: 1.4; }
  .client-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-strip li { padding: 12px 12px; line-height: 1.2; }
  .clients { gap: 18px; padding-top: 28px; }
  .client-group { padding: 16px 18px; }
  .client-group h2 { padding-bottom: 8px; margin-bottom: 4px; }
  .client-group li { padding: 8px 0; font-size: 15px; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .person b { font-size: 14px; line-height: 1.2; }
  .person .muted { font-size: 12.5px; line-height: 1.25; }
  .ph.portrait { height: 150px; font-size: 11px; }

  /* CTA band and footer */
  .cta-band .wrap { margin: 20px 18px 40px; padding: 26px 22px; border-radius: 24px; gap: 16px; }
  .cta-band p { font-size: 15px; }
  .site-footer { font-size: 14.5px; }
  .site-footer .wrap { padding-top: 30px; padding-bottom: 16px; gap: 22px; }
  .footer-cols { gap: 20px; }
  .footer-cols > div { gap: 4px; }
  .footer-logo img { width: 160px; }
  .footer-base { padding-top: 14px; gap: 6px; font-size: 12.5px; }
  .site-footer .social a { width: 36px; height: 36px; }

  /* Portfolio filters */
  .filters { gap: 10px; }
  .cat-tabs { margin: 0 -18px; padding: 0 18px; }
  .tab { font-size: 15px; padding: 13px 10px 14px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .tab small { font-size: 12px; }
  .toolbar .count { font-size: 14px; }

  /* Project sheet */
  .sheet-head { padding-top: 14px; gap: 10px; }
  .sheet-title { gap: 10px; }
  .sheet-title h1 { font-size: 34px; line-height: 1; }
  .breadcrumb { font-size: 13px; gap: 6px; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
  .breadcrumb > * { flex: none; }
  .breadcrumb > [aria-current="page"] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .gallery { padding-top: 12px; gap: 8px; }
  .thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .thumb-btn { border-width: 1.5px; border-radius: 8px; }
  .thumb-btn .illus { border-radius: 6px; }
  .sheet-body { padding-top: 26px; padding-bottom: 32px; gap: 24px; }
  .sheet-body .prose { gap: 12px; }
  .sheet-body h2, .drawings-block h2 { font-size: 28px; }
  .prose h2[style*="margin-top"] { margin-top: 2px !important; }
  .chips { gap: 6px; }
  .chips span { padding: 4px 11px; font-size: 13px; font-weight: 500; }
  .design-note { padding: 16px 18px; gap: 8px; margin-top: 6px; }
  .design-note p { font-size: 14.5px; }
  .particulars .head { padding: 9px 14px; }
  .particulars dl { font-size: 14px; }
  .particulars dt, .particulars dd { padding: 7px 14px; line-height: 1.35; }
  .drawings-block { padding-bottom: 36px; gap: 14px; }
  .drawings { gap: 12px; }
  .drawings a { font-size: 13px; gap: 4px; }
  .dwg-note { font-size: 12.5px; }
  .reel-cta { left: 12px; bottom: 12px; padding: 9px 14px; font-size: 14px; }

  /* Enquiry form */
  .enquiry { padding: 18px; gap: 14px; }
  .fields { gap: 12px; }
  .enquiry label { font-size: 14px; gap: 5px; }
  .enquiry input, .enquiry select, .enquiry textarea { min-height: 44px; }
  .enquiry .note { font-size: 12.5px; }

  /* News */
  .post { padding-top: 24px; padding-bottom: 48px; gap: 14px; }
}

@media (max-width: 430px) {
  .hero-glass h1 { font-size: 45px; }
  .page-intro h1, .about-intro h1 { font-size: 34px; }
  .sheet-title h1 { font-size: 32px; }
}

/* Very narrow phones: back to one card per row */
@media (max-width: 359px) {
  .grid-3, .grid-4, .library-grid, .client-strip, .stats-band .stats { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Video loops: play button when autoplay is blocked, optional mute toggle */
.reel video { cursor: pointer; }
.reel-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--deep); background: rgba(255, 255, 255, 0.92); border: none; cursor: pointer;
  box-shadow: 0 10px 30px rgba(4, 20, 28, 0.35);
}
.reel-play svg { margin-left: 4px; }
.reel-play:hover { background: var(--brass); }
.reel-play[hidden] { display: none; }
.reel-sound {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #FFFFFF; background: rgba(11, 36, 48, 0.7); border: 1px solid rgba(255, 255, 255, 0.35); cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.reel-sound .i-on { display: none; }
.reel.has-sound-on .reel-sound .i-on { display: block; }
.reel.has-sound-on .reel-sound .i-off { display: none; }
.reel .reel-cta { z-index: 2; text-decoration: none; color: #FFFFFF; }
@media (max-width: 600px) { .reel-play { width: 60px; height: 60px; } .reel-sound { right: 10px; bottom: 10px; } }

/* Phone footer: compact two-column layout */
@media (max-width: 600px) {
  .site-footer { font-size: 13.5px; line-height: 1.35; }
  .site-footer .wrap { padding-top: 24px; padding-bottom: 14px; gap: 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .footer-cols > div { gap: 3px; }
  .footer-cols b { font-size: 13px; letter-spacing: 0.04em; margin-bottom: 2px; }
  /* first column: logo + social on one row; the made-in-UAE line is already in the header */
  .footer-cols > div:first-child { grid-column: 1 / -1; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 12px !important; }
  .footer-cols > div:first-child .made-uae { display: none; }
  .footer-logo img { width: 130px; }
  .site-footer .social { gap: 8px; }
  .site-footer .social a { width: 40px; height: 40px; }
  .site-footer .social svg { width: 16px; height: 16px; }
  .site-footer .map-link { margin-top: 2px; }
  /* Explore: full width, links in two columns */
  .footer-cols > div:last-child { grid-column: 1 / -1; display: grid !important; grid-template-columns: 1fr 1fr; gap: 3px 16px; }
  .footer-cols > div:last-child b { grid-column: 1 / -1; }
  .footer-base { padding-top: 12px; gap: 4px; font-size: 11.5px; line-height: 1.4; }
}

/* UAE flag bar under the banner: red hoist, green/white/black stacked, text width */
.flagbar-wrap { padding-bottom: 10px; }
.uae-flagbar {
  height: 10px; margin: 0 -8px; border-radius: 3px;
  background:
    linear-gradient(90deg, #FF0000 0 30px, transparent 30px),
    linear-gradient(180deg, #00732F 0 33.34%, #FFFFFF 33.34% 66.67%, #000000 66.67% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.header-bar { padding-bottom: 10px; }
@media (max-width: 1040px) {
  .flagbar-wrap { padding-bottom: 8px; }
  .uae-flagbar { height: 9px; margin: 0 -6px; background:
    linear-gradient(90deg, #FF0000 0 24px, transparent 24px),
    linear-gradient(180deg, #00732F 0 33.34%, #FFFFFF 33.34% 66.67%, #000000 66.67% 100%); }
  .header-bar { padding-bottom: 8px; }
}
@media (max-width: 600px) {
  .flagbar-wrap { padding-bottom: 7px; }
  .uae-flagbar { height: 8px; margin: 0 -5px; background:
    linear-gradient(90deg, #FF0000 0 20px, transparent 20px),
    linear-gradient(180deg, #00732F 0 33.34%, #FFFFFF 33.34% 66.67%, #000000 66.67% 100%); }
  .wrap.header-bar { padding-bottom: 6px; }
}
/* banner heights including the flag bar (home hero sits behind the banner) */
:root { --hdr: 151px; }
@media (max-width: 1040px) { :root { --hdr: 79px; } }
@media (max-width: 600px) { :root { --hdr: 73px; } }

/* Flag bar straddles the banner's bottom edge (half on the banner, half on the page) */
.flagbar-wrap { padding-bottom: 0 !important; height: 0; }
.uae-flagbar { transform: translateY(-50%); }
.header-bar { padding-bottom: 16px; }
@media (max-width: 1040px) { .header-bar { padding-bottom: 12px; } }
@media (max-width: 600px) { .wrap.header-bar { padding-bottom: 10px; } }
:root { --hdr: 137px; }
@media (max-width: 1040px) { :root { --hdr: 66px; } }
@media (max-width: 600px) { :root { --hdr: 62px; } }

/* Phones: bigger logo, quieter ICV badge without its flag (the flag bar does that job) */
@media (max-width: 600px) {
  .brand img { height: 38px; }
  .brand-col { gap: 10px; }
  .icv-pill { padding: 3px 10px; gap: 0; border-color: rgba(217, 185, 119, 0.65); background: rgba(11, 36, 48, 0.4); }
  .icv-pill .uae-flag { display: none; }
  .icv-pill b { font-size: 9.5px; font-weight: 600; }
  .icv-pill em { font-size: 9px; }
}
@media (max-width: 370px) { .brand img { height: 32px; } }
@media (max-width: 600px) {
  .icv-pill { padding: 2px 8px; }
  .icv-pill b { font-size: 7.6px; }
  .icv-pill em { font-size: 7.2px; }
}

/* Lighter-blue spacer under the banner so scrolling text stops short of the flag bar.
   Height = the half of the flag that hangs below the banner + one flag height of clear space. */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 15px; pointer-events: none;
  background: rgb(11, 57, 71);
}
.uae-flagbar { position: relative; z-index: 2; }
@media (max-width: 1040px) { .site-header::after { height: 13.5px; } }
@media (max-width: 600px) { .site-header::after { height: 12px; } }
.is-home .site-header::after { display: none; }

/* Spacer colour matched to the page just below the banner (pages that open with an intro band are a touch lighter) */
body:has(main > .page-intro:first-child) .site-header::after { background: rgb(19, 63, 76); }
@media (max-width: 1040px) {
  .site-header::after { background: rgb(12, 63, 77); }
  body:has(main > .page-intro:first-child) .site-header::after { background: rgb(20, 69, 82); }
}

/* Flag bar back inside the banner, with a band of banner glass below it (replaces the straddle + spacer) */
.site-header::after { display: none !important; }
.flagbar-wrap { height: auto; padding-bottom: 10px !important; }
.uae-flagbar { transform: none; }
.header-bar { padding-bottom: 10px; }
:root { --hdr: 151px; }
@media (max-width: 1040px) {
  .flagbar-wrap { padding-bottom: 8px !important; }
  .header-bar { padding-bottom: 8px; }
  :root { --hdr: 79px; }
}
@media (max-width: 600px) {
  .flagbar-wrap { padding-bottom: 8px !important; }
  .wrap.header-bar { padding-bottom: 7px; }
  :root { --hdr: 73px; }
}
/* Firmer banner glass so scrolled text doesn't ghost through */
.site-header::before { background: linear-gradient(180deg, rgba(11, 36, 48, 0.94), rgba(11, 36, 48, 0.9)); }

/* Desktop banner: bigger logo on the left; small ICV badge (no flag) top-right above the menu */
@media (min-width: 1041px) {
  .header-bar { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 32px; row-gap: 10px; align-items: center; padding-top: 16px; }
  .brand-col { display: contents; }
  .brand { grid-column: 1; grid-row: 1 / 3; }
  .brand img { height: 78px; }
  .icv-pill { grid-column: 2; grid-row: 1; justify-self: end; padding: 3px 12px; gap: 0; border-color: rgba(217, 185, 119, 0.6); background: rgba(11, 36, 48, 0.35); }
  .icv-pill .uae-flag { display: none; }
  .icv-pill span { flex-direction: row; gap: 6px; align-items: baseline; }
  .icv-pill b { font-size: 11px; font-weight: 600; }
  .icv-pill em { font-size: 11px; }
  .icv-pill em::before { content: "· "; }
  .site-nav { grid-column: 2; grid-row: 2; justify-self: end; margin-left: 0; }
}
@media (min-width: 1041px) { :root { --hdr: 124px; } }

/* Credentials: tighter on tablet/desktop */
@media (min-width: 601px) {
  #credentials { padding-top: 48px; padding-bottom: 20px; }
  #credentials .section-head { margin-bottom: 18px !important; align-items: flex-end; }
  #credentials .section-head h2 { font-size: clamp(34px, 3.6vw, 44px); }
  .creds { gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .cred { padding: 14px 16px; gap: 10px; align-items: center; }
  .cred svg { width: 24px; height: 24px; }
  .cred div { gap: 2px; }
  .cred b { font-size: 21px; line-height: 1.15; }
  .cred .muted { font-size: 13.5px; line-height: 1.35; }
}

/* ============================================================
   Vertical rhythm on tablet/desktop (phones were tightened separately).
   One scale for the whole site: a section opens 48px below the previous
   one's content, headings sit 20px above what they introduce, bands
   (tinted full-width strips) carry 44px inside and 24px outside.
   ============================================================ */
@media (min-width: 601px) {
  /* plain sections */
  .section { padding-top: 48px; padding-bottom: 20px; }
  .section-head { margin-bottom: 20px !important; gap: 16px; }
  .section-head h2, .split h2, .cta-band h2, .careers h2, .local h2, .contact .details h2 { font-size: clamp(36px, 4vw, 50px); }
  section.wrap.section[style*="padding-top: 40px"] { padding-top: 28px !important; }
  section.wrap.section[style*="padding-top: 24px"] { padding-top: 28px !important; }
  /* bands */
  .band[style*="margin-top"], section[style*="margin-top: 56px"] { margin-top: 20px !important; }
  .band > .wrap.section { padding-top: 44px; }
  .band > .wrap.section[style*="padding-bottom: 88px"] { padding-bottom: 44px !important; }
  .band > .wrap[style*="padding-top: 64px"] { padding-top: 44px !important; padding-bottom: 44px !important; }
  .split { padding-top: 36px; padding-bottom: 36px; gap: 40px; }
  .split .copy { gap: 16px; }
  .points { gap: 12px; }
  h3[style*="margin-top: 48px"] { margin-top: 32px !important; }
  .muted[style*="margin-bottom: 28px"] { margin-bottom: 16px !important; }
  /* spacers before the closing CTA card */
  div[style="height: 72px"] { height: 28px !important; }
  div[style="height: 48px"] { height: 20px !important; }
  .cta-band .wrap { margin-top: 24px; margin-bottom: 40px; padding: 36px 44px; }
  /* page openers */
  .page-intro .wrap { padding-top: 40px; padding-bottom: 36px; gap: 10px; }
  .about-intro { padding-top: 40px; padding-bottom: 36px; gap: 40px; }
  .founder { padding-top: 40px; padding-bottom: 40px; gap: 14px; }
  .careers { padding-top: 36px; padding-bottom: 36px; }
  .contact { padding-top: 40px; padding-bottom: 48px; gap: 40px; }
  .contact .details { gap: 18px; }
  .enquiry { padding: 26px; gap: 14px; }
  /* project sheet */
  .sheet-head { padding-top: 20px; gap: 12px; }
  .gallery { padding-top: 16px; }
  .sheet-body { padding-top: 32px; padding-bottom: 36px; gap: 40px; }
  .sheet-body .prose { gap: 14px; }
  .prose h2[style*="margin-top"] { margin-top: 6px !important; }
  .drawings-block { padding-bottom: 36px; gap: 14px; }
  section.wrap[style*="padding-top: 28px"] + .sheet-body { padding-top: 28px; }
  /* library, lists, strips */
  .library { padding-top: 20px; padding-bottom: 48px; gap: 20px; }
  .library-grid { gap: 26px 20px; }
  .grid-3, .grid-4 { gap: 20px; }
  .local { gap: 40px; padding-top: 28px; }
  .clients { padding-top: 36px; gap: 20px; }
  .stats-band { padding-top: 24px; }
  .stats { padding-top: 20px; padding-bottom: 20px; }
  .site-footer .wrap { padding-top: 32px; padding-bottom: 18px; gap: 20px; }
  .hero.hero-glass .wrap.hero-inner { padding-bottom: 56px; }
  .post { padding-top: 20px; padding-bottom: 48px; }
  section[style*="padding-bottom: 96px"] { padding-top: 40px !important; padding-bottom: 56px !important; }
}

/* Desktop/tablet footer: compact */
@media (min-width: 601px) {
  .site-footer { font-size: 14.5px; line-height: 1.4; }
  .site-footer .wrap { padding-top: 32px; padding-bottom: 18px; gap: 20px; }
  .footer-cols { grid-template-columns: 1fr 1.2fr 1fr 1.6fr; gap: 28px; align-items: start; }
  .footer-cols > div { gap: 4px; }
  .footer-cols b { margin-bottom: 2px; }
  .footer-cols > div:first-child { gap: 14px !important; }
  .footer-cols > div:first-child .made-uae { display: none; }
  .site-footer .social a { width: 36px; height: 36px; }
  .footer-cols > div:last-child { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4px 20px; align-content: start; }
  .footer-cols > div:last-child b { grid-column: 1 / -1; }
  .footer-base { padding-top: 12px; font-size: 12.5px; gap: 6px 20px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:first-child, .footer-cols > div:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   Tablet/desktop quality pass: even card bottoms, no dead glass,
   placeholders in the theme, form and quote alignment.
   ============================================================ */
@media (min-width: 601px) {
  /* Division tiles: the arrow link sits on the same line in every card of a row */
  .division .body { flex: 1 1 auto; }
  .division .more { margin-top: auto; padding-top: 6px; }
  /* Enquiry form: four short fields as a 2 × 2 grid instead of three plus an orphan */
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .enquiry label { gap: 5px; }
  .form-status:empty { display: none; }
  /* Founder quote lines up with the page edge like every other section */
  .wrap.founder { max-width: var(--wrap); }
  .founder blockquote { max-width: 900px; }
  /* News posts and the privacy notice: same left edge, reading-width column */
  .wrap.post { max-width: var(--wrap); }
  .post > * { max-width: 860px; }
  /* Particulars column wide enough that values don't stack three lines deep */
  .particulars { flex: 0 1 380px; }
  .particulars dl { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
/* Portrait placeholders on the dark ground (people without photos yet) */
@media (min-width: 601px) {
  .ph {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)), rgba(11, 36, 48, 0.3);
    border: 1px solid var(--edge-soft); border-radius: var(--r-md); color: var(--text-3);
  }
  .ph.portrait { height: auto; aspect-ratio: 1 / 1; }
  .people { max-width: 960px; }
  .person { gap: 4px; }
  .person b { margin-top: 8px; }
}
/* Clients page: groups stack in columns by height, so no card is stretched around a short list */
@media (min-width: 601px) {
  .clients { display: block; columns: 2; column-gap: 20px; }
  .client-group { break-inside: avoid; margin-bottom: 20px; }
  .clients > p.muted { column-span: all; margin-top: 4px; }
}
@media (min-width: 901px) { .clients { columns: 3; } }
@media (min-width: 601px) and (max-width: 900px) {
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Tablets: four division tiles as 2 × 2 rather than three and an orphan */
@media (min-width: 601px) and (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* A lone news item: picture beside the text rather than one narrow card and two empty columns */
@media (min-width: 901px) {
  .grid-3 > .news-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 32px; row-gap: 0; }
  .grid-3 > .news-card:only-child .illus { grid-column: 1; grid-row: 1 / 6; }
  .grid-3 > .news-card:only-child time { grid-column: 2; grid-row: 2; }
  .grid-3 > .news-card:only-child .title { grid-column: 2; grid-row: 3; margin: 10px 0 12px; }
  .grid-3 > .news-card:only-child .muted { grid-column: 2; grid-row: 4; }
  .grid-3 > .news-card:only-child .title { font-size: 34px; }
  .grid-3 > .news-card:only-child .muted { font-size: 17px; max-width: 520px; }
}

/* Home hero: stronger shading behind the headline for contrast */
.hero-glass::after {
  background:
    linear-gradient(90deg, rgba(8, 28, 38, 0.72) 0%, rgba(8, 28, 38, 0.45) 40%, rgba(8, 28, 38, 0) 70%),
    linear-gradient(180deg, rgba(11, 36, 48, 0.35) 0%, rgba(11, 36, 48, 0) 28%, rgba(11, 36, 48, 0.88) 100%);
}
.hero-glass .kicker { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
.hero-glass h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
@media (max-width: 600px) {
  .hero-glass::after { background: linear-gradient(180deg, rgba(11, 36, 48, 0.4) 0%, rgba(8, 28, 38, 0.55) 35%, rgba(8, 28, 38, 0.9) 100%); }
}

/* Under construction status */
.badge-construction { background: #e8a33d; color: var(--deep); border: none; }

.thumb-btn .illus.none figcaption { display: none; }

/* Gallery prev/next arrows over the main image */
.gal-stage { grid-column: 1 / -1; position: relative; }
.gal-stage > .illus.main { width: 100%; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; padding: 0 0 4px; font-size: 32px; line-height: 1; color: #fff; cursor: pointer;
  background: rgba(8, 24, 34, 0.5); border: 1px solid rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .15s; }
.gal-nav:hover, .gal-nav:focus-visible { background: rgba(8, 24, 34, 0.8); }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
@media (max-width: 600px) { .gal-nav { width: 38px; height: 38px; font-size: 26px; } .gal-prev { left: 8px; } .gal-next { right: 8px; } }

/* Drawing lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 18, 26, 0.86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 16px; }
.lightbox[hidden] { display: none; }
.lb-scroll { max-width: 100%; max-height: calc(100vh - 110px); overflow: auto; border-radius: 10px; }
.lb-scroll img { display: block; max-width: min(1400px, 100%); max-height: calc(100vh - 110px); width: auto; height: auto; background: #fff; cursor: zoom-in; }
.lightbox.zoom .lb-scroll { width: 100%; height: calc(100vh - 110px); }
.lightbox.zoom .lb-scroll img { max-width: none; max-height: none; width: 2200px; cursor: zoom-out; }
.lb-close { position: absolute; top: 10px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(255,255,255,.2); }
.lb-hint { color: rgba(255,255,255,.7); font-size: 13px; margin: 10px 0 0; }

/* Branded panel where a project has no photo yet */
.illus.none.brandpanel { border: 0; background: linear-gradient(135deg, #e9eef2 0%, #d7e0e7 100%); display: flex; align-items: center; justify-content: center; }
.illus.none.brandpanel .bp-logo { position: static; width: 46%; max-width: 260px; height: auto; object-fit: contain; opacity: 0.28; }

/* Director initials until portraits arrive */
.ph.portrait.initials { display: flex; align-items: center; justify-content: center; font-family: var(--serif, Georgia, serif); font-size: 44px; letter-spacing: 0.04em; color: rgba(255,255,255,0.75); background: linear-gradient(135deg, #2b4a5c, #1a3242); }

/* ---------- Hover and spotlight effects (revision: redesign-v2-hover) ---------- */
/* Cursor-following spotlight on card and tile images: JS sets --sx/--sy (position), --sr (size) and --sa (strength). */
.illus.spot::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle var(--sr, 120px) at var(--sx, 50%) var(--sy, 50%), rgba(255, 238, 200, var(--sa, 0.3)) 0%, rgba(217, 185, 119, calc(var(--sa, 0.3) * 0.5)) 35%, transparent 70%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .3s ease; }
.illus.spot.on::after { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  /* Cards and tiles: lift, gold rim glow, slow photo zoom */
  .project-card, .news-card, .division { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
  .project-card .illus, .news-card .illus { transition: box-shadow .3s ease; }
  .project-card .illus img, .news-card .illus img, .division .illus img { transition: transform .6s ease; }
  .project-card:hover, .news-card:hover, .division:hover { transform: translateY(-4px); }
  .project-card:hover .illus, .news-card:hover .illus { box-shadow: 0 0 0 1px rgba(217, 185, 119, 0.65), 0 14px 34px -12px rgba(217, 185, 119, 0.55); }
  .division:hover { box-shadow: 0 0 0 1px rgba(217, 185, 119, 0.55), 0 16px 40px -14px rgba(217, 185, 119, 0.5); }
  .project-card:hover .illus img, .news-card:hover .illus img, .division:hover .illus img { transform: scale(1.035); }

  /* Buttons: brighten, light outline and glow */
  .btn, .site-nav .nav-cta { transition: background .2s ease, box-shadow .25s ease, transform .2s ease; }
  .btn:hover, .site-nav .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 0 22px rgba(217, 185, 119, 0.45); }

  /* Menu links: underline slides in from the left */
  .site-nav a:not(.nav-cta) { background: linear-gradient(var(--brass), var(--brass)) no-repeat left bottom / 0 1px; transition: color .2s ease, background-size .3s ease; }
  .site-nav a:not(.nav-cta):hover { background-size: 100% 1px; }

  /* Small controls: subtle highlight */
  .chip, .tab, .thumb-btn, .gal-nav, .site-footer .social a, .ga-open, .link-btn { transition: box-shadow .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
  .chip:hover, .site-footer .social a:hover { box-shadow: 0 0 0 1px rgba(217, 185, 119, 0.6), 0 0 14px rgba(217, 185, 119, 0.3); }
  .thumb-btn:hover { box-shadow: 0 0 0 1px rgba(217, 185, 119, 0.7); transform: translateY(-1px); }
  .gal-nav:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 18px rgba(217, 185, 119, 0.4); }
  .ga-open:hover .illus { box-shadow: 0 0 0 1px rgba(217, 185, 119, 0.65), 0 10px 26px -12px rgba(217, 185, 119, 0.5); }
}

/* Touch screens: a gentle highlight while pressed */
@media (hover: none) {
  .project-card:active .illus, .news-card:active .illus, .division:active { box-shadow: 0 0 0 1px rgba(217, 185, 119, 0.65), 0 0 22px rgba(217, 185, 119, 0.35); }
  .btn:active, .chip:active { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 0 16px rgba(217, 185, 119, 0.4); }
}

@media (prefers-reduced-motion: reduce) {
  .project-card, .news-card, .division, .btn, .thumb-btn, .project-card .illus img, .news-card .illus img, .division .illus img { transition: none !important; transform: none !important; }
}

/* ---------- Styling extras (revision: redesign-v2-hover) ---------- */
/* Full-width photo bands with parallax */
.photo-band { position: relative; margin: 56px 0 0; height: clamp(260px, 46vw, 560px); overflow: hidden; background: var(--deep, #0b2430); }
.photo-band .pb-img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 34, 0) 55%, rgba(8, 24, 34, 0.7) 100%); pointer-events: none; }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 1; }
.photo-band figcaption a { color: #fff; font-weight: 600; text-decoration: none; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.photo-band figcaption a:hover { color: var(--brass); }
@media (max-width: 600px) { .photo-band { margin-top: 32px; } .photo-band figcaption { bottom: 14px; font-size: 14px; } }

/* Scroll reveals: only elements below the fold at load are hidden, so nothing flashes */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rvd, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* Smooth page changes (Chrome, Edge, Safari 18+; other browsers just load normally) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .photo-band .pb-img { transform: none !important; }
  @view-transition { navigation: none; }
}
/* Gallery crossfade between photos */
.gallery .illus img.gal-fade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 1; transition: opacity .55s ease !important; pointer-events: none; }
