/* =====================================================
   KAHKIYAW HEALING HAVEN - ART DIRECTION PASS
   Palette and atmosphere inspired by the pamphlet artwork.
   ===================================================== */

:root {
  --orange-deep: #8f2e0b;
  --orange: #c85c1c;
  --orange-soft: #e8843a;
  --amber: #f5c06a;

  --teal-deep: #0f3a38;
  --teal: #1a5e5c;
  --teal-soft: #2a8080;
  --teal-light: #67b5bc;

  --sand-0: #fff8e9;
  --sand-1: #f8edd2;
  --sand-2: #efdfb9;
  --sand-3: #e5d0a5;

  --ink: #2a1505;
  --ink-soft: rgba(42, 21, 5, 0.74);

  --radius-xl: 1.35rem;
  --radius-lg: 1rem;
  --radius-md: 0.78rem;

  --shadow-soft: 0 12px 32px rgba(42, 21, 5, 0.14);
  --shadow-deep: 0 22px 56px rgba(16, 58, 56, 0.28);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 36px rgba(245, 192, 106, 0.25);

  --site-max: 1180px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  line-height: 1.66;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 38% 32% at 86% -6%, rgba(245, 192, 106, 0.56), transparent 72%),
    radial-gradient(ellipse 33% 29% at 9% 8%, rgba(103, 181, 188, 0.32), transparent 70%),
    linear-gradient(180deg, #fff7e8 0%, #f8edd4 36%, #f2e4c2 66%, #e6efe8 100%);
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 22% 14% at 14% 80%, rgba(26, 94, 92, 0.17), transparent 78%),
    radial-gradient(ellipse 26% 17% at 90% 38%, rgba(200, 92, 28, 0.18), transparent 80%),
    repeating-linear-gradient(
      -35deg,
      rgba(42, 21, 5, 0.012) 0px,
      rgba(42, 21, 5, 0.012) 2px,
      transparent 2px,
      transparent 13px
    );
}

/* ---- Type ---- */
h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  font-family: "Fraunces", serif;
}

p { margin: 0; color: var(--ink-soft); }
a { color: inherit; }

.eyebrow {
  margin: 0;
  font-family: "Dancing Script", cursive;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--orange);
  line-height: 1;
}

/* =====================================================
   Header
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: min(var(--site-max), calc(100% - 1.6rem));
  margin: 0.8rem auto 0;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(120deg, rgba(255, 248, 230, 0.9), rgba(246, 236, 210, 0.82));
  border: 1px solid rgba(200, 92, 28, 0.24);
  box-shadow: 0 10px 26px rgba(42, 21, 5, 0.12);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  text-decoration: none;
}

.brand-logo {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(200, 92, 28, 0.35));
}

.brand-text {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 650;
  color: var(--orange);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.3rem;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1f6461;
  padding: 0.55rem 0.88rem;
  border-radius: 999px;
  transition: 180ms ease;
}

.nav-list a:hover {
  color: #fff;
  background: linear-gradient(118deg, var(--orange), var(--teal));
}

/* =====================================================
   Main layout
   ===================================================== */
main {
  width: min(var(--site-max), calc(100% - 1.6rem));
  margin: 1rem auto 0;
  display: grid;
  gap: 1.1rem;
}

.section {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(42, 21, 5, 0.13);
  padding: clamp(1.25rem, 2.8vw, 2.2rem);
  box-shadow: var(--shadow-soft);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 40% 20% at 12% 0%, rgba(255, 255, 255, 0.35), transparent 75%),
    radial-gradient(ellipse 34% 18% at 90% 100%, rgba(103, 181, 188, 0.14), transparent 75%);
}

.section-head {
  position: relative;
  z-index: 2;
  margin-bottom: 1.3rem;
}

.section-head h2 {
  margin-top: 0.2rem;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  color: var(--teal-deep);
}

