:root{
  --void:#07060a;
  --panel:#100d09;
  --panel2:#171310;
  --line: rgba(201,151,63,0.28);
  --gold-1:#f6e3ab;
  --gold-2:#cf9f45;
  --gold-3:#8a6423;
  --ivory:#eee6d4;
  --muted:#9a927f;
  --spice:#c9622f;
  --event:#7c2447;
  --tech:#1f6459;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--void);
  color:var(--ivory);
  font-family:'Jost', sans-serif;
  font-weight:300;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--gold-2); color:#100d09;}

h1,h2,h3,.display{
  font-family:'Cinzel', serif;
  font-weight:600;
  letter-spacing:0.04em;
}

a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}

.gold-text{
  background:linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 55%, var(--gold-3) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.eyebrow{
  font-family:'Jost', sans-serif;
  font-size:0.72rem;
  letter-spacing:0.42em;
  text-transform:uppercase;
  color:var(--gold-2);
  display:inline-block;
  margin-bottom:1.1rem;
}

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 6vw;
}

/* ---------- Nav ---------- */
header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:200;
  padding:1.1rem 0;
  transition:background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom:1px solid transparent;
}
header.scrolled{
  background:rgba(7,6,10,0.9);
  backdrop-filter:blur(10px);
  padding:0.7rem 0;
  border-bottom:1px solid var(--line);
}
nav.wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:0.6rem;
  z-index:210;
}
.brand img{
  width:38px; height:38px; border-radius:50%;
  filter:drop-shadow(0 0 6px rgba(207,159,69,0.35));
}
.brand span{
  font-family:'Cinzel',serif;
  font-size:0.85rem;
  letter-spacing:0.14em;
  color:var(--gold-1);
  white-space:nowrap;
}
.navlinks{
  display:flex;
  align-items:center;
  gap:2.4rem;
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
}
.navlinks a{
  position:relative;
  color:var(--muted);
  transition:color .3s ease;
  padding-bottom:4px;
}
.navlinks a.active{ color:var(--gold-1); }
.navlinks a::after{
  content:'';
  position:absolute; left:0; bottom:0;
  width:0%; height:1px;
  background:var(--gold-2);
  transition:width .35s ease;
}
.navlinks a:hover{color:var(--ivory);}
.navlinks a:hover::after, .navlinks a.active::after{width:100%;}
.nav-cta{
  border:1px solid var(--gold-3);
  padding:0.55rem 1.3rem;
  font-size:0.72rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--gold-1);
  transition:all .3s ease;
  white-space:nowrap;
}
.nav-cta:hover{background:var(--gold-2); color:#100d09; border-color:var(--gold-2);}

/* ---------- Mobile menu button ---------- */
.menu-btn{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:40px; height:40px;
  background:none;
  border:1px solid var(--line);
  cursor:pointer;
  z-index:210;
}
.menu-btn span{
  display:block;
  width:18px; height:1px;
  background:var(--gold-1);
  transition:transform .35s ease, opacity .35s ease;
}
.menu-btn.active span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.menu-btn.active span:nth-child(2){ opacity:0; }
.menu-btn.active span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.mobile-panel{
  position:fixed;
  inset:0;
  background:rgba(7,6,10,0.98);
  backdrop-filter:blur(14px);
  z-index:190;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2.2rem;
  opacity:0;
  visibility:hidden;
  transform:translateY(-12px);
  transition:opacity .4s ease, transform .4s ease, visibility .4s;
}
.mobile-panel.open{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.mobile-panel a{
  font-family:'Cinzel',serif;
  font-size:1.3rem;
  letter-spacing:0.1em;
  color:var(--ivory);
}
.mobile-panel a:hover{ color:var(--gold-1); }
.mobile-panel .nav-cta{ margin-top:1rem; }

/* ---------- Scroll to top ---------- */
.scroll-top{
  position:fixed;
  bottom:2rem; right:2rem;
  width:48px; height:48px;
  border-radius:50%;
  background:linear-gradient(180deg, var(--gold-1), var(--gold-2));
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border:none;
  z-index:150;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .35s ease, transform .35s ease, visibility .35s, box-shadow .3s ease;
  box-shadow:0 6px 20px rgba(0,0,0,0.4);
}
.scroll-top.show{
  opacity:1; visibility:visible; transform:translateY(0);
}
.scroll-top:hover{ box-shadow:0 10px 28px rgba(201,151,63,0.35); }
.scroll-top svg{ width:18px; height:18px; }

/* ---------- Hero (home) ---------- */
.hero{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  padding:8rem 6vw 4rem;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(201,151,63,0.14) 0%, rgba(7,6,10,0) 55%),
    var(--void);
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;
  width:900px; height:900px;
  border:1px solid var(--line);
  border-radius:50%;
  top:-420px; left:50%;
  transform:translateX(-50%);
  opacity:.5;
}
.ring-orbit{
  position:absolute;
  top:50%; left:50%;
  width:640px; height:640px;
  transform:translate(-50%,-50%);
  border:1px solid rgba(201,151,63,0.16);
  border-radius:50%;
  animation:spin 90s linear infinite;
}
@keyframes spin{ to{ transform:translate(-50%,-50%) rotate(360deg);} }

.hero-logo{
  width:150px; height:150px;
  border-radius:50%;
  position:relative;
  z-index:2;
  filter:drop-shadow(0 0 30px rgba(207,159,69,0.28));
  animation:glow 5s ease-in-out infinite;
}
@keyframes glow{
  0%,100%{filter:drop-shadow(0 0 22px rgba(207,159,69,0.22));}
  50%{filter:drop-shadow(0 0 38px rgba(207,159,69,0.4));}
}

.hero h1{
  margin-top:2.1rem;
  font-size:clamp(2.3rem, 6vw, 4.4rem);
  letter-spacing:0.06em;
  line-height:1.08;
  z-index:2;
}
.hero .sub-mark{
  margin-top:1.1rem;
  font-size:0.82rem;
  letter-spacing:0.5em;
  text-transform:uppercase;
  color:var(--gold-2);
  z-index:2;
}
.hero p.lede{
  max-width:560px;
  margin:2rem auto 0;
  font-size:1.02rem;
  line-height:1.85;
  color:var(--muted);
  font-weight:300;
  z-index:2;
}
.hero-ctas{
  margin-top:2.6rem;
  display:flex;
  gap:1.1rem;
  z-index:2;
  flex-wrap:wrap;
  justify-content:center;
}
.btn-primary, .btn-ghost{
  padding:0.95rem 2.1rem;
  font-size:0.75rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  display:inline-block;
}
.btn-primary{
  background:linear-gradient(180deg, var(--gold-1), var(--gold-2));
  color:#100d09;
  font-weight:500;
  transition:transform .3s ease, box-shadow .3s ease;
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 30px rgba(201,151,63,0.28);}
.btn-ghost{
  border:1px solid var(--gold-3);
  color:var(--gold-1);
  transition:all .3s ease;
}
.btn-ghost:hover{ border-color:var(--gold-1); background:rgba(201,151,63,0.08);}

.scroll-cue{
  position:absolute;
  bottom:2.4rem; left:50%;
  transform:translateX(-50%);
  width:1px; height:52px;
  background:linear-gradient(180deg, var(--gold-2), transparent);
  z-index:2;
}
.scroll-cue::after{
  content:'';
  position:absolute; left:-2px; top:0;
  width:5px; height:5px; border-radius:50%;
  background:var(--gold-1);
  animation:fall 2.4s ease-in-out infinite;
}
@keyframes fall{ 0%{top:0; opacity:1;} 90%{opacity:0;} 100%{top:52px; opacity:0;} }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero{
  min-height:62vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  padding:9rem 6vw 4rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201,151,63,0.12) 0%, rgba(7,6,10,0) 60%),
    var(--void);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.page-hero::after{
  content:'';
  position:absolute;
  width:520px; height:520px;
  border:1px solid var(--line);
  border-radius:50%;
  top:-260px; right:-180px;
  opacity:.5;
}
.breadcrumb{
  display:flex;
  align-items:center;
  gap:0.6rem;
  font-size:0.72rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:1.6rem;
  z-index:2;
  position:relative;
}
.breadcrumb a:hover{ color:var(--gold-1); }
.page-hero h1{
  font-size:clamp(2.1rem,5vw,3.6rem);
  max-width:760px;
  z-index:2;
  position:relative;
}
.page-hero p.lede{
  max-width:620px;
  margin-top:1.4rem;
  color:var(--muted);
  line-height:1.85;
  font-size:1.02rem;
  z-index:2;
  position:relative;
}
.page-hero .tag-pill{
  display:inline-block;
  font-size:0.68rem;
  letter-spacing:0.24em;
  text-transform:uppercase;
  padding:0.5rem 1.1rem;
  border:1px solid var(--accent, var(--gold-3));
  color:var(--accent, var(--gold-1));
  margin-bottom:1.4rem;
  z-index:2;
  position:relative;
}

