/* Reveal Animations */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .95s cubic-bezier(.23, 1, .32, 1), transform .95s cubic-bezier(.23, 1, .32, 1);
}

.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

@keyframes fUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes fIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Decorative Elements */
.gr { width: 32px; height: 1px; background: var(--gold); opacity: .5; margin: 32px 0; }

.brk { position: absolute; width: 28px; height: 28px; }
.brk::before, .brk::after { content: ''; position: absolute; background: var(--gold); opacity: .35; }
.brk.tl { top: 44px; left: 72px; }
.brk.tl::before { width: 1px; height: 28px; top: 0; left: 0; }
.brk.tl::after { width: 28px; height: 1px; top: 0; left: 0; }
.brk.tr { top: 44px; right: 72px; }
.brk.tr::before { width: 1px; height: 28px; top: 0; right: 0; }
.brk.tr::after { width: 28px; height: 1px; top: 0; right: 0; }
.brk.bl { bottom: 44px; left: 72px; }
.brk.bl::before { width: 1px; height: 28px; bottom: 0; left: 0; }
.brk.bl::after { width: 28px; height: 1px; bottom: 0; left: 0; }
.brk.br { bottom: 44px; right: 72px; }
.brk.br::before { width: 1px; height: 28px; bottom: 0; right: 0; }
.brk.br::after { width: 28px; height: 1px; bottom: 0; right: 0; }

.glink {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-m);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: color .25s;
}

.glink::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: .5;
  transition: width .3s, opacity .3s;
}

.glink:hover { color: var(--fg-p); }
.glink:hover::after { width: 48px; opacity: 1; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 65% 35%, var(--gsub) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 85%, var(--gsub) 0%, transparent 55%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--grain);
}

.hvl {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--rule) 25%, var(--rule) 75%, transparent);
}

.hvl.vl { left: 72px; }
.hvl.vr { right: 72px; }

.hbody {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 72px 80px;
  max-width: 980px;
}

.heyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 52px;
  opacity: 0;
  animation: fUp 1s .3s cubic-bezier(.23, 1, .32, 1) forwards;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 8vw, 8.5rem);
  line-height: .93;
  letter-spacing: -.03em;
  color: var(--fg-p);
  opacity: 0;
  animation: fUp 1.1s .44s cubic-bezier(.23, 1, .32, 1) forwards;
}

.hero h1 em { font-style: italic; color: var(--gold-l); font-weight: 300; }

.hsub {
  margin-top: 44px;
  font-family: var(--sans);
  font-size: .92rem;
  letter-spacing: .05em;
  color: var(--fg-m);
  max-width: 420px;
  line-height: 2;
  opacity: 0;
  animation: fUp 1s .6s cubic-bezier(.23, 1, .32, 1) forwards;
}

.hacts {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-top: 60px;
  opacity: 0;
  animation: fUp 1s .75s cubic-bezier(.23, 1, .32, 1) forwards;
}

.hflr {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  opacity: 0;
  animation: fIn 2s 1.1s ease forwards;
}

.fll { width: 1px; height: 72px; }
.flt { background: linear-gradient(to bottom, transparent, var(--gold)); opacity: .6; }
.flb { background: linear-gradient(to bottom, var(--gold), transparent); opacity: .6; }
.fld { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); margin: 5px 0; opacity: .7; }

.hstats {
  display: flex;
  border-top: 1px solid var(--bdr);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fIn 1s 1.2s ease forwards;
  min-height: 130px;
  align-items: stretch;
}

.hstat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 72px;
  border-right: 1px solid var(--bdr);
  position: relative;
  overflow: hidden;
  transition: background .35s;
}

.hstat:last-child { border-right: none; }
.hstat:hover { background: var(--gdim); }

.hstat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .4s ease;
}

.hstat:hover::after { transform: scaleX(1); }

.stn {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--fg-p);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.stn sup { font-size: .9rem; color: var(--gold); }

.stsm {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--fg-m);
  vertical-align: baseline;
}

.stl {
  font-family: var(--sans);
  font-size: .70rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--fg-m);
  margin-top: 10px;
  line-height: 1.65;
}

/* Philosophy */
.phil { padding: 160px 0; position: relative; background: var(--bg-p); }

.phil::before {
  content: '';
  position: absolute;
  top: 0;
  left: 72px;
  right: 72px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 30%, var(--rule) 70%, transparent);
}

.phin { display: grid; grid-template-columns: 260px 1fr; gap: 100px; align-items: start; }

.phas {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-m);
  line-height: 2.2;
  border-left: 1px solid var(--bdr);
  padding-left: 20px;
  margin-top: 20px;
}

.phbd { display: flex; flex-direction: column; gap: 36px; }

.phlg {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 1.55;
  letter-spacing: -.015em;
  color: var(--fg-p);
}

