/* ========================================================== 
   Westmont Quill — Stylesheet
   ========================================================== */

:root{
  --navy:#0f1b2e;
  --navy-2:#16273e;
  --charcoal:#1c2733;
  --cream:#f6f1e6;
  --cream-2:#eee6d3;
  --white:#fffdf9;
  --gold:#b08a45;
  --gold-light:#d3ae72;
  --gold-dim:rgba(176,138,69,0.35);
  --ink-70:rgba(15,27,46,0.7);
  --ink-50:rgba(15,27,46,0.5);
  --serif:'Fraunces', Georgia, serif;
  --sans:'Inter', -apple-system, sans-serif;
  --maxw:1180px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--sans);
  color:var(--navy);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
button{font-family:inherit; cursor:pointer;}
:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
h1,h2,h3,h4{font-family:var(--serif); font-weight:500; letter-spacing:-0.01em; color:var(--navy);}
.eyebrow{
  font-size:12.5px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--gold); font-weight:600; display:flex; align-items:center; gap:10px;
}
.eyebrow::before{content:''; width:22px; height:1px; background:var(--gold);}
.section{padding:100px 0;}
@media(max-width:768px){.section{padding:64px 0;} .wrap{padding:0 22px;}}

/* Ink progress rail — signature element */
#ink-rail{
  position:fixed; top:0; left:0; width:3px; height:100%;
  background:transparent; z-index:999; pointer-events:none;
}
#ink-rail .fill{
  width:100%; height:0%; background:linear-gradient(180deg,var(--gold-light),var(--gold));
  transition:height 80ms linear;
}
#ink-rail .nib{
  position:absolute; left:-6px; width:15px; height:15px; transform:translateY(-50%);
  transition:top 80ms linear; top:0%;
}
#ink-rail .nib svg{width:100%;height:100%;filter:drop-shadow(0 0 4px rgba(176,138,69,0.6));}
@media(max-width:900px){#ink-rail{display:none;}}

/* NAV */
header{
  position:fixed; top:0; left:0; right:0; z-index:500;
  background:rgba(246,241,230,0.86); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(15,27,46,0.08);
  transition:background .3s ease;
}
.navbar{display:flex; align-items:center; justify-content:space-between; padding:14px 32px; max-width:var(--maxw); margin:0 auto;}
.brand{display:flex; align-items:center; gap:10px;}
.brand img{height:36px; width:auto;}
.brand-text{font-family:var(--serif); font-size:19px; letter-spacing:0.02em; color:var(--navy); line-height:1.1;}
.brand-text span{display:block; font-family:var(--sans); font-size:9px; letter-spacing:0.18em; color:var(--gold); font-weight:600; margin-top:2px;}
nav.links{display:flex; gap:34px; align-items:center;}
nav.links a{font-size:14px; font-weight:500; color:var(--ink-70); position:relative; padding:4px 0;}
nav.links a::after{content:''; position:absolute; left:0; bottom:-2px; width:0; height:1px; background:var(--gold); transition:width .25s ease;}
nav.links a:hover{color:var(--navy);}
nav.links a:hover::after{width:100%;}
.nav-cta{
  background:var(--navy); color:var(--cream) !important; padding:10px 22px;
  border-radius:2px; font-size:13.5px; font-weight:600; letter-spacing:0.03em;
  border:1px solid var(--navy); transition:all .25s ease;
}
.nav-cta:hover{background:transparent; color:var(--navy) !important;}
.nav-cta::after{display:none;}
.menu-btn{display:none; background:none; border:none; width:26px; height:20px; position:relative;}
.menu-btn span{position:absolute; left:0; width:100%; height:2px; background:var(--navy); transition:all .3s ease;}
.menu-btn span:nth-child(1){top:0;} .menu-btn span:nth-child(2){top:9px;} .menu-btn span:nth-child(3){top:18px;}
.menu-btn.open span:nth-child(1){transform:translateY(9px) rotate(45deg);}
.menu-btn.open span:nth-child(2){opacity:0;}
.menu-btn.open span:nth-child(3){transform:translateY(-9px) rotate(-45deg);}
@media(max-width:900px){
  nav.links{position:fixed; top:66px; left:0; right:0; background:var(--white); flex-direction:column; gap:0;
    max-height:0; overflow:hidden; transition:max-height .35s ease; border-bottom:1px solid rgba(15,27,46,0.08);}
  nav.links.open{max-height:420px;}
  nav.links a{width:100%; padding:16px 28px; border-top:1px solid rgba(15,27,46,0.06);}
  nav.links a::after{display:none;}
  .nav-cta{margin:16px 28px; text-align:center;}
  .menu-btn{display:block;}
}

/* HERO */
.hero{
  min-height:100vh; display:flex; align-items:center; position:relative;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(176,138,69,0.10), transparent 60%),
    var(--cream);
  padding-top:90px; overflow:hidden;
}
.hero-grid{display:grid; grid-template-columns:1.15fr 0.85fr; gap:60px; align-items:center; width:100%;}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr; text-align:left;}}
.hero-eyebrow{opacity:0; animation:riseIn .8s ease forwards; animation-delay:.1s;}
.hero h1{
  font-size:clamp(38px,5.6vw,66px); line-height:1.04; margin:22px 0 26px; letter-spacing:-0.015em;
  opacity:0; animation:riseIn .9s ease forwards; animation-delay:.25s;
}
.hero h1 em{font-style:italic; color:var(--gold);}
.hero p.lede{
  font-size:18px; color:var(--ink-70); max-width:520px; margin-bottom:38px;
  opacity:0; animation:riseIn .9s ease forwards; animation-delay:.4s;
}
.hero-ctas{display:flex; gap:16px; flex-wrap:wrap; opacity:0; animation:riseIn .9s ease forwards; animation-delay:.55s;}
@keyframes riseIn{from{opacity:0; transform:translateY(16px);} to{opacity:1; transform:translateY(0);}}
.btn-primary{
  background:var(--navy); color:var(--cream); padding:16px 30px; font-size:14.5px; font-weight:600;
  letter-spacing:0.02em; border-radius:2px; border:1px solid var(--navy); transition:all .3s ease;
  display:inline-flex; align-items:center; gap:10px;
}
.btn-primary:hover{background:var(--gold); border-color:var(--gold); color:var(--navy); transform:translateY(-2px);}
.btn-secondary{
  padding:16px 28px; font-size:14.5px; font-weight:600; letter-spacing:0.02em; color:var(--navy);
  border:1px solid rgba(15,27,46,0.25); border-radius:2px; transition:all .3s ease;
}
.btn-secondary:hover{border-color:var(--navy); background:rgba(15,27,46,0.04);}
.hero-visual{position:relative; display:flex; align-items:center; justify-content:center; opacity:0; animation:fadeScale 1.1s ease forwards; animation-delay:.35s;}
@keyframes fadeScale{from{opacity:0; transform:scale(.94);} to{opacity:1; transform:scale(1);}}
.hero-visual .plate{
  background:var(--white); border:1px solid rgba(15,27,46,0.08); border-radius:4px;
  box-shadow:0 30px 70px -20px rgba(15,27,46,0.25); padding:44px 40px; position:relative;
  width:100%; max-width:400px;
}
.hero-visual .plate::before{
  content:''; position:absolute; inset:10px; border:1px solid var(--gold-dim); pointer-events:none;
}
.hero-visual .quill-hero{width:130px; margin:0 auto 22px;}
.hero-visual .plate-line{font-family:var(--serif); font-style:italic; font-size:16px; color:var(--ink-70); text-align:center; line-height:1.5;}
.hero-visual .plate-rule{width:40px; height:1px; background:var(--gold); margin:18px auto;}
@media(max-width:980px){.hero-visual{margin-top:20px;}}