/* ---------- Divider ---------- */
.divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1.2rem;
  padding:3.6rem 0;
}
.divider .line{ height:1px; width:120px; background:linear-gradient(90deg, transparent, var(--gold-3)); }
.divider .line.right{ background:linear-gradient(90deg, var(--gold-3), transparent); }
.divider svg{ width:22px; height:22px; }

/* ---------- Section generic ---------- */
section{ position:relative; padding:5.5rem 0; }
.section-head{ text-align:center; max-width:640px; margin:0 auto 3.6rem; }
.section-head.left{ text-align:left; margin:0 0 3rem; }
.section-head h2{ font-size:clamp(1.9rem,3.6vw,2.7rem); }
.section-head p{ margin-top:1rem; color:var(--muted); line-height:1.8; font-size:0.98rem; }

.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- Services grid (home + hub) ---------- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1.6rem;
}
.service-card{
  background:linear-gradient(180deg, var(--panel2), var(--panel));
  border:1px solid var(--line);
  padding:2.6rem 2.1rem;
  position:relative;
  overflow:hidden;
  transition:transform .4s ease, border-color .4s ease;
  display:flex;
  flex-direction:column;
}
.service-card:hover{ transform:translateY(-8px); border-color:var(--accent, var(--gold-3)); }
.service-card::before{
  content:'';
  position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--accent, var(--gold-2));
}
.service-card .icon{
  width:52px; height:52px;
  margin-bottom:1.6rem;
}
.service-card h3{
  font-size:1.32rem;
  color:var(--ivory);
  margin-bottom:0.4rem;
}
.service-card .tag{
  font-size:0.68rem;
  letter-spacing:0.24em;
  text-transform:uppercase;
  color:var(--accent, var(--gold-2));
  display:block;
  margin-bottom:1.1rem;
}
.service-card p{
  color:var(--muted);
  font-size:0.92rem;
  line-height:1.8;
  margin-bottom:1.3rem;
}
.service-card ul{
  list-style:none;
  max-height:0;
  overflow:hidden;
  transition:max-height .5s ease;
}
.service-card.open ul{ max-height:220px; }
.service-card ul li{
  font-size:0.86rem;
  color:var(--ivory);
  padding:0.5rem 0;
  border-top:1px solid rgba(255,255,255,0.06);
  display:flex;
  gap:0.6rem;
}
.service-card ul li::before{ content:'—'; color:var(--accent, var(--gold-2)); }
.card-toggle, .card-link{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  font-size:0.72rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--gold-1);
  cursor:pointer;
  background:none; border:none;
  font-family:'Jost',sans-serif;
  padding:0;
  margin-top:auto;
}
.card-toggle .chev{ transition:transform .4s ease; }
.service-card.open .card-toggle .chev{ transform:rotate(45deg); }
.card-link svg{ transition:transform .3s ease; }
.card-link:hover svg{ transform:translateX(4px); }

