/* HMC: Hayat Al Madeena Contracting and Construction Company
   Mobile-first. Navy, limestone paper, brass hairlines. Bodoni Moda display (optical size set per role), IBM Plex Sans text. */

:root {
  --ink: #0D1B2A;
  --navy: #14263D;
  --brass: #B08D57;       /* hairlines on paper */
  --brass-dk: #7D5F30;    /* brass that must be read or seen as a control on paper */
  --brass-lt: #D8BE8A;    /* brass on navy */
  --paper: #F6F2EA;
  --paper-2: #EEE8DB;
  --stone: #E1D9C9;
  --stone-2: #D5CCBA;
  --text: #1B2430;
  --muted: #4E565D;
  --on-dark: #EEF1F4;
  --on-dark-muted: #B3BDC8;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* type roles */
  --fs-display: clamp(2.25rem, 1.35rem + 3.9vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.7vw, 3.5rem);
  --fs-h2-xl: clamp(2.375rem, 1.2rem + 4.6vw, 5rem);
  --fs-h2-sm: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem);
  --fs-h4: clamp(1.3125rem, 1.15rem + .6vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.04rem + .38vw, 1.375rem);
  --fs-body: 1rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  /* Bodoni Moda has an optical-size axis (6-96). Small sizes get a lower opsz so the hairlines and hyphens stay visible. */
  --opsz-h3: "opsz" 22;
  --opsz-h4: "opsz" 12;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --section: clamp(72px, 9vw, 136px);
  --head-gap: clamp(40px, 5.5vw, 80px);

  --max: 1360px;
  --gutter: clamp(20px, 5vw, 72px);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));   /* left/right edge of the content column */
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px);
  interpolate-size: allow-keywords;
  scrollbar-color: var(--brass) var(--paper-2);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-weight: 400; font-size: var(--fs-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 960px) { :root { --fs-body: 1.0625rem; } }
