/* =========================================================================
   Narad — asknarad.com
   Tokens
   ========================================================================= */

:root {
  --saffron:       #FF8B3D;
  --saffron-deep:  #E5742A;
  --saffron-soft:  #FFD3A8;
  --maroon:        #3A0F0F;
  --maroon-soft:   #5B1A1A;
  --gold:          #D4A017;
  --gold-soft:     #F0CB6B;
  --ivory:         #FAF3E0;
  --paper:         #FFF8EC;
  --text:          #2A1A0A;
  --text-soft:     #5A4634;
  --text-mute:     #8B7964;
  --border:        rgba(58, 15, 15, 0.12);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --shadow-soft: 0 4px 24px rgba(58, 15, 15, 0.06);
  --shadow-mid:  0 12px 40px rgba(58, 15, 15, 0.10);

  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', 'Georgia', serif;

  --container: 1120px;
}

/* =========================================================================
   Reset + base
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--saffron-deep); text-decoration: none; }
a:hover, a:focus { color: var(--maroon); text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.005em; color: var(--maroon); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }
strong { color: var(--maroon); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* =========================================================================
   Header
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 236, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--maroon); }
.brand:hover, .brand:focus { text-decoration: none; color: var(--maroon); }
/* Header + footer brand mark.
   <span class="brand-mark"><img src="narad-logo.jpg"></span>
   The span is the perfect circle container (overflow:hidden); the inner img
   is scaled up to ~135% and centered so the JPG's black corners fall
   outside the circle and only the maroon-rounded-square + figure are
   visible. No border, no shadow. */
.brand-mark {
  display: inline-block;
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark.small { width: 44px; height: 44px; }
.brand-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 135%;
  height: 135%;
  transform: translate(-50%, -50%);
  display: block;
  object-fit: cover;
}
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.01em; }
.site-nav { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 22px); font-size: 0.95rem; }
.site-nav a { color: var(--text-soft); font-weight: 500; }
.site-nav a:hover, .site-nav a:focus { color: var(--saffron-deep); text-decoration: none; }
@media (max-width: 800px) {
  .site-nav { display: none; }
}

/* Language switcher */
.lang-switcher { position: relative; }
.lang-switcher summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary:hover, .lang-switcher[open] summary {
  border-color: var(--saffron-soft);
  color: var(--saffron-deep);
  background: var(--ivory);
}
.lang-switcher summary svg { width: 18px; height: 18px; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-mid);
  z-index: 60;
}
.lang-menu-head, .lang-menu-foot {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}
.lang-menu-head { margin-bottom: 8px; }
.lang-menu-foot { margin-top: 10px; font-style: italic; text-transform: none; letter-spacing: 0; color: var(--text-mute); }
.lang-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}
.lang-menu li {
  font-size: 0.95rem;
  color: var(--text);
  padding: 2px 0;
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212, 160, 23, 0.18), transparent 50%),
    radial-gradient(ellipse at 20% 90%, rgba(255, 139, 61, 0.22), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, #FFE9CC 100%);
  padding-block: clamp(60px, 9vw, 110px);
}
.hero-glow {
  position: absolute;
  inset: -40% 30% auto auto;
  width: 60vw;
  max-width: 800px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 211, 127, 0.35), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mandala { order: -1; max-width: 320px; margin-inline: auto; }
}
.hero-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--saffron-deep);
  margin-bottom: .25em;
  letter-spacing: 0.01em;
}
.hero h1 { color: var(--maroon); margin-bottom: .5em; }
.hero-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--text-soft);
  max-width: 60ch;
  line-height: 1.65;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-small { font-size: 0.92rem; color: var(--text-mute); margin-top: 18px; }

.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: var(--maroon);
  color: var(--ivory);
  font-size: 0.95rem;
  box-shadow: var(--shadow-mid);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.badge-link:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(58, 15, 15, 0.18); text-decoration: none; color: var(--ivory); }
.badge-link small { display: block; font-size: 0.72rem; opacity: 0.72; text-transform: uppercase; letter-spacing: 0.06em; }
.badge-link strong { color: var(--ivory); font-size: 1.05rem; }
.badge-icon { width: 24px; height: 24px; stroke: var(--saffron); }
.badge-disabled { background: var(--text-soft); cursor: not-allowed; opacity: 0.85; }
.badge-disabled:hover { transform: none; }

.hero-mandala { display: flex; align-items: center; justify-content: center; }
.mandala-svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 8px 36px rgba(255, 139, 61, 0.18));
}
/* Rotation is driven by SMIL animateTransform inside the SVG — handles its
   own coordinate math so it stays correctly centered. Reduced-motion users
   only get the 240s/rev spin which is barely perceptible. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Language strip (between hero and features) */
.lang-strip {
  background: linear-gradient(180deg, var(--maroon) 0%, var(--maroon-soft) 100%);
  color: var(--ivory);
  padding-block: 32px;
  text-align: center;
  border-block: 1px solid rgba(212, 160, 23, 0.18);
}
.lang-strip-label {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--gold-soft);
  letter-spacing: 0.01em;
}
.lang-strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 18px);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
}
.lang-strip-list li {
  position: relative;
  color: var(--ivory);
  font-weight: 500;
}
.lang-strip-list li + li::before {
  content: "·";
  color: var(--gold);
  margin-right: clamp(8px, 1.6vw, 18px);
  margin-left: 0;
  opacity: 0.8;
}

/* =========================================================================
   Sections
   ========================================================================= */