/* ---------- Philosophy ---------- */
.philosophy{
  background:var(--panel);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.philosophy .wrap{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap:4rem;
  align-items:center;
}
.philosophy .mark{
  font-family:'Cormorant Garamond', serif;
  font-style:italic;
  font-size:6rem;
  color:var(--gold-3);
  line-height:0.6;
}
.philosophy blockquote{
  font-family:'Cormorant Garamond', serif;
  font-style:italic;
  font-size:1.7rem;
  line-height:1.6;
  color:var(--ivory);
}
.philosophy .attribution{
  margin-top:1.6rem;
  font-family:'Jost',sans-serif;
  font-style:normal;
  font-size:0.75rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:var(--gold-2);
}

/* ---------- Values ---------- */
.values-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.value-item{
  background:var(--void);
  padding:2.6rem 1.6rem;
  text-align:center;
}
.value-item .num{
  font-family:'Cinzel',serif;
  font-size:0.72rem;
  letter-spacing:0.3em;
  color:var(--gold-3);
  display:block;
  margin-bottom:0.9rem;
}
.value-item h4{
  font-family:'Cinzel',serif;
  font-size:1.05rem;
  letter-spacing:0.03em;
  margin-bottom:0.6rem;
  color:var(--gold-1);
}
.value-item p{ color:var(--muted); font-size:0.86rem; line-height:1.7; }

/* ---------- Process timeline (service detail pages) ---------- */
.process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.6rem;
  counter-reset:step;
}
.process-step{
  position:relative;
  padding:2.2rem 1.6rem 1.8rem;
  background:linear-gradient(180deg, var(--panel2), var(--panel));
  border:1px solid var(--line);
  border-top:2px solid var(--accent, var(--gold-2));
}
.process-step .step-num{
  font-family:'Cinzel',serif;
  font-size:2.1rem;
  color:var(--accent, var(--gold-2));
  opacity:0.55;
  display:block;
  margin-bottom:1rem;
}
.process-step h4{
  font-family:'Cinzel',serif;
  font-size:1.02rem;
  color:var(--ivory);
  margin-bottom:0.6rem;
  letter-spacing:0.02em;
}
.process-step p{ color:var(--muted); font-size:0.86rem; line-height:1.7; }

