:root {
  --ink: #171513;
  --graphite: #2b2926;
  --text: #1d1a17;
  --muted: #615b53;
  --line: #ded7ce;
  --line-strong: #cfc5b8;
  --surface: #ffffff;
  --soft: #f5f2ec;
  --soft-2: #ebe4d9;
  --accent: #a66f35;
  --accent-dark: #74502a;
  --gold: #d8b273;
  --sage: #405750;
  --sage-soft: #edf2ef;
  --shadow: 0 24px 70px rgba(23, 21, 19, 0.13);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 215, 206, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  flex: 0 0 auto;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
}

.nav-menu {
  position: absolute;
  inset: 72px 16px auto;
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 14px;
}

.nav-menu.is-open {
  display: grid;
  gap: 4px;
}

.nav-menu a {
  border-radius: 6px;
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 760;
  padding: 10px 12px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--soft);
  color: var(--accent-dark);
}

/* Buttons */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 820;
  line-height: 1.2;
  padding: 13px 20px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--accent-dark);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-light:hover,
.btn-light:focus-visible {
  background: #ffffff;
  color: var(--ink);
}

.btn-small {
  min-height: 42px;
  padding: 10px 15px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: var(--ink);
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.9) 0%, rgba(12, 11, 10, 0.76) 43%, rgba(12, 11, 10, 0.22) 100%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.08), rgba(12, 11, 10, 0.62)),
    url("assets/hero-consulting.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  gap: 32px;
  padding-block: 78px 38px;
}

.hero-content {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.about .eyebrow {
  color: var(--gold);
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #efe8dc;
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  width: 100%;
}

.hero-proof {
  width: min(100%, 820px);
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-proof div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: rgba(23, 21, 19, 0.58);
  padding: 20px;
}

.hero-proof strong {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.hero-proof span {
  color: #dfd6c8;
  font-weight: 760;
}

/* Sections */
.section {
  padding-block: 76px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.sym-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #ffffff;
}

.sym-grid > article {
  min-height: 244px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 26px;
}

.sym-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

/* Problem signals */
.signal-section {
  background: #ffffff;
}

.signal-grid {
  box-shadow: 0 18px 50px rgba(23, 21, 19, 0.05);
}

.signal-card {
  position: relative;
}

.signal-card::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 24px;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

/* Services */
.services-section {
  background: var(--soft);
}

.service-grid {
  box-shadow: 0 18px 50px rgba(23, 21, 19, 0.06);
}

.service-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--sage-soft);
}

.service-icon::before,
.service-icon::after {
  content: "";
  display: block;
}

.service-icon-process::before {
  width: 23px;
  height: 23px;
  border: 2px solid var(--sage);
  border-radius: 7px;
  box-shadow: 9px 9px 0 -4px #d9e3dd;
}

.service-icon-strategy::before {
  width: 23px;
  height: 23px;
  border-top: 2px solid var(--sage);
  border-right: 2px solid var(--sage);
  transform: rotate(45deg);
}

.service-icon-insight::before {
  width: 21px;
  height: 21px;
  border: 2px solid var(--sage);
  border-radius: 50%;
}

.service-icon-insight::after {
  position: absolute;
  width: 11px;
  height: 2px;
  right: 11px;
  bottom: 11px;
  background: var(--sage);
  transform: rotate(45deg);
}

.service-icon-structure::before {
  width: 27px;
  height: 17px;
  border-top: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
}

.service-icon-advisory::before {
  width: 26px;
  height: 17px;
  border: 2px solid var(--sage);
  border-radius: 6px 6px 6px 0;
}

.service-icon-ai::before {
  width: 23px;
  height: 23px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--sage-soft);
}

.service-icon-ai::after {
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--accent);
  transform: rotate(-28deg);
}

/* Method */
.method-section {
  background: #ffffff;
}

.method-timeline {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.method-timeline article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.method-timeline span {
  color: var(--accent);
  font-weight: 900;
}

.method-timeline h3 {
  margin-bottom: 6px;
}

.method-timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Results */
.results-section {
  background:
    linear-gradient(180deg, var(--soft) 0%, #ffffff 100%);
}

.result-card {
  min-height: 230px;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--sage-soft);
}

.icon::before {
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  border: 2px solid var(--sage);
}

.icon-control::before {
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--sage-soft);
}

.icon-process::before {
  width: 24px;
  height: 16px;
  border-left: 0;
  border-right: 0;
}

.icon-growth::before {
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.icon-stability::before {
  width: 23px;
  height: 18px;
  border-radius: 4px;
  box-shadow: inset 0 -7px 0 rgba(64, 87, 80, 0.16);
}

/* About */
.about {
  background:
    linear-gradient(135deg, rgba(166, 111, 53, 0.18), transparent 42%),
    var(--ink);
  color: #ffffff;
}

.about h2 {
  color: #ffffff;
}

.about-grid {
  display: grid;
  gap: 30px;
}

.about-text {
  color: #eee7de;
  font-size: 1.08rem;
}

.about-text p {
  max-width: 670px;
}

.about-text p:last-child {
  margin-bottom: 0;
  color: #ffffff;
  font-weight: 850;
}

/* Contact */
.contact {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  gap: 32px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 850;
}

.contact-details a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row-hidden {
  position: absolute;
  left: -9999px;
}

label {
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 820;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d6cec4;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(166, 111, 53, 0.18);
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 760;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #ffffff;
  padding-block: 34px;
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.site-footer strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.site-footer p {
  margin-bottom: 0;
  color: #d8d1c8;
}

.site-footer a {
  color: inherit;
}

.footer-contact {
  display: grid;
  gap: 6px;
  color: #eee7de;
  font-weight: 760;
}

.copyright {
  font-size: 0.92rem;
}

@media (min-width: 520px) {
  .hero-actions .btn {
    width: auto;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 26px;
  }

  .form-row-full,
  .form-submit,
  .form-note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .section {
    padding-block: 96px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

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

  .method-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left: 1px solid var(--line);
  }

  .method-timeline article {
    min-height: 250px;
    grid-template-columns: 1fr;
    align-content: start;
    border-right: 1px solid var(--line);
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (min-width: 940px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .nav-menu a:not(.btn) {
    padding-inline: 10px;
  }

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

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

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

  .copyright {
    grid-column: auto;
    text-align: right;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 720px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(12, 11, 10, 0.82) 0%, rgba(12, 11, 10, 0.76) 48%, rgba(12, 11, 10, 0.62) 100%),
      url("assets/hero-consulting.jpg") 56% center / cover no-repeat;
  }

  .hero-inner {
    min-height: 720px;
    align-items: end;
    padding-block: 88px 42px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }
}

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