:root {
  color-scheme: dark;
  --bg: #11100f;
  --bg-soft: #171513;
  --panel: #1c1916;
  --panel-strong: #24201c;
  --text: #f5efe5;
  --muted: #b7aa99;
  --subtle: #827667;
  --line: #3a3128;
  --gold: #e4a12f;
  --gold-strong: #f3b64b;
  --copper: #b86c36;
  --green: #8aa36f;
  --shadow: rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(185, 152, 99, 0.72) #15120f;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #15120f;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #15120f;
  border-radius: 999px;
  background: rgba(185, 152, 99, 0.72);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(228, 161, 47, 0.88);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(228, 161, 47, 0.07), transparent 360px),
    linear-gradient(180deg, var(--bg), #0c0b0a 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(184, 108, 54, 0.07), transparent 36%),
    radial-gradient(circle at 90% 8%, rgba(138, 163, 111, 0.08), transparent 26%);
  pointer-events: none;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(245, 239, 229, 0.08);
  background: rgba(17, 16, 15, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

[data-brand] {
  display: inline-flex;
  align-items: baseline;
}

.brand-part-mind {
  color: var(--text);
}

.brand-part-wright {
  margin-left: 0.03em;
  color: var(--gold-strong);
}

.brand-suffix {
  margin-left: 0.32em;
  color: #d8cab8;
}

.header-brand-title {
  position: absolute;
  left: 50%;
  color: var(--text);
  font-weight: 760;
  white-space: nowrap;
  transform: translateX(-50%);
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 54px;
  height: 34px;
  background: url("assets/mindwright-mark.png") center / contain no-repeat;
}

nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  color: var(--gold-strong);
  font-weight: 740;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(760px, calc(100vh - 68px));
  overflow: hidden;
  padding: clamp(68px, 9vw, 128px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(14, 12, 10, 0.34) 0%, rgba(14, 12, 10, 0.62) 44%, rgba(14, 12, 10, 0.98) 100%),
    linear-gradient(0deg, rgba(14, 12, 10, 0.92), rgba(14, 12, 10, 0.26) 45%, rgba(14, 12, 10, 0.72)),
    image-set(
      url("assets/hero-workflow.webp") type("image/webp"),
      url("assets/hero-workflow.png") type("image/png")
    ) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.about-main {
  min-height: calc(100vh - 68px);
}

.about-hero {
  display: flex;
  align-items: center;
  min-height: min(640px, calc(100vh - 68px));
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.72), rgba(14, 12, 10, 0.96)),
    radial-gradient(circle at 76% 28%, rgba(138, 163, 111, 0.14), transparent 30%);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 380px);
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 7vw, 96px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about-copy {
  text-align: center;
}

.about-copy h1 {
  max-width: 780px;
}

.about-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.portrait-frame {
  overflow: hidden;
  width: min(100%, 340px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(228, 161, 47, 0.34);
  border-radius: 8px;
  background: rgba(28, 25, 22, 0.88);
  box-shadow: 0 22px 64px var(--shadow);
}

.founder-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-caption {
  display: grid;
  gap: 3px;
  margin: 14px 0 0;
  color: var(--text);
  font-weight: 760;
  line-height: 1.2;
}

.portrait-caption span:last-child {
  color: var(--gold-strong);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold-strong);
  font-size: 0.76rem;
  font-weight: 790;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  margin-right: auto;
  margin-bottom: 20px;
  margin-left: auto;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.96;
}

.about-copy h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5.3vw, 5.8rem);
  line-height: 1;
}

.title-accent {
  color: var(--gold-strong);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.lede {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: #ded2c1;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border: 1px solid transparent;
  background: var(--gold);
  color: #17110a;
}

.button.primary:hover {
  background: var(--gold-strong);
}

.button.secondary {
  border: 1px solid rgba(245, 239, 229, 0.2);
  color: #f1e8db;
  background: rgba(17, 16, 15, 0.34);
}

.button.secondary:hover {
  border-color: rgba(245, 239, 229, 0.38);
  background: rgba(245, 239, 229, 0.06);
}

.section-break {
  width: min(90vw, 1280px);
  height: 1px;
  margin: clamp(34px, 5vw, 64px) auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(185, 152, 99, 0.45) 16%,
    rgba(245, 239, 229, 0.18) 50%,
    rgba(185, 152, 99, 0.45) 84%,
    transparent
  );
}

.flow-list p,
.belief-list p,
.example-grid p,
footer,
.form-status {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  text-align: center;
}

.section-break + .process-section {
  padding-top: clamp(38px, 6vw, 78px);
}

.section-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading.compact {
  max-width: 820px;
  margin: 0 auto 30px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.example-grid article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(28, 25, 22, 0.86);
  box-shadow: 0 18px 50px var(--shadow);
}

.process-section {
  border-top: 1px solid rgba(245, 239, 229, 0.08);
  border-bottom: 1px solid rgba(245, 239, 229, 0.08);
  background: rgba(14, 12, 10, 0.42);
}

.flow-list {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.flow-list li {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: clamp(22px, 4vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.flow-number {
  align-self: start;
  color: var(--subtle);
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.4;
}

.flow-list h3 {
  margin-bottom: 8px;
  color: #f2e5d3;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.flow-list p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.insight-section {
  display: grid;
  gap: 26px;
  border-bottom: 1px solid rgba(245, 239, 229, 0.08);
}

.team-growth-section {
  display: grid;
  padding-top: clamp(28px, 4vw, 46px);
  padding-bottom: clamp(34px, 5vw, 56px);
  border-top: 1px solid rgba(245, 239, 229, 0.08);
  background: rgba(14, 12, 10, 0.42);
}

.team-growth-panel {
  max-width: 760px;
  margin: 0 auto;
}

.team-growth-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.story-copy {
  display: grid;
  gap: 16px;
  max-width: 780px;
  margin: 22px auto 0;
}

.founder-copy {
  padding-top: 4px;
}

.story-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.65;
}

.team-growth-panel p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.65;
}

.belief-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 64px);
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  border-top: 1px solid var(--line);
}

.belief-list article {
  padding-top: 24px;
}

.belief-list h3 {
  max-width: 520px;
  margin-right: auto;
  margin-bottom: 10px;
  margin-left: auto;
  color: #f2e5d3;
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.belief-list p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.example-grid article {
  min-height: 160px;
  padding: 22px;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: center;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer sup {
  margin-left: 3px;
  color: var(--subtle);
  font-size: 0.62rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 620px) minmax(320px, 520px);
  justify-content: center;
  gap: clamp(30px, 4vw, 72px);
  align-items: start;
  border-top: 1px solid rgba(245, 239, 229, 0.08);
  background: rgba(14, 12, 10, 0.42);
}

.contact-intro {
  align-self: start;
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  padding-top: clamp(4px, 1.5vw, 22px);
}

.contact-panel {
  align-self: start;
  padding: clamp(22px, 4vw, 34px);
  text-align: left;
}

.contact-note {
  max-width: 440px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #eadfce;
  font-size: 0.92rem;
  font-weight: 720;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #11100f;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  padding: 12px;
}

.contact-form textarea {
  min-height: 144px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(228, 161, 47, 0.42);
  outline-offset: 2px;
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 940px) {
  .about-hero-grid,
  .insight-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .portrait-frame {
    max-width: 280px;
  }
}

@media (min-width: 1280px) {
  .example-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .site-header {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand {
    grid-column: 1;
  }

  .header-brand-title {
    position: static;
    grid-column: 2;
    justify-self: center;
    max-width: 100%;
    overflow: hidden;
    font-size: 0.98rem;
    text-overflow: ellipsis;
    transform: none;
  }

  nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 720px) {
  .hero {
    align-items: flex-end;
    min-height: 680px;
    background:
      linear-gradient(180deg, rgba(14, 12, 10, 0.4), rgba(14, 12, 10, 0.98) 74%),
      image-set(
        url("assets/hero-workflow.webp") type("image/webp"),
        url("assets/hero-workflow.png") type("image/png")
      ) 38% center / cover no-repeat;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
  }

  .belief-list,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .flow-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

}
