@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* =========================================================
   MONKSCAVE — VISUAL IDENTITY
   Bone / Cave Black / Ember / Night Violet / Stone
   Design-only stylesheet. Existing interactions preserved.
   ========================================================= */

:root {
  --bg: #F2EBDD;
  --surface: #FBF8F1;
  --surface2: #EAE2D4;
  --border: #D8CEBD;
  --text: #171512;
  --dim: #716B61;
  --accent: #D99A45;
  --accent2: #62536F;
  --gold: #D99A45;
  --green: #54745D;
  --red: #A85F4D;
  --blue: #637C8A;
  --orange: #C8893E;

  --cave: #171512;
  --bone: #F2EBDD;
  --ember: #D99A45;
  --violet: #62536F;
  --stone: #A69D90;

  --shadow: 0 12px 35px rgba(38, 30, 19, .07);
  --shadow-hover: 0 18px 45px rgba(38, 30, 19, .13);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .stitle, .jhana-title {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  line-height: 1.15;
}

button, input, select, textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(217, 154, 69, .3);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #B8AA96;
  border-radius: 10px;
}

/* NAVIGATION */

.layer-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: 70px;
  background: rgba(242, 235, 221, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .8rem clamp(1rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  gap: .65rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.layer-nav::-webkit-scrollbar {
  display: none;
}

.layer-nav .logo {
  display: inline-block;
  flex: 0 0 125px;
  width: 125px;
  height: 30px;
  margin-right: 1rem;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0;
  color: transparent;
  background-image: url('./logo.jpg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.layer-nav a {
  color: var(--dim);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: .5rem .75rem;
  border-radius: 5px;
  transition: color .2s, background .2s;
}

.layer-nav a:hover,
.layer-nav a.active {
  color: var(--text);
  background: var(--surface2);
}

/* HERO */

.hero {
  min-height: min(850px, calc(100vh - 70px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--cave);
  background-image:
    linear-gradient(
      180deg,
      rgba(23, 21, 18, .30) 0%,
      rgba(23, 21, 18, .52) 48%,
      rgba(23, 21, 18, .88) 100%
    ),
    url('./hero.jpg');
  background-size: cover;
  background-position: center 48%;
  color: var(--bone);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse at 50% 40%,
    rgba(217, 154, 69, .12),
    transparent 65%
  );
  pointer-events: none;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .95;
  color: var(--bone);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 35px rgba(0, 0, 0, .3);
}

.hero .sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 500;
  color: #F2EBDD;
  max-width: 760px;
  margin-bottom: 1.2rem;
  line-height: 1.45;
}

.hero .tag {
  font-size: .9rem;
  color: rgba(242, 235, 221, .78);
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.scroll-ind {
  position: absolute;
  bottom: 2rem;
  color: var(--ember);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: .9rem 1.7rem;
  background: var(--cave);
  color: var(--bone);
  text-decoration: none;
  border: 1px solid var(--cave);
  border-radius: 5px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 25px rgba(0, 0, 0, .16);
}

.btn-gold {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--cave);
}

.btn-gold:hover {
  background: #E5AA5B;
}

.btn-red {
  background: var(--violet);
  border-color: var(--violet);
  color: white;
}

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

.btn-sec {
  background: transparent;
  border: 1px solid rgba(242, 235, 221, .55);
  color: var(--bone);
  margin-left: .5rem;
}

.btn-sec:hover {
  background: rgba(242, 235, 221, .12);
  border-color: var(--bone);
}

/* GENERAL SECTIONS */

section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem);
  max-width: 1240px;
  margin: 0 auto;
}

.stitle {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.055em;
  margin-bottom: .8rem;
}

.ssub {
  font-size: 1rem;
  color: var(--dim);
  max-width: 720px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* CARDS AND GRIDS */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}

.card,
.emg-card,
.hind-card,
.jhana-step,
.fcard,
.map-card,
.quiz-box {
  box-shadow: var(--shadow);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  cursor: pointer;
}

