:root {
  --ink: #1e2022;
  --muted: #62686c;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e3ded6;
  --teal: #006c67;
  --teal-dark: #003f3d;
  --coral: #e9583f;
  --berry: #913f62;
  --sage: #758f58;
  --shadow: 0 18px 50px rgba(31, 37, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(30, 32, 34, 0.08);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 76px);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/sobe-foods-specialties.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 23, 24, 0.78) 0%, rgba(18, 23, 24, 0.5) 40%, rgba(18, 23, 24, 0.08) 78%),
    linear-gradient(0deg, rgba(18, 23, 24, 0.35), rgba(18, 23, 24, 0));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-content {
  max-width: 670px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffd0c7;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
}

.hero h1 {
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  font-weight: 950;
}

.hero-content > p:not(.eyebrow) {
  max-width: 570px;
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.catalog-cta .split {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 24px;
}

.hero-contact-form {
  align-self: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 2.6vw, 28px);
}

.hero-form-heading {
  grid-column: 1 / -1;
}

.hero-form-heading h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
}

.hero-contact-form textarea {
  min-height: 104px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary,
.button-submit {
  background: var(--coral);
  color: #fff;
}

.button-primary:hover,
.button-submit:hover {
  background: #c93f2b;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.section-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  padding: clamp(48px, 7vw, 82px) 0;
  background: #fff;
}

.intro-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 6vw, 72px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.vegan-band h2,
.contact-copy h2,
.page-hero h1,
.catalog-cta h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.intro-copy p,
.section-heading p,
.vegan-band p,
.contact-copy p,
.page-hero p,
.catalog-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.quick-facts div {
  border-left: 4px solid var(--coral);
  padding-left: 12px;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.offerings {
  padding: clamp(56px, 8vw, 98px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p {
  margin: 0;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.offering,
.contact-form,
.product-card {
  background: var(--panel);
  box-shadow: var(--shadow);
}

.offering {
  min-height: 240px;
  border-top: 6px solid var(--teal);
  border-radius: 8px;
  padding: 24px;
}

.offering:nth-child(2) {
  border-top-color: var(--berry);
}

.offering:nth-child(3) {
  border-top-color: var(--coral);
}

.offering:nth-child(4) {
  border-top-color: var(--sage);
}

.offering span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.offering h3 {
  margin-top: 30px;
  font-size: 1.45rem;
}

.offering p {
  margin: 12px 0 0;
  color: var(--muted);
}

.vegan-band,
.catalog-cta {
  padding: clamp(48px, 7vw, 82px) 0;
  background: var(--teal-dark);
  color: #fff;
}

.vegan-band p,
.catalog-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 6vw, 70px);
  align-items: start;
  padding: clamp(58px, 8vw, 104px) 0;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full,
.button-submit,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input,
select {
  height: 48px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px 13px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 108, 103, 0.18);
  border-color: var(--teal);
}

.button-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 58px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 900;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) 0 34px;
}

.page-hero p {
  margin: 0;
}

.specialty-photo-band {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.specialty-photo-band img {
  width: 100%;
  max-height: 530px;
  object-fit: cover;
}

.product-section {
  padding: clamp(46px, 7vw, 86px) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1fr);
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
}

.product-photo {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.product-photo-macaroons {
  object-position: 50% 62%;
}

.product-photo-cookies {
  object-position: 52% 46%;
}

.product-image {
  min-height: 100%;
  background-image: url("assets/sobe-foods-specialties.png");
  background-repeat: no-repeat;
  background-size: 790px auto;
}

.crop-macarons {
  background-position: 8% 52%;
}

.crop-cake {
  background-position: 61% 32%;
}

.crop-cookies {
  background-position: 47% 85%;
}

.crop-cupcakes {
  background-position: 94% 72%;
}

.product-content {
  padding: 26px;
}

.product-kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h2 {
  font-size: 1.85rem;
}

.product-card p:not(.product-kicker),
.product-card li {
  color: var(--muted);
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.catalog-cta .split {
  justify-content: space-between;
}

@media (max-width: 940px) {
  .offerings-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .section-heading,
  .split,
  .contact-section,
  .hero-layout,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-contact-form {
    max-width: 680px;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 6px;
  }

  .hero {
    min-height: 78svh;
    padding-top: 76px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(18, 23, 24, 0.82) 0%, rgba(18, 23, 24, 0.42) 58%, rgba(18, 23, 24, 0.1) 100%);
  }

  .quick-facts,
  .offerings-grid,
  .product-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-photo {
    height: 260px;
    min-height: 260px;
  }

  .product-photo-macaroons {
    object-position: 50% 68%;
  }

  .product-photo-cookies {
    object-position: 50% 48%;
  }

  .product-image {
    min-height: 230px;
    background-size: cover;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .button {
    width: 100%;
  }
}
