:root {
  --ink: #0c1f2e;
  --ink-soft: #1a3347;
  --foam: #f3f7f9;
  --mist: #d7e6ec;
  --lagoon: #1a7a8c;
  --lagoon-deep: #0f5a68;
  --sun: #e8b84a;
  --text: #14232f;
  --muted: #5a6f7c;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, #cfe8ef 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e8f2f5 0%, transparent 50%),
    linear-gradient(180deg, #eef5f7 0%, var(--foam) 40%, #fff 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end start;
  padding: clamp(5rem, 14vh, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(12, 31, 46, 0.72) 0%, rgba(15, 90, 104, 0.35) 45%, rgba(12, 31, 46, 0.55) 100%),
    url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 31, 46, 0.25) 0%, rgba(12, 31, 46, 0.55) 100%);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, 1%, 0); }
}

.hero-copy {
  max-width: 34rem;
  animation: riseIn 1s ease both;
}

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

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 28rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sun);
  color: var(--ink);
}

.btn-primary:hover {
  background: #f0c45d;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section > p.lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

.panel {
  padding: 1.5rem 0;
  border-top: 1px solid var(--mist);
}

.panel h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink-soft);
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.sites-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 700px) {
  .sites-links {
    grid-template-columns: 1fr;
  }
}

.site-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.4rem;
  text-decoration: none;
  color: #fff;
  border-radius: 1rem;
  background: linear-gradient(155deg, var(--lagoon-deep), var(--ink));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 32px rgba(12, 31, 46, 0.12);
}

.site-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(12, 31, 46, 0.18);
}

.site-link-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun);
}

.site-link strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 650;
}

.site-link span:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.45rem;
}

.footer-links a {
  color: var(--lagoon-deep);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.promo {
  margin: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 18px 50px rgba(12, 31, 46, 0.18);
  animation: riseIn 0.9s ease both;
  animation-delay: 0.15s;
}

.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(15, 90, 104, 0.92) 0%, rgba(12, 31, 46, 0.55) 55%, rgba(12, 31, 46, 0.25) 100%),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
}

.promo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 31, 46, 0.55), transparent 60%);
}

.promo-inner {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 34rem;
}

.promo-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun);
}

.promo h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #fff;
}

.promo p {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--mist);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--font-display);
}