.card:hover {
  border-color: var(--ember);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card.done {
  border-color: var(--green);
}

.card-h {
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.card-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 2.2rem;
}

.card-t h3 {
  font-size: 1.05rem;
  margin-bottom: .25rem;
}

.card-t .pali {
  font-size: .78rem;
  color: var(--dim);
  font-style: italic;
}

.card-t .mod {
  font-size: .88rem;
  color: var(--accent2);
  margin-top: .25rem;
}

.card-b {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.card.expanded .card-b {
  max-height: 800px;
}

.card-c {
  padding: 0 1.4rem 1.4rem;
}

.card-c .desc {
  font-size: .9rem;
  color: var(--dim);
  margin-bottom: 1rem;
}

.card-c .prac {
  background: var(--surface2);
  border-left: 3px solid var(--ember);
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.card-c .prac h4 {
  font-size: .78rem;
  color: var(--violet);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.card-c .prac p {
  font-size: .88rem;
  color: var(--text);
}

.card-c .heals {
  font-size: .83rem;
  color: var(--orange);
}

.card-c .heals span {
  font-weight: 700;
}

.card-f {
  padding: 0 1.4rem 1.4rem;
  display: flex;
  gap: .5rem;
}

.card-f button {
  flex: 1;
  padding: .65rem;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-size: .82rem;
  transition: all .2s;
}

.card-f button:hover {
  border-color: var(--ember);
  color: var(--text);
}

.card-f button.done {
  border-color: var(--green);
  color: var(--green);
}

/* TABS */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 2rem;
}

.tab {
  padding: .55rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  transition: all .2s;
}

.tab:hover,
.tab.active {
  border-color: var(--ember);
  color: var(--text);
  background: rgba(217, 154, 69, .12);
}

/* QUICK PRACTICES / EMERGENCY AREA */

.emergency {
  background: #EAE0D2;
}

.emergency .stitle {
  color: var(--cave);
}

.emg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.emg-card {
  background: var(--surface);
  border: 1px solid #D9C9B8;
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color .25s, transform .25s;
}

.emg-card:hover {
  border-color: var(--ember);
  transform: translateY(-3px);
}

.emg-card h4 {
  color: var(--violet);
  margin-bottom: .35rem;
  font-size: 1rem;
}

.emg-card .time {
  font-size: .75rem;
  color: #9B6C31;
  margin-bottom: .6rem;
  font-weight: 700;
}

.emg-card p {
  font-size: .88rem;
  color: var(--dim);
}

.emg-card .how {
  margin-top: .8rem;
  padding: .9rem;
  background: var(--surface2);
  border-radius: 5px;
  font-size: .85rem;
  color: var(--text);
}

/* BREATH LAB */

.breath-sec {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.breath-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 2px solid var(--accent2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  margin: 2rem 0;
  transition: all 4s ease-in-out;
  position: relative;
  background: rgba(98, 83, 111, .05);
}

.breath-circle::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(98, 83, 111, .3);
}

.breath-circle.inhale {
  transform: scale(1.3);
  border-color: var(--green);
}

.breath-circle.hold {
  transform: scale(1.3);
  border-color: var(--gold);
}

.breath-circle.exhale {
  transform: scale(1);
  border-color: var(--accent2);
}

.breath-ctrl {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.breath-timer {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent2);
  margin-top: 1rem;
}

/* JHANA */

.jhana-sec {
  background: #E8E0D5;
  padding: clamp(4rem, 7vw, 6rem) clamp(1.2rem, 4vw, 3rem);
}

.jhana-inner {
  max-width: 940px;
  margin: 0 auto;
}

.jhana-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  text-align: center;
  color: var(--cave);
  letter-spacing: -.07em;
  margin-bottom: .5rem;
}

.jhana-trans {
  text-align: center;
  font-size: 1rem;
  color: var(--dim);
  margin-bottom: 3rem;
  font-style: italic;
}

.jhana-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.jhana-step:hover {
  border-color: var(--ember);
}

.jhana-step.active-step {
  border-color: var(--ember);
  background: #FFF9EF;
}

.jhana-step .sn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(217, 154, 69, .2);
  font-family: 'Space Grotesk', sans-serif;
}

.jhana-step h4 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.jhana-step .ss {
  font-size: .85rem;
  color: #9B6C31;
  margin-bottom: .5rem;
  font-weight: 700;
}

.jhana-step .sb {
  color: var(--dim);
  font-size: .9rem;
  line-height: 1.8;
}

.jhana-step .sb strong {
  color: var(--text);
}

/* HINDRANCES */

.hind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hind-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all .3s;
}

.hind-card:hover {
  border-color: var(--accent2);
  transform: translateY(-3px);
}

.hind-card .hi {
  font-size: 2rem;
  margin-bottom: .5rem;
}

.hind-card h4 {
  font-size: 1rem;
  margin-bottom: .3rem;
}

.hind-card p {
  font-size: .85rem;
  color: var(--dim);
}

.hind-det {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface2);
  border-radius: 5px;
  font-size: .88rem;
  color: var(--dim);
  line-height: 1.7;
}

.hind-card.active .hind-det {
  display: block;
}

/* QUIZ */

.quiz-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(1.5rem, 5vw, 3rem);
  margin-top: 2rem;
}

.qq {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.qo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.qopt {
  padding: 1.2rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  font-size: .93rem;
  color: var(--text);
}

.qopt:hover {
  border-color: var(--ember);
  transform: translateY(-2px);
}

.qopt.sel {
  border-color: var(--ember);
  background: rgba(217, 154, 69, .15);
}

.qprog {
  display: flex;
  gap: .5rem;
  margin-bottom: 2rem;
}

.qdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
  transition: background .3s;
}

