/* Buddha On Death — honest static rebuild
   Design tokens extracted from the original WordPress/Elementor site. */

:root {
  --primary: #E6872A;        /* global primary (headings, gradients)   */
  --accent: #ED7732;         /* global accent (buttons, header)        */
  --secondary: #54595F;      /* section headings, card titles          */
  --text-muted: #7A7A7A;     /* meta text                              */
  --hero-text: #324A6D;      /* home intro paragraph                   */
  --btn: #964A1E;            /* form submit                            */
  --btn-hover: #D1682C;
  --copyright-bg: #BF6B1A;
  --link-on-gradient: #FCCE41;
  --link-on-gradient-hover: #FF9898;
  --nav-active: #FFEDDC;
  --post-green: #6C7C69;     /* single-post hero + accents             */
  --post-beige: #F2EAE3;
  --post-author: #F0851D;
  --font-display: "Playfair Display", Georgia, serif;
  --font-nav: "Varela Round", sans-serif;
  --font-body: "Roboto", Helvetica, Arial, sans-serif;
  --font-slab: "Roboto Slab", Georgia, serif;
  --font-soft: "Poppins", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: #f7f8f9;
  color: #222;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; vertical-align: middle; }

a { color: var(--primary); }
a:hover, a:focus { color: #222; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  z-index: 100;
  background: #fff;
  padding: 8px 16px;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  background-image: linear-gradient(130deg, var(--accent) 0%, var(--accent) 100%);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
  padding: 20px 30px 10px;
  z-index: 10;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/pexels-jake-young-732895-full.jpeg");
  background-size: auto;
  background-position: bottom center;
  opacity: 0.64;
}

.site-header__inner {
  position: relative;
  max-width: 1400px;
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-header__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1;
}

.site-header__title a {
  color: #fff;
  text-decoration: none;
}

.site-nav__list {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: block;
  padding: 35px 0;
  font-family: var(--font-nav);
  font-size: 21px;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link:focus {
  color: var(--nav-active);
}

.site-nav__link--active {
  color: var(--nav-active);
}

/* CSS-only mobile menu (checkbox toggle) */
.site-nav__toggle-box { display: none; }

.site-nav__toggle {
  display: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}

@media (max-width: 768px) {
  .site-header__title { font-size: 30px; }
  .site-nav__toggle { display: block; }
  .site-nav__list {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    background: #fff;
    text-align: center;
  }
  .site-nav__toggle-box:checked ~ .site-nav__list { display: flex; }
  .site-nav__list li:not(:last-child) { border-bottom: 1px solid #efefef; }
  .site-nav__link {
    padding: 14px 0;
    color: #3d4459;
    font-family: "Montserrat", var(--font-nav);
    font-size: 16px;
  }
  .site-nav__link:hover, .site-nav__link--active { color: #4632da; }
}

/* ---------- Generic section container ---------- */

.section__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section__inner--wide { max-width: 1400px; }

/* ---------- Home: hero ---------- */

.hero {
  background: #fff;
  padding: 100px 30px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 47.75fr 52.25fr;
  align-items: center;
}

.hero__image { padding-right: 50px; text-align: center; }

.hero__image img {
  border-radius: 30px;
  filter: contrast(112%);
}

.hero__intro { padding-left: 50px; }

.hero__title {
  margin: 0 0 15px;
  color: var(--primary);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}

.hero__text {
  margin: 0;
  color: var(--hero-text);
  font-family: var(--font-soft);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
}

/* ---------- Subscribe bands ---------- */

.subscribe {
  background-image: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  padding: 80px 30px;
}

.subscribe .section__inner { max-width: 800px; }

.subscribe__title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 45px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.subscribe__form {
  display: flex;
  gap: 0;
  padding-top: 15px;
}

.subscribe__field {
  flex: 3;
  padding: 15px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: #000;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  margin-right: 10px;
}

.subscribe__button {
  flex: 1;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--btn);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.subscribe__button:hover,
.subscribe__button:focus {
  background-color: var(--btn-hover);
}

@media (max-width: 767px) {
  .subscribe { padding: 50px 20px; }
  .subscribe__title { font-size: 32px; }
  .subscribe__form { flex-direction: column; }
  .subscribe__field { margin: 0 0 10px; }
}

/* ---------- Quote cards ---------- */

.quotes {
  padding: 40px 30px 100px;
}

.quotes--page { padding: 100px 30px; }

.quotes .section__inner { max-width: 1400px; }

.quotes__title {
  margin: 0;
  padding-bottom: 40px;
  color: var(--secondary);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 30px;
}

@media (max-width: 1024px) {
  .quotes__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .quotes__grid { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 39px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s;
}

.card:hover { box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); }

.card__thumb {
  display: block;
  position: relative;
  padding-bottom: 125%;
  overflow: hidden;
}

.card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card__thumb img { transform: scale(1.05); }

.card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.card__body {
  flex-grow: 1;
  padding: 20px 30px 25px;
}

.card__title {
  margin: 0 0 15px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.card__title a {
  color: var(--secondary);
  text-decoration: none;
}

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

.card__excerpt {
  margin: 0 0 15px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  color: #777;
}

.card__more {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.card__more:hover { text-decoration: underline; }

.card__author {
  margin: 0;
  padding: 15px 30px;
  border-top: 1px solid #eaeaea;
  font-family: var(--font-slab);
  font-size: 18px;
  color: var(--text-muted);
}

.quotes__all {
  padding-top: 50px;
  text-align: center;
}

.quotes__all-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  background-color: var(--accent);
  border-radius: 20px;
  text-decoration: none;
}

.quotes__all-button:hover,
.quotes__all-button:focus {
  color: #fff;
  background-color: var(--btn-hover);
}

/* ---------- Home: contact ---------- */

.contact {
  position: relative;
  background-image: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  padding: 100px 30px;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/martin-knize-JjT_7MwREm4-unsplash.jpg");
  background-size: auto;
  background-position: top left;
  opacity: 0.5;
}

.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.contact__form-col { padding-right: 50px; }

.contact__title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}

.contact__text {
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--font-soft);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
}

.contact__text a { color: var(--link-on-gradient); }
.contact__text a:hover { color: var(--link-on-gradient-hover); }

.contact__form { display: flex; flex-direction: column; }

.contact__field {
  margin-bottom: 12px;
  padding: 10px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: #000;
  background-color: #fff;
  border: 1px solid var(--primary);
  border-radius: 10px;
}

.contact__button {
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background-color: var(--accent);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.contact__button:hover,
.contact__button:focus {
  background-color: var(--btn-hover);
}

.contact__image img {
  border-radius: 30px;
  filter: brightness(108%) saturate(87%);
}

/* honeypot for form spam — visually gone, present for bots */
.form__botcheck { display: none; }

@media (max-width: 768px) {
  .hero { padding: 60px 30px; }
  .hero__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero__image { padding-right: 0; margin-bottom: 30px; }
  .hero__intro { padding-left: 0; }
  .contact__form-col { padding-right: 0; }
}

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

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 3%;
  background-color: var(--copyright-bg);
}

.copyright__text {
  margin: 0;
  color: #fff;
  font-family: var(--font-soft);
  font-size: 16px;
  font-weight: 300;
  text-align: center;
}

@media (max-width: 768px) {
  .copyright__text { font-size: 14px; }
}

/* ---------- Single post ---------- */

.post-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  min-height: 50vh;
}

.post-hero__panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--post-green);
  padding: 5% 15% 5% 10%;
}

