:root {
  color-scheme: light;
  font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text: #1f1f1f;
  --muted-text: #5c5c5c;
  --bg: #f7f3ef;
  --card-bg: #fff;
  --accent: #7c4d2b;
  --accent-dark: #60381d;
  --muted: #efe5db;
  line-height: 1.5;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

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

.hero {
  background: linear-gradient(135deg, rgba(6, 5, 5, 0.8), rgba(58, 35, 20, 0.8)),
    url("../media/hero/coffee-on-the-field.jpg") center / cover;
  color: #fff;
  padding: 2rem clamp(1.5rem, 6vw, 5rem) 3rem;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  display: block;
  height: 96px;
  width: auto;
}

.logo-text {
  line-height: 1.1;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: #d9c3b4;
  margin-bottom: 0.75rem;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.lede {
  font-size: 1.05rem;
  color: #f3ebe5;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: #fff;
  color: #1f1f1f;
}

.btn.primary:hover {
  transform: translateY(-3px);
}

.btn.ghost {
  border-color: #fff;
  color: #fff;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4.5rem);
}

.section.muted {
  background: var(--muted);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin: 0.25rem 0 0.75rem;
}

.section-heading p {
  color: var(--muted-text);
  margin: 0;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card,
.origin-card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(38, 22, 12, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-media {
  padding-top: 60%;
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 1.35rem;
}

.card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.card-body p {
  margin: 0;
  color: var(--muted-text);
}

.origin-card {
  padding: 1.5rem;
}

.origin-card img {
  width: 100%;
  border-radius: 16px;
  height: 190px;
  object-fit: cover;
  margin: 0 0 0.75rem;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.origin-card h3 {
  margin: 0 0 0.5rem;
}

.origin-card p {
  margin: 0;
  color: var(--muted-text);
}

.section.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.split-media img,
.split-media video {
  border-radius: 24px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 20px 35px rgba(32, 20, 10, 0.1);
}

.split-content ul {
  padding-left: 1.2rem;
  color: var(--muted-text);
}

.split-content li {
  margin-bottom: 0.4rem;
}

.footer {
  background: #1c140f;
  color: #fff;
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
}

.footer-content {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1.5rem;
}

.footer p {
  margin: 0.15rem 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer strong {
  color: #fff;
}

.footer address {
  font-style: normal;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.channel-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 22px rgba(38, 22, 12, 0.08);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover,
.channel-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(38, 22, 12, 0.12);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124, 77, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.channel-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.channel-copy span {
  font-weight: 600;
}

.channel-copy small {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-top: 0.2rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.note-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow: 0 15px 30px rgba(38, 22, 12, 0.08);
}

.note-card a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  cursor: zoom-in;
}

.note-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.note-card a:hover img,
.note-card a:focus-visible img {
  transform: scale(1.03);
}

.note-card figcaption {
  font-size: 0.95rem;
  color: var(--muted-text);
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: clamp(1.25rem, 3.5vw, 2rem);
  box-shadow: 0 20px 35px rgba(32, 20, 10, 0.12);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: center;
}

.testimonial-card img {
  width: min(240px, 100%);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.12);
  justify-self: center;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted-text);
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 1100px) {
  .notes-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
