/* ===================================================================
   Remote First Global — shared stylesheet
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Manrope:wght@400;500;600;700&display=swap');

:root{
  /* --- palette --- */
  --ink:        #12151A;   /* near-black brand background */
  --ink-2:      #1B1F26;   /* slightly lifted panel on dark */
  --gold:       #C9A24E;   /* primary accent — buttons, eyebrows */
  --gold-light: #E4C982;
  --cream:      #F8F5EE;   /* light section background */
  --cream-2:    #EFE9DC;   /* card background on light */
  --text-dark:  #1C1B17;
  --text-muted: #6E6A5E;
  --text-onDark:      #F3F1EA;
  --text-onDark-muted:#9C9A92;
  --rule:       #33322C;   /* hairline on dark */
  --rule-light: #DDD6C4;   /* hairline on light */

  /* --- type --- */
  --display: 'Fraunces', Georgia, serif;
  --body:    'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
}

*{box-sizing:border-box; margin:0; padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:var(--body);
  background:var(--cream);
  color:var(--text-dark);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

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

.skip-link{
  position:fixed;
  top:12px;
  left:12px;
  z-index:200;
  padding:10px 14px;
  background:var(--gold);
  color:var(--ink);
  font-weight:700;
  transform:translateY(-150%);
  transition:transform .2s ease;
}
.skip-link:focus{transform:translateY(0);}

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

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 32px;
}

@media (max-width:640px){
  .wrap{padding:0 20px;}
}

/* ---------- typography ---------- */
.eyebrow{
  display:flex;
  align-items:center;
  gap:14px;
  font-family:var(--body);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:22px;
}
.eyebrow::before{
  content:"";
  width:34px;
  height:1px;
  background:var(--gold);
  display:block;
}

h1,h2,h3{
  font-family:var(--display);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-0.01em;
}

h1{font-size:clamp(2.6rem, 5.2vw, 4.4rem);}
h2{font-size:clamp(2rem, 3.4vw, 2.9rem);}
h3{font-size:1.35rem; font-weight:600;}

.lede{
  font-size:1.15rem;
  max-width:640px;
  color:var(--text-onDark-muted);
}
section.on-light .lede{color:var(--text-muted);}

.accent{color:var(--gold);}
.italic-quote{
  font-family:var(--display);
  font-style:italic;
  color:var(--gold-light);
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:15px 28px;
  font-family:var(--body);
  font-weight:600;
  font-size:.95rem;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn:focus-visible, a:focus-visible, button:focus-visible{
  outline:2px solid var(--gold-light);
  outline-offset:4px;
}
.btn:active{transform:translateY(1px);}
.btn:disabled{cursor:not-allowed; opacity:.72; transform:none;}

.btn-gold{
  background:var(--gold);
  color:#181611;
}
.btn-gold:hover{background:var(--gold-light);}

.btn-ghost-dark{
  background:transparent;
  border-color:#4A4A42;
  color:var(--text-onDark);
}
.btn-ghost-dark:hover{border-color:var(--gold);}

.btn-ghost-light{
  background:transparent;
  border-color:#C9C2AE;
  color:var(--text-dark);
}
.btn-ghost-light:hover{border-color:var(--text-dark);}

.btn-row{display:flex; gap:16px; flex-wrap:wrap; margin-top:34px;}

/* ---------- nav ---------- */
header.site-nav{
  position:sticky; top:0; z-index:50;
  background:var(--cream);
  border-bottom:1px solid var(--rule-light);
}
.site-nav{backdrop-filter:blur(14px);}
.nav-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:18px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family:var(--display);
  font-weight:600;
  font-size:1.22rem;
  color:var(--text-dark);
}
.logo .mark{
  width:26px; height:26px;
  display:block;
}
.logo .mark svg{width:100%; height:100%;}
.logo em{
  font-style:normal;
  color:var(--gold);
}

.nav-links{
  display:flex; align-items:center; gap:34px;
  font-size:.95rem; font-weight:500;
}
.nav-links a{
  color:var(--text-dark);
  padding-bottom:4px;
  border-bottom:1px solid transparent;
  transition:border-color .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a.active{
  border-color:var(--gold);
  color:var(--text-dark);
}
.nav-cta{display:flex; align-items:center; gap:28px;}

.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  flex-direction:column; gap:5px;
}
.nav-toggle span{width:24px; height:2px; background:var(--text-dark);}

@media (max-width:900px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background:var(--cream);
    flex-direction:column;
    align-items:flex-start;
    padding:24px 32px 30px;
    border-bottom:1px solid var(--rule-light);
    display:none;
    gap:18px;
  }
  .nav-links.open{display:flex;}
  .nav-toggle{display:flex;}
  .nav-cta .btn-gold{padding:11px 18px; font-size:.85rem;}
}

/* ---------- sections ---------- */
section{padding:96px 0;}
section.tight{padding:64px 0;}
@media (max-width:640px){
  section{padding:64px 0;}
}

section.on-dark{
  background:var(--ink);
  color:var(--text-onDark);
}
section.on-dark.raised{background:var(--ink-2);}
section.on-light{background:var(--cream);}
section.on-light.raised{background:var(--cream-2);}

