:root {
  --red: #ef1c2b;
  --red-dark: #b80e19;
  --ink: #07090c;
  --panel: #10141a;
  --white: #f6f7f9;
  --muted: #a8b0ba;
  --line: rgba(255, 255, 255, 0.13);
}

* { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; }
body {
  margin: 0;
  background: #05070a;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }

.site-frame {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  background:
    radial-gradient(circle at 33% 48%, rgba(239, 28, 43, 0.09), transparent 30%),
    linear-gradient(135deg, #080b0f, #05070a 60%, #10151b);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(160, 175, 190, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 175, 190, 0.15) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0 65%, transparent 88%);
}

.red-orbit {
  position: absolute;
  z-index: -1;
  top: 33%;
  left: 34%;
  width: min(38vw, 590px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.26;
  background: repeating-radial-gradient(circle, transparent 0 30px, rgba(239, 28, 43, 0.68) 31px 32px);
  mask-image: linear-gradient(90deg, transparent, #000 48%);
  animation: orbit 18s linear infinite;
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 100px;
  padding: 18px clamp(22px, 4vw, 66px);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 11, 0.68);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand-logo {
  display: grid;
  width: 66px;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 15px;
  background: white;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.34);
}
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 6px; }
.brand-copy strong { font-size: clamp(15px, 1.4vw, 21px); letter-spacing: 0.1em; line-height: 1; text-transform: uppercase; }
.brand-copy small { color: #8d98a3; font: 10px/1.2 "Courier New", monospace; letter-spacing: 0.12em; text-transform: uppercase; }

.topbar-status { display: flex; align-items: center; gap: 10px; }
.status-pill, .clock-pill {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 21, 27, 0.8);
  color: #c9d0d7;
  font: 10px/1 "Courier New", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(239, 28, 43, 0.12), 0 0 14px var(--red); animation: pulse 1.8s infinite; }

.hero {
  position: relative;
  display: grid;
  min-height: 0;
  padding: clamp(22px, 3vw, 44px) clamp(22px, 4vw, 66px);
  grid-template-columns: minmax(0, 0.93fr) minmax(430px, 0.78fr);
  gap: clamp(28px, 4vw, 66px);
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; max-width: 780px; padding: clamp(16px, 2vw, 28px) 0; animation: reveal 0.7s ease both; }
.section-tag { display: flex; margin-bottom: 24px; align-items: center; gap: 12px; color: #ff4653; font-size: 11px; font-weight: 760; letter-spacing: 0.18em; text-transform: uppercase; }
.section-tag span { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(239, 28, 43, 0.62); border-radius: 50%; font: 10px "Courier New", monospace; }
.ghost-mark { position: absolute; z-index: -1; top: -50px; left: -12px; margin: 0; color: rgba(255, 255, 255, 0.018); font-size: clamp(180px, 23vw, 350px); font-weight: 950; letter-spacing: -0.1em; line-height: 1; user-select: none; }
.hero h1 { margin: 0; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(54px, 6.3vw, 104px); font-weight: 900; letter-spacing: -0.065em; line-height: 0.86; text-transform: uppercase; text-wrap: balance; }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px #ff3e4c; text-shadow: 0 0 34px rgba(239, 28, 43, 0.23); }
.lead { max-width: 650px; margin: 28px 0 0; color: #b9c1c9; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; }

.service-list { display: flex; margin-top: 26px; gap: 9px; flex-wrap: wrap; }
.service-list span { padding: 9px 12px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 7px; background: rgba(18, 23, 29, 0.72); color: #dfe4e9; font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.service-list span::before { content: "+"; margin-right: 7px; color: var(--red); }

.cta-row { display: flex; margin-top: 30px; align-items: center; gap: 24px; flex-wrap: wrap; }
.primary-cta { position: relative; display: flex; min-width: 260px; min-height: 62px; padding: 0 18px 0 23px; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; background: linear-gradient(120deg, #f42232, #bd0d19); box-shadow: 0 18px 50px rgba(197, 12, 25, 0.28); color: white; font-size: 16px; font-weight: 760; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.primary-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 0 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%); transform: translateX(-120%); transition: transform 0.6s ease; }
.primary-cta b { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 7px; background: rgba(0, 0, 0, 0.18); font-size: 18px; }
.primary-cta:hover, .primary-cta:focus-visible { outline: none; transform: translateY(-3px); box-shadow: 0 23px 62px rgba(216, 17, 31, 0.4); }
.primary-cta:hover::after, .primary-cta:focus-visible::after { transform: translateX(120%); }
.email-link { display: flex; align-items: center; gap: 10px; color: #c7ced5; font-size: 14px; font-weight: 620; text-decoration: none; text-underline-offset: 5px; }
.email-link svg { width: 24px; fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.email-link:hover, .email-link:focus-visible { color: white; outline: none; text-decoration: underline; }

.trust-row { display: flex; margin-top: 36px; align-items: center; gap: 14px; color: #717c87; font: 9px/1 "Courier New", monospace; letter-spacing: 0.1em; }
.trust-row b { color: #aeb7bf; }
.trust-row i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

.visual-panel { position: relative; height: min(70vh, 760px); min-height: 520px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 28px 8px 28px 8px; background: #19212a; box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45); animation: reveal 0.8s 0.12s ease both; }
.staff-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% 43%; filter: saturate(0.85) contrast(1.06) brightness(0.91); transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.visual-panel:hover .staff-photo { transform: scale(1.025); }
.photo-treatment { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 11, 0.05), transparent 45%, rgba(4, 7, 10, 0.8)), linear-gradient(90deg, rgba(239, 28, 43, 0.2), transparent 26%); }
.signal-sweep { position: absolute; top: -25%; left: -25%; width: 170%; height: 38%; background: linear-gradient(180deg, transparent, rgba(239, 28, 43, 0.2), transparent); transform: rotate(-18deg); animation: sweep 7s ease-in-out infinite; }
.visual-label { position: absolute; top: 24px; left: 24px; display: flex; padding: 12px 15px; flex-direction: column; gap: 4px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 9px; background: rgba(6, 9, 12, 0.72); backdrop-filter: blur(12px); text-transform: uppercase; }
.visual-label span { color: #ff4552; font: 9px "Courier New", monospace; letter-spacing: 0.14em; }
.visual-label b { font-size: 11px; letter-spacing: 0.05em; }
.photo-index { position: absolute; right: 22px; bottom: 18px; color: rgba(255, 255, 255, 0.55); font: 9px "Courier New", monospace; letter-spacing: 0.09em; }

.conditions-card { position: absolute; right: 22px; bottom: 52px; width: min(330px, calc(100% - 44px)); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 14px; background: rgba(5, 9, 13, 0.82); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38); backdrop-filter: blur(16px); }
.conditions-head { display: flex; padding: 16px 18px 12px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.conditions-head span { display: flex; align-items: center; gap: 8px; color: #ff4451; font: 9px "Courier New", monospace; letter-spacing: 0.1em; }
.conditions-head span i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 1.8s infinite; }
.conditions-head b { font-size: 10px; letter-spacing: 0.08em; }
.condition-main { display: flex; padding: 14px 18px 8px; align-items: baseline; gap: 13px; }
.condition-main strong { font-size: 42px; letter-spacing: -0.06em; }
.condition-main span { color: #bac3cb; font: 10px/1.4 "Courier New", monospace; letter-spacing: 0.06em; }
.condition-time { padding: 4px 18px 14px; color: #7f8b96; font: 9px "Courier New", monospace; letter-spacing: 0.05em; }
.weather-details { display: grid; padding: 11px 18px; grid-template-columns: repeat(3, 1fr); gap: 7px; border-top: 1px solid var(--line); color: #a3adb6; font: 7px "Courier New", monospace; letter-spacing: 0.04em; }
.weather-details[hidden] { display: none; }

.ticker { position: relative; z-index: 5; display: grid; min-height: 52px; grid-template-columns: auto 1fr; overflow: hidden; border-top: 1px solid var(--line); background: #090c10; }
.ticker-label { display: flex; padding: 0 26px; align-items: center; background: var(--red); color: white; font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; transform: skewX(-12deg); transform-origin: bottom left; }
.ticker-label::first-line { transform: skewX(12deg); }
.ticker-track { display: flex; overflow: hidden; align-items: center; }
.ticker-track div { display: flex; width: max-content; align-items: center; gap: 18px; padding-left: 24px; animation: marquee 28s linear infinite; }
.ticker-track span { color: #aab3bc; font: 9px "Courier New", monospace; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }

@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: 0.45; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes sweep { 0%, 30% { transform: translateY(-140%) rotate(-18deg); } 65%, 100% { transform: translateY(450%) rotate(-18deg); } }
@keyframes marquee { to { transform: translateX(-38%); } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(370px, 0.75fr); gap: 32px; }
  .hero h1 { font-size: clamp(54px, 7.2vw, 82px); }
  .topbar-status .status-pill { display: none; }
  .trust-row { flex-wrap: wrap; }
}

@media (max-width: 820px) {
  .site-frame { overflow: visible; }
  .topbar { min-height: 86px; padding: 14px 18px; }
  .brand-logo { width: 56px; }
  .brand-copy strong { max-width: 240px; font-size: 14px; line-height: 1.2; }
  .brand-copy small, .clock-pill { display: none; }
  .hero { padding: 34px 18px; grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .visual-panel { order: 2; height: 660px; min-height: 0; }
  .hero h1 { font-size: clamp(52px, 14vw, 84px); }
  .red-orbit { top: 15%; left: 36%; width: 70vw; }
  .ticker { position: sticky; bottom: 0; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(47px, 15vw, 68px); line-height: 0.9; }
  .section-tag { font-size: 9px; letter-spacing: 0.13em; }
  .lead { font-size: 16px; }
  .cta-row { align-items: stretch; flex-direction: column; }
  .primary-cta { width: 100%; }
  .email-link { padding-left: 4px; }
  .trust-row { gap: 9px; font-size: 7px; }
  .visual-panel { height: 560px; border-radius: 20px 6px 20px 6px; }
  .visual-label { top: 14px; left: 14px; }
  .conditions-card { right: 12px; bottom: 42px; width: calc(100% - 24px); }
  .ticker-label { padding: 0 15px; font-size: 8px; }
}

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