@font-face {
  font-family: "Canela Text Trial";
  src:
    local("Canela Text Trial Light Italic"),
    local("CanelaTextTrial-LightItalic"),
    url("fonts/CanelaTextTrial-LightItalic.woff2") format("woff2"),
    url("fonts/CanelaTextTrial-LightItalic.woff") format("woff"),
    url("fonts/CanelaTextTrial-LightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Tokens from Figma (splash desktop) */
:root {
  --bg-page: #eeeeee;
  --green-visual-bg: #173630;
  --green-text: rgba(70, 108, 111, 1);
  --green-accent: #46ac4c;
  --green-footer: #265048;
  --contact-label: rgba(41, 70, 71, 0.5);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-accent: "Canela Text Trial", "Times New Roman", serif;
  --radius-visual: 30px;
  --radius-card: 11px;
  --enter-duration: 0.85s;
  --enter-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes enter-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--green-text);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.splash {
  min-height: 100vh;
  padding: clamp(24px, 4vw, 48px) clamp(20px, 5vw, 72px);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.splash__inner {
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 694px);
  grid-template-rows: auto auto;
  column-gap: clamp(32px, 5vw, 64px);
  row-gap: clamp(16px, 2vh, 24px);
  align-items: start;
}

.splash__inner > * {
  animation: enter-fade var(--enter-duration) var(--enter-ease) both;
}

.splash__inner > *:nth-child(1) {
  animation-delay: 0.06s;
}

.splash__inner > *:nth-child(2) {
  animation-delay: 0.14s;
}

.splash__inner > *:nth-child(3) {
  animation-delay: 0.22s;
}

.splash__copy {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vh, 48px);
  padding-top: clamp(8px, 2vh, 42px);
  min-height: min(860px, calc(100vh - 96px));
  max-width: 595px;
}

.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}

.brand__mark {
  width: 104px;
  height: auto;
  flex-shrink: 0;
}

.brand__wordmark {
  width: min(239px, 42vw);
  height: auto;
}

.headline {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--green-text);
}

.headline__accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 300;
  color: var(--green-accent);
}

.subhead {
  margin: 1.5rem 0 0;
  max-width: 595px;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--green-text);
  font-weight: 400;
}

.contact__label {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--contact-label);
}

.contact__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px 22px;
  min-height: 90px;
  flex: 1 1 200px;
  max-width: 100%;
}

.card--wide {
  flex: 1 1 280px;
}

.card__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.card__body {
  min-width: 0;
}

.card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--green-text);
}

.card__phone {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1.2;
  color: var(--green-text);
}

.card__phone a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer--copy {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  padding-top: 0;
}

.footer--copy p {
  margin: 0;
  font-size: 14px;
  color: var(--green-footer);
  opacity: 0.4;
}

.splash__visual {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  position: sticky;
  top: 34px;
  align-self: start;
}

.visual-frame {
  position: relative;
  border-radius: var(--radius-visual);
  overflow: hidden;
  background: var(--green-visual-bg);
  aspect-ratio: 694 / 798;
  max-height: min(798px, calc(100vh - 120px));
}

.visual-frame__media {
  position: absolute;
  inset: 0;
}

.visual-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-frame__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.credit {
  margin: 0;
  font-size: 14px;
  text-align: right;
  color: var(--green-footer);
  opacity: 0.75;
}

.credit__link {
  color: inherit;
  text-decoration: none;
}

.credit__link:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .splash__inner {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: clamp(24px, 4vh, 40px);
  }

  .splash__copy {
    grid-column: 1;
    grid-row: auto;
    min-height: unset;
    max-width: none;
  }

  .splash__visual {
    grid-column: 1;
    grid-row: auto;
    position: static;
    margin-top: 0;
  }

  .footer--copy {
    grid-column: 1;
    grid-row: auto;
    align-self: stretch;
    padding-top: clamp(8px, 2vh, 16px);
  }

  .visual-frame {
    max-height: 420px;
    aspect-ratio: 16 / 10;
  }

  .credit {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .splash {
    padding: 20px 16px;
  }

  .card {
    flex: 1 1 100%;
  }

  .card__phone {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash__inner > * {
    animation: none;
  }
}
