:root {
  --bg: #f6fbff;
  --ink: #16283b;
  --muted: #60738a;
  --blue: #d8efff;
  --blue-2: #b9ddff;
  --cyan: #bff5f0;
  --indigo: #8ba7ff;
  --navy: #1b3658;
  --white: rgba(255, 255, 255, 0.78);
  --line: rgba(40, 86, 132, 0.16);
  --shadow: 0 24px 68px rgba(44, 90, 142, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(216, 239, 255, 0.9), rgba(246, 251, 255, 0.96) 38%, rgba(191, 245, 240, 0.68)),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(27, 54, 88, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(27, 54, 88, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px 7vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(246, 251, 255, 0.76);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: linear-gradient(135deg, #effaff, var(--blue-2), var(--indigo));
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(88, 138, 205, 0.22);
}

.site-header nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--navy);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: 34px;
  align-items: stretch;
  min-height: calc(100vh - 74px);
  padding: 54px 7vw 42px;
}

.hero-copy,
.photo-panel,
.info-grid article,
.vision-card,
.stack-list div,
.contact-section {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 46px;
}

.hero-copy::after {
  position: absolute;
  right: -70px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(139, 167, 255, 0.32);
  border-radius: 44px;
  content: "";
  background: linear-gradient(135deg, rgba(185, 221, 255, 0.7), rgba(191, 245, 240, 0.62));
  transform: rotate(12deg);
}

.eyebrow {
  margin: 0 0 12px;
  color: #4778d6;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 70px;
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-lead,
.section-heading p,
.info-grid p,
.vision-card p,
.stack-list span,
.contact-section p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lead {
  max-width: 670px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #4d91ff, #7fdad1);
  color: #fff;
  box-shadow: 0 16px 34px rgba(77, 145, 255, 0.24);
}

.secondary-button {
  border: 1px solid rgba(71, 120, 214, 0.24);
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
}

.primary-button:hover,
.secondary-button:hover,
.primary-button:focus-visible,
.secondary-button:focus-visible {
  transform: translateY(-2px);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.signal-row div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
}

.signal-row strong,
.signal-row span {
  display: block;
}

.signal-row strong {
  margin-bottom: 6px;
  color: var(--navy);
}

.signal-row span {
  color: var(--muted);
  font-size: 13px;
}

.photo-panel {
  min-width: 0;
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(216, 239, 255, 0.82), rgba(255, 255, 255, 0.68) 44%, rgba(191, 245, 240, 0.66)),
    rgba(255, 255, 255, 0.68);
}

.photo-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 610px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: #eaf6ff;
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
}

.photo-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(8, 33, 64, 0.18));
  pointer-events: none;
}

.status-pill,
.code-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(40, 86, 132, 0.16);
  backdrop-filter: blur(12px);
}

.status-pill {
  right: 22px;
  bottom: 22px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.code-chip {
  top: 22px;
  left: 22px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #4778d6;
  font-size: 18px;
  font-weight: 950;
}

.profile-section,
.vision-section {
  padding: 68px 7vw;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-grid article {
  min-width: 0;
  padding: 22px;
}

.info-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-2), var(--cyan));
  color: var(--navy);
  font-weight: 950;
}

.info-grid p {
  margin-bottom: 0;
}

.vision-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 22px;
  align-items: stretch;
}

.vision-card {
  min-width: 0;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(216, 239, 255, 0.88), rgba(255, 255, 255, 0.7), rgba(191, 245, 240, 0.72));
}

.stack-list {
  display: grid;
  gap: 14px;
}

.stack-list div {
  min-width: 0;
  padding: 20px;
}

.stack-list strong,
.stack-list span {
  display: block;
}

.stack-list strong {
  margin-bottom: 8px;
  color: var(--navy);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 36px 7vw 72px;
  padding: 34px;
}

.contact-section p {
  max-width: 660px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 7vw;
  border-top: 1px solid rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 850;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: #4778d6;
}

@media (max-width: 980px) {
  .hero-section,
  .vision-section,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .photo-wrap {
    height: 720px;
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .site-header nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
    font-size: 13px;
  }

  .site-header nav a {
    text-align: center;
  }

  .hero-section,
  .profile-section,
  .vision-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-section {
    gap: 18px;
    padding-top: 28px;
  }

  .hero-copy {
    padding: 26px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .photo-panel {
    padding: 16px;
  }

  .photo-wrap {
    height: 440px;
  }

  .photo-wrap img {
    object-position: 58% 35%;
  }

  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-section {
    margin: 18px 18px 48px;
    padding: 24px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 20px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .photo-wrap {
    height: 410px;
  }
}
