/* ============================================================
   HD GROUP — Design System
   Palette: White + Red + Dark Navy | Premium / architectural
   Type: Zilla Slab (headline, editorial slab-serif) + Inter (UI/body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0F1B33;
  --navy-2: #16274a;
  --navy-soft: #35405c;
  --red: #C1272D;
  --red-dark: #971E23;
  --white: #FFFFFF;
  --off: #F7F5F1;
  --line: #E7E3DC;
  --ink: #201D1B;
  --gray: #6B6660;

  --serif: 'Zilla Slab', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--serif); margin: 0; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

::selection { background: var(--red); color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Eyebrow / section label ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--red); display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(193,39,45,.55); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(193,39,45,.6); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline.dark { border-color: var(--navy); color: var(--navy); }
.btn-outline.dark:hover { background: var(--navy); color: var(--white); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-play {
  display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-weight: 600; font-size: 15px;
}
.play-circle {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; transition: background .3s, transform .3s;
}
.btn-play:hover .play-circle { background: rgba(255,255,255,.15); transform: scale(1.06); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  padding: 12px 0; box-shadow: 0 8px 30px -18px rgba(15,27,51,.35);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand img { height: 36px; }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav a {
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  color: var(--white); position: relative; padding-bottom: 4px;
  transition: color .3s;
}
.site-header.scrolled .main-nav a { color: var(--navy); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--red); transition: width .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover { color: var(--red); }

.header-cta { display: flex; align-items: center; gap: 28px; }
.header-cta .btn-primary { padding: 12px 24px; font-size: 14px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; width: 26px; background: none; border: none; padding: 6px;
}
.hamburger span { width: 100%; height: 2px; background: var(--white); transition: all .3s var(--ease); }
.site-header.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--navy); z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-16px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  overflow-y: auto; padding: 100px 24px 40px; -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a { color: var(--white); font-family: var(--serif); font-size: 28px; font-weight: 600; }
.mobile-menu a:hover { color: var(--red); }
.mobile-menu .btn-primary { margin-top: 10px; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-cta .btn-primary { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--navy); overflow: hidden; padding-top: 100px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transform: scale(1.08);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,27,51,.94) 0%, rgba(15,27,51,.75) 34%, rgba(15,27,51,.28) 62%, rgba(15,27,51,.05) 100%);
}
.hero-diagonal {
  position: absolute; top: 0; right: 0; height: 100%; width: 38%; z-index: 1;
  background: var(--red);
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 30% 100%);
  opacity: .9;
  mix-blend-mode: multiply;
}
.hero-diagonal.line {
  mix-blend-mode: normal; background: none; opacity: 1;
  clip-path: none; width: auto;
  border-left: 2px solid rgba(255,255,255,.18);
  right: 12%;
}

.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 620px; }
.hero-kicker {
  color: var(--white); opacity: .85; font-size: 14px; font-weight: 600; letter-spacing: .08em;
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.hero-kicker::before { content: ''; width: 34px; height: 2px; background: var(--red); }

.hero h1 {
  font-size: clamp(42px, 6.2vw, 78px); color: var(--white); letter-spacing: -.01em;
}
.hero h1 .line1 { display: block; }
.hero h1 .accent { color: var(--red); display: block; }

.hero-sub {
  color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.6; margin: 26px 0 38px; max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 40px; right: var(--pad); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .1em;
}
.scroll-indicator .dot-track {
  width: 1px; height: 46px; background: rgba(255,255,255,.25); position: relative; overflow: hidden;
}
.scroll-indicator .dot-track::after {
  content: ''; position: absolute; top: 0; left: -1px; width: 3px; height: 14px; background: var(--red);
  animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-16px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

@media (max-width: 720px) {
  .hero-diagonal.line { display: none; }
  .scroll-indicator { display: none; }
}

/* reveal-on-load hero text */
.reveal-up { opacity: 0; transform: translateY(28px); }
.reveal-up.in {
  opacity: 1; transform: translateY(0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  position: relative; z-index: 3; background: var(--white);
  margin: -64px auto 0; max-width: calc(var(--maxw) - 0px); width: calc(100% - 2 * var(--pad));
  border-radius: 6px; box-shadow: 0 30px 60px -28px rgba(15,27,51,.35);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 34px 28px; text-align: left; position: relative;
  display: flex; align-items: center; gap: 16px;
  min-width: 0;
}
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line);
}
.stat-icon { color: var(--red); flex-shrink: 0; }
.stat > div { min-width: 0; }
.stat-icon svg { width: 30px; height: 30px; }
.stat-num { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-size: 13px; color: var(--gray); margin-top: 6px; font-weight: 500; }