body.menu-open { overflow: hidden; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
abbr[title] { text-decoration: none; cursor: help; }
::selection { background: var(--brass-lt); color: var(--ink); }

:focus-visible { outline: 2px solid var(--brass-dk); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .process :focus-visible, .contact :focus-visible, .footer :focus-visible, .dock :focus-visible {
  outline-color: var(--brass-lt);
}

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 12px 18px; font-weight: 500; transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.012em;
  color: var(--ink); text-wrap: balance;
}
.h2--xl { font-size: var(--fs-h2-xl); line-height: 1.04; letter-spacing: -.02em; max-width: 13em; }
.h2--sm { font-size: var(--fs-h2-sm); line-height: 1.15; font-variation-settings: var(--opsz-h3); font-optical-sizing: none; font-weight: 500; }
.h2--light { color: var(--on-dark); }
.lead {
  margin-top: var(--sp-5);
  font-size: var(--fs-lead); font-weight: 300; line-height: 1.55; max-width: 34em; text-wrap: pretty;
}
/* the brass hairline opens only the dark process section; elsewhere a section opens with its own device */
.sec-head--rule::before {
  content: ""; display: block; width: 56px; height: 1px; background: var(--brass-lt);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.process .lead, .contact .lead { color: var(--on-dark); }

/* small serif: lower optical size, medium weight */
.serif-sm, .reason h3, .step__t, .faq summary, .cred__t, .strip dd {
  font-family: var(--serif); font-optical-sizing: none; font-variation-settings: var(--opsz-h4); font-weight: 500;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 28px;
  font: 500 1rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 1px;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn .arr, .link-cta .arr, .strip__more .arr { flex: none; transition: transform .3s var(--ease); }
.btn:hover .arr, .btn:focus-visible .arr, .link-cta:hover .arr, .link-cta:focus-visible .arr, .strip__more:hover .arr { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 1.0625rem; }
.btn--brass { background: var(--brass-lt); color: var(--ink); }
.btn--brass:hover { background: #E8D5A9; }
.btn--ghost { color: var(--on-dark); border-color: rgba(238, 241, 244, .6); }
.btn--ghost:hover { background: rgba(238, 241, 244, .14); border-color: var(--on-dark); }

.link-cta {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 12px 0 8px;
  font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--ink);
  background: linear-gradient(var(--brass), var(--brass)) left bottom / 100% 1px no-repeat;
  transition: background-size .25s var(--ease), color .25s var(--ease);
}
.link-cta:hover, .link-cta:focus-visible { background-size: 100% 3px; color: var(--brass-dk); }
.link-cta--inline { margin-left: 4px; }

/* ---------- Corner tags on pictures ---------- */
.tag {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; pointer-events: none;
  padding: 6px 9px 5px; font: 500 .6875rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(13, 27, 42, .78);
}
.tag--place { letter-spacing: .08em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--on-dark);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header::before {   /* soft scrim so the logo and nav read on a bright photograph */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 36px); z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(13, 27, 42, .82), rgba(13, 27, 42, .42) 55%, rgba(13, 27, 42, 0));
  transition: opacity .35s var(--ease);
}
.site-header.is-solid, body.menu-open .site-header { background: var(--ink); box-shadow: 0 1px 0 rgba(216, 190, 138, .28); }
.site-header.is-solid::before, body.menu-open .site-header::before { opacity: 0; }
.site-header__in {
  height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; min-height: 44px; flex: none; line-height: 0; }
.brand img { height: 40px; width: auto; max-width: calc(100vw - 2 * var(--gutter) - 56px); object-fit: contain; object-position: left center; }

.menu-btn {
  position: relative; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: inherit; cursor: pointer; border-radius: 1px;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.menu-btn__bars { top: 21px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; left: 0; right: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }

/* mobile panel */
.nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--ink);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav ul { display: flex; flex-direction: column; }
.nav li { border-bottom: 1px solid rgba(238, 241, 244, .12); }
.nav li a {
  display: block; padding: 16px 0; min-height: 56px;
  font-family: var(--serif); font-optical-sizing: none; font-variation-settings: "opsz" 28; font-weight: 500;
  font-size: 1.875rem; line-height: 1.2; text-decoration: none; color: var(--on-dark);
}
.nav__act { display: grid; gap: 12px; }
.nav__cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px;
  font: 500 1rem/1 var(--sans); text-decoration: none;
  background: var(--brass-lt); color: var(--ink); border-radius: 1px;
}
.nav__tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px;
  font: 500 1rem/1 var(--sans); text-decoration: none; color: var(--on-dark);
  border: 1px solid rgba(238, 241, 244, .5); border-radius: 1px; font-variant-numeric: tabular-nums;
}
.nav__tel .ico { flex: none; }

