/* Enrico Schmidt Consulting LLC — site styles */
:root {
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --paper: #F6F3EE;
  --paper-2: #EDE8DF;
  --line: #DDD6CA;
  --white: #FFFFFF;
  --accent: #E4572E;
  --accent-ink: #B63D18;
  --radius: 14px;
  --wrap: 1180px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.serif { font-family: var(--serif); }
em.accent { font-style: italic; color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 24px; line-height: 1; }
.brand-name small {
  display: block; margin-top: 4px;
  font: 600 10.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--accent-ink); }
.nav-links .btn { color: var(--paper); padding: 11px 20px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { padding-block: 88px 72px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(46px, 7vw, 92px); margin-top: 22px; }
.hero-lead { margin-top: 26px; font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-card {
  background: var(--ink); color: var(--paper); border-radius: 22px; padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(16, 24, 40, 0.55);
}
.hero-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hero-card-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #98A2B3; }
.hero-card-title { font-family: var(--serif); font-size: 28px; margin-top: 6px; }
.hero-card-tag {
  font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px;
  background: rgba(228, 87, 46, 0.16); color: #FF8A65; white-space: nowrap;
}
.hero-chart { margin-top: 22px; width: 100%; height: auto; }
.hero-chart .grid line { stroke: rgba(246, 243, 238, 0.08); }
.hero-chart .area { fill: url(#heroFill); }
.hero-chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.2s .3s ease forwards; }
.hero-chart .dot { fill: var(--accent); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-card-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.hero-card-rows div { border-top: 1px solid rgba(246, 243, 238, 0.12); padding-top: 12px; }
.hero-card-rows b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.hero-card-rows span { font-size: 12.5px; color: #98A2B3; }

/* Capability strip */
.strip { border-block: 1px solid var(--line); background: var(--paper-2); overflow: hidden; }
.strip-track { display: flex; gap: 48px; padding-block: 20px; width: max-content; animation: marquee 38s linear infinite; }
.strip-track span { font-family: var(--serif); font-size: 26px; white-space: nowrap; color: var(--ink-2); display: inline-flex; align-items: center; gap: 48px; }
.strip-track span::after { content: "✦"; font-size: 14px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: 112px; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .eyebrow { color: #FF8A65; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(38px, 5vw, 60px); margin-top: 18px; }
.section-head p { color: var(--ink-2); font-size: 18px; max-width: 32em; }
.section-dark .section-head p { color: #D0D5DD; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  padding: 36px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); transition: background .25s;
}
.service:hover { background: var(--white); }
.service-num { font-size: 13px; font-weight: 600; color: var(--accent-ink); letter-spacing: 0.08em; }
.service h3 { font-family: var(--serif); font-size: 30px; margin-top: 18px; }
.service p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.service ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { border-top: 2px solid rgba(246, 243, 238, 0.18); padding-top: 28px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent);
}
.step h3 { font-family: var(--serif); font-size: 30px; margin-top: 18px; }
.step p { margin-top: 12px; color: #D0D5DD; font-size: 16px; }
.step:hover { border-top-color: var(--accent); }

/* Engagements */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan {
  display: flex; flex-direction: column; padding: 36px 32px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
}
.plan.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plan.featured .plan-kicker { color: #FF8A65; }
.plan h3 { font-family: var(--serif); font-size: 34px; margin-top: 12px; }
.plan > p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.plan.featured > p { color: #D0D5DD; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; font-size: 15.5px; }
.plan li { display: flex; gap: 12px; }
.plan li::before { content: "→"; color: var(--accent); font-weight: 600; }
.plan .btn { margin-top: auto; }
.plan.featured .btn-ghost { border-color: var(--paper); color: var(--paper); }
.plan.featured .btn-ghost:hover { background: var(--accent); border-color: var(--accent); }

/* About */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.about-portrait {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: 22px; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; padding: 32px; position: relative; overflow: hidden;
}
.about-portrait::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 46px solid var(--accent); opacity: .9;
}
.about-initials { font-family: var(--serif); font-size: clamp(90px, 14vw, 150px); line-height: 0.9; position: relative; z-index: 1; }
.about-portrait p { position: relative; z-index: 1; font-size: 14px; color: #D0D5DD; max-width: 16em; }
.about-body h2 { font-family: var(--serif); font-size: clamp(38px, 5vw, 58px); margin-top: 18px; }
.about-body > p { margin-top: 22px; color: var(--ink-2); font-size: 18px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.values h3 { font-size: 17px; font-family: var(--sans); font-weight: 600; }
.values p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-size: 26px; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-family: var(--sans); font-size: 20px; transition: transform .25s, background .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq details p { padding-bottom: 26px; color: var(--ink-2); max-width: 44em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.contact-info h2 { font-family: var(--serif); font-size: clamp(38px, 5vw, 60px); margin-top: 18px; }
.contact-info > p { margin-top: 20px; color: var(--ink-2); font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-list .k { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a { text-decoration-color: var(--accent); text-underline-offset: 4px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 40px; display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(228, 87, 46, 0.18);
}
.form .btn { justify-self: start; }
.form-status { font-size: 14.5px; color: var(--accent-ink); min-height: 1em; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--ink); color: #D0D5DD; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: 88px 64px; border-bottom: 1px solid rgba(246, 243, 238, 0.12); }
.footer-cta h2 { font-family: var(--serif); color: var(--paper); font-size: clamp(40px, 6vw, 76px); }
.footer-cta .btn-primary { background: var(--accent); }
.footer-cta .btn-primary:hover { background: var(--paper); color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 56px; }
.footer-grid h4 { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #98A2B3; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer-grid address { font-style: normal; font-size: 15px; line-height: 1.7; }
.site-footer .brand-name { color: var(--paper); }
.site-footer .brand-name small { color: #98A2B3; }
.footer-about { margin-top: 18px; font-size: 15px; max-width: 26em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; border-top: 1px solid rgba(246, 243, 238, 0.12); font-size: 13.5px; color: #98A2B3; }

/* Legal pages */
.legal-hero { padding-block: 80px 48px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); margin-top: 18px; }
.legal-hero p { margin-top: 16px; color: var(--muted); }
.legal { max-width: 780px; padding-block: 56px 112px; }
.legal h2 { font-family: var(--serif); font-size: 32px; margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal address { font-style: normal; margin-top: 14px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-card { max-width: 560px; }
  .about-portrait { aspect-ratio: 16 / 10; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .plans { grid-template-columns: 1fr; max-width: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links .btn { margin-top: 18px; width: 100%; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .hero { padding-block: 56px 56px; }
  .section { padding-block: 80px; }
  .services-grid, .steps, .values, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .service { padding: 30px 24px; }
  .hero-card { padding: 22px; }
  .hero-card-rows b { font-size: 18px; }
  .form { padding: 26px 20px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .faq summary { font-size: 22px; }
  .strip-track span { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip-track, .hero-chart .line { animation: none; }
  .hero-chart .line { stroke-dashoffset: 0; }
}
