/* =========================================================
   HOMEPAGE SECTIONS (desktop only)
   ========================================================= */

html { scroll-behavior: smooth; }

/* sticky header: compacts on scroll, hides on scroll down, returns on scroll up */
.site-header {
  position: sticky;
  top: 0;
  background: transparent;
  transition: background 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.scrolled {
  height: 84px;
  background: rgba(239, 232, 221, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 30px -20px rgba(11, 27, 34, 0.35);
}
.brand img { transition: height 0.4s var(--ease); }
.site-header.scrolled .brand img { height: 56px; }
.site-header.hide { transform: translateY(-100%); }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 50;
}

/* ---------- shared ---------- */
.sec { padding: 96px var(--gutter); position: relative; }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
}
.label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.label.light { color: var(--gold); }
.label.center { display: flex; justify-content: center; }

.h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 340;
  font-size: clamp(40px, 3.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.dark .h2, .roots-banner .h2 { color: var(--cream-soft); }

.sec-head { margin-bottom: 56px; }
.sec-head.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; }
.sec-head.split .h2 { max-width: 760px; }
.sec-head.center { text-align: center; }
.sec-head.center .label { display: flex; justify-content: center; }
.sec-intro { margin: 0; max-width: 440px; font-size: 17px; line-height: 1.7; color: var(--ink-muted); justify-self: end; }
.dark .sec-intro { color: rgba(242, 234, 223, 0.66); }
.body-lg { font-size: 19px; line-height: 1.7; }

.tag {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy);
}
.tag.light { color: var(--cream-soft); border-color: rgba(242, 234, 223, 0.3); }

.ico, .btn-line svg, .btn-gold svg, .serve-arrow svg, .service-arrow svg, .post-more svg, .t-btn svg {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* buttons */
.btn-line {
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 28px;
  border: 1px solid var(--navy); border-radius: 0;
  font-size: 15px; font-weight: 500; color: var(--navy);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.45s var(--ease);
}
.btn-line::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy); border-radius: inherit;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.btn-line:hover { color: var(--cream-soft); }
.btn-line:hover::before { transform: scaleX(1); }
.btn-line svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn-line:hover svg { transform: translateX(4px); }
.sec-head .btn-line { justify-self: end; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 32px;
  background: var(--gold); color: var(--navy-deep);
  border-radius: 0; font-size: 15px; font-weight: 600;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.45s var(--ease), box-shadow 0.4s var(--ease);
}
.btn-gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.btn-gold:hover::before { transform: scaleX(1); }
.btn-gold:hover { color: var(--cream-soft); }
.btn-gold:hover { box-shadow: 0 16px 40px -14px rgba(207, 174, 123, 0.7); }
.btn-gold svg { width: 20px; height: 20px; transition: transform 0.4s var(--ease); }
.btn-gold:hover svg { transform: translateX(4px); }
.btn-gold.big { height: 72px; padding: 0 44px; font-size: 17px; }
.magnetic { will-change: transform; }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
[data-split] .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i) * 45ms);
}
[data-split].in .w > span { transform: none; }

/* ---------- 2. who we serve (dark card grid + gold stat) ---------- */
.serve { overflow: hidden; isolation: isolate; }
/* faint dreamlike portrait behind the cards */
.serve-bg { position: absolute; left: 0; top: -8%; z-index: -2; width: 100%; height: 116%; object-fit: cover; object-position: 60% center; opacity: 0.1; pointer-events: none; will-change: transform; }
.serve-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 420px at 50% -8%, rgba(207, 174, 123, 0.16), transparent 70%),
    radial-gradient(600px 500px at 100% 100%, rgba(22, 48, 58, 0.9), transparent 70%),
    linear-gradient(rgba(247, 242, 234, 0.035) 1px, transparent 1px) 0 0 / 100% 88px;
}
.serve-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.serve-head .label { justify-content: center; }
.serve-head .h2 { color: var(--cream-soft); }
.serve-head .h2 em { font-style: italic; font-weight: 300; color: var(--gold); }