.qdot.active {
  background: var(--accent);
}

.qdot.done {
  background: var(--green);
}

.qres {
  text-align: center;
  padding: 2rem;
  display: none;
}

.qres h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent2);
}

.qres .rd {
  color: var(--dim);
  margin-bottom: 1.5rem;
  text-align: left;
}

.qres .rec {
  text-align: left;
  background: var(--surface2);
  border-radius: 7px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.qres .rec h4 {
  color: var(--accent2);
  margin-bottom: .5rem;
}

.qres .rec li {
  color: var(--dim);
  margin-left: 1rem;
  margin-bottom: .3rem;
  font-size: .93rem;
}

/* JHANA NOTES AND FACTORS */

.jnote {
  background: #F7F0E5;
  border: 1px solid #DCCDB8;
  border-left: 4px solid var(--ember);
  border-radius: 7px;
  padding: 2rem;
  margin: 2rem 0;
}

.jnote h3 {
  color: var(--accent2);
  margin-bottom: .5rem;
}

.jnote p {
  color: var(--dim);
  font-size: .95rem;
}

.factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.fcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem;
  text-align: center;
}

.fcard .fi {
  font-size: 1.8rem;
  margin-bottom: .5rem;
}

.fcard h4 {
  font-size: .88rem;
  color: var(--accent2);
  margin-bottom: .2rem;
}

.fcard .fp {
  font-size: .73rem;
  color: var(--dim);
  font-style: italic;
  margin-bottom: .3rem;
}

.fcard p {
  font-size: .78rem;
  color: var(--dim);
}

/* MAP AND ETHICS */

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.7rem;
}

.map-card h3 {
  color: var(--accent2);
  margin-bottom: .5rem;
  font-size: 1.1rem;
}

.map-card .src {
  font-size: .78rem;
  color: var(--dim);
  font-style: italic;
  margin-bottom: 1rem;
}

.map-card ul {
  list-style: none;
  padding: 0;
}

.map-card li {
  font-size: .88rem;
  color: var(--dim);
  padding: .55rem 0 .55rem 1.1rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.map-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.map-card li strong {
  color: var(--text);
}

.ethics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 3.5rem 2rem;
  color: var(--dim);
  font-size: .83rem;
  border-top: 1px solid var(--border);
  background: #EAE2D4;
}

/* ANIMATION — preserves existing reveal behaviour */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ACCESSIBILITY */

button:focus-visible,
a:focus-visible,
.card:focus-visible,
.hind-card:focus-visible,
.jhana-step:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .layer-nav {
    min-height: 62px;
    padding: .65rem .8rem;
    gap: .35rem;
  }

  .layer-nav .logo {
    flex-basis: 100px;
    width: 100px;
    height: 25px;
    margin-right: .35rem;
  }

  .layer-nav a {
    font-size: .74rem;
    padding: .45rem .55rem;
  }

  .hero {
    min-height: 680px;
    padding: 5rem 1.2rem;
    background-position: center;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 6rem);
  }

  .hero .sub {
    font-size: 1.1rem;
  }

  .hero .tag {
    font-size: .82rem;
  }

  .hero .btn {
    margin: .3rem;
  }

  section {
    padding: 3.5rem 1.1rem;
  }

  .grid,
  .emg-grid,
  .map-grid,
  .ethics-grid {
    grid-template-columns: 1fr;
  }

  .quiz-box {
    padding: 1.4rem;
  }

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

  .jhana-step {
    padding: 1.5rem;
  }

  .breath-ctrl {
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-sec {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 620px;
  }

  .hero > div:not(.scroll-ind) {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    gap: .55rem;
  }

  .hero .btn {
    width: 100%;
    margin: 0;
  }

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

  .card-h {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* MONKS CAVE BREATH PLAYER V3 */

.breath-player-heading {
    text-align: center;
    margin-bottom: .5rem;
}

.breath-player-heading h3 {
    color: #171512;
    font-family: inherit;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: .25rem;
}

.breath-player-heading p {
    color: #62536F;
    font-size: .9rem;
}

.breath-guide-text {
    max-width: 650px;
    margin: .5rem auto 1rem;
    color: #625E57;
    font-size: .92rem;
    line-height: 1.7;
    text-align: center;
}

.breath-cycle-counter {
    margin-top: .25rem;
    color: #171512;
    font-size: .95rem;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.breath-phase-cue {
    max-width: 600px;
    min-height: 2.8rem;
    margin: .75rem auto;
    color: #62536F;
    font-size: .95rem;
    line-height: 1.6;
    text-align: center;
}

.breath-player-status {
    margin: .25rem auto .5rem;
    color: #8A8175;
    font-size: .8rem;
    text-align: center;
}

.breath-ctrl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
}

.breath-ctrl button:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#breathGrid .card.breath-selected {
    border-color: #D99A45;
    box-shadow: 0 0 0 2px rgba(217,154,69,.16);
}

#breathGrid .card.breath-selected .card-n {
    color: #B77827 !important;
}

