:root {
  --ink: #18304a;
  --muted: #6f7f91;
  --ocean: #1f97bd;
  --ocean-dark: #0e5b79;
  --aqua: #6ee7df;
  --sun: #f8c66f;
  --coral: #ff8a68;
  --sand: #f6e4c7;
  --cream: #fff8eb;
  --white: #ffffff;
  --rack: #f5f7fb;
  --shadow: 0 24px 80px rgba(24, 48, 74, 0.2);
  --radius-lg: 34px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 212, 134, 0.58), transparent 26rem),
    radial-gradient(circle at 82% 16%, rgba(110, 231, 223, 0.5), transparent 25rem),
    linear-gradient(180deg, #9fdcee 0%, #fdf0d2 42%, #fff8eb 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 72%);
}

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

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.75);
  box-shadow: 0 16px 48px rgba(14, 91, 121, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean) 52%, var(--coral));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #33516a;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  outline: none;
}

.language-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 20%, rgba(248, 198, 111, 0.34), transparent 46%),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(14, 91, 121, 0.1);
}

.language-select::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(40, 69, 95, 0.72);
  border-bottom: 2px solid rgba(40, 69, 95, 0.72);
  pointer-events: none;
  transform: translateY(-2px) rotate(45deg);
}

.language-select select {
  min-height: 40px;
  padding: 0 32px 0 13px;
  border: 0;
  border-radius: 999px;
  color: #28455f;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.language-select select:focus-visible {
  outline: 2px solid rgba(31, 151, 189, 0.36);
  outline-offset: 2px;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  color: var(--white);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.26),
    0 10px 24px rgba(14, 91, 121, 0.16);
  cursor: pointer;
}

.auth-button.is-authenticated {
  color: #28455f;
  background:
    radial-gradient(circle at 18% 20%, rgba(248, 198, 111, 0.3), transparent 44%),
    rgba(255, 255, 255, 0.58);
}

.auth-button:focus-visible {
  outline: 2px solid rgba(31, 151, 189, 0.36);
  outline-offset: 2px;
}

.mail-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  color: #28455f;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.74),
    0 10px 24px rgba(14, 91, 121, 0.1);
}

.mail-pill strong,
.mail-pill small {
  display: block;
}

.mail-pill small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.mail-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean));
}

.mail-pill:focus-visible {
  outline: 2px solid rgba(31, 151, 189, 0.36);
  outline-offset: 2px;
}

.weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 158px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  color: #28455f;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.74);
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  color: #28455f;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.74);
}

.radio-pill audio {
  display: none;
}

.radio-action {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.radio-action {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean));
  box-shadow: 0 10px 22px rgba(14, 91, 121, 0.22);
}

.radio-copy strong,
.radio-copy small {
  display: block;
  line-height: 1.05;
}

.radio-copy strong {
  font-size: 0.82rem;
  letter-spacing: -0.03em;
}

.radio-copy small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.radio-waves {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}

.radio-waves i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--aqua), var(--ocean));
  opacity: 0.48;
}

.radio-pill.is-playing .radio-waves i {
  animation: wave 0.9s ease-in-out infinite;
  opacity: 1;
}

.radio-pill.is-playing .radio-waves i:nth-child(2) {
  animation-delay: 0.12s;
}

.radio-pill.is-playing .radio-waves i:nth-child(3) {
  animation-delay: 0.24s;
}

.weather-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), var(--coral));
  box-shadow: 0 0 14px rgba(248, 198, 111, 0.9);
}

.weather-pill strong,
.weather-pill small {
  display: block;
  line-height: 1.05;
}

.weather-pill strong {
  font-size: 0.92rem;
  letter-spacing: -0.04em;
}

.weather-pill small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 72px 0 80px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ocean-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.84;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.beach-house-card p,
.cta p {
  color: #425c73;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(24, 48, 74, 0.15);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean));
}

.button-secondary {
  color: var(--ocean-dark);
  background: rgba(255, 255, 255, 0.72);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-stats dt {
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 248, 235, 0.72)),
    radial-gradient(circle at 50% 78%, rgba(246, 228, 199, 0.92), transparent 18rem);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-visual::before {
  top: 54%;
  height: 90px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 255, 255, 0.42) 30px 34px);
  opacity: 0.55;
}