.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); }
.serve-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 32px 30px 34px; margin: 0 -1px -1px 0;
  display: flex; flex-direction: column;
  border: 1px solid rgba(247, 242, 234, 0.14);
  background: rgba(247, 242, 234, 0.02);
  color: var(--cream-soft);
}
.serve-card:nth-child(1) { border-top-left-radius: 6px; }
.serve-card:nth-child(3) { border-top-right-radius: 6px; }
.serve-card:nth-child(5) { border-bottom-right-radius: 6px; }
.serve-card:nth-child(6) { grid-column: 1; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; }
.serve-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(207, 174, 123, 0.16), rgba(22, 48, 58, 0.85) 70%);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path 0.7s var(--ease);
}
.serve-card:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.serve-card .ico { width: 34px; height: 34px; color: var(--gold); transition: transform 0.6s var(--ease); }
.serve-card:hover .ico { transform: translateY(-4px) rotate(-6deg); }
.serve-card h3 { margin: auto 0 8px; padding-top: 48px; font-family: var(--font-serif); font-weight: 380; font-size: 24px; letter-spacing: -0.01em; }
.serve-card p { margin: 0; max-width: 280px; font-size: 14.5px; line-height: 1.6; color: rgba(247, 242, 234, 0.62); transition: color 0.5s; }
.serve-card:hover p { color: rgba(247, 242, 234, 0.85); }
.serve-arrow {
  position: absolute; top: 28px; right: 28px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 242, 234, 0.18); color: var(--cream-soft);
  opacity: 0; transform: translate(-6px, 6px);
  transition: opacity 0.4s, transform 0.5s var(--ease), background 0.4s, border-color 0.4s, color 0.4s;
}
.serve-arrow svg { width: 18px; height: 18px; }
.serve-card:hover .serve-arrow { opacity: 1; transform: none; background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

.serve-stat {
  grid-column: 3; grid-row: 2 / span 2; margin: 16px 0 0 16px;
  display: flex; flex-direction: column;
  padding: 34px 30px 32px; border-radius: 6px;
  background: var(--gold); color: var(--navy-deep);
  box-shadow: 0 30px 60px -30px rgba(207, 174, 123, 0.45);
  transition: opacity 1s var(--ease), transform 0.8s var(--ease), box-shadow 0.6s var(--ease);
}
.serve-stat:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(207, 174, 123, 0.6); }
.serve-stat p { margin: 0; }
.serve-stat-num { display: flex; align-items: baseline; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid rgba(11, 27, 34, 0.22); font-family: var(--font-sans); font-weight: 500; font-size: 92px; line-height: 0.9; letter-spacing: -0.04em; }
.serve-stat-num span { font-family: var(--font-sans); font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.serve-stat-title { margin-top: 22px !important; font-size: 18px; font-weight: 500; line-height: 1.45; }
.serve-stat-foot { margin-top: auto; padding-top: 40px; }
.serve-stat-foot p { font-size: 14px; line-height: 1.6; color: rgba(11, 27, 34, 0.75); }
.serve-stat-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.serve-stat-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.4s var(--ease); }
.serve-stat-link:hover svg { transform: translateX(4px); }