/* TRUST STRIP */
.trust{background:var(--navy); padding:0;}
.trust-grid{display:grid; grid-template-columns:repeat(4,1fr); }
.trust-item{
  padding:38px 28px; text-align:center; border-right:1px solid rgba(246,241,230,0.1);
  color:var(--cream);
}
.trust-item:last-child{border-right:none;}
.trust-item .num{font-family:var(--serif); font-size:13px; color:var(--gold-light); letter-spacing:0.08em; margin-bottom:8px;}
.trust-item h4{color:var(--cream); font-size:19px; margin-bottom:6px;}
.trust-item p{font-size:13px; color:rgba(246,241,230,0.65);}
@media(max-width:768px){.trust-grid{grid-template-columns:repeat(2,1fr);} .trust-item{border-bottom:1px solid rgba(246,241,230,0.1);}}

/* SECTION HEADERS */
.sec-head{max-width:640px; margin-bottom:56px;}
.sec-head h2{font-size:clamp(28px,3.4vw,42px); margin-top:16px; line-height:1.12;}
.sec-head p{color:var(--ink-70); font-size:16px; margin-top:16px; max-width:560px;}
.reveal{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* SERVICES */
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(15,27,46,0.1); border:1px solid rgba(15,27,46,0.1);}
@media(max-width:980px){.services-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:640px){.services-grid{grid-template-columns:1fr;}}
.service-card{
  background:var(--cream); padding:36px 30px; transition:background .35s ease, transform .35s ease;
  position:relative; overflow:hidden;
}
.service-card:hover{background:var(--white); transform:translateY(-3px);}
.service-card .ico{width:30px; height:30px; margin-bottom:20px; color:var(--gold);}
.service-card h3{font-size:19px; margin-bottom:10px;}
.service-card p{font-size:14px; color:var(--ink-70);}
.service-card .idx{position:absolute; top:24px; right:28px; font-family:var(--serif); font-style:italic; font-size:13px; color:rgba(15,27,46,0.25);}

