:root {
  --ink: #0f1a24;
  --ink-soft: #3d4f5f;
  --paper: #f7f9fb;
  --accent: #0d7a6f;
  --accent-deep: #095e56;
  --line: rgba(15, 26, 36, 0.1);
  --glow-teal: rgba(13, 122, 111, 0.18);
  --glow-slate: rgba(55, 90, 120, 0.12);
  --pad: clamp(1rem, 4vw, 2.5rem);
  --stage-max: 34rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  min-height: 100%;
  min-height: 100dvh;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  position: relative;
  padding:
    max(var(--pad), env(safe-area-inset-top))
    max(var(--pad), env(safe-area-inset-right))
    max(4.5rem, calc(var(--pad) + env(safe-area-inset-bottom) + 1.5rem))
    max(var(--pad), env(safe-area-inset-left));
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, #eef5f4 0%, #f7f9fb 42%, #e8eef4 100%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(40px, 8vw, 64px) clamp(40px, 8vw, 64px);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 75%);
  opacity: 0.7;
}

.bg-wash {
  display: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.bg-orb--one {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  top: -8%;
  right: -6%;
  background: var(--glow-teal);
  animation: drift 14s ease-in-out infinite alternate;
}

.bg-orb--two {
  width: min(44vw, 400px);
  height: min(44vw, 400px);
  bottom: -10%;
  left: -8%;
  background: var(--glow-slate);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--stage-max);
  text-align: center;
  margin: auto 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero {
  width: 100%;
}

.brand {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.4rem, 9vw, 4.25rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: clamp(0.85rem, 2.5vw, 1.25rem);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.headline {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  letter-spacing: 0.01em;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.support {
  font-weight: 300;
  font-size: clamp(0.92rem, 2.6vw, 1.05rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 28rem;
  margin: 0 auto 1.25rem;
  padding: 0 0.25rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.schedule {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.schedule-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}

.schedule-times {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem;
}

.schedule-block {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.schedule-when {
  font-size: clamp(0.75rem, 2.2vw, 0.82rem);
  font-weight: 400;
  color: var(--ink-soft);
}

.schedule-clock {
  font-size: clamp(1.05rem, 3.2vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.schedule-arrow {
  align-self: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: min(100%, 12.5rem);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  transition: background 0.25s ease, transform 0.25s ease;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
  -webkit-tap-highlight-color: transparent;
}

.cta:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.cta:active {
  transform: translateY(0);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.contact {
  margin-top: clamp(1.75rem, 5vw, 2.35rem);
  padding-top: clamp(1.35rem, 4vw, 1.75rem);
  border-top: 1px solid var(--line);
  font-style: normal;
  text-align: center;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.65rem;
}

.contact-company {
  font-weight: 600;
  font-size: clamp(0.95rem, 2.8vw, 1.02rem);
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.contact-lines {
  font-weight: 300;
  font-size: clamp(0.86rem, 2.5vw, 0.92rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 auto 1rem;
  max-width: 24rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}

.contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  font-size: clamp(0.88rem, 2.5vw, 0.92rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.contact-key {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
  padding: 0.15rem 0;
}

.contact a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.foot {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  font-size: clamp(0.72rem, 2vw, 0.8rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: fade 1.2s ease 0.5s both;
  pointer-events: none;
}

.pulse {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

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

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-24px, 18px); }
}

/* —— Mobile —— */
@media (max-width: 480px) {
  .schedule-times {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .schedule-arrow {
    transform: rotate(90deg);
    font-size: 0.95rem;
  }

  .schedule-block {
    padding: 0.8rem 1rem;
  }

  .contact-values {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .contact-row {
    flex-direction: row;
    justify-content: center;
    gap: 0.65rem;
  }

  .contact-key {
    min-width: 4.25rem;
    text-align: right;
  }

  .contact-values {
    justify-content: flex-start;
  }
}

/* —— Desktop: full attractive split layout —— */
@media (min-width: 900px) {
  :root {
    --stage-max: 1120px;
  }

  body {
    padding:
      max(2.5rem, env(safe-area-inset-top))
      max(3rem, env(safe-area-inset-right))
      max(4rem, env(safe-area-inset-bottom))
      max(3rem, env(safe-area-inset-left));
  }

  .bg {
    background:
      linear-gradient(160deg, #eef5f4 0%, #f7f9fb 42%, #e8eef4 100%);
  }

  .bg-grid {
    mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 20%, transparent 78%);
    opacity: 0.7;
  }

  .bg-wash {
    display: none;
  }

  .bg-orb--one {
    width: min(38vw, 560px);
    height: min(38vw, 560px);
    top: 8%;
    right: 4%;
  }

  .bg-orb--two {
    width: min(30vw, 420px);
    height: min(30vw, 420px);
    bottom: 6%;
    left: 2%;
  }

  .stage {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    text-align: left;
    min-height: min(72vh, 640px);
  }

  .hero {
    padding-right: clamp(1rem, 2vw, 2rem);
  }

  .brand {
    font-size: clamp(4rem, 5.5vw, 5.5rem);
    margin-bottom: 1.35rem;
  }

  .headline {
    font-size: 1.55rem;
    margin-bottom: 1rem;
  }

  .support {
    font-size: 1.1rem;
    max-width: 30rem;
    margin: 0 0 1.75rem;
    padding: 0;
  }

  .schedule {
    margin: 0 0 1.85rem;
    max-width: 26rem;
  }

  .schedule-label {
    text-align: left;
    margin-bottom: 0.85rem;
  }

  .schedule-times {
    justify-content: flex-start;
    gap: 0.85rem;
  }

  .schedule-block {
    flex: 0 1 11rem;
    padding: 1.1rem 1.15rem;
    background: rgba(255, 255, 255, 0.72);
  }

  .schedule-when {
    font-size: 0.82rem;
  }

  .schedule-clock {
    font-size: 1.35rem;
  }

  .schedule-arrow {
    font-size: 1.25rem;
  }

  .cta {
    min-width: 11.5rem;
    font-size: 1rem;
    padding: 0.95rem 1.85rem;
  }

  .contact {
    margin-top: 0;
    padding: 2.5rem 2.35rem;
    border-top: none;
    border-left: 3px solid var(--accent);
    text-align: left;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: none;
  }

  .contact-label {
    margin-bottom: 0.85rem;
  }

  .contact-company {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
  }

  .contact-lines {
    margin: 0 0 1.5rem;
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .contact-details {
    align-items: stretch;
    gap: 1rem;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .contact-values {
    justify-content: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .contact a {
    font-size: 1.02rem;
  }

  .foot {
    left: max(3rem, env(safe-area-inset-left));
    transform: none;
  }
}

@media (min-width: 1200px) {
  :root {
    --stage-max: 1180px;
  }

  .stage {
    gap: 5rem;
  }

  .contact {
    padding: 3rem 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb,
  .pulse,
  .stage,
  .brand,
  .headline,
  .support,
  .schedule,
  .cta,
  .contact,
  .foot {
    animation: none !important;
  }

  .cta:hover {
    transform: none;
  }
}