/* ---------- 3. about ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: 120px; align-items: center; background: var(--cream-soft); }
.about-media { position: relative; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-deep); border-radius: 2px; }
.portrait img { width: 100%; height: 115%; object-fit: cover; }
.portrait img { object-position: center 18%; }
.portrait-tag {
  position: absolute; left: 20px; bottom: 20px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 18px; border-radius: 0;
  background: rgba(11, 27, 34, 0.72); backdrop-filter: blur(10px);
  border-left: 2px solid var(--gold);
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 242, 234, 0.7);
}
.portrait-tag strong { font-family: var(--font-serif); font-weight: 380; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--cream-soft); }
.about-badge {
  position: absolute; right: -52px; top: 56px;
  width: 176px; height: 176px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-deep); color: var(--cream-soft);
  box-shadow: 0 30px 60px -30px rgba(11, 27, 34, 0.8), inset 0 0 0 1px rgba(207, 174, 123, 0.35);
  animation: floaty 6s ease-in-out infinite;
}
.about-badge::before { content: ""; position: absolute; inset: 44px; border-radius: 50%; border: 1px solid rgba(207, 174, 123, 0.45); }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: badge-spin 22s linear infinite; }
.badge-ring text { font-family: var(--font-sans); font-size: 12.5px; font-weight: 500; letter-spacing: 0.2em; fill: var(--gold); }
.badge-big { position: relative; font-family: var(--font-serif); font-style: italic; font-size: 38px; font-weight: 340; color: var(--gold); line-height: 1; }
@keyframes badge-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge-ring { animation: none; } }
@keyframes floaty { 50% { transform: translateY(-14px); } }

.about-copy .h2 { margin-bottom: 32px; }
.about-copy p { margin: 0 0 18px; max-width: 620px; color: var(--ink-muted); font-size: 16.5px; line-height: 1.75; }
.about-copy p.body-lg { color: var(--ink); font-size: 19px; }
.creds { list-style: none; margin: 40px 0 44px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.creds li { padding: 22px 20px 0 0; font-size: 14.5px; color: var(--ink-muted); }
.creds span { display: block; margin-bottom: 6px; font-family: var(--font-serif); font-size: 21px; color: var(--navy); }

/* ---------- 4. services (dark) ---------- */
.dark { background: var(--navy-deep); color: var(--cream-soft); }
.services { display: grid; grid-template-columns: 5fr 7fr; gap: 120px; align-items: start; }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 500px at 90% 0%, rgba(207, 174, 123, 0.10), transparent 60%);
}
.services-side { position: sticky; top: 140px; }
.services-side .h2 { margin-bottom: 28px; }
.services-side .sec-intro { margin-bottom: 40px; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(242, 234, 223, 0.14); }
.service {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr 56px; align-items: center; gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(242, 234, 223, 0.14);
  cursor: pointer;
}
.service::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.service:hover::after { transform: scaleX(1); }
.service-num { font-family: var(--font-serif); font-size: 18px; color: var(--gold); }
.service h3 {
  margin: 0; font-family: var(--font-serif); font-weight: 340; font-size: 34px; letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease), color 0.4s;
}
.service:hover h3 { transform: translateX(14px); color: var(--gold); }
.service p {
  margin: 0; max-width: 520px; font-size: 15.5px; line-height: 1.6; color: rgba(242, 234, 223, 0.62);
  max-height: 0; opacity: 0; overflow: hidden; transform: translateX(14px);
  transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease);
}
.service:hover p { max-height: 80px; opacity: 1; margin-top: 12px; }
.service-arrow {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(242, 234, 223, 0.2); color: var(--cream-soft);
  transition: all 0.5s var(--ease);
}
.service-arrow svg { width: 20px; height: 20px; }
.service:hover .service-arrow { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); transform: rotate(-45deg); }

