/* ============================================================
   Lexvia — warm editorial / trustworthy-professional
   Deep navy + warm gold on warm off-white paper
   Fraunces (display) + Inter (body)
   ============================================================ */

:root {
  --navy:      #16223a;
  --navy-700:  #1f2f4d;
  --navy-soft: #2b3c5c;
  --gold:      #c9a14a;
  --gold-deep: #ab8636;
  --paper:     #f6f1e7;
  --paper-2:   #efe7d6;
  --ink:       #1c2433;
  --ink-soft:  #4a5266;
  --line:      #d9cfba;
  --white:     #fffdf8;

  --shadow-soft: 0 18px 50px -28px rgba(22, 34, 58, .45);
  --shadow-card: 0 22px 60px -34px rgba(22, 34, 58, .55);

  --r-lg: 18px;
  --r-md: 12px;

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 56px);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  /* subtle paper grain */
  background-image:
    radial-gradient(circle at 18% -10%, rgba(201,161,74,.06), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(22,34,58,.05), transparent 40%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1,h2,h3 { margin: 0; font-family: var(--f-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep); margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.9rem); color: var(--navy); }
.section-head { max-width: 620px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-body); font-weight: 600; font-size: .96rem;
  padding: .82em 1.5em; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-solid { background: var(--navy); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-solid:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,231,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { border-radius: 9px; box-shadow: var(--shadow-soft); }
.brand-word { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--navy); letter-spacing: -.02em; }

.main-nav { display: flex; gap: 1.7rem; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-size: .94rem; font-weight: 500; position: relative; padding: .2em 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; }
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.lang-btn {
  border: 0; background: transparent; cursor: pointer; font-family: var(--f-body);
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft);
  padding: .42em .66em; transition: background .18s, color .18s;
}
.lang-btn:hover { color: var(--navy); }
.lang-btn[aria-current="true"] { background: var(--navy); color: var(--white); }

/* ============================================================
   HERO — split asymmetric
   ============================================================ */
.hero { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(3rem, 8vw, 6rem); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy { max-width: 36rem; }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--navy); margin-bottom: 1.3rem;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.hero-title { font-optical-sizing: auto; }
.hero-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 32rem; margin-bottom: 2rem; animation: rise .8s .1s cubic-bezier(.2,.7,.2,1) both; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.6rem; animation: rise .8s .2s cubic-bezier(.2,.7,.2,1) both; }
.hero-marks { display: grid; gap: 1.1rem; border-top: 1px solid var(--line); padding-top: 1.6rem; animation: rise .8s .3s cubic-bezier(.2,.7,.2,1) both; }
.hero-marks li { display: grid; gap: .15rem; }
.mark-num { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.hero-marks li span:last-child { font-size: .92rem; color: var(--ink-soft); }

.hero-media { position: relative; }
.hero-photo {
  margin: 0; border-radius: var(--r-lg) var(--r-lg) 64px var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  background: linear-gradient(150deg, var(--navy), var(--navy-soft));
  aspect-ratio: 4 / 5;
  rotate: 1.4deg;
  animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -18px; bottom: 34px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .85rem 1.1rem; box-shadow: var(--shadow-card); display: grid; gap: .1rem;
  rotate: -2deg;
}
.badge-k { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.badge-v { font-family: var(--f-display); font-size: 1.15rem; color: var(--navy); font-weight: 600; }

/* ============================================================
   TRUST STRIP — navy band
   ============================================================ */
.trust { background: var(--navy); color: var(--paper); }
.trust-inner {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem,5vw,4rem); align-items: center;
  padding-block: clamp(2.5rem, 5vw, 3.6rem);
}
.trust-inner > p { font-family: var(--f-display); font-size: clamp(1.25rem,2.4vw,1.7rem); font-weight: 400; line-height: 1.35; font-style: italic; color: var(--white); }
.trust-stats { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); flex-wrap: wrap; }
.trust-stats div { display: grid; gap: .2rem; }
.trust-stats dt { font-family: var(--f-display); font-size: 1.85rem; font-weight: 600; color: var(--gold); }
.trust-stats dd { margin: 0; font-size: .86rem; color: rgba(246,241,231,.78); max-width: 12ch; }

/* ============================================================
   EXPERTISE — numbered editorial list
   ============================================================ */
.expertise { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.exp-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.exp-item {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 4vw, 3rem);
  align-items: start; padding-block: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line); transition: background .25s ease;
}
.exp-item:hover { background: var(--paper-2); }
.exp-index { font-family: var(--f-display); font-size: clamp(1.6rem,3vw,2.3rem); color: var(--gold); font-weight: 600; min-width: 2.2ch; }
.exp-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--navy); margin-bottom: .5rem; }
.exp-body p { color: var(--ink-soft); max-width: 56ch; }

