/* =========================================================
   Yoseph Asaye Consulting Architects and Engineers
   Modern, professional, single-page site
   Brand: black + red (#E11D2E) + white
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --brand-red:    #C1121F;
  --brand-red-d:  #7F0710;
  --brand-red-b:  #EC1B24;
  --brand-red-l:  #FFE3E0;
  --black:        #0B0B0B;
  --ink-900:      #14171C;
  --ink-700:      #3D4350;
  --ink-500:      #5A6271;
  --ink-300:      #B5BFCC;
  --line:         #E3E8EF;
  --bg:           #FFFFFF;
  --bg-alt:       #F6F8FB;

  --radius:   8px;
  --radius-s: 8px;
  --shadow-s: 0 2px 6px rgba(0,0,0,0.06);
  --shadow:   0 10px 30px rgba(0,0,0,0.10);
  --shadow-l: 0 20px 60px rgba(0,0,0,0.18);

  --t-fast:  160ms ease;
  --t-base:  280ms ease;
  --t-slow:  500ms cubic-bezier(.2,.7,.2,1);

  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--brand-red);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Space Grotesk', 'Inter', sans-serif;
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }
.section__header { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 16px;
  position: relative;
  padding-left: 36px;
}
.section__eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 26px; height: 2px;
  background: var(--brand-red);
}
.section__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.section__lead  { font-size: 1.08rem; color: var(--ink-500); max-width: 680px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform var(--t-fast), background var(--t-base), color var(--t-base), box-shadow var(--t-base);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand-red-b), var(--brand-red));
  color: #fff;
  box-shadow: 0 16px 34px rgba(193,18,31,0.34);
}
.btn--primary:hover { background: var(--brand-red-d); transform: translateY(-2px); box-shadow: 0 18px 38px rgba(193,18,31,0.40); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn--ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.6); }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--t-base), box-shadow var(--t-base), padding var(--t-base);
  background: rgba(11,11,11,0.0);
  backdrop-filter: blur(0px);
}
.nav.is-scrolled {
  background: rgba(11,11,11,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 6px 18px rgba(0,0,0,0.20);
  padding: 12px 0;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  transition: opacity var(--t-base);
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo-img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  background: #000; /* ensures the logo's dark bg reads on light hero, blends on dark */
  padding: 4px 8px;
}
.nav.is-scrolled .nav__logo-img { height: 42px; }
.nav__logo-text { display: none; } /* hidden because the logo image is self-sufficient */

.nav__menu {
  display: flex; align-items: center; gap: 8px;
}
.nav__menu a {
  position: relative;
  padding: 10px 12px;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__menu a::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  background: var(--brand-red-b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav__menu a:hover { color: #fff; }
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__menu a.nav__cta {
  background: linear-gradient(135deg, var(--brand-red-b), var(--brand-red));
  color: #fff;
  padding: 10px 22px;
  margin-left: 8px;
  font-weight: 600;
}
.nav__menu a.nav__cta:hover { background: var(--brand-red-d); color: #fff; }
.nav__menu a.nav__cta::after { display: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  border-radius: 8px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  color: #fff;
  padding: 118px 0 72px;
  overflow: hidden;
  background: var(--black);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(193,18,31,0.20), transparent 34%),
    linear-gradient(90deg, rgba(11,11,11,0.76) 0%, rgba(11,11,11,0.45) 46%, rgba(11,11,11,0.76) 100%),
    linear-gradient(180deg, rgba(11,11,11,0.64), rgba(11,11,11,0.18) 42%, rgba(11,11,11,0.82)),
    url('../assets/hero-engineering-design-bg.webp') center/cover no-repeat;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__showcase {
  width: 100%;
  display: grid;
  justify-items: center;
  margin: 0 auto;
  padding-top: 0;
  text-align: center;
}

.hero__company-name {
  width: min(980px, 100%);
  max-width: 980px;
  margin-bottom: 18px;
  padding: 12px 18px 14px;
  color: #D41422;
  font-size: clamp(1.75rem, 3.6vw, 3.65rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, rgba(11,11,11,0.82), rgba(11,11,11,0.48), rgba(11,11,11,0.82));
  border-top: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-text-stroke: 0;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.22),
    0 12px 26px rgba(0,0,0,0.82),
    0 0 28px rgba(236,27,36,0.38);
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s 0.06s var(--t-slow) forwards;
}

.hero__main-logo {
  width: min(620px, 82vw);
  aspect-ratio: 3840 / 1723;
  object-fit: contain;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s 0.22s var(--t-slow) forwards;
}

.hero__brand-mark {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.1s var(--t-slow) forwards;
}
.hero__brand-mark img {
  height: 64px; width: auto;
  border-radius: 8px;
}
.hero__brand-line {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 600;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.14s var(--t-slow) forwards;
}
.hero__kicker::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--brand-red);
}

.hero__kicker::after {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--brand-red);
}

