:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #fff;
  background: #071a35;
  --muted: #b6c9dc;
  --line: rgba(160, 204, 240, .21);
  --cyan: #73eee9;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }

body {
  background:
    radial-gradient(ellipse at 87% 48%, rgba(16, 59, 112, .78), transparent 57%),
    linear-gradient(145deg, #071a35, #061428 77%);
}

.shell {
  width: min(100% - clamp(40px, 10vw, 152px), 1320px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  padding-block: 29px 25px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: reveal .55s ease-out both;
}

.brand-mark { flex: none; }
.brand-name { font-size: 20px; font-weight: 750; letter-spacing: .085em; }
.brand-name span { color: #dce7f1; font-weight: 560; }
.brand-sector {
  margin-top: 5px;
  color: var(--muted);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 82px);
  padding-block: clamp(32px, 5vh, 64px);
}

.hero-copy { animation: reveal .65s .09s ease-out both; }

.hero-copy::before {
  content: "";
  display: block;
  width: 66px;
  height: 2px;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #00d4d8, #008cff 75%, transparent);
  box-shadow: 0 0 14px rgba(0, 212, 216, .45);
}

h1 {
  font-size: clamp(2.6rem, 5.55vw, 5.1rem);
  font-weight: 720;
  line-height: 1.045;
  letter-spacing: -.062em;
}

h1 span { display: block; color: var(--cyan); }

@supports (background-clip: text) or (-webkit-background-clip: text) {
  h1 span {
    background: linear-gradient(105deg, #a4fbf5 4%, #54deeb 62%, #75bbff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.intro {
  max-width: 46ch;
  margin-top: 23px;
  color: #dce7f1;
  font-size: clamp(1rem, 1.32vw, 1.125rem);
  line-height: 1.7;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 20px;
  max-width: 550px;
  margin-top: clamp(25px, 4vh, 39px);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(220, 231, 241, .09), rgba(16, 59, 112, .22));
}

.contact-details { min-width: 0; }
.contact h2 { font-size: .875rem; font-weight: 700; }
.email-address {
  display: inline-block;
  margin-top: 4px;
  padding-block: 2px;
  color: var(--muted);
  font-size: .875rem;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.email-address:hover { color: #fff; }
.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid #8cf4f3;
  border-radius: 8px;
  color: #071a35;
  background: linear-gradient(110deg, #8df5eb, #6cd9fc);
  font-size: .875rem;
  font-weight: 750;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}

.email-button svg { width: 19px; height: 19px; flex: none; }
.email-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 22px rgba(0, 212, 216, .28);
}
a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(390px, 68vh, 640px);
  border: 1px solid #467da3;
  border-radius: 19px;
  background: #103b70;
  box-shadow: 0 24px 75px rgba(1, 9, 24, .4);
  animation: reveal .7s .15s ease-out both;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(4, 16, 32, .89), transparent 34%);
  pointer-events: none;
}

.technical-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.technical-lines circle { animation: pulse 5s ease-in-out 2 alternate; }

figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 16px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #e1edf7;
  background: rgba(7, 26, 53, .76);
  font-size: .75rem;
  letter-spacing: .045em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

figcaption span {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px #00d4d8;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 19px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse { from { opacity: .5; } to { opacity: 1; } }

@media (max-width: 900px) {
  .shell { width: min(100% - 48px, 800px); }
  .hero { gap: 26px; }
  h1 { font-size: clamp(2.3rem, 5.6vw, 3.6rem); }
  .hero-visual { height: clamp(390px, 58vh, 540px); }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 40px, 500px); }
  .site-header { padding-block: 19px; }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .brand-sector { font-size: .5625rem; letter-spacing: .085em; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 30px; }
  .hero-copy::before { margin-bottom: 19px; }
  h1 { font-size: clamp(2.1rem, 8.4vw, 3.5rem); }
  .intro { margin-top: 16px; }
  .hero-visual { height: clamp(230px, 65vw, 340px); border-radius: 14px; }
}

@media (max-width: 420px) {
  .email-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .brand, .hero-copy, .hero-visual, .technical-lines circle { animation: none; }
  .email-button { transition: none; }
  .email-button:hover { transform: none; }
}
