:root {
  --bg: #f8efe1;
  --bg-soft: #fff8ef;
  --card: rgba(255, 250, 242, 0.82);
  --card-strong: #fff9f0;
  --ink: #1d3935;
  --muted: #5c716a;
  --accent: #f06d42;
  --accent-soft: #ffbe6c;
  --teal: #2d8f84;
  --logo-blue: #56b6ea;
  --logo-blue-soft: rgba(86, 182, 234, 0.34);
  --logo-blue-haze: rgba(86, 182, 234, 0.24);
  --logo-blue-strong: rgba(86, 182, 234, 0.42);
  --line: rgba(29, 57, 53, 0.1);
  --shadow: 0 24px 60px rgba(72, 59, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 22%, rgba(86, 182, 234, 0.34), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(86, 182, 234, 0.28), transparent 18%),
    radial-gradient(circle at 76% 84%, rgba(86, 182, 234, 0.24), transparent 22%),
    radial-gradient(circle at 28% 86%, rgba(86, 182, 234, 0.16), transparent 18%),
    radial-gradient(circle at top left, rgba(255, 196, 104, 0.48), transparent 28%),
    radial-gradient(circle at bottom right, rgba(45, 143, 132, 0.24), transparent 28%),
    linear-gradient(145deg, #fdf8ef 0%, #f3e4cb 100%);
  overflow-x: hidden;
  overflow-y: auto;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 12% 76%, rgba(86, 182, 234, 0.28), transparent 26%),
    radial-gradient(circle at 68% 34%, rgba(86, 182, 234, 0.22), transparent 22%),
    radial-gradient(circle at 48% 14%, rgba(86, 182, 234, 0.16), transparent 18%);
  filter: blur(18px);
}

body::after {
  inset: 4% 4%;
  border-radius: 999px;
  background:
    linear-gradient(110deg, rgba(86, 182, 234, 0) 12%, rgba(86, 182, 234, 0.13) 40%, rgba(86, 182, 234, 0) 68%),
    linear-gradient(158deg, rgba(86, 182, 234, 0) 26%, rgba(86, 182, 234, 0.09) 52%, rgba(86, 182, 234, 0) 78%);
  transform: rotate(-8deg);
  filter: blur(28px);
}

.page-shell {
  position: relative;
  min-height: auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 28px;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(36px, 8vh, 88px) 0 24px;
  animation: fade-up 900ms ease both;
  align-items: stretch;
  align-self: center;
}

.hero-copy {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: none;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.title-line {
  display: block;
}

.title-line-top {
  display: inline-flex;
  gap: 0.34em;
  white-space: nowrap;
}

.lead {
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  align-items: center;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent) 0%, #ff9850 100%);
  color: #fffaf5;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(240, 109, 66, 0.28);
}

.status-chip::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.status-note {
  color: var(--muted);
  font-weight: 700;
}

.hero-side {
  display: grid;
  align-content: center;
}

.logo-showcase {
  animation: fade-up 900ms ease 120ms both;
}

.logo-stage {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.logo-stage::before,
.logo-stage::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
}

.logo-stage::before {
  width: 340px;
  height: 340px;
  top: -18px;
  right: -8px;
  background: radial-gradient(circle, rgba(86, 182, 234, 0.34) 0%, rgba(86, 182, 234, 0) 72%);
}

.logo-stage::after {
  width: 220px;
  height: 220px;
  bottom: 10px;
  left: 0;
  background: radial-gradient(circle, rgba(240, 109, 66, 0.22) 0%, rgba(240, 109, 66, 0) 72%);
}

