/* ---------------------------------------------------------
   privacy-simple.com
   Brand: DUB SERVICES LLC
   Palette: forest #1B4332, cream #F5F0E8, mint #52B788, gold #C9A84C
   Type:   Georgia (display) + Carlito (body, Calibri-equivalent)
   --------------------------------------------------------- */

:root {
  --forest:        #1B4332;
  --forest-deep:   #122B22;
  --forest-soft:   #2D5A47;
  --cream:         #F5F0E8;
  --cream-deep:    #ECE4D5;
  --mint:          #52B788;
  --mint-soft:     #8DCFAE;
  --gold:          #C9A84C;
  --gold-soft:     #DCC07F;
  --ink:           #1A2522;
  --ink-soft:      #4A554F;
  --rule:          rgba(27, 67, 50, 0.18);
  --rule-light:    rgba(245, 240, 232, 0.22);

  --serif:  Georgia, "Times New Roman", "Hoefler Text", serif;
  --sans:   "Carlito", "Calibri", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

em, .italic { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----- Atmospheric overlay: subtle grain + light vignette ----- */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(82, 183, 136, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(201, 168, 76, 0.07), transparent 60%);
  mix-blend-mode: multiply;
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.6;
}

/* ============= HEADER / NAV ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 240, 232, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--forest);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--forest);
}

.brand-dot { color: var(--gold); padding: 0 1px; }

.brand-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}

.nav-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: clamp(18px, 3vw, 40px);
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 160px) 0 clamp(56px, 10vw, 120px);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.hero-meta { display: flex; align-items: center; gap: 16px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 10vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
  color: var(--forest);
}

.hero-title span {
  display: block;
}

.hero-title .italic {
  color: var(--gold);
  font-style: italic;
  padding-left: clamp(40px, 8vw, 110px);
}

.hero-lede {
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.5;
  max-width: 720px;
  margin-top: 14px;
  color: var(--ink);
}

.hero-lede em { color: var(--forest); font-weight: 400; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease),
              background .25s var(--ease),
              color .25s var(--ease),
              border-color .25s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn-arrow {
  display: inline-block;
  transition: transform .35s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.btn-primary:hover { background: var(--forest-deep); }

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-ghost:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-soft); }

/* ============= CERT BADGES ============= */
.badge-row {
  list-style: none;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
.badge-row li {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.badge-row li span {
  position: relative;
  padding-left: 14px;
}
.badge-row li span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  background: var(--mint);
  border-radius: 50%;
}

.hero-rule {
  height: 1px;
  background: var(--rule);
  margin-top: clamp(56px, 9vw, 100px);
}

/* ============= INTRO ============= */
.intro { padding: clamp(64px, 10vw, 120px) 0; position: relative; z-index: 1; }

.intro-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 8px 0 0;
}

.section-label-light { color: var(--mint-soft); }

.intro-text .lede {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  color: var(--forest);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.intro-text p:not(.lede) {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 70ch;
}

/* ============= BLOCKS (alternating sections) ============= */
.block { padding: clamp(80px, 11vw, 140px) 0; position: relative; z-index: 1; }

.block-dark {
  background: var(--forest);
  color: var(--cream);
  position: relative;
}
.block-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(82, 183, 136, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(201, 168, 76, 0.10), transparent 60%);
  pointer-events: none;
}
.block-dark > .container { position: relative; }

.block-cream {
  background: var(--cream-deep);
}

.block-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.block-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 78px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

.block-dark .block-title { color: var(--cream); }
.block-cream .block-title { color: var(--forest); }

.block-title-line { display: block; }
.block-title-line.italic.muted {
  color: var(--gold);
  font-style: italic;
  padding-left: clamp(24px, 5vw, 70px);
  margin-top: 4px;
}

.block-lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  max-width: 780px;
  margin: 0 0 clamp(32px, 5vw, 56px);
}
.block-dark .block-lede { color: var(--cream); opacity: 0.92; }

/* ----- Service grid ----- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  margin-bottom: clamp(40px, 6vw, 64px);
}

.service-card {
  background: var(--forest);
  padding: 32px 28px;
  position: relative;
  transition: background .35s var(--ease);
}
.service-card:hover { background: var(--forest-soft); }

.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.78;
  margin: 0;
}

/* ----- Block foot ----- */
.block-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
}

.block-foot-note {
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.block-dark .block-foot-note { color: var(--cream); opacity: 0.75; }
.block-cream .block-foot-note { color: var(--ink-soft); }

.dot-mint, .dot-gold {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dot-mint { background: var(--mint); box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.15); }
.dot-gold { background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15); }

/* ============= EXPLORER ============= */
.explorer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.feature-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.feature-list strong {
  color: var(--forest);
  font-weight: 400;
  font-family: var(--serif);
  font-size: 18px;
  display: block;
  margin-bottom: 2px;
}

.feature-bullet {
  color: var(--gold);
  font-size: 13px;
  line-height: 1.7;
}

/* ---- Browser mockup ---- */
.explorer-mock {
  position: relative;
}
.explorer-mock::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--forest) 100%);
  border-radius: 14px;
  opacity: 0.25;
  z-index: 0;
}