.phlg em { font-style: italic; color: var(--gold-l); }

.php {
  font-family: var(--sans);
  font-size: .92rem;
  letter-spacing: .04em;
  color: var(--fg-m);
  line-height: 2.1;
}

/* Services */
.svcs { padding: 140px 0; position: relative; background: var(--bg-s); }

.svcs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 40%, var(--rule) 60%, transparent);
}

.svcs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 40%, var(--rule) 60%, transparent);
}

.svch { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 80px; }

.svchp {
  font-family: var(--sans);
  font-size: .90rem;
  letter-spacing: .04em;
  color: var(--fg-m);
  line-height: 2.1;
}

.svcl { display: flex; flex-direction: column; gap: 2px; }

.svcc {
  background: var(--bg-p);
  padding: 40px 44px;
  position: relative;
  transition: background .3s;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 28px;
  align-items: start;
}

.svcc:hover { background: var(--gdim); }

.svcc::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s cubic-bezier(.23, 1, .32, 1);
}

.svcc:hover::after { transform: scaleY(1); }

.svnum {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  opacity: .45;
  padding-top: 4px;
  transition: opacity .3s;
}

.svcc:hover .svnum { opacity: 1; }
.svbd { display: flex; flex-direction: column; gap: 10px; }

.svnm {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.45rem;
  color: var(--fg-p);
  letter-spacing: -.01em;
  transition: color .3s;
  line-height: 1.2;
}

.svcc:hover .svnm { color: var(--gold-l); }

.svdesc {
  font-family: var(--sans);
  font-size: .88rem;
  letter-spacing: .03em;
  color: var(--fg-m);
  line-height: 1.9;
  max-width: 600px;
}

.svtags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }

.svtag {
  font-family: var(--sans);
  font-size: .66rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--bdr);
  padding: 4px 11px;
  opacity: .7;
}

.svarr {
  font-size: 1.2rem;
  color: var(--gold);
  opacity: .18;
  transition: opacity .3s, transform .3s;
  padding-top: 4px;
}

.svcc:hover .svarr { opacity: 1; transform: translate(3px, -3px); }

/* Process */
.proc { padding: 160px 0; background: var(--bg-p); position: relative; }

.proc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 72px;
  right: 72px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 30%, var(--rule) 70%, transparent);
}

.procin { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: start; }
.procst { display: flex; flex-direction: column; margin-top: 52px; }

.ps {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--bdr);
  position: relative;
  transition: padding-left .3s;
}

.ps:first-child { border-top: 1px solid var(--bdr); }
.ps:hover { padding-left: 8px; }

.pnum {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--gold);
  opacity: .5;
  line-height: 1;
  padding-top: 2px;
  transition: opacity .3s;
}

.ps:hover .pnum { opacity: 1; }

.pb h4 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-m2);
  margin-bottom: 10px;
  transition: color .3s;
}

.ps:hover h4 { color: var(--fg-p); }

.pb p {
  font-family: var(--sans);
  font-size: .90rem;
  letter-spacing: .03em;
  color: var(--fg-m);
  line-height: 2;
}

.pb .pd {
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--fg-m);
  opacity: .55;
  line-height: 1.8;
  margin-top: 8px;
  font-style: italic;
}

.procr { padding-top: 52px; position: sticky; top: 120px; }

.pqw {
  position: relative;
  padding: 52px 0 52px 48px;
  border-left: 1px solid var(--bdr);
}

.pqw::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 8rem;
  line-height: .6;
  color: var(--gold);
  opacity: .1;
  position: absolute;
  top: 28px;
  left: 32px;
  pointer-events: none;
}

blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.5;
  letter-spacing: -.015em;
  color: var(--fg-p);
  position: relative;
}

.pattr {
  margin-top: 32px;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .7;
}

/* FAQ */
.faq { padding: 140px 0; background: var(--bg-s); position: relative; }

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 40%, var(--rule) 60%, transparent);
}

.faqh { margin-bottom: 80px; }
.faql { display: flex; flex-direction: column; }

.faqit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 44px 0;
  border-top: 1px solid var(--bdr);
  transition: background .3s;
}

.faqit:last-child { border-bottom: 1px solid var(--bdr); }
.faqit:hover { background: var(--gdim); }

.faqq {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--fg-p);
  letter-spacing: -.01em;
  line-height: 1.3;
}

.faqa {
  font-family: var(--sans);
  font-size: .90rem;
  letter-spacing: .03em;
  color: var(--fg-m);
  line-height: 2.1;
}

/* CTA */
.cta { position: relative; overflow: hidden; }

.ctain {
  padding: 160px 72px;
  text-align: center;
  position: relative;
  background: var(--bg-p);
}

.ctain::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 90%, var(--glow) 0%, transparent 60%);
}

.ctain::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .5;
}

.ctain .tag { margin-bottom: 36px; }