.section-head-centered {
  text-align: center;
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
  min-height: min(84vh, 790px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  align-items: stretch;
  border-radius: 1.5rem;
  border: 1px solid rgba(42, 21, 5, 0.12);
  padding: clamp(1.2rem, 2.6vw, 2.1rem);
  background:
    radial-gradient(ellipse 56% 46% at 72% 64%, rgba(245, 192, 106, 0.58), transparent 76%),
    linear-gradient(180deg,
      #be3e2a 0%,
      #d9602f 17%,
      #e9853a 32%,
      #f5c06a 47%,
      #c9e4e7 65%,
      #79bdc2 83%,
      #1f6f73 100%);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 38% 17% at 20% 18%, rgba(255, 255, 255, 0.24), transparent 76%),
    radial-gradient(ellipse 44% 20% at 78% 18%, rgba(255, 242, 210, 0.2), transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -11rem;
  height: 14rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(6, 44, 43, 0.42));
  filter: blur(8px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(1rem, 2.2vw, 1.7rem);
  border-radius: 1.2rem;
  background:
    linear-gradient(145deg, rgba(12, 48, 57, 0.58), rgba(8, 30, 36, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.hero-copy .eyebrow {
  color: rgba(255, 236, 204, 0.96);
}

.hero-copy h1 {
  margin-top: 0.44rem;
  font-size: clamp(2.15rem, 6.1vw, 4.4rem);
  color: #fff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero-copy .lead {
  margin-top: 0.95rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.85vw, 1.16rem);
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
}

.button {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.8rem 1.22rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 160ms, box-shadow 160ms;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.24);
}

.button-primary {
  background: linear-gradient(125deg, var(--orange), var(--orange-soft));
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
}

.hero-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-tags span {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
}

.hero-art {
  position: relative;
  z-index: 2;
  min-height: 100%;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    radial-gradient(circle at 44% 18%, rgba(255, 241, 205, 0.36), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(10, 56, 54, 0.42));
}

.hero-sun {
  position: absolute;
  left: 50%;
  top: 35%;
  width: clamp(185px, 33vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 244, 181, 0.97) 0%, rgba(245, 192, 106, 0.74) 38%, rgba(245, 192, 106, 0) 76%);
}

.hero-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(189px, 27vw, 263px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 12px 24px rgba(42, 21, 5, 0.38));
}

.hero-mountains {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 56%;
}

/* =====================================================
   About
   ===================================================== */
.about {
  background:
    linear-gradient(160deg, rgba(252, 244, 228, 0.95) 0%, rgba(245, 232, 203, 0.92) 58%, rgba(233, 243, 237, 0.88) 100%);
}

.about-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.story-card,
.values-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(42, 21, 5, 0.11);
  padding: 1.05rem;
  background: rgba(255, 253, 245, 0.9);
}

.story-card {
  display: grid;
  gap: 0.8rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.values-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  background:
    radial-gradient(circle at 78% 0%, rgba(245, 192, 106, 0.25), transparent 58%),
    rgba(255, 252, 242, 0.9);
}

.values-logo {
  width: 8.4rem;
  margin-inline: auto;
  filter: drop-shadow(0 6px 12px rgba(200, 92, 28, 0.22));
}

.values-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.values-card li {
  border-radius: 0.72rem;
  border: 1px solid rgba(200, 92, 28, 0.16);
  background: rgba(244, 233, 205, 0.72);
  padding: 0.55rem 0.64rem;
  font-size: 0.92rem;
}

/* =====================================================
   Services
   ===================================================== */
.services {
  background:
    linear-gradient(158deg, rgba(249, 241, 221, 0.95) 0%, rgba(243, 227, 197, 0.92) 48%, rgba(229, 241, 236, 0.9) 100%);
}

.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(246, 234, 205, 0.84)) padding-box,
    linear-gradient(128deg, rgba(200, 92, 28, 0.52), rgba(42, 128, 128, 0.42)) border-box;
  padding: 0.9rem;
  box-shadow: 0 9px 24px rgba(42, 21, 5, 0.1);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(42, 21, 5, 0.16);
}

