/* ---------------------------------------------
   Authority Studio — design tokens
   ink      #0F1115  base background
   ink-2    #15181E  raised panel / footer bar
   ink-3    #1D2129  card surface
   paper    #EDEAE2  primary text (warm off-white)
   slate    #8B8F98  secondary text
   brass    #C9A15A  accent — editorial gold
   brass-d  #7C5E2A  accent, pressed / dark
--------------------------------------------- */

:root {
  --ink: #0F1115;
  --ink-2: #15181E;
  --ink-3: #1D2129;
  --paper: #EDEAE2;
  --slate: #8B8F98;
  --brass: #C9A15A;
  --brass-d: #7C5E2A;
  --whatsapp: #25D366;
  --whatsapp-hover: #2FE372;
  --whatsapp-active: #1DA851;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --cta-h: 76px;
  --container: 780px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  padding: 0 0 var(--cta-h);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

a { color: inherit; }

/* ---------------- masthead ---------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(15,17,21,0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(237,234,226,0.10);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.wordmark-accent {
  color: var(--brass);
  font-style: italic;
  font-weight: 300;
}

.masthead-nav {
  display: none;
}

.masthead-nav a {
  text-decoration: none;
  font-size: 13.5px;
  color: var(--slate);
  margin-left: 28px;
  transition: color 0.15s ease;
}

.masthead-nav a:hover {
  color: var(--paper);
}

/* ---------------- hero (screen one) ---------------- */

.hero {
  position: relative;
  min-height: calc(100dvh - 60px);
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
  padding: 6vh 22px;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 85% 8%, rgba(201,161,90,0.10), transparent 45%),
    radial-gradient(circle at 10% 95%, rgba(201,161,90,0.06), transparent 40%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 10vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--paper);
}

.headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
}

.sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 46ch;
  margin: 0 0 36px;
}

.byline {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(237,234,226,0.14);
  width: fit-content;
  margin-bottom: 48px;
}

.byline-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.byline-role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--paper);
  min-width: 8ch;
  display: inline-block;
}

.byline-role.swap {
  animation: fade-swap 0.4s ease;
}

@keyframes fade-swap {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--slate);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  transition: color 0.15s ease;
}

.scroll-cue:hover { color: var(--brass); }

.scroll-arrow {
  width: 16px;
  height: 16px;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---------------- shared section rhythm ---------------- */

section {
  padding: 88px 22px;
  max-width: var(--container);
  margin: 0 auto;
}

.section-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  margin: 0 0 48px;
  color: var(--paper);
  max-width: 20ch;
}

/* ---------------- statement ---------------- */

.statement {
  border-top: 1px solid rgba(237,234,226,0.10);
  border-bottom: 1px solid rgba(237,234,226,0.10);
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(21px, 3.6vw, 28px);
  line-height: 1.4;
  color: var(--slate);
  margin: 0;
}

.statement-accent {
  color: var(--paper);
  font-style: italic;
}

/* ---------------- services ---------------- */

.service-grid {
  display: grid;
  gap: 20px;
}

.service-card {
  background: var(--ink-2);
  border: 1px solid rgba(237,234,226,0.08);
  border-radius: 4px;
  padding: 28px 24px;
}

.service-index {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  margin: 12px 0 10px;
  color: var(--paper);
}

.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}

/* ---------------- process ---------------- */

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.process-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--brass);
  flex-shrink: 0;
  width: 2.4ch;
}

.process-list h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 6px;
  color: var(--paper);
}

.process-list p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}

/* ---------------- who it's for ---------------- */

.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(237,234,226,0.10);
}

.who-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(237,234,226,0.10);
  font-size: 16px;
  color: var(--paper);
  position: relative;
  padding-left: 24px;
}

.who-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
}

/* ---------------- faq ---------------- */

.faq-list {
  border-top: 1px solid rgba(237,234,226,0.10);
}

.faq-item {
  border-bottom: 1px solid rgba(237,234,226,0.10);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 500;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
}

.faq-toggle {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brass);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 58ch;
}

/* ---------------- final cta ---------------- */

.final-cta {
  text-align: center;
  border-top: 1px solid rgba(237,234,226,0.10);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 36px);
  margin: 0 0 12px;
  color: var(--paper);
}

.final-cta p {
  color: var(--slate);
  margin: 0 0 32px;
  font-size: 15px;
}

.whatsapp-btn--inline {
  display: inline-flex;
  width: auto;
  min-width: 240px;
  padding: 0 28px;
  margin: 0 auto;
}

/* ---------------- whatsapp button (shared) ---------------- */

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  background: var(--whatsapp);
  color: #0B1210;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 4px;
  transition: background 0.18s ease, transform 0.12s ease;
}

.whatsapp-btn:hover { background: var(--whatsapp-hover); }

.whatsapp-btn:active {
  transform: scale(0.98);
  background: var(--whatsapp-active);
  color: #ffffff;
}

.whatsapp-btn--hero {
  width: auto;
  min-width: 240px;
  padding: 0 30px;
}

.wa-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------------- footer ---------------- */

.site-footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 22px 40px;
  border-top: 1px solid rgba(237,234,226,0.10);
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-wordmark {
  display: block;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.6;
  max-width: 32ch;
  margin: 0;
}

.footer-contact p,
.footer-legal p {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--slate);
}

.footer-contact a,
.footer-legal a {
  text-decoration: none;
  color: var(--paper);
}

.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--brass);
}

.legal-block {
  padding-top: 24px;
  border-top: 1px solid rgba(237,234,226,0.08);
  margin-bottom: 24px;
  scroll-margin-top: 80px;
}

.legal-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--paper);
  margin: 0 0 10px;
}

.legal-block p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0;
  max-width: 62ch;
}

.footer-copy {
  font-size: 12px;
  color: var(--slate);
  margin: 16px 0 0;
  opacity: 0.7;
}

/* ---------------- sticky whatsapp bar ---------------- */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--ink-2);
  border-top: 1px solid rgba(237,234,226,0.10);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sticky-cta.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta .whatsapp-btn {
  width: 100%;
}

/* ---------------- desktop ---------------- */

@media (min-width: 860px) {
  .masthead { padding: 22px 56px; }
  .masthead-nav { display: block; }
  .wordmark { font-size: 21px; }

  .hero { padding: 0 56px; max-width: 900px; }
  .headline { font-size: clamp(56px, 6vw, 84px); }
  .sub { font-size: 18px; }

  section { padding: 120px 56px; max-width: 900px; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .site-footer { max-width: 900px; padding: 72px 56px 48px; }

  .sticky-cta { padding: 16px 56px; }
  .sticky-cta .whatsapp-btn {
    width: auto;
    min-width: 260px;
    margin-left: auto;
  }
}