.ctah2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.035em;
  color: var(--fg-p);
  margin-bottom: 28px;
  position: relative;
}

.ctah2 em { font-style: italic; color: var(--gold-l); }

.ctasub {
  font-family: var(--sans);
  font-size: .90rem;
  letter-spacing: .07em;
  color: var(--fg-m);
  margin-bottom: 60px;
  position: relative;
}

.ctaacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  position: relative;
}

/* Light Mode — Landing */
@media (prefers-color-scheme: light) {
  .hvl { background: linear-gradient(to bottom, transparent, rgba(100, 78, 35, .22) 25%, rgba(100, 78, 35, .22) 75%, transparent); }
  .hero h1 em, .ctah2 em, .h2 em { color: var(--gold-l); }
  .hsub { color: rgba(28, 26, 24, .74); }
  .glink { color: rgba(28, 26, 24, .70); }
  .glink::after { background: var(--gold); opacity: .6; }
  .glink:hover { color: var(--fg-p); }
  .fll.flt { background: linear-gradient(to bottom, transparent, rgba(100, 78, 35, .45)); opacity: .8; }
  .fll.flb { background: linear-gradient(to bottom, rgba(100, 78, 35, .45), transparent); opacity: .8; }
  .fld { border-color: var(--gold); opacity: .55; }
  .hstats { border-top-color: rgba(110, 85, 42, .22); }
  .hstat { border-right-color: rgba(110, 85, 42, .18); }
  .stn { color: var(--fg-p); }
  .stsm { color: rgba(28, 26, 24, .65); }
  .stl { color: rgba(28, 26, 24, .74); }
  .phas { color: rgba(28, 26, 24, .74); border-left-color: rgba(110, 85, 42, .35); }
  .phlg em { color: var(--gold-l); }
  .php { color: rgba(28, 26, 24, .74); }
  .gr { background: var(--gold); opacity: .50; }
  .svchp { color: rgba(28, 26, 24, .74); }
  .svcc { background: var(--bg-p); }
  .svcc:hover { background: rgba(110, 85, 42, .05); }
  .svnum { color: var(--gold); opacity: .52; }
  .svcc:hover .svnum { opacity: 1; }
  .svnm { color: var(--fg-p); }
  .svcc:hover .svnm { color: var(--gold); }
  .svdesc { color: rgba(28, 26, 24, .74); }
  .svtag { color: var(--gold); border-color: rgba(110, 85, 42, .28); opacity: .90; }
  .svarr { color: var(--gold); opacity: .22; }
  .svcc:hover .svarr { opacity: .85; }
  .svcc::after { background: var(--gold); }
  .ps { border-bottom-color: rgba(110, 85, 42, .20); }
  .ps:first-child { border-top-color: rgba(110, 85, 42, .20); }
  .pnum { color: var(--gold); }
  .pb h4 { color: rgba(28, 26, 24, .84); }
  .ps:hover h4 { color: var(--fg-p); }
  .pb p { color: rgba(28, 26, 24, .74); }
  .pd { color: rgba(28, 26, 24, .65); opacity: 1; }
  .pqw { border-left-color: rgba(110, 85, 42, .28); }
  .pqw::before { color: var(--gold); opacity: .13; }
  blockquote { color: var(--fg-p); }
  .pattr { color: var(--gold); opacity: .90; }
  .proc::before, .phil::before { background: linear-gradient(to right, transparent, rgba(110, 85, 42, .25) 30%, rgba(110, 85, 42, .25) 70%, transparent); }
  .faqit { border-top-color: rgba(110, 85, 42, .20); }
  .faqit:last-child { border-bottom-color: rgba(110, 85, 42, .20); }
  .faqq { color: var(--fg-p); }
  .faqa { color: rgba(28, 26, 24, .74); }
  .ctasub { color: rgba(28, 26, 24, .70); }
  .ctain::after { opacity: .40; }
  .brk::before, .brk::after { background: var(--gold); opacity: .40; }
}

/* Mobile — Landing */
@media (max-width: 960px) {
  .hbody { padding: 140px 32px 60px; }
  .hstats { flex-direction: column; }
  .hstat { border-right: none; border-bottom: 1px solid var(--bdr); padding: 26px 32px; }
  .hstat:last-child { border-bottom: none; }
  .hvl, .hflr { display: none; }
  .phin { grid-template-columns: 1fr; gap: 40px; }
  .svch { grid-template-columns: 1fr; gap: 20px; }
  .svcc { grid-template-columns: 40px 1fr; gap: 14px; }
  .svarr { display: none; }
  .procin { grid-template-columns: 1fr; gap: 48px; }
  .procr { position: static; padding-top: 0; }
  .faqit { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .ctain { padding: 100px 32px; }
  .ctaacts { gap: 32px; flex-wrap: wrap; }
  .brk { display: none; }
}
