/* KB Metal Works — responsive under-construction landing page */
:root {
  --navy: #142638;
  --ink: #1c2a39;
  --blue: #1262a2;
  --yellow: #ffb800;
  --white: #fff;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #e9edf1;
}
.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  min-height: 680px;
  display: flex;
  align-items: stretch;
  background: #f5f7f9;
}
.photo {
  position: absolute;
  inset: 0 0 0 35%;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2000&q=85");
  background-size: cover;
  background-position: center;
}
.photo-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(250,252,254,1) 0%, rgba(250,252,254,.98) 34%, rgba(250,252,254,.88) 47%, rgba(250,252,254,.28) 67%, rgba(10,24,38,.06) 100%);
}
.content {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 70px) clamp(24px, 6.3vw, 96px) 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: inherit;
  max-width: 100%;
}
.brand-mark {
  display: flex;
  align-items: center;
  font-size: clamp(56px, 7vw, 98px);
  line-height: .9;
  font-weight: 950;
  letter-spacing: -10px;
  padding-right: 16px;
  border-right: 2px solid var(--navy);
}
.brand-mark span:first-child { color: #424b53; }
.brand-mark span:last-child { color: var(--blue); padding-right: 8px; }
.brand-copy { display: flex; flex-direction: column; gap: 9px; }
.brand-copy strong {
  font-size: clamp(23px, 3.4vw, 45px);
  letter-spacing: .015em;
  line-height: 1.05;
  font-weight: 850;
  white-space: nowrap;
}
.brand-copy small {
  font-size: clamp(10px, 1.25vw, 15px);
  letter-spacing: .24em;
  white-space: nowrap;
}
.brand-copy i { color: var(--yellow); font-style: normal; margin: 0 .45em; }
.message { margin-top: clamp(58px, 7.4vw, 95px); max-width: 760px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: clamp(14px, 1.7vw, 22px);
  letter-spacing: .23em;
  font-weight: 500;
}
.headline-wrap { display: flex; align-items: center; gap: 22px; }
h1 {
  margin: 0;
  font-size: clamp(43px, 7vw, 88px);
  line-height: .99;
  font-weight: 950;
  letter-spacing: -.035em;
}
h1 span { display: block; color: #f5a900; }
.helmet-icon { width: clamp(58px, 8vw, 94px); flex: 0 0 auto; }
.intro {
  margin: 24px 0 0;
  font-size: clamp(16px, 1.8vw, 23px);
  line-height: 1.55;
  max-width: 650px;
}
.features {
  display: flex;
  align-items: stretch;
  margin-top: 38px;
  max-width: 610px;
}
.feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 17px;
  font-size: clamp(13px, 1.35vw, 17px);
  line-height: 1.35;
}
.feature + .feature { border-left: 1px solid var(--yellow); }
.feature svg { width: 48px; height: 48px; }
.corner {
  position: absolute;
  bottom: 0;
  width: 0; height: 0;
  border-style: solid;
  pointer-events: none;
}
.corner-left {
  left: 0;
  border-width: 0 0 70px 70px;
  border-color: transparent transparent var(--yellow) transparent;
  filter: drop-shadow(0 -8px 0 var(--navy));
}
.corner-right {
  right: 0;
  border-width: 0 0 70px 70px;
  border-color: transparent transparent var(--yellow) transparent;
  transform: scaleX(-1);
  filter: drop-shadow(0 -8px 0 var(--navy));
}
.footer {
  min-height: 142px;
  background: var(--navy);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 28px 24px;
  position: relative;
}
.script {
  position: relative;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(27px, 3vw, 40px);
  font-style: italic;
  margin: 0;
  white-space: nowrap;
  transform: rotate(-5deg);
}
.script span {
  position: absolute;
  height: 4px;
  width: 78%;
  right: 0;
  bottom: -7px;
  background: var(--yellow);
  border-radius: 100%;
  transform: rotate(-5deg);
}
.footer-divider { height: 52px; width: 1px; background: rgba(255,255,255,.75); }
.social-caption { font-size: 15px; margin: 0; }
.socials { display: flex; gap: 14px; align-items: center; }
.social {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: white;
  transition: transform .2s ease, box-shadow .2s ease;
}
.social:hover { transform: translateY(-4px); box-shadow: 0 7px 18px #0004; }
.social svg { width: 32px; height: 32px; }
.facebook { background: #1877f2; color: white; }
.google { background: white; }
.youtube { background: #f12b25; color: white; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (min-width: 1500px) {
  .hero { min-height: 760px; }
  .content { padding-top: 72px; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .photo { inset: 44% 0 0 0; background-position: center; }
  .photo-overlay {
    background: linear-gradient(180deg, #f8fafc 0%, #f8fafc 44%, rgba(248,250,252,.84) 62%, rgba(248,250,252,.08) 100%);
  }
  .content { padding: 28px 22px 85px; }
  .brand { gap: 13px; }
  .brand-mark { font-size: 55px; letter-spacing: -7px; padding-right: 11px; }
  .brand-copy { gap: 6px; }
  .brand-copy strong { font-size: clamp(17px, 4vw, 27px); white-space: normal; }
  .brand-copy small { font-size: 9px; letter-spacing: .12em; }
  .message { margin-top: 55px; }
  .headline-wrap { gap: 10px; }
  h1 { font-size: clamp(39px, 10vw, 70px); }
  .helmet-icon { width: clamp(45px, 12vw, 70px); }
  .intro { font-size: 16px; max-width: 520px; }
  .desktop-break { display: none; }
  .features { margin-top: 28px; max-width: 100%; }
  .feature { padding: 0 10px; font-size: 13px; }
  .feature svg { width: 39px; height: 39px; }
  .footer { flex-wrap: wrap; gap: 18px 22px; min-height: 0; padding: 28px 18px; }
  .script { font-size: 30px; }
  .footer-divider { height: 35px; }
  .social-caption { flex-basis: 100%; text-align: center; order: 3; }
  .socials { order: 4; }
}
@media (max-width: 420px) {
  .brand-mark { font-size: 45px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { letter-spacing: .08em; font-size: 8px; }
  .eyebrow { letter-spacing: .15em; font-size: 12px; }
  h1 { font-size: 36px; }
  .helmet-icon { width: 40px; }
  .features { margin-left: -8px; margin-right: -8px; }
  .feature { padding: 0 6px; font-size: 12px; }
  .feature svg { width: 34px; height: 34px; }
  .social { width: 43px; height: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
