:root {
  color-scheme: light;
  --bone: #f7f4ed;
  --eucalyptus: #6f8678;
  --eucalyptus-deep: #314a46;
  --eucalyptus-dark: #253c38;
  --ink-on-green: #fffdf8;
  --muted-on-green: rgba(255, 253, 248, 0.78);
  --line-on-green: rgba(255, 253, 248, 0.2);
  --focus: #e7c987;
  --font-display: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --font-body: Avenir Next, Avenir, Montserrat, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--eucalyptus-deep);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink-on-green);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

.splash {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: minmax(22rem, 0.82fr) minmax(32rem, 1.18fr);
  background: var(--eucalyptus-deep);
}

.brand {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 15% 12%, rgba(111, 134, 120, 0.11), transparent 32%),
    var(--bone);
}

.brand__logo {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  height: auto;
  animation: logo-arrive 900ms var(--ease-out) both;
}

.intro {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4.5rem) clamp(2rem, 6vw, 6.5rem);
  background: var(--eucalyptus-deep);
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/jasmin-banner.jpg");
  background-position: 64% center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.65) contrast(0.94);
  opacity: 0.3;
  transform: scale(1.01);
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(49, 74, 70, 0.98) 0%, rgba(49, 74, 70, 0.9) 44%, rgba(49, 74, 70, 0.52) 100%),
    linear-gradient(180deg, rgba(49, 74, 70, 0.1) 0%, rgba(49, 74, 70, 0.68) 100%);
}

.intro__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 47rem);
  margin-block: auto;
  padding-block: clamp(2.5rem, 7vh, 6rem);
  animation: content-arrive 800ms 110ms var(--ease-out) both;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
  color: var(--muted-on-green);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--focus);
  box-shadow: 0 0 0 5px rgba(231, 201, 135, 0.12);
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--ink-on-green);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-wrap: balance;
}

.lede {
  max-width: 43rem;
  margin: clamp(1.75rem, 4vw, 2.8rem) 0 0;
  color: var(--muted-on-green);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.details {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  border-block: 1px solid var(--line-on-green);
}

.details div {
  flex: 1 1 15rem;
  padding: 1.2rem 1.5rem 1.2rem 0;
}

.details div + div {
  border-left: 1px solid var(--line-on-green);
  padding-left: 1.5rem;
}

.details dt {
  margin-bottom: 0.24rem;
  color: var(--muted-on-green);
  font-size: 0.78rem;
  font-weight: 600;
}

.details dd {
  margin: 0;
  color: var(--ink-on-green);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.6rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  background: var(--bone);
  color: var(--eucalyptus-dark);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 220ms ease,
    transform 260ms var(--ease-out);
}

.button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.phone {
  min-height: 44px;
  padding-block: 0.7rem;
  color: var(--ink-on-green);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration-color: rgba(255, 253, 248, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28rem;
  transition: text-decoration-color 180ms ease;
}

.phone:hover {
  text-decoration-color: var(--ink-on-green);
}

.note {
  max-width: 37rem;
  margin: 1.6rem 0 0;
  color: var(--muted-on-green);
  font-size: 0.82rem;
  line-height: 1.6;
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-on-green);
  color: var(--muted-on-green);
  font-size: 0.75rem;
  line-height: 1.5;
}

@keyframes logo-arrive {
  from {
    transform: scale(0.96);
  }
}

@keyframes content-arrive {
  from {
    transform: translateY(1.2rem);
  }
}

@media (min-width: 58.01rem) and (max-height: 60rem) {
  .splash,
  .brand,
  .intro {
    min-height: 100svh;
  }

  .brand {
    padding: 2rem;
  }

  .brand__logo {
    width: min(82%, 28rem);
  }

  .intro {
    padding: clamp(1.25rem, 2.8vh, 2rem) clamp(2.5rem, 5vw, 4.5rem);
  }

  .intro__inner {
    padding-block: clamp(0.75rem, 2vh, 1.25rem);
  }

  .status {
    margin-bottom: clamp(0.75rem, 2vh, 1rem);
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(3.4rem, 8vh, 4.35rem);
    line-height: 0.92;
  }

  .lede {
    margin-top: clamp(0.75rem, 2vh, 1rem);
    font-size: clamp(0.96rem, 1.25vw, 1.08rem);
    line-height: 1.5;
  }

  .details {
    margin-top: clamp(1rem, 2.6vh, 1.3rem);
  }

  .details div {
    padding: 0.75rem 1.15rem 0.75rem 0;
  }

  .details div + div {
    padding-left: 1.15rem;
  }

  .details dt {
    font-size: 0.72rem;
  }

  .details dd {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .actions {
    gap: 0.9rem 1.4rem;
    margin-top: clamp(1rem, 2.6vh, 1.3rem);
  }

  .button {
    min-height: 46px;
    padding: 0.8rem 1.2rem;
    font-size: 0.86rem;
  }

  .phone {
    font-size: 0.86rem;
  }

  .note {
    margin-top: clamp(0.75rem, 2vh, 1rem);
    font-size: 0.76rem;
  }

  footer {
    gap: 0.5rem 1.5rem;
    padding-top: 0.75rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 58rem) {
  .splash {
    grid-template-columns: 1fr;
  }

  .brand {
    min-height: clamp(14rem, 30svh, 19rem);
    padding: 1.5rem;
  }

  .brand__logo {
    width: min(77vw, 25rem);
    margin-block: -4rem;
  }

  .intro {
    min-height: max(70svh, 39rem);
  }
}

@media (max-width: 37rem) {
  .intro {
    padding: 1.5rem;
  }

  .intro::before {
    background-position: 66% top;
    opacity: 0.25;
  }

  .intro::after {
    background:
      linear-gradient(90deg, rgba(49, 74, 70, 0.92) 0%, rgba(49, 74, 70, 0.68) 100%),
      linear-gradient(180deg, rgba(49, 74, 70, 0.28) 0%, rgba(49, 74, 70, 0.94) 58%, var(--eucalyptus-deep) 100%);
  }

  .intro__inner {
    display: flex;
    flex-direction: column;
    padding-block: 2.4rem 3.2rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.9rem, 13vw, 4rem);
  }

  .lede {
    margin-top: 1.4rem;
    font-size: 1rem;
  }

  .details {
    order: 5;
    display: block;
    margin-top: 1.8rem;
  }

  .details div {
    padding: 1rem 0;
  }

  .details div + div {
    border-top: 1px solid var(--line-on-green);
    border-left: 0;
    padding-left: 0;
  }

  .actions {
    order: 4;
    align-items: stretch;
    flex-direction: column;
    margin-top: 1.7rem;
  }

  .button,
  .phone {
    width: 100%;
    text-align: center;
  }

  .note {
    order: 6;
  }
}

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