.service-card h3 {
  margin-top: 0.15rem;
  font-size: 1.2rem;
  color: var(--teal-deep);
}

.service-card p {
  font-size: 0.93rem;
}

.service-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.98rem;
  border: 1px solid rgba(200, 92, 28, 0.22);
  box-shadow: 0 5px 16px rgba(42, 21, 5, 0.11);
}

.text-link {
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--orange);
}

.text-link:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* =====================================================
   Quote strip
   ===================================================== */
.quote-strip {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  padding: clamp(1.4rem, 3.7vw, 2.5rem);
  background: linear-gradient(122deg, #bf4d19 0%, #a93d12 37%, #1a5e5c 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-deep);
}

.quote-strip::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.23), transparent 72%);
}

.quote-strip blockquote {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 68ch;
  font-family: "Fraunces", serif;
  font-size: clamp(1.22rem, 2.7vw, 1.95rem);
  line-height: 1.35;
}

.quote-strip p {
  position: relative;
  z-index: 2;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 600;
}

/* =====================================================
   Contact
   ===================================================== */
.contact {
  background:
    linear-gradient(156deg, rgba(249, 241, 220, 0.95) 0%, rgba(244, 229, 198, 0.9) 44%, rgba(225, 241, 236, 0.9) 100%);
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card,
.contact-note {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(42, 21, 5, 0.11);
  background: rgba(255, 253, 245, 0.88);
  padding: 1rem;
}

.contact-card h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  border-radius: 0.78rem;
  border: 1px solid rgba(200, 92, 28, 0.16);
  background: rgba(242, 231, 203, 0.7);
  padding: 0.55rem 0.72rem;
}

.contact-list span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--orange);
}

.contact-list a,
.contact-list strong {
  font-size: 0.94rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.contact-note {
  display: grid;
  align-content: space-between;
  gap: 0.9rem;
}

.contact-note p {
  font-size: 1.02rem;
  line-height: 1.74;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-link {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-soft));
  box-shadow: 0 6px 20px rgba(26, 94, 92, 0.24);
  transition: transform 170ms, background 170ms;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--orange-soft), var(--orange));
}

.social-link svg {
  width: 1.14rem;
  height: 1.14rem;
  fill: currentColor;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  width: min(var(--site-max), calc(100% - 1.6rem));
  margin: 1.1rem auto 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(42, 21, 5, 0.12);
  padding: 1rem;
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(130deg, var(--teal-deep), var(--teal));
}

.site-footer p {
  color: #fff;
}

/* =====================================================
   Animation
   ===================================================== */
.reveal {
  animation: rise-in 760ms ease both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-art {
    min-height: 330px;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 1rem);
    border-radius: 1rem;
    margin-top: 0.58rem;
    padding: 0.72rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.46rem;
  }

  .brand { justify-content: center; }

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

  main,
  .site-footer {
    width: calc(100% - 1rem);
  }

  .hero-copy {
    padding: 1rem;
  }

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

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .hero-tags span {
    font-size: 0.7rem;
  }
}

/* =====================================================
   Shared styles for sub-pages
   ===================================================== */
.page-background { display: none; }

.panel,
.card {
  background: rgba(255, 252, 243, 0.92);
  border: 1px solid rgba(42, 21, 5, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
}

.content-page {
  width: min(860px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 2.2rem 0 4rem;
}

.content-page h1 {
  color: var(--teal-deep);
  font-size: clamp(1.8rem, 4.8vw, 3rem);
}

.content-page h2,
.content-page h3 {
  margin-top: 1.4rem;
  color: var(--teal-deep);
}

.content-page p,
.content-page li {
  color: var(--ink-soft);
}

.content-page a {
  color: var(--orange);
  font-weight: 700;
}

.not-found-section {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1rem;
  padding: 4rem 1rem;
}

.not-found-glyph {
  width: min(180px, 45vw);
}

.not-found-label {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  font-weight: 700;
}

.not-found-heading {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.6rem);
}

.not-found-body {
  max-width: 42ch;
}
