:root {
  color-scheme: light;
  --ink: #1d2520;
  --muted: #617064;
  --paper: #fffdf7;
  --soft: #f2eadb;
  --leaf: #2f6b45;
  --leaf-dark: #18452b;
  --tomato: #bb4835;
  --gold: #d9a441;
  --line: rgba(29, 37, 32, 0.14);
  --shadow: 0 24px 60px rgba(29, 37, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 253, 247, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.heritage-logo {
  position: relative;
  display: grid;
  width: 92px;
  height: 50px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--tomato);
  background:
    radial-gradient(circle at 50% 50%, #fffef8 0 52%, transparent 53%),
    linear-gradient(135deg, #f7d955 0%, #f2b43c 100%);
  border: 4px solid #245b36;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.85),
    0 8px 18px rgba(29, 37, 32, 0.1);
  transform: rotate(-2deg);
}

.heritage-logo::before,
.heritage-logo::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: #245b36;
}

.heritage-logo::before {
  top: 9px;
  left: 14px;
  width: 12px;
  height: 12px;
  opacity: 0.22;
}

.heritage-logo::after {
  right: 13px;
  bottom: 9px;
  width: 16px;
  height: 9px;
  opacity: 0.18;
}

.heritage-name {
  position: relative;
  z-index: 1;
  color: #bb2929;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-shadow: 0 1px 0 #fff;
}

.heritage-year {
  position: absolute;
  right: -8px;
  bottom: -8px;
  z-index: 2;
  display: grid;
  min-width: 39px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: var(--leaf);
  border: 2px solid #fffdf7;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 5px 12px rgba(29, 37, 32, 0.18);
}

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

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

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

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  font-size: 0.95rem;
  color: var(--muted);
}

nav a:hover {
  color: var(--leaf-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: clamp(28px, 6vw, 76px);
  min-height: calc(100vh - 81px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px) 42px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--tomato);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 980px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.05rem, 7vw, 6.7rem);
  line-height: 0.94;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--leaf-dark);
  border-color: var(--leaf-dark);
}