@media (min-width: 960px) {
  :root { --header-h: 84px; }
  .site-header.is-solid { --header-h: 68px; height: 68px; }
  .brand img { height: 52px; transition: height .35s var(--ease); }
  .site-header.is-solid .brand img { height: 46px; }
  .menu-btn { display: none; }
  .nav {
    position: static; inset: auto; background: none; padding: 0; overflow: visible;
    flex-direction: row; align-items: center; justify-content: flex-end; gap: clamp(20px, 2.4vw, 40px);
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .nav ul { flex-direction: row; gap: clamp(18px, 2.2vw, 36px); }
  .nav li { border: 0; }
  .nav li a {
    position: relative; padding: 8px 0; min-height: 0;
    font-family: var(--sans); font-variation-settings: normal; font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  }
  .nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--brass-lt);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav li a:hover::after, .nav li a:focus-visible::after { transform: scaleX(1); }
  .nav__act { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); }
  .nav__tel { min-height: 44px; padding: 0; border: 0; gap: 8px; font-size: .9375rem; letter-spacing: .01em; white-space: nowrap; }
  .nav__tel-lbl { display: none; }
  .nav__tel:hover { color: var(--brass-lt); }
  .nav__cta {
    min-height: 42px; padding: 0 20px; background: transparent; color: var(--on-dark);
    border: 1px solid var(--brass-lt); font-size: .9375rem; white-space: nowrap;
    transition: background-color .25s var(--ease), color .25s var(--ease);
  }
  .nav__cta:hover { background: var(--brass-lt); color: var(--ink); }
  .nav li a { white-space: nowrap; }
}
@media (min-width: 960px) and (max-width: 1279px) { .nav__cta { display: none; } .nav li a { letter-spacing: .1em; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--on-dark); background: var(--ink); overflow: hidden;
}
.hero__media, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 58% 50%; }
.hero::before {   /* lighter than before: the image carries the frame, the left third carries the text */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(13, 27, 42, .62) 0%, rgba(13, 27, 42, .22) 30%, rgba(13, 27, 42, 0) 52%),
    radial-gradient(ellipse 100% 115% at 0% 86%, rgba(13, 27, 42, .88) 0%, rgba(13, 27, 42, .78) 40%, rgba(13, 27, 42, .52) 64%, rgba(13, 27, 42, .18) 84%, rgba(13, 27, 42, 0) 100%);
}
.hero .tag { right: var(--gutter); bottom: 28px; }
.hero__in {
  width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto;
  padding: 140px var(--gutter) clamp(48px, 9vh, 96px);
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: var(--fs-display); line-height: 1.08; letter-spacing: -.012em;
  max-width: 12.5em; text-wrap: balance;
}
.hero__title { font-optical-sizing: none; font-variation-settings: "opsz" 30; }
.hero__title .nw { white-space: nowrap; }
.hero__title em { font-style: italic; color: var(--brass-lt); }
.hero__line {
  margin-top: clamp(20px, 2.2vw, 28px);
  font-size: var(--fs-lead); font-weight: 400; line-height: 1.5; color: var(--on-dark);
  max-width: 28em; text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 3.2vw, 40px); }
.hero__cta .btn { flex: 0 1 auto; }
@media (max-width: 699.98px) {
  /* the picture sits in the upper part of the hero and melts into navy; the text sits on solid navy */
  .hero__media { bottom: auto; height: 50%; }
  .hero__media img { object-position: 92% 50%; }
  .hero::before { background: linear-gradient(0deg, var(--ink) 50%, rgba(13, 27, 42, .9) 58%, rgba(13, 27, 42, 0) 82%); }
  .hero .tag { bottom: auto; top: 76px; right: var(--gutter); }
  .hero__title { line-height: 1.12; }
  .hero__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero__title, .hero__line, .hero__cta { animation: rise 1s var(--ease) both; }
  .hero__line { animation-delay: .12s; }
  .hero__cta { animation-delay: .24s; }
}

/* ---------- Credentials strip ---------- */
.strip { background: var(--paper-2); border-bottom: 1px solid var(--stone-2); }
.strip__in { display: grid; padding-block: 6px 10px; }
.strip__list { display: grid; }
.strip__i { padding: 16px 0; border-top: 1px solid var(--stone-2); display: grid; gap: 2px; align-content: start; }
.strip__i:first-child { border-top: 0; }
.strip dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.strip dd { font-size: 1.1875rem; line-height: 1.35; color: var(--ink); text-wrap: balance; }
.strip__more {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; justify-self: start;
  font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--stone-2); width: 100%;
}
.strip__more:hover { color: var(--brass-dk); }
@media (min-width: 860px) {
  .strip__in { grid-template-columns: 1fr auto; align-items: center; column-gap: 48px; padding-block: 0; }
  .strip__list { grid-template-columns: repeat(3, 1fr); }
  .strip__i { padding: 26px 32px 26px 0; border-top: 0; }
  .strip__i + .strip__i { padding-left: 32px; border-left: 1px solid var(--stone-2); }
  .strip__more { width: auto; border-top: 0; justify-self: end; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.grid { display: grid; gap: var(--sp-6); }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(12, 1fr); column-gap: 32px; } }