/* WHY */
.why{background:var(--navy); color:var(--cream); position:relative; overflow:hidden;}
.why::before{
  content:''; position:absolute; top:-30%; right:-10%; width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle, rgba(176,138,69,0.12), transparent 65%);
}
.why-grid{display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start; position:relative;}
@media(max-width:900px){.why-grid{grid-template-columns:1fr; gap:36px;}}
.why .eyebrow{color:var(--gold-light);}
.why .eyebrow::before{background:var(--gold-light);}
.why h2{color:var(--cream); font-size:clamp(28px,3.4vw,40px); margin:16px 0 20px; line-height:1.15;}
.why > .wrap > .why-grid > div:first-child p{color:rgba(246,241,230,0.72); font-size:16px; max-width:480px;}
.why-list{display:flex; flex-direction:column; gap:0;}
.why-row{display:flex; gap:20px; padding:22px 0; border-top:1px solid rgba(246,241,230,0.14);}
.why-row:last-child{border-bottom:1px solid rgba(246,241,230,0.14);}
.why-row .wnum{font-family:var(--serif); font-style:italic; color:var(--gold-light); font-size:15px; width:26px; flex-shrink:0;}
.why-row h4{color:var(--cream); font-size:16.5px; margin-bottom:6px;}
.why-row p{color:rgba(246,241,230,0.65); font-size:14px;}

/* PORTFOLIO */
.portfolio-note{font-size:13px; color:var(--ink-50); font-style:italic; margin-top:-30px; margin-bottom:44px;}
.portfolio-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
@media(max-width:980px){.portfolio-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:640px){.portfolio-grid{grid-template-columns:1fr;}}
.pf-card{
  background:var(--white); border:1px solid rgba(15,27,46,0.09); cursor:pointer;
  transition:transform .35s ease, box-shadow .35s ease; display:flex; flex-direction:column;
}
.pf-card:hover{transform:translateY(-5px); box-shadow:0 24px 50px -18px rgba(15,27,46,0.22);}
.pf-thumb{
  height:150px; display:flex; align-items:center; justify-content:center; position:relative;
  background:linear-gradient(135deg, var(--navy), var(--navy-2));
  overflow:hidden;
}
.pf-thumb .wm{
  position:absolute; font-family:var(--serif); font-size:12px; letter-spacing:0.14em; color:rgba(246,241,230,0.35);
  transform:rotate(-18deg); white-space:nowrap; text-transform:uppercase;
}
.pf-thumb .tag{
  position:relative; font-family:var(--serif); font-style:italic; color:var(--gold-light); font-size:14px; padding:0 20px; text-align:center;
}
.pf-body{padding:24px 24px 26px;}
.pf-body .cat{font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:8px;}
.pf-body h3{font-size:17.5px; margin-bottom:8px; line-height:1.25;}
.pf-body p{font-size:13.5px; color:var(--ink-70); margin-bottom:14px;}
.pf-view{font-size:13px; font-weight:600; color:var(--navy); display:inline-flex; align-items:center; gap:6px;}
.pf-view svg{width:13px; height:13px; transition:transform .25s ease;}
.pf-card:hover .pf-view svg{transform:translateX(4px);}

