:root {
  --ink: #17211d;
  --muted: #5d6762;
  --paper: #f8f5ee;
  --panel: #ffffff;
  --line: #ded8ca;
  --tomato: #b53f31;
  --tomato-dark: #8f2e24;
  --leaf: #3f6f53;
  --gold: #d89b39;
  --sea: #397887;
  --shadow: 0 24px 70px rgba(34, 31, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(120deg, rgba(181, 63, 49, 0.08), transparent 34%),
    linear-gradient(300deg, rgba(63, 111, 83, 0.11), transparent 38%),
    var(--paper);
}

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  flex: 0 0 auto;
}

.portal-link,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.portal-link {
  padding: 0 18px;
  border: 1px solid rgba(23, 33, 29, 0.16);
  background: rgba(255, 255, 255, 0.68);
}

.portal-link:hover,
.primary-action:hover {
  transform: translateY(-1px);
}

.portal-link:focus-visible,
.primary-action:focus-visible {
  outline: 3px solid rgba(57, 120, 135, 0.32);
  outline-offset: 3px;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  padding: 34px 0 82px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(181, 63, 49, 0.2);
  border-radius: 999px;
  color: var(--tomato-dark);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.primary-action {
  min-width: 176px;
  padding: 0 24px;
  color: #fff;
  background: var(--tomato);
  box-shadow: 0 16px 34px rgba(181, 63, 49, 0.25);
}

.primary-action:hover {
  background: var(--tomato-dark);
}

.status-note {
  color: var(--muted);
  font-weight: 750;
}

.visual-panel {
  position: relative;
  min-height: 560px;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 42px 12px 28px 24px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58)),
    url("assets/ingredient-field.svg") center / cover no-repeat;
  border: 1px solid rgba(23, 33, 29, 0.09);
  box-shadow: var(--shadow);
}

.tray {
  position: absolute;
  top: 0;
  right: 6%;
  width: min(72%, 360px);
  aspect-ratio: 1.05;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  transform: rotate(5deg);
}

.tile {
  min-width: 0;
  border-radius: 18px;
  border: 10px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(23, 33, 29, 0.14);
}

.tile-saffron {
  background: radial-gradient(circle at 42% 35%, #ffd97d, var(--gold) 64%);
}

.tile-basil {
  background: radial-gradient(circle at 45% 38%, #85af77, var(--leaf) 68%);
}

.tile-cocoa {
  background: radial-gradient(circle at 45% 38%, #7b5a42, #3f2c22 70%);
}

.tile-sea {
  background: radial-gradient(circle at 45% 38%, #76b5bd, var(--sea) 68%);
}

.plate {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: min(92%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 36%, #f5efe2 37% 58%, #fff 59% 100%);
  border: 1px solid rgba(23, 33, 29, 0.08);
  box-shadow: 0 34px 82px rgba(34, 31, 25, 0.18);
}

.plate-ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: 50%;
}

.ingredient {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.herb {
  top: 33%;
  left: 31%;
  width: 32%;
  height: 12%;
  background: var(--leaf);
  transform: rotate(-28deg);
}

.citrus {
  right: 28%;
  bottom: 31%;
  width: 24%;
  height: 24%;
  background: var(--gold);
  border-radius: 50%;
}

.spice {
  top: 31%;
  right: 28%;
  width: 18%;
  height: 18%;
  background: var(--tomato);
  border-radius: 50%;
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 28px, 640px);
  }

  .topbar {
    padding: 20px 0;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .portal-link {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.88rem;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    padding: 26px 0 56px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3.15rem, 15vw, 5.3rem);
  }

  .intro {
    margin-top: 24px;
  }

  .visual-panel {
    width: 100%;
    min-height: 360px;
  }

  .visual-panel::before {
    inset: 26px 0 12px;
    border-radius: 26px;
  }

  .tray {
    width: min(62%, 260px);
    right: 9%;
    gap: 10px;
  }

  .tile {
    border-width: 7px;
    border-radius: 14px;
  }

  .plate {
    width: min(78%, 330px);
    right: 5%;
  }
}

@media (max-width: 480px) {
  .topbar {
    align-items: flex-start;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .actions {
    align-items: stretch;
  }

  .primary-action {
    width: 100%;
  }

  .status-note {
    width: 100%;
    font-size: 0.94rem;
  }
}
