:root {
  --black: #030404;
  --white: #ffffff;
  --teal: #0085CA;
  --red: #C8102E;
  --panel: #0b0e0e;
  --panel-soft: #121616;
  --muted: #c9d2d3;
  --line: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Inter", Arial, sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 86px;
  padding: 16px clamp(24px, 4vw, 62px);
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 250px;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.brand strong,
h1,
h2,
h3,
.site-nav,
.button,
.call-button,
.post-card a,
.site-footer h3 {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  font-size: 38px;
  line-height: 0.86;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  gap: clamp(10px, 1.5vw, 22px);
  align-items: center;
  font-size: 15px;
}

.site-nav a,
.call-button,
.button,
.post-card a,
.site-footer a {
  text-decoration: none;
}

.nav-item {
  position: relative;
}

.has-menu > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 210px;
  padding: 12px 0;
  background: rgba(3, 4, 4, 0.96);
  border: 1px solid rgba(53, 184, 196, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu a {
  padding: 10px 16px;
  white-space: nowrap;
}

.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.call-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--red);
  font-size: 20px;
}

.call-button img,
.button img {
  display: none;
}

.blog-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #030404;
}

.blog-hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
}

.blog-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.98) 38%, rgba(0, 0, 0, 0.44) 68%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.34));
}

.blog-hero-copy {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 48px));
  padding: 156px 0 72px;
  margin-left: clamp(24px, 4.8vw, 72px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(72px, 8.4vw, 118px);
  font-weight: 400;
  line-height: 0.9;
}

.hero-brush-line,
.red-rule {
  display: block;
  width: 330px;
  max-width: 70vw;
  height: 20px;
  margin: 18px 0 24px;
  background: url("../instinct-brush-line.png") left center / 100% 100% no-repeat;
}

.blog-hero-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: #f2f5f5;
  font-size: 18px;
  line-height: 1.7;
}

.blog-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(420px, 1.16fr);
  gap: clamp(28px, 5vw, 62px);
  padding: clamp(54px, 6vw, 76px) clamp(24px, 8vw, 112px);
  background:
    radial-gradient(circle at 82% 8%, rgba(53, 184, 196, 0.08), transparent 34%),
    linear-gradient(180deg, #101313 0%, #070909 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(0, 0, 0, 0.72);
}

.blog-intro h2,
.post-section h2,
.blog-cta h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 0.95;
}

.blog-intro p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
}

.post-section {
  padding: clamp(54px, 6vw, 76px) clamp(24px, 8vw, 112px);
  background: #030404;
}

.post-section > p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  max-width: 980px;
  margin-top: 34px;
}

.post-card {
  display: grid;
  align-content: space-between;
  min-height: 280px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--panel-soft);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.post-card span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 18px 0 14px;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 0.95;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.post-card a {
  display: inline-block;
  width: fit-content;
  margin-top: 26px;
  color: var(--red);
  font-size: 20px;
}

.post-card a::after {
  content: " ->";
}

.blog-cta {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(42px, 5vw, 66px) clamp(24px, 8vw, 112px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.97), rgba(0, 0, 0, 0.82)),
    #050606;
  border-top: 1px solid var(--line);
}

.blog-cta p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: 34px;
  padding: 50px clamp(24px, 8vw, 112px);
  color: #e7eded;
  background: #030404;
  border-top: 1px solid var(--line);
}

.footer-brand p,
.site-footer p {
  max-width: 320px;
  color: #c9d2d3;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 24px;
  font-weight: 400;
}

.site-footer a {
  display: block;
  margin: 0 0 9px;
  color: #f4f7f7;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .blog-hero-media {
    width: 100%;
    opacity: 0.46;
  }

  .blog-hero-copy {
    padding-top: 80px;
    margin-left: 24px;
  }

  .blog-intro,
  .post-grid,
  .blog-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .call-button,
  .button {
    width: 100%;
  }
}
