/* Keelhouse Ventures brand stylesheet, v4 */

:root {
  --charcoal: #1E1E1C;
  --sand: #CBBBA6;
  --olive: #6F665C;
  --chalk: #F4EFE6;
  --paper: #F4EFE6;
  --paper-alt: #EFE6DA;
  --paper-card: #E8DCCB;
  --rule: #CBBBA6;
  --muted: #6F665C;
  --faint: #9A958A;

  --f-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1080px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}
.nav__logo:hover { text-decoration: none; }
.nav__logo svg { color: var(--charcoal); }
.nav__k {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
.nav--dark .nav__k { color: var(--chalk); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.nav__links a {
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}
.nav__links a:hover { color: var(--charcoal); text-decoration: none; }
.nav__investor {
  border: 1px solid var(--charcoal);
  padding: 0.45rem 0.9rem;
  color: var(--charcoal) !important;
  letter-spacing: 0.05em;
}
.nav__investor:hover { background: var(--charcoal); color: var(--paper) !important; }

.nav--dark { background: var(--charcoal); border-bottom-color: rgba(255,255,255,0.06); }
.nav--dark .nav__logo, .nav--dark .nav__logo svg { color: var(--chalk); }
.nav--dark .nav__links a { color: var(--chalk); opacity: 0.75; }
.nav--dark .nav__links a:hover { opacity: 1; }

@media (max-width: 720px) {
  .nav__links { gap: 1rem; }
  .nav__links a:not(.nav__investor) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(4rem, 12vw, 9rem) var(--gutter) clamp(3rem, 8vw, 6rem);
  background: var(--paper);
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.hero__wordmark {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 3.4rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
}
.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2.5rem;
  font-weight: 500;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 1.75rem;
  max-width: 22ch;
  color: var(--charcoal);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 56ch;
  margin: 0 0 2.5rem;
}
.hero__brandmark {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(7rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
  text-align: left;
}
.hero__tag {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 2.5rem;
  padding: 0;
  border: 0;
  max-width: 44ch;
}
.hero__tag--secondary {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

/* ---------- Rule divider ---------- */
.rule {
  height: 1px;
  background: var(--rule);
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- Content blocks ---------- */
.block { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); }
.block--alt { background: var(--paper-alt); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.block__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
@media (max-width: 720px) {
  .block__inner { grid-template-columns: 1fr; gap: 1rem; }
}
.block__num {
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: var(--faint);
  letter-spacing: 0.06em;
  margin: 0;
}
.block__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.008em;
  color: var(--charcoal);
  margin: 0 0 1.5rem;
  grid-column: 2;
}
.block__inner > .block__num { grid-column: 1; padding-top: 0.5rem; }
.block__body, .block__grid, .block__lede, .portfolio, .principles {
  grid-column: 2;
}
@media (max-width: 720px) {
  .block__title, .block__body, .block__grid, .block__lede, .portfolio, .principles { grid-column: 1; }
}
.block__body p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 0 1.1rem;
  color: var(--charcoal);
}
.block__body p:last-child { margin-bottom: 0; }
.block__lede {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 2rem;
  font-style: italic;
  font-family: var(--f-display);
  max-width: 60ch;
}

/* ---------- Approach grid ---------- */
.block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}
@media (max-width: 720px) {
  .block__grid { grid-template-columns: 1fr; gap: 2rem; }
}
.block__grid h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
  color: var(--charcoal);
}
.block__grid p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* ---------- Portfolio rows ---------- */
.portfolio { display: flex; flex-direction: column; }
.portfolio__row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.2fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.portfolio__row:last-child { border-bottom: 1px solid var(--rule); }
.portfolio__tag {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.portfolio__desc {
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--muted);
}
.portfolio__row--muted .portfolio__tag,
.portfolio__row--muted .portfolio__desc { color: var(--faint); }
@media (max-width: 720px) {
  .portfolio__row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---------- Principles rows ---------- */
.principles { display: flex; flex-direction: column; }
.principles__row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2.4fr;
  gap: 2rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--rule);
}
.principles__row:last-child { border-bottom: 1px solid var(--rule); }
.principles__k {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--charcoal);
}
.principles__v {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--muted);
}
@media (max-width: 720px) {
  .principles__row { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--charcoal);
  color: var(--chalk);
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}
@media (max-width: 720px) {
  .contact__inner { grid-template-columns: 1fr; gap: 1rem; }
}
.contact__num {
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: var(--faint);
  letter-spacing: 0.06em;
  margin: 0;
}
.contact__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1.5rem;
  color: var(--chalk);
  grid-column: 2;
}
.contact__body {
  grid-column: 2;
  font-size: 1.02rem;
  color: rgba(234, 231, 223, 0.78);
  max-width: 56ch;
  margin: 0 0 2rem;
  line-height: 1.65;
}
.contact__email {
  grid-column: 2;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin: 0 0 1rem;
}
.contact__email a { color: var(--sand); }
.contact__email a:hover { color: var(--chalk); }
.contact__investor {
  grid-column: 2;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.contact__investor a { color: var(--chalk); opacity: 0.7; }
.contact__investor a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 720px) {
  .contact__title, .contact__body, .contact__email, .contact__investor { grid-column: 1; }
}