@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(3)::before, .stat:nth-child(2)::before { display: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; }
}
@media (max-width: 560px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat { padding: 22px 24px; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: none; }
}

/* ============================================================
   SECTION SPACING
   ============================================================ */
section { padding: 120px 0; }
.section-tight { padding: 90px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: 56px; flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); color: var(--navy); max-width: 640px; }
.section-desc { max-width: 380px; color: var(--gray); font-size: 16px; line-height: 1.65; }

.bg-off { background: var(--off); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
@media (max-width: 980px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  position: relative; border-radius: 4px; overflow: hidden; background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  border: 1px solid var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
  display: flex; flex-direction: column;
}
.project-card:hover { box-shadow: 0 30px 50px -30px rgba(15,27,51,.4); transform: translateY(-4px); }
.project-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .thumb img { transform: scale(1.08); }
.status-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(15,27,51,.88); color: var(--white); font-size: 11px; font-weight: 600;
  letter-spacing: .04em; padding: 7px 14px; border-radius: 999px;
}
.status-badge.done { background: rgba(193,39,45,.9); }
.project-card .body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card .p-name { font-family: var(--serif); font-size: 21px; color: var(--navy); font-weight: 700; }
.project-card .p-meta { font-size: 13.5px; color: var(--gray); display: flex; flex-direction: column; gap: 3px; }
.project-card .p-desc { font-size: 14px; color: var(--gray); line-height: 1.55; margin-top: 4px; }
.card-link {
  margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--red);
}
.card-link .arrow { transition: transform .3s var(--ease); }
.project-card:hover .card-link .arrow { transform: translateX(5px); }
.card-accent {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red);
  transition: width .4s var(--ease);
}
.project-card:hover .card-accent { width: 100%; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-image { position: relative; border-radius: 4px; overflow: hidden; }
.about-image img { width: 100%; height: 620px; object-fit: cover; }
.about-copy p { font-size: 17px; line-height: 1.75; color: var(--gray); margin-top: 20px; }
.about-copy .lede { font-family: var(--serif); font-size: 27px; color: var(--navy); font-weight: 600; line-height: 1.4; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 360px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--white); padding: 40px 30px; transition: background .35s, transform .35s; position: relative; }
.service-card:hover { background: var(--navy); }
.service-card:hover h3, .service-card:hover p { color: var(--white); }
.service-num { font-family: var(--serif); font-size: 15px; color: var(--red); font-weight: 700; margin-bottom: 22px; display: block; }
.service-card svg { width: 34px; height: 34px; color: var(--red); margin-bottom: 20px; }
.service-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--gray); line-height: 1.6; transition: color .35s; }

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WHY HD GROUP
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.why-block {
  background: var(--navy); padding: 46px 30px; position: relative; overflow: hidden;
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
}
.why-block::before {
  content: attr(data-index); position: absolute; top: 24px; right: 26px;
  font-family: var(--serif); font-size: 60px; color: rgba(255,255,255,.06); font-weight: 700; line-height: 1;
}
.why-block h3 { font-size: 24px; color: var(--white); margin-bottom: 10px; }
.why-block p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }
.why-block .rule { width: 40px; height: 2px; background: var(--red); margin-bottom: 20px; }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-grid > * { min-width: 0; }
.contact-info h4 { font-family: var(--serif); font-size: 22px; color: var(--white); margin-bottom: 18px; }
.contact-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-row svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.contact-row div { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.6; overflow-wrap: anywhere; }
.contact-row a:hover { color: var(--red); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 3px;
  padding: 14px 16px; color: var(--white); font-family: var(--sans); font-size: 15px;
  transition: border-color .3s, background .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
.field select option { color: var(--ink); background-color: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: rgba(255,255,255,.1);
}
.field textarea { resize: vertical; min-height: 110px; }
.contact-form .btn-primary { margin-top: 6px; border: none; }
.form-success {
  display: none; align-items: center; gap: 12px; background: rgba(120,190,120,.14);
  border: 1px solid rgba(120,190,120,.4); padding: 16px 18px; border-radius: 4px; margin-top: 18px;
  color: #bfe8bf; font-size: 14px;
}
.form-success.show { display: flex; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative; padding: 100px 0; background: var(--navy); overflow: hidden; text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(193,39,45,.18), transparent 60%);
}
.cta-band .wrap { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); color: var(--white); max-width: 680px; margin: 0 auto 18px; }
.cta-band p { color: rgba(255,255,255,.7); font-size: 17px; max-width: 520px; margin: 0 auto 38px; }
.cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top > * { min-width: 0; }
.footer-brand img { height: 46px; margin-bottom: 18px; }
.footer-brand p { font-family: var(--serif); color: var(--white); font-size: 17px; }
.footer-col h5 { color: var(--white); font-size: 14px; letter-spacing: .05em; margin-bottom: 20px; font-weight: 600; }
.footer-col a, .footer-col div { display: block; font-size: 14.5px; margin-bottom: 12px; color: rgba(255,255,255,.65); line-height: 1.5; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 13px; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 12px; }
.back-to-top {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; transition: background .3s, transform .3s;
}
.back-to-top:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL REVEAL (generic)
   ============================================================ */
