:root {
  color-scheme: light;
  --bg: #dceef4;
  --bg-soft: #f5fbfd;
  --text: #10222c;
  --muted: #4d6672;
  --line: rgba(16, 34, 44, 0.12);
  --accent: #2e7688;
  --accent-strong: #0f3846;
  --shadow: 0 24px 80px rgba(15, 56, 70, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.9), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(129, 200, 221, 0.34), transparent 24%),
    linear-gradient(180deg, #f4fbfe 0%, #dceef4 58%, #c9e0ea 100%);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
}

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

.shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 36px;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 34, 44, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 34, 44, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 82%);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  animation: float 18s ease-in-out infinite;
}

.orb-one {
  width: 360px;
  height: 360px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(147, 220, 232, 0.42), rgba(147, 220, 232, 0));
}

.orb-two {
  width: 420px;
  height: 420px;
  right: -180px;
  top: 220px;
  background: radial-gradient(circle, rgba(37, 105, 126, 0.18), rgba(37, 105, 126, 0));
  animation-delay: -8s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 16px, 0) scale(1.03);
  }
}

.topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 0 32px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

/* brand-name removed: logo-only header */

.brand-name {
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  align-items: center;
  justify-content: center;
}

.nav a {
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  display: grid;
  gap: 22px;
}

.hero,
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 251, 253, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

/* Lower section alignment: center most card content by default */
.card {
  text-align: center;
}

.hero::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 40%);
  pointer-events: none;
}

.hero {
  position: relative;
  padding: clamp(34px, 5vw, 72px);
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 36ch;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
}

.lede,
.split p,
.values p,
.contact p,
.footer p {
  color: var(--muted);
  font-size: 1.02rem;
}

.lede {
  max-width: 58ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: #f8f4ee;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(15, 56, 70, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.56);
  color: var(--accent-strong);
  border: 1px solid rgba(15, 56, 70, 0.06);
}

.button-primary:hover {
  transform: translateY(-3px);
}

.button-secondary:hover {
  transform: translateY(-2px);
}

.split,
.contact {
  padding: clamp(24px, 3.5vw, 40px);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
}

/* split defaults inherit centered card alignment; specific sections can override */

/* About section removed; no specific About styles needed */

.split p {
  margin: 0;
  max-width: 56ch;
}

.values {
  padding: clamp(24px, 3.5vw, 40px);
}

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

.value-grid article {
  padding: 22px;
  border: 1px solid rgba(16, 34, 44, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
}

/* ensure value items are left-aligned inside the centered card */
.value-grid article {
  text-align: left;
}

.value-grid div {
  font-size: 1.04rem;
}

/* subtle decorative wave in hero */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 220px;
  height: 80px;
  background-image: radial-gradient(circle at 40% 40%, rgba(47,126,148,0.06), transparent 30%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 60"><path fill="%230f3846" fill-opacity="0.06" d="M0 30 C40 10 60 50 100 30 C140 10 160 50 200 30 L200 60 L0 60 Z"/></svg>');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 8px;
  pointer-events: none;
}

.value-grid h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.contact {
  display: grid;
  gap: 14px;
  align-items: start;
}

/* center contact action and text */
.contact {
  justify-items: center;
}

.contact p {
  max-width: 56ch;
}

.contact .button {
  margin-top: 6px;
}

.contact h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  max-width: 12ch;
}

.contact p:last-of-type {
  max-width: 55ch;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 4px 0;
}

.footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .topbar,
  .split,
  .value-grid,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: center;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 40ch;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1120px);
    padding-top: 18px;
  }

  .nav {
    gap: 14px;
    font-size: 0.92rem;
  }

  .hero,
  .split,
  .values,
  .contact {
    border-radius: 22px;
  }

  .value-grid {
    gap: 12px;
  }

  .value-grid article {
    padding: 18px;
  }

  .brand-mark {
    width: 96px;
    height: 96px;
    border-radius: 12px;
  }

  .brand-mark img {
    border-radius: 10px;
  }
}