/* Vertex Strategies — v8 website draft
   Typographic editorial hero, no illustration or SVG visual.
   No frameworks, no external fonts, no tracking scripts. */

:root {
  --bg: #fffdf8;
  --ink: #14110f;
  --ink-soft: #2a2520;
  --muted: #6f6559;
  --muted-2: #8a8073;
  --paper: #ffffff;
  --warm: #f6efe5;
  --warm-2: #efe3d2;
  --sand: #dfcbb0;
  --clay: #a97750;
  --line: rgba(45, 36, 28, 0.13);
  --panel: #fbf7ef;
  --panel-strong: #f0e6d7;
  --max: 1160px;
  --radius: 24px;
  --radius-lg: 34px;
  --shadow: 0 28px 90px rgba(54, 43, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% -10%, rgba(223, 203, 176, 0.28), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fffdf8 62%, #fbf7ef 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--clay);
}

p {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  padding: 74px 0 64px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.42fr);
  gap: 56px;
  align-items: end;
}

.hero-copy {
  max-width: 930px;
}

.kicker {
  margin-bottom: 22px;
  color: var(--clay);
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 960px;
  font-size: clamp(3.15rem, 7.4vw, 7.2rem);
  font-weight: 670;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  font-weight: 650;
}

h3 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.65vw, 1.30rem);
  line-height: 1.48;
}

.hero-panel {
  position: relative;
  padding: 30px;
  border-left: 1px solid var(--line);
}

.hero-panel::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 72px;
  background: linear-gradient(180deg, var(--clay), transparent);
}

.hero-panel-label {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel-copy {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 620;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  color: #ffffff;
  transform: translateY(-1px);
  background: #221b16;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--ink);
  background: #ffffff;
}

.practice-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-item,
.practice-outcome {
  min-height: 148px;
  padding: 26px 26px 28px;
  border-right: 1px solid var(--line);
}

.practice-item:first-child,
.practice-outcome:first-child {
  border-left: 1px solid var(--line);
}

.practice-item span,
.practice-outcome span {
  display: block;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
  font-weight: 690;
  letter-spacing: -0.04em;
}

.practice-item p,
.practice-outcome p {
  max-width: 270px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.practice-outcome {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(246, 239, 229, 0.86));
}

.practice-outcome span {
  color: var(--clay);
}

.practice-outcome p {
  color: var(--ink-soft);
  font-weight: 560;
}

/* Scroll animations -------------------------------------------------------
   Motion is intentionally restrained. The hero diagram now animates as one
   cohesive block; its internal SVG elements remain static. */

@media (prefers-reduced-motion: no-preference) {
  html.animations-ready .reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(5px);
    transition:
      opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
  }

  html.animations-ready .reveal.reveal-fade {
    transform: none;
  }

  html.animations-ready .reveal.reveal-scale {
    transform: translate3d(0, 18px, 0) scale(0.97);
  }

  html.animations-ready .reveal.reveal-left {
    transform: translate3d(-24px, 0, 0);
  }

  html.animations-ready .reveal.reveal-right {
    transform: translate3d(24px, 0, 0);
  }

  html.animations-ready .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-tight {
  padding: 70px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 64px;
  align-items: start;
}

.section-copy {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-copy p + p {
  margin-top: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 34px rgba(54, 43, 31, 0.04);
}

.card p {
  margin-top: 18px;
  color: var(--muted);
}

.card-number {
  display: block;
  margin-bottom: 34px;
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 680;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.approach-item {
  padding: 32px;
  border: 1px solid rgba(45, 36, 28, 0.08);
  border-radius: var(--radius);
  background: var(--warm);
}

.approach-item p {
  margin-top: 16px;
  color: var(--muted);
}

.statement {
  padding: 58px;
  border: 1px solid rgba(45, 36, 28, 0.18);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 88% 12%, rgba(169, 119, 80, 0.24), transparent 30%),
    linear-gradient(135deg, #1a1511, #2b2119);
  color: #fffaf2;
}

.statement .kicker {
  color: #dfcbb0;
}

.statement p {
  max-width: 880px;
  margin-top: 22px;
  color: rgba(255, 250, 242, 0.74);
  font-size: 1.22rem;
}

.cta {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.62);
}

.cta p {
  max-width: 650px;
  margin-top: 12px;
  color: var(--muted);
}

.page-hero {
  padding: 72px 0 68px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 5.4vw, 5.0rem);
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-row {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 46px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.service-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-row p {
  color: var(--muted);
  font-size: 1.08rem;
}

.bullets {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.bullets li::before {
  content: "— ";
  color: var(--clay);
}

.info-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.info-panel p + p {
  margin-top: 12px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
  gap: 28px;
  align-items: start;
}

.contact-box,
.form-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 54px rgba(54, 43, 31, 0.06);
}

.contact-box p {
  color: var(--muted);
}

.company-info p + p {
  margin-top: 12px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 640;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(45, 36, 28, 0.16);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--ink);
  outline: none;
  padding: 14px 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field select {
  appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(169, 119, 80, 0.56);
  box-shadow: 0 0 0 4px rgba(169, 119, 80, 0.11);
  background: #ffffff;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.94rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--ink);
  flex: 0 0 auto;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.success {
  color: #2f6b3f;
}

.form-status.error {
  color: #9b3e2c;
}

.legal-content {
  max-width: 860px;
  color: var(--muted);
}

.legal-content h2 {
  margin-top: 52px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content p + p {
  margin-top: 14px;
}

.legal-content ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.site-footer {
  padding: 46px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  color: var(--ink);
  font-weight: 680;
  margin-bottom: 14px;
}

.footer-details p + p {
  margin-top: 5px;
}

.footer-rights {
  margin-top: 14px !important;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--clay);
}

@media (min-width: 961px) and (max-height: 820px) {
  .hero {
    padding: 54px 0 48px;
  }

  h1 {
    font-size: clamp(2.85rem, 6.2vw, 5.8rem);
  }

  .practice-rail {
    margin-top: 42px;
  }

  .practice-item,
  .practice-outcome {
    min-height: 132px;
    padding: 22px 22px 24px;
  }

  .hero-actions {
    margin-top: 24px;
  }
}

@media (max-width: 960px) {
  .hero-shell,
  .split,
  .service-row,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 58px 0 60px;
  }

  .hero-panel {
    max-width: 680px;
    padding: 26px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-panel::before {
    left: 0;
    top: -1px;
    width: 84px;
    height: 1px;
    background: linear-gradient(90deg, var(--clay), transparent);
  }

  .practice-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-item,
  .practice-outcome {
    min-height: 134px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.92rem;
  }

  .hero,
  .page-hero,
  .section {
    padding: 54px 0;
  }

  .hero {
    padding: 42px 0 52px;
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 4.15rem);
  }

  h2 {
    font-size: 2.25rem;
  }

  .cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .statement,
  .cta,
  .contact-box,
  .form-card {
    padding: 28px;
  }

  .practice-rail {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .practice-item,
  .practice-outcome {
    min-height: auto;
    padding: 22px 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .practice-item:first-child,
  .practice-outcome:first-child {
    border-left: 0;
  }

  .practice-outcome {
    background: transparent;
    border-bottom: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