/* ---------- 5. process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.steps-line { position: absolute; top: 32px; left: 32px; right: 12%; height: 1px; background: var(--line); }
.steps-progress { position: absolute; inset: 0; background: var(--gold-deep); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step-dot {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--navy);
  font-family: var(--font-serif); font-size: 22px; color: var(--navy);
  transition: background 0.5s var(--ease), color 0.5s, transform 0.5s var(--ease);
}
.step:hover .step-dot, .step.lit .step-dot { background: var(--navy); color: var(--gold); }
.step:hover .step-dot { transform: scale(1.08); }
.step h3 { margin: 32px 0 12px; font-family: var(--font-serif); font-weight: 380; font-size: 27px; }
.step p { margin: 0; max-width: 280px; font-size: 15.5px; line-height: 1.65; color: var(--ink-muted); }

/* ---------- 6. root causes ---------- */
.roots { padding-top: 0; }
.roots-banner { position: relative; height: 560px; overflow: hidden; border-radius: 4px; }
.roots-banner img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: 80% center; }
.roots-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 27, 34, 0.6) 0%, rgba(11, 27, 34, 0.15) 45%, rgba(11, 27, 34, 0) 65%); }
.roots-banner-text { position: absolute; z-index: 1; left: 72px; bottom: 140px; max-width: 620px; }
.roots-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(6, 1fr);
  margin: -90px 56px 0;
  background: var(--cream-soft);
  box-shadow: 0 40px 80px -40px rgba(11, 27, 34, 0.35);
}
.root { position: relative; isolation: isolate; overflow: hidden; padding: 36px 28px 40px; border-right: 1px solid var(--line); }
.root:last-child { border-right: 0; }
/* navy fill rises from the bottom; the card itself never moves, so no gap opens */
.root::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease); }
.root::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease) 0.1s; }
.root:hover::before { transform: scaleY(1); }
.root:hover::after { transform: scaleX(1); }
.root > * { transition: transform 0.5s var(--ease), color 0.4s; }
.root:hover > * { transform: translateY(-4px); }
.root-num { font-size: 12px; letter-spacing: 0.12em; color: var(--gold-deep); }
.root h3 { margin: 18px 0 10px; font-family: var(--font-serif); font-weight: 400; font-size: 21px; line-height: 1.2; transition: color 0.4s, transform 0.5s var(--ease); }
.root p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-muted); transition: color 0.4s, transform 0.5s var(--ease); }
.root:hover h3 { color: var(--gold); }
.root:hover p { color: rgba(242, 234, 223, 0.7); }

/* ---------- 7. projects (editorial: one feature + two wide, copy over image) ---------- */
.projects .h2 em { font-style: italic; font-weight: 300; color: var(--gold-deep); }
.projects-side { justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 440px; }
.projects-side .sec-intro { justify-self: auto; }

.project-grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(2, 340px); gap: 18px; }
.project {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 34px; border-radius: 4px; color: var(--cream-soft); background: var(--navy-deep);
}
.project.feature { grid-row: 1 / span 2; padding: 44px 44px; }
.project-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), filter 0.8s; filter: saturate(0.85); }
.project::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 27, 34, 0.1) 0%, rgba(11, 27, 34, 0.35) 38%, rgba(11, 27, 34, 0.94) 82%);
  transition: background 0.6s var(--ease);
}
.project.wide::before { background: linear-gradient(90deg, rgba(11, 27, 34, 0.92) 0%, rgba(11, 27, 34, 0.6) 45%, rgba(11, 27, 34, 0.1) 100%); }
/* gold line draws across the bottom on hover */
.project::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.project:hover::after { transform: scaleX(1); }
.project:hover .project-bg { transform: scale(1.08); filter: saturate(1.05); }

.project-status {
  position: absolute; top: 24px; left: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; background: rgba(11, 27, 34, 0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(247, 242, 234, 0.16);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 242, 234, 0.85);
}
.project.feature .project-status { top: 32px; left: 44px; }
.project-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(207, 174, 123, 0.6); animation: speaker-live 2.4s ease-out infinite; }
.project-num { position: absolute; top: 18px; right: 28px; font-family: var(--font-serif); font-weight: 300; font-size: 56px; line-height: 1; color: rgba(247, 242, 234, 0.2); transition: color 0.5s; }
.project.feature .project-num { top: 26px; right: 44px; font-size: 88px; }
.project:hover .project-num { color: var(--gold); }

