/* Tigris Group — shared styles */
:root {
  --purple: #2A1245;
  --navy: #151030;
  --gold: #D4AF37;
  --gold-soft: #E6CD7A;
  --burgundy: #7A1F35;
  --ivory: #F5F1E8;
  --ivory-deep: #EAE3D2;
  --ink: #1C1530;
  --ink-soft: #4A4060;
  --serif: "Fraunces", "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
}
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 16, 48, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--ivory);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1; }
.brand-sub { display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 400; color: var(--gold-soft); margin-top: 4px; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.95rem; color: rgba(245, 241, 232, 0.82); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(212,175,55,.5); color: var(--ivory); padding: 8px 14px; border-radius: 4px; font: inherit; font-size: .9rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 3px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { border-color: rgba(245, 241, 232, 0.45); color: var(--ivory); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--purple); color: var(--ivory); }
.btn-dark:hover { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 85% 30%, #3a1a5c 0%, var(--purple) 38%, var(--navy) 100%);
  color: var(--ivory);
}
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(72px, 12vw, 140px); padding-bottom: clamp(72px, 11vw, 132px); }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
  max-width: 15ch;
}
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(245, 241, 232, 0.84); max-width: 54ch; margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.river {
  position: absolute; z-index: 1; top: 0; right: -6%;
  width: 62%; height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%);
          mask-image: linear-gradient(to right, transparent 0%, #000 35%);
}
.river g { animation: flow-in 1.8s cubic-bezier(.2,.7,.1,1) both; }
@keyframes flow-in {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); margin-top: 20px; max-width: 60ch; }
.dark { background: var(--navy); color: var(--ivory); }
.dark .section-head p { color: rgba(245, 241, 232, 0.75); }
.royal { background: var(--purple); color: var(--ivory); }

/* Practices: editorial rows rather than cards */
.practice {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid rgba(42, 18, 69, 0.18);
}
.practice:last-child { border-bottom: 1px solid rgba(42, 18, 69, 0.18); }
.practice h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--purple); }
.practice .for { font-size: 0.98rem; color: var(--burgundy); margin-top: 14px; max-width: 34ch; }
.practice p { color: var(--ink-soft); }
.deliver { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.deliver li { position: relative; padding-left: 20px; font-size: 0.97rem; }
.deliver li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 10px; height: 3px; background: var(--gold); border-radius: 0 3px 3px 0;
}

/* Process: genuine sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps li { counter-increment: step; padding: 0 28px 0 0; position: relative; }
.steps li::before {
  content: counter(step);
  display: block; font-family: var(--serif); font-size: 3.4rem; line-height: 1;
  color: var(--gold); font-variation-settings: "WONK" 1;
  margin-bottom: 18px;
}
.steps li::after {
  content: ""; position: absolute; top: 1.7rem; left: 3rem; right: 16px; height: 1px;
  background: linear-gradient(to right, rgba(212,175,55,.6), rgba(212,175,55,0));
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.45rem; margin-bottom: 10px; }
.steps p { color: rgba(245, 241, 232, 0.74); font-size: 0.98rem; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-crest { width: min(320px, 100%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.about h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 28px; }
.about p { color: rgba(245, 241, 232, 0.84); font-size: 1.06rem; max-width: 62ch; }
.path { list-style: none; padding: 0; margin: 32px 0 0; border-left: 2px solid var(--gold); }
.path li { padding: 0 0 18px 24px; position: relative; }
.path li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--purple); border: 2px solid var(--gold); }
.path strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--ivory); }
.path span { color: rgba(245, 241, 232, 0.66); font-size: 0.94rem; }
.name-note { margin-top: 36px; padding: 22px 26px; background: rgba(21,16,48,.55); border-left: 3px solid var(--burgundy); font-size: 0.98rem; }
.name-note p { margin: 0; }

/* Sub-brand band */
.sub-band { background: var(--ivory-deep); }
.sub-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.sub-band h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--burgundy); }
.sub-band .tag { font-size: .95rem; color: var(--ink-soft); margin-bottom: 14px; }
.sub-list { list-style: none; padding: 0; margin: 0; }
.sub-list li { padding: 18px 0; border-bottom: 1px solid rgba(122,31,53,.22); }
.sub-list li:first-child { border-top: 1px solid rgba(122,31,53,.22); }
.sub-list strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--purple); display: block; }
.sub-list span { color: var(--ink-soft); font-size: .96rem; }

/* Skillful Learning page specifics */
.sl-hero { background: linear-gradient(160deg, var(--burgundy) 0%, #4a1530 45%, var(--purple) 100%); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(42,18,69,.18); }
.offer { padding: clamp(32px, 4vw, 48px) clamp(0px, 3vw, 40px) clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid rgba(42,18,69,.18); }
.offer:nth-child(odd) { border-right: 1px solid rgba(42,18,69,.18); }
.offer:nth-child(even) { padding-left: clamp(24px, 3vw, 40px); }
.offer h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--burgundy); margin-bottom: 12px; }
.offer .who { font-size: .95rem; color: var(--purple); font-weight: 600; margin-bottom: 14px; }
.offer p { color: var(--ink-soft); }
.offer .deliver { grid-template-columns: 1fr; }
.honest { max-width: 720px; font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.4; font-weight: 400; }
.honest-note { margin-top: 24px; color: rgba(245,241,232,.72); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.contact h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--purple); }
.contact .intro { color: var(--ink-soft); margin: 20px 0 32px; max-width: 42ch; }
.direct { list-style: none; padding: 0; margin: 0; }
.direct li { padding: 14px 0; border-top: 1px solid rgba(42,18,69,.15); }
.direct .k { display: block; font-size: .85rem; color: var(--ink-soft); }
.direct a, .direct .v { font-family: var(--serif); font-size: 1.2rem; color: var(--purple); text-decoration: none; }
.direct a:hover { color: var(--burgundy); }
form.enquiry { background: #fff; padding: clamp(24px, 4vw, 44px); border-top: 4px solid var(--gold); box-shadow: 0 24px 48px -28px rgba(42,18,69,.45); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
label { font-size: .9rem; font-weight: 600; color: var(--purple); }
label .opt { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfc6b4; border-radius: 3px; background: var(--ivory);
  width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(212,175,55,.35); background: #fff; }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; margin-top: 8px; }
.form-foot small { color: var(--ink-soft); max-width: 36ch; }
.status { padding: 14px 18px; margin-bottom: 20px; border-radius: 3px; font-size: .97rem; display: none; }
.status.show { display: block; }
.status.ok { background: #EEF3E6; border-left: 4px solid #4C7A2E; color: #2E4A1B; }
.status.err { background: #F7E8EB; border-left: 4px solid var(--burgundy); color: var(--burgundy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(245,241,232,.7); padding: 56px 0 40px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; letter-spacing: .01em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-brand p { max-width: 40ch; margin-top: 16px; }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(212,175,55,.2); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps li:nth-child(2)::after { display: none; }
  .about-grid, .sub-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-crest { width: 180px; }
  .river { width: 100%; right: -30%; opacity: .45; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(212,175,55,.3);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(245,241,232,.08); }
  .nav .btn { margin-top: 14px; border: none; }
  .practice { grid-template-columns: 1fr; gap: 16px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer, .offer:nth-child(odd), .offer:nth-child(even) { padding-left: 0; padding-right: 0; border-right: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .deliver { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .river g { animation: none; }
  * { transition: none !important; }
}