.hero__statement {
  max-width: 820px;
  margin-top: 8px;
  margin-bottom: 14px;
  color: #fff;
  font-family: 'Montserrat', 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(24px);
  text-shadow: 0 10px 30px rgba(0,0,0,0.66);
  animation: fadeUp 0.9s 0.3s var(--t-slow) forwards;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.1s var(--t-slow) forwards;
}
.hero__eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--brand-red);
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 980px;
  margin-bottom: 28px;
  text-transform: uppercase;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s 0.25s var(--t-slow) forwards;
}
.hero__title span {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 11px 18px 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red-b), var(--brand-red-d));
  border-left: 6px solid #fff;
  border-radius: 6px;
  box-shadow: 0 18px 38px rgba(193,18,31,0.34);
  font-size: clamp(1.08rem, 2.25vw, 1.82rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.hero__title em { color: var(--brand-red); font-style: normal; }
.hero__title .accent {
  position: relative;
  display: inline-block;
  color: #fff;
}
.hero__title .accent::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: var(--brand-red);
  opacity: 0.45;
  z-index: -1;
  border-radius: 4px;
}

.hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 860px;
  padding: 18px 22px;
  color: rgba(255,255,255,0.9);
  background: rgba(11,11,11,0.58);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 5px solid var(--brand-red-b);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  margin-bottom: 30px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s 0.38s var(--t-slow) forwards;
}

.hero__logo-scene {
  min-height: 420px;
  border: 1px solid rgba(255,255,255,0.2);
  border-left: 6px solid #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(145deg, rgba(193,18,31,0.32), rgba(255,255,255,0.06) 42%, rgba(11,11,11,0.86));
  background-size: 42px 42px, 42px 42px, auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-l);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.42s var(--t-slow) forwards;
}
.hero__logo-scene::before,
.hero__logo-scene::after {
  content: '';
  position: absolute;
  left: 11%;
  right: 11%;
  height: 1px;
  background: rgba(255,255,255,0.45);
}
.hero__logo-scene::before { bottom: 116px; }
.hero__logo-scene::after {
  bottom: 102px;
  background: rgba(225,29,46,0.75);
}
.hero__logo-scene p {
  position: absolute;
  left: 34px;
  bottom: 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.16em;
}
.hero__y-mark {
  position: absolute;
  left: 34px;
  top: 44px;
  width: 150px;
  height: 210px;
  filter: drop-shadow(0 18px 26px rgba(225,29,46,0.3));
}
.hero__y-mark span {
  position: absolute;
  display: block;
  background: linear-gradient(135deg, #ff2639, var(--brand-red-d));
}
.hero__y-mark span:nth-child(1) {
  width: 62px;
  height: 138px;
  left: 14px;
  top: 8px;
  transform: skewX(-28deg) rotate(-4deg);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 76%);
}
.hero__y-mark span:nth-child(2) {
  width: 76px;
  height: 140px;
  left: 72px;
  top: 4px;
  transform: skewX(-28deg) rotate(3deg);
  clip-path: polygon(18% 0, 100% 0, 56% 100%, 0 100%);
}
.hero__y-mark span:nth-child(3) {
  width: 52px;
  height: 150px;
  left: 42px;
  top: 88px;
  transform: skewX(-18deg) rotate(10deg);
  clip-path: polygon(28% 0, 100% 0, 52% 100%, 0 100%);
}
.hero__skyline {
  position: absolute;
  right: 34px;
  bottom: 116px;
  width: min(58%, 290px);
  height: 230px;
}
.tower {
  position: absolute;
  bottom: 0;
  width: 70px;
  border: 2px solid rgba(255,255,255,0.78);
  border-bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.55) 1px, transparent 1px);
  background-size: 100% 26px, 17px 100%;
}
.tower::before,
.tower::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.34);
}
.tower::before {
  left: 50%;
  top: -30px;
  width: 1px;
  height: 30px;
}
.tower::after {
  left: -18px;
  right: -18px;
  top: 24px;
  height: 1px;
}
.tower--one { left: 0; height: 125px; }
.tower--two { left: 92px; height: 190px; }
.tower--three { right: 0; height: 150px; }

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center;
  margin-bottom: 54px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s 0.5s var(--t-slow) forwards;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s 0.7s var(--t-slow) forwards;
}
.stat { background: rgba(10,10,10,0.5); padding: 28px 24px; backdrop-filter: blur(8px); }
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label { font-size: 0.85rem; color: rgba(255,255,255,0.75); letter-spacing: 0.04em; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 0.85s var(--t-slow) forwards;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  border-radius: var(--radius-s);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero__company-name,
.hero__main-logo,
.hero__statement,
.hero__lead,
.hero__actions,
.hero__stats,
.hero__trust {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: grid; place-items: center;
  z-index: 3;
}
.hero__scroll span {
  width: 3px; height: 8px; background: #fff;
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(-6px); opacity: 0; }
  50%      { transform: translateY(0); opacity: 1; }
}

