/*
  TreKalo Fine Foods: trekalo.com
  Plain on purpose: the logo, a short description in English and Hebrew, and how to reach us.
  Burgundy (#8B0707) on white, the logo's own colours. No dark mode: the brand guide
  puts the full-colour logo on white only.
*/

:root {
  color-scheme: light;
  --ink: #8B0707;
  --paper: #FFFFFF;
  --font: "Assistant", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* Home page --------------------------------------------------------------- */

.home {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) 1.5rem 3rem;
  text-align: center;
}

.logo {
  margin: 0;
  line-height: 0;
}

/* 200 px at the smallest; the brand minimum for the full logo is 180 px. */
.logo img {
  width: clamp(12.5rem, 52vw, 20rem);
}

.about {
  display: grid;
  gap: 1.75rem;
  max-width: 32rem;
  margin-top: clamp(2.5rem, 7vh, 3.5rem);
}

.about p {
  font-size: 1.1875rem;
  line-height: 1.7;
}

.about [lang="he"] {
  font-size: 1.25rem;
}

.contact {
  margin-top: 2.5rem;
  font-size: 1.375rem;
  font-weight: 600;
}

.producers {
  margin-top: 1rem;
  font-size: 1rem;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  display: grid;
  gap: 0.25rem;
  padding: 1.5rem 1.5rem 2rem;
  font-size: 0.9375rem;
  text-align: center;
}

.site-footer a {
  display: inline-block;
  padding-block: 0.25rem;
}

.site-footer a + a {
  margin-inline-start: 1.25rem;
}

/* Inner pages: accessibility statement, 404 ------------------------------- */

.page-head {
  padding: 1.5rem 1.5rem 0;
}

.page-head a {
  display: inline-block;
}

/* 110 px; the brand minimum for the wordmark is 100 px. */
.page-head img {
  width: 6.875rem;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page section + section {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(139, 7, 7, 0.3);
}

.page h1,
.page .section-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.page h2:not(.section-title),
.page h3 {
  margin: 2.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.page p {
  margin-top: 0.85rem;
}

.page ul {
  margin: 0.85rem 0 0;
  padding-inline-start: 1.25rem;
}

.page li + li {
  margin-top: 0.4rem;
}

.page ul.plain {
  padding: 0;
  list-style: none;
}