/* Services: a plain headline, then rows that alternate and run to the screen edge */
.services { background: var(--paper); padding-top: var(--section); }
.services__head { display: grid; gap: 0; padding-bottom: var(--head-gap); }
.services__head .lead { margin-top: var(--sp-4); }
@media (min-width: 960px) {
  .services__head { grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: end; }
  .services__head .h2 { grid-column: 1 / span 7; }
  .services__head .lead { grid-column: 8 / span 5; margin-top: 0; padding-bottom: 6px; }
}
.svc { display: grid; grid-template-columns: 1fr; background: var(--paper); scroll-margin-top: var(--header-h); }
.svc:nth-child(even) { background: var(--paper-2); }
.svc__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.svc__media picture, .svc__media img { width: 100%; height: 100%; }
.svc__media img { object-fit: cover; }
.svc__text { padding: clamp(36px, 8vw, 56px) var(--gutter) clamp(44px, 9vw, 64px); }
.svc__title { font-family: var(--serif); font-optical-sizing: none; font-variation-settings: var(--opsz-h3); font-weight: 500; font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.svc__outcome { margin-top: var(--sp-4); font-size: var(--fs-lead); font-weight: 300; line-height: 1.5; max-width: 30em; text-wrap: pretty; }
.scope { margin-top: var(--sp-5); max-width: 32em; display: grid; gap: 2px; }
.scope li { position: relative; padding: 6px 0 6px 30px; font-size: var(--fs-small); line-height: 1.5; }
.scope li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 16px; height: 1px; background: var(--brass); }
.svc__cta { margin-top: var(--sp-4); }
@media (min-width: 1000px) {
  .svc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: clamp(480px, 39vw, 640px); }
  .svc--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .svc--flip .svc__media { order: 2; }
  .svc__media { aspect-ratio: auto; }
  .svc__text { display: flex; align-items: center; padding-block: clamp(44px, 5vw, 80px); padding-inline: clamp(32px, 4.4vw, 80px) var(--edge); }
  .svc--flip .svc__text { padding-inline: var(--edge) clamp(32px, 4.4vw, 80px); }
  .svc__media img { transition: transform 1.4s var(--ease); }
  .svc:hover .svc__media img { transform: scale(1.02); }
}

/* Why HMC: a statement, then the lead beside the three reasons */
.why { background: var(--paper-2); }
.why__body { margin-top: var(--head-gap); display: grid; gap: var(--sp-7); }
.why__intro .lead { margin-top: 0; }
.why__about { margin-top: var(--sp-5); max-width: 30em; color: var(--text); }
.reason { padding: 24px 0 28px; border-top: 1px solid var(--brass); }
.reason h3 { font-size: var(--fs-h4); line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-2); }
.reason p { color: var(--muted); line-height: 1.65; font-size: var(--fs-small); max-width: 32em; }
@media (min-width: 960px) {
  .why__body { grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: start; }
  .why__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
  .reasons { grid-column: 7 / span 6; }
  .reason { padding-block: 30px 34px; }
  .reason:first-child { padding-top: 28px; }
}

