:root{
  --cherry:#590016;
  --ivory:#F4EDE3;
  --taupe:#D8CFC4;
  --charcoal:#2B2B2B;
  --raspberry:#A3254A;
  --raspberry-dark:#861E3D;
  --gold:#C29B38;
  --blush:#E8A29A;
  --font-head:'Montserrat', sans-serif;
  --font-body:'Open Sans', sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  background:var(--ivory);
  color:var(--charcoal);
  line-height:1.7;
  overflow-x:hidden;
}
h1,h2,h3{font-family:var(--font-head); font-weight:600; line-height:1.1; color:inherit;}
p{max-width:62ch;}
a{color:inherit;}
:focus-visible{outline:2px solid var(--raspberry); outline-offset:3px;}
section{position:relative; padding:clamp(4rem,9vw,7.5rem) clamp(1.5rem,6vw,4rem);}
.grain::after{
  content:""; position:absolute; top:0; left:0; right:0; bottom:0;
  pointer-events:none; opacity:0.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.wrap{max-width:1180px; margin:0 auto;}
.eyebrow{
  font-size:0.78rem; letter-spacing:0.18em; font-weight:600;
  color:var(--raspberry); text-transform:uppercase;
}

/* ---------- TOP NAV ---------- */
.top-nav{
  position:fixed; top:0; left:0; right:0; z-index:70;
  display:flex; align-items:center; justify-content:space-between;
  padding:1rem clamp(1.5rem,6vw,4rem);
  color:var(--ivory);
  background:linear-gradient(to bottom, rgba(89,0,22,0.92), rgba(89,0,22,0));
  pointer-events:none;
}
.top-nav > *{pointer-events:auto;}
.top-nav .nav-brand{
  font-family:var(--font-head); font-weight:700; letter-spacing:0.08em;
  text-transform:uppercase; font-size:0.82rem;
  text-decoration:none;
}
.top-nav-links{
  display:flex; align-items:center; gap:1.4rem; font-size:0.78rem;
  letter-spacing:0.08em; text-transform:uppercase;
}
.top-nav-links a{text-decoration:none; opacity:0.86; transition:opacity .2s ease;}
.top-nav-links a:hover{opacity:1;}
.nav-cta{
  padding:0.55rem 1rem; border:1px solid rgba(244,237,227,.55);
  border-radius:999px; text-decoration:none; transition:background .2s ease, color .2s ease;
}
.nav-cta:hover{background:var(--ivory); color:var(--cherry);}
@media (max-width:820px){
  .hero-inner{padding-top:3rem;}
  .top-nav-links a:not(.nav-cta){display:none;}
  .top-nav{padding:0.9rem 1.25rem;}
}

/* ---------- HERO ENHANCEMENTS ---------- */
.hero .hero-inner{max-width:900px;}
.hero .hero-kicker{
  font-size:clamp(1.05rem,2vw,1.35rem); line-height:1.45;
  color:var(--taupe); max-width:48ch; margin:1.25rem 0 1.75rem;
}
.hero-actions{display:flex; gap:.8rem; flex-wrap:wrap;}
.hero-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.8rem 1.25rem; border-radius:999px; text-decoration:none;
  font-family:var(--font-head); font-weight:600; font-size:.9rem;
  border:1px solid rgba(244,237,227,.45); transition:all .2s ease;
}
.hero-btn.primary{background:var(--ivory); color:var(--cherry); border-color:var(--ivory);}
.hero-btn.primary:hover{background:var(--taupe); border-color:var(--taupe);}
.hero-btn.secondary{color:var(--ivory);}
.hero-btn.secondary:hover{background:rgba(244,237,227,.1);}