/* MODAL */
.modal-overlay{
  position:fixed; inset:0; background:rgba(15,20,28,0.72); z-index:1000; display:none;
  align-items:flex-start; justify-content:center; padding:60px 20px; overflow-y:auto;
  backdrop-filter:blur(4px);
}
.modal-overlay.open{display:flex;}
.modal{
  background:var(--white); max-width:760px; width:100%; border-radius:3px; position:relative;
  box-shadow:0 40px 100px -20px rgba(0,0,0,0.5); animation:modalIn .35s ease;
}
@keyframes modalIn{from{opacity:0; transform:translateY(20px) scale(.98);} to{opacity:1; transform:translateY(0) scale(1);}}
.modal-close{
  position:absolute; top:18px; right:18px; width:34px; height:34px; border-radius:50%; border:1px solid rgba(15,27,46,0.15);
  background:var(--white); display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--navy); z-index:2;
}
.modal-close:hover{background:var(--navy); color:var(--cream); border-color:var(--navy);}
.modal-head{background:var(--navy); color:var(--cream); padding:34px 44px 26px;}
.modal-head .cat{font-size:11px; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold-light); font-weight:600; margin-bottom:10px;}
.modal-head h3{color:var(--cream); font-size:24px; margin-bottom:8px;}
.modal-head p{color:rgba(246,241,230,0.65); font-size:14px;}
.modal-body{padding:34px 44px 44px; font-size:14.5px; color:var(--ink-70);}
.modal-body h5{font-family:var(--serif); font-size:15px; color:var(--navy); margin:22px 0 10px; font-style:italic;}
.modal-body h5:first-child{margin-top:0;}
.modal-body p{margin-bottom:10px;}
.modal-body ul{margin:10px 0 10px 20px;}
.modal-body li{margin-bottom:6px;}
.ba-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:14px 0;}
@media(max-width:640px){.ba-grid{grid-template-columns:1fr;}}
.ba-col{border:1px solid rgba(15,27,46,0.1); padding:16px;}
.ba-col.before{background:rgba(196,80,60,0.05); border-color:rgba(196,80,60,0.2);}
.ba-col.after{background:rgba(176,138,69,0.06); border-color:var(--gold-dim);}
.ba-label{font-size:10.5px; letter-spacing:0.12em; text-transform:uppercase; font-weight:700; margin-bottom:10px;}
.ba-col.before .ba-label{color:#a24534;}
.ba-col.after .ba-label{color:var(--gold);}
.ba-col p{font-size:13.5px; line-height:1.6;}
.ig-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:14px 0;}
@media(max-width:640px){.ig-grid{grid-template-columns:repeat(2,1fr);}}
.ig-post{background:var(--cream-2); border:1px solid rgba(15,27,46,0.08); aspect-ratio:1; display:flex; align-items:center; justify-content:center; padding:10px; text-align:center;}
.ig-post span{font-family:var(--serif); font-style:italic; font-size:11px; color:var(--ink-50);}

/* HOW IT WORKS */
.how-track{display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative;}
@media(max-width:900px){.how-track{grid-template-columns:1fr 1fr; gap:36px 0;}}
@media(max-width:560px){.how-track{grid-template-columns:1fr;}}
.how-step{padding:0 28px 0 0; position:relative;}
.how-step:not(:last-child)::after{
  content:''; position:absolute; top:22px; left:calc(100% - 14px); width:calc(100% - 14px); height:1px;
  background:repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); display:none;
}
@media(min-width:901px){.how-step:not(:last-child)::after{display:block;}}
.how-num{font-family:var(--serif); font-style:italic; font-size:30px; color:var(--gold); margin-bottom:16px;}
.how-step h4{font-size:17px; margin-bottom:8px;}
.how-step p{font-size:13.5px; color:var(--ink-70);}

