/* Al Atif Constructions — site styles */
:root {
  --navy: #0f2433;
  --navy-2: #173247;
  --ink: #16222e;
  --orange: #e2532b;
  --orange-dark: #c4421d;
  --steel: #5b6873;
  --concrete: #f1f3f2;
  --line: #d8dde0;
  --white: #ffffff;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --radius: 4px;
  --shadow: 0 14px 34px -18px rgba(15, 36, 51, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--concrete); }
.section-dark { background: var(--navy); color: #fff; }
.lead { font-size: 1.2rem; color: var(--steel); max-width: 62ch; }
.section-dark .lead { color: #b9c6cf; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; background: var(--orange); margin-top: 16px;
}
.section-head p { margin-top: 18px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em;
  padding: 12px 26px; border-radius: var(--radius); border: 2px solid var(--orange);
  background: var(--orange); color: #fff; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.text-link { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--orange-dark); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: .01em; color: var(--ink); }
.brand-name span { color: var(--orange); }
.brand-tag { display: block; font-family: var(--body); font-weight: 500; font-size: .74rem; color: var(--steel); letter-spacing: .04em; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--display); font-weight: 500; font-size: 1.15rem; text-decoration: none; padding: 8px 14px; border-radius: var(--radius); color: var(--ink); }
.nav a:hover { color: var(--orange-dark); }
.nav a[aria-current="page"] { color: var(--orange-dark); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav .btn { color: #fff; margin-left: 10px; padding: 9px 20px; }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 20px 22px; gap: 0;
    display: none; box-shadow: var(--shadow);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1.3rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin: 16px 0 0; border-bottom: 2px solid var(--orange); }
  .brand-tag { display: none; }
  .brand img { height: 44px; }
  .brand-name { font-size: 1.35rem; }
  .header-in { height: 66px; }
}

/* Hero (home) */
.hero {
  background-color: var(--navy); color: #fff; position: relative; overflow: hidden;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 17ch; }
.hero-sub { font-size: 1.2rem; color: #c3ced6; max-width: 50ch; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.licence { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; color: #dfe6ea; margin-bottom: 22px; }
.licence::before { content: ""; width: 34px; height: 3px; background: var(--orange); }

.value { position: relative; width: min(100%, 470px); margin-inline: auto; }
.value-ring { position: relative; aspect-ratio: 1; }
.value-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.value-ring circle { fill: none; stroke-width: 26; }
.value-ring .track { stroke: rgba(255,255,255,.07); }
.value-ring .seg { stroke-dasharray: 0 1000; transition: stroke-dasharray 1.1s cubic-bezier(.3,.7,.2,1); }
.value-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.value-cur { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: .12em; color: #c3ced6; }
.value-num { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7.4vw, 4.5rem); line-height: .95; white-space: nowrap; color: #fff; font-variant-numeric: tabular-nums; }
.value-num b { color: var(--orange); font-weight: 700; }
.value-label { font-size: 1rem; color: #c3ced6; margin-top: 6px; }
.value-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; margin-top: 26px; }
.value-legend li { font-size: .92rem; color: #c3ced6; display: flex; flex-direction: column; padding-left: 14px; border-left: 4px solid var(--c); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.value-legend strong { font-family: var(--display); font-size: 1.45rem; font-weight: 600; color: #fff; line-height: 1.1; }
.value.is-on .value-legend li { opacity: 1; transform: none; }

.hero-stats { border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stats div { padding: 26px 20px 30px 0; }
.hero-stats div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-stats strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; }
.hero-stats div > span { color: #b9c6cf; font-size: .98rem; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .value { order: -1; width: min(100%, 380px); }
  .hero h1 { max-width: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div { padding: 20px 12px 20px 0; }
  .hero-stats div + div { padding-left: 16px; }
  .hero-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}

/* Page banner (inner pages) */
.banner { background: var(--navy); color: #fff; padding: clamp(44px, 7vw, 84px) 0; position: relative;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; }
.banner h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.banner p { color: #c3ced6; font-size: 1.2rem; max-width: 60ch; margin: 16px 0 0; }
.banner h1::after { content: ""; display: block; width: 72px; height: 5px; background: var(--orange); margin-top: 18px; }

/* Generic grids */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.two-col.top { align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Framed photo */
.frame { background: #fff; padding: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; margin: 0; }
.frame::before, .frame::after { content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none; }
.frame::before { top: -5px; left: -5px; border-top: 5px solid var(--orange); border-left: 5px solid var(--orange); }
.frame::after { bottom: -5px; right: -5px; border-bottom: 5px solid var(--navy); border-right: 5px solid var(--navy); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { padding: 10px 4px 2px; font-size: .95rem; color: var(--steel); display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.frame figcaption strong { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.15; }

.stage { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .03em; padding: 2px 10px; border-radius: 2px; background: var(--navy); color: #fff; white-space: nowrap; }
.stage.s-design { background: #5b6873; }
.stage.s-progress { background: #c98a1b; }
.stage.s-done { background: #1f7a4d; }
.stage.s-before { background: #7a2f1f; }

/* Values list */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.values li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.values li:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.values h3 { margin-bottom: 8px; }
.values p { color: var(--steel); margin: 0; }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .values li, .values li:not(:nth-child(3n+1)) { padding: 20px 0; border-left: 0; }
}

/* Services */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 26px 24px 24px; transition: border-color .2s, transform .2s; }
.service:hover { border-top-color: var(--orange); transform: translateY(-3px); }
.service svg { width: 40px; height: 40px; stroke: var(--orange); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--steel); margin: 0; font-size: 1rem; }
@media (max-width: 980px) { .service-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .service-list { grid-template-columns: 1fr; } }

.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: center; padding: clamp(30px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .frame { order: 2; }
.service-row .frame img { aspect-ratio: 16 / 10; }
.service-row ul { margin-top: 14px; }
.service-row li { padding: 7px 0 7px 26px; position: relative; color: var(--ink); }
.service-row li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 3px; background: var(--orange); }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .frame { order: 0; } }

.trades { display: flex; flex-wrap: wrap; gap: 10px; }
.trades li { font-family: var(--display); font-size: 1.25rem; font-weight: 500; padding: 8px 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; }

/* Marquee: projects move right to left */
.marquee { overflow: hidden; padding: 12px 0 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 30px; width: max-content; animation: slide-left 70s linear infinite; padding-left: 30px; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .frame { width: 400px; flex: none; }
.marquee .frame img { aspect-ratio: 4 / 3; height: auto; }
@keyframes slide-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 620px) { .marquee .frame { width: 280px; } .marquee-track { gap: 20px; animation-duration: 55s; } }

/* Before / after comparison */
.compare { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); --pos: 50%; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .c-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .c-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; }
.compare .c-line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; letter-spacing: 2px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:focus-within .c-line::after { outline: 3px solid #fff; }
.compare .stage { position: absolute; bottom: 12px; z-index: 2; pointer-events: none; }
.compare .stage.l { left: 12px; }
.compare .stage.r { right: 12px; }

/* Project blocks */
.project { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 4vw, 60px); align-items: start; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.project:nth-of-type(even) .project-media { order: 2; }
.project-main img { aspect-ratio: 4 / 3; }
.project-main.tall img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--concrete); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.thumb { position: relative; padding: 0; border: 4px solid #fff; outline: 1px solid var(--line); background: var(--concrete); cursor: zoom-in; overflow: hidden; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.thumb:hover img { transform: scale(1.07); }
.thumb .stage { position: absolute; left: 0; bottom: 0; font-size: .78rem; padding: 1px 7px; }
.project-info h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 10px 0 14px; }
.project-client { font-weight: 600; color: var(--orange-dark); }
.facts { margin: 18px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--steel); }
.facts dd { margin: 0; font-weight: 500; }
.spec { margin-top: 18px; }
.spec li { padding: 5px 0 5px 24px; position: relative; }
.spec li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 3px; background: var(--orange); }
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; }
  .project:nth-of-type(even) .project-media { order: 0; }
}
@media (max-width: 520px) { .thumbs { grid-template-columns: repeat(3, 1fr); } .facts div { grid-template-columns: 105px 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gallery .frame { cursor: zoom-in; }
.gallery .frame img { aspect-ratio: 4 / 3; height: auto; transition: filter .3s; }
.gallery button.frame { font: inherit; text-align: left; color: inherit; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* Featured (home) */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 48px); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature h3 { margin: 16px 0 4px; }
.feature p { color: var(--steel); margin: 0; }

/* Project register */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { font-family: var(--display); font-size: 1.1rem; font-weight: 500; padding: 6px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 2px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.register-count { color: var(--steel); margin-bottom: 10px; }
.register { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.register th { font-family: var(--display); font-size: 1.1rem; font-weight: 600; text-align: left; background: var(--navy); color: #fff; padding: 12px 16px; }
.register td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.register td:first-child { color: var(--steel); width: 56px; font-variant-numeric: tabular-nums; }
.register tr[hidden] { display: none; }
.register tbody tr:hover { background: #fafbfb; }
.pill { display: inline-block; font-size: .85rem; font-weight: 600; padding: 2px 10px; border-radius: 20px; white-space: nowrap; }
.pill.done { background: #e2f3ea; color: #17613c; }
.pill.hand { background: #fdf0d9; color: #8a5a06; }
@media (max-width: 700px) {
  .register thead { display: none; }
  .register, .register tbody, .register tr, .register td { display: block; width: 100%; }
  .register tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .register td { border: 0; padding: 2px 0; }
  .register td:first-child { display: none; }
  .register td:nth-child(2) { font-weight: 600; }
  .register td:nth-child(3), .register td:nth-child(4), .register td:nth-child(5) { display: inline-block; width: auto; margin-right: 12px; color: var(--steel); font-size: .95rem; }
}

/* Clients */
.client-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.client-logo { background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 16px; aspect-ratio: 3 / 2; }
.client-logo img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 980px) { .client-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .client-row { grid-template-columns: repeat(2, 1fr); } }

.client-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.client-card { background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; }
.client-card .logo { height: 84px; display: flex; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.client-card .logo img { max-height: 68px; width: auto; max-width: 190px; object-fit: contain; }
.client-card p { color: var(--steel); font-size: 1rem; }
.client-card .share { margin-top: auto; font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.client-card .share b { color: var(--orange-dark); font-size: 1.6rem; font-weight: 700; margin-right: 6px; }
@media (max-width: 980px) { .client-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .client-cards { grid-template-columns: 1fr; } }

.bars { display: grid; gap: 14px; max-width: 820px; }
.bar { display: grid; grid-template-columns: 150px 1fr 90px; gap: 14px; align-items: center; }
.bar span { color: #c3ced6; }
.bar strong { font-family: var(--display); font-size: 1.35rem; font-weight: 600; text-align: right; }
.bar i { display: block; height: 16px; background: rgba(255,255,255,.08); position: relative; }
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.3,.7,.2,1); }
.is-on .bar i::after { transform: scaleX(1); }
@media (max-width: 560px) { .bar { grid-template-columns: 96px 1fr 68px; gap: 10px; } }

/* About */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 42%; font-weight: 500; color: var(--steel); padding-right: 16px; }
.info-table { table-layout: fixed; }
.info-table td { font-weight: 600; overflow-wrap: anywhere; }
.letter { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.letter .sign { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin: 22px 0 0; line-height: 1.2; }
.letter .sign small { display: block; font-family: var(--body); font-size: .95rem; font-weight: 400; color: var(--steel); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { background: #fff; border: 1px solid var(--line); padding: 22px; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }
.member .ini { width: 54px; height: 54px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.member h3 { font-size: 1.35rem; }
.member .role { color: var(--orange-dark); font-weight: 600; font-size: .98rem; margin: 2px 0 4px; }
.member .qual { color: var(--steel); font-size: .95rem; margin: 0; }
@media (max-width: 980px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .team { grid-template-columns: 1fr; } }
.plant { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.plant li { padding: 18px 18px 20px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.plant strong { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 700; color: var(--orange); line-height: 1.1; }
.plant span { color: #d5dde2; font-size: .98rem; }
@media (max-width: 900px) { .plant { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 46px; height: 46px; padding: 11px; background: var(--navy); stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list span { display: block; color: var(--steel); font-size: .95rem; }
.contact-list a, .contact-list strong { font-size: 1.15rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--orange-dark); }
.form { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form input, .form textarea, .form select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #b9c1c7; border-radius: var(--radius); background: #fff; color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { margin-top: 22px; width: 100%; }
.form .hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; gap: 0; } }

/* CTA band */
.cta { background: var(--orange); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { max-width: 22ch; }
.cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta .btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Footer */
.site-footer { background: #0b1b27; color: #b9c6cf; padding: clamp(48px, 6vw, 76px) 0 0; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.2fr; gap: clamp(26px, 4vw, 56px); }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.footer-brand img { height: 68px; width: auto; }
.footer-brand .brand-name { color: #fff; font-size: 1.7rem; }
.footer-brand .brand-tag { color: #b9c6cf; display: block; }
.site-footer h4 { color: #fff; font-size: 1.3rem; margin-bottom: 16px; }
.site-footer h4::after { content: ""; display: block; width: 36px; height: 3px; background: var(--orange); margin-top: 8px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.site-footer dt { color: #8497a4; }
.site-footer dd { margin: 0; color: #dfe6ea; }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .92rem; color: #8497a4; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 18, 26, .93); display: none; place-items: center; padding: 20px; }
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); background: #fff; padding: 10px; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin-inline: auto; }
.lightbox figcaption { padding: 10px 4px 2px; font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.lightbox button { position: absolute; top: 14px; right: 16px; width: 46px; height: 46px; border: 0; background: var(--orange); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .value-ring .seg, .bar i::after, .value-legend li { transition: none; }
}
