:root {
  --background: #0d1014;
  --foreground: #f7f7f4;
  --muted: #a6a9ad;
  --red: #f31925;
  --line: rgba(255, 255, 255, 0.13);
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { background: var(--background); }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-shell {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  padding: 0 clamp(1.25rem, 5vw, 5.5rem);
  background:
    linear-gradient(90deg, rgba(13,16,20,.98) 0%, rgba(13,16,20,.92) 46%, rgba(13,16,20,.6) 100%),
    linear-gradient(0deg, rgba(13,16,20,.52), rgba(13,16,20,.12)),
    url('/ikm-fire-bg.png') center center / cover no-repeat;
}

.site-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  pointer-events: none;
}

.ambient { position: absolute; z-index: -1; border-radius: 999px; filter: blur(90px); }
.ambient-one { width: 22rem; height: 22rem; right: 10%; top: 20%; background: rgba(243,25,37,.13); }
.ambient-two { width: 18rem; height: 18rem; left: -10%; bottom: -8%; background: rgba(243,25,37,.08); }

.topbar {
  display: flex;
  height: clamp(5.5rem, 10vw, 7.5rem);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .9rem; }
.header-logo {
  display: block;
  width: clamp(10.5rem, 15vw, 13.5rem);
  height: auto;
  filter: drop-shadow(0 .35rem .75rem rgba(0,0,0,.28));
}
.brand-mark { position: relative; width: 2.2rem; height: 2.6rem; overflow: hidden; }
.brand-mark img { position: absolute; width: 6.3rem; max-width: none; left: -2.05rem; top: -1.85rem; }
.brand-copy { display: grid; gap: .05rem; }
.brand-copy strong { font-size: 1.05rem; letter-spacing: .22em; }
.brand-copy small { color: #b7b9bc; font-size: .63rem; letter-spacing: .06em; }
.top-contact {
  display: inline-flex; align-items: center; gap: .65rem;
  color: #d9dadb; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  transition: color .25s ease;
}
.top-contact:hover { color: white; }

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .92fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
  padding: clamp(3rem, 7vh, 6.5rem) 0;
}
.hero-copy { max-width: 48rem; }
.eyebrow {
  display: flex; align-items: center; gap: .65rem; margin-bottom: 1.7rem;
  color: #c3c5c7; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.pulse { width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 .32rem rgba(243,25,37,.12); animation: pulse 2.4s ease-in-out infinite; }
h1 {
  margin: 0;
  font-size: clamp(3.25rem, 6.6vw, 7.2rem);
  font-weight: 550;
  letter-spacing: -.07em;
  line-height: .93;
}
h1 span { display: block; color: var(--red); }
.intro {
  max-width: 38rem;
  margin: clamp(1.6rem, 3vw, 2.5rem) 0 0;
  color: #aeb1b4;
  font-size: clamp(.98rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}
.contact-list {
  display: grid;
  gap: .7rem;
  width: min(100%, 25rem);
  margin-top: clamp(2rem, 4vw, 3.3rem);
}
.email-card {
  display: inline-grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-width: min(100%, 25rem);
  margin-top: 0;
  padding: .75rem .85rem .75rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.email-card:hover { transform: translateY(-2px); border-color: rgba(243,25,37,.6); background: rgba(243,25,37,.06); }
.email-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: var(--red); }
.email-copy { display: grid; gap: .15rem; }
.email-copy small { color: #8f9396; font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.email-copy strong { font-size: clamp(.83rem, 1.25vw, 1rem); font-weight: 500; }
.email-arrow { color: #8e9295; }

.hero-visual { position: relative; display: grid; aspect-ratio: .88; place-items: center; }
.hero-visual::before {
  content: '';
  position: absolute;
  width: min(94%, 35rem);
  aspect-ratio: .82;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(243,25,37,.45));
  clip-path: polygon(50% 0%, 60% 7%, 72% 12%, 84% 15%, 96% 15%, 95% 38%, 91% 56%, 82% 73%, 69% 87%, 50% 100%, 31% 87%, 18% 73%, 9% 56%, 5% 38%, 4% 15%, 16% 15%, 28% 12%, 40% 7%);
  transform: rotate(0deg);
}
.visual-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(92%, 34rem);
  aspect-ratio: .82;
  overflow: hidden;
  padding: 8% 4%;
  background:
    radial-gradient(circle at 50% 44%, rgba(243,25,37,.08), transparent 42%),
    #f7f7f5;
  border: 0;
  border-radius: 0;
  clip-path: polygon(50% 0%, 60% 7%, 72% 12%, 84% 15%, 96% 15%, 95% 38%, 91% 56%, 82% 73%, 69% 87%, 50% 100%, 31% 87%, 18% 73%, 9% 56%, 5% 38%, 4% 15%, 16% 15%, 28% 12%, 40% 7%);
  box-shadow: 0 2rem 6rem rgba(0,0,0,.35);
  transform: rotate(0deg);
}
.visual-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(255,255,255,.07), transparent 45%); }
.visual-frame img {
  position: relative;
  z-index: 1;
  width: 82%;
  max-width: 26rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 .85rem 1.4rem rgba(13,16,20,.12));
}
.frame-index, .frame-label { position: absolute; z-index: 2; color: rgba(255,255,255,.76); font-size: .61rem; letter-spacing: .17em; text-transform: uppercase; }
.frame-index { top: 1.7rem; left: 1.7rem; }
.frame-label { bottom: 1.7rem; left: 1.7rem; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 92%; aspect-ratio: 1; transform: rotate(25deg); }
.orbit-two { width: 72%; aspect-ratio: 1; transform: rotate(-35deg); border-color: rgba(243,25,37,.25); }

footer {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: #73777b;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-line { width: 2rem; height: 1px; background: #3d4145; }

@keyframes pulse { 50% { box-shadow: 0 0 0 .55rem rgba(243,25,37,0); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 3.2rem; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-visual { width: min(88vw, 31rem); justify-self: center; margin-top: -1rem; }
}
@media (max-width: 560px) {
  .site-shell {
    background:
      linear-gradient(180deg, rgba(13,16,20,.92) 0%, rgba(13,16,20,.78) 55%, rgba(13,16,20,.9) 100%),
      url('/ikm-fire-bg.png') 57% center / cover no-repeat;
  }
  .topbar { height: 5.3rem; }
  .header-logo { width: 9.75rem; }
  .brand-copy small { display: none; }
  .top-contact span { display: none; }
  .hero { min-width: 0; gap: 2rem; padding: 3rem 0 2.5rem; }
  .hero-copy { min-width: 0; }
  h1 { font-size: clamp(3.15rem, 15vw, 4.35rem); }
  .intro { line-height: 1.62; }
  .email-card { width: 100%; }
  .hero-visual { width: min(100%, 30rem); transform: none; }
  footer { justify-content: center; }
  footer > :not(:first-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
