/* ══════════════════════════════════════════════
   SKIP LINK
   ══════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: var(--z-top);
  background: var(--color-rust);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */
.nav-list {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-offwhite);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-rust);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-rust);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-offwhite);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

/* ══════════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════════ */
.marquee {
  background: var(--color-rust);
  overflow: hidden;
  padding: 0.75rem 0;
}

.nav-toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav--open .nav-list {
  transform: translateX(0);
}

/* ══════════════════════════════════════════════
   BUTTON
   ══════════════════════════════════════════════ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1rem 2.5rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: rgba(255, 255, 255, 0.08);
  transition: width var(--transition-base);
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-rust);
  color: var(--color-white);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn--primary:hover {
  background: var(--color-rust-dark);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-sand);
  color: var(--color-sand);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn--outline:hover {
  background: var(--color-sand);
  color: var(--color-charcoal);
}

/* ══════════════════════════════════════════════
   CARD
   ══════════════════════════════════════════════ */
.card {
  position: relative;
  overflow: hidden;
  background: #1E1C19;
  border: 1px solid rgba(196, 168, 130, 0.15);
  padding: var(--space-md);
  transition: border-color var(--transition-slow), transform var(--transition-slow);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-rust);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 20px;
  background: var(--color-rust);
}

.card:hover {
  border-color: var(--color-sand);
  transform: translateY(-4px);
}

/* ══════════════════════════════════════════════
   BUTTON VARIANTS
   ══════════════════════════════════════════════ */
.btn--sm {
  padding: 0.6rem 1.5rem;
  font-size: var(--text-xs);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ══════════════════════════════════════════════
   CARD ICON
   ══════════════════════════════════════════════ */
.card-icon {
  font-size: var(--text-2xl);
  color: var(--color-rust);
  margin-bottom: var(--space-sm);
}

/* ══════════════════════════════════════════════
   FLEX LIST ITEM (About certs, Contact details)
   ══════════════════════════════════════════════ */
.flex-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.flex-list--spaced {
  margin-top: var(--space-md);
}

.flex-list__item {
  display: flex;
  gap: var(--space-sm);
}

.flex-list__icon {
  color: var(--color-rust);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   MAP PLACEHOLDER
   ══════════════════════════════════════════════ */
.map-placeholder {
  margin-top: var(--space-md);
  width: 100%;
  height: 220px;
  background: #1E1C19;
  border: 1px solid rgba(196,168,130,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-concrete);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.map-placeholder i {
  margin-right: var(--space-xs);
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-rust);
  margin-bottom: var(--space-sm);
}

.footer-link-item {
  margin-bottom: var(--space-xs);
}

.footer-link-item:last-child {
  margin-bottom: 0;
}

.footer-contact-item {
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-concrete);
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   CARD TITLE
   ══════════════════════════════════════════════ */
.card-title {
  margin-bottom: var(--space-xs);
}

.card-tag {
  margin-top: var(--space-sm);
  display: inline-block;
}

/* ══════════════════════════════════════════════
   TAG
   ══════════════════════════════════════════════ */
.tag {
  display: inline-block;
  background: rgba(168, 92, 56, 0.15);
  color: var(--color-rust);
  border: 1px solid rgba(168, 92, 56, 0.3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
}

/* ══════════════════════════════════════════════
   ADDRESS
   ══════════════════════════════════════════════ */
.address {
  font-style: normal;
}

/* ══════════════════════════════════════════════
   FOOTER BOTTOM PADDING
   ══════════════════════════════════════════════ */
.footer--padded {
  padding-bottom: var(--space-lg);
}

/* ══════════════════════════════════════════════
   DIVIDER
   ══════════════════════════════════════════════ */
.divider {
  width: 100%;
  height: 1px;
  border: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(106, 107, 107, 0.1) 10%,
    rgba(106, 107, 107, 0.5) 20%,
    rgba(106, 107, 107, 0.1) 30%,
    transparent 35%,
    rgba(106, 107, 107, 0.3) 45%,
    rgba(106, 107, 107, 0.05) 55%,
    rgba(106, 107, 107, 0.4) 65%,
    transparent 72%,
    rgba(106, 107, 107, 0.15) 80%,
    rgba(106, 107, 107, 0.6) 88%,
    transparent 100%
  );
}

/* ══════════════════════════════════════════════
   STAT BLOCK
   ══════════════════════════════════════════════ */
.stat-block {
  text-align: center;
}

.stat-block-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-sand);
  line-height: 1;
}

.stat-block-suffix {
  color: var(--color-rust);
}

.stat-block-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  color: var(--color-concrete);
  margin-top: var(--space-xs);
}

/* ══════════════════════════════════════════════
   TESTIMONIAL
   ══════════════════════════════════════════════ */
.testimonial-card {
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.testimonial-text {
  font-style: italic;
  font-weight: 300;
  color: var(--color-sand-light);
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-sand);
  font-style: normal;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-sm);
  color: var(--color-sand);
}

.testimonial-company {
  color: var(--color-concrete);
}

.project-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-offwhite);
  line-height: 1;
}

.project-card-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-sand);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--transition-fast);
}

.project-card-link:hover {
  color: var(--color-offwhite);
}

/* ══════════════════════════════════════════════
   PROJECT CARD GRADIENT FALLBACKS
   ══════════════════════════════════════════════ */
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.project-card:nth-child(1) { background: linear-gradient(135deg, #2C2C2C 0%, #3E3E3E 50%, #2C2A26 100%); }
.project-card:nth-child(2) { background: linear-gradient(135deg, #1E1C19 0%, #2C2C2C 50%, #3A3530 100%); }
.project-card:nth-child(3) { background: linear-gradient(135deg, #2C2A26 0%, #3E3A34 50%, #2C2C2C 100%); }
.project-card:nth-child(4) { background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 50%, #363028 100%); }
.project-card:nth-child(5) { background: linear-gradient(135deg, #24221F 0%, #2C2A26 50%, #3E3E3E 100%); }
.project-card:nth-child(6) { background: linear-gradient(135deg, #2C2C2C 0%, #24201A 50%, #3E3A34 100%); }

/* ══════════════════════════════════════════════
   ABOUT IMAGE
   ══════════════════════════════════════════════ */
.about__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-right: 3px solid var(--color-rust);
  border-bottom: 3px solid var(--color-rust);
}

/* ══════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: var(--z-above);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-rust);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-md);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.scroll-top.visible,
.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-rust-dark);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════
   UTILITY / STATE
   ══════════════════════════════════════════════ */
body.menu-open {
  overflow: hidden;
}