/* ---------- PROBLEM SECTION ---------- */
.problems{background:#fffaf4;}
.problems h2{font-size:clamp(2rem,4vw,2.8rem); margin:.6rem 0 1rem; max-width:19ch;}
.problems-intro{max-width:55ch; margin-bottom:2.4rem;}
.problem-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:1rem;}
.problem-card{padding:1.55rem; border:1px solid var(--taupe); border-radius:14px; background:var(--ivory);}
.problem-card .num{font-family:var(--font-head); font-size:.72rem; letter-spacing:.12em; color:var(--raspberry); font-weight:700;}
.problem-card h3{font-size:1.05rem; margin:.7rem 0 .45rem; color:var(--cherry);}
.problem-card p{font-size:.9rem; color:#5c5b56;}
@media (max-width:1000px){.problem-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:650px){.problem-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:480px){.problem-grid{grid-template-columns:1fr;}}

/* ---------- WORK ---------- */
.work{background:var(--cherry); color:var(--ivory);}
.work .eyebrow{color:var(--blush);}
.work h2{color:var(--ivory); font-size:clamp(2rem,4vw,2.8rem); margin:.6rem 0 2.2rem; max-width:20ch;}
.work-carousel{position:relative;}
.work-grid{display:flex; gap:1rem; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none; overscroll-behavior-x:contain;}
.work-grid::-webkit-scrollbar{display:none;}
.work-card{border:1px solid rgba(244,237,227,.2); border-radius:16px; padding:2rem; background:rgba(244,237,227,.06); min-width:100%; flex:0 0 100%; scroll-snap-align:start;}
.work-controls{display:flex; justify-content:flex-end; gap:.65rem; margin-top:1rem;}
.work-arrow{width:42px; height:42px; border:1px solid rgba(244,237,227,.3); border-radius:50%; background:rgba(244,237,227,.06); color:var(--ivory); font-size:1.25rem; line-height:1; cursor:pointer; transition:background .2s ease, transform .2s ease, opacity .2s ease;}
.work-arrow:hover{background:rgba(244,237,227,.14); transform:translateY(-1px);}
.work-arrow:disabled{opacity:.35; cursor:default; transform:none;}
.work-card:nth-child(1), .work-card:nth-child(3){background:linear-gradient(145deg, rgba(232,162,154,.16), rgba(244,237,227,.04));}
.work-meta{font-size:.68rem; letter-spacing:.11em; text-transform:uppercase; color:var(--gold); font-weight:600;}
.work-card h3{font-size:1.15rem; line-height:1.25; margin:.65rem 0 1.1rem; color:var(--ivory);}
.case-point{margin-top:.9rem;}
.case-point strong{display:block; font-size:.67rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); margin-bottom:.25rem;}
.case-point p{font-size:.82rem; line-height:1.5; color:var(--taupe); margin:0;}
.work-note{margin-top:1.5rem; font-size:.82rem; color:var(--taupe); font-style:italic;}
@media (max-width:700px){.work-card{padding:1.5rem;}}