.sr {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.sr.in { opacity: 1; transform: translateY(0); }
.sr-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.sr-stagger.in > * { opacity: 1; transform: translateY(0); }
.sr-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.sr-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.sr-stagger.in > *:nth-child(3) { transition-delay: .19s; }
.sr-stagger.in > *:nth-child(4) { transition-delay: .26s; }
.sr-stagger.in > *:nth-child(5) { transition-delay: .33s; }
.sr-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.sr-stagger.in > *:nth-child(7) { transition-delay: .47s; }
.sr-stagger.in > *:nth-child(8) { transition-delay: .54s; }

/* ============================================================
   PAGE HERO (project + interior pages)
   ============================================================ */
.page-hero {
  position: relative; height: 62vh; min-height: 440px; display: flex; align-items: flex-end;
  background: var(--navy); overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-slide { opacity: 0; transition: opacity 1s ease-in-out; }
.page-hero .hero-slide.is-active { opacity: 1; }
.page-hero .scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,27,51,.94) 0%, rgba(15,27,51,.35) 55%, rgba(15,27,51,.15) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 56px; width: 100%; }
.page-hero.has-slides .wrap { padding-bottom: 100px; }
.hero-controls {
  position: absolute; z-index: 3; right: max(16px, calc((100vw - var(--maxw)) / 2 + var(--pad))); bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.hero-control {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%; background: rgba(15,27,51,.48); color: #fff; font-size: 26px; line-height: 1;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-control:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.hero-control:focus-visible, .hero-dot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero-dots { display: flex; align-items: center; gap: 2px; }
.hero-dot {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent;
}
.hero-dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.65);
  transition: width .2s ease, background .2s ease;
}
.hero-dot.is-active::before { width: 20px; background: #fff; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.back-link:hover { color: var(--red); }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 56px); max-width: 720px; }
.page-hero .meta-row { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.page-hero .status-badge { position: static; }
.page-hero .location { color: rgba(255,255,255,.8); font-size: 15px; display: flex; align-items: center; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .page-hero .hero-slide { transition: none; } }

.spec-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin-top: -1px;
}
.spec-item { background: var(--white); padding: 26px 24px; min-width: 0; }
.spec-item .k { font-size: 12.5px; color: var(--gray); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.spec-item .v { font-family: var(--serif); font-size: 19px; color: var(--navy); font-weight: 600; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }

.detail-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 70px; }
@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; gap: 50px; }
  .sidebar-card { position: static; }
}

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; font-size: 15.5px; color: var(--gray); line-height: 1.5; }
.feature-list li svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

.size-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.size-table td { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.size-table td:first-child { color: var(--navy); font-weight: 600; }
.size-table td:last-child { color: var(--gray); text-align: right; }

.info-soon {
  background: var(--off); border: 1px dashed var(--line); border-radius: 4px; padding: 20px;
  font-size: 14.5px; color: var(--gray); font-style: italic;
}

.sidebar-card { background: var(--off); border-radius: 4px; padding: 32px; position: sticky; top: 110px; }
.sidebar-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 18px; }
.sidebar-card .btn-primary { width: 100%; justify-content: center; margin-top: 10px; }

