/* ============================================
   DESIGN TOKENS
   EXCAV8 Holding Page
   Dark industrial aesthetic, red accent
   ============================================ */

:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --color-bg:           #111111;
  --color-surface:      #1a1a1a;
  --color-border:       #333333;
  --color-border-light: #444444;

  --color-text:         #f0f0f0;
  --color-text-muted:   #999999;
  --color-text-faint:   #666666;

  --color-red:          #E63312;
  --color-red-hover:    #ff4422;
  --color-red-glow:     rgba(230, 51, 18, 0.15);

  --color-white:        #ffffff;
  --color-black:        #000000;

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --content-default: 1100px;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}


/* ============================================
   BASE
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse at top, var(--color-red-glow) 0%, transparent 55%),
    radial-gradient(ellipse at bottom, rgba(255,255,255,0.04) 0%, transparent 60%);
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { line-height: 1.15; font-family: var(--font-display); }

::selection {
  background: rgba(230, 51, 18, 0.3);
  color: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================
   HOLDING PAGE
   ============================================ */

.holding {
  flex: 1 1 auto;
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture - industrial feel */
.holding::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.holding__inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.holding__logo {
  width: clamp(240px, 60vw, 420px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

.holding__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0;
}

.red { color: var(--color-red); }

.holding__tagline {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 36ch;
  margin: 0 auto;
}

.holding__divider {
  width: 60px;
  height: 3px;
  background: var(--color-red);
  border-radius: 2px;
  margin: 0.5rem auto;
  box-shadow: 0 0 16px rgba(230, 51, 18, 0.6);
}

.holding__footer {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 1rem;
}


/* ============================================
   BRAND STRIP - Our Digger & Excavation Companies
   ============================================ */

.brand-strip {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(230, 51, 18, 0.07), transparent 70%),
    linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-10) 0 calc(var(--space-10) + var(--space-6));
  position: relative;
  overflow: hidden;
}

.brand-strip::before,
.brand-strip::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-red);
  box-shadow: 0 0 16px rgba(230, 51, 18, 0.6);
}
.brand-strip::before { top: 0; }
.brand-strip::after  { bottom: 0; }

.brand-strip__inner {
  width: min(100% - 2rem, var(--content-default));
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.brand-strip__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--color-red);
  text-align: center;
  margin: 0 auto var(--space-8);
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.brand-strip__eyebrow::before,
.brand-strip__eyebrow::after {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-light));
}
.brand-strip__eyebrow::after {
  background: linear-gradient(90deg, var(--color-border-light), transparent);
}

.brand-strip__marks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-6) var(--space-10);
}

.brand-strip__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.82;
}

.brand-strip__mark:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.brand-strip__mark img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 100%;
}

.brand-strip__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.brand-strip__tagline {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.brand-strip__link:hover .brand-strip__tagline {
  color: var(--color-red);
}

/* Red dot separators between marks (desktop only) */
@media (min-width: 720px) {
  .brand-strip__mark + .brand-strip__mark::before {
    content: "";
    position: absolute;
    left: calc(var(--space-10) / -2);
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--color-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(230, 51, 18, 0.5);
  }
}

@media (min-width: 900px) {
  .brand-strip {
    padding: var(--space-12) 0 calc(var(--space-12) + var(--space-6));
  }
  .brand-strip__marks {
    gap: var(--space-6) var(--space-16);
  }
  .brand-strip__mark img {
    height: 44px;
  }
  .brand-strip__mark + .brand-strip__mark::before {
    left: calc(var(--space-16) / -2);
  }
}


/* ============================================
   SITE FOOTER
   ============================================ */

.footer {
  background: var(--color-black);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0 var(--space-6);
}

.footer__container {
  width: min(100% - 2rem, var(--content-default));
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--space-3);
}

.footer__tagline {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.footer__nap {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.footer__nap-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer__links h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.footer__links a,
.footer__links span {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.footer__links a {
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-red);
}

.footer__area {
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  margin-top: var(--space-3);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.footer__bottom p {
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  margin: 0;
}

.footer__copyright {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__aigot {
  display: inline-flex;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer__aigot:hover {
  opacity: 1;
}

.footer__aigot img {
  height: 34px;
  width: auto;
}

.footer__credit a {
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.footer__credit a:hover {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

@media (min-width: 720px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
