@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@300;400;500;600;700&family=Newsreader:opsz,wght@6..72,300;6..72,400&display=swap");

:root {
  --ink: #f2f4ed;
  --muted: rgba(242, 244, 237, 0.66);
  --deep: #04131f;
  --navy: #071f30;
  --blue: #0c3850;
  --water: #0a526d;
  --coral: #ff7455;
  --line: rgba(224, 238, 239, 0.22);
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--deep);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  padding: 34px clamp(24px, 5vw, 80px) 30px;
  background:
    radial-gradient(circle at var(--pointer-x, 76%) var(--pointer-y, 24%), rgba(37, 108, 132, 0.3), transparent 27%),
    linear-gradient(152deg, #04121d 4%, #08283b 58%, #0a4058 100%);
}

.site-shell::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(255,255,255,0.045) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 22vh;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.grain {
  position: absolute;
  z-index: 8;
  inset: -50%;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  transform: rotate(8deg);
}

.site-header,
.site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 50%;
}

.brand-mark span {
  position: absolute;
  width: 25px;
  height: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.brand-mark span:nth-child(1) { top: 9px; }
.brand-mark span:nth-child(2) { top: 14px; }
.brand-mark span:nth-child(3) { top: 19px; }

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-name span {
  color: var(--coral);
}

.header-meta {
  display: flex;
  gap: clamp(20px, 4vw, 64px);
  color: var(--muted);
  font: 400 0.65rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
}

.status i {
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,116,85,0.12);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(175px, 0.28fr);
  gap: clamp(24px, 7vw, 100px);
  align-items: center;
  min-height: calc(100svh - 190px);
  padding: clamp(54px, 8vh, 92px) 0 clamp(170px, 23vh, 230px);
}

.hero-copy {
  max-width: 890px;
}

.eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 28px;
  color: var(--muted);
  font: 400 clamp(0.64rem, 1vw, 0.74rem)/1.3 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: grid;
  width: 26px;
  height: 26px;
  color: var(--coral);
  place-items: center;
  border: 1px solid rgba(255,116,85,0.45);
  border-radius: 50%;
  font-size: 0.55rem;
}

h1 {
  max-width: 820px;
  margin: 0;
  font: 300 clamp(5.3rem, 10.8vw, 10.2rem)/0.75 var(--serif);
  letter-spacing: -0.07em;
  text-wrap: balance;
}

h1::after {
  display: inline-block;
  width: 0.12em;
  height: 0.12em;
  margin-left: 0.05em;
  content: "";
  background: var(--coral);
  border-radius: 50%;
  transform: translateY(-0.03em);
}

.intro {
  max-width: 570px;
  margin: 38px 0 0 2px;
  color: rgba(242,244,237,0.76);
  font-size: clamp(0.9rem, 1.3vw, 1.08rem);
  font-weight: 300;
  line-height: 1.7;
}

.hero-side {
  align-self: end;
  margin-bottom: 70px;
  padding-left: clamp(18px, 3vw, 42px);
  border-left: 1px solid var(--line);
}

.hero-side p {
  margin: 0 0 18px;
  color: var(--muted);
  font: 300 0.62rem/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-side ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-side li {
  display: flex;
  gap: 15px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.hero-side li span {
  color: var(--coral);
  font: 300 0.5rem/1 var(--mono);
}

.sun-wrap {
  position: absolute;
  z-index: -2;
  right: clamp(13%, 22vw, 32%);
  bottom: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sun {
  width: clamp(160px, 24vw, 340px);
  aspect-ratio: 1;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(255,116,85,0.12);
}

.sun-label {
  position: absolute;
  top: 47%;
  color: rgba(4,19,31,0.62);
  font: 500 0.55rem/1 var(--mono);
  letter-spacing: 0.18em;
}

.ocean {
  position: absolute;
  z-index: 2;
  right: -3%;
  bottom: 0;
  left: -3%;
  height: clamp(190px, 29vh, 300px);
  pointer-events: none;
}

.wave {
  position: absolute;
  bottom: -1px;
  width: 106%;
  height: 100%;
  overflow: visible;
}

.wave-back {
  left: -2%;
  fill: #0c4a63;
  opacity: 0.82;
  animation: drift 11s ease-in-out infinite alternate;
}

.wave-mid {
  left: -4%;
  fill: #075c78;
  opacity: 0.9;
  animation: drift 8s ease-in-out -3s infinite alternate-reverse;
}

.wave-front {
  left: -1%;
  fill: #04728b;
  animation: drift 6.5s ease-in-out -1s infinite alternate;
}

.water-lines {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 56%;
  opacity: 0.13;
  background: repeating-linear-gradient(
    178deg,
    transparent 0,
    transparent 15px,
    rgba(255,255,255,0.9) 16px,
    transparent 17px
  );
  mask-image: linear-gradient(to bottom, transparent, #000);
}

.site-footer {
  position: absolute;
  z-index: 6;
  right: clamp(24px, 5vw, 80px);
  bottom: 27px;
  left: clamp(24px, 5vw, 80px);
  color: rgba(255,255,255,0.76);
  font: 400 0.61rem/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-underline-offset: 5px;
  text-decoration-color: rgba(255,255,255,0.35);
}

@keyframes drift {
  from { transform: translate3d(-1.2%, 0, 0) scaleX(1.02); }
  to { transform: translate3d(1.2%, 7px, 0) scaleX(0.99); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.78); }
}

@media (max-width: 820px) {
  .site-shell {
    min-height: 100svh;
    padding-top: 22px;
  }

  .header-meta > span:first-child {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: clamp(55px, 9vh, 88px);
    padding-bottom: 235px;
  }

  .hero-side {
    display: none;
  }

  h1 {
    font-size: clamp(4.6rem, 20vw, 7.2rem);
    line-height: 0.78;
  }

  .intro {
    max-width: 500px;
    margin-top: 30px;
  }

  .sun-wrap {
    right: 9vw;
    bottom: 105px;
  }

  .sun {
    width: clamp(145px, 42vw, 230px);
  }

  .ocean {
    height: 225px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header {
    padding-bottom: 18px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .status {
    font-size: 0.54rem;
  }

  .hero {
    padding-top: 49px;
    padding-bottom: 225px;
  }

  .eyebrow {
    margin-bottom: 23px;
  }

  h1 {
    font-size: clamp(4.15rem, 21.5vw, 6rem);
  }

  .intro {
    margin-top: 27px;
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .sun-wrap {
    bottom: 87px;
  }

  .ocean {
    right: -20%;
    left: -20%;
    height: 205px;
  }

  .site-footer {
    right: 20px;
    bottom: 20px;
    left: 20px;
    font-size: 0.51rem;
  }
}

@media (max-height: 760px) and (min-width: 821px) {
  .hero {
    padding-top: 38px;
    padding-bottom: 150px;
  }

  h1 {
    font-size: clamp(5rem, 9.5vw, 8.3rem);
  }

  .intro {
    margin-top: 27px;
  }

  .ocean {
    height: 205px;
  }

  .sun-wrap {
    bottom: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