.section { padding-block: clamp(56px, 8vw, 96px); }
.section-features { background: var(--paper); }
.section-how { background: linear-gradient(180deg, var(--paper), var(--ivory)); }
.section-about { background: var(--ivory); }
.section-faq { background: var(--paper); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--saffron-deep);
  margin-bottom: .25em;
}
.section-lede { color: var(--text-soft); font-size: 1.05rem; }

/* Features grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.section-features .feature-card { background: var(--ivory); }
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-mid);
  border-color: var(--saffron-soft);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  color: var(--ivory);
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(255, 139, 61, 0.32);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { color: var(--maroon); margin-bottom: 8px; }
.feature-card p { color: var(--text-soft); margin: 0; font-size: 0.97rem; }

/* How it works */
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  max-width: 760px;
  margin-inline: auto;
}
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  box-shadow: var(--shadow-soft);
}
.step-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  text-align: center;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--text-soft); margin: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-copy h2 { color: var(--maroon); }
.about-copy p { color: var(--text-soft); }
.about-values {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.about-values h3 { margin-bottom: 16px; color: var(--maroon); }
.about-values ul { margin: 0; padding-left: 1.1em; color: var(--text-soft); }
.about-values li { margin-bottom: 12px; }
.about-values li strong { color: var(--maroon); }

/* FAQ */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 16px; }
.faq-list details {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.faq-list details[open] {
  border-color: var(--saffron-soft);
  background: var(--paper);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--maroon);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--saffron-deep);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 12px 0 0; color: var(--text-soft); }

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  background: var(--maroon);
  color: var(--ivory);
  padding-block: 48px 36px;
}
.site-footer a { color: var(--saffron-soft); }
.site-footer a:hover, .site-footer a:focus { color: var(--ivory); text-decoration: underline; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand-name { font-family: var(--serif); font-size: 1.3rem; margin: 0; font-weight: 700; }
.footer-tag { margin: 2px 0 0; font-size: 0.9rem; opacity: 0.72; font-style: italic; }
.footer-nav { display: flex; gap: clamp(12px, 2vw, 22px); flex-wrap: wrap; font-size: 0.95rem; justify-content: center; }
.footer-copy { font-size: 0.85rem; opacity: 0.72; margin: 0; text-align: right; }
@media (max-width: 800px) { .footer-copy { text-align: center; } }

/* =========================================================================
   Policy pages (terms / privacy / booking-cancellation)
   - Pandoc-generated content lives inside .policy-content
   ========================================================================= */

.policy-shell { background: var(--paper); padding-block: clamp(40px, 6vw, 72px); min-height: 60vh; }
.policy-content {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text);
}
.policy-content h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  border-bottom: 2px solid var(--saffron-soft);
  padding-bottom: 0.4em;
  margin-bottom: 0.8em;
}
.policy-content h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  margin-top: 2em;
  color: var(--maroon-soft);
}
.policy-content h3 {
  font-size: 1.15rem;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--saffron-deep);
  margin-top: 1.6em;
}
.policy-content a { color: var(--saffron-deep); text-decoration: underline; }
.policy-content a:hover { color: var(--maroon); }
.policy-content ul, .policy-content ol { padding-left: 1.4em; }
.policy-content li { margin-bottom: 0.4em; }
.policy-content table { width: 100%; border-collapse: collapse; margin-block: 1.4em; font-size: 0.95rem; }
.policy-content th, .policy-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.policy-content th { background: var(--ivory); color: var(--maroon); font-family: var(--serif); }
.policy-content blockquote {
  border-left: 4px solid var(--saffron);
  padding: 0.4em 0 0.4em 1.2em;
  margin: 1.4em 0;
  color: var(--text-soft);
  background: var(--ivory);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}
.policy-content code {
  background: var(--ivory);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--maroon);
}
.policy-content pre {
  background: var(--maroon);
  color: var(--ivory);
  padding: 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.9em;
  line-height: 1.5;
}
.policy-content pre code { background: transparent; color: inherit; padding: 0; }
.policy-content hr { border: 0; border-top: 1px solid var(--border); margin-block: 2em; }
.policy-meta {
  font-size: 0.9rem;
  color: var(--text-mute);
  font-style: italic;
  margin-bottom: 2em;
}

/* =========================================================================
   Error pages (404 / 50x)
   ========================================================================= */

.error-shell {
  background: linear-gradient(180deg, var(--paper) 0%, #FFE9CC 100%);
  padding-block: clamp(60px, 10vw, 120px);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-shell-full {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212, 160, 23, 0.18), transparent 50%),
    radial-gradient(ellipse at 20% 90%, rgba(255, 139, 61, 0.22), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, #FFE9CC 100%);
}
.error-content {
  text-align: center;
  max-width: 640px;
}
.error-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--saffron-deep);
  margin-bottom: .3em;
  text-transform: uppercase;
}
.error-content h1 { font-size: clamp(1.8rem, 4.4vw, 3rem); margin-bottom: 0.6em; }
.error-content p { color: var(--text-soft); font-size: 1.05rem; }
.error-links {
  list-style: none;
  padding: 0;
  margin: 28px auto 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.error-links a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--saffron-deep);
  font-weight: 600;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.error-links a:hover, .error-links a:focus {
  border-color: var(--saffron);
  color: var(--maroon);
  text-decoration: none;
}
.error-foot { font-size: 0.95rem; color: var(--text-mute); margin-top: 24px; }

/* =========================================================================
   Print
   ========================================================================= */

@media print {
  .site-header, .site-footer, .hero-ctas, .badge-link { display: none; }
  body { background: white; color: black; }
  .policy-content a { color: black; text-decoration: underline; }
}