.project-body { max-width: 420px; transition: transform 0.6s var(--ease); }
.project.wide .project-body { max-width: 330px; }
.project:hover .project-body { transform: translateY(-6px); }
.project-tag { display: inline-block; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.project h3 { margin: 12px 0 10px; font-family: var(--font-serif); font-weight: 340; font-size: 28px; line-height: 1.1; letter-spacing: -0.01em; }
.project.feature h3 { font-size: 44px; }
.project p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(247, 242, 234, 0.72); }
.project.feature p { font-size: 16px; max-width: 380px; }
.project-more { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 14px; font-weight: 500; }
.project-arrow { position: relative; overflow: hidden; isolation: isolate; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(247, 242, 234, 0.35); color: var(--cream-soft); transition: color 0.45s var(--ease), border-color 0.45s; }
.project-arrow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.project-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.4s var(--ease); }
.project:hover .project-arrow { color: var(--navy-deep); border-color: var(--gold); }
.project:hover .project-arrow::before { transform: scaleX(1); }
.project:hover .project-arrow svg { transform: translateX(3px); }

/* ---------- 8. testimonials ---------- */
.testimonials { background: var(--cream-soft); text-align: center; }
.t-slider { max-width: 1040px; margin: 0 auto; }
.t-mark { width: 54px; height: 40px; fill: var(--gold); margin: 24px auto 40px; display: block; }
.t-track { position: relative; min-height: 240px; }
.t-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); pointer-events: none; }
.t-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.t-slide blockquote { margin: 0; font-family: var(--font-serif); font-weight: 320; font-size: 44px; line-height: 1.22; letter-spacing: -0.015em; color: var(--ink); }
.t-slide figcaption { margin-top: 36px; font-size: 15px; color: var(--ink-muted); }
.t-slide strong { color: var(--navy); font-weight: 600; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 24px; }
.t-btn {
  width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--navy);
  display: grid; place-items: center; transition: all 0.4s var(--ease);
}
.t-btn svg { width: 20px; height: 20px; }
.t-btn:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.t-dots { display: flex; gap: 10px; }
.t-dots span { width: 8px; height: 8px; border-radius: 8px; background: var(--line); transition: all 0.5s var(--ease); }
.t-dots span.is-active { width: 32px; background: var(--gold-deep); }

/* ---------- 9. books & media ---------- */
.media-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: stretch; }
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.book { display: block; perspective: 1200px; }
.book-cover {
  position: relative; aspect-ratio: 2 / 3;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px 28px;
  border-radius: 2px 8px 8px 2px;
  color: var(--cream-soft);
  box-shadow: inset 6px 0 10px -4px rgba(0, 0, 0, 0.4), 0 30px 50px -28px rgba(11, 27, 34, 0.65);
  transform: rotateY(-14deg) rotateX(2deg);
  transform-origin: left center;
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
}
.book-cover::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.18); }
.book-cover.c1 { background: linear-gradient(160deg, #1d3d4a, var(--navy-deep)); }
.book-cover.c2 { background: linear-gradient(160deg, #c9a46d, #9a7442); color: var(--navy-deep); }
.book:hover .book-cover { transform: rotateY(0) rotateX(0) translateY(-10px); box-shadow: inset 6px 0 10px -4px rgba(0, 0, 0, 0.3), 0 40px 70px -30px rgba(11, 27, 34, 0.7); }
.book-kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; }
.book-title { font-family: var(--font-serif); font-size: 34px; line-height: 1.05; font-weight: 340; }
.book-line { width: 40px; height: 2px; background: var(--gold); }
.c2 .book-line { background: var(--navy-deep); }
.book h3 { margin: 28px 0 6px; font-family: var(--font-serif); font-weight: 400; font-size: 22px; }
.book p { margin: 0; font-size: 14.5px; color: var(--ink-muted); }

.video { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--navy-deep); min-height: 520px; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: transform 1.2s var(--ease), opacity 0.6s; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 27, 34, 0.85), transparent 55%); }
.video:hover video { transform: scale(1.05); opacity: 0.9; }
.video-play {
  position: absolute; z-index: 2; left: 50%; top: 45%;
  width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(247, 242, 234, 0.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(247, 242, 234, 0.4);
  transition: transform 0.6s var(--ease), background 0.5s;
}
.video-play::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(247, 242, 234, 0.5); animation: pulse 2.4s var(--ease) infinite; }
.video-play svg { width: 30px; height: 30px; fill: var(--cream-soft); margin-left: 4px; }
.video:hover .video-play { transform: scale(1.12); background: var(--gold); }
.video:hover .video-play svg { fill: var(--navy-deep); }
.video-info { position: absolute; z-index: 2; left: 40px; bottom: 36px; right: 40px; }
.video-info h3 { margin: 14px 0 0; font-family: var(--font-serif); font-weight: 340; font-size: 34px; color: var(--cream-soft); }