/* Process (navy) */
.process { background: var(--ink); color: var(--on-dark); }
.process__top { display: grid; gap: var(--sp-7); align-items: end; }
.process__media { position: relative; overflow: hidden; background: var(--navy); aspect-ratio: 16 / 10; }
.process__media picture, .process__media img { width: 100%; height: 100%; }
.process__media img { object-fit: cover; }
.steps { margin-top: var(--head-gap); display: grid; grid-template-columns: 1fr; }
.step { padding: 24px 0 28px; border-top: 1px solid rgba(216, 190, 138, .45); display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; }
.step__n { grid-row: 1 / span 2; font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--brass-lt); }
.step__t { font-size: var(--fs-h4); line-height: 1.2; color: var(--on-dark); margin-bottom: 6px; }
.step p { color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.6; }
@media (min-width: 960px) {
  .process__top { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
  .process__media { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: repeat(5, 1fr); column-gap: 28px; }
  .step { display: block; padding-top: 28px; }
  .step__n { display: block; font-size: 2.75rem; margin-bottom: 24px; line-height: 1; }
}

/* FAQ */
.faq { background: var(--paper); }
.faq__more { margin-top: var(--sp-5); color: var(--muted); font-size: var(--fs-small); }
.faq__item { border-top: 1px solid var(--stone-2); }
.faq__item:last-child { border-bottom: 1px solid var(--stone-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  min-height: 64px; padding: 18px 0;
  font-size: var(--fs-h4); line-height: 1.3; color: var(--ink);
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 16px; height: 16px; color: var(--brass-dk);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: background-size .3s var(--ease), transform .3s var(--ease);
}
.faq details[open] > summary::after { background-size: 100% 1.5px, 1.5px 0; transform: rotate(180deg); }
.faq summary:hover { color: var(--brass-dk); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq__a { padding: 0 0 28px; max-width: 40em; }
.faq__a p { color: var(--text); line-height: 1.7; }
.faq__a a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--brass); text-underline-offset: .25em; }
.faq__a a:hover { text-decoration-thickness: 2px; }
.faq__a p.faq__link { margin-top: -6px; }
@media (min-width: 960px) {
  .faq__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
  .faq__list { grid-column: 6 / span 7; }
}
@supports selector(::details-content) {
  .faq details::details-content {
    block-size: 0; overflow: hidden; opacity: 0;
    transition: block-size .4s var(--ease), opacity .3s var(--ease), content-visibility .4s allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; opacity: 1; }
}

/* Credentials: a quieter reference block */
.creds { background: var(--paper-2); padding-block: clamp(56px, 7vw, 104px); }
.creds__grid { margin-top: clamp(28px, 3.5vw, 48px); display: grid; gap: clamp(36px, 5vw, 56px); align-items: start; }
.cred__t { font-size: var(--fs-h4); line-height: 1.2; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--brass); }
.dl > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--stone-2); }
.dl dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.dl dd { color: var(--text); line-height: 1.5; font-variant-numeric: tabular-nums; }
@media (min-width: 560px) { .dl > div { grid-template-columns: 10rem 1fr; column-gap: 24px; } }
@media (min-width: 960px) {
  .creds__grid { grid-template-columns: 1fr 1fr; column-gap: clamp(56px, 7vw, 120px); }
}

