/* GSA 2.0.2: a self-contained homepage hero, clear of legacy .hero rules. */
.home-hero {
  --hero-ink: #f7fafb;
  --hero-muted: #c1d0dc;
  --hero-accent: #bce3e7;
  width: min(1536px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 22px 22px 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #ffffff26;
  border-radius: 32px;
  background: radial-gradient(ellipse at 0 0, #35516a 0, transparent 65%), #142b43;
  color: var(--hero-ink);
  box-shadow: 0 22px 60px #132d4614;
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
}
.home-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(25px, 3vw, 46px) 0 clamp(25px, 3vw, 46px) clamp(10px, 1.8vw, 28px);
}
.home-hero .home-hero-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  color: #dbe8ee;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase;
}
.home-hero-mark {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--hero-accent);
  box-shadow: 5px -5px 0 #bce3e733;
  flex: 0 0 auto;
  margin-right: 4px;
}
.home-hero h1 {
  max-width: 100%;
  margin: 0 0 26px;
  font-size: clamp(38px, 3.8vw, 62px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.052em;
  text-wrap: balance;
  overflow-wrap: normal;
}
.home-hero-title-line { display: block; }
.home-hero-accent { color: var(--hero-accent); }
.home-hero .home-hero-intro {
  max-width: 540px;
  margin: 0;
  color: var(--hero-muted);
  font-size: 14px;
  line-height: 1.85;
  text-wrap: pretty;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin-top: 30px;
}
.home-hero .home-hero-actions .button {
  justify-content: space-between;
  gap: 22px;
  min-height: 56px;
  max-width: 100%;
  padding: 16px 20px;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: none;
}
.home-hero .home-hero-primary {
  background: var(--hero-accent);
  border-color: var(--hero-accent);
  color: #142b43 !important;
}
.home-hero .home-hero-primary:hover { background: #d3eef0; border-color: #d3eef0; }
.home-hero .home-hero-secondary {
  border: 1px solid #bfd4e254;
  background: #ffffff05;
  color: var(--hero-ink) !important;
}
.home-hero .home-hero-secondary:hover { background: #ffffff12; border-color: #bfd4e2a3; }
.home-hero .home-hero-note {
  display: flex;
  gap: 7px;
  align-items: baseline;
  margin: 13px 0 0;
  color: #b6c9d7;
  font-size: 11px;
  line-height: 1.6;
}
.home-hero-note > span { color: var(--hero-accent); }
.home-hero .home-hero-visual {
  min-width: 0;
  min-height: 560px;
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #ffffff4a;
  border-radius: 23px;
  background: #81919a;
}
.home-hero .home-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 53%;
  border-radius: 0;
}
.home-hero-visual::after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(transparent, #10293d66);
}
.home-hero-photo-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid #ffffff59;
  border-radius: 8px;
  background: #142b43d9;
  color: #f6fafc;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-hero .home-hero-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 20px 22px;
  border: 1px solid #ffffffcf;
  border-radius: 17px;
  background: #f8fbfcf5;
  color: #182f44;
  box-shadow: 0 12px 35px #0e233f21;
}
.home-hero .home-hero-project-name {
  margin: 0 0 7px;
  color: #526c7e;
  font-size: 12px;
  line-height: 1.5;
}
.home-hero-area { display: block; font-size: 36px; line-height: 1.12; font-weight: 500; letter-spacing: -.04em; }
.home-hero .home-hero-project-scope { margin: 8px 0 0; color: #526c7e; font-size: 11px; line-height: 1.6; }
.home-hero .home-hero-case {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #bfd0da;
  border-radius: 50%;
  color: #1b3a50;
  font-size: 24px;
  line-height: 1;
  transition: background .2s, color .2s;
}
.home-hero-case:hover { background: #dcebef; }
.home-hero-directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 23px 0 0;
  border-top: 1px solid #a9c6d62b;
}
.home-hero .home-hero-direction {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 24px 28px;
  transition: background .2s;
}
.home-hero-direction + .home-hero-direction { border-left: 1px solid #a9c6d62b; }
.home-hero-direction:hover { background: #ffffff07; }
.home-hero-direction-number { color: #9db8ca; font-size: 11px; letter-spacing: .04em; }
.home-hero-direction strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.home-hero-direction small { display: block; margin-top: 5px; color: #b6c9d7; font-size: 11px; line-height: 1.5; }
.home-hero-direction-arrow { color: var(--hero-accent); font-size: 20px; }
.home-hero a:focus-visible { outline: 3px solid #bce3e7; outline-offset: 4px; }
.home-hero .home-hero-case:focus-visible { outline-color: #2387bf; }
.home-hero .home-hero-direction:focus-visible { outline-offset: -5px; }

@media (max-width: 1200px) {
  .home-hero { padding: 18px 18px 0; }
  .home-hero-grid { gap: 24px; }
  .home-hero-copy { padding: 28px 0 28px 12px; }
  .home-hero h1 { font-size: clamp(34px, 4.1vw, 48px); }
  .home-hero .home-hero-eyebrow { font-size: 10px; margin-bottom: 23px; }
  .home-hero .home-hero-intro { font-size: 13px; }
  .home-hero .home-hero-visual { min-height: 520px; }
  .home-hero .home-hero-actions .button { padding: 14px 16px; font-size: 11px; gap: 15px; }
  .home-hero-actions { gap: 10px; margin-top: 25px; }
  .home-hero .home-hero-direction { padding: 21px 16px; gap: 12px; }
  .home-hero-direction strong { font-size: 15px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .home-hero .home-hero-photo { object-position: 100% 53%; }
}
@media (max-width: 900px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .home-hero-copy { padding: 24px 16px 0; }
  .home-hero h1 { font-size: clamp(38px, 6.8vw, 54px); }
  .home-hero .home-hero-intro { max-width: 650px; font-size: 14px; }
  .home-hero .home-hero-visual { min-height: 0; aspect-ratio: 4 / 3; max-height: 520px; }
  .home-hero .home-hero-photo { object-position: 50% 55%; }
  .home-hero .home-hero-direction { padding: 20px 12px; gap: 10px; }
  .home-hero-direction-number { display: none; }
  .home-hero .home-hero-direction { grid-template-columns: minmax(0, 1fr) auto; }
  .home-hero-direction small { font-size: 10px; }
}
@media (max-width: 600px) {
  .home-hero { width: calc(100% - 20px); margin-top: 12px; padding: 10px 10px 0; border-radius: 25px; }
  .home-hero-grid { gap: 24px; }
  .home-hero-copy { padding: 23px 10px 0; }
  .home-hero .home-hero-eyebrow { gap: 8px; margin-bottom: 22px; font-size: 9px; letter-spacing: .08em; }
  .home-hero h1 { margin-bottom: 20px; font-size: clamp(29px, 8vw, 42px); line-height: 1.1; }
  .home-hero .home-hero-intro { font-size: 12px; line-height: 1.8; }
  .home-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 23px; }
  .home-hero .home-hero-actions .button { width: 100%; font-size: 12px; min-height: 52px; padding: 14px 17px; }
  .home-hero .home-hero-note { margin-top: 12px; font-size: 10px; }
  .home-hero .home-hero-visual { aspect-ratio: 1 / 1.05; max-height: none; border-radius: 18px; }
  .home-hero .home-hero-photo { object-position: 50% 50%; }
  .home-hero-photo-tag { top: 12px; left: 12px; font-size: 9px; padding: 7px 10px; }
  .home-hero .home-hero-caption { bottom: 11px; left: 11px; right: 11px; padding: 15px; gap: 10px; border-radius: 13px; }
  .home-hero .home-hero-project-name { font-size: 11px; margin-bottom: 5px; }
  .home-hero-area { font-size: 29px; }
  .home-hero .home-hero-project-scope { font-size: 9px; margin-top: 6px; }
  .home-hero .home-hero-case { width: 44px; height: 44px; font-size: 22px; }
  .home-hero-directions { grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
  .home-hero .home-hero-direction { padding: 18px 11px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 15px; }
  .home-hero-direction + .home-hero-direction { border-left: 0; border-top: 1px solid #a9c6d62b; }
  .home-hero-direction-number { display: block; }
  .home-hero-direction strong { font-size: 15px; }
  .home-hero-direction small { margin-top: 3px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero a { transition: none; }
  .home-hero .button:hover { transform: none; }
}