/* ---------- 10. insights ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  min-height: 320px; padding: 40px;
  background: var(--cream-soft); border: 1px solid var(--line); border-radius: 4px;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.5s;
}
.post:hover { transform: translateY(-10px); border-color: transparent; box-shadow: 0 40px 70px -40px rgba(11, 27, 34, 0.45); }
.post h3 {
  margin: 28px 0 auto; font-family: var(--font-serif); font-weight: 380; font-size: 28px; line-height: 1.2;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.6s var(--ease);
}
.post:hover h3 { background-size: 100% 1px; }
.post-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; font-size: 14.5px; font-weight: 500; color: var(--navy); }
.post-more svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.post:hover .post-more svg { transform: translateX(6px); }

/* ---------- 11. FAQ ---------- */
.faq { display: grid; grid-template-columns: 5fr 1fr 7fr; padding-top: 96px; padding-bottom: 210px; }
/* same woven pattern down the hero's left edge */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1;
  width: clamp(320px, 24vw, 440px);
  background: url("assets/faq-weave-pattern.png") left center / cover no-repeat;
  opacity: 0.32; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

/* navy "current" travelling down the hero pattern's lines */
.hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1;
  width: clamp(320px, 24vw, 440px);
  background: url("assets/hero-weave-pattern-navy.png") left center / cover no-repeat;
  opacity: 0.9; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%, #000 58%, transparent 100%), linear-gradient(90deg, #000 0%, #000 40%, transparent 95%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 42%, #000 58%, transparent 100%), linear-gradient(90deg, #000 0%, #000 40%, transparent 95%);
  -webkit-mask-size: 100% 34%, 100% 100%; mask-size: 100% 34%, 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  animation: hero-current 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes hero-current {
  0%   { -webkit-mask-position: 0 -60%, 0 0; mask-position: 0 -60%, 0 0; }
  100% { -webkit-mask-position: 0 160%, 0 0; mask-position: 0 160%, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; opacity: 0; } }

/* woven line pattern down the left edge, fading out toward the copy */
.faq { isolation: isolate; }
.faq::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1;
  width: clamp(320px, 24vw, 440px);
  background: url("assets/faq-weave-pattern.png") left center / cover no-repeat;
  opacity: 0.32; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.faq-head { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 480px; }