/* Start + Contact: one navy closer */
.contact { background: var(--ink); color: var(--on-dark); scroll-margin-top: var(--header-h); }
.contact__media { position: relative; height: clamp(220px, 32vw, 460px); overflow: hidden; }
.contact__media picture, .contact__media img { width: 100%; height: 100%; }
.contact__media img { object-fit: cover; }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 42, .2), rgba(13, 27, 42, 0) 30%, rgba(13, 27, 42, 0) 50%, var(--ink) 100%); }
.contact .tag { bottom: 36px; }
.contact__in { padding-block: clamp(40px, 6vw, 96px) clamp(64px, 8vw, 120px); display: grid; gap: clamp(40px, 6vw, 72px); }
.contact .h2 { font-size: var(--fs-h2-xl); line-height: 1.04; letter-spacing: -.02em; max-width: 11em; }
.asks { margin-top: var(--sp-6); display: grid; grid-template-columns: 1fr; max-width: 40em; }
.ask { padding: 14px 0 14px; border-top: 1px solid rgba(216, 190, 138, .4); }
.ask h3 { font: 500 1.0625rem/1.3 var(--sans); color: var(--on-dark); }
.ask p { margin-top: 2px; color: var(--on-dark-muted); line-height: 1.55; font-size: var(--fs-small); }
.contact__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--sp-6); }
.contact__list > div { padding: 16px 0; border-top: 1px solid rgba(216, 190, 138, .4); }
.contact__list dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: 4px; }
.contact__list dd { font-size: 1.0625rem; line-height: 1.55; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.tap { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; background: linear-gradient(currentColor, currentColor) left calc(50% + 12px) / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.tap:hover, .tap:focus-visible { background-size: 100% 1px; }
.pdf {
  display: flex; align-items: center; gap: 14px; min-height: 60px; margin-top: var(--sp-3); padding: 0 22px;
  font-weight: 500; text-decoration: none; color: var(--on-dark);
  border: 1px solid rgba(216, 190, 138, .55); border-radius: 1px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.pdf .ico { flex: none; color: var(--brass-lt); }
.pdf:hover { background: rgba(216, 190, 138, .12); border-color: var(--brass-lt); }
@media (min-width: 560px) { .asks { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 960px) {
  .contact__in { grid-template-columns: 7fr 4fr; column-gap: clamp(56px, 8vw, 128px); align-items: start; }
  .contact__side { padding-top: clamp(8px, 1.4vw, 24px); }
}
@media (max-width: 559.98px) { .contact__cta .btn { width: 100%; } .btn--lg { padding: 0 20px; } }

/* Footer */
.footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(56px, 7vw, 96px); font-size: var(--fs-small); border-top: 1px solid rgba(216, 190, 138, .25); }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover, .footer a:focus-visible { text-decoration: underline; }
.footer__grid { display: grid; gap: 32px; padding-bottom: clamp(32px, 4vw, 56px); }
.footer__brand img { height: 112px; width: auto; max-width: 100%; }
.footer__nav ul { display: grid; }
.footer__nav a, .footer__addr a, .footer__addr span { display: flex; align-items: center; min-height: 44px; letter-spacing: .02em; }
.footer__addr { font-style: normal; display: grid; }
.footer__addr span { line-height: 1.6; padding-block: 6px; }
.footer__addr a { overflow-wrap: anywhere; }
.footer__legal { position: relative; padding-block: 26px 36px; display: grid; gap: 18px; font-size: .8125rem; line-height: 1.7; color: var(--on-dark-muted); }
.footer__legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(238, 241, 244, .14); }
.credits strong { display: block; margin-bottom: 4px; font-weight: 500; color: var(--on-dark); }
.credits .credit { display: block; }
.credits a { position: relative; color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: .2em; display: inline; min-height: 0; }
.credits a::after { content: ""; position: absolute; inset: -14px -8px; }   /* 44px touch area without changing the line */
.credits a:hover { color: var(--on-dark); }
@media (min-width: 960px) {
  .footer__grid { grid-template-columns: 5fr 3fr 4fr; column-gap: 32px; align-items: start; }
  .footer__nav a, .footer__addr a, .footer__addr span { min-height: 34px; }
  .footer__legal { grid-template-columns: 1fr auto; column-gap: 48px; align-items: start; }
  .credits { max-width: 62em; }
  .copy { white-space: nowrap; }
}

/* ---------- Mobile contact bar: shown only between the hero and the contact section ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: 10px;
  padding: 10px max(var(--gutter), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  background: rgba(13, 27, 42, .97); box-shadow: 0 -1px 0 rgba(216, 190, 138, .3);
  transform: translateY(100%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s;
}
.dock.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.dock a {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  font: 500 1rem/1 var(--sans); text-decoration: none; border-radius: 1px;
}
.dock__wa { flex: 2; background: var(--brass-lt); color: var(--ink); }
.dock__call { flex: 1; color: var(--on-dark); border: 1px solid rgba(238, 241, 244, .55); }
@media (max-width: 959.98px) { .footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); } }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------- Reveal: soft arrival for text blocks only (never for pictures) ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
  .reveal.is-in { opacity: 1; transform: none; }
}

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

@media print { .site-header, .menu-btn, .dock { display: none; } .reveal { opacity: 1; transform: none; } .faq details > * { display: block; } }
