/* ==========================================================================
   Design Verse — styles
   Palette and type follow the 2026 brochure: warm greys, charcoal, logo blue,
   maroon accent; Marcellus display + Montserrat text.
   ========================================================================== */

:root {
  --white: #ffffff;
  --paper: #f6f5f2;
  --panel: #e2e1dd;
  --panel-deep: #d3d1cc;
  --line: #cfccc6;
  --ink: #2b2e33;
  --text: #4a4d53;
  --muted: #7b7e84;
  --dark: #2b2e33;
  --dark-2: #22252a;
  --blue: #3a74a8;
  --blue-dark: #2d5d88;
  --maroon: #8b2b2b;
  --maroon-dark: #722222;

  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --radius-lg: 18px;
  --shadow: 0 18px 40px -22px rgba(30, 32, 36, .45);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

/* Icons ------------------------------------------------------------------ */
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; }
.ic-lg { width: 26px; height: 26px; }

.tile {
  display: inline-grid; place-items: center; flex: none;
  width: 54px; height: 54px; border-radius: 10px;
  background: var(--dark); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.tile svg { width: 26px; height: 26px; }
.tile--sm { width: 44px; height: 44px; border-radius: 8px; }
.tile--sm svg { width: 22px; height: 22px; }
.tile--light { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }

/* Type helpers ----------------------------------------------------------- */
.title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1.08;
}
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.lede { font-size: 1.05rem; color: var(--muted); max-width: 58ch; margin-top: 14px; }
.subhead { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; margin: 28px 0 16px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--radius);
  font-size: .86rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--maroon { background: var(--maroon); color: #fff; }
.btn--maroon:hover { background: var(--maroon-dark); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--panel); color: var(--ink); }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--dark); color: #d8d8d8; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar__info > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }

