:root {
  --font-gill: "Gill Sans", "Gill Sans MT", "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  --bg: #0a0f14;
  --bg-alt: #0f1720;
  --text: #eff5ff;
  --muted: #b9c5d8;
  --line: #2a3747;
  --accent: #00d4ff;
  --accent-soft: #6ee7ff;
  --card: rgba(15, 23, 32, 0.72);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-gill);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 212, 255, 0.12), transparent 40%),
    radial-gradient(circle at 88% 72%, rgba(110, 231, 255, 0.16), transparent 30%),
    linear-gradient(160deg, #06090d 0%, #0a1016 45%, #0d151f 100%);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-gill);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.2rem;
  font-weight: 600;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 0;
  align-items: stretch;
  margin-top: 2.1rem;
  margin-bottom: 1.8rem;
  border: 1px solid #1f2d3b;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(11, 18, 25, 0.84), rgba(8, 14, 20, 0.75));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  padding: clamp(1.3rem, 3vw, 2.7rem);
}

.kicker {
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
}

h1 {
  margin: 0.6rem 0 1.2rem;
  font-family: var(--font-gill);
  font-weight: 300;
  line-height: 1.07;
  font-size: clamp(2rem, 5.8vw, 4.35rem);
  max-width: 14ch;
}

h1 span {
  color: var(--accent-soft);
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.72rem 1.2rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent-soft);
}

.btn-primary {
  background: linear-gradient(130deg, rgba(0, 212, 255, 0.2), rgba(110, 231, 255, 0.2));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
}

.hero-photo {
  position: relative;
  background:
    radial-gradient(circle at 70% 20%, rgba(110, 231, 255, 0.14), transparent 45%),
    rgba(11, 19, 27, 0.64);
}

.photo-stage {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  padding: clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid #223243;
}

.photo-wrap {
  width: min(370px, 76vw);
  border: 1px solid #243040;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}

.photo-note {
  margin: 0;
  color: #95a9c0;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.footer {
  display: flex;
  justify-content: center;
  color: #9fb0c7;
  border-top: 1px solid #1d2836;
  padding: 1.1rem 0 2rem;
  font-size: 0.9rem;
  text-align: center;
}

.contact-layout {
  display: grid;
  gap: 1.7rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 3rem 0 3rem;
}

.contact-card {
  background: var(--card);
  border: 1px solid #263344;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
  backdrop-filter: blur(8px);
}

form {
  display: grid;
  gap: 0.8rem;
}

label {
  font-weight: 600;
  color: #d7e1ee;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #334359;
  background: #0d141e;
  color: var(--text);
  border-radius: 10px;
  padding: 0.78rem;
  font-family: inherit;
  font-size: 0.98rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 2px rgba(110, 231, 255, 0.15);
}

textarea {
  resize: vertical;
}

#form-status {
  min-height: 1.3rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.reply-time {
  margin: 0.15rem 0 0;
  color: var(--accent-soft);
  font-size: 0.92rem;
  animation: pulseGlow 2.1s ease-in-out infinite;
}

.hp-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.2s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    opacity: 0.62;
    text-shadow: 0 0 0 rgba(110, 231, 255, 0.1);
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 14px rgba(110, 231, 255, 0.35);
  }

  100% {
    opacity: 0.62;
    text-shadow: 0 0 0 rgba(110, 231, 255, 0.1);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    margin-top: 1.3rem;
  }

  .hero-copy {
    padding: 1.25rem;
  }

  .photo-stage {
    border-left: none;
    border-top: 1px solid #223243;
  }

  .footer {
    flex-direction: column;
    gap: 0.35rem;
  }
}