.hero{
  position:relative;
  padding:120px 0 100px;
  overflow:hidden;
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(201,162,78,.15), transparent 60%),
    var(--ink);
  color:var(--text-onDark);
}
.hero::after{
  content:"";
  position:absolute;
  width:460px;
  aspect-ratio:1;
  right:-160px;
  top:50%;
  border:1px solid rgba(201,162,78,.28);
  border-radius:50%;
  transform:translateY(-50%);
  box-shadow:0 0 0 72px rgba(201,162,78,.035), 0 0 0 144px rgba(201,162,78,.02);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 1px, transparent 1px, transparent 68px);
  pointer-events:none;
}
.hero .wrap{position:relative;}
.hero .wrap{z-index:1;}
.hero h1{max-width:900px; margin-bottom:26px;}
.hero .lede{margin-bottom:8px;}
.hero.short{padding:96px 0 88px;}

/* ---------- grid / cards ---------- */
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:44px;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
@media (max-width:900px){
  .grid-2, .grid-3, .grid-4{grid-template-columns:1fr;}
}

.card{
  background:var(--ink-2);
  border:1px solid var(--rule);
  padding:34px 30px;
  border-radius:2px;
}
.card, .card-light, .form-card{
  box-shadow:0 18px 50px rgba(18,21,26,.04);
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover, .card-light:hover{
  transform:translateY(-5px);
  border-color:var(--gold);
  box-shadow:0 22px 60px rgba(18,21,26,.1);
}
.card .num{
  font-family:var(--display);
  font-style:italic;
  color:var(--gold);
  font-size:1rem;
  margin-bottom:18px;
  display:block;
}
.card h3{margin-bottom:12px; color:var(--text-onDark);}
.card p{color:var(--text-onDark-muted); font-size:.97rem;}

.card-light{
  background:#fff;
  border:1px solid var(--rule-light);
  padding:34px 30px;
  border-radius:2px;
}
.card-light h3{margin-bottom:12px;}
.card-light p{color:var(--text-muted); font-size:.97rem;}

/* ---------- stat strip ---------- */
.stat-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
}
.stat{
  padding:34px 28px;
  border-right:1px solid var(--rule);
}
.stat:last-child{border-right:none;}
.stat .figure{
  font-family:var(--display);
  font-size:2.5rem;
  color:var(--gold);
  line-height:1;
  margin-bottom:10px;
}
.stat .label{font-size:.88rem; color:var(--text-onDark-muted);}
@media (max-width:900px){
  .stat-strip{grid-template-columns:1fr 1fr;}
  .stat{border-bottom:1px solid var(--rule);}
}

/* ---------- timezone signature component ---------- */
.tz-panel{
  background:var(--ink-2);
  border:1px solid var(--rule);
  border-radius:3px;
  padding:36px 34px 30px;
}
.tz-panel .tz-title{
  font-family:var(--body);
  font-size:.8rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--text-onDark-muted);
  margin-bottom:26px;
}
.tz-row{margin-bottom:22px;}
.tz-row:last-child{margin-bottom:0;}
.tz-row .tz-label{
  display:flex; justify-content:space-between; align-items:baseline;
  font-size:.86rem; color:var(--text-onDark-muted);
  margin-bottom:8px;
}
.tz-row .tz-label strong{color:var(--text-onDark); font-weight:600;}
.tz-track{
  position:relative;
  height:10px;
  background:#25292F;
  border-radius:6px;
  overflow:hidden;
}
.tz-fill{
  position:absolute; top:0; bottom:0;
  background:linear-gradient(90deg, rgba(201,162,78,.55), var(--gold));
  border-radius:6px;
}
.tz-overlap-note{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--rule);
  font-size:.9rem;
  color:var(--text-onDark-muted);
}
.tz-overlap-note strong{color:var(--gold);}

/* ---------- process list ---------- */
.process-list{border-top:1px solid var(--rule-light);}
.process-item{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:28px;
  padding:30px 0;
  border-bottom:1px solid var(--rule-light);
}
.process-item .step-num{
  font-family:var(--display);
  font-style:italic;
  font-size:1.6rem;
  color:var(--gold);
}
.process-item h3{margin-bottom:8px;}
.process-item p{color:var(--text-muted); font-size:.97rem; max-width:520px;}
@media (max-width:640px){
  .process-item{grid-template-columns:1fr; gap:8px;}
}