.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--ink); transition: all .2s;
}
.social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.social svg { width: 18px; height: 18px; }
.social--sm a { width: 28px; height: 28px; border: 0; color: #d8d8d8; }
.social--sm a:hover { background: rgba(255,255,255,.1); color: #fff; }
.social--sm svg { width: 15px; height: 15px; }
.social--light a { border-color: rgba(255,255,255,.25); color: #fff; }
.social--light a:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Header ----------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(0,0,0,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 44px; width: auto; }


/* Hero ------------------------------------------------------------------- */
.hero {
  background: linear-gradient(90deg, var(--panel) 0 42%, var(--white) 42% 100%);
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px);
}
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__lead { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); margin-bottom: 6px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.6vw, 5.2rem);
  text-transform: uppercase; letter-spacing: .01em; line-height: 1;
  margin-bottom: 24px;
}
.hero__text { font-size: 1.05rem; max-width: 44ch; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__tags li { display: flex; align-items: center; gap: 10px; }
.hero__tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.hero__media { position: relative; margin: 0; }
.hero__media img {
  width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 110px;
  box-shadow: var(--shadow);
}
.hero__media .caption { left: 0; bottom: 34px; border-bottom-left-radius: 0; }

.seal {
  position: absolute; right: -26px; bottom: -40px;
  width: 148px; height: 148px; display: grid; place-items: center; text-align: center;
  background: url("/assets/img/seal.svg") center / contain no-repeat;
  color: #fff; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.15;
  filter: drop-shadow(0 10px 18px rgba(80, 20, 20, .35));
  transition: transform .4s;
}
.seal:hover { color: #fff; transform: rotate(-8deg) scale(1.04); }

/* Image caption bar (brochure style) -------------------------------------- */
.caption {
  position: absolute; left: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 18px 11px;
  background: rgba(30, 32, 36, .62);
  backdrop-filter: blur(2px);
  color: #fff; max-width: 92%;
}
.caption__title { font-size: 1rem; font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
.caption__sub { font-size: .9rem; font-style: italic; opacity: .92; line-height: 1.3; }

/* Sections --------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section--panel { background: var(--panel); }
.section--dark { background: var(--dark); color: #c9cacd; }
.section--dark .title,
.section--dark h3 { color: #fff; }
.section--dark .lede { color: #a9abb0; }

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service { background: #fff; padding: clamp(26px, 3vw, 38px); transition: background .25s; }
.service:hover { background: var(--paper); }
.service h3 { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; margin: 20px 0 10px; }
.service p { margin: 0; font-size: .95rem; }

/* Split layout ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse { grid-template-columns: 1.1fr 1fr; }
.split__media img { width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.split__copy p { max-width: 60ch; }

/* Brochure-like cut shapes */
.cut-tl { aspect-ratio: 4 / 5; border-radius: 120px var(--radius-lg) var(--radius-lg) var(--radius-lg); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.cut-tr { aspect-ratio: 4 / 4.6; clip-path: polygon(0 0, 72% 0, 100% 16%, 100% 100%, 0 100%); border-radius: var(--radius-lg) 0 var(--radius-lg) 110px; }

.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
.sectors li { display: flex; align-items: center; gap: 14px; font-size: .95rem; color: var(--ink); line-height: 1.35; }

/* Collage (featured works) ---------------------------------------------- */
.collage {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 23vw, 290px);
  gap: 18px; grid-auto-flow: dense;
}
.collage > :nth-child(6n + 1),
.collage > :nth-child(6n + 6) { grid-column: span 2; }
.collage > :nth-child(6n + 2) { grid-row: span 2; }

.card {
  position: relative; overflow: hidden; border-radius: 4px; background: var(--panel);
  display: block; width: 100%; height: 100%; padding: 0; border: 0; text-align: left; color: #fff;
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.045); }
.card .caption { transition: padding .3s, background .3s; }
.card:hover .caption { background: rgba(30, 32, 36, .78); padding-right: 54px; }
.card__zoom {
  position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink);
  opacity: 0; transform: scale(.8); transition: all .3s;
}
.card__zoom svg { width: 16px; height: 16px; }
.card:hover .card__zoom, .card:focus-visible .card__zoom { opacity: 1; transform: scale(1); }
.card__count {
  position: absolute; left: 14px; top: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  background: rgba(30,32,36,.7); color: #fff; padding: 4px 10px; border-radius: 20px;
}

.skeleton { background: linear-gradient(90deg, var(--panel) 0%, var(--paper) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 4px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Packages --------------------------------------------------------------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.package {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg); padding: 36px 32px 32px;
  box-shadow: 0 1px 0 var(--line);
}
.package__no { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.package h3 { font-family: var(--font-display); font-size: 1.85rem; text-transform: uppercase; margin-bottom: 22px; }
.package .btn { margin-top: auto; align-self: flex-start; }
.package--featured { background: var(--dark); color: #d4d5d8; }
.package--featured h3 { color: #fff; }
.package--featured .package__no { color: #8fb6da; }
.package--featured .checks li::before { background: #fff; color: var(--ink); }
.package__badge {
  position: absolute; top: 20px; right: 20px; margin: 0;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--maroon); color: #fff; padding: 5px 10px; border-radius: 20px;
}
.checks { display: grid; gap: 10px; margin-bottom: 30px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E") center/contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5'/%3E%3C/svg%3E");
}
.package--featured .checks li::before {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232b2e33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5'/%3E%3C/svg%3E");
}

/* Journey ---------------------------------------------------------------- */
.journey { position: relative; display: grid; gap: 22px; margin-top: 34px; }
.journey::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1.5px; background: var(--line); }
.journey li { position: relative; display: flex; align-items: center; gap: 20px; }
.journey strong { display: block; font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.journey strong em { font-style: normal; color: var(--blue); margin-right: 4px; }
.journey span:not(.tile) { font-size: .92rem; color: var(--muted); }

/* Why -------------------------------------------------------------------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 28px; }
.why li { display: flex; flex-direction: column; gap: 18px; }
.why h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 6px; }
.why p { margin: 0; font-size: .92rem; color: #a9abb0; }

/* Testimonials ----------------------------------------------------------- */
.testimonials {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 22px) / 3);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.testimonials::-webkit-scrollbar { display: none; }
.testimonials.is-single { grid-auto-columns: minmax(0, 760px); justify-content: start; }
.quote {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius-lg); padding: 34px 32px 30px; border: 1px solid #ebe9e4;
}
.quote__mark { font-family: var(--font-display); font-size: 4.2rem; line-height: .6; color: var(--blue); height: 28px; }
.quote__stars { display: flex; gap: 3px; color: #c49a3a; margin: 10px 0 14px; }
.quote__stars svg { width: 16px; height: 16px; }
.quote blockquote { margin: 0 0 26px; font-size: 1.02rem; color: var(--ink); }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none;
  display: grid; place-items: center; background: var(--dark); color: #fff; font-family: var(--font-display); font-size: 1.05rem;
}
.quote__name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.quote__role { font-size: .86rem; color: var(--muted); line-height: 1.3; }
.slider-nav { display: flex; gap: 10px; }

/* Contact ---------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 28px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.contact-list .ic { margin-top: 4px; color: var(--blue); }
.contact-list a:hover { color: var(--blue); }
.map { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--panel-deep); }
.map iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(.4) contrast(1.05); }

.form { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form__title { font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; margin-bottom: 24px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid #e4e2dd; border-radius: var(--radius);
  padding: 12px 14px; transition: border-color .2s, background .2s; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2e33' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--maroon); background: #fdf6f6; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 14px 0 0; font-size: .95rem; min-height: 1.5em; }
.form__status.is-ok { color: #2f6f3e; }
.form__status.is-error { color: var(--maroon); }
.form__note { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.btn.is-loading { opacity: .75; pointer-events: none; }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--dark-2); color: #a6a8ad; font-size: .92rem; padding-top: clamp(56px, 7vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer__tag { font-family: var(--font-display); color: #e7e7e7; letter-spacing: .04em; margin-bottom: 6px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 26px; font-size: .82rem; }


/* Page hero (inner pages) ------------------------------------------------- */
.page-hero { background: var(--panel); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.page-hero .title { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.crumbs { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--blue); }

/* Portfolio grid --------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 40px; padding: 9px 18px; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { font-weight: 500; opacity: .6; margin-left: 4px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid .card { aspect-ratio: 4 / 3; height: auto; }
.grid-empty { padding: 60px 0; text-align: center; color: var(--muted); }

.cta-band { background: var(--dark); color: #c9cacd; padding: clamp(48px, 6vw, 72px) 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band .title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

/* Lightbox --------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 24px; background: #141518;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: 100%; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain; border-radius: 4px; }
.lightbox figcaption {
  width: 100%; max-width: 960px; display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; color: #cfd0d3; padding-top: 18px;
}
.lightbox__title { color: #fff; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }
.lightbox__sub { margin: 4px 0 0; font-style: italic; color: #b5b7bc; }
.lightbox__desc { grid-column: 1 / -1; margin: 6px 0 0; font-size: .93rem; max-width: 80ch; }
.lightbox__desc:empty { display: none; }
.lightbox__count { grid-row: 1; grid-column: 2; font-size: .82rem; letter-spacing: .1em; color: #9a9ca1; align-self: start; padding-top: 6px; }
.lightbox .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.lightbox .icon-btn:hover { background: #fff; color: var(--ink); }
.lightbox__close { position: absolute; top: 18px; right: 18px; z-index: 2; }
.lightbox__nav[hidden] { visibility: hidden; display: inline-grid; }

/* Reveal on scroll ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card img, .seal, .btn { transition: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .topbar__info span:last-child { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 38px; }
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.4);
    padding: 8px var(--gutter) 22px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #efeeea; }
  .nav > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }

  .hero { background: var(--panel); }
  .hero__grid, .split, .split--reverse, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .split__media { max-width: 560px; }
  .hero__media { margin-right: 20px; }
  .services, .packages { grid-template-columns: 1fr 1fr; }
  .package--featured { grid-column: auto; }
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(200px, 34vw, 280px); }
  .collage > :nth-child(6n + 2) { grid-row: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-auto-columns: calc((100% - 22px) / 2); }
  .topbar { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero__media img { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 64px; }
  .seal { width: 112px; height: 112px; font-size: .98rem; right: -12px; bottom: -34px; }
  .hero__media { margin-right: 8px; }
  .services, .packages, .sectors, .why, .grid { grid-template-columns: 1fr; }
  .collage { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .collage > * { grid-column: auto !important; grid-row: auto !important; }
  .form__grid { grid-template-columns: 1fr; }
  .testimonials { grid-auto-columns: 88%; }
  .testimonials.is-single { grid-auto-columns: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .lightbox { grid-template-columns: 1fr; padding: 64px 12px 16px; }
  .lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .caption { padding: 8px 14px 9px; }
  .caption__title { font-size: .95rem; }
  .caption__sub { font-size: .84rem; }
  .whatsapp { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

/* Attribute-hidden elements must stay hidden even when a display rule applies */
.slider-nav[hidden], [hidden].section { display: none !important; }

/* Brochure download links ---------------------------------------------- */
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__dl { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; color: #fff; padding: 4px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 30px; }
.topbar__dl:hover { background: #fff; color: var(--ink); }
.dl-link-unused { display: inline-flex; align-items: center; gap: 10px; margin: -14px 0 30px; font-size: .9rem; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; }
.dl-link-unused small { font-weight: 400; color: var(--muted); }
.dl-link-unused:hover { color: var(--blue); border-color: var(--blue); }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--plain { border-color: transparent; }
.btn--plain:hover { background: transparent; color: var(--blue); }
.section-head--row > .btn + .btn { margin-left: -12px; }


/* Menu with sub-menus (managed from /admin → Navigation) ------------------ */
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px;
  font-size: .84rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 12px; right: calc(100% - 12px); bottom: 4px; height: 1.5px; background: var(--blue); transition: right .25s; }
.nav__item:hover > .nav__link::after, .nav__link.is-active::after { right: 12px; }
.nav__chev { width: 14px; height: 14px; transition: transform .2s; }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); }
.subnav {
  position: absolute; left: 0; top: 100%; min-width: 240px; z-index: 60;
  background: #fff; border-radius: 10px; padding: 8px;
  box-shadow: 0 22px 44px -18px rgba(25, 27, 31, .35), 0 0 0 1px rgba(0,0,0,.04);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item:hover > .subnav, .nav__item:focus-within > .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 10px 14px; border-radius: 6px; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.subnav a:hover { background: var(--paper); color: var(--blue); }
.nav__item--cta { margin-left: 10px; }
.nav__cta { padding: 11px 18px; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 30px;
  background: #25d366; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 8px 18px -10px rgba(18, 140, 70, .8); transition: background .2s, transform .2s;
}
.wa-btn svg { width: 20px; height: 20px; }
.wa-btn:hover { background: #1ebe5b; color: #fff; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; margin-right: -8px; }

/* Top bar: view-only document buttons */
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__pill {
  display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: transparent; padding: 4px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 30px;
}
.topbar__pill:hover { background: #fff; color: var(--ink); }

/* Hero */
.hero__tags { margin: -4px 0 22px; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: -10px; }
.doc-link {
  display: inline-flex; align-items: center; gap: 9px; padding: 0 0 3px; background: none; border: 0; border-bottom: 1.5px solid var(--ink);
  font-size: .9rem; font-weight: 600; color: var(--ink);
}
.doc-link:hover { color: var(--blue); border-color: var(--blue); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--blue); }
.btn--sm { padding: 9px 14px; font-size: .74rem; }
.eyebrow--light { color: #8fb6da; }

/* Our Company values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.value { background: #fff; border-radius: var(--radius-lg); padding: 28px 28px 24px; border-top: 3px solid var(--blue); }
.value__label { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.value p:last-child { margin: 0; font-size: .95rem; }
.value strong { color: var(--ink); font-weight: 600; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.member { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #ebe9e4; }
.member__photo { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; display: block; }
.member__photo--empty { display: grid; place-items: center; background: linear-gradient(160deg, var(--panel), var(--panel-deep)); color: var(--ink); font-family: var(--font-display); font-size: 3rem; }
.member__body { padding: 20px 22px 22px; }
.member__name { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; }
.member__role { margin: 4px 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.member__bio { margin: 12px 0 0; font-size: .92rem; color: var(--muted); }

/* Career */
.career { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.career .btn--light { margin-top: 18px; }
.career__list { display: grid; gap: 14px; }
.opening { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.opening__title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: #fff; }
.opening__meta { margin: 4px 0 0; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #8fb6da; }
.opening__desc { margin: 10px 0 0; font-size: .93rem; color: #b9bbc0; }
.opening--empty { display: block; }

/* Map */
.map { position: relative; }
.map__open {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); padding: 9px 14px; border-radius: 30px; font-size: .82rem; font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.4);
}
.map__open:hover { background: var(--ink); color: #fff; }
.contact-list a[data-map-link] { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }

/* Footer docs */
.footer__docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer .btn--outline-light { color: #e6e6e6; }

/* Document viewer (view-only) */
.docviewer { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; background: #1b1c20; }
.docviewer[hidden] { display: none; }
.docviewer__bar { display: flex; align-items: center; gap: 18px; padding: 12px clamp(12px, 3vw, 28px); background: #121316; color: #d3d4d7; flex-wrap: wrap; }
.docviewer__tabs { display: flex; gap: 6px; }
.docviewer__tab { background: transparent; border: 1px solid rgba(255,255,255,.2); color: #d3d4d7; border-radius: 30px; padding: 7px 14px; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.docviewer__tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.docviewer__title { flex: 1; min-width: 0; font-family: var(--font-display); color: #fff; font-size: 1.15rem; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docviewer__count { font-size: .8rem; color: #9a9ca1; }
.docviewer .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.docviewer .icon-btn:hover { background: #fff; color: var(--ink); }
.docviewer__pages { flex: 1; overflow-y: auto; padding: clamp(14px, 3vw, 36px) clamp(10px, 3vw, 36px) 48px; display: grid; justify-items: center; gap: 22px; align-content: start; overscroll-behavior: contain; }
.docviewer__page { margin: 0; width: 100%; max-width: 1180px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.docviewer__page img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); pointer-events: none; background: #2a2b30; }
.docviewer__page figcaption { text-align: center; color: #8d8f94; font-size: .78rem; margin-top: 8px; letter-spacing: .08em; }

@media (max-width: 1240px) {
  .nav__link { padding: 10px 9px; letter-spacing: .07em; font-size: .8rem; }
  .wa-btn span { display: none; }
  .wa-btn { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 1100px) {
  .topbar__info a[href^="mailto"] { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.4);
    padding: 6px var(--gutter) 22px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: flex; padding: 14px 0 8px; font-weight: 600; }
  .nav__link::after, .nav__chev { display: none; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 10px; min-width: 0; border-bottom: 1px solid #efeeea; border-radius: 0; }
  .subnav::before { display: none; }
  .subnav a { padding: 8px 0 8px 14px; border-left: 2px solid var(--panel); border-radius: 0; white-space: normal; color: var(--text); }
  .nav__item:not(.has-sub) > .nav__link { border-bottom: 1px solid #efeeea; padding-bottom: 14px; }
  .nav__item--cta { margin: 18px 0 0; }
  .nav__cta { width: 100%; }
  .values, .career { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .opening { flex-direction: column; }
  .docviewer__title { order: 3; flex-basis: 100%; font-size: 1rem; }
  .docviewer__close { margin-left: auto; }
}

/* Keep the top bar on one line */
.topbar__info { flex-wrap: nowrap; white-space: nowrap; }
.topbar__pill { white-space: nowrap; }
@media (max-width: 1400px) { .topbar__info a[href^="mailto"] { display: none; } }
@media (max-width: 1180px) { .topbar__info > span { display: none; } }
.btn--outline-light { background: transparent; }
.team { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.member__photo { aspect-ratio: 1 / 1; }
.social--sm { flex-wrap: nowrap; gap: 4px; }
@media (max-width: 1500px) { .topbar__info a[href^="mailto"] { display: none; } }
.member__photo { aspect-ratio: 4 / 3; }

/* Mobile menu: when closed it must not catch taps. Sub-menus inherit the menu's
   visibility so hidden links can't be tapped through the page. */
@media (max-width: 960px) {
  .nav:not(.is-open) { pointer-events: none; }
  .nav .subnav { visibility: inherit; }
}

/* Hero slider ------------------------------------------------------------ */
.hero__slides {
  position: relative; aspect-ratio: 16 / 10.5; overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 110px;
  box-shadow: var(--shadow); background: var(--panel-deep);
  touch-action: pan-y;
}
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; aspect-ratio: auto;
  transform: scale(1.06); transition: transform 6.5s ease-out;
}
.hero__slide.is-active img { transform: scale(1); }
.hero__slide .caption { left: 0; bottom: 34px; margin: 0; }
.hero__dots { position: absolute; right: 22px; top: 20px; z-index: 3; display: flex; gap: 8px; }
.hero__dot {
  width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.55); box-shadow: 0 1px 4px rgba(0,0,0,.35); transition: width .3s, background .3s;
}
.hero__dot[aria-selected="true"] { width: 28px; background: #fff; }
.hero__media .seal { z-index: 4; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__slide img { transition: none; transform: none; }
}
@media (max-width: 600px) {
  .hero__slides { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 64px; }
  .hero__slide .caption { bottom: 24px; }
  .hero__dots { right: 14px; top: 14px; }
}
@media (max-width: 600px) { .hero__slide .caption { max-width: calc(100% - 118px); } }

/* Larger hero image: wider column, taller frame, and on wide screens the
   slider extends past the content edge toward the right of the window. */
@media (min-width: 961px) {
  .hero { background: linear-gradient(90deg, var(--panel) 0 36%, var(--white) 36% 100%); padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 6vw, 80px); }
  .hero__grid { grid-template-columns: 4fr 8fr; gap: clamp(28px, 3.5vw, 56px); }
  .hero__media { margin-right: calc(-1 * clamp(0px, (100vw - var(--container)) / 2, 160px)); }
  .hero__slides { aspect-ratio: 4 / 3; max-height: calc(100vh - 170px); min-height: 440px; width: 100%; }
  .hero__title { font-size: clamp(2.8rem, 5.6vw, 4.6rem); }
  .seal { right: 24px; }
}
@media (max-width: 960px) {
  .hero__slides { aspect-ratio: 4 / 3; }
}

/* Section backgrounds after re-ordering to follow the menu */
#about:not(.section--panel) .value { background: var(--paper); border: 1px solid #ebe9e4; border-top: 3px solid var(--blue); }
.section--panel .member { background: #fff; border-color: transparent; }
.section--panel .quote { background: #fff; }

.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 600px) { .page-hero__actions .btn { flex: 1 1 100%; } }
