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

:root {
  --ink: #0D1B2A;
  --navy: #14263D;
  --brass: #B08D57;       /* hairlines and large numerals on paper */
  --brass-dk: #7D5F30;    /* brass that must be read or seen as a control on paper (4.8:1+) */
  --brass-lt: #D8BE8A;    /* brass on navy */
  --paper: #F6F2EA;
  --paper-2: #EEE8DB;
  --stone: #E1D9C9;
  --stone-2: #D5CCBA;
  --text: #1B2430;
  --muted: #5E6670;
  --on-dark: #EEF1F4;
  --on-dark-muted: #A9B4C0;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --arabic: "IBM Plex Sans Arabic", "IBM Plex Sans", "Geeza Pro", "Segoe UI", Tahoma, 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-h3: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem);
  --fs-h4: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.04rem + .38vw, 1.375rem);
  --fs-body: 1rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  /* spacing scale (4-based) */
  --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);
  --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;
}
@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 .nb { display: block; }
.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;
}
.sec-head::before {
  content: ""; display: block; width: 56px; height: 1px; background: var(--brass);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.process .sec-head::before, .contact .sec-head::before { background: var(--brass-lt); }
.process .lead, .contact .lead { color: var(--on-dark); }
.label {
  display: block; font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--sp-2);
}

/* ---------- 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 { flex: none; transition: transform .3s var(--ease); }
.btn:hover .arr, .btn:focus-visible .arr, .link-cta:hover .arr, .link-cta:focus-visible .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--ink { background: var(--ink); color: var(--on-dark); }
.btn--ink:hover { background: var(--navy); }
.btn--ghost { color: var(--on-dark); border-color: rgba(238, 241, 244, .55); }
.btn--ghost:hover { background: rgba(238, 241, 244, .12); border-color: var(--on-dark); }

.link-cta {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 0 10px;
  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 { padding: 6px 0 4px; margin-left: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--on-dark);
  background: linear-gradient(to bottom, rgba(13, 27, 42, .62), rgba(13, 27, 42, 0));
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .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__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: block; 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: 32px 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: 18px 0;
  font-family: var(--serif); font-size: 2rem; line-height: 1.1; text-decoration: none; color: var(--on-dark);
}
.nav__cta {
  align-self: flex-start;
  display: inline-flex; align-items: 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;
}

@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(24px, 3vw, 44px);
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .nav ul { flex-direction: row; gap: clamp(20px, 2.6vw, 40px); }
  .nav li { border: 0; }
  .nav li a {
    position: relative; padding: 8px 0;
    font-family: var(--sans); 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__cta {
    min-height: 42px; padding: 0 20px; background: transparent; color: var(--on-dark);
    border: 1px solid var(--brass-lt); font-size: .9375rem;
    transition: background-color .25s var(--ease), color .25s var(--ease);
  }
  .nav__cta:hover { background: var(--brass-lt); color: var(--ink); }
}
@media (min-width: 960px) { .nav li a, .nav__cta { white-space: nowrap; } }
@media (min-width: 960px) and (max-width: 1199px) { .nav ul { gap: 20px; } .nav li a { letter-spacing: .1em; } .nav__cta { display: none; } .brand img { height: 50px; } .site-header.is-solid .brand img { height: 44px; } }

/* ---------- 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: 55% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(13, 27, 42, .94) 0%, rgba(13, 27, 42, .6) 38%, rgba(13, 27, 42, 0) 70%),
    linear-gradient(90deg, rgba(13, 27, 42, .72) 0%, rgba(13, 27, 42, .38) 48%, rgba(13, 27, 42, 0) 78%);
}
.hero__in {
  width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto;
  padding: 140px var(--gutter) clamp(36px, 7vh, 80px);
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: var(--fs-display); line-height: 1.06; letter-spacing: -.012em;
  max-width: 13.5em; text-wrap: balance;
}
.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: 300; line-height: 1.5; color: var(--on-dark);
  max-width: 30em; 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; }
.hero__trust {
  margin-top: clamp(28px, 3.4vw, 40px); padding-top: 20px; max-width: 52em;
  border-top: 1px solid rgba(216, 190, 138, .4);
  display: grid; gap: 4px;
  font-size: var(--fs-small); line-height: 1.5; color: var(--on-dark);
}
@media (min-width: 700px) {
  .hero__trust { display: flex; flex-wrap: wrap; gap: 4px 0; }
  .hero__trust li + li::before { content: "\00b7"; margin: 0 .85em; color: var(--brass-lt); }
}
@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: 46%; }
  .hero__media img { object-position: 80% 50%; }
  .hero::before {
    background: linear-gradient(0deg, var(--ink) 58%, rgba(13, 27, 42, .92) 66%, rgba(13, 27, 42, 0) 88%);
  }
  .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, .hero__trust { animation: rise 1s var(--ease) both; }
  .hero__line { animation-delay: .12s; }
  .hero__cta { animation-delay: .24s; }
  .hero__trust { animation-delay: .36s; }
}

/* ---------- Credentials strip ---------- */
.strip { background: var(--paper-2); border-bottom: 1px solid var(--stone-2); }
.strip__in { display: grid; padding-block: 8px; }
.strip__i { padding: 18px 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-family: var(--serif); font-size: 1.1875rem; line-height: 1.35; color: var(--ink); text-wrap: balance; }
@media (min-width: 860px) {
  .strip__in { grid-template-columns: repeat(3, 1fr); padding-block: 0; }
  .strip__i { padding: 28px 32px 28px 0; border-top: 0; }
  .strip__i + .strip__i { padding-left: 32px; border-left: 1px solid var(--stone-2); }
}