/* ---------- Footer ---------- */
.foot {
  padding: 1.5rem var(--gutter);
  background: var(--paper);
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--muted);
}
.foot__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot--dark { background: var(--charcoal); color: rgba(234,231,223,0.55); border-top-color: rgba(255,255,255,0.06); }
.foot--dark a { color: rgba(234,231,223,0.55); }

/* ---------- Investor gate page ---------- */
.page--investors { background: var(--charcoal); color: var(--chalk); min-height: 100vh; display: flex; flex-direction: column; }
.page--investors main { flex: 1; }

.gate { padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.gate__inner {
  max-width: 620px;
  margin: 0 auto;
}
.gate__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 1.5rem;
  font-weight: 500;
}
.gate__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
  color: var(--chalk);
}
.gate__lede {
  color: rgba(234, 231, 223, 0.78);
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.65;
}

.gate__process {
  list-style: none;
  padding: 1.75rem 0;
  margin: 0 0 2.75rem;
  border-top: 1px solid rgba(212, 196, 161, 0.25);
  border-bottom: 1px solid rgba(212, 196, 161, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.gate__process li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.gate__step {
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: rgba(212, 196, 161, 0.85);
  letter-spacing: 0.05em;
}
.gate__stepbody {
  color: rgba(234, 231, 223, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
}
.gate__stepbody strong {
  color: var(--chalk);
  font-weight: 500;
  margin-right: 0.35rem;
}
.gate__discretion {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(234, 231, 223, 0.55);
  font-style: italic;
}

.gate__form { display: flex; flex-direction: column; gap: 1.25rem; }
.gate__field { display: flex; flex-direction: column; gap: 0.4rem; }
.gate__field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(234, 231, 223, 0.6);
  font-weight: 500;
}
.gate__field input,
.gate__field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(234, 231, 223, 0.18);
  color: var(--chalk);
  padding: 0.75rem 0.9rem;
  font-family: var(--f-body);
  font-size: 0.98rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.gate__field input:focus,
.gate__field select:focus {
  border-color: var(--sand);
  background: rgba(255,255,255,0.06);
}
.gate__field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sand) 50%), linear-gradient(135deg, var(--sand) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

.gate__submit {
  margin-top: 0.5rem;
  background: var(--sand);
  color: var(--charcoal);
  border: none;
  padding: 0.9rem 1.5rem;
  font-family: var(--f-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 2px;
}
.gate__submit:hover { background: var(--chalk); }

.gate__note {
  font-size: 0.82rem;
  color: rgba(234, 231, 223, 0.5);
  line-height: 1.55;
  margin: 0.5rem 0 0;
}

.gate__success {
  background: rgba(194, 169, 135, 0.08);
  border: 1px solid rgba(194, 169, 135, 0.3);
  padding: 2rem;
  border-radius: 2px;
}
.gate__success h2 {
  font-family: var(--f-display);
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--sand);
  font-size: 1.5rem;
}
.gate__success p { margin: 0; color: rgba(234, 231, 223, 0.78); line-height: 1.65; }
.gate__success a { color: var(--sand); }

.gate__rule {
  border: none;
  border-top: 1px solid rgba(234, 231, 223, 0.12);
  margin: 3.5rem 0 2.5rem;
}
.gate__about h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--chalk);
}
.gate__about ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.gate__about li {
  font-size: 0.95rem;
  color: rgba(234, 231, 223, 0.72);
  padding-left: 1.2rem;
  position: relative;
}
.gate__about li::before {
  content: '\00b7';
  position: absolute;
  left: 0;
  color: var(--sand);
  font-weight: 600;
}

/* ---------- v4 additions ---------- */

/* Hero secondary tag is white text by default on dark for dark pages; here use as charcoal label */

/* Block body text + footnote */
.block__body-text {
  grid-column: 2;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 0 1.1rem;
  color: var(--charcoal);
}
.block__footnote {
  grid-column: 2;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--olive);
  margin: 1.5rem 0 0;
}
.block__footnote a { color: var(--charcoal); border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.block__footnote a:hover { text-decoration: none; border-bottom-color: var(--charcoal); }
@media (max-width: 720px) {
  .block__body-text, .block__footnote { grid-column: 1; }
}

/* Portfolio cards (pgrid / pcard) */
.pgrid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}
@media (max-width: 720px) {
  .pgrid { grid-template-columns: 1fr; grid-column: 1; }
}
.pcard {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 175px;
}
.block--alt .pcard { background: var(--paper); }
.pcard__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 0.4rem;
}
.pcard__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
  color: var(--charcoal);
}
.pcard__sector {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.pcard__rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0.5rem 0 0;
}
.pcard__stage {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0;
}
.pcard__link {
  color: var(--charcoal);
  font-weight: 500;
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 2px;
}
.pcard__link:hover { text-decoration: none; color: var(--olive); border-bottom-color: var(--olive); }