.post-hero__date {
  margin: 0 0 10px;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: capitalize;
}

.post-hero__title {
  margin: 0 0 25px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: capitalize;
}

.post-hero__author {
  margin: 0;
  color: var(--post-author);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: capitalize;
}

.post-hero__figure {
  margin: 0 30% 0 0;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin: 120px auto 50px;
  max-width: 1140px;
  padding: 0 30px;
}

.post-layout__band {
  height: 17vh;
  margin-top: 8vh;
  background-color: var(--post-beige);
}

.post-layout__band--green {
  height: 20vh;
  margin-top: 0;
  background-color: var(--post-green);
}

.post-content {
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.post-content p { margin: 0 0 1em; }

.post-content cite {
  display: block;
  font-style: normal;
  font-size: 16px;
  color: var(--secondary);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
}

.post-nav a {
  color: var(--post-green);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: underline;
  letter-spacing: -0.45px;
}

.post-nav a:hover { color: #3d3d3d; }

.related__title {
  margin: 0 0 25px;
  color: var(--post-green);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.13px;
  text-transform: capitalize;
}

.related__item { margin-bottom: 25px; }

.related__item-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  line-height: 25px;
  letter-spacing: -0.68px;
}

.related__item-title a {
  color: var(--post-green);
  text-decoration: none;
}

.related__item-title a:hover { text-decoration: underline; }

.related__item-excerpt {
  margin: 0;
  color: var(--post-green);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

@media (max-width: 1024px) {
  .post-hero__title { font-size: 56px; line-height: 1; }
  .post-hero__author { font-size: 16px; }
  .post-layout { grid-template-columns: 2fr 1fr; }
  .post-layout__band { display: none; }
}

@media (max-width: 767px) {
  .post-hero { grid-template-columns: 1fr; }
  .post-hero__figure { margin: 0; }
  .post-hero__panel { padding: 40px 30px; }
  .post-hero__title { font-size: 38px; line-height: 42px; }
  .post-layout { grid-template-columns: 1fr; margin-top: 60px; }
  .post-content { font-size: 14px; line-height: 20px; }
  .related__title { font-size: 32px; line-height: 36px; }
  .related__item-title { font-size: 20px; line-height: 21px; }
}

/* ---------- Thanks page ---------- */

.thanks {
  max-width: 700px;
  margin: 0 auto;
  padding: 120px 30px;
  text-align: center;
}

.thanks__title {
  color: var(--primary);
  font-size: 40px;
  font-weight: 600;
}