/* ---------- Detail feature grid ---------- */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.4rem;
}
.feature-item{
  padding:1.8rem;
  border:1px solid var(--line);
  background:var(--panel);
  display:flex;
  gap:1rem;
  align-items:flex-start;
}
.feature-item svg{ width:26px; height:26px; flex-shrink:0; margin-top:2px; }
.feature-item h4{ font-family:'Cinzel',serif; font-size:1rem; color:var(--ivory); margin-bottom:0.4rem; }
.feature-item p{ color:var(--muted); font-size:0.88rem; line-height:1.7; }

/* ---------- Two column detail block ---------- */
.detail-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem;
  align-items:start;
}
.detail-split p{ color:var(--muted); line-height:1.9; font-size:0.98rem; margin-bottom:1.2rem; }
.detail-split .panel-box{
  background:var(--panel);
  border:1px solid var(--line);
  border-left:3px solid var(--accent, var(--gold-2));
  padding:2.2rem;
}
.detail-split .panel-box h4{ font-family:'Cinzel',serif; color:var(--gold-1); margin-bottom:1rem; font-size:1.05rem; }
.detail-split .panel-box ul{ list-style:none; }
.detail-split .panel-box ul li{
  font-size:0.9rem; color:var(--ivory);
  padding:0.6rem 0;
  border-top:1px solid rgba(255,255,255,0.07);
  display:flex; gap:0.6rem;
}
.detail-split .panel-box ul li:first-child{ border-top:none; }
.detail-split .panel-box ul li::before{ content:'—'; color:var(--accent, var(--gold-2)); }