.disc-note {
  grid-column: 2;
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 2px solid var(--rule);
  padding: 0.4rem 0 0.4rem 1rem;
  margin: 1.5rem 0 0;
  line-height: 1.55;
  max-width: 62ch;
}
.disc-note strong { color: var(--charcoal); font-weight: 500; }
@media (max-width: 720px) {
  .disc-note { grid-column: 1; }
}

/* Three-column principles grid */
.principles3 {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
}
@media (max-width: 720px) {
  .principles3 { grid-template-columns: 1fr; grid-column: 1; gap: 1.25rem; }
}
.principle {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.principle__num {
  font-family: serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--olive);
  letter-spacing: 0.05em;
  margin: 0 0 0.2rem;
}
.principle__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: var(--charcoal);
}
.principle__body {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Process steps row, matches .principles3 visual treatment */
.steps {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
  margin: 1.5rem 0 0;
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; grid-column: 1; gap: 1.25rem; }
}
.step {
  padding: 1.75rem 1.25rem 0 0;
}
.step:last-child { padding-right: 0; }
@media (max-width: 720px) {
  .step { padding: 1.25rem 0 0; }
}
.step__num {
  font-family: serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--olive);
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}
.step__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: var(--charcoal);
}
.step__body {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* CTA band (charcoal) */
.cta-band {
  background: var(--charcoal);
  color: var(--chalk);
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
.cta-band__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.cta-band__label {
  font-size: 0.95rem;
  color: rgba(234, 231, 223, 0.55);
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}
.cta-band__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
  color: var(--chalk);
  max-width: 28ch;
}
.cta-band__lede {
  font-size: 1.02rem;
  color: rgba(234, 231, 223, 0.78);
  max-width: 56ch;
  margin: 0 0 2rem;
  line-height: 1.65;
}
.cta-band__btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  background: var(--sand);
  color: var(--charcoal);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.15s;
}
.cta-band__btn:hover { background: var(--chalk); text-decoration: none; }

/* Performance page: six diagnostic layers */
.layers {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  margin: 1.5rem 0 0;
}
@media (max-width: 720px) {
  .layers { grid-template-columns: 1fr; grid-column: 1; }
}
.layer {
  padding: 1.6rem 1.25rem 1.6rem 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.layer:nth-child(3n) { border-right: 0; }
.layers .layer:nth-child(3n+2), .layers .layer:nth-child(3n) { padding-left: 1.25rem; }
@media (max-width: 720px) {
  .layer { border-right: 0; padding-left: 0 !important; }
  .layer:nth-child(3n) { border-right: 0; }
}
.layer__num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}
.layer__body {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Performance audit form */
.audit__form {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 620px;
  margin: 1.5rem 0 0;
}
@media (max-width: 720px) {
  .audit__form { grid-column: 1; }
}
.audit__field { display: flex; flex-direction: column; gap: 0.4rem; }
.audit__field label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
}
.audit__field input,
.audit__field textarea {
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--charcoal);
  padding: 0.78rem 0.9rem;
  font-family: var(--f-body);
  font-size: 0.97rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.audit__field textarea { resize: vertical; min-height: 100px; }
.audit__field input:focus,
.audit__field textarea:focus {
  border-color: var(--charcoal);
  background: #fff;
}
.audit__submit {
  margin-top: 0.5rem;
  background: var(--charcoal);
  color: var(--chalk);
  border: none;
  padding: 0.92rem 1.6rem;
  font-family: var(--f-body);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s;
  border-radius: 2px;
}
.audit__submit:hover { background: var(--olive); }
.audit__note {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0.5rem 0 0;
  max-width: 56ch;
}
.audit__success {
  grid-column: 2;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  padding: 1.75rem;
  border-radius: 2px;
  margin: 1.5rem 0 0;
  max-width: 620px;
}
.audit__success h3 {
  font-family: var(--f-display);
  font-weight: 500;
  margin: 0 0 0.6rem;
  color: var(--charcoal);
  font-size: 1.2rem;
}
.audit__success p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }
@media (max-width: 720px) {
  .audit__success { grid-column: 1; }
}

/* Make hero__tag work in light paper context (charcoal text) for v4 home */
.hero .hero__tag {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  font-family: var(--f-display);
  max-width: 56ch;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}
.hero .hero__tag--secondary {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
  font-family: var(--f-body);
}