/* ---------- 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 */
.services { background: var(--paper); padding-top: var(--section); padding-bottom: calc(var(--section) * .8); }
.services .sec-head { padding-bottom: var(--head-gap); }
.svc { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); padding-block: clamp(36px, 5vw, 72px); border-top: 1px solid var(--stone-2); scroll-margin-top: var(--header-h); }
.svc:last-child { border-bottom: 1px solid var(--stone-2); }
.svc__media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--stone); }
.svc__media picture, .svc__media img { width: 100%; height: 100%; }
.svc__media img { object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.025); }
.svc__title { font-family: var(--serif); font-weight: 400; 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: 34em; border-top: 1px solid var(--stone-2); }
.scope li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--stone-2); font-size: var(--fs-small); line-height: 1.5; }
.scope li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 14px; height: 1px; background: var(--brass); }
.svc__cta { margin-top: var(--sp-5); }
@media (min-width: 960px) {
  .svc { grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: stretch; }
  .svc__media { grid-column: 1 / span 5; aspect-ratio: auto; min-height: 380px; }
  .svc__text { grid-column: 7 / span 6; align-self: center; }
}

/* Why HMC */
.why { background: var(--paper-2); }
.why__intro p + p { margin-top: 1.1em; color: var(--muted); max-width: 32em; }
.why__intro .lead { margin-top: 0; }
@media (min-width: 960px) {
  .why__head { grid-column: 1 / span 7; }
  .why__intro { grid-column: 8 / span 5; align-self: end; padding-bottom: 8px; }
}
.reasons { margin-top: var(--head-gap); display: grid; grid-template-columns: 1fr; column-gap: clamp(28px, 3vw, 48px); }
.reason { padding: 26px 0 32px; border-top: 1px solid var(--brass); }
.reason h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h4); line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-3); }
.reason p { color: var(--muted); line-height: 1.65; font-size: var(--fs-small); max-width: 30em; }
@media (min-width: 700px) { .reasons { grid-template-columns: 1fr 1fr; } .reason { padding-bottom: 40px; } }
@media (min-width: 1160px) { .reasons { grid-template-columns: repeat(4, 1fr); } }
.values { margin-top: var(--sp-5); padding-top: 28px; border-top: 1px solid var(--stone-2); display: grid; gap: var(--sp-3); }
.values .label { margin: 0; }
.values ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.values li { font-family: var(--serif); font-size: var(--fs-h4); line-height: 1.3; color: var(--ink); }
@media (min-width: 760px) {
  .values { grid-template-columns: 11rem 1fr; align-items: baseline; }
  .values ul { display: flex; flex-wrap: wrap; gap: 8px 0; }
  .values li { padding-right: 28px; margin-right: 28px; position: relative; }
  .values li:not(:last-child)::after { content: ""; position: absolute; right: 0; top: .35em; bottom: .35em; width: 1px; background: var(--brass); }
}

/* Process (navy) */
.process { background: var(--ink); color: var(--on-dark); }
.process__top { display: grid; gap: var(--sp-7); align-items: end; }
.process__media { 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; object-position: 50% 55%; }
.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-family: var(--serif); font-weight: 400; 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; }
}