/* ---- additions ---- */
#news,#upcoming{padding:90px 0}
.news-body{max-width:820px;margin-top:10px}.news-body p{color:var(--gray);line-height:1.75;margin-top:16px}
.rehab-badge{display:inline-flex;align-items:center;gap:16px;border:1px solid var(--line);border-left:4px solid var(--navy);padding:14px 20px;border-radius:4px;max-width:100%}.rehab-logo{display:block;width:210px;height:66px;object-fit:cover;object-position:center;border-radius:2px}.rehab-badge span{font-size:13px;color:var(--gray);line-height:1.5}
@media(max-width:540px){.rehab-badge{flex-wrap:wrap;gap:8px}.rehab-logo{max-width:100%}}
.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-top:44px}
.team-card{border:1px solid var(--line);padding:22px;border-radius:4px;display:block}.team-card h4{color:var(--navy);font-size:17px;margin-bottom:4px}.team-card span{font-size:13.5px;color:var(--gray)}
.team-cta{background:var(--navy)}.team-cta h4,.team-cta span{color:#fff}
.terms{max-width:820px}.terms h3{font-family:var(--serif);color:var(--navy);font-size:19px;margin:28px 0 6px}.terms p{color:var(--gray);line-height:1.7;font-size:15px}
#terms{padding:80px 0}
.fab-wa{position:fixed;right:18px;bottom:18px;z-index:60;background:#25D366;color:#fff;font-weight:700;font-size:14px;padding:13px 20px;border-radius:40px;box-shadow:0 6px 20px rgba(0,0,0,.25)}
/* Safin Tower floor plans */
.project-floor-plans { margin-top: 76px; }
.project-floor-plans h2 { margin-top: 8px; color: var(--navy); font-size: clamp(26px, 3vw, 34px); }
.floor-plan-intro { max-width: 680px; margin-top: 10px; color: var(--gray); font-size: 15.5px; line-height: 1.65; }
.floor-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.floor-plan-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.floor-plan-image { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--off); padding: 10px; }
.floor-plan-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.floor-plan-image:hover img { transform: scale(1.025); }
.floor-plan-image:focus-visible, .floor-plan-caption a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.floor-plan-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; }
.floor-plan-caption h3 { color: var(--navy); font-family: var(--serif); font-size: 17px; }
.floor-plan-caption a { flex-shrink: 0; color: var(--red); font-size: 13px; font-weight: 600; }
@media (max-width: 800px) { .floor-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .project-floor-plans { margin-top: 56px; }
  .floor-plan-grid { grid-template-columns: 1fr; gap: 18px; max-width: 460px; }
  .floor-plan-image { aspect-ratio: 3 / 4; }
}
.floor-plan-caption > div { min-width: 0; }
.floor-plan-caption p { margin-top: 4px; color: var(--gray); font-size: 13px; }
/* Leadership messages */
#leadership { padding: 90px 0; }
#leadership .section-head { margin-bottom: 40px; }
.leadership-list { display: grid; gap: 24px; }
.leadership-card { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; padding: 30px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.leader-profile { display: grid; align-content: start; gap: 16px; }
.leader-profile img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 38%; border-radius: 4px; background: var(--off); }
.leader-profile h3 { color: var(--navy); font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.leader-role { margin-top: 6px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.leadership-quote { margin: 0; border-left: 3px solid var(--red); padding: 4px 0 4px 20px; color: var(--navy); font-family: var(--serif); font-size: 22px; line-height: 1.5; }
.leadership-details { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.leadership-details summary { display: inline-flex; align-items: center; color: var(--red); cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.leadership-details summary::-webkit-details-marker { display: none; }
.leadership-details summary::after { content: '+'; margin-left: 10px; font-size: 18px; }
.leadership-details[open] summary::after { content: '-'; }
.leadership-details summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.leader-message-body { padding-top: 12px; color: var(--gray); font-size: 15px; line-height: 1.75; }
.leader-message-body p { margin-top: 14px; }
.leader-message-body p:first-child { margin-top: 0; }
.leadership-signature { color: var(--navy); font-weight: 700; }
@media (max-width: 900px) {
  .leadership-card { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding: 24px; }
}
@media (max-width: 600px) {
  #leadership { padding: 72px 0; }
  .leadership-card { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .leader-profile { grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 16px; }
  .leader-profile img { width: 88px; }
  .leader-profile h3 { font-size: 18px; }
  .leadership-quote { padding-left: 16px; font-size: 19px; }
}