.hero-visual::after {
  bottom: 0;
  height: 120px;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(255, 138, 104, 0.24), transparent 38%),
    linear-gradient(180deg, transparent, rgba(246, 228, 199, 0.92));
}

.sun {
  position: absolute;
  top: 72px;
  right: 76px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe6a7, var(--sun) 54%, var(--coral));
  box-shadow: 0 0 90px rgba(248, 198, 111, 0.86);
}

.palm {
  position: absolute;
  bottom: 40px;
  width: 140px;
  height: 300px;
  opacity: 0.7;
  transform-origin: bottom center;
}

.palm::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 68px;
  width: 14px;
  height: 220px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b5a35, #b97c46);
  transform: rotate(8deg);
}

.palm span {
  position: absolute;
  top: 38px;
  left: 62px;
  width: 116px;
  height: 28px;
  border-radius: 100% 0;
  background: linear-gradient(90deg, #236d5a, #54b487);
  transform-origin: left center;
}

.palm span:nth-child(1) {
  transform: rotate(-58deg);
}

.palm span:nth-child(2) {
  transform: rotate(-26deg);
}

.palm span:nth-child(3) {
  transform: rotate(6deg);
}

.palm span:nth-child(4) {
  transform: rotate(38deg);
}

.palm span:nth-child(5) {
  transform: rotate(72deg);
}

.palm-left {
  left: -18px;
  transform: rotate(-8deg);
}

.palm-right {
  right: -30px;
  transform: rotate(10deg) scaleX(-1);
}

.server-cabinet {
  position: relative;
  z-index: 2;
  width: min(370px, 86%);
  padding: 18px 18px 22px;
  border-radius: 8px 8px 22px 22px;
  background: linear-gradient(90deg, #eef2f7, #ffffff 16%, #eef3f8 84%, #dce4ed);
  box-shadow: var(--shadow);
}

.server-cabinet::before,
.server-cabinet::after {
  content: "";
  position: absolute;
  top: 64px;
  bottom: 48px;
  width: 42px;
  border-radius: 4px;
  background:
    radial-gradient(circle, rgba(24, 48, 74, 0.24) 1px, transparent 2px) 0 0 / 8px 8px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(180, 195, 211, 0.18));
}

.server-cabinet::before {
  left: 14px;
}

.server-cabinet::after {
  right: 14px;
}

.cabinet-top,
.cabinet-base {
  position: relative;
  z-index: 2;
  height: 28px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, rgba(24, 48, 74, 0.24) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #ffffff, #e6edf5);
}

.cabinet-base {
  height: 34px;
  margin-top: 12px;
}

.rack-frame,
.cabinet-frame {
  position: relative;
  z-index: 3;
}

.cabinet-frame {
  min-height: 520px;
  margin: 14px 48px 0;
  padding: 14px 12px;
  border: 1px solid rgba(101, 123, 145, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(23, 34, 51, 0.06), transparent 16%, transparent 84%, rgba(23, 34, 51, 0.06)),
    linear-gradient(180deg, #f9fbfd, #dbe4ee);
}

.rack-rail {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 8px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(180deg, #526273 0 4px, transparent 4px 12px),
    #d9e1ea;
}

.rack-rail-left {
  left: -12px;
}

.rack-rail-right {
  right: -12px;
}

.rack-unit,
.patch-panel,
.server-blade,
.rack-gap {
  position: relative;
  margin-bottom: 9px;
  border: 1px solid #b9c6d3;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff, #dfe7ef);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.92);
}

.rack-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 7px;
}

.unit-label {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 18px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: #34475c;
}

.port-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  flex: 1;
}

.port-row i,
.patch-panel span {
  display: block;
  height: 8px;
  border-radius: 1px;
  background: #162131;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.status-cluster {
  display: flex;
  gap: 3px;
}

.status-cluster b,
.power-led {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62f285;
  box-shadow: 0 0 10px #62f285;
}

.status-cluster b:nth-child(2) {
  animation: blink 1.8s ease-in-out infinite;
}

.status-cluster.blue b {
  background: #5fc4ff;
  box-shadow: 0 0 10px #5fc4ff;
}

.patch-panel {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  padding: 8px;
}

.cable-bay {
  position: relative;
  height: 66px;
  margin-bottom: 9px;
  border-radius: 5px;
  background:
    repeating-linear-gradient(180deg, rgba(24, 48, 74, 0.2) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(216, 226, 237, 0.92));
}

.cable {
  position: absolute;
  top: 6px;
  width: 44px;
  height: 52px;
  border: 5px solid #c7ccd2;
  border-top: none;
  border-radius: 0 0 24px 24px;
}

.cable:nth-child(odd) {
  border-color: #f5f7fb;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.cable:nth-child(3n) {
  border-color: #79d8ff;
  box-shadow: 0 0 12px rgba(95, 196, 255, 0.58);
}

.cable:nth-child(4n) {
  border-color: #6ef09b;
  box-shadow: 0 0 12px rgba(98, 242, 133, 0.58);
}

.cable-1 {
  left: 8px;
}

.cable-2 {
  left: 38px;
}

.cable-3 {
  left: 68px;
}

.cable-4 {
  right: 68px;
}

.cable-5 {
  right: 38px;
}

.cable-6 {
  right: 8px;
}

.server-stack {
  margin-bottom: 9px;
}

.server-blade {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  min-height: 42px;
  padding: 8px;
}

.server-blade.wide {
  grid-template-columns: 1fr 1fr;
}

.server-blade span,
.drive {
  border: 1px solid #afbdc9;
  border-radius: 3px;
  background: linear-gradient(180deg, #f9fbfd, #ccd7e2);
}

.rack-gap {
  min-height: 48px;
  background:
    radial-gradient(circle, rgba(24, 48, 74, 0.22) 1px, transparent 2px) 0 0 / 9px 9px,
    linear-gradient(180deg, #e3ebf3, #cbd6e1);
}

.storage-unit {
  display: grid;
  grid-template-columns: 36px repeat(4, 1fr) 10px;
}

.drive {
  height: 24px;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.28;
  }
}

@keyframes wave {
  0%,
  100% {
    height: 7px;
  }

  50% {
    height: 20px;
  }
}

.malibu-news,
.services,
.homelab,
.signal,
.cta {
  padding: 82px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.malibu-news {
  padding-top: 18px;
}

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

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-md);
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(248, 198, 111, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(255, 248, 235, 0.82), rgba(222, 245, 249, 0.72));
  box-shadow: 0 22px 58px rgba(24, 48, 74, 0.12);
  backdrop-filter: blur(16px);
}

.news-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 104, 0.22), transparent 66%);
  pointer-events: none;
}