/* Start your project */
.start { background: var(--paper-2); }
.start__cta { margin-top: var(--sp-6); }
.start__alt { margin-top: var(--sp-5); font-size: var(--fs-small); color: var(--muted); }
.start__alt a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: .25em; }
.start__alt a:hover { text-decoration-thickness: 2px; }
.asks { display: grid; grid-template-columns: 1fr; align-content: start; }
.ask { padding: 22px 0 24px; border-top: 1px solid var(--brass); }
.ask:last-child { border-bottom: 1px solid var(--brass); }
.ask h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.15; color: var(--ink); margin-bottom: 4px; }
.ask p { color: var(--muted); line-height: 1.6; }
@media (min-width: 960px) {
  .start__head { grid-column: 1 / span 6; align-self: start; }
  .asks { grid-column: 8 / span 5; }
  .ask { padding: 28px 0 30px; }
}
@media (max-width: 559.98px) { .start__cta .btn { width: 100%; padding: 0 20px; } }

/* 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: 20px 0;
  font-family: var(--serif); 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 { text-decoration-color: var(--brass); text-underline-offset: .25em; }
.faq__a a:hover { text-decoration-thickness: 2px; }
@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 */
.creds { background: var(--paper-2); }
.creds__head { margin-bottom: var(--head-gap); }
.creds__grid { display: grid; gap: clamp(48px, 7vw, 72px); }
.cred__t {
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-h4); line-height: 1.2; color: var(--ink);
  padding-bottom: 18px; border-bottom: 1px solid var(--brass);
}
.dl > div { display: grid; gap: 2px; padding: 16px 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: 11rem 1fr; column-gap: 24px; gap: 24px; } }
@media (min-width: 960px) {
  .creds__grid { grid-template-columns: 1fr 1fr; column-gap: clamp(56px, 7vw, 120px); }
  .dl > div { grid-template-columns: 10rem 1fr; }
}
@media (min-width: 1200px) { .dl > div { grid-template-columns: 12rem 1fr; } }

/* Final CTA and contact */
.contact { background: var(--ink); color: var(--on-dark); scroll-margin-top: var(--header-h); }
.contact__media { position: relative; height: clamp(240px, 38vw, 560px); overflow: hidden; }
.contact__media picture, .contact__media img { width: 100%; height: 100%; }
.contact__media img { object-fit: cover; object-position: 50% 60%; }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 42, .25), rgba(13, 27, 42, 0) 30%, rgba(13, 27, 42, 0) 55%, var(--ink) 100%); }
.contact__in { padding-block: clamp(48px, 7vw, 112px); display: grid; gap: clamp(48px, 7vw, 80px); }
.contact__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--sp-6); }
.contact__list { display: grid; gap: 0; align-content: start; }
.contact__list > div { padding: 18px 0; border-top: 1px solid rgba(216, 190, 138, .45); }
.contact__list dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: 6px; }
.contact__list dd { font-size: 1.0625rem; line-height: 1.55; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.contact__list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.contact__list a:hover, .contact__list a:focus-visible { background-size: 100% 1px; }
@media (min-width: 960px) {
  .contact__in { grid-template-columns: 6fr 5fr; column-gap: clamp(56px, 8vw, 128px); align-items: end; }
  .contact__list > div { display: grid; grid-template-columns: 9rem 1fr; column-gap: 20px; }
  .contact__list dt { margin: 3px 0 0; }
}
@media (max-width: 559.98px) { .contact__cta .btn { width: 100%; } }

/* Footer */
.footer { background: var(--ink); color: var(--on-dark-muted); 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: 40px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer__brand img { height: 220px; width: auto; max-width: 100%; }
.footer__nav ul { display: grid; gap: 4px; }
.footer__nav a { display: inline-block; padding: 4px 0; letter-spacing: .02em; }
.footer__addr { font-style: normal; line-height: 1.8; }
.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; }
.footer__legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(238, 241, 244, .14); }
.credits span { display: block; margin-bottom: 4px; color: var(--on-dark); }
.credits a { color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: .2em; }
.credits a:hover { color: var(--on-dark); }
.copy { color: var(--on-dark-muted); }
@media (min-width: 960px) {
  .footer__grid { grid-template-columns: 5fr 3fr 4fr; column-gap: 32px; align-items: start; }
  .footer__legal { grid-template-columns: 1fr auto; column-gap: 48px; align-items: start; }
  .credits { max-width: 62em; }
  .copy { white-space: nowrap; }
}

/* ---------- Mobile contact bar ---------- */
.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; 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(64px + env(safe-area-inset-bottom)); } }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------- Reveal: soft arrival for the main blocks only ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s 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; } }