.button.ghost {
  background: rgba(255, 253, 247, 0.68);
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.photo-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.main-photo {
  width: min(100%, 560px);
  height: min(66vw, 620px);
  min-height: 520px;
  margin-left: auto;
  background-image:
    url("tofu-sarat-main.jpeg"),
    radial-gradient(circle at 24% 22%, rgba(217, 164, 65, 0.42), transparent 28%),
    linear-gradient(135deg, rgba(47, 107, 69, 0.2), rgba(187, 72, 53, 0.22)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
}

.proof-panel {
  position: absolute;
  left: 0;
  bottom: 98px;
  width: min(250px, 48%);
  padding: 22px;
  color: #fff;
  background: var(--tomato);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-panel span {
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.9;
}

.proof-panel p {
  margin: 0;
  font-weight: 800;
}

.ingredient-strip {
  position: absolute;
  right: 24px;
  bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(420px, 78%);
}

.ingredient-strip span,
.tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ingredient-strip span {
  padding: 0 13px;
  color: var(--leaf-dark);
  background: rgba(255, 253, 247, 0.94);
}

.intro-band {
  padding: clamp(36px, 7vw, 72px) clamp(20px, 8vw, 108px);
  color: #fff;
  background: var(--leaf-dark);
}

.intro-band p {
  max-width: 1120px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 4.2rem);
  line-height: 1.08;
}

.section,
.shop-bridge,
.journal-section,
.principles,
.bulk-section,
.quote-band {
  padding: clamp(58px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.shop-bridge {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: #fff;
}

.shop-bridge-copy {
  max-width: 720px;
}

.shop-bridge-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.58;
}

.flow-card {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.flow-card div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-card span,
.article-grid span {
  color: var(--tomato);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.flow-card strong {
  font-size: 1.1rem;
}

.flow-card p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
  gap: 32px;
  margin-bottom: 32px;
  align-items: end;
}

.section-heading h2 {
  max-width: 820px;
}

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

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-photo {
  aspect-ratio: 4 / 3;
  background-position: center;
  background-size: cover;
}

.product-photo.tofu {
  background-image:
    url("tofu-sarat-main.jpeg"),
    radial-gradient(circle at 75% 22%, rgba(217, 164, 65, 0.55), transparent 18%),
    linear-gradient(135deg, #f8f0df 0%, #fffdf7 48%, #dfead9 100%);
}

.product-photo.yogurt {
  background-image:
    url("https://www.fitofitt.ro/admin/images/temp/7821380712852__import013.jpg"),
    linear-gradient(135deg, rgba(255, 253, 247, 0.2), rgba(217, 164, 65, 0.26)),
    url("https://images.unsplash.com/photo-1488477181946-6428a0291777?auto=format&fit=crop&w=900&q=80");
}

.product-photo.seitan {
  background-image:
    linear-gradient(135deg, rgba(24, 69, 43, 0.14), rgba(187, 72, 53, 0.16)),
    url("https://images.unsplash.com/photo-1512621776951-a57141f2eefd?auto=format&fit=crop&w=900&q=80");
}

.product-copy {
  padding: 22px;
}

.product-copy p,
.article-grid p,
.principles p,
.bulk-copy p,
.principle-list span,
.site-footer p {
  color: var(--muted);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--leaf-dark);
  font-weight: 900;
  border-bottom: 2px solid rgba(47, 107, 69, 0.28);
}

.journal-section {
  background: #fff;
}

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

.article-grid article {
  min-height: 260px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-grid h3 {
  margin-top: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.tag {
  margin-bottom: 18px;
  padding: 0 11px;
  color: var(--tomato);
  background: #faeadf;
}

.principles {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  background: var(--soft);
}

.principles > div {
  max-width: 620px;
}

.principle-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.principle-list li {
  padding: 22px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.principle-list strong,
.principle-list span {
  display: block;
}

.principle-list strong {
  margin-bottom: 8px;
}

.bulk-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.bulk-copy {
  max-width: 720px;
}

.bulk-panel {
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background: var(--leaf);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bulk-panel h3 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.idea-list {
  display: grid;
  gap: 18px;
}

.idea-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.idea-list span {
  color: var(--gold);
  font-weight: 900;
}

.idea-list p {
  margin: 0;
  line-height: 1.45;
}

.quote-band {
  background: #141a16;
}

blockquote {
  max-width: 1120px;
  margin: 0 auto;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 5.5rem);
  line-height: 1.02;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 32px clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
}

.site-footer div:last-child {
  display: grid;
  gap: 8px;
  text-align: right;
}

.product-detail-hero,
.bulk-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px);
  align-items: center;
}

.product-detail-media {
  min-height: 560px;
}

.product-detail-photo {
  width: 100%;
  min-height: 560px;
  background-image:
    url("tofu-sarat-main.jpeg"),
    linear-gradient(135deg, #f8f0df 0%, #fffdf7 48%, #dfead9 100%);
  background-position: center 46%;
  background-size: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-detail-copy {
  max-width: 820px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 4px;
}

.product-badges span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  color: var(--leaf-dark);
  background: #e9f1e6;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-grid,
.nutrition-section,
.usage-section,
.article-page,
.collab-grid,
.request-section {
  padding: clamp(58px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  background: #fff;
}

.clean-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.clean-list li,
.note-card,
.source-box,
.collab-grid article,
.request-list {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.clean-list li {
  color: var(--muted);
  line-height: 1.55;
}

.clean-list strong {
  color: var(--ink);
}

.note-card p,
.request-list p {
  color: var(--muted);
  line-height: 1.55;
}

.usage-section {
  background: var(--soft);
}

.nutrition-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: var(--paper);
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nutrition-table caption {
  padding: 16px 18px;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nutrition-table th,
.nutrition-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.nutrition-table tr:last-child th,
.nutrition-table tr:last-child td {
  border-bottom: 0;
}

.nutrition-table th {
  color: var(--muted);
  font-weight: 700;
}

.nutrition-table td {
  font-weight: 900;
}

.usage-section > h2 {
  max-width: 840px;
}

.usage-grid,
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.usage-grid article {
  padding: 24px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.usage-grid p,
.collab-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.article-hero {
  max-width: 1100px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(28px, 6vw, 80px);
  margin-top: clamp(36px, 6vw, 72px);
}

.article-aside {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-aside p,
.article-body p,
.source-box li {
  color: var(--muted);
  line-height: 1.68;
}

.article-body {
  max-width: 820px;
}

.article-body h2 {
  margin-top: 38px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.article-body h2:first-child {
  margin-top: 0;
}

.source-box {
  margin-top: 42px;
  background: #fff;
}

.source-box ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin-bottom: 0;
}

.bulk-hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.6fr);
  min-height: 76vh;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96), rgba(255, 253, 247, 0.78)),
    url("https://www.fitofitt.ro/admin/images/temp/6471361186106_782_toffunatur.jpg");
  background-position: center;
  background-size: cover;
}

.bulk-hero > div {
  max-width: 900px;
}

.collab-grid {
  margin-top: 0;
  background: #fff;
}

.collab-grid span {
  color: var(--tomato);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.collab-grid h2 {
  margin-top: 28px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--soft);
}

.request-list {
  display: grid;
  gap: 14px;
  background: rgba(255, 253, 247, 0.78);
}

.request-list p {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.request-list p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero,
  .product-detail-hero,
  .bulk-hero,
  .detail-grid,
  .nutrition-section,
  .article-layout,
  .request-section,
  .shop-bridge,
  .section-heading,
  .principles,
  .bulk-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 480px;
  }

  .main-photo {
    width: 100%;
    height: 480px;
    min-height: 0;
  }

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

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usage-grid,
  .collab-grid {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .product-detail-media,
  .product-detail-photo {
    min-height: 440px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    display: grid;
  }

  .site-header {
    padding-top: 14px;
  }

  .brand {
    min-width: 0;
  }

  .heritage-logo {
    width: 76px;
    height: 42px;
    border-width: 3px;
  }

  .heritage-name {
    font-size: 0.96rem;
  }

  .heritage-year {
    right: -6px;
    bottom: -7px;
    min-width: 34px;
    height: 20px;
    font-size: 0.6rem;
  }

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    line-height: 0.98;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .main-photo {
    height: 420px;
  }

  .proof-panel {
    left: 14px;
    bottom: 86px;
    width: 210px;
  }

  .ingredient-strip {
    right: 14px;
    bottom: 18px;
    width: calc(100% - 28px);
  }

  .site-footer div:last-child {
    text-align: left;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

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

  .flow-card p {
    grid-column: auto;
  }

  .product-detail-media,
  .product-detail-photo {
    min-height: 360px;
  }

  .product-detail-media {
    order: 2;
  }

  .product-detail-copy {
    order: 1;
  }
}