/* PRICING */
.pricing-controls{display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; margin-bottom:44px;}
.toggle-group{display:inline-flex; flex-wrap:wrap; background:var(--cream-2); border:1px solid rgba(15,27,46,0.1); border-radius:3px; padding:4px;}
@media(max-width:480px){
  .toggle-btn{padding:9px 13px; font-size:12px;}
  .currency-select{width:100%; justify-content:space-between;}
  .currency-select select{flex:1; min-width:0;}
}
.toggle-btn{
  padding:10px 18px; font-size:13px; font-weight:600; color:var(--ink-70); border-radius:2px; background:transparent; border:none;
  transition:all .25s ease; white-space:nowrap;
}
.toggle-btn.active{background:var(--navy); color:var(--cream);}
.currency-select{
  display:flex; align-items:center; gap:8px; font-size:13px; color:var(--ink-70);
}
.currency-select select{
  border:1px solid rgba(15,27,46,0.18); background:var(--white); padding:9px 14px; border-radius:2px; font-size:13px; color:var(--navy); font-weight:600;
}
.pricing-panel{display:none;}
.pricing-panel.active{display:block; animation:fadeIn .4s ease;}
@keyframes fadeIn{from{opacity:0;} to{opacity:1;}}
.price-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media(max-width:900px){.price-grid{grid-template-columns:1fr;}}
.price-card{background:var(--white); border:1px solid rgba(15,27,46,0.1); padding:36px 30px; position:relative; transition:transform .3s ease, box-shadow .3s ease;}
.price-card:hover{transform:translateY(-4px); box-shadow:0 26px 50px -22px rgba(15,27,46,0.2);}
.price-card.featured{border-color:var(--gold); box-shadow:0 20px 50px -20px rgba(176,138,69,0.35);}
.price-card .badge{position:absolute; top:-13px; right:28px; background:var(--gold); color:var(--navy); font-size:10.5px; font-weight:700; letter-spacing:0.08em; padding:5px 12px; text-transform:uppercase;}
.price-card h4{font-size:18px; margin-bottom:6px;}
.price-card .sub{font-size:13px; color:var(--ink-50); margin-bottom:22px;}
.price-card .amount{font-family:var(--serif); font-size:36px; color:var(--navy); margin-bottom:4px;}
.price-card .amount small{font-size:14px; font-family:var(--sans); color:var(--ink-50); font-weight:500;}
.price-card ul{margin:22px 0 26px; padding:0; list-style:none;}
.price-card li{font-size:13.5px; color:var(--ink-70); padding:9px 0; border-top:1px solid rgba(15,27,46,0.07); display:flex; gap:10px;}
.price-card li::before{content:'—'; color:var(--gold); flex-shrink:0;}
.custom-panel{text-align:center; padding:60px 40px; border:1px dashed var(--gold-dim); background:var(--white);}
.custom-panel h4{font-size:22px; margin-bottom:12px;}
.custom-panel p{color:var(--ink-70); max-width:480px; margin:0 auto 26px;}
.price-note{font-size:12px; color:var(--ink-50); margin-top:20px; font-style:italic;}

/* CTA BAND */
.cta-band{background:var(--navy); text-align:center; padding:110px 0; position:relative; overflow:hidden;}
.cta-band::before{content:''; position:absolute; inset:0; background:radial-gradient(ellipse 700px 400px at 50% 0%, rgba(176,138,69,0.14), transparent 70%);}
.cta-band h2{color:var(--cream); font-size:clamp(28px,4vw,44px); max-width:680px; margin:0 auto 34px; position:relative; line-height:1.25;}
.cta-band h2 em{color:var(--gold-light); font-style:italic;}

/* ABOUT (inline section for one-pager) */
.about-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:center;}
@media(max-width:900px){.about-grid{grid-template-columns:1fr;}}
.about-quote{background:var(--white); border-left:3px solid var(--gold); padding:30px 34px; font-family:var(--serif); font-style:italic; font-size:19px; color:var(--navy); line-height:1.5;}
.about-vals{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:28px;}
.about-vals div{border-top:1px solid rgba(15,27,46,0.12); padding-top:12px;}
.about-vals h5{font-size:14px; margin-bottom:4px;}
.about-vals p{font-size:12.5px; color:var(--ink-70);}

