:root {
  --ink: #090806;
  --ink-soft: #12100c;
  --paper: #f3ebda;
  --paper-soft: #d8cfbd;
  --gold: #c9a35c;
  --gold-bright: #e3c67f;
  --line: rgba(227, 198, 127, .23);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(24px, 6vw, 92px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark {
  width: 43px; height: 43px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  font-family: "Cormorant Garamond", serif; font-size: 18px; color: var(--gold-bright);
}
.brand strong { display: block; font-family: "Cormorant Garamond", serif; font-size: 22px; letter-spacing: .02em; }
.brand small { display: block; color: #aaa18f; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { color: #d5ccb9; font-size: 14px; text-decoration: none; }
.nav-contact { border: 1px solid var(--gold); padding: 10px 18px; border-radius: 999px; }

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 4vw;
  padding: 150px clamp(24px, 8vw, 130px) 75px;
  background:
    linear-gradient(90deg, rgba(5,4,3,.99) 0%, rgba(5,4,3,.93) 35%, rgba(5,4,3,.38) 58%, rgba(5,4,3,.08) 100%),
    url("orunmila-nature-hero.png") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent, #000 50%, transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 790px; }
.orunmila-identification {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 5vw, 80px);
  bottom: 48px;
  width: min(330px, 36vw);
  padding: 18px 22px;
  border-left: 1px solid var(--gold);
  background: linear-gradient(90deg, rgba(9,8,6,.82), rgba(9,8,6,.18));
  text-shadow: 0 2px 16px rgba(0,0,0,.85);
}
.orunmila-identification span,
.orunmila-identification small { display: block; }
.orunmila-identification span { color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.orunmila-identification strong { display: block; margin: 4px 0 2px; font-family: "Cormorant Garamond", serif; font-size: 34px; line-height: 1; }
.orunmila-identification small { color: #d8cfbd; font-size: 12px; line-height: 1.45; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Cormorant Garamond", serif; line-height: .98; font-weight: 600; }
h1 { margin: 0; max-width: 820px; font-size: clamp(58px, 8vw, 116px); letter-spacing: -.045em; }
h1 em { color: var(--gold-bright); font-weight: 500; }
.hero-copy { max-width: 670px; margin: 30px 0 35px; color: var(--paper-soft); font-size: clamp(17px, 1.55vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 54px; padding: 13px 24px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #141008; }
.button-primary:hover { background: var(--gold-bright); }
.button-quiet { border: 1px solid rgba(255,255,255,.22); color: var(--paper); }
.service-strip { display: flex; gap: clamp(18px, 4vw, 54px); margin: 65px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-strip li { color: #bfb5a2; font-size: 13px; }
.service-strip span { margin-right: 8px; color: var(--gold); font-size: 11px; }

.purpose, .wisdom, .services, .contact { padding: clamp(80px, 11vw, 150px) clamp(24px, 8vw, 130px); }
.purpose { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; background: var(--paper); color: #15110b; }
.purpose h2, .section-heading h2, .contact h2 { margin: 0; font-size: clamp(45px, 5.4vw, 76px); letter-spacing: -.035em; }
.purpose-copy { padding-top: 45px; color: #4d4539; font-size: 18px; }
blockquote { margin: 42px 0 0; padding: 25px 0 0; border-top: 1px solid #cdbd9d; color: #17120b; font-family: "Cormorant Garamond", serif; font-size: 27px; font-style: italic; }

.wisdom {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(54,77,35,.28), transparent 32%),
    linear-gradient(145deg, #0b0a07, #14150d 55%, #090806);
}
.wisdom-heading { margin-bottom: 42px; }
.wisdom-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scrollbar-color: var(--gold) rgba(255,255,255,.08);
  scrollbar-width: thin;
}
.wisdom-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #bdb4a3;
  font: 600 14px/1 "Manrope", sans-serif;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.wisdom-tab:hover,
.wisdom-tab:focus-visible { border-color: var(--gold); color: var(--paper); outline: none; }
.wisdom-tab.active { border-color: var(--gold); background: var(--gold); color: #171109; }
.wisdom-panel {
  min-height: 430px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 75% 20%, rgba(201,163,92,.13), transparent 42%), rgba(0,0,0,.24);
}
.wisdom-panel.has-image { grid-template-columns: minmax(310px, .88fr) 1.12fr; }
.wisdom-visual { min-height: 430px; overflow: hidden; }
.wisdom-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.wisdom-copy { align-self: center; max-width: 760px; padding: clamp(36px, 6vw, 82px); }
.wisdom-copy h3 { margin: 0 0 24px; color: var(--paper); font-size: clamp(50px, 6vw, 84px); letter-spacing: -.035em; }
.wisdom-text { color: #c5bcab; font-size: 17px; line-height: 1.9; }
.wisdom-text p { margin: 0 0 1.15em; }
.wisdom-text p:last-child { margin-bottom: 0; }
.author-signature { margin-top: 38px; text-align: right; }
.author-signature strong,
.author-signature span { display: block; }
.author-signature strong { color: var(--gold-bright); font-family: "Cormorant Garamond", serif; font-size: 31px; }
.author-signature span { color: #9f9686; font-size: 13px; font-style: italic; }

.services { background: var(--ink-soft); }
.section-heading { max-width: 760px; margin-bottom: 60px; }
.section-heading > p:last-child { max-width: 560px; color: #a69d8d; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cards article { min-height: 280px; padding: 32px 30px; border-right: 1px solid var(--line); }
.cards article:last-child { border-right: 0; }
.card-number { color: var(--gold); font-size: 12px; }
.cards h3 { margin: 58px 0 18px; font-size: 38px; }
.cards p { color: #a79e8d; font-size: 15px; }

.contact { text-align: center; background: radial-gradient(circle at 50% 35%, #281d0d, #090806 58%); }
.contact h2 { margin-bottom: 30px; }
.contact > p:not(.section-kicker) { max-width: 590px; margin: 0 auto 34px; color: #afa695; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px clamp(24px, 8vw, 130px); border-top: 1px solid var(--line); color: #8c8374; font-size: 12px; }
footer strong, footer span { display: block; }
footer strong { color: var(--paper); font-family: "Cormorant Garamond", serif; font-size: 19px; }
.floating-whatsapp { position: fixed; z-index: 10; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; background: #25d366; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.38); }
.floating-whatsapp svg { width: 30px; fill: white; }

@media (max-width: 820px) {
  .site-header { padding: 18px 20px; }
  .brand small, nav > a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 9px 13px; font-size: 12px; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 575px 24px 70px;
    background:
      linear-gradient(180deg, rgba(5,4,3,.04) 0%, rgba(5,4,3,.12) 42%, rgba(5,4,3,.96) 59%, #050403 68%),
      url("orunmila-nature-hero.png") 81% top / auto 575px no-repeat,
      #050403;
  }
  h1 { font-size: clamp(54px, 17vw, 82px); }
  .orunmila-identification {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: 100%;
    margin-top: 34px;
    background: rgba(9,8,6,.72);
  }
  .service-strip { display: grid; gap: 10px; margin-top: 48px; }
  .purpose { grid-template-columns: 1fr; gap: 15px; }
  .purpose-copy { padding-top: 0; }
  .cards { grid-template-columns: 1fr; }
  .wisdom-panel.has-image { grid-template-columns: 1fr; }
  .wisdom-visual { min-height: 390px; }
  .wisdom-copy { padding: 34px 24px 42px; }
  .wisdom-text { font-size: 16px; line-height: 1.75; }
  .author-signature { text-align: left; }
  .cards article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .cards h3 { margin-top: 30px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
