/* Channel Mark Ventures — single-page site */

:root {
  --black: #000;
  --text: #f5f5f3;
  --text-soft: #dcdcd8;
  --text-muted: #a5a5a2;
  --title-accent: #b9c8e2;
  --gold: #f0c72d;
  --gold-hover: #ffd84a;
  --rule: #4a4a4a;
  --field-border: #6a6a67;
  --field-border-hover: #9a9a96;
  --error: #ff9a8b;

  --font: Arial, Helvetica, sans-serif;
  --container: 1180px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --inset: 20px;
  --label-col: 220px;
  --col-gap: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

::selection {
  background: var(--gold);
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--gold);
  color: #000;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 88px;
  padding: 0 var(--inset);
  border-bottom: 1px solid var(--rule);
}

.site-nav {
  display: flex;
  gap: 40px;
  font-size: 16px;
}

.site-nav a {
  color: var(--text);
  padding: 8px 0;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--gold);
}

/* Hero */

.hero {
  padding: 56px var(--inset) 52px;
}

.hero-logo {
  width: min(100%, 520px);
}

.hero-title {
  margin: 40px 0 0;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--title-accent);
}

.text-link {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--gold);
  font-size: 17px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--gold);
}

/* Sections */

.section {
  display: grid;
  grid-template-columns: var(--label-col) minmax(0, 1fr);
  column-gap: var(--col-gap);
  padding: 44px var(--inset);
  border-top: 1px solid var(--rule);
}

.section--compact {
  padding-top: 34px;
  padding-bottom: 34px;
}

.section-label {
  margin: 0;
  padding-top: 3px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section--compact .section-label {
  padding-top: 6px;
}

.prose p {
  max-width: 44em;
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.6;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Items separated by thin vertical rules (focus areas, locations) */

.divided-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.divided-list li {
  padding: 4px 16px;
  border-left: 1px solid var(--rule);
}

.divided-list li:first-child {
  border-left: 0;
}

.focus {
  margin-top: 30px;
  color: var(--text-soft);
  font-size: 15px;
}

.focus li {
  text-align: center;
}

.focus li:first-child {
  padding-left: 0;
  text-align: left;
}

.focus li:last-child {
  padding-right: 0;
  text-align: right;
}

.locations li {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 20px;
  text-align: center;
}

/* Network & execution */

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

.approach-item {
  padding: 0 24px;
  border-left: 1px solid var(--rule);
}

.approach-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.approach-item:last-child {
  padding-right: 0;
}

.approach-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.approach-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

/* Private engagement */

.contact-heading {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.3;
}

.contact-copy {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.6;
}

.contact-context {
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.optional {
  color: var(--text-muted);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: 4px;
  background: var(--black);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #8c8c88;
  opacity: 1;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--field-border-hover);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
  outline: none;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  margin: 6px 0 0;
  color: var(--error);
  font-size: 13px;
}

.field-error:empty {
  display: none;
}

/* Honeypot: hidden from people, visible to naive bots */
.field--trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.button {
  flex: none;
  padding: 14px 28px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold);
  color: #000;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  border-color: var(--gold-hover);
  background: var(--gold-hover);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status--success {
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  color: var(--text);
}

.form-status--error {
  color: var(--error);
}

/* Shown only after a no-JavaScript submission redirects to #inquiry-sent / #inquiry-error */
.form-status--fallback {
  display: none;
}

.form-status--fallback:target {
  display: block;
}

/* Footer */

.site-footer {
  padding: 36px var(--inset) 44px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer .footer-legal {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

/* Tablet: stack section labels above content */

@media (max-width: 900px) {
  .section {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }

  .section-label,
  .section--compact .section-label {
    padding-top: 0;
  }

  .hero {
    padding-top: 48px;
  }
}

/* Mobile */

@media (max-width: 640px) {
  :root {
    --inset: 0px;
  }

  .site-header {
    min-height: 68px;
  }

  .site-nav {
    gap: 26px;
    font-size: 15px;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 40px;
  }

  .hero-title {
    margin-top: 30px;
    font-size: clamp(31px, 9vw, 38px);
  }

  .text-link {
    margin-top: 24px;
  }

  .section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .section-label {
    font-size: 14px;
  }

  .prose p {
    font-size: 17px;
  }

  .focus {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 24px;
  }

  .focus li,
  .focus li:first-child,
  .focus li:last-child {
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
    text-align: left;
  }

  .locations li {
    padding: 4px 8px;
    font-size: 17px;
  }

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

  .approach-item,
  .approach-item:first-child,
  .approach-item:last-child {
    padding: 22px 0 0;
    margin-top: 22px;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .approach-item:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
  }

  .approach-item h3 {
    margin-bottom: 6px;
  }

  .contact-heading {
    font-size: 21px;
  }

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

  .form-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .button {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 359px) {
  .site-nav {
    gap: 18px;
  }

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

  .locations li,
  .locations li:first-child {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