/* CONTACT / QUOTE FORM */
.contact{background:var(--white);}
.contact-grid{display:grid; grid-template-columns:0.8fr 1.2fr; gap:60px;}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr;}}
.contact-info h2{margin-top:16px; font-size:clamp(26px,3.2vw,36px);}
.contact-info p{color:var(--ink-70); margin-top:16px; max-width:400px;}
.contact-email{
  display:inline-flex; align-items:center; gap:10px; margin-top:28px; font-size:15px; font-weight:600;
  color:var(--navy); border-bottom:1px solid var(--gold); padding-bottom:4px;
}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
@media(max-width:600px){.form-row{grid-template-columns:1fr;}}
.field{margin-bottom:20px;}
.field label{display:block; font-size:12.5px; font-weight:600; letter-spacing:0.03em; color:var(--navy); margin-bottom:8px;}
.field label .opt{font-weight:400; color:var(--ink-50); text-transform:none; letter-spacing:0;}
.field input, .field select, .field textarea{
  width:100%; border:1px solid rgba(15,27,46,0.18); background:var(--cream); padding:13px 15px; font-size:14px;
  font-family:var(--sans); color:var(--navy); border-radius:2px; transition:border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{border-color:var(--gold); outline:none; background:var(--white);}
.field textarea{resize:vertical; min-height:110px;}
.file-drop{
  border:1.5px dashed rgba(15,27,46,0.25); padding:22px; text-align:center; font-size:13px; color:var(--ink-50);
  border-radius:2px; cursor:pointer; transition:border-color .2s ease;
}
.file-drop:hover{border-color:var(--gold); color:var(--navy);}
.form-submit{
  background:var(--navy); color:var(--cream); padding:16px 36px; font-size:14.5px; font-weight:600; letter-spacing:0.02em;
  border:1px solid var(--navy); border-radius:2px; transition:all .3s ease; margin-top:8px;
}
.form-submit:hover{background:var(--gold); border-color:var(--gold); color:var(--navy);}
.form-success{display:none; background:var(--cream-2); border:1px solid var(--gold-dim); padding:26px 28px; margin-top:20px;}
.form-success.show{display:block; animation:fadeIn .4s ease;}
.form-success h4{font-size:16px; margin-bottom:6px;}
.form-success p{font-size:13.5px; color:var(--ink-70);}
.consent-field{margin-top:4px;}
.consent-label{display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--ink-70); cursor:pointer; font-weight:400;}
.consent-label input[type=checkbox]{width:16px; height:16px; margin-top:2px; accent-color:var(--navy); flex-shrink:0;}
.ref-block{background:var(--white); border-left:3px solid var(--gold); padding:14px 18px; margin:14px 0;}
.ref-label{display:block; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:4px;}
.ref-value{font-family:var(--serif); font-size:20px; font-weight:600; color:var(--navy);}
.success-meta{display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; margin:18px 0;}
@media(max-width:600px){.success-meta{grid-template-columns:1fr;}}
.success-meta div{border-top:1px solid rgba(15,27,46,0.1); padding-top:8px;}
.success-meta span{display:block; font-size:11px; color:var(--ink-50); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:3px;}
.success-meta b{font-size:13.5px; color:var(--navy); font-weight:600;}
.success-note{font-size:12.5px; color:var(--ink-50); font-style:italic;}

/* FOOTER */
footer{background:var(--charcoal); color:rgba(246,241,230,0.7); padding:70px 0 30px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:50px;}
@media(max-width:768px){.footer-grid{grid-template-columns:1fr 1fr; gap:36px;}}
.footer-brand img{height:52px; display:block;}
.footer-logo-plate{display:inline-block; background:var(--white); padding:14px 22px; border-radius:4px; margin-bottom:16px;}
.footer-brand p{font-size:13.5px; max-width:280px; color:rgba(246,241,230,0.55);}
footer h5{color:var(--cream); font-size:13px; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:18px;}
footer ul{list-style:none;}
footer li{margin-bottom:11px; font-size:13.5px;}
footer a:hover{color:var(--gold-light);}
.footer-bottom{
  border-top:1px solid rgba(246,241,230,0.12); padding-top:26px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:14px; font-size:12.5px; color:rgba(246,241,230,0.45);
}
.footer-bottom a{color:rgba(246,241,230,0.55);}

/* Legal pages (shown via JS view swap) */
.legal-view{display:none; padding:150px 0 100px; max-width:820px; margin:0 auto;}
.legal-view.active{display:block;}
.legal-view h1{font-size:32px; margin-bottom:10px;}
.legal-view .updated{font-size:13px; color:var(--ink-50); margin-bottom:40px;}
.legal-view h2{font-size:19px; margin:34px 0 12px;}
.legal-view p, .legal-view li{font-size:14.5px; color:var(--ink-70); margin-bottom:12px;}
.legal-view ul{padding-left:20px;}
.legal-back{display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:30px; border-bottom:1px solid var(--gold); padding-bottom:3px;}
#main-view.hidden{display:none;}