/*
Theme Name: Tsourounakis Butcher Shop
Theme URI: https://differend.gr
Author: Differend
Author URI: https://differend.gr
Description: Custom lightweight theme for Tsourounakis Butcher Shop, built from the Astro design without Elementor or Astra.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tsourounakis
*/

:root {
  --cream: #f7f1e8;
  --dark: #060a13;
  --ink: #0c0c0c;
  --red: #d94a4a;
  --red-light: #ea6666;
  --teal: #30b8a0;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

p {
  margin: 0;
}

.container {
  width: min(100% - 48px, 1680px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  line-height: normal;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

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

.btn--red {
  background: var(--red);
  color: #fff;
}

.btn--red:hover {
  background: #c33d3d;
}

.btn--outline-red {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}

.btn--outline-red:hover {
  background: var(--red);
  color: #fff;
}

.btn--outline-cream {
  background: transparent;
  border: 2px solid var(--cream);
  color: var(--cream);
}

.btn--outline-cream:hover {
  background: var(--cream);
  color: var(--ink);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Section headings ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(11px, 0.85vw, 15px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-light);
  line-height: normal;
}

.heading {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 44px);
  line-height: normal;
  text-transform: capitalize;
  color: var(--ink);
  margin: 0;
}

.heading--cream {
  color: var(--cream);
}

.heading .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}

.heading--dark-text .outline,
.heading .outline {
  -webkit-text-stroke: 1.5px var(--ink);
}

.heading--cream .outline {
  -webkit-text-stroke: 1.5px var(--cream);
}

.heading--stacked .outline,
.heading--stacked .solid {
  display: block;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.section-head--left {
  align-items: flex-start;
  text-align: left;
}

/* ---------- Dark textured sections ---------- */
.section-dark {
  position: relative;
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
}

.section-dark > .texture {
  position: absolute;
  inset: 0;
  background: url('assets/images/texture-dark.jpg') center / cover no-repeat;
  pointer-events: none;
}

.section-dark > *:not(.texture):not(.sketch):not(.explore__video) {
  position: relative;
}

/* ---------- Decorative sketches ---------- */
.sketch {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  width: 100%;
}

.site-header--dark {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  background: transparent;
}

.site-header--light {
  background: var(--cream);
}

.site-header__logo img {
  height: 120px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__link {
  font-family: var(--font-mono);
  font-weight: 200;
  font-size: 14px;
  white-space: nowrap;
  transition: font-weight 0.1s ease, opacity 0.15s ease;
}

.site-header__link:hover {
  opacity: 0.75;
}

.site-header__menu .current-menu-item > .site-header__link {
  font-weight: 700;
}

.site-header--dark .site-header__link,
.site-header--dark .site-header__lang {
  color: #fff;
}

.site-header--light .site-header__link,
.site-header--light .site-header__lang {
  color: var(--ink);
}

.site-header__lang {
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0.8;
}

.site-header__lang:hover {
  opacity: 1;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 20;
}

.site-header__toggle span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header--dark .site-header__toggle span {
  background: #fff;
}

@media (max-width: 1450px) {
  .site-header {
    padding: 16px 40px;
  }

  .site-header__nav,
  .site-header__menu {
    gap: 20px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    padding: 12px 20px;
  }

  .site-header__logo img {
    height: 52px;
  }

  .site-header__toggle {
    display: flex;
  }

  .site-header__nav {
    position: fixed;
    inset: 0;
    z-index: 15;
    flex-direction: column;
    justify-content: center;
    background: var(--dark);
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .site-header__nav.is-open {
    transform: translateX(0);
  }

  .site-header__menu {
    flex-direction: column;
    gap: 32px;
  }

  .site-header__nav .site-header__link,
  .site-header__nav .site-header__lang {
    color: var(--cream);
    font-size: 22px;
  }

  .site-header--dark .site-header__toggle.is-open span,
  .site-header__toggle.is-open span {
    background: var(--cream);
  }

  .site-header__toggle.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .site-header__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .site-header__toggle.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  padding: 0 0 32px;
  overflow: hidden;
}

.site-footer__inner {
  width: min(100% - 48px, 1432px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer__rule {
  height: 3px;
  background: var(--red);
  width: 100%;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-between;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(12, 12, 12, 0.1);
}

.site-footer__logo img {
  height: 110px;
  width: auto;
}

.site-footer__col-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-light);
  margin: 0 0 20px;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  transition: color 0.15s ease;
}

/* Only the tel:/mailto: rows are links; the address row is static. */
a.site-footer__row:hover {
  color: var(--red);
}

.site-footer__row img {
  flex-shrink: 0;
}

.site-footer__row p {
  font-size: 14px;
  color: inherit;
}

.site-footer__nav-col {
  display: flex;
  flex-direction: column;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: 10px 48px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

/* Polylang injects a flag <img>; the global img{display:block} reset would
   otherwise push the language name onto its own line. */
.site-footer__nav a img {
  display: inline-block;
  width: auto;
  height: 11px;
}

.site-footer__nav a:hover {
  color: var(--red);
}

.site-footer__lang {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.15s ease;
}

.site-footer__lang:hover {
  color: var(--red);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer__social a {
  opacity: 0.7;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.site-footer__social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer__divider {
  display: none;
}

.site-footer__bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
}

.site-footer__copyright {
  font-size: 12px;
  color: rgba(12, 12, 12, 0.45);
}

.site-footer__credit {
  font-size: 12px;
  color: rgba(12, 12, 12, 0.45);
}

.site-footer__credit-brand {
  font-weight: 700;
  color: var(--teal);
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    gap: 40px;
  }

  .site-footer__logo {
    grid-column: 1 / -1;
  }

  .site-footer__logo img {
    height: 80px;
  }

  .site-footer__row p {
    font-size: 13px;
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  .site-footer__nav {
    grid-template-columns: auto;
    grid-auto-flow: row;
    grid-template-rows: auto;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 480px;
  background: var(--dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 10, 19, 0.55) 0%, rgba(6, 10, 19, 0.25) 55%, rgba(6, 10, 19, 0.6) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero__title {
  font-size: clamp(28px, 3.2vw, 58px);
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.hero__sub {
  color: var(--cream);
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 500;
  text-transform: capitalize;
  max-width: 520px;
}

/* ---------- About (home) ---------- */
.home-about {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
}

.home-about__inner {
  width: min(100%, 1680px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 6vw, 120px);
}

.home-about__collage {
  position: relative;
  width: 700px;
  height: 560px;
  flex-shrink: 0;
}

.home-about__img {
  position: absolute;
  object-fit: cover;
}

.home-about__img--a {
  width: 444px;
  height: 286px;
  left: 236px;
  top: 0;
}

.home-about__img--b {
  width: 208px;
  height: 261px;
  left: 0;
  top: 188px;
}

.home-about__img--c {
  width: 327px;
  height: 211px;
  left: 236px;
  top: 313px;
}

.home-about__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 780px;
}

.home-about__title {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-about__body {
  text-transform: capitalize;
  text-align: justify;
  color: var(--dark);
}

.home-about__sk {
  width: clamp(140px, 16vw, 310px);
}

.home-about__sk--tl {
  top: -20px;
  left: -50px;
}

.home-about__sk--bl {
  bottom: -60px;
  left: -30px;
}

.home-about__sk--tr {
  top: -30px;
  right: -50px;
}

.home-about__sk--br {
  bottom: -30px;
  right: -10px;
}

/* ---------- Products (home) ---------- */
.home-products {
  padding: 72px 24px 88px;
}

.home-products__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.home-products__sub {
  text-transform: capitalize;
  text-align: center;
  color: #fff;
  max-width: 524px;
}

.home-products__cards {
  display: flex;
  gap: clamp(32px, 5vw, 90px);
  margin-top: 64px;
  flex-wrap: wrap;
  justify-content: center;
}

.product-card {
  width: 380px;
  max-width: 100%;
  min-height: 440px;
  border: 1px solid var(--cream);
  border-radius: 14px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  background: rgba(247, 241, 232, 0.05);
}

.product-card__name {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(20px, 1.6vw, 30px);
  color: var(--cream);
  text-align: center;
}

.product-card__img {
  height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.product-card__img.is-flipped {
  transform: scaleY(-1);
}

.product-card__btn {
  width: 180px;
  height: 48px;
}

/* ---------- Explore (home) ---------- */
.explore {
  padding: 100px 24px;
}

.explore__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  opacity: 0.45;
}

.explore .explore__inner {
  z-index: 3;
}

.explore__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ---------- Mission & Values ---------- */
.mission {
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.mission__grid {
  display: flex;
  gap: clamp(48px, 8vw, 160px);
  justify-content: center;
  flex-wrap: wrap;
}

.mission__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 424px;
}

.mission__item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 8px;
}

.mission__item h3 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  text-transform: capitalize;
  margin: 0;
}

.mission__item p {
  text-align: center;
}

/* ---------- Contact / Connect section ---------- */
.connect {
  padding: 88px 24px 72px;
}

.connect--light {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}

.connect__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.connect__notice {
  width: min(100%, 1000px);
  padding: 20px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
}

.connect__notice--success {
  background: rgba(48, 184, 160, 0.15);
  color: var(--teal);
}

.connect__notice--error {
  background: rgba(217, 74, 74, 0.15);
  color: var(--red);
}

.connect__form {
  width: min(100%, 1000px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.connect__form input,
.connect__form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(247, 241, 232, 0.8);
  padding: 32px 24px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  color: var(--cream);
  outline: none;
  resize: none;
  width: 100%;
}

.connect__form input::placeholder,
.connect__form textarea::placeholder {
  color: rgba(247, 241, 232, 0.8);
  text-transform: capitalize;
}

.connect--light .connect__form input,
.connect--light .connect__form textarea {
  border-bottom-color: rgba(12, 12, 12, 0.4);
  color: var(--ink);
}

.connect--light .connect__form input::placeholder,
.connect--light .connect__form textarea::placeholder {
  color: rgba(12, 12, 12, 0.5);
}

.connect__form input:focus,
.connect__form textarea:focus {
  border-bottom-color: var(--red);
}

.connect__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.connect__actions .btn {
  min-width: 180px;
}

.connect__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.connect__sk {
  width: clamp(140px, 18vw, 350px);
  opacity: 0.9;
}

.connect--light .connect__sk {
  opacity: 0.55;
}

.connect__sk--tl {
  top: -30px;
  left: -40px;
}

.connect__sk--bl {
  bottom: -40px;
  left: -30px;
}

.connect__sk--tr {
  top: -20px;
  right: -40px;
}

.connect__sk--br {
  bottom: -40px;
  right: -20px;
}

@media (max-width: 768px) {
  .connect {
    padding: 80px 24px 64px;
  }

  .connect__form input,
  .connect__form textarea {
    padding: 20px 12px;
    font-size: 16px;
  }

  .connect__sk {
    width: 110px;
  }
}

/* ---------- Location / map (contact page) ---------- */
.location {
  padding: 90px 24px 130px;
}

.location__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.location__address {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-size: 18px;
}

.location__map {
  position: relative;
  width: min(100%, 1560px);
  height: 430px;
  margin-top: 36px;
  border-radius: 16px;
  overflow: hidden;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location__directions {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 2;
}

@media (max-width: 768px) {
  .location {
    padding: 64px 16px 80px;
  }

  .location__map {
    height: 300px;
  }

  .location__directions {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- Story (about) ---------- */
.story {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 64px 0 64px 80px;
}

.story__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 860px;
}

.story__text .heading .solid {
  text-transform: capitalize;
}

.story__p {
  font-size: 16px;
  text-align: justify;
  text-transform: capitalize;
}

.story__p strong {
  font-weight: 700;
}

.story__photos {
  position: relative;
  flex-shrink: 0;
  width: 900px;
  min-height: 810px;
}

.story__photo {
  position: absolute;
  object-fit: cover;
}

.story__photo--cows {
  width: 388px;
  height: 384px;
  left: 0;
  top: -100px;
}

.story__photo--goat {
  width: 388px;
  height: 480px;
  left: 0;
  top: 332px;
}

.story__photo--tall {
  width: 440px;
  height: 808px;
  right: 0;
  top: 0;
}

/* ---------- Commitment (about) ---------- */
.commitment {
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 120px);
  padding: 80px 0;
}

.commitment__photo {
  width: 820px;
  max-width: 48vw;
  height: 636px;
  object-fit: cover;
  flex-shrink: 0;
}

.commitment__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  padding-right: 48px;
}

/* ---------- FAQ (about) ---------- */
.faq {
  padding: 72px 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.faq__list {
  width: min(100%, 1200px);
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-top: 1px solid #bbb;
}

.faq__item:last-child {
  border-bottom: 1px solid #bbb;
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 40px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.4;
  text-transform: capitalize;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary img {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq__item[open] summary img {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 40px 28px;
  max-width: 1000px;
  white-space: pre-line;
}

/* ---------- Products & Services page ---------- */
.products {
  position: relative;
  padding: 56px 24px 88px;
  overflow: hidden;
}

.products__list {
  width: min(100%, 1608px);
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.product-row {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 48px;
}

.product-row--reverse {
  flex-direction: row-reverse;
}

.product-row__media {
  flex-shrink: 0;
}

.product-row__media img {
  height: 280px;
  width: auto;
}

.product-row__media img.is-flipped {
  transform: scaleY(-1);
}

.product-row__text h2 {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(22px, 1.7vw, 32px);
  margin: 0 0 12px;
}

.product-row__text p {
  text-transform: capitalize;
  text-align: justify;
  color: var(--dark);
}

.products__sk {
  width: clamp(120px, 14vw, 300px);
  opacity: 0.3;
}

.products__sk--1 {
  top: 130px;
  left: -60px;
}

.products__sk--2 {
  top: 240px;
  right: -70px;
}

.products__sk--3 {
  top: 800px;
  left: -60px;
}

.products__sk--4 {
  top: 1250px;
  right: -60px;
}

.products__sk--5 {
  top: 1650px;
  left: -80px;
}

.products__sk--6 {
  top: 2150px;
  right: -50px;
}

.products__sk--7 {
  bottom: 400px;
  left: -50px;
}

/* ---------- Blog ---------- */
.blog {
  padding: 56px 24px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.blog__grid {
  width: min(100%, 1720px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px 120px;
}

.blog__empty {
  text-align: center;
  max-width: 600px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-card__media {
  aspect-ratio: 480 / 350;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  text-transform: capitalize;
  margin: 8px 0 0;
}

.blog-card__title a:hover {
  color: var(--red);
}

.blog-card__excerpt {
  text-align: justify;
}

.blog-pagination {
  display: flex;
  gap: 16px;
  justify-content: center;
  font-family: var(--font-mono);
}

.blog-pagination a,
.blog-pagination span {
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
}

.blog-pagination .current {
  background: var(--ink);
  color: var(--cream);
}

/* ---------- Single post ---------- */
.single-post {
  padding: 72px 24px 140px;
}

.single-post__inner {
  width: min(100%, 900px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.single-post__title {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 48px);
  text-transform: capitalize;
}

.single-post__meta {
  font-family: var(--font-mono);
  color: var(--red-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.single-post__thumb img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.single-post__content {
  font-size: 18px;
}

.single-post__content p {
  margin: 0 0 24px;
}

.single-post__content img {
  border-radius: 12px;
  margin: 24px 0;
}

.single-post__nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(12, 12, 12, 0.15);
  font-family: var(--font-mono);
  font-weight: 700;
}

.single-post__nav a:hover {
  color: var(--red);
}

/* ---------- 404 / generic page ---------- */
.simple-page {
  padding: 140px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ---------- Responsive typography ---------- */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .btn {
    font-size: 13px;
    padding: 10px 20px;
  }

  .hero__content {
    padding: 80px 24px 48px;
  }

  .hero__title {
    font-size: 26px;
    white-space: normal;
  }

  .hero__sub {
    font-size: 14px;
  }

  .home-about {
    padding: 56px 24px;
  }

  .home-about__collage {
    width: 100%;
    max-width: 400px;
    height: 340px;
  }

  .home-about__img--a {
    width: 63%;
    height: 170px;
    left: 34%;
  }

  .home-about__img--b {
    width: 30%;
    height: 155px;
    top: 112px;
  }

  .home-about__img--c {
    width: 47%;
    height: 125px;
    left: 34%;
    top: 186px;
  }

  .home-products__cards {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    padding: 8px 4px 24px;
    -webkit-overflow-scrolling: touch;
  }

  .product-card {
    min-height: 340px;
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .product-card__name {
    font-size: 22px;
  }

  .product-card__img {
    height: 140px;
  }

  .explore {
    padding: 64px 24px;
  }

  .mission {
    padding: 56px 24px;
    gap: 32px;
  }

  .mission__item img {
    width: 60px;
    height: 60px;
  }

  .mission__item h3 {
    font-size: 16px;
  }
}

@media (max-width: 1700px) {
  .story {
    padding: 48px 40px;
    flex-direction: column;
  }

  .story__photos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    min-height: 0;
  }

  .story__photo {
    position: static;
    width: 100%;
    height: 320px;
  }
}

@media (max-width: 1500px) {
  .hero {

  .home-about__inner {
    flex-direction: column;
    align-items: center;
  }

  .home-about__text {
    max-width: 860px;
  }
}

@media (max-width: 1100px) {
  .product-row,
  .product-row--reverse {
    flex-direction: column;
    gap: 32px;
    padding: 24px 0;
  }

  .product-row__media img {
    height: 200px;
  }

  .product-row__text h2 {
    font-size: 30px;
  }

  .products__list {
    gap: 24px;
  }

  .commitment {
    flex-direction: column;
    padding: 48px 24px;
  }

  .commitment__photo {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .commitment__text {
    padding-right: 0;
  }
}

@media (max-width: 1400px) {
  .blog__grid {
    gap: 64px;
  }
}

@media (max-width: 1100px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .story {
    padding: 32px 20px;
  }

  .story__p {
    font-size: 15px;
  }

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

  .story__photo {
    height: 200px;
  }

  .story__photo--tall {
    grid-column: 1 / 3;
    height: 280px;
  }

  .faq {
    padding: 64px 16px 96px;
  }

  .faq__item summary {
    padding: 24px 8px;
    font-size: 17px;
  }

  .faq__item summary img {
    width: 28px;
    height: 28px;
  }

  .faq__answer {
    padding: 0 8px 24px;
  }
}

@media (max-width: 700px) {
  .blog {
    padding: 40px 24px 80px;
    gap: 40px;
  }

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

  .blog-card__title {
    font-size: 20px;
  }
}
