/* Anchorstone Construction — Cinematic Industrial & Heavy Infrastructure */
:root {
  --graphite-dark: #121417;
  --steel-dark: #1B2028;
  --steel-card: #222933;
  --industrial-amber: #D97706;
  --industrial-amber-glow: #F59E0B;
  --concrete-light: #F4F5F7;
  --concrete-border: #2D3748;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-dim: #94A3B8;
  --radius-sm: 4px;
  --radius-md: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: #FFFFFF;
  line-height: 1.6;
}

h1, h2, h3, h4, .serif-font {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Demo Disclaimer Banner */
.demo-banner {
  background: #000000;
  color: var(--industrial-amber-glow);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 8px 16px;
  font-weight: 700;
  border-bottom: 1px solid #222;
}

/* Header */
.site-hdr {
  background: rgba(18, 20, 23, 0.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--concrete-border);
}
.site-hdr .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}
.brand { display: flex; flex-direction: column; }
.brand-title {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.brand-sub {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--industrial-amber);
  font-weight: 700;
  margin-top: 3px;
}
.hdr-nav { display: flex; gap: 30px; align-items: center; }
.hdr-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #94A3B8;
  transition: color 0.2s ease;
}
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { color: var(--industrial-amber-glow); }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 auto; background: transparent; border: 1.5px solid var(--concrete-border); border-radius: var(--radius-sm); cursor: pointer; padding: 0; }
.menu-toggle span { position: relative; display: block; width: 18px; height: 2px; background: var(--text-light); border-radius: 2px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text-light); border-radius: 2px; transition: transform 0.18s ease, opacity 0.18s ease; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .hdr-nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 84px; left: 0; right: 0; z-index: 59;
    background: var(--steel-card); border-bottom: 1px solid var(--concrete-border);
    box-shadow: 0 20px 45px rgba(18, 20, 23, 0.35);
    padding: 6px 22px 18px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .hdr-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .hdr-nav a { padding: 14px 2px; border-bottom: 1px solid var(--concrete-border); width: 100%; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-amber { background: var(--industrial-amber); color: #FFFFFF; }
.btn-amber:hover { background: var(--industrial-amber-glow); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.25); color: #FFFFFF; background: transparent; }
.btn-outline-light:hover { border-color: var(--industrial-amber); background: rgba(255, 255, 255, 0.05); }
.btn-disabled { background: #334155; color: #94A3B8; cursor: not-allowed; border: 1px solid #475569; }

.btn:focus-visible, .hdr-nav a:focus-visible, .fnav a:focus-visible {
  outline: 2px solid var(--industrial-amber-glow);
  outline-offset: 2px;
}

/* Cinematic Ken Burns Hero */
@keyframes cinematicPan {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1%, -1%); }
  100% { transform: scale(1) translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop img { animation: none; }
}

.hero-cinematic {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  background: var(--graphite-dark);
  overflow: hidden;
  border-bottom: 3px solid var(--industrial-amber);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) contrast(1.15);
  animation: cinematicPan 24s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-cinematic .wrap {
  position: relative;
  z-index: 2;
  padding: 96px 24px;
  max-width: 880px;
}
.kicker {
  color: var(--industrial-amber-glow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.hero-cinematic h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.12;
  margin: 0 0 24px;
  color: #FFFFFF;
}
.hero-cinematic p.lead {
  font-size: 19px;
  color: #E2E8F0;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }

.photo-disclosure {
  position: relative;
  z-index: 2;
  font-size: 11.5px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin: 18px 0 0;
}
.photo-disclosure.dark { color: var(--text-muted); }

/* Page Hero */
.page-hero {
  position: relative;
  background: var(--graphite-dark);
  color: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid var(--concrete-border);
}
.page-hero .hero-backdrop img { filter: brightness(0.32) contrast(1.15); }
.page-hero .wrap { position: relative; z-index: 2; padding: 76px 24px 68px; }
.page-hero.center { text-align: center; }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 16px; color: #FFFFFF; }
.page-hero p.lead { color: #CBD5E1; font-size: 17px; max-width: 660px; margin: 0; }

/* Sections */
.section-pad { padding: 90px 0; }
.section-pad.tight { padding: 56px 0; }
.bg-dark { background: var(--graphite-dark); color: #FFFFFF; }
.bg-steel { background: var(--steel-dark); color: #FFFFFF; }
.bg-concrete { background: var(--concrete-light); }

.sec-intro { margin-bottom: 52px; }
.sec-intro.center { text-align: center; }
.sec-intro h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 16px; }
.sec-intro p { color: var(--text-muted); font-size: 17px; max-width: 680px; }
.bg-dark .sec-intro p, .bg-steel .sec-intro p { color: #94A3B8; }
.sec-intro.center p { margin: 0 auto; }

.prose { max-width: 720px; margin: 0 auto; }
.prose p { color: var(--text-muted); font-size: 16.5px; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; color: var(--text-main); }
.prose em { color: var(--text-main); }

/* Photo Showcases */
.cinematic-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.cinematic-grid.reverse { grid-template-columns: 0.9fr 1.1fr; }
.cinematic-grid.reverse .img-frame { order: 2; }
@media (max-width: 880px) {
  .cinematic-grid, .cinematic-grid.reverse { grid-template-columns: 1fr; gap: 36px; }
  .cinematic-grid.reverse .img-frame { order: 0; }
}

.img-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  background: var(--steel-dark);
  aspect-ratio: 4/3;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.img-frame:hover img { transform: scale(1.03); }

/* Sector Projects Grid (4 Major Categories) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  background: var(--steel-dark);
  border: 1px solid var(--concrete-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card .project-media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.project-card .project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-card .sector-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(18, 20, 23, 0.9);
  color: var(--industrial-amber-glow);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--concrete-border);
}
.project-card .project-body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.project-card h3 { font-size: 24px; margin: 0 0 10px; color: #FFFFFF; }
.project-card p { color: #94A3B8; font-size: 15px; margin: 0 0 18px; flex: 1; }
.project-card ul { margin: 0; padding-left: 18px; color: #CBD5E1; font-size: 14px; }
.project-card li { margin-bottom: 6px; }

/* Metrics / Standards */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .metrics-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .metrics-strip { grid-template-columns: 1fr; } }
.metric-item {
  border-left: 2px solid var(--industrial-amber);
  padding-left: 20px;
}
.metric-item strong {
  display: block;
  font-size: 22px;
  font-family: "EB Garamond", Georgia, serif;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
}
.metric-item span {
  font-size: 13.5px;
  color: #94A3B8;
}

/* Tender & Contact */
.tender-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .tender-grid { grid-template-columns: 1fr; gap: 40px; } }

.tender-desk-card {
  background: var(--steel-dark);
  color: #FFFFFF;
  padding: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--concrete-border);
}
.tender-desk-card h3 { font-size: 26px; margin: 0 0 16px; color: #FFFFFF; }
.tender-detail {
  padding: 16px 0;
  border-bottom: 1px solid var(--concrete-border);
}
.tender-detail:last-child { border-bottom: 0; }
.tender-detail span.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--industrial-amber-glow);
  display: block;
}
.tender-detail strong { font-size: 15.5px; color: #FFFFFF; }

form.tender-form { display: grid; gap: 16px; }
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-duo { grid-template-columns: 1fr; } }
.tender-form label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; color: var(--text-main); }
.tender-form input, .tender-form select, .tender-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #FFFFFF;
  color: var(--text-main);
}
.tender-form input:disabled, .tender-form select:disabled, .tender-form textarea:disabled {
  background: #F1F5F9;
  cursor: not-allowed;
}
.form-notice {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Footer */
footer.cons-footer {
  background: var(--graphite-dark);
  color: #94A3B8;
  padding: 60px 0 30px;
  font-size: 13.5px;
  border-top: 1px solid var(--concrete-border);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand .brand-title { color: #FFFFFF; }
.fnav { display: flex; gap: 24px; flex-wrap: wrap; }
.fnav a { color: #94A3B8; }
.fnav a:hover { color: var(--industrial-amber-glow); }
.footer-bottom {
  border-top: 1px solid var(--concrete-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
