@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,600;1,600&display=swap");

:root {
  color-scheme: dark;
  --ink: #f4f0e7;
  --muted: #b9c3b7;
  --lime: #d7f46a;
  --green: #071b14;
}

* { box-sizing: border-box; }

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

body {
  background: var(--green);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
}

a { color: inherit; }

.page {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1.25rem, 5vw, 5.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.art {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("/assets/fruit-still-life.png") 70% center / cover no-repeat;
  animation: reveal 1.4s cubic-bezier(.2,.75,.2,1) both;
}

.wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 10, 7, .98) 0%, rgba(2, 10, 7, .9) 32%, rgba(2, 10, 7, .18) 66%, rgba(2, 10, 7, .1) 100%),
    linear-gradient(0deg, rgba(2, 10, 7, .72) 0%, transparent 35%);
}

.site-header, footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 2.25rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0a1b10;
  background: var(--lime);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
}

.eyebrow, footer {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.hero {
  align-self: center;
  width: min(43rem, 58vw);
  padding: 6vh 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.4rem;
  color: var(--lime);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.kicker::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.75rem, 7.4vw, 8rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .88;
  text-wrap: balance;
}

h1::first-line { font-style: italic; }

.intro {
  max-width: 31rem;
  margin: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.1rem;
  border: 1px solid rgba(244,240,231,.32);
  border-radius: 999px;
  color: var(--ink);
  font-size: .94rem;
}

.status-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 .28rem rgba(215,244,106,.12); }

footer { border-top: 1px solid rgba(244,240,231,.18); padding-top: 1.1rem; }

@keyframes reveal {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 760px) {
  .page { min-height: 100svh; }
  .art { inset: 32% -32% 0 -45%; background-position: 73% bottom; background-size: auto 62%; }
  .wash {
    background:
      linear-gradient(180deg, rgba(2,10,7,1) 0%, rgba(2,10,7,.93) 39%, rgba(2,10,7,.15) 65%),
      linear-gradient(0deg, rgba(2,10,7,.8), transparent 35%);
  }
  .hero { align-self: start; width: 100%; padding-top: 14vh; }
  h1 { font-size: clamp(3.55rem, 17vw, 5.4rem); }
  .intro { margin: 1.4rem 0 1.7rem; max-width: 27rem; }
  .status { font-size: .84rem; }
  footer span:first-child { display: none; }
  footer { justify-content: flex-end; }
}

@media (max-width: 430px) {
  .brand > span:last-child { max-width: 8rem; line-height: 1.05; }
  .eyebrow { display: none; }
}

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