/* =========================================================
   Sri Sai Lakshmi Constructions & Co.
   Layout & interaction system modelled on large-contractor
   corporate sites: floating header over a full-bleed hero
   carousel, eyebrow rules, oversized sentence-case display
   type, tab switchers, edge-bleed imagery, angular accents.
   Palette and content are SSLC's own.
   ========================================================= */
:root {
  --ink: #12161c;
  --navy: #14324f;
  --navy-deep: #0d2338;
  --charcoal: #23262b;
  --charcoal-2: #2c3037;
  --gold: #c08a2d;
  --gold-bright: #e3ac43;
  --gold-soft: #efd39a;
  --gold-pale: #f6dfae;
  --paper: #f5f6f7;
  --line: #e3e7ec;
  --text: #2a3138;
  --muted: #5f6b77;
  --white: #fff;
  --max: 1360px;
  --pad: 64px;
  --ease: cubic-bezier(.22,.72,.28,1);
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: Barlow, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
@media (max-width: 900px) { :root { --pad: 24px; } }

/* ---------- Display typography ---------- */
h1, h2, h3, h4 { font-family: Barlow, sans-serif; color: var(--ink); font-weight: 700; line-height: 1.04; letter-spacing: -.015em; }
.display { font-size: clamp(42px, 6.4vw, 92px); line-height: .98; font-weight: 700; letter-spacing: -.025em; }
.h-xl { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.02; }
.h-lg { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.06; }
.h-md { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; }
.lede { font-size: 19px; color: var(--muted); line-height: 1.62; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lede, .on-dark p { color: #b9c1cb; }

/* ---------- Eyebrow: short rule + spaced caps ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 52px; height: 2px; background: var(--ink); flex: none;
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease) .1s;
}
.in .eyebrow::before, .eyebrow.in::before, .no-js .eyebrow::before { transform: scaleX(1); }
.on-dark .eyebrow { color: #9aa4b0; }
.on-dark .eyebrow::before { background: var(--gold); }
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold::before { background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 38px; font-size: 14px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; border: 2px solid transparent;
  position: relative; overflow: hidden; transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--navy);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-solid { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-solid:hover { color: #fff; border-color: var(--navy); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { color: #fff; border-color: var(--navy); }
.on-dark .btn-outline, .btn-outline.light { color: #fff; border-color: rgba(255,255,255,.6); }
.on-dark .btn-outline:hover, .btn-outline.light:hover { border-color: var(--gold); }
.on-dark .btn-outline::before, .btn-outline.light::before { background: var(--gold); }

/* text link with trailing rule */
.link-rule {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
}
.link-rule::after {
  content: ""; width: 48px; height: 2px; background: var(--gold);
  transition: width .4s var(--ease);
}
.link-rule:hover::after { width: 78px; }
.on-dark .link-rule, .hero .link-rule { color: #fff; }

/* =========================================================
   Header — floats transparent over the hero, solidifies on scroll
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header .bar {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 100%; display: flex; align-items: center; gap: 38px;
}
.site-header.solid { background: #fff; height: 70px; box-shadow: 0 2px 20px rgba(13,35,56,.10); }
.site-header.hide { transform: translateY(-100%); }
.site-header { transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { display: block; }
.brand-mark { height: 44px; width: auto; transition: height .4s var(--ease); }
.brand-word { height: 29px; width: auto; transition: height .4s var(--ease); }
.site-header.solid .brand-mark { height: 39px; }
.site-header.solid .brand-word { height: 26px; }
/* the art is navy+gold on white; over the hero the header is dark, so show the
   light (knockout) art, and swap to the dark art once the header solidifies. */
.brand .brand-dark { display: none; }
.site-header.solid .brand .brand-light { display: none; }
.site-header.solid .brand .brand-dark { display: block; }
/* narrow screens: keep the SSLC mark, drop the long wordmark */
@media (max-width: 560px) { .brand-word { display: none !important; } }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav > a {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 15px; font-size: 15.5px; font-weight: 500; color: #fff;
  position: relative; transition: color .3s var(--ease);
}
.site-header.solid .nav > a { color: var(--ink); }
.nav > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav > a:hover::after, .nav > a.active::after { transform: scaleX(1); }
/* Contact lives in the header CTA on desktop; .head-right is hidden in the drawer,
   so the drawer gets its own copy of the link instead. */
.nav > a.only-mob { display: none; }

.head-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.head-meta { font-size: 13.5px; color: rgba(255,255,255,.82); letter-spacing: .04em; transition: color .4s var(--ease); }
.site-header.solid .head-meta { color: var(--muted); }
.head-cta {
  padding: 12px 26px; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; background: var(--gold); color: #fff;
  transition: background .3s var(--ease);
}
.head-cta:hover { background: var(--navy); }

/* mobile nav */
.burger { display: none; background: none; border: 2px solid rgba(255,255,255,.55); width: 46px; height: 44px; position: relative; }
.site-header.solid .burger { border-color: var(--line); }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s; }
.site-header.solid .burger i { background: var(--ink); }
.burger i:nth-child(1) { top: 14px; } .burger i:nth-child(2) { top: 20px; } .burger i:nth-child(3) { top: 26px; }
body.nav-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger i:nth-child(2) { opacity: 0; }
body.nav-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .head-meta { display: none; }
  .nav > a { padding: 10px 11px; font-size: 15px; }
}
@media (max-width: 980px) {
  .burger { display: block; margin-left: auto; }
  .head-right { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-deep);
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 20px var(--pad);
    overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease);
  }
  body.nav-open .nav { transform: none; }
  .nav > a { color: #fff !important; font-size: 20px; padding: 16px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav > a::after { display: none; }
  .nav > a.only-mob { display: flex; }
}

/* =========================================================
   Hero — full viewport, rotating slides
   ========================================================= */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--navy-deep); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.hero-slide.on { opacity: 1; visibility: visible; }
