/* ============================
   SAGA — landing page styles
   ============================ */

:root {
  --black: #090A09;
  --grey: #A2A497;
  --light-grey: #C5C8B8;
  --white: #E9ECDA;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Geist Mono', monospace;

  --edge: clamp(24px, 5vw, 72px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2 {
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
}

h2 {
  font-family: var(--font-body);
  font-weight: 600;
}

/* ============================
   HEADER
   ============================ */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: var(--edge);
  padding-bottom: 0;
}

.logo {
  width: 190px;
  height: auto;
}

.logo.small {
  margin: 0 auto 16px;
  width: 130px;
}

/* ============================
   HERO
   ============================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9,10,9,0.05) 0%, rgba(9,10,9,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  margin: auto;
  justify-content: center;
  padding: var(--edge);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 1;
  max-width: 50ch;
  text-align: center;
}

/* ============================
   INGREDIENTS
   ============================ */

.ingredients {
  background: var(--light-grey);
  padding: clamp(64px, 10vw, 120px) var(--edge);
  text-align: center;
}

.ingredients-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ingredients h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: clamp(32px, 5vw, 56px);
}

.ingredients-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.ingredients-list li {
  display: flex;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--grey);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.ingredients-list li::before {
  content: '*';
  color: var(--grey);
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  top: 3px;
  left: 2px;
  position: relative;
  margin-right: 16px;
}

.ingredients-list li:first-child {
  border-top: 1px solid var(--grey);
}

.ingredients-close {
  margin: clamp(40px, 6vw, 64px) 0 0;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(24px, 3.4vw, 36px);
}

/* ============================
   STORY
   ============================ */

.story {
  background: var(--grey);
  padding: clamp(64px, 10vw, 120px) var(--edge);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.story-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
}

.story-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.story-copy p {
  font-size: 14px;
  color: rgba(9, 10, 9, 0.85);
  max-width: 62ch;
}

.story-copy p + p {
  margin-top: 20px;
}

/* ============================
   CONTACT
   ============================ */

.contact {
  background: var(--black);
  padding: clamp(64px, 10vw, 120px) var(--edge);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 6vw, 96px);
  max-width: 1400px;
  margin: 0 auto;
}

.contact-info h2 {
  color: var(--white);
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--grey);
  font-size: 14px;
  max-width: 42ch;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-links a {
  display: inline-block;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid rgba(233, 236, 218, 0.15);
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.social-links a:hover {
  opacity: 0.6;
  border-color: rgba(233, 236, 218, 0.4);
}

/* form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--grey);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(233, 236, 218, 0.3);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 0;
  outline: none;
  resize: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(233, 236, 218, 0.35);
}

.contact-form button {
  align-self: flex-start;
  margin-top: 12px;
  padding: 14px 32px;
  background: var(--grey);
  color: var(--black);
  border: 1px solid var(--grey);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-form button:hover {
  background: transparent;
  color: var(--grey);
}

.contact-form button:focus-visible,
.social-links a:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--grey);
  outline-offset: 3px;
}

/* ============================
   THANKS
   ============================ */

.thanks {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.thanks-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* 
.thanks::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9,10,9,0.05) 0%, rgba(9,10,9,0.55) 100%);
} */

.thanks-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  margin: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--edge);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.thanks-content h1 {
  color: var(--white);
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 1;
  max-width: 50ch;
  text-align: center;
}

.thanks-content p {
  color: var(--white);
  text-align: center;
  font-size: 14px;
}

.thanks-content a {
  margin-top: 12px;
  padding: 14px 32px;
  background: var(--grey);
  color: var(--black);
  border: 1px solid var(--grey);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.thanks-footer {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0;
  padding: 24px 24px;
}

/* ============================
   FOOTER
   ============================ */

.site-footer {
  background: var(--black);
  text-align: center;
  padding: clamp(32px, 5vw, 48px) var(--edge);
  border-top: 1px solid rgba(9, 10, 9, 0.15);
}

.site-footer p {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0;
}

/* ============================
   MOBILE (≤ 768px)
   ============================ */

@media (max-width: 768px) {
  :root {
    --edge: 20px;
  }

  h2 {
    text-align: left;
  }

  .hero {
    min-height: 93svh;
    align-items: flex-end;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 10vw, 52px);
    max-width: 19ch;
  }

  .logo {
    width: 150px;
    margin: auto;
  }

  .story-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .story-img {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .story-copy p {
    font-size: 13.5px;
  }

  .ingredients-list li {
    font-size: 13.5px;
    padding: 14px 4px;
    height: 64px;
  }

  .ingredients-close {
    font-size: clamp(22px, 6vw, 28px);
  }

  .ingredients-close {
    text-align: left;
  }

  .contact-info {
    order: 1;
  }

  .contact-form {
    order: 2;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