.faq-head .h2 { margin-bottom: 52px; }
.faq-contact p { margin: 0 0 6px; color: var(--ink-muted); font-size: 17px; line-height: 1.6; }
.faq-mail { font-size: 17px; font-weight: 500; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: color 0.4s, background-size 0.4s var(--ease); }
.faq-mail:hover { color: var(--gold-deep); background-size: 0 1px; background-position: 100% 100%; }
.faq-list { grid-column: 3; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 28px 0; border: 0; background: none; text-align: left; font: inherit; font-size: 18px; font-weight: 500; color: var(--ink); cursor: pointer; }
.faq-line { position: absolute; top: -1px; left: 0; width: 100%; height: 1px; }
.faq-line span { display: block; height: 100%; background: var(--gold-deep); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.faq-item:hover .faq-line span, .faq-item.active .faq-line span { transform: scaleX(1); }
.faq-icon { flex-shrink: 0; width: 18px; height: 18px; }
.faq-icon svg { width: 100%; height: 100%; display: block; }
.faq-icon path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; transform-origin: 50% 50%; transition: transform 0.4s var(--ease), stroke 0.4s; }
.faq-item:hover .faq-icon path { stroke: var(--gold-deep); }
.faq-item.active .faq-icon path:first-child { transform: rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-a p { overflow: hidden; margin: 0; max-width: 620px; color: var(--ink-muted); font-size: 16px; line-height: 1.7; }
.faq-item.active .faq-a { grid-template-rows: 1fr; }
.faq-item.active .faq-a p { padding-bottom: 28px; margin-top: -10px; }

/* ---------- 12. footer ---------- */
.footer { position: relative; z-index: 2; background: var(--cream-deep); color: var(--ink); font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: 6fr 1fr 9fr; padding: 0 var(--gutter) 64px; }
.footer-card { grid-column: 1; margin-top: -136px; padding: 40px 60px 60px; background: var(--navy-deep); color: var(--cream-soft); position: relative; }
.footer-card-icon { width: 72px; height: 72px; margin-bottom: 40px; }
.footer-card-icon path { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.footer-card-title { margin: 0 0 12px; font-family: var(--font-serif); font-weight: 340; font-size: 52px; line-height: 1.02; letter-spacing: -0.02em; }
.footer-card-sub { margin: 0 0 28px; color: rgba(247, 242, 234, 0.55); font-size: 16px; line-height: 1.6; }
.footer-form { display: flex; flex-direction: column; gap: 8px; }
.footer-form input { height: 64px; padding: 0 24px; border: 1px solid rgba(247, 242, 234, 0.2); background: transparent; color: var(--cream-soft); font: inherit; font-size: 16px; outline: none; transition: border-color 0.3s; }
.footer-form input::placeholder { color: rgba(247, 242, 234, 0.5); }
.footer-form input:focus { border-color: var(--gold); }
.footer-form button { position: relative; isolation: isolate; height: 64px; border: 0; background: var(--gold); color: var(--navy-deep); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; overflow: hidden; transition: color 0.45s var(--ease); }
.footer-form button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream-soft); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.footer-form button:hover::before { transform: scaleX(1); }
.ff-done { position: absolute; inset: 0; display: grid; place-items: center; background: var(--gold-deep); color: var(--cream-soft); transform: translateY(100%); transition: transform 0.5s var(--ease); }
.footer-form.done .ff-done { transform: translateY(0); }
.footer-card-cap { margin: 14px 0 0; font-size: 12.5px; color: rgba(247, 242, 234, 0.4); }

.footer-main { grid-column: 3; display: flex; flex-direction: column; }
.footer-links { display: flex; justify-content: space-between; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.footer-links a { font-family: var(--font-serif); font-size: 24px; font-weight: 400; letter-spacing: -0.01em; transition: color 0.4s; }
.footer-links a:hover { color: var(--gold-deep); }
.footer-info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer-label { margin: 0 0 6px; font-size: 13px; color: var(--ink-muted); }
.footer-label.strong { margin-bottom: 16px; font-size: 15px; font-weight: 600; color: var(--ink); }
.footer-addr { margin: 0; color: var(--ink-muted); line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; gap: 18px; }
.footer-contact a { font-family: var(--font-serif); font-size: 28px; font-weight: 340; letter-spacing: -0.01em; transition: color 0.4s; }
.footer-contact a:hover { color: var(--gold-deep); }
.footer-crisis { margin: 0 0 32px; padding: 18px 22px; border: 1px solid rgba(169, 130, 79, 0.4); font-size: 14.5px; color: var(--ink); }
.footer-crisis a { color: var(--gold-deep); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 32px; margin-top: auto; font-size: 13px; color: var(--ink-muted); }

/* ---------- 13. let's work together (marquee band) ---------- */
.cta-final { position: relative; display: block; overflow: hidden; background: var(--navy); color: rgba(247, 242, 234, 0.16); cursor: none; transition: color 0.5s; }
.cta-final:hover { color: rgba(247, 242, 234, 0.3); }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(207, 174, 123, 0.25); pointer-events: none; }
.ring.r1 { width: 900px; height: 900px; left: -300px; top: -620px; animation: spin 40s linear infinite; border-top-color: var(--gold); }
.ring.r2 { width: 700px; height: 700px; right: -260px; bottom: -520px; animation: spin 30s linear infinite reverse; border-left-color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-marquee { position: relative; display: flex; width: max-content; padding: 40px 0 32px; }
.cta-marquee span { flex-shrink: 0; padding-right: 64px; white-space: nowrap; font-family: var(--font-serif); font-weight: 320; font-size: 180px; line-height: 1.15; letter-spacing: -0.03em; animation: cta-rtl 38s linear infinite; }
@keyframes cta-rtl { to { transform: translateX(-100%); } }
.cta-cursor { position: absolute; top: 0; left: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; width: 128px; height: 128px; padding: 18px; background: var(--gold); color: var(--navy-deep); font-size: 17px; font-weight: 600; line-height: 1.2; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); transition: opacity 0.4s; }
.cta-cursor svg { width: 22px; height: 22px; align-self: flex-end; fill: currentColor; }
.cta-final:hover .cta-cursor { opacity: 1; }

/* ---------- Speaking section ---------- */
.speaker-section { position: relative; width: 100%; overflow: hidden; isolation: isolate; background: #002c31; display: grid; place-items: center; min-height: clamp(440px, 56vw, 760px); }
.speaker-section::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(0, 18, 23, .16) 0%, rgba(0, 18, 23, .18) 36%, rgba(0, 18, 23, .82) 100%); }
/* taller than the section so the parallax drift never shows an edge */
.speaker-section .speaker-bg { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: center 43%; will-change: transform; }
.speaker-overlay { position: relative; z-index: 2; width: min(620px, calc(100% - 40px)); align-self: end; margin: 0 auto clamp(28px, 5vw, 64px); text-align: center; color: #fff; }
.speaker-kicker { margin: 0 0 6px; font-size: clamp(17px, 2vw, 25px); font-weight: 400; }
.speaker-overlay h2 { margin: 0; font-family: var(--font-serif); font-weight: 340; font-size: clamp(44px, 4.6vw, 76px); line-height: 1.02; letter-spacing: -0.02em; }
.speaker-overlay h2 strong { font-style: italic; font-weight: 300; color: var(--gold); }
.speaker-copy { max-width: 560px; margin: 14px auto 18px; font-size: clamp(13px, 1.25vw, 16px); line-height: 1.55; }
.speaker-button { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 30px; border-radius: 0; background: var(--cream-soft); color: var(--navy-deep); text-decoration: none; font-size: 15px; font-weight: 600; transition: color 0.45s var(--ease), box-shadow 0.4s var(--ease); }
.speaker-button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.speaker-button:hover::before { transform: scaleX(1); }
.speaker-button:hover { box-shadow: 0 16px 40px -14px rgba(207, 174, 123, 0.7); }

/* effects: drifting stage beams, fine grain */
.speaker-beams { position: absolute; inset: -20% -10%; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.speaker-beams span {
  position: absolute; top: -10%; width: 20%; height: 120%;
  background: linear-gradient(180deg, rgba(120, 220, 225, 0.22), rgba(120, 220, 225, 0) 75%);
  filter: blur(30px); transform-origin: 50% 0;
  animation: beam-sway 11s ease-in-out infinite alternate;
}
.speaker-beams span:nth-child(1) { left: 14%; transform: rotate(18deg); animation-delay: -3s; }
.speaker-beams span:nth-child(2) { left: 42%; transform: rotate(-4deg); animation-duration: 14s; opacity: 0.6; }
.speaker-beams span:nth-child(3) { left: 72%; transform: rotate(-20deg); animation-duration: 9s; animation-delay: -5s; }
@keyframes beam-sway {
  0%   { rotate: -6deg; opacity: 0.35; }
  50%  { opacity: 1; }
  100% { rotate: 6deg; opacity: 0.55; }
}
.speaker-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .speaker-beams span { animation: none; } }