/* ---------- About ---------- */
.about { background: var(--bg); }
.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.about__content h2 { margin-bottom: 18px; }
.about__content > p { margin-bottom: 18px; color: var(--ink-700); }

.sister-company {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 3px solid var(--brand-red);
  background: linear-gradient(90deg, var(--brand-red-l), #fff);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.sister-company__item + .sister-company__item {
  padding-top: 0;
  border-top: 0;
}
.sister-company span {
  display: block;
  color: var(--brand-red);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sister-company p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.93rem;
}
.sister-company strong {
  color: var(--ink-900);
  font-weight: 700;
}
.sister-company__logo {
  display: block;
  margin-bottom: 14px;
  background: #000;
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
a.sister-company__logo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.sister-company__logo img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}
.sister-company a {
  color: var(--ink-900);
  font-weight: 700;
  border-bottom: 2px solid var(--brand-red);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.sister-company a:hover {
  color: var(--brand-red);
  border-color: var(--brand-red-d);
}

.about__pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.pillar {
  padding: 22px 22px;
  border-left: 3px solid var(--brand-red);
  background: var(--bg-alt);
  border-radius: var(--radius-s);
}
.pillar h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--ink-900); }
.pillar p  { font-size: 0.92rem; color: var(--ink-500); margin: 0; }

.about__card {
  background: linear-gradient(160deg, #0A0A0A 0%, #1A1A1A 100%);
  color: #fff;
  padding: 36px;
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow-l);
}
.about__card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.about__card-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.about__card-head strong { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; }
.about__card-head small  { font-size: 0.78rem; opacity: 0.7; margin-top: 2px; }
.about__card-logo {
  height: 56px; width: auto;
  border-radius: 8px;
}
.about__card h3 { color: #fff; font-size: 1.1rem; margin-top: 22px; margin-bottom: 10px; }
.about__card p  { color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.checklist { margin-top: 8px; }
.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 8px;
}
.checklist li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--brand-red);
  border-bottom: 2px solid var(--brand-red);
  transform: rotate(-45deg);
}