.cta-strip{
  text-align:center;
  padding:5rem 0;
  background:var(--panel);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.cta-strip h2{ font-size:clamp(1.7rem,3.4vw,2.3rem); margin-bottom:1rem; }
.cta-strip p{ color:var(--muted); margin-bottom:2rem; }

/* ---------- Related services ---------- */
.related-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.4rem;
}
.related-card{
  padding:1.8rem;
  border:1px solid var(--line);
  background:var(--panel);
  transition:border-color .3s ease, transform .3s ease;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.related-card:hover{ transform:translateY(-4px); border-color:var(--gold-3); }
.related-card .tag{ font-size:0.66rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold-2); display:block; margin-bottom:0.4rem;}
.related-card h4{ font-family:'Cinzel',serif; font-size:1.02rem; color:var(--ivory); }

/* ---------- Contact ---------- */
.contact .wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem;
}
.contact-info h2{ font-size:clamp(1.9rem,3.4vw,2.5rem); margin-bottom:1.2rem; }
.contact-info p{ color:var(--muted); line-height:1.85; margin-bottom:2.2rem; }
.contact-detail{
  display:flex; gap:1rem; align-items:flex-start;
  margin-bottom:1.6rem;
  padding-bottom:1.6rem;
  border-bottom:1px solid var(--line);
}
.contact-detail svg{ width:20px; height:20px; flex-shrink:0; margin-top:2px; }
.contact-detail .label{ font-size:0.7rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold-2); margin-bottom:0.3rem; }
.contact-detail .val{ color:var(--ivory); font-size:0.95rem; }

form{ display:flex; flex-direction:column; gap:1.3rem; }
.field{ display:flex; flex-direction:column; gap:0.5rem; }
.field label{ font-size:0.7rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); }
.field input, .field select, .field textarea{
  background:var(--panel2);
  border:1px solid var(--line);
  color:var(--ivory);
  padding:0.9rem 1rem;
  font-family:'Jost',sans-serif;
  font-size:0.92rem;
  outline:none;
  transition:border-color .3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--gold-2); }
.field textarea{ resize:vertical; min-height:100px; }
.submit-btn{
  align-self:flex-start;
  margin-top:0.4rem;
  padding:0.95rem 2.4rem;
  background:linear-gradient(180deg, var(--gold-1), var(--gold-2));
  color:#100d09;
  font-size:0.75rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-weight:500;
  border:none;
  cursor:pointer;
  transition:transform .3s ease, box-shadow .3s ease;
}
.submit-btn:hover{ transform:translateY(-2px); box-shadow:0 10px 30px rgba(201,151,63,0.28); }

/* ---------- Footer ---------- */
footer{
  border-top:1px solid var(--line);
  padding:3.2rem 0 2.2rem;
}
footer .wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1.4rem;
}
.footer-brand{ display:flex; align-items:center; gap:0.7rem; }
.footer-brand img{ width:30px; height:30px; border-radius:50%; }
.footer-brand span{ font-family:'Cinzel',serif; font-size:0.78rem; letter-spacing:0.14em; color:var(--gold-1); }
.footer-links{ display:flex; gap:1.8rem; font-size:0.78rem; color:var(--muted); flex-wrap:wrap; }
.footer-links a:hover{ color:var(--gold-1); }
.footer-copy{ font-size:0.75rem; color:var(--muted); width:100%; text-align:center; margin-top:1.6rem; padding-top:1.6rem; border-top:1px solid var(--line); }

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:1px solid var(--gold-2);
  outline-offset:3px;
}

/* ---------- Responsive ---------- */
@media (max-width:920px){
  .services-grid, .feature-grid, .related-grid{ grid-template-columns:1fr; }
  .process{ grid-template-columns:repeat(2,1fr); }
  .philosophy .wrap, .detail-split{ grid-template-columns:1fr; gap:2.4rem; }
  .values-strip{ grid-template-columns:repeat(2,1fr); }
  .contact .wrap{ grid-template-columns:1fr; }
  .navlinks{ display:none; }
  .nav-cta{ display:none; }
  .menu-btn{ display:flex; }
  .scroll-top{ right:1.2rem; bottom:1.2rem; width:44px; height:44px; }
}
@media (max-width:600px){
  .process{ grid-template-columns:1fr; }
  .wrap{ padding:0 7vw; }
  .page-hero{ padding-top:7.5rem; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}