.hero-slide .bg {
  position: absolute; inset: 0;
  background: var(--img) center/cover no-repeat;
  transform: scale(1.06);
  transition: transform 7s linear;
}
.hero-slide.on .bg { transform: scale(1.16); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,20,32,.86) 0%, rgba(9,20,32,.62) 46%, rgba(9,20,32,.30) 100%);
}
.hero-body {
  position: relative; z-index: 2; height: 100%;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-slide .kick, .hero-slide h2, .hero-slide .go {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.hero-slide.on .kick { opacity: 1; transform: none; transition-delay: .25s; }
.hero-slide.on h2   { opacity: 1; transform: none; transition-delay: .40s; }
.hero-slide.on .go  { opacity: 1; transform: none; transition-delay: .58s; }
.hero .kick {
  display: flex; align-items: center; gap: 20px; color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 26px;
}
.hero .kick::before { content: ""; width: 90px; height: 2px; background: var(--gold); flex: none; }
.hero h2 { color: #fff; max-width: 15ch; }
.hero .go { margin-top: 40px; }
.hero-copy { position: absolute; inset: 0; }

/* slide tabs + progress */
.hero-tabs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 40px;
  display: flex; align-items: flex-end; gap: 42px;
}
.hero-tab {
  background: none; border: 0; text-align: left; color: rgba(255,255,255,.65);
  font-size: 15px; font-weight: 600; padding: 0 0 12px; position: relative;
  transition: color .3s var(--ease); flex: 0 1 auto;
}
.hero-tab:hover { color: #fff; }
.hero-tab.on { color: #fff; }
.hero-tab i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.28); display: block; }
.hero-tab i::after { content: ""; position: absolute; inset: 0 100% 0 0; background: var(--gold-bright); transition: right 0s; }
.hero-tab.on i::after { animation: tabFill var(--slide-ms, 7000ms) linear forwards; }
@keyframes tabFill { from { right: 100%; } to { right: 0; } }
.hero-pause {
  margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6); background: none; color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
  transition: border-color .3s, background .3s;
}
.hero-pause:hover { border-color: var(--gold); background: rgba(0,0,0,.25); }
.hero-pause b { display: block; width: 12px; height: 13px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero-pause.paused b { width: 0; height: 0; border: 7px solid transparent; border-left: 12px solid currentColor; margin-left: 5px; }
@media (max-width: 780px) {
  .hero-tabs { gap: 20px; padding-bottom: 26px; }
  .hero-tab { font-size: 12.5px; }
  .hero-pause { display: none; }
}

/* scroll cue */
.scroll-cue {
  position: absolute; right: var(--pad); bottom: 120px; z-index: 3;
  writing-mode: vertical-rl; font-size: 11.5px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after { content: ""; width: 2px; height: 60px; background: linear-gradient(180deg, var(--gold), transparent); }
@media (max-width: 980px) { .scroll-cue { display: none; } }

/* =========================================================
   Page hero (interior pages)
   ========================================================= */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 96px) 0 88px;
  background: var(--navy-deep); overflow: hidden;
}
.page-hero .bg {
  position: absolute; inset: 0; background: var(--img) center/cover no-repeat;
  opacity: .5; animation: slowZoom 22s ease-in-out infinite alternate;
}
@keyframes slowZoom { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(92deg, rgba(9,20,32,.9) 8%, rgba(9,20,32,.60) 62%, rgba(9,20,32,.36) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #c3ccd6; max-width: 62ch; margin-top: 20px; font-size: 18.5px; }
.page-hero .eyebrow { color: #fff; }
.page-hero .eyebrow::before { background: var(--gold); }

/* breadcrumb */
.crumb { display: flex; gap: 10px; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 26px; }
.crumb a:hover { color: var(--gold-bright); }

/* =========================================================
   Sections
   ========================================================= */
.sec { padding: 118px 0; position: relative; }
.sec.tight { padding: 84px 0; }
.sec.paper { background: var(--paper); }
.sec.dark { background: var(--charcoal); }
.sec.navy { background: var(--navy-deep); }
@media (max-width: 800px) { .sec { padding: 74px 0; } }

/* split heading row: headline left, supporting copy right */
.head-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 64px; }
.head-row.center { align-items: center; }
@media (max-width: 900px) { .head-row { grid-template-columns: 1fr; gap: 26px; margin-bottom: 42px; } }

/* two column body */
.cols { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; gap: 44px; } }
.cols p + p { margin-top: 20px; }

/* ---------- Oversized stats ---------- */
.stat-list { display: grid; gap: 44px; }
.stat-lg b {
  display: block; font-size: clamp(46px, 5vw, 74px); font-weight: 700;
  line-height: .92; color: var(--navy); letter-spacing: -.03em;
}
.stat-lg span { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; color: var(--muted); }
.dark .stat-lg b, .navy .stat-lg b { color: var(--gold-bright); }
.dark .stat-lg span, .navy .stat-lg span { color: #b9c1cb; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); gap: 34px; } }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } }
.stat-row .stat-lg { border-top: 3px solid var(--gold); padding-top: 20px; }
/* In a 4-up row the biggest currency values ("₹253.84 Cr") overrun the column
   and drop the unit onto a second line. Cap the size for the row variant and
   keep the number + unit on one line. */
.stat-row .stat-lg b { font-size: clamp(30px, 3.4vw, 50px); white-space: nowrap; letter-spacing: -.035em; }

/* ---------- Tab switcher ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 34px; border-bottom: 1px solid var(--line); margin-bottom: 52px; }
.dark .tabs, .navy .tabs { border-color: rgba(255,255,255,.16); }
.tab {
  background: none; border: 0; padding: 0 0 16px; position: relative;
  font-size: 17px; font-weight: 600; color: var(--muted); transition: color .3s var(--ease);
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); }
.tab.on::after { transform: scaleX(1); }
.dark .tab, .navy .tab { color: #8e98a4; }
.dark .tab:hover, .dark .tab.on, .navy .tab:hover, .navy .tab.on { color: #fff; }

.panel { display: none; }
.panel.on { display: block; animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Edge-bleed feature row ---------- */
.bleed { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.bleed .shot { position: relative; min-height: 520px; overflow: hidden; }
.bleed .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.bleed:hover .shot img { transform: scale(1.05); }
.bleed .info { padding: 0 0 0 78px; display: flex; flex-direction: column; justify-content: center; }
/* Pull the image out to the viewport edge. The distance is the gap between the
   viewport edge and the wrap's content box — NOT `50% - 50vw`: a percentage
   margin resolves against the containing block, and the shot's containing block
   is a half-width grid track, so that idiom over-pulls by ~375px and throws the
   photo (and the crop) off screen. */
.bleed { --bleed-out: calc(max(0px, (100vw - var(--max)) / 2) + var(--pad)); }
.bleed.left .shot { margin-left: calc(-1 * var(--bleed-out)); }
.bleed.right { direction: rtl; }
.bleed.right > * { direction: ltr; }
.bleed.right .shot { margin-right: calc(-1 * var(--bleed-out)); }
.bleed.right .info { padding: 0 78px 0 0; }
@media (max-width: 900px) {
  .bleed, .bleed.right { grid-template-columns: 1fr; direction: ltr; }
  .bleed .shot { min-height: 300px; margin: 0 calc(-1 * var(--pad)) 34px !important; }
  .bleed .info, .bleed.right .info { padding: 0 !important; }
}

/* metadata rows */
.meta-rows { margin: 30px 0 34px; display: grid; gap: 12px; }
.meta-rows div { display: flex; gap: 16px; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.meta-rows dt, .meta-rows .k {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; min-width: 108px; flex: none;
}
.meta-rows dd, .meta-rows .v { font-weight: 600; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
/* On a narrow phone a fixed 108px label plus a long unbreakable value (an email
   address) exceeds the column, so stack the pair instead. */
@media (max-width: 560px) {
  .meta-rows div { flex-direction: column; gap: 4px; align-items: stretch; }
  .meta-rows dt, .meta-rows .k { min-width: 0; }
}
.dark .meta-rows div, .navy .meta-rows div { border-color: rgba(255,255,255,.14); }
.dark .meta-rows .v, .navy .meta-rows .v { color: #fff; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .cards, .cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards.c4, .cards.c2 { grid-template-columns: 1fr; } }

.card { position: relative; padding-top: 26px; border-top: 3px solid var(--line); transition: border-color .4s var(--ease); }
.card:hover { border-color: var(--gold); }
.card .n { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--gold); }
.card h3 { margin: 12px 0 12px; font-size: 23px; }
.card p { color: var(--muted); font-size: 16px; }

/* project tile */
.tile { position: relative; overflow: hidden; background: var(--charcoal); display: block; }
.tile .ph { position: relative; height: 300px; overflow: hidden; background: #e7ebef; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover .ph img { transform: scale(1.07); }
.tile .ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,20,32,0) 40%, rgba(9,20,32,.82));
}
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; z-index: 2; }
.tile .st {
  display: inline-block; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; padding: 5px 11px; margin-bottom: 12px;
}
.tile h3 { color: #fff; font-size: 21px; }
.tile .val { color: var(--gold-pale); font-size: 14.5px; font-weight: 600; margin-top: 7px; }
.tile.noimg .ph { background: var(--navy); }
.tile.noimg .ph::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-55deg, #16324f 0 34px, #122b45 34px 68px);
}

/* ---------- Carousel ---------- */
.car-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.car-nav { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 9px; margin-right: 12px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #c4ccd4; transition: background .3s, transform .3s; }
.dots button.on { background: var(--gold); transform: scale(1.25); }
.arw {
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--line);
  background: none; color: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, background .3s, color .3s;
}
.arw:hover:not(:disabled) { border-color: var(--gold); background: var(--gold); color: #fff; }
.arw:disabled { opacity: .35; cursor: default; }
.arw svg { width: 19px; height: 19px; }
.car-view { overflow: hidden; }
.car-track { display: flex; gap: 30px; transition: transform .65s var(--ease); }
.car-track > * { flex: 0 0 calc((100% - 90px) / 4); }
@media (max-width: 1100px) { .car-track > * { flex: 0 0 calc((100% - 60px) / 3); } }
@media (max-width: 860px)  { .car-track > * { flex: 0 0 calc((100% - 30px) / 2); } }
@media (max-width: 600px)  { .car-track > * { flex: 0 0 100%; } }

/* ---------- Angular decorative accents ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco.tr { top: 0; right: 0; }
.deco.br { bottom: 0; right: 0; }
.sec > .wrap { position: relative; z-index: 1; }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; border-top: 3px solid var(--ink); }
table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 720px; }
table.data thead th {
  text-align: left; padding: 16px 18px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
table.data td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tbody tr { transition: background .25s; }
table.data tbody tr:hover { background: var(--paper); }
table.data td.r, table.data th.r { text-align: right; white-space: nowrap; }
table.data .sub td {
  background: var(--ink); color: #fff; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; font-size: 12px;
}
table.data .tot td { background: var(--navy); color: #fff; font-weight: 700; }
table.data .tot td.r { color: var(--gold-bright); font-size: 19px; }

/* ---------- Gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gal.g3 { grid-template-columns: repeat(3, 1fr); }
.gal.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .gal, .gal.g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gal, .gal.g3, .gal.g2 { grid-template-columns: 1fr; } }
.gal figure { position: relative; overflow: hidden; background: #e7ebef; }
.gal img { width: 100%; height: var(--gh, 220px); object-fit: cover; transition: transform .9s var(--ease), opacity .5s ease; }
.gal img.loading { opacity: 0; }
.gal figure:hover img { transform: scale(1.07); }
.gal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(180deg, rgba(9,20,32,0), rgba(9,20,32,.88));
  color: #fff; font-size: 13.5px; font-weight: 500;
  transform: translateY(6px); opacity: .95; transition: transform .4s var(--ease);
}
.gal figure:hover figcaption { transform: none; }
.gal.tall { --gh: 300px; }

/* ---------- Person ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }
.pcard { border-top: 3px solid var(--line); padding-top: 20px; transition: border-color .4s var(--ease); }
.pcard:hover { border-color: var(--gold); }
.pcard b { display: block; font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.pcard span { display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pcard.lead { border-top-color: var(--gold); }

/* ---------- Ticker ---------- */
.ticker-band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.ticker { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker-band:hover .ticker { animation-play-state: paused; }
.ticker span {
  display: flex; align-items: center; gap: 15px; white-space: nowrap; margin-right: 66px;
  font-size: 16px; font-weight: 600; letter-spacing: .05em; color: var(--muted);
}
.ticker span::before { content: ""; width: 8px; height: 8px; background: var(--gold); flex: none; transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--paper); padding: 108px 0; }
.cta h2 { max-width: 30ch; }
.cta .row { display: flex; gap: 18px; margin-top: 38px; flex-wrap: wrap; }

/* newsletter / contact band
   NB: the row class must never be `in` — the reveal system adds `in` to every
   `.rv` element, so `.band .in` would re-match the inner column once it fired
   and turn it into a grid, crushing the heading into one word per line. */
.band { background: var(--navy-deep); color: #fff; padding: 54px 0; }
.band .bandrow { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
@media (max-width: 860px) { .band .bandrow { grid-template-columns: 1fr; justify-items: start; } }
.band h3 { color: #fff; font-size: 27px; max-width: 30ch; }
.band p { color: #a9b4c0; margin-top: 8px; font-size: 16px; }

/* ---------- Footer ---------- */
.site-foot { background: #fff; padding: 74px 0 34px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 54px; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }
.site-foot h4 { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-foot a.f { display: block; padding: 5px 0; color: var(--text); font-size: 15.5px; transition: color .25s, padding-left .25s var(--ease); }
.site-foot a.f:hover { color: var(--gold); padding-left: 6px; }
.site-foot address { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.7; }
.foot-logo { width: 240px; max-width: 78%; height: auto; margin-bottom: 22px; }
.foot-brand p { color: var(--muted); font-size: 15px; max-width: 40ch; }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted);
}

/* ---------- Utility ---------- */
.mt8{margin-top:8px}.mt16{margin-top:16px}.mt24{margin-top:24px}.mt32{margin-top:32px}.mt48{margin-top:48px}.mt64{margin-top:64px}
.note { font-size: 14.5px; color: var(--muted); border-left: 3px solid var(--gold); background: var(--paper); padding: 18px 22px; }
.ticks { list-style: none; display: grid; gap: 15px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }

/* progress + back to top */
#prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: var(--gold); }
#top {
  position: fixed; right: 26px; bottom: 26px; width: 50px; height: 50px; z-index: 250;
  border: 2px solid var(--gold); background: var(--navy-deep); color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s, transform .35s, background .3s, visibility .35s;
  display: flex; align-items: center; justify-content: center;
}
#top.show { opacity: 1; visibility: visible; transform: none; }
#top:hover { background: var(--gold); }

/* =========================================================
   Small screens
   ========================================================= */

/* A grid track's automatic minimum is its content's min-content width, so one
   unbreakable string — an email address, an agreement number — can force a
   column wider than its container and shove the page sideways. Zero the floor
   on every grid item and let long words break rather than overflow. */
.cards > *, .cols > *, .head-row > *, .stat-row > *, .stat-list > *, .gal > *,
.people > *, .foot-top > *, .bleed > *, .band .bandrow > *, .car-track > * { min-width: 0; }
.card p, .card a, .pcard b, .site-foot address, .site-foot a.f, .tile h3 { overflow-wrap: break-word; }

/* `svh` measures the viewport with mobile browser chrome showing, so the slide
   tabs stay on screen and the hero does not resize as the address bar hides. */
.hero { height: 100svh; }
@media (max-height: 540px) { .hero { min-height: 460px; } }

@media (max-width: 980px) {
  /* the drawer starts below whatever height the header currently is */
  .site-header.solid .nav { top: 70px; }
  /* stop the page behind the drawer from scrolling under it */
  body.nav-open { overflow: hidden; }
}

/* touch: the carousel dots are 9px, far below a comfortable tap target, so give
   them an invisible 40px one without changing how they look */
.dots button { position: relative; }
.dots button::after { content: ""; position: absolute; inset: -16px; }

.tbl-wrap { -webkit-overflow-scrolling: touch; }

@media (max-width: 640px) {
  .sec { padding: 62px 0; }
  .sec.tight { padding: 48px 0; }
  .page-hero { padding: calc(var(--header-h) + 54px) 0 56px; }
  .page-hero p { font-size: 16.5px; margin-top: 14px; }
  .crumb { margin-top: 18px; }

  .eyebrow { gap: 12px; margin-bottom: 16px; font-size: 11.5px; letter-spacing: .18em; }
  .eyebrow::before { width: 30px; }
  .lede { font-size: 17px; }

  .hero .kick { gap: 12px; margin-bottom: 18px; font-size: 11.5px; letter-spacing: .18em; }
  .hero .kick::before { width: 42px; }
  .hero h2 { max-width: none; }
  .hero .go { margin-top: 28px; }
  .hero-tabs { gap: 16px; padding-bottom: 24px; }
  .hero-tab { font-size: 11.5px; }

  .btn { padding: 15px 22px; font-size: 12.5px; letter-spacing: .1em; }
  /* full-width stacked buttons read better than two ragged half-rows */
  .cta .row .btn, .band .btn { flex: 1 0 100%; }
  .cta { padding: 74px 0; }
  .band { padding: 40px 0; }
  .band h3 { font-size: 21px; }
  .band .bandrow { gap: 26px; }

  .head-row { margin-bottom: 36px; }
  .tabs { gap: 20px; margin-bottom: 34px; }
  .tab { font-size: 15px; padding-bottom: 12px; }
  .meta-rows { margin: 22px 0 26px; }
  .card h3 { font-size: 21px; }
  table.data { font-size: 14.5px; }
  table.data td, table.data thead th { padding: 13px 14px; }

  #top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .site-foot { padding: 54px 0 26px; }
  .foot-top { padding-bottom: 40px; }
  /* keep the last line clear of the fixed back-to-top button */
  .foot-bottom { padding-bottom: 42px; }
}

/* Auto table layout hands the widest column the least room, so on a phone the
   work descriptions wrap into a ribbon eight lines deep. The wrapper already
   scrolls horizontally, so anchor the descriptive first column and let it. */
@media (max-width: 900px) {
  table.data { min-width: 820px; }
  table.data th:first-child, table.data td:first-child { min-width: 275px; }
}

/* =========================================================
   Scroll reveal — animates `translate`, never `transform`,
   so hover transforms on the same element never collide.
   ========================================================= */
.rv {
  opacity: 0; translate: 0 40px;
  transition: opacity .85s var(--ease) var(--d, 0s), translate .85s var(--ease) var(--d, 0s);
}
.rv.in { opacity: 1; translate: none; }
.rv-l { translate: -46px 0; }
.rv-r { translate: 46px 0; }
.rv-l.in, .rv-r.in { translate: none; }

/* line that draws itself */
.rule-draw { height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.rule-draw.in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1 !important; translate: none !important; }
  .eyebrow::before, .rule-draw { transform: scaleX(1) !important; }
  .hero-slide { opacity: 1; visibility: visible; }
  .hero-slide:not(.on) { display: none; }
  .hero-slide .kick, .hero-slide h2, .hero-slide .go { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