.news-image {
  display: block;
  width: calc(100% + 48px);
  aspect-ratio: 16 / 10;
  height: auto;
  margin: -24px -24px 18px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 24px 24px;
  background: linear-gradient(135deg, rgba(159, 220, 238, 0.52), rgba(248, 198, 111, 0.42));
}

.news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.news-card time {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.news-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.02;
}

.news-card p {
  margin: 0 0 22px;
  color: #425c73;
  line-height: 1.62;
}

.news-card a {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.news-link {
  margin-top: auto;
  color: var(--ocean-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card-placeholder {
  min-height: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 48px rgba(24, 48, 74, 0.1);
  backdrop-filter: blur(16px);
}

.service-card p,
.feature-list span {
  color: #536a80;
  line-height: 1.65;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border-radius: 14px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--coral), var(--sun));
}

.homelab {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 20px;
  align-items: stretch;
}

.beach-house-card,
.feature-list,
.cta {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  background: rgba(255, 248, 235, 0.68);
  box-shadow: 0 24px 70px rgba(24, 48, 74, 0.13);
  backdrop-filter: blur(18px);
}

.beach-house-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.beach-house-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 104, 0.32), transparent 68%);
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.feature-list div {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
}

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

.feature-list strong {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.signal {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.signal-copy,
.signal-card {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 70px rgba(24, 48, 74, 0.1);
  backdrop-filter: blur(18px);
}

.signal-copy {
  padding: 34px;
}

.signal-copy p {
  color: #425c73;
  font-size: 1.03rem;
  line-height: 1.7;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
}

.signal-label {
  color: var(--ocean-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visit-card strong {
  display: block;
  margin: 24px 0 10px;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.signal-card p {
  margin: 0;
  color: #536a80;
  line-height: 1.58;
}

.ip-design-card {
  display: grid;
  gap: 9px;
  width: min(100%, 240px);
  margin: 18px auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 15%, rgba(248, 198, 111, 0.28), transparent 45%),
    linear-gradient(135deg, rgba(255, 248, 235, 0.9), rgba(159, 220, 238, 0.42));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 16px 34px rgba(14, 91, 121, 0.12);
}

.ip-design-card div {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
}

.ip-design-card span,
.ip-design-card strong {
  display: block;
}

.ip-design-card span {
  color: var(--ocean-dark);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ip-design-card strong {
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: 1rem;
  letter-spacing: -0.035em;
}

.ip-card a {
  color: var(--ocean-dark);
  font-weight: 800;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(248, 198, 111, 0.28), transparent 36%),
    rgba(25, 54, 73, 0.42);
  backdrop-filter: blur(14px);
}

.auth-panel {
  position: relative;
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 10%, rgba(248, 198, 111, 0.34), transparent 42%),
    linear-gradient(145deg, rgba(255, 248, 235, 0.96), rgba(222, 245, 249, 0.9));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 28px 80px rgba(18, 47, 68, 0.28);
}

.auth-panel h2 {
  margin-bottom: 12px;
}

.auth-panel p {
  color: #425c73;
  line-height: 1.62;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #28455f;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.auth-form label,
.auth-form span {
  display: block;
}

.auth-form span {
  margin-bottom: 7px;
  color: var(--ocean-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.82);
}

.auth-form input:focus-visible,
.auth-close:focus-visible {
  outline: 2px solid rgba(31, 151, 189, 0.36);
  outline-offset: 2px;
}

.auth-logout {
  margin-top: 18px;
}

.auth-message {
  min-height: 1.4em;
  margin: 16px 0 0;
  color: #425c73;
  font-weight: 800;
}

.auth-message.is-error {
  color: #9f3f35;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
  padding: 36px;
}

.cta div {
  max-width: 680px;
}

.cta h2 {
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 0;
}

.legal-note {
  padding: 0 0 34px;
}

.legal-note p {
  max-width: 760px;
  margin: 0;
  color: rgba(66, 92, 115, 0.86);
  font-size: 0.92rem;
  line-height: 1.65;
}

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

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .site-header {
    gap: 14px;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: min(100% - 28px, 520px);
    margin-top: 14px;
    padding: 14px;
    border-radius: 28px;
  }

  .brand {
    align-items: center;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .weather-pill {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }

  .header-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    justify-content: stretch;
  }

  .language-select {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    max-width: 100%;
  }

  .weather-pill {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .auth-button {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .radio-pill {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    max-width: 100%;
  }

  .radio-copy,
  .radio-waves {
    display: none;
  }

  .hero {
    padding: 36px 0 52px;
  }

  h1 {
    font-size: clamp(2.75rem, 14.4vw, 4.15rem);
    line-height: 0.9;
    letter-spacing: -0.068em;
  }

  .eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.68;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-actions .button {
    flex: 1 1 calc(50% - 5px);
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .hero-stats,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .server-cabinet {
    width: min(320px, 94%);
    padding: 14px 14px 18px;
  }

  .cabinet-frame {
    margin-inline: 38px;
    min-height: 486px;
  }

  .palm {
    opacity: 0.42;
  }

  .services,
  .malibu-news,
  .homelab,
  .signal,
  .cta {
    padding: 54px 0;
  }

  .malibu-news {
    padding-top: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: auto;
    padding: 22px;
  }

  .news-image {
    width: calc(100% + 44px);
    aspect-ratio: 16 / 9;
    height: auto;
    margin: -22px -22px 18px;
  }

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

  .service-card {
    min-height: auto;
  }

  .cta {
    display: block;
    padding: 28px;
  }

  .cta .button {
    width: 100%;
    margin-top: 24px;
  }
}

@media (max-width: 390px) {
  .hero-actions .button {
    flex-basis: 100%;
    width: 100%;
  }

  h1 {
    font-size: clamp(2.55rem, 13.7vw, 3.6rem);
  }
}