.logo-swap {
  position: relative;
  min-height: 300px;
  width: 100%;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.logo-face {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  transform-origin: center;
  backface-visibility: hidden;
}

.logo-face-primary {
  animation: logo-primary 5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.logo-face-secondary {
  animation: logo-secondary 5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.logo-disc {
  width: min(100%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.logo-image {
  display: block;
  width: 112%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(72, 59, 31, 0.16));
}

.logo-image-orange {
  transform: scale(1.035);
}

.logo-image-blue {
  transform: scale(1.04);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.orb-sun {
  top: 42px;
  right: 8%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, #ffe1ad 0%, #ff9f58 72%, rgba(255, 159, 88, 0) 74%);
  animation: float 9s ease-in-out infinite;
}

.orb-sky {
  bottom: 100px;
  left: -10px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(86, 182, 234, 0.34) 0%, rgba(86, 182, 234, 0) 72%);
  animation: float 11s ease-in-out infinite reverse;
}

.orb-leaf {
  top: 16%;
  left: 12%;
  width: 74px;
  height: 74px;
  background: radial-gradient(circle, rgba(255, 190, 108, 0.52) 0%, rgba(255, 190, 108, 0) 72%);
  animation: float 8s ease-in-out infinite;
}

.page-shell::before {
  content: "";
  position: absolute;
  top: 6%;
  right: 14%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--logo-blue-strong) 0%, rgba(86, 182, 234, 0) 72%);
  filter: blur(28px);
  pointer-events: none;
  animation: float 13s ease-in-out infinite;
}

.page-shell::after {
  content: "";
  position: absolute;
  left: 6%;
  bottom: 10%;
  width: 340px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(86, 182, 234, 0), var(--logo-blue-haze), rgba(86, 182, 234, 0));
  filter: blur(24px);
  transform: rotate(-14deg);
  pointer-events: none;
}

.site-meta {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 920px);
  padding: 16px 24px;
  border-radius: 20px;
  background: rgba(255, 249, 240, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 14px 34px rgba(72, 59, 31, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: clamp(72px, 12vh, 140px) auto 0;
  text-align: center;
}

.site-meta-line {
  margin: 0;
  color: rgba(29, 57, 53, 0.8);
  font-size: 0.88rem;
  line-height: 1.55;
}

.site-meta-line + .site-meta-line {
  margin-top: 4px;
}

.site-meta a {
  color: var(--teal);
  text-decoration: none;
}

.site-meta a:hover,
.site-meta a:focus-visible {
  text-decoration: underline;
}

.contact-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
}

.contact-dock > summary {
  list-style: none;
}

.contact-dock > summary::-webkit-details-marker {
  display: none;
}

.contact-toggle {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
}

.contact-toggle-ring {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 161, 95, 0.98), rgba(86, 182, 234, 0.96));
  box-shadow:
    0 18px 40px rgba(72, 59, 31, 0.18),
    0 0 0 8px rgba(255, 249, 240, 0.36);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-toggle:hover .contact-toggle-ring,
.contact-toggle:focus-visible .contact-toggle-ring,
.contact-dock[open] .contact-toggle-ring {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 22px 44px rgba(72, 59, 31, 0.2),
    0 0 0 10px rgba(255, 249, 240, 0.4);
}

.contact-toggle-icon {
  width: 26px;
  height: 26px;
  fill: #fff9f2;
}

.contact-panel {
  position: absolute;
  right: 0;
  bottom: 86px;
  min-width: 320px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 50px rgba(72, 59, 31, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-panel-title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.contact-person {
  margin-bottom: 8px;
}

.contact-name {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-link {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.55;
}

.contact-link + .contact-link {
  margin-top: 6px;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--teal);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes logo-primary {
  0%,
  42% {
    opacity: 1;
    transform: translateY(0) rotateY(0deg) scale(1);
    filter: blur(0);
  }

  50%,
  92% {
    opacity: 0;
    transform: translateY(-14px) rotateY(-24deg) scale(0.9);
    filter: blur(1px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateY(0deg) scale(1);
    filter: blur(0);
  }
}

@keyframes logo-secondary {
  0%,
  42% {
    opacity: 0;
    transform: translateY(14px) rotateY(24deg) scale(0.9);
    filter: blur(1px);
  }

  50%,
  92% {
    opacity: 1;
    transform: translateY(0) rotateY(0deg) scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(14px) rotateY(24deg) scale(0.9);
    filter: blur(1px);
  }
}

@media (max-width: 920px) {
  .page-shell {
    padding: 28px 18px 36px;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .logo-stage {
    min-height: 300px;
  }

  .site-meta {
    width: 100%;
  }

  .contact-panel {
    min-width: 280px;
  }
}

@media (max-width: 540px) {
  .eyebrow {
    letter-spacing: 0.16em;
  }

  h1 {
    max-width: none;
  }

  .title-line-top {
    gap: 0.22em;
  }

  .lead {
    line-height: 1.6;
  }

  .logo-stage {
    min-height: 250px;
  }

  .logo-face {
    inset: 6px;
  }

  .site-meta {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .site-meta-line {
    font-size: 0.82rem;
  }

  .contact-dock {
    right: 16px;
    bottom: 16px;
  }

  .contact-toggle,
  .contact-toggle-ring {
    width: 60px;
    height: 60px;
  }

  .contact-panel {
    right: 0;
    bottom: 76px;
    min-width: min(78vw, 300px);
    padding: 14px;
  }
}

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