:root {
  --ink: #10202c;
  --navy: #09243a;
  --navy-deep: #051722;
  --blue: #0865a8;
  --red: #d93a2f;
  --sand: #f3eee5;
  --paper: #fbfaf7;
  --line: rgba(16, 32, 44, .14);
  --muted: #60717c;
  --shadow: 0 24px 70px rgba(5, 23, 34, .13);
  --radius: 22px;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; }
body.nav-open { overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
a { color: inherit; }
.section-bg { background: #f0eee8; }
.row { --gutter: 24px; display: flex; flex-wrap: wrap; margin-inline: calc(var(--gutter) / -2); }
.row > * { width: 100%; padding-inline: calc(var(--gutter) / 2); }
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-stretch { align-items: stretch !important; }
.justify-content-center { justify-content: center !important; }
.flex-column { flex-direction: column !important; }
.img-fluid { max-width: 100%; height: auto; }
.img-thumbnail { padding: 4px; border: 1px solid var(--line); background: white; }
.rounded { border-radius: 8px !important; }
.float-start { float: left !important; }
.clearfix::after { display: block; clear: both; content: ""; }
.text-center { text-align: center !important; }
.text-light { color: #fff !important; }
.mx-2 { margin-inline: 8px !important; }
.mx-3 { margin-inline: 16px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.mt-5 { margin-top: 48px !important; }
.pt-4 { padding-top: 24px !important; }
.me-2 { margin-right: 8px !important; }
.me-auto { margin-right: auto !important; }
.order-1 { order: 1 !important; }
.order-2 { order: 2 !important; }
.table-responsive { overflow-x: auto; }
.table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; vertical-align: top; }
.table th, .table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; }
.table-striped tbody tr:nth-of-type(odd) { background: rgba(9,36,58,.035); }
.table-bordered th, .table-bordered td { border: 1px solid var(--line); }
.form-group { margin-bottom: 18px; }
.form-control { display: block; width: 100%; padding: 12px 13px; color: var(--ink); font: inherit; }
.alert { margin-bottom: 18px; padding: 14px 16px; border: 1px solid transparent; border-radius: 8px; }
.alert-success { color: #0b5132; border-color: #a8dac2; background: #e8f7ef; }
.alert-danger, .error, .text-danger { color: #9d201b; }
.loading, .error-message, .sent-message { display: none; }
.d-block { display: block !important; }
@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
}
@media (min-width: 992px) {
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; }
  .col-lg-5 { width: 41.667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333%; }
  .mt-lg-0 { margin-top: 0 !important; }
  .mt-lg-4 { margin-top: 24px !important; }
  .pt-lg-0 { padding-top: 0 !important; }
  .order-lg-1 { order: 1 !important; }
  .order-lg-2 { order: 2 !important; }
}
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10000; top: 8px; left: 8px; padding: 12px 18px; transform: translateY(-140%); background: white; color: var(--navy); }
.skip-link:focus { transform: translateY(0); }

#header.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; padding: 17px 0; background: transparent; transition: background .25s, padding .25s, box-shadow .25s; }
#header.site-header.is-scrolled { padding: 10px 0; background: rgba(5,23,34,.95); box-shadow: 0 8px 32px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: block; flex: 0 0 auto; line-height: 0; }
.brand img { width: 210px; height: auto; max-height: 58px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
.site-nav a { position: relative; padding: 10px 0; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 4px; height: 2px; transform: scaleX(0); transform-origin: right; background: var(--red); transition: transform .2s; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-active { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-nav .nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; }
.site-nav .nav-cta:hover { background: white; color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; width: 19px; height: 2px; margin: 4px auto; background: white; transition: transform .2s, opacity .2s; }

#hero.hero { position: relative; width: auto; height: auto; min-height: 100svh; display: grid; align-items: center; overflow: hidden; color: white; background: var(--navy-deep); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.84) contrast(1.04); animation: heroReveal 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,25,.98) 0%, rgba(3,16,25,.92) 34%, rgba(3,16,25,.5) 58%, rgba(3,16,25,.1) 83%), linear-gradient(0deg, rgba(3,16,25,.88), transparent 48%); }
.hero__grid { position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.hero__monogram { position: absolute; z-index: 2; top: 50%; right: 24px; display: grid; gap: 7px; transform: translateY(-50%); }
.hero__monogram span { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(255,255,255,.23); color: rgba(255,255,255,.58); font-size: 9px; font-weight: 900; }
#hero .hero__content { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 110px; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 20px; color: #f5b4ae; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 42px; height: 2px; background: var(--red); }
#hero h1 { max-width: 900px; margin: 0; color: white; font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 7vw, 105px); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
#hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6); }
.hero__intro { max-width: 630px; margin: 30px 0 0; color: rgba(255,255,255,.76); font-size: clamp(17px, 1.65vw, 22px); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 13px 23px; border-radius: 3px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: var(--red); }
.button--ghost { border: 1px solid rgba(255,255,255,.38); color: white; }
.button--ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.hero__facts { display: inline-flex; gap: clamp(25px, 4vw, 58px); margin: 58px 0 0; padding: 18px 22px; border: 1px solid rgba(255,255,255,.13); background: rgba(4,20,31,.42); backdrop-filter: blur(10px); }
.hero__facts div { padding-left: 15px; border-left: 2px solid var(--red); }
.hero__facts dt { color: white; font-family: Georgia, serif; font-size: 28px; line-height: 1; }
.hero__facts dd { margin: 7px 0 0; color: rgba(255,255,255,.57); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.hero__scroll { position: absolute; z-index: 3; right: 28px; bottom: 24px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-decoration: none; text-transform: uppercase; transform: rotate(90deg); transform-origin: right bottom; }
.hero__scroll i { display: block; width: 38px; height: 1px; background: currentColor; }
.hero__discipline { position: absolute; z-index: 2; right: 88px; bottom: 31px; display: flex; align-items: center; gap: 12px; margin: 0; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero__discipline span { width: 22px; height: 1px; background: var(--red); }
@keyframes heroReveal { from { opacity: .3; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; } }

main section { overflow: clip; }
#main > section { padding: 105px 0; }
#main > section:nth-child(even) { background: #f0eee8; }
.section-title { margin: 0 auto 52px; text-align: left; }
.section-title h1 { margin: 0 0 10px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-title h2 { max-width: 820px; margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(34px, 4.5vw, 62px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; text-transform: none; }
.section-title h2::after, .section-title h2::before { display: none; }
.section-title p { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.about .content p, .services .content, .ongoing .content { color: #42545f; font-size: 17px; line-height: 1.8; }
.about .content > div { padding: 26px 34px; border-left: 1px solid var(--line); }
.about .content > div:first-child { border-left: 3px solid var(--red); }
.team .member { height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: none; transition: transform .25s, box-shadow .25s; }
.team .member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team .member .pic { width: 118px; min-width: 118px; margin-right: 24px; overflow: hidden; border-radius: 14px; }
.team .member .pic img { width: 100%; height: auto; transition: transform .35s; }
.team .member:hover .pic img { transform: scale(1.04); }
.team .member h3 { margin: 0 0 7px; color: var(--navy); font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.team .member-info > span { color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.team .member p { color: var(--muted); line-height: 1.6; }
.team .social { display: none; }

.why-us .container-fluid { width: min(1180px, calc(100% - 40px)); margin-inline: auto; padding: 0; }
.why-us .row { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(145deg, #071d2d, var(--navy)); box-shadow: var(--shadow); }
.why-us .row::before { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 54px 54px; content: ""; pointer-events: none; }
.why-us .row > .col-lg-7 { width: 100%; }
.why-us .accordion-list { position: relative; z-index: 1; padding: 34px; }
.why-us .accordion-list > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.why-us .capability-card { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 14px 14px 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: linear-gradient(155deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); box-shadow: inset 0 1px rgba(255,255,255,.08); transition: transform .25s, border-color .25s, background .25s; }
.why-us .capability-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.25); background: linear-gradient(155deg, rgba(255,255,255,.13), rgba(255,255,255,.055)); }
.capability-card__heading { display: flex; align-items: center; gap: 12px; padding: 8px 6px 17px; }
.capability-card__heading span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(245,180,174,.42); border-radius: 50%; color: #f5b4ae; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.capability-card__heading h3 { min-width: 0; margin: 0; color: white; font-family: Georgia, serif; font-size: clamp(20px, 1.8vw, 25px); font-weight: 500; line-height: 1.15; }
.why-us .capability-card__image { width: 100%; height: 174px; margin: 0; border: 0; border-radius: 11px; object-fit: cover; box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.why-us .capability-card__list { display: grid; gap: 10px; margin: 22px 6px 0; padding: 0; color: rgba(255,255,255,.79); font-size: 15px; line-height: 1.4; list-style: none; }
.why-us .capability-card__list li { position: relative; margin: 0; padding: 0 0 0 24px; border: 0; border-radius: 0; background: none; }
.why-us .capability-card__list li::before { position: absolute; top: .2em; left: 0; width: 14px; height: 8px; border-bottom: 2px solid #f5b4ae; border-left: 2px solid #f5b4ae; content: ""; transform: rotate(-45deg); }
.why-us .img { display: none; }

#ourclients .section-title { margin-bottom: 44px; }
.client-wall { position: relative; max-width: 920px; margin: auto; padding: 58px; overflow: hidden; border-radius: 2px 2px 42px 2px; background: var(--navy); box-shadow: var(--shadow); }
.client-wall::before { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 52px 52px; content: ""; }
.client-wall > span { position: relative; display: block; margin-bottom: 24px; color: #f5b4ae; font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.client-wall img { position: relative; display: block; width: 100%; max-height: 610px; object-fit: contain; border-radius: 14px; background: white; }
.services .row, .ongoing .row, #ourplants .row { align-items: center; }
.services .content h3, .ongoing .content h3, #ourplants h3 { margin-top: 26px; color: var(--navy); font-family: Georgia, serif; font-size: 27px; }
.services .content img[src*="check"], .ongoing img[src*="check"], #ourplants img[src*="check"] { width: 16px; height: 16px; margin-right: 8px; }
.services .row > div > img, .ongoing .row > div > img, #ourplants .row > div > img { border-radius: var(--radius); box-shadow: var(--shadow); }

.anchor-marker { position: absolute; top: -88px; }
.project-ledger { position: relative; background: var(--paper) !important; }
.project-ledger__title h2 strong, .site-capability__title h2 strong { color: var(--red); font-weight: inherit; }
.project-ledger__feature { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 70px; }
.project-ledger__feature--reverse { grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr); }
.project-ledger__feature--reverse .editorial-visual { order: 2; }
.editorial-visual { position: sticky; top: 112px; margin: 0; overflow: hidden; border-radius: 2px 2px 42px 2px; background: var(--navy); box-shadow: var(--shadow); }
.editorial-visual::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.2); content: ""; pointer-events: none; }
.editorial-visual img { display: block; width: 100%; height: 660px; object-fit: cover; }
.editorial-visual--primary img { object-position: center 8%; }
.editorial-visual--secondary img { object-position: center 56%; }
.editorial-visual figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 14px; padding: 19px 22px; color: white; background: linear-gradient(0deg, rgba(3,16,25,.96), rgba(3,16,25,.1)); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.editorial-visual figcaption span { color: #f5b4ae; }
.project-ledger__chapters { display: grid; gap: 20px; }
.project-ledger__chapters--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-chapter { position: relative; padding: 32px; border: 1px solid var(--line); background: white; }
.project-chapter::before { position: absolute; top: -1px; left: -1px; width: 54px; height: 3px; background: var(--red); content: ""; }
.project-chapter--dark { color: white; border-color: var(--navy); background: var(--navy); }
.project-chapter--wide { grid-column: 1 / -1; }
.project-chapter__index { margin: 0 0 13px; color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.project-chapter h3 { margin: 0 0 23px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(25px, 2.6vw, 37px); font-weight: 500; line-height: 1.05; }
.project-chapter--dark h3 { color: white; }
.project-chapter ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.project-chapter li { position: relative; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line); color: #52636e; font-size: 13px; line-height: 1.45; }
.project-chapter li::before { position: absolute; top: 17px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--red); content: ""; }
.project-chapter dl { display: grid; gap: 21px; margin: 0; }
.project-chapter dl div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.22); }
.project-chapter dt { color: white; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.project-chapter dd { margin: 7px 0 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.6; }
.project-scale { display: grid; grid-template-columns: 230px 1fr; margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-scale__intro { padding: 30px 30px 30px 0; border-right: 1px solid var(--line); }
.project-scale__intro p { margin: 0 0 7px; color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.project-scale__intro h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.project-scale__items { display: grid; grid-template-columns: repeat(5, 1fr); }
.project-scale__items div { padding: 27px 18px; border-right: 1px solid var(--line); }
.project-scale__items div:last-child { border: 0; }
.project-scale__items strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.project-scale__items span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.45; }

.site-capability { position: relative; color: white; background: var(--navy-deep) !important; }
.site-capability::before { position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 64px 64px; content: ""; }
.site-capability .container { position: relative; }
.site-capability .section-title h1 { color: #f5b4ae; }
.site-capability .section-title h2 { color: white; }
.site-capability .section-title p { color: rgba(255,255,255,.62); }
.site-capability__layout { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: clamp(35px, 6vw, 84px); align-items: start; }
.equipment-visuals { position: sticky; top: 112px; display: grid; grid-template-columns: 1.18fr .82fr; gap: 10px; height: 720px; }
.equipment-visuals figure { position: relative; margin: 0; overflow: hidden; background: #102c41; }
.equipment-visuals figure:last-child { margin-top: 82px; }
.equipment-visuals img { width: 100%; height: 100%; object-fit: cover; }
.equipment-visuals figure:first-child img { object-position: center 10%; }
.equipment-visuals figure:last-child img { object-position: center 72%; }
.equipment-visuals figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 17px 14px; color: rgba(255,255,255,.78); background: linear-gradient(transparent, rgba(3,16,25,.92)); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.equipment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.equipment-grid article { min-height: 205px; padding: 27px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); transition: background .25s, transform .25s; }
.equipment-grid article:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.equipment-grid article:last-child { grid-column: 1 / -1; min-height: auto; }
.equipment-grid article > span { color: #f5b4ae; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
#ourplants .equipment-grid h3 { margin: 28px 0 13px; color: white; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.equipment-grid p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.65; }

.portfolio #portfolio-flters { gap: 8px; margin: 0 0 38px; padding: 0; list-style: none; }
.portfolio #portfolio-flters button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: transparent; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.portfolio #portfolio-flters button.filter-active, .portfolio #portfolio-flters button:hover { color: white; background: var(--navy); }
.portfolio .portfolio-container { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px; }
.portfolio .portfolio-item { margin-bottom: 24px; transition: opacity .2s, transform .2s; }
.portfolio .portfolio-item { grid-column: span 4; }
.portfolio .portfolio-item--featured { grid-column: span 8; grid-row: span 2; }
.portfolio .portfolio-item.is-hidden { display: none; }
.portfolio .portfolio-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 2px 2px 28px 2px; background: white; box-shadow: 0 10px 35px rgba(5,23,34,.08); }
.portfolio .portfolio-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.portfolio .portfolio-item--featured .portfolio-img { aspect-ratio: 16 / 10; }
.portfolio .portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.portfolio .portfolio-img span { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; border-radius: 999px; color: white; background: rgba(5,23,34,.86); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.portfolio .portfolio-card:hover .portfolio-img img { transform: scale(1.04); }
.portfolio .portfolio-info { display: flex; justify-content: space-between; gap: 20px; padding: 22px; }
.portfolio .portfolio-info h3 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.portfolio .portfolio-item--featured .portfolio-info h3 { font-size: 29px; }
.portfolio .portfolio-info p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.portfolio .portfolio-info .project-status { margin-bottom: 7px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.portfolio .portfolio-info dl { display: flex; flex: 0 0 auto; gap: 22px; margin: 0; }
.portfolio .portfolio-info dt { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.portfolio .portfolio-info dd { margin: 4px 0 0; color: var(--navy); font-size: 12px; font-weight: 800; }

.active-sites { background: #ece9e2 !important; }
.active-sites__title h2 strong { color: var(--red); font-weight: inherit; }
.active-sites__layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(30px, 5vw, 72px); align-items: stretch; }
.active-sites__visual { position: relative; min-height: 650px; margin: 0; overflow: hidden; border-radius: 2px 2px 42px 2px; }
.active-sites__visual img { width: 100%; height: 100%; object-fit: cover; }
.active-sites__visual figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 55px 24px 22px; color: white; background: linear-gradient(transparent, rgba(3,16,25,.94)); font-size: 12px; line-height: 1.5; }
.active-sites__visual figcaption span { display: block; margin-bottom: 7px; color: #f5b4ae; font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.active-sites__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.active-sites__grid article { min-height: 295px; padding: 29px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.47); }
.active-sites__grid article > span { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.active-sites__grid h3 { margin: 35px 0 12px; color: var(--navy); font-family: Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1.05; }
.active-sites__grid strong { color: var(--navy); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.active-sites__grid p { margin: 17px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.project-lightbox { position: fixed; z-index: 4000; inset: 0; display: grid; place-items: center; padding: 24px; border: 0; background: rgba(2,12,18,.93); }
.project-lightbox[hidden] { display: none; }
.project-lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 90px #000; }
.project-lightbox button { position: fixed; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: white; background: rgba(5,23,34,.65); font-size: 28px; }
.project-lightbox .lightbox-close { top: 20px; right: 22px; }
.project-lightbox .lightbox-prev { top: 50%; left: 22px; }
.project-lightbox .lightbox-next { top: 50%; right: 22px; }
.project-lightbox p { margin: 13px 0 0; color: white; text-align: center; }
.project-lightbox figcaption { display: flex; justify-content: center; gap: 18px; align-items: baseline; }
.project-lightbox .lightbox-count { color: #f5b4ae; font-size: 10px; font-weight: 900; letter-spacing: .12em; }

.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .65s, transform .65s; }
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }

#contact { background: var(--paper) !important; }
#contact .info, #contact form { height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: 2px 2px 28px 2px; background: white; box-shadow: var(--shadow); }
.contact-visual { position: relative; height: 330px; margin: -28px -28px 28px; overflow: hidden; }
.contact-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.contact-visual figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 42px 22px 18px; color: white; background: linear-gradient(transparent, rgba(3,16,25,.9)); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
#contact .info > div:not(.map-shell) { display: grid; grid-template-columns: 70px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
#contact .info h3 { margin: 0; color: var(--red); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
#contact .info p { margin: 0; color: var(--navy); font-size: 13px; }
#contact .info a { overflow-wrap: anywhere; }
.map-shell { display: grid !important; min-height: 92px; margin-top: 22px; place-items: center; border: 1px dashed rgba(9,36,58,.25); background: #f3f1eb; }
.map-load { min-height: 44px; padding: 11px 17px; border: 0; color: white; background: var(--navy); font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.map-shell iframe { width: 100%; height: 290px; border: 0; }
#contact input, #contact textarea { border: 1px solid #ccd3d6; border-radius: 8px; background: #fafafa; }
#contact input:focus, #contact textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,101,168,.1); }
#contact button[type="submit"] { padding: 14px 25px; border: 0; border-radius: 4px; background: var(--red); font-weight: 800; }

#footer { color: rgba(255,255,255,.7); background: var(--navy-deep); }
#footer .footer-top { padding-top: 70px; background: transparent; }
#footer .footer-top h3, #footer .footer-top h4, #footer a { color: white; }
#footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
#footer .social-links { display: none; }
.back-to-top { right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--red); }
.back-to-top::before { content: "↑"; color: white; font-size: 22px; }
.back-to-top i { display: none; }
#preloader { display: none !important; }

[data-aos] { transition-duration: .5s !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1040px) {
  body.nav-open #header.site-header { background: var(--navy-deep); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header .brand { position: relative; z-index: 3; }
  .nav-toggle { display: block; position: relative; z-index: 3; flex: 0 0 44px; }
  .site-nav { position: fixed; z-index: 2; inset: 0; width: 100%; height: 100vh; height: 100dvh; min-height: 100svh; display: grid; align-content: start; gap: clamp(1px, .8vh, 8px); padding: max(108px, calc(env(safe-area-inset-top) + 92px)) max(28px, env(safe-area-inset-right)) max(30px, calc(env(safe-area-inset-bottom) + 22px)) max(28px, env(safe-area-inset-left)); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); background: radial-gradient(circle at 100% 0, rgba(8,101,168,.24), transparent 42%), var(--navy-deep); scrollbar-width: thin; transition: transform .3s; }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { width: min(100%, 620px); min-height: 44px; padding: clamp(7px, 1.1vh, 13px) 0; font-family: Georgia, serif; font-size: clamp(23px, 4.2vw, 36px); font-weight: 500; line-height: 1.08; }
  .site-nav .nav-cta { width: min(100%, 620px); margin-top: clamp(8px, 1.5vh, 18px); padding: 13px 18px; text-align: center; font-family: inherit; font-size: 15px; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .project-ledger__feature, .project-ledger__feature--reverse, .site-capability__layout { grid-template-columns: 1fr; }
  .project-ledger__feature--reverse .editorial-visual { order: 0; }
  .editorial-visual, .equipment-visuals { position: relative; top: auto; }
  .editorial-visual img { height: 520px; }
  .equipment-visuals { height: 580px; }
  .project-scale { grid-template-columns: 1fr; }
  .project-scale__intro { border-right: 0; border-bottom: 1px solid var(--line); }
  .project-scale__items { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; }
  .portfolio .portfolio-item, .portfolio .portfolio-item--featured { grid-column: span 6; grid-row: auto; }
  .active-sites__layout { grid-template-columns: 1fr; }
  .active-sites__visual { min-height: 520px; }
}

@media (max-width: 1040px) and (max-height: 760px) {
  .site-nav { gap: 0; padding-top: max(86px, calc(env(safe-area-inset-top) + 78px)); padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .site-nav a { min-height: 40px; padding-block: 6px; font-size: clamp(21px, 4vw, 27px); }
  .site-nav .nav-cta { min-height: 42px; margin-top: 6px; padding-block: 9px; font-size: 13px; }
}

@media (max-width: 767px) {
  .container, .why-us .container-fluid { width: min(100% - 28px, 1180px); }
  .brand img { width: 172px; }
  #hero.hero { min-height: 780px; }
  .hero__media img { object-position: 62% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(5,23,34,.97), rgba(5,23,34,.65)), linear-gradient(0deg, rgba(5,23,34,.9), transparent); }
  .hero__content { padding-top: 120px; }
  #hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero__intro { font-size: 17px; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 15px 12px; }
  .hero__facts div { padding-left: 9px; }
  .hero__facts dt { font-size: 20px; }
  .hero__facts dd { font-size: 8px; }
  .hero__scroll, .hero__discipline, .hero__monogram { display: none; }
  #main > section { padding: 76px 0; }
  .section-title { margin-bottom: 34px; }
  .about .content > div { padding: 22px; border-left: 3px solid var(--red); }
  .team .member { display: block !important; }
  .team .member .pic { width: 92px; margin: 0 0 18px; }
  .why-us .accordion-list { padding: 22px; }
  .why-us .accordion-list > ul { grid-template-columns: 1fr; }
  .why-us .capability-card { padding: 12px 12px 22px; }
  .why-us .capability-card__image { height: 190px; }
  .project-ledger__feature { gap: 24px; margin-top: 46px; }
  .project-ledger__chapters--grid { grid-template-columns: 1fr; }
  .project-chapter--wide { grid-column: auto; }
  .project-chapter { padding: 25px 21px; }
  .project-chapter ul { grid-template-columns: 1fr; }
  .editorial-visual img { height: 440px; }
  .project-scale { margin-top: 48px; }
  .project-scale__intro { padding: 24px 0; }
  .project-scale__items { margin-right: -14px; padding-bottom: 7px; }
  .equipment-visuals { grid-template-columns: 1fr 1fr; height: 410px; }
  .equipment-visuals figure:last-child { margin-top: 44px; }
  .equipment-grid { grid-template-columns: 1fr; }
  .equipment-grid article, .equipment-grid article:last-child { grid-column: auto; min-height: auto; padding: 24px 21px; }
  .equipment-grid h3 { margin-top: 18px; }
  .portfolio #portfolio-flters { overflow-x: auto; justify-content: flex-start !important; padding-bottom: 5px; }
  .portfolio #portfolio-flters button { white-space: nowrap; }
  .portfolio .portfolio-container { grid-template-columns: 1fr; }
  .portfolio .portfolio-item, .portfolio .portfolio-item--featured { grid-column: auto; }
  .portfolio .portfolio-info { display: block; }
  .portfolio .portfolio-info dl { margin-top: 18px; }
  .active-sites__visual { min-height: 430px; }
  .active-sites__grid { grid-template-columns: 1fr; }
  .active-sites__grid article { min-height: auto; }
  .client-wall { padding: 22px; }
  #contact .info, #contact form { padding: 22px; }
  .contact-visual { margin: -22px -22px 24px; }
}