.mock-frame {
  position: relative;
  background: var(--forest);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 20px 50px -20px rgba(18, 43, 34, 0.4),
    0 4px 14px -4px rgba(18, 43, 34, 0.25);
  z-index: 1;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--forest-deep);
}
.mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold-soft);
  opacity: 0.5;
}
.mock-dot:nth-child(2) { background: var(--mint-soft); }
.mock-dot:nth-child(3) { background: var(--gold); opacity: 0.8; }
.mock-url {
  margin-left: 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.7;
  font-family: var(--sans);
}

.mock-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--forest);
  min-height: 360px;
}

.mock-sidebar {
  padding: 18px 16px;
  border-right: 1px solid rgba(245, 240, 232, 0.08);
  background: rgba(0,0,0,0.12);
}

.mock-side-title {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint-soft);
  margin: 0 0 12px;
}

.mock-sidebar ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}

.mock-sidebar li {
  font-size: 13px;
  color: var(--cream);
  opacity: 0.65;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .2s var(--ease), opacity .2s var(--ease);
}
.mock-sidebar li.active {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  opacity: 1;
}

.mock-main {
  padding: 22px 24px;
}
.mock-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.mock-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--cream);
  margin: 0 0 18px;
  line-height: 1.2;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.07);
  color: var(--cream);
  opacity: 0.86;
}
.mock-row:last-child { border-bottom: none; }

.mock-tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(82, 183, 136, 0.15);
  color: var(--mint-soft);
}
.mock-tag-gold {
  background: rgba(201, 168, 76, 0.18);
  color: var(--gold);
}

.mock-link-arrow {
  font-size: 10px;
  opacity: 0.75;
  margin-left: 3px;
  display: inline-block;
  transform: translateY(-0.5px);
}

/* ============= WHO ============= */
.who {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  z-index: 1;
}

.who-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 6vw, 80px);
}

.who-name {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 54px);
  margin: 0;
  color: var(--forest);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.who-role {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 8px 0 22px;
}

.who-text p:not(.who-name):not(.who-role):not(.who-quote) {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 65ch;
}

.who-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--forest);
  max-width: 60ch;
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin-top: 24px;
}

/* ============= CONTACT ============= */
.contact {
  background: var(--forest-deep);
  color: var(--cream);
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
  z-index: 1;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(82, 183, 136, 0.18), transparent 60%),
    radial-gradient(800px 500px at 90% 100%, rgba(201, 168, 76, 0.10), transparent 60%);
  pointer-events: none;
}
.contact-inner { position: relative; }

.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}
.contact-title .italic { color: var(--gold); }

.contact-lede {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.5;
  max-width: 640px;
  color: var(--cream);
  opacity: 0.86;
  margin-bottom: 40px;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(245, 240, 232, 0.15);
  border: 1px solid rgba(245, 240, 232, 0.15);
}

.channel {
  background: var(--forest-deep);
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .25s var(--ease);
}
.channel:hover { background: var(--forest); }

.channel-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint-soft);
}
.channel-value {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  word-break: break-word;
}

/* ============= FOOTER ============= */
.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(56px, 7vw, 80px) 0 32px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.15);
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--cream);
  opacity: 0.85;
}
.footer-mark { color: var(--gold); flex-shrink: 0; padding-top: 2px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.footer-cols ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
}

.footer-cols a,
.footer-cols li {
  font-size: 14px;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.footer-cols a:hover { color: var(--gold); opacity: 1; }

.footer-fineprint {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 16px 32px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.55;
  padding-top: 24px;
}
.footer-fineprint p { margin: 0; }
.footer-fineprint > p:first-child { text-align: left; }
.footer-fineprint > p:last-child { text-align: right; }
.footer-fineprint-center { text-align: center; line-height: 1.5; }

/* ============= REVEAL ANIMATIONS ============= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.in-view { animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============= RESPONSIVE ============= */
@media (max-width: 880px) {
  .intro-grid,
  .block-head,
  .who-grid { grid-template-columns: 1fr; }

  .explorer-grid { grid-template-columns: 1fr; }
  .explorer-mock { margin-top: 16px; }
  .explorer-mock::before { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }

  .hero-title .italic { padding-left: 24px; }
  .block-title-line.italic.muted { padding-left: 18px; }
}

@media (max-width: 560px) {
  .nav { height: 64px; }
  .nav-links { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a { font-size: 11px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 20px; }

  .footer-cols { grid-template-columns: 1fr; }
  .footer-fineprint {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-fineprint > p:first-child,
  .footer-fineprint > p:last-child { text-align: center; }

  .mock-body { grid-template-columns: 1fr; min-height: auto; }
  .mock-sidebar { border-right: none; border-bottom: 1px solid rgba(245,240,232,0.08); }
  .mock-sidebar ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .mock-sidebar li { font-size: 11.5px; padding: 4px 6px; }
}

/* ============= FOCUS STATES (accessibility) ============= */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn:focus-visible {
  outline-offset: 4px;
}