#breathGrid .card-f .breath-use-btn {
    background: #D99A45;
    border-color: #D99A45;
    color: #171512;
    font-weight: 700;
}

#breathGrid .card-f .breath-use-btn:hover {
    background: #E5AD62;
    border-color: #E5AD62;
    color: #171512;
}

#breathGrid .card-f .breath-use-btn:focus-visible,
.breath-ctrl button:focus-visible {
    outline: 3px solid #62536F;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .breath-ctrl {
        width: 100%;
    }

    .breath-ctrl button {
        flex: 1;
        min-width: 85px;
    }

    #breathGrid .card-f {
        flex-direction: column;
    }

    #breathGrid .card-f button {
        width: 100%;
    }

    .breath-phase-cue {
        min-height: 3.5rem;
    }
}

/* END MONKS CAVE BREATH PLAYER V3 */

/* MONKS CAVE ABOUT PAGE V1 */

.about-page {
    min-height: 100vh;
    color: #171512;
    padding-bottom: 3rem;
}

.about-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(4.5rem, 10vw, 8rem) 1.5rem 2.5rem;
    text-align: center;
}

.about-kicker {
    color: #A07843;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.about-hero h1 {
    color: #171512;
    font-size: clamp(2.6rem, 7vw, 3.4rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.1;
}

.about-story {
    max-width: 650px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    color: #39352F;
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: left;
}

.about-story p {
    margin: 0 0 1.35rem;
}

.about-story strong {
    color: #171512;
}

.about-story em {
    color: #62536F;
}

.about-divider {
    width: 52px;
    height: 2px;
    margin: 3rem auto;
    background: #D99A45;
}

.about-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.7rem 1.5rem;
}

.about-section > h2 {
    color: #171512;
    font-size: clamp(1.65rem, 4vw, 2rem);
    letter-spacing: -.025em;
    margin-bottom: 1.2rem;
    text-align: center;
}

.about-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: stretch;
}

.about-panel {
    padding: 1.6rem;
    border: 1px solid rgba(23,21,18,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.32);
}

.about-panel h3 {
    color: #62536F;
    font-size: 1.08rem;
    margin-bottom: .7rem;
}

.about-panel p {
    color: #514B43;
    font-size: .98rem;
    line-height: 1.8;
    margin-bottom: .8rem;
}

.about-name {
    max-width: 700px;
    margin: 2rem auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

.about-name h2 {
    max-width: 580px;
    margin: 0 auto 1.3rem;
    color: #171512;
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 600;
    line-height: 1.35;
}

.about-name p:not(.about-kicker) {
    color: #756D61;
    font-size: .96rem;
    line-height: 1.8;
    margin: .55rem auto;
}

.about-sources {
    max-width: 650px;
    margin: 1rem auto;
    padding: 1.5rem;
    border-top: 1px solid rgba(23,21,18,.14);
}

.about-sources h2 {
    color: #62536F;
    font-size: 1rem;
    margin-bottom: .8rem;
}

.about-sources p {
    font-size: .86rem;
    line-height: 1.8;
    margin: .35rem 0;
}

.about-page a,
.about-sources a {
    color: #74552F;
    text-decoration: underline;
    text-decoration-color: rgba(116,85,47,.35);
    text-underline-offset: 3px;
}

.about-page a:hover {
    color: #A07843;
}

.about-fineprint {
    max-width: 650px;
    margin: 1rem auto;
    padding: 1.7rem 1.5rem;
    border-top: 1px solid rgba(23,21,18,.14);
}

.about-fineprint h2 {
    color: #777064;
    font-size: .9rem;
    margin-bottom: .8rem;
}

.about-fineprint p {
    color: #827A6F;
    font-size: .79rem;
    line-height: 1.8;
    margin-bottom: .7rem;
}

.about-return {
    padding: 1.5rem;
    text-align: center;
    font-size: .92rem;
    font-weight: 600;
}

.about-current {
    color: #171512 !important;
    background: rgba(217,154,69,.18);
}

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

    .about-hero {
        padding-top: 4rem;
    }

    .about-section {
        padding: 2rem 1rem;
    }

    .about-story {
        font-size: 1.02rem;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .about-name {
        padding: 2rem 1.2rem;
    }
}

/* END MONKS CAVE ABOUT PAGE V1 */
