:root {
  --navy: #0b1f3a;
  --navy-deep: #081527;
  --white: #ffffff;
  --blue: #2e6fb7;
  --blue-soft: #e8f0fa;
  --text: #16233a;
  --focus: #f5a623;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 4rem);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  flex-wrap: wrap;
}

.hero-text {
  max-width: 32rem;
  flex: 1 1 20rem;
  color: var(--white);
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.intro {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: #c9d6e8;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.cta {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  min-height: 48px;
  transition: background-color 0.2s ease;
}

.cta:hover { background: #3d80cc; }

.url-hint {
  display: inline-block;
  margin-top: 1rem;
  color: #9db8d9;
  font-size: 1rem;
  padding: 0.25rem 0;
}

.url-hint:hover { color: var(--white); }

.hero-portrait {
  flex: 0 1 22rem;
  max-width: 22rem;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 1456;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: block;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.cta:focus-visible { border-radius: 999px; }

@media (max-width: 48rem) {
  .hero {
    flex-direction: column;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .hero-text {
    text-align: center;
    order: 1;
  }
  .hero-portrait { order: 2; flex-basis: auto; max-width: 16rem; }
  .cta { display: block; max-width: 22rem; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