/* ---------- Services ---------- */
.services {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11,11,11,0.18), rgba(193,18,31,0.92)),
    var(--brand-red);
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 46%, rgba(255,255,255,0.045) 46% 46.4%, transparent 46.4% 100%);
  background-size: 54px 54px, 54px 54px, 220px 220px;
  opacity: 0.42;
}
.services .container { position: relative; z-index: 1; }
.services .section__title { color: #fff; }
.services .section__lead { color: #ffe9e6; }
.services .section__eyebrow { color: #ffd8d4; }
.services .section__eyebrow::before { background: #ffd8d4; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service {
  background: rgba(255,255,255,0.10);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 44px rgba(0,0,0,0.16);
  backdrop-filter: blur(12px);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base), background var(--t-base);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--brand-red);
  transition: width var(--t-slow);
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(0,0,0,0.22);
  border-color: rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.14);
}
.service:hover::before { width: 100%; }
.service__image {
  margin: -32px -28px 24px;
  height: 165px;
  background: var(--ink-900);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
}
.service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform var(--t-slow), filter var(--t-base);
}
.service:hover .service__image img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}
.service__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--brand-red);
  color: #fff;
  border-radius: 6px;
  margin-bottom: 20px;
  transition: background var(--t-base), color var(--t-base);
}
.service__icon svg { width: 28px; height: 28px; }
.service:hover .service__icon { background: #fff; color: var(--brand-red); }
.service h3 { color: #fff; font-size: 1.12rem; margin-bottom: 10px; }
.service p  { font-size: 0.92rem; color: #f0dbd8; }

/* ---------- Profile ---------- */
.profile {
  background:
    linear-gradient(135deg, var(--black), #250306 56%, var(--brand-red));
  color: #fff;
}
.profile .section__title { color: #fff; }
.profile .section__lead { color: #ffe9e6; }
.profile .section__eyebrow { color: #ffd8d4; }
.profile .section__eyebrow::before { background: #ffd8d4; }
.profile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.profile__visual {
  min-height: 460px;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11,11,11,0.58), rgba(11,11,11,0.68)),
    radial-gradient(circle at 74% 24%, rgba(193,18,31,0.28), transparent 36%),
    url('../assets/profile-coordination-background.webp') center/cover no-repeat;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  box-shadow: var(--shadow-l);
}
.profile__panel {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.24);
  border-left: 5px solid var(--brand-red-b);
  background: rgba(11,11,11,0.68);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}
.profile__panel--large { grid-row: 1 / -1; }
.profile__panel span {
  color: var(--brand-red);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.profile__panel strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.2;
}
.profile__content .section__lead {
  margin-left: 0;
  max-width: none;
}
.profile__metrics {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}
.profile__metrics div {
  padding: 22px 0 22px 24px;
  border-left: 5px solid var(--brand-red-b);
  background: rgba(255,255,255,0.10);
  border-radius: var(--radius);
}
.profile__metrics strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 5px;
}
.profile__metrics span {
  display: block;
  color: #f0dbd8;
  font-size: 0.94rem;
}

/* ---------- Sectors ---------- */
.sectors { background: var(--black); color: #fff; }
.sectors .section__title { color: #fff; }
.sectors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  overflow: hidden;
}
.sector {
  background: #141414;
  padding: 40px 28px;
  transition: background var(--t-base);
  position: relative;
}
.sector::after {
  content: ''; position: absolute; left: 28px; top: 28px;
  width: 24px; height: 1px; background: var(--brand-red);
  transition: width var(--t-slow);
}
.sector:hover { background: #1F1F1F; }
.sector:hover::after { width: 48px; }
.sector h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; padding-top: 16px; }
.sector p  { color: rgba(255,255,255,0.70); font-size: 0.92rem; margin: 0; }

/* ---------- Approach ---------- */
.approach { background: var(--bg); }
.approach__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  padding: 32px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  position: relative;
  transition: transform var(--t-base), background var(--t-base);
}
.step:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.step__num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brand-red);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p  { font-size: 0.9rem; color: var(--ink-500); }

/* ---------- Why Us ---------- */
.why { background: var(--bg-alt); }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.why__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.why__item {
  display: flex; gap: 18px;
  align-items: flex-start;
}
.why__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--ink-900);
  color: var(--brand-red);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 12px;
}
.why__item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why__item p  { font-size: 0.92rem; color: var(--ink-500); }

/* ---------- Team ---------- */
.team { background: var(--bg); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute; left: 0; top: 0; height: 100%; width: 4px;
  background: var(--brand-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-slow);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.team-card:hover::before { transform: scaleY(1); }

.team-card__avatar {
  width: 88px; height: 88px;
  display: grid; place-items: center;
  background: var(--ink-900);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  border-radius: 50%;
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.team-card__avatar--red { background: var(--brand-red); }

.team-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.team-card__role {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 18px;
}
.team-card p { font-size: 0.96rem; color: var(--ink-500); margin: 0; }
.team-card__quote {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-style: italic;
  color: var(--ink-700);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact {
  background:
    linear-gradient(135deg, var(--black), #180204 60%, var(--brand-red-d));
  color: #fff;
}
.contact .section__title { color: #fff; }
.contact .section__lead { color: rgba(255,255,255,0.75); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact__list { margin-top: 36px; display: grid; gap: 22px; }
.contact__list li {
  display: flex; flex-direction: column;
  gap: 4px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.contact__list li:last-child { border-bottom: 0; }
.contact__label {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-red);
}
.contact__list a { color: #fff; transition: color var(--t-fast); }
.contact__list a:hover { color: var(--brand-red); }

.contact__form {
  background: #fff;
  color: var(--ink-700);
  padding: 40px;
  border-radius: var(--radius);
  border-top: 6px solid var(--brand-red-b);
  box-shadow: var(--shadow-l);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-900); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color var(--t-fast), background var(--t-fast);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  background: #fff;
}
.contact__form .btn { grid-column: 1 / -1; margin-top: 4px; }
.form__status {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  text-align: center;
  color: var(--brand-red-d);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.footer {
  background:
    linear-gradient(135deg, var(--black), #180204 60%, var(--brand-red-d));
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
  border-top: 1px solid rgba(225,29,46,0.20);
}
.footer__inner { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 18px; color: #fff; }
.footer__logo {
  height: 80px; width: auto;
  border-radius: 8px;
}
.footer__brand-info { text-align: center; line-height: 1.3; max-width: 520px; }
.footer__brand strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; display: block; letter-spacing: 0.04em; }
.footer__tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  color: var(--brand-red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer__bottom {
  width: 100%;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__showcase { width: min(860px, 100%); }
  .hero__main-logo { width: min(560px, 82vw); }
  .hero__logo-scene { min-height: 340px; }
  .hero__skyline { width: min(55%, 260px); height: 200px; }
  .hero__y-mark { transform: scale(0.82); transform-origin: left top; }
  .about__grid,
  .profile__grid,
  .contact__grid,
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .sectors__grid  { grid-template-columns: repeat(3, 1fr); }
  .approach__steps { grid-template-columns: repeat(2, 1fr); }
  .why__items { grid-template-columns: 1fr; }
  .team__grid  { grid-template-columns: 1fr; }
  .profile__visual { min-height: 380px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(82%, 320px);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 24px 24px;
    background: #0A0A0A;
    box-shadow: var(--shadow-l);
    transform: translateX(100%);
    transition: transform var(--t-base);
    gap: 4px;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a {
    color: #fff;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .nav__menu a:hover { background: rgba(255,255,255,0.06); color: var(--brand-red); }
  .nav__menu a.nav__cta {
    margin-top: 12px;
    text-align: center;
  }
  body.menu-open { overflow: hidden; }

  .hero { padding: 104px 0 48px; min-height: auto; }
  .hero__brand-mark { margin-bottom: 24px; }
  .hero__brand-mark img { height: 52px; }
  .hero__brand-line { font-size: 0.72rem; letter-spacing: 0.12em; }
  .hero__showcase { padding-top: 0; }
  .hero__company-name { font-size: clamp(1.55rem, 5.8vw, 2.45rem); }
  .hero__main-logo { width: min(480px, 100%); margin-bottom: 22px; }
  .hero__statement { font-size: 1.55rem; }
  .hero__lead { margin-bottom: 24px; }
  .hero__title { font-size: 2.7rem; line-height: 1; }
  .hero__title span { font-size: 1rem; letter-spacing: 0.08em; }
  .hero__logo-scene { min-height: 300px; }
  .hero__logo-scene p { left: 24px; bottom: 22px; }
  .hero__y-mark { left: 24px; top: 34px; transform: scale(0.68); transform-origin: left top; }
  .hero__skyline { right: 22px; bottom: 96px; width: min(56%, 220px); height: 160px; }
  .hero__logo-scene::before { bottom: 96px; }
  .hero__logo-scene::after { bottom: 84px; }
  .tower { width: 54px; background-size: 100% 22px, 14px 100%; }
  .tower--one { height: 92px; }
  .tower--two { left: 70px; height: 142px; }
  .tower--three { height: 112px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { margin-bottom: 36px; }
  .stat { padding: 20px 18px; }
  .hero__scroll { display: none; }

  .about__pillars { grid-template-columns: 1fr; }
  .sister-company { grid-template-columns: 1fr; }
  .sister-company__item + .sister-company__item {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
  .profile__visual {
    min-height: 520px;
    grid-template-columns: 1fr;
    grid-template-rows: 1.2fr 1fr 1fr;
    padding: 22px;
  }
  .profile__panel--large { grid-row: auto; }

  .services__grid { grid-template-columns: 1fr; }
  .sectors__grid  { grid-template-columns: repeat(2, 1fr); }
  .approach__steps { grid-template-columns: 1fr; }

  .contact__form { grid-template-columns: 1fr; padding: 28px; }

  .footer__bottom { justify-content: center; text-align: center; }
  .footer__brand { flex-direction: column; text-align: center; }
  .footer__brand > div { text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 92px 0 38px; }
  .hero__title { font-size: 2.35rem; }
  .hero__brand-mark { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero__kicker { font-size: 0.72rem; letter-spacing: 0.1em; }
  .hero__kicker::before,
  .hero__kicker::after { width: 20px; }
  .hero__company-name {
    font-size: 1.34rem;
    line-height: 1.08;
    letter-spacing: 0.01em;
    -webkit-text-stroke: 0;
  }
  .hero__main-logo { width: 88%; margin-bottom: 14px; }
  .hero__statement { font-size: 1.12rem; margin-bottom: 10px; }
  .hero__lead { padding: 12px 14px; font-size: 0.9rem; margin-bottom: 18px; }
  .hero__logo-scene { min-height: 270px; }
  .hero__skyline { opacity: 0.82; width: 58%; }
  .hero__trust { gap: 8px; }
  .hero__trust span { font-size: 0.78rem; padding: 7px 10px; }
  .sectors__grid { grid-template-columns: 1fr; }
}

/* ---------- Selection / Focus ---------- */
::selection { background: var(--brand-red); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 2px; }