/* ---------- compare table (why south africa) ---------- */
.compare{
  border:1px solid var(--rule-light);
  border-radius:3px;
  overflow:hidden;
}
.compare-row{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  border-bottom:1px solid var(--rule-light);
}
.compare-row:last-child{border-bottom:none;}
.compare-row.head{background:var(--cream-2); font-weight:600; font-size:.85rem; letter-spacing:.04em; text-transform:uppercase; color:var(--text-muted);}
.compare-row > div{padding:20px 24px; font-size:.95rem;}
.compare-row > div:not(:first-child){border-left:1px solid var(--rule-light);}
.compare-row .yes{color:#4B7A4B; font-weight:600;}
.compare-row .no{color:#9A5A44;}
@media (max-width:700px){
  .compare-row{grid-template-columns:1fr; }
  .compare-row > div:not(:first-child){border-left:none; border-top:1px solid var(--rule-light);}
}

/* ---------- quote block ---------- */
.quote-block{
  text-align:center;
  max-width:760px;
  margin:0 auto;
}
.quote-block p{
  font-family:var(--display);
  font-style:italic;
  font-size:clamp(1.5rem,2.6vw,2.1rem);
  color:var(--text-onDark);
  line-height:1.35;
}
.quote-block .attribution{
  margin-top:22px;
  font-family:var(--body);
  font-style:normal;
  font-size:.85rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold);
}

/* ---------- values grid (about) ---------- */
.value-item{padding:26px 0; border-bottom:1px solid var(--rule-light);}
.value-item h3{margin-bottom:8px;}
.value-item p{color:var(--text-muted);}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--gold);
  color:#181611;
  padding:64px 0;
}
.cta-band .wrap{
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.cta-band h2{color:#181611; font-size:clamp(1.7rem,3vw,2.3rem); margin-bottom:8px;}
.cta-band p{color:#4A3E20;}
.cta-band .btn-ghost-light{border-color:#181611; color:#181611;}
.cta-band .btn-ghost-light:hover{background:#181611; color:var(--gold-light); border-color:#181611;}

/* ---------- contact form ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:start;
}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;}}

.expect-item{display:flex; gap:16px; padding:20px 0; border-bottom:1px solid var(--rule-light);}
.expect-item .step-num{
  font-family:var(--display); font-style:italic; color:var(--gold); font-size:1.3rem;
}
.expect-item p{color:var(--text-muted); font-size:.95rem;}

.form-card{
  background:#fff;
  border:1px solid var(--rule-light);
  padding:38px 34px;
  border-radius:3px;
}
.form-card h3{margin-bottom:24px;}
.field{margin-bottom:20px;}
.field label{
  display:block; font-size:.85rem; font-weight:600; margin-bottom:8px; color:var(--text-dark);
}
.field input, .field select, .field textarea{
  width:100%;
  font-family:var(--body);
  font-size:.95rem;
  padding:12px 14px;
  border:1px solid var(--rule-light);
  border-radius:2px;
  background:var(--cream);
  color:var(--text-dark);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:2px solid var(--gold);
  outline-offset:1px;
}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
@media (max-width:480px){.field-row{grid-template-columns:1fr;}}
.form-note{font-size:.8rem; color:var(--text-muted); margin-top:16px;}
.form-note.is-pending{color:var(--text-muted);}
.form-note.is-success{color:#426b45; font-weight:700;}
.form-note.is-error{color:#9a433b; font-weight:700;}
.honeypot{position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden;}

.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.revealed{opacity:1; transform:translateY(0);}
.grid-4 .reveal:nth-child(2), .grid-3 .reveal:nth-child(2){transition-delay:.08s;}
.grid-4 .reveal:nth-child(3), .grid-3 .reveal:nth-child(3){transition-delay:.16s;}
.grid-4 .reveal:nth-child(4){transition-delay:.24s;}

@media (max-width:900px){
  .nav-inner{padding-inline:20px;}
  .nav-links{box-shadow:0 20px 35px rgba(18,21,26,.12);}
  .nav-links a{font-family:var(--display); font-size:1.2rem;}
  body.menu-open{overflow:hidden;}
  .hero::after{right:-300px; opacity:.75;}
}

@media (max-width:560px){
  .nav-cta .btn-gold{display:none;}
  .logo{font-size:1.05rem;}
  .hero{padding-top:86px;}
  .hero.short{padding-top:72px;}
  .btn-row .btn{width:100%; justify-content:center;}
  .form-card{padding:28px 20px;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *, *::before, *::after{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important;}
}

/* ---------- footer ---------- */
footer{
  background:var(--ink);
  color:var(--text-onDark-muted);
  padding-top:80px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:56px;
  border-bottom:1px solid var(--rule);
}
@media (max-width:900px){
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr;}
}
.footer-brand .logo{color:var(--text-onDark); margin-bottom:16px;}
.footer-brand p{max-width:280px; margin-bottom:16px; font-size:.92rem;}
.footer-brand .italic-quote{display:block; font-size:1rem; margin-bottom:18px;}
.social-row{display:flex; gap:10px;}
.social-row a{
  width:36px; height:36px;
  border:1px solid var(--rule);
  border-radius:2px;
  display:flex; align-items:center; justify-content:center;
  font-size:.85rem;
  transition:border-color .15s ease, color .15s ease;
}
.social-row a:hover{border-color:var(--gold); color:var(--gold);}
.footer-col h4{
  font-family:var(--body);
  font-size:.8rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text-onDark);
  margin-bottom:18px;
}
.footer-col a{display:block; margin-bottom:12px; font-size:.92rem;}
.footer-col a:hover{color:var(--gold);}
.footer-bottom{
  padding:24px 0;
  text-align:center;
  font-size:.82rem;
}