/* ============================================================
   HOW — offset media + steps
   ============================================================ */
.how { background: var(--paper-2); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.how-media figure {
  margin: 0; border-radius: 64px var(--r-lg) var(--r-lg) var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-card); background: linear-gradient(150deg, var(--navy-soft), var(--navy));
  aspect-ratio: 4 / 5; rotate: -1.6deg;
}
.how-media img { width: 100%; height: 100%; object-fit: cover; }
.how-steps { counter-reset: step; display: grid; gap: 1.6rem; margin-block: 1.8rem 2.2rem; }
.how-steps li { position: relative; padding-left: 3.4rem; counter-increment: step; }
.how-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-family: var(--f-display); font-weight: 600; font-size: 1.05rem;
}
.how-steps h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: .25rem; }
.how-steps p { color: var(--ink-soft); }

/* ============================================================
   STORIES — quote cards
   ============================================================ */
.stories { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.story {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-soft); position: relative;
}
.story::before {
  content: "\201C"; position: absolute; top: -.15em; left: .35em;
  font-family: var(--f-display); font-size: 4.5rem; color: var(--gold); opacity: .35; line-height: 1;
}
.story blockquote { margin: 1.2rem 0 1.4rem; font-family: var(--f-display); font-size: 1.12rem; font-weight: 400; color: var(--navy); line-height: 1.5; }
.story figcaption { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.stories-note { margin-top: 1.6rem; font-size: .84rem; color: var(--ink-soft); font-style: italic; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--navy); color: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.faq .eyebrow { color: var(--gold); }
.faq-head .section-title { color: var(--white); }
.faq-items { display: grid; gap: .2rem; }
.faq details { border-bottom: 1px solid rgba(246,241,231,.18); padding: 1.1rem 0; }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 1.18rem; color: var(--white);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .8rem; color: rgba(246,241,231,.82); max-width: 60ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.contact-lead { color: var(--ink-soft); margin-bottom: 2rem; max-width: 36ch; }
.contact-alt { font-size: .9rem; color: var(--ink-soft); margin-bottom: .2rem; }
.contact-mail { font-family: var(--f-display); font-size: 1.3rem; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); }
.contact-mail:hover { color: var(--gold-deep); }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-card); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: .98rem; color: var(--ink);
  padding: .72em .9em; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  transition: border-color .18s, box-shadow .18s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201,161,74,.25);
}
.form-note { font-size: .78rem; color: var(--ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: var(--paper); padding-block: clamp(2.5rem, 5vw, 3.6rem); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand legal links" "copy copy copy"; gap: 1.6rem clamp(1.5rem,4vw,3rem); align-items: start; }
.footer-brand { grid-area: brand; display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--white); }
.footer-legal { grid-area: legal; display: grid; gap: .35rem; }
.legal-line { font-size: .86rem; color: rgba(246,241,231,.74); }
.footer-legal a { color: var(--gold); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.footer-links { grid-area: links; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { font-size: .9rem; color: var(--paper); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { grid-area: copy; border-top: 1px solid rgba(246,241,231,.16); padding-top: 1.2rem; font-size: .82rem; color: rgba(246,241,231,.6); }

/* ============================================================
   LEGAL / POLICY PAGES
   ============================================================ */
.policy { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.policy-head { max-width: 60ch; margin-bottom: 2.4rem; }
.policy-head .eyebrow { margin-bottom: .8rem; }
.policy-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--navy); }
.policy-head .updated { margin-top: .8rem; font-size: .88rem; color: var(--ink-soft); }
.policy-body { max-width: 68ch; }
.policy-body h2 { font-size: 1.4rem; color: var(--navy); margin-top: 2.4rem; margin-bottom: .7rem; }
.policy-body p { color: var(--ink-soft); margin-bottom: 1rem; }
.policy-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; color: var(--ink-soft); display: grid; gap: .45rem; }
.policy-body a { color: var(--gold-deep); }
.back-link { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.6rem; text-decoration: none; color: var(--ink-soft); font-size: .9rem; font-weight: 500; }
.back-link:hover { color: var(--navy); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .main-nav { display: none; }
  .hero-grid, .how-grid, .faq-grid, .contact-grid, .trust-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; }
  .how-media { max-width: 420px; }
  .story-grid { grid-template-columns: 1fr; }
  .hero-photo, .how-media figure { rotate: 0deg; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-actions { gap: .6rem; }
  .footer-inner { grid-template-columns: 1fr; grid-template-areas: "brand" "legal" "links" "copy"; }
  .trust-stats { gap: 1.4rem; }
  .hero-badge { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

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