:root {
  --ink: #151917;
  --ink-soft: #222824;
  --paper: #f3efe6;
  --paper-deep: #e7dfd0;
  --copper: #bd6c35;
  --copper-light: #e7a06a;
  --moss: #455c4c;
  --line-dark: rgba(255,255,255,.16);
  --line-light: rgba(21,25,23,.17);
  --shadow: 0 30px 80px rgba(13,17,15,.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; color: #111; padding: 10px 14px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: #fff;
  border-bottom: 1px solid var(--line-dark);
}
.site-header.inner { position: relative; background: var(--ink); }
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; letter-spacing: .01em; }
.brand-mark { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; display: grid; place-items: center; }
.brand-mark svg { width: 20px; }
.brand span:last-child { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.76); text-decoration: none; font-size: .93rem; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-cta { border: 1px solid rgba(255,255,255,.44); border-radius: 999px; padding: 10px 18px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 24px; height: 1px; background: currentColor; margin: 6px auto; transition: transform .2s ease, opacity .2s ease; }

.hero { min-height: 760px; position: relative; display: grid; align-items: end; color: #fff; background: #101411 url("assets/banya-hero.jpg") center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,9,.84) 0%, rgba(8,11,9,.52) 45%, rgba(8,11,9,.1) 80%), linear-gradient(0deg, rgba(8,11,9,.76), transparent 48%); }
.hero-content { position: relative; z-index: 2; padding: 170px 0 88px; }
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 750; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--copper-light); }
.hero h1, .page-hero h1, .display { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: .98; }
.hero h1 { max-width: 720px; margin: 24px 0; font-size: clamp(4rem, 8vw, 7.8rem); }
.hero-copy { max-width: 560px; margin: 0 0 34px; color: rgba(255,255,255,.76); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 720; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--copper); color: #fff; }
.button.primary:hover { background: #ca7840; }
.button.ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.button.dark { background: var(--ink); color: #fff; }
.button.outline { border-color: var(--line-light); color: var(--ink); }

.hero-notes { position: absolute; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); width: min(52%, 740px); background: rgba(18,23,20,.84); backdrop-filter: blur(18px); border-top: 1px solid var(--line-dark); }
.hero-note { min-height: 116px; padding: 24px 28px; border-left: 1px solid var(--line-dark); }
.hero-note strong { display: block; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.hero-note span { color: rgba(255,255,255,.55); font-size: .82rem; }

.section { padding: 110px 0; }
.section.dark { background: var(--ink); color: #fff; }
.section.deep { background: var(--ink-soft); color: #fff; }
.section-head { display: grid; grid-template-columns: .8fr 1.4fr; gap: 70px; align-items: end; margin-bottom: 60px; }
.section-head h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.section-head p { max-width: 600px; margin: 0; color: #5c655f; font-size: 1.05rem; }
.dark .section-head p, .deep .section-head p { color: rgba(255,255,255,.6); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.principle { padding: 36px 34px 10px 0; border-right: 1px solid var(--line-light); }
.principle + .principle { padding-left: 34px; }
.principle:last-child { border-right: 0; }
.principle .num, .ritual-card .num { color: var(--copper); font-size: .78rem; letter-spacing: .15em; }
.principle h3 { margin: 36px 0 12px; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.principle p { color: #69716c; }

.quote-band { padding: 90px 0; background: var(--moss); color: #fff; }
.quote-band blockquote { margin: 0; max-width: 920px; font-family: Georgia, serif; font-size: clamp(2.1rem, 4.5vw, 4.5rem); line-height: 1.12; letter-spacing: -.025em; }
.quote-band cite { display: block; margin-top: 28px; color: rgba(255,255,255,.58); font-family: Inter, sans-serif; font-size: .85rem; font-style: normal; letter-spacing: .13em; text-transform: uppercase; }

.page-hero { background: var(--ink); color: #fff; padding: 110px 0 88px; }
.page-hero .eyebrow { color: var(--copper-light); }
.page-hero h1 { max-width: 900px; margin: 28px 0 24px; font-size: clamp(3.5rem, 7vw, 7rem); }
.page-hero p { max-width: 660px; color: rgba(255,255,255,.62); font-size: 1.13rem; }

.ritual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ritual-card { min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; padding: 38px; border: 1px solid var(--line-light); background: rgba(255,255,255,.32); }
.ritual-card:nth-child(2), .ritual-card:nth-child(3) { background: var(--paper-deep); }
.ritual-card h2 { margin: 12px 0; font-family: Georgia, serif; font-size: 2.25rem; font-weight: 400; }
.ritual-card p { max-width: 480px; color: #626b65; }
.ritual-meta { display: flex; gap: 26px; padding-top: 24px; border-top: 1px solid var(--line-light); color: #6b746e; font-size: .85rem; }

.timeline { position: relative; max-width: 900px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 26px; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.18); }
.timeline-item { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 30px; padding: 0 0 62px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); border: 1px solid rgba(255,255,255,.35); color: var(--copper-light); font-size: .8rem; z-index: 1; }
.timeline-item h2 { margin: 3px 0 8px; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.timeline-item p { margin: 0; color: rgba(255,255,255,.58); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.guide-card { min-height: 280px; padding: 32px; background: var(--paper); }
.guide-card svg { width: 32px; height: 32px; color: var(--copper); }
.guide-card h2 { margin: 48px 0 10px; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.guide-card p { color: #626b65; }
.notice { margin-top: 26px; padding: 24px 28px; border-left: 3px solid var(--copper); background: var(--paper-deep); }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; }
.contact-copy h2 { margin: 0 0 20px; font-family: Georgia, serif; font-size: 3rem; font-weight: 400; line-height: 1.05; }
.contact-copy p { color: #616a64; }
.contact-list { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.contact-list span { color: #717973; }
.contact-form { padding: 42px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #b8beb9; border-radius: 0; background: transparent; padding: 12px 0; color: var(--ink); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--copper); box-shadow: 0 1px 0 var(--copper); }
.form-note { margin: 18px 0; color: #747c76; font-size: .82rem; }
.form-status { min-height: 26px; margin-top: 16px; color: var(--moss); font-weight: 700; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 56px; background: var(--copper); color: #fff; }
.cta h2 { max-width: 690px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 400; line-height: 1.05; }
.cta .button { flex: none; background: #fff; color: var(--ink); }

.site-footer { padding: 58px 0 28px; background: #0e120f; color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; padding-bottom: 45px; }
.footer-top p { max-width: 430px; color: rgba(255,255,255,.5); }
.footer-col strong { display: block; margin-bottom: 16px; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.42); }
.footer-col a { display: block; width: fit-content; margin: 8px 0; text-decoration: none; color: rgba(255,255,255,.76); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.38); font-size: .8rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 80px 32px; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
  .nav-links a { font-family: Georgia, serif; font-size: 2rem; }
  .nav-open .nav-links { opacity: 1; visibility: visible; z-index: 10; }
  .nav-open .nav-toggle { position: relative; z-index: 11; }
  .nav-open .nav-toggle span { opacity: 0; }
  .nav-open .nav-toggle::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle::after { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 720px; }
  .hero-content { padding-bottom: 210px; }
  .hero-notes { width: 100%; }
  .section-head, .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .principles, .guide-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .ritual-grid { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .nav { height: 72px; }
  .hero { min-height: 700px; }
  .hero h1 { font-size: clamp(3.3rem, 18vw, 5.2rem); }
  .hero-content { padding-top: 140px; padding-bottom: 250px; }
  .hero-copy { font-size: 1rem; }
  .hero-notes { grid-template-columns: 1fr; }
  .hero-note { min-height: auto; padding: 14px 20px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-note strong { font-size: 1.1rem; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .page-hero { padding: 80px 0 64px; }
  .ritual-card, .contact-form { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .timeline-item { gap: 18px; }
  .cta { padding: 34px 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
