:root {
  --bg: #08090b;
  --bg-elevated: #101114;
  --text: #f2f1ee;
  --muted: #9a978f;
  --line: rgba(242, 241, 238, 0.12);
  --accent: #e6321a;
  --accent-soft: rgba(230, 50, 26, 0.18);
  --font-display: "Saira Extra Condensed", sans-serif;
  --font-body: "Titillium Web", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(8, 9, 11, 0.85), rgba(8, 9, 11, 0));
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(8, 9, 11, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-cta:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 1rem) clamp(1.25rem, 4vw, 3rem) 5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  transform: scale(1.1);
  filter: brightness(0.78) contrast(1.08) saturate(0.9);
  animation: hero-ken 18s var(--ease) forwards;
}

@keyframes hero-ken {
  to {
    transform: scale(1);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 9, 11, 0.88) 0%, rgba(8, 9, 11, 0.45) 38%, rgba(8, 9, 11, 0.08) 68%, transparent 100%),
    linear-gradient(to top, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.35) 28%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 20vw, 12.5rem);
  line-height: 0.82;
  letter-spacing: 0.04em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 40px rgba(8, 9, 11, 0.55);
}

.hero-tagline {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 28ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #ff3d24;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(242, 241, 238, 0.4);
  background: rgba(242, 241, 238, 0.06);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 1;
  width: 1.5rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  padding-top: 0.4rem;
}

.hero-scroll span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-lead {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
}

/* —— Services —— */
.service-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease), color 0.35s var(--ease);
}

.service-item:hover {
  padding-left: 0.5rem;
  color: var(--accent);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.service-item:hover .service-num {
  color: var(--accent);
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* —— Contact —— */
.contact {
  max-width: 1100px;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-people {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease);
}

.contact-row:first-child {
  border-top: 1px solid var(--line);
}

.contact-row:hover {
  color: var(--accent);
}

.contact-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-row:hover .contact-label {
  color: var(--accent);
}

.contact-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.contact-address {
  margin-top: 1.75rem;
  color: var(--muted);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-map {
  position: relative;
  min-height: 280px;
  height: 100%;
  background: var(--bg-elevated);
  overflow: hidden;
  border: 1px solid var(--line);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  transition: filter 0.5s var(--ease);
}

.contact-map:hover iframe {
  filter: grayscale(0.35) contrast(1.05) brightness(0.9);
}

/* —— Footer —— */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem) 2.25rem;
  border-top: 1px solid var(--line);
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  transition-delay: 0s;
}

.hero .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero .reveal:nth-child(2) { transition-delay: 0.22s; }
.hero .reveal:nth-child(3) { transition-delay: 0.34s; }
.hero .reveal:nth-child(4) { transition-delay: 0.46s; }

.service-item.reveal:nth-child(1) { transition-delay: 0.05s; }
.service-item.reveal:nth-child(2) { transition-delay: 0.12s; }
.service-item.reveal:nth-child(3) { transition-delay: 0.19s; }
.service-item.reveal:nth-child(4) { transition-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-img {
    animation: none;
    transform: none;
  }

  .hero-scroll span {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