/* ---------- EXPERIENCE / CREDIBILITY ---------- */
.experience{background:#fffaf4;}
.experience h2{font-size:clamp(2rem,4vw,2.7rem); margin:.6rem 0 2rem; max-width:22ch;}
.experience-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1rem;}
.experience-card{padding:1.6rem; border-top:2px solid var(--raspberry);}
.experience-card h3{font-size:1.05rem; color:var(--cherry); margin-bottom:.4rem;}
.experience-card p{font-size:.9rem; color:#5c5b56;}
.credibility{margin-top:3rem; padding-top:2rem; border-top:1px solid var(--taupe);}
.credibility-label{font-size:.72rem; letter-spacing:.15em; text-transform:uppercase; color:var(--raspberry); font-weight:700; margin-bottom:1rem;}
.logo-list{display:flex; flex-wrap:wrap; gap:.65rem;}
.logo-pill{padding:.65rem .9rem; border:1px solid var(--taupe); border-radius:999px; font-family:var(--font-head); font-size:.78rem; color:#55504a; background:var(--ivory);}
@media (max-width:750px){.experience-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:500px){.experience-grid{grid-template-columns:1fr;}}

/* ---------- GET / POV ---------- */
.gets{background:var(--ivory);}
.gets h2{font-size:clamp(2rem,4vw,2.7rem); margin:.6rem 0 2rem; max-width:22ch;}
.gets-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:1rem;}
.get-card{padding:1.45rem; border-radius:14px; background:#EDE9E2; border:1px solid #DBD5C9;}
.get-card h3{font-size:1.05rem; color:var(--cherry); margin-bottom:.45rem;}
.get-card p{font-size:.88rem; color:#5c5b56;}
@media (max-width:950px){.gets-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:600px){.gets-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:450px){.gets-grid{grid-template-columns:1fr;}}

.pov-list{display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:2.3rem;}
.pov-point{padding:1.35rem 1.5rem; border-left:2px solid var(--gold); background:rgba(244,237,227,.06);}
.pov-point p{font-family:var(--font-head); font-size:1rem; line-height:1.45; color:var(--ivory);}
@media (max-width:700px){.pov-list{grid-template-columns:1fr;}}

/* ---------- CONTACT ENHANCEMENTS ---------- */
.contact h2{max-width:20ch; margin-left:auto; margin-right:auto;}
.contact-intro{margin:0 auto; max-width:48ch; color:#5c5b56;}
.contact-email{display:inline-block; margin-top:1.3rem; color:var(--raspberry); font-family:var(--font-head); font-weight:600; text-decoration:none;}
.contact-email:hover{text-decoration:underline;}

/* ---------- HERO ---------- */
.hero{
  min-height:100svh;
  background:var(--cherry);
  color:var(--ivory);
  display:flex; align-items:center;
  overflow:hidden;
}
.hero-bloom{
  position:absolute; top:-20%; right:-12%;
  width:min(70vw,760px); height:min(70vw,760px);
  border-radius:50%;
  background:radial-gradient(circle at 35% 35%, var(--raspberry) 0%, var(--raspberry-dark) 45%, transparent 72%);
  opacity:0.55;
  filter:blur(2px);
  will-change:transform;
}
.hero-bloom.two{
  top:auto; bottom:-30%; left:-15%; right:auto;
  width:min(55vw,560px); height:min(55vw,560px);
  background:radial-gradient(circle at 60% 40%, var(--gold) 0%, transparent 70%);
  opacity:0.35;
}
.hero-inner{position:relative; z-index:2; max-width:760px; padding:0 clamp(1.5rem,6vw,4rem);
  opacity:0; transform:translateY(18px); animation:rise 0.9s ease-out 0.15s forwards;}
@keyframes rise{to{opacity:1; transform:translateY(0);}}
.hero h1{margin-bottom:0.5rem; padding:0.15em 0;}
.hero .role{
  display:inline-block; font-size:0.85rem; letter-spacing:0.16em; font-weight:600;
  text-transform:uppercase; color:var(--blush); margin-bottom:1.4rem;
}
.hero .tagline{font-family:var(--font-body); font-style:italic; font-size:1.2rem; color:var(--taupe); max-width:34ch;}
.hero h1 .wordmark{
  display:inline-block; font-family:var(--font-head); font-weight:700;
  font-size:clamp(3.2rem,8.5vw,6rem); line-height:1.1;
  color:var(--ivory);
  clip-path:inset(0 100% 0 0);
  animation:signature 1s cubic-bezier(.22,.61,.36,1) 0.5s forwards;
}
@keyframes signature{to{clip-path:inset(0 0% 0 0);}}

/* ---------- ABOUT ---------- */
.about{background:var(--ivory);}
.about .wrap{max-width:760px;}
.about h2{font-size:clamp(2rem,4vw,2.9rem); margin:0.6rem 0 1.4rem;}
.about p{color:var(--charcoal); margin-bottom:1.1rem; font-size:1.02rem;}

/* ---------- SERVICES ---------- */
.services{background:var(--ivory);}
.services h2{font-size:clamp(1.8rem,3.6vw,2.4rem); margin:0.6rem 0 2.5rem; max-width:32ch;}
.service-list{display:flex; flex-direction:column; gap:1rem;}
.service{
  display:flex; align-items:center; gap:1.5rem;
  padding:1.6rem 1.8rem; border-radius:14px;
}
.service.dark{background:var(--cherry); color:var(--ivory);}
.service.light{background:transparent; border:1.5px solid var(--taupe); color:var(--charcoal);}
.service svg{flex-shrink:0; width:34px; height:34px;}
.service h3{font-size:1.2rem; margin-bottom:0.25rem;}
.service p{font-size:0.92rem; margin:0; opacity:0.85;}

/* ---------- POV ---------- */
.pov{
  background:linear-gradient(160deg, var(--cherry) 0%, var(--raspberry-dark) 100%);
  color:var(--ivory); text-align:left; overflow:hidden;
}
.pov-orb{
  position:absolute; width:min(50vw,520px); height:min(50vw,520px); border-radius:50%;
  background:radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity:0.25; bottom:-20%; right:-10%; will-change:transform;
}
.pov-inner{position:relative; z-index:2; max-width:820px;}
.pov h2{font-size:clamp(2.2rem,5.5vw,3.6rem); margin:1rem 0 1.6rem; max-width:16ch;}
.pov p{font-size:1.08rem; color:var(--taupe); max-width:50ch;}

/* ---------- CONTACT ---------- */
.contact{background:var(--ivory); text-align:center;}
.contact .wrap{max-width:640px;}
.contact h2{font-size:clamp(2rem,5vw,3rem); margin:0.8rem 0 2.2rem;}
.contact-form{
  display:grid; grid-template-columns:1fr 1fr; gap:1.1rem;
  margin-top:1.5rem; text-align:left;
}
.contact-form .field.full{grid-column:1 / -1;}
.contact-form label{
  display:block; font-size:0.8rem; font-weight:600; margin-bottom:0.45rem;
  color:var(--charcoal); font-family:var(--font-head);
}
.contact-form input, .contact-form textarea{
  width:100%; padding:0.75rem 1rem; border-radius:10px;
  border:1.5px solid var(--taupe); background:#fff;
  font-family:var(--font-body); font-size:0.95rem; color:var(--charcoal);
  transition:border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form textarea{min-height:130px; resize:vertical;}
.contact-form input:focus, .contact-form textarea:focus{
  outline:none; border-color:var(--raspberry);
  box-shadow:0 0 0 3px rgba(163,37,74,0.12);
}

/* Validation styling */
.contact-form .field.has-error input,
.contact-form .field.has-error textarea{
  border-color:var(--raspberry);
  background-color:#fff9fa;
}
.field-error{
  display:block;
  font-size:0.78rem;
  color:var(--raspberry);
  margin-top:0.35rem;
  font-weight:600;
  animation:fadeIn 0.2s ease-out;
}
@keyframes fadeIn{from{opacity:0; transform:translateY(-3px);} to{opacity:1; transform:translateY(0);}}

/* reCAPTCHA container */
.recaptcha-wrapper{
  grid-column:1 / -1;
  margin-top:0.25rem;
  margin-bottom:0.25rem;
}

/* Honeypot field (hidden from legitimate users) */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
  overflow:hidden !important;
}

/* Alert banners */
.form-alert{
  grid-column:1 / -1;
  padding:1rem 1.25rem;
  border-radius:10px;
  font-size:0.92rem;
  line-height:1.5;
  margin-bottom:0.5rem;
  display:flex;
  align-items:flex-start;
  gap:0.75rem;
  animation:fadeIn 0.3s ease-out;
}
.form-alert.success{
  background:var(--cherry);
  color:var(--ivory);
  border:1px solid var(--blush);
}
.form-alert.success strong{
  color:var(--gold);
}
.form-alert.error{
  background:#fff0f3;
  color:var(--raspberry-dark);
  border:1px solid #f2c9d2;
}

/* Submit button & loading spinner */
.contact-form button{
  grid-column:1 / -1; justify-self:start; margin-top:0.3rem;
  padding:0.9rem 2rem; border:none; border-radius:999px;
  background:var(--raspberry); color:var(--ivory);
  font-family:var(--font-head); font-weight:600; font-size:1rem;
  cursor:pointer; transition:background 0.15s ease, opacity 0.2s ease, transform 0.15s ease;
  display:inline-flex; align-items:center; justify-content:center; gap:0.6rem;
}
.contact-form button:hover:not(:disabled){
  background:var(--raspberry-dark);
  transform:translateY(-1px);
}
.contact-form button:disabled{
  opacity:0.65;
  cursor:not-allowed;
  transform:none;
}
.btn-spinner{
  display:inline-block;
  width:16px;
  height:16px;
  border:2px solid rgba(244,237,227,0.35);
  border-radius:50%;
  border-top-color:var(--ivory);
  animation:spin 0.8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg);}}

footer{padding:2rem; text-align:center; font-size:0.82rem; color:var(--charcoal); opacity:0.6;}

/* ---------- SCROLL REVEAL ---------- */
.reveal{
  opacity:0; transform:translateY(22px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in{opacity:1; transform:translateY(0);}
.reveal.d1{transition-delay:0.08s;}
.reveal.d2{transition-delay:0.16s;}
.reveal.d3{transition-delay:0.24s;}
.reveal.d4{transition-delay:0.32s;}
.reveal.d5{transition-delay:0.4s;}

/* ---------- SIDE NAV ---------- */
.side-nav{
  position:fixed; right:1.4rem; top:50%; transform:translateY(-50%); z-index:60;
  display:flex; flex-direction:column; gap:0.7rem;
  background:rgba(244,237,227,0.55); backdrop-filter:blur(8px);
  padding:0.7rem 0.5rem; border-radius:999px;
}
.side-nav button{
  width:8px; height:8px; padding:0; border-radius:50%;
  border:1.5px solid var(--raspberry); background:transparent; cursor:pointer;
  transition:background 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.side-nav button.active{background:var(--raspberry); width:10px; height:10px;}
@media (max-width:820px){
  .side-nav{display:none;}
}

@media (max-width:820px){
  .service{flex-direction:column; align-items:flex-start; text-align:left;}
}
@media (max-width:600px){
  .contact-form{grid-template-columns:1fr;}
  .contact-form .field.full{grid-column:auto;}
  .contact-form button{justify-self:stretch;}
  .recaptcha-wrapper{overflow-x:auto;}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .hero-inner{animation:none; opacity:1; transform:none;}
  .hero-bloom, .pov-orb{transform:none !important;}
  .hero h1 .wordmark{animation:none; clip-path:none;}
  .reveal{opacity:1 !important; transform:none !important; transition:none !important;}
}
