/* Brayden Partners */
:root {
  --ink: #141414;
  --body: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e2e0dc;
  --bg: #ffffff;
  --stone: #f4f2ee;
  --accent: #b5862b;
  --accent-dark: #8c6619;
  --charcoal: #1c1c1c;
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: var(--font); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Type */
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--body); max-width: 46ch; }
.kicker { display: block; font-size: 14px; font-weight: 600; color: var(--accent-dark); margin-bottom: 20px; letter-spacing: 0.01em; }
.accent { color: var(--accent); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 0;
  font: 600 16px/1 var(--font); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: #c9993b; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--stone); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.more::after { content: "\203A"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.more:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.brand-name b { color: var(--accent); font-weight: 700; }
.brand-sub { font-size: 13px; font-weight: 500; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--line); line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { text-decoration: none; font-size: 16px; font-weight: 500; color: var(--ink); padding: 30px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav-links a:hover { border-bottom-color: var(--line); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .btn { padding: 13px 20px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Sections */
.pad { padding: clamp(56px, 6vw, 96px) 0; }
.pad-sm { padding: clamp(40px, 4.5vw, 64px) 0; }
.stone { background: var(--stone); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(32px, 3.5vw, 52px); }
.head p { margin: 0; color: var(--muted); max-width: 44ch; justify-self: end; font-size: 19px; }
.head-single { max-width: 820px; margin-bottom: clamp(32px, 3.5vw, 52px); }

/* Hero */
.hero { padding: clamp(48px, 6vw, 96px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(52px, 8.4vw, 128px); line-height: 0.98; letter-spacing: -0.045em; margin-bottom: clamp(28px, 3.5vw, 48px); }
.hero-foot { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; padding-top: 32px; border-top: 4px solid var(--accent); max-width: 100%; }
.hero-foot .lead { margin: 0; max-width: 52ch; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 32px 8px 0; border-left: 1px solid var(--line); padding-left: 32px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-size: clamp(44px, 4.6vw, 68px); font-weight: 500; line-height: 1; color: var(--ink); letter-spacing: -0.04em; }
.stat .num .sign { color: var(--accent); }
.stat p { margin: 14px 0 0; font-size: 16px; color: var(--muted); max-width: 22ch; }
.stats-note { margin-top: 40px; font-size: 14px; color: var(--muted); }

/* List rows */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.rule-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rule-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rule-list h3 { margin-bottom: 6px; }
.rule-list p { margin: 0; color: var(--muted); }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare > div { background: #fff; padding: clamp(32px, 4vw, 52px); border-top: 4px solid var(--line); }
.compare .us { border-top-color: var(--accent); }
.compare .label { font-size: 14px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 10px; }
.compare .us .label { color: var(--accent-dark); }
.compare h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 24px; }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 14px 0; border-top: 1px solid var(--line); }
.compare .them li { color: var(--muted); }
.compare .us li { color: var(--ink); }

/* Services cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; text-decoration: none; border-top: 2px solid var(--ink); padding-top: 24px; transition: border-color .2s; }
.card:hover { border-top-color: var(--accent); }
.card .for { font-size: 14px; font-weight: 600; color: var(--accent-dark); margin-bottom: 14px; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.card .more { margin-top: auto; }

/* Feature */
.feature { display: grid; align-items: stretch; background: var(--stone); }
.feature-copy { padding: clamp(40px, 4.5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.feature-copy h2 { margin-bottom: 24px; }
.feature-copy .lead { margin-bottom: 36px; color: var(--body); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px 0; margin-bottom: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-stats b { display: block; font-size: 34px; font-weight: 500; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.mini-stats b .sign { color: var(--accent); }
.mini-stats div > span { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }

/* Columns */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.col { border-top: 1px solid var(--ink); padding-top: 24px; }
.col .for { display: block; font-size: 14px; font-weight: 600; color: var(--accent-dark); margin-bottom: 12px; }
.col h3 { margin-bottom: 12px; }
.col p { color: var(--muted); font-size: 17px; margin: 0; }

/* Quote */
.quote { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); font-weight: 500; max-width: 26ch; margin: 0; }
.quote::before { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); margin-bottom: 32px; }

/* CTA band */
.cta { background: var(--stone); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; }
.cta h2 { max-width: 18ch; }
.cta p { color: var(--body); max-width: 44ch; margin-bottom: 32px; font-size: 19px; }
.cta .btn-light { background: transparent; border-color: var(--ink); color: var(--ink); }
.cta .btn-light:hover { background: var(--ink); color: #fff; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(48px, 5.5vw, 88px) 0 clamp(36px, 4vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.04em; max-width: 18ch; margin-bottom: 28px; }
.page-hero .lead { max-width: 56ch; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* Prose */
.prose p { font-size: 19px; line-height: 1.7; }
.prose p.big { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.35; color: var(--ink); font-weight: 500; letter-spacing: -0.015em; }

/* Service detail */
.svc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); padding: clamp(48px, 5vw, 80px) 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.svc:first-child { border-top: 0; }
.svc .for { font-size: 14px; font-weight: 600; color: var(--accent-dark); display: block; margin-bottom: 16px; }
.svc h2 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 20px; }
.svc .desc { color: var(--body); font-size: 19px; max-width: 42ch; }
.list-head { font-size: 14px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 4px; }
.checks { list-style: none; margin: 0 0 32px; padding: 0; }
.checks li { padding: 16px 0 16px 32px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.outcome { border-left: 4px solid var(--accent); background: var(--stone); padding: 24px 28px; }
.outcome span { display: block; font-size: 14px; font-weight: 600; color: var(--accent-dark); margin-bottom: 6px; }
.outcome p { margin: 0; font-size: 20px; line-height: 1.4; color: var(--ink); font-weight: 500; }

/* Case studies */
.case { padding: clamp(48px, 5vw, 80px) 0; border-top: 1px solid var(--line); }
.case:first-child { border-top: 0; }
.case-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; margin-bottom: 32px; }
.case-top h2 { font-size: clamp(30px, 3.2vw, 44px); }
.case-top .ctx { color: var(--body); font-size: 19px; margin: 0; }
.case-tags { font-size: 14px; font-weight: 600; color: var(--accent-dark); margin-bottom: 16px; display: block; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.metrics > div { padding: 32px 32px 32px 0; }
.metrics > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.metrics b { font-size: clamp(38px, 4vw, 56px); font-weight: 500; color: var(--ink); display: block; line-height: 1; letter-spacing: -0.04em; }
.metrics b .sign { color: var(--accent); }
.metrics b.word { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; line-height: 1.1; }
.metrics > div > span { display: block; margin-top: 12px; color: var(--muted); font-size: 16px; }
.case-body { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 36px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba > div { padding: 32px; background: var(--stone); }
.ba .after { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.ba .before { border-top: 4px solid var(--line); }
.ba h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--muted); }
.ba .after h4 { color: var(--accent-dark); }
.ba ul { list-style: none; margin: 0; padding: 0; }
.ba li { padding: 8px 0; font-size: 17px; }
.ba .before li { color: var(--muted); }
.ba .after li { color: var(--ink); }

/* Contact */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.routes a { text-decoration: none; border-top: 2px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s; }
.routes a:hover { border-top-color: var(--accent); }
.routes h3 { font-size: 23px; }
.routes p { color: var(--muted); margin: 0 0 8px; font-size: 17px; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); }
.form { background: var(--stone); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: 17px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1px solid #cfccc6; border-radius: 0; padding: 14px 16px; width: 100%;
  -webkit-appearance: none; appearance: none; transition: border-color .2s;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.form .btn { justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 15px; color: var(--muted); margin: 0; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 21px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 17px; }
.address { margin-top: 40px; font-size: 17px; color: var(--body); font-style: normal; line-height: 1.7; }
.address a { color: var(--ink); font-weight: 600; }

/* Footer */
.site-footer { background: var(--charcoal); color: #b9b6b0; padding: clamp(48px, 5vw, 72px) 0 32px; font-size: 16px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer .brand-sub { color: #b9b6b0; border-left-color: rgba(255,255,255,.2); }
.foot-tag { color: #fff; font-size: 20px; line-height: 1.4; max-width: 26ch; margin: 0; font-weight: 500; letter-spacing: -0.01em; }
.site-footer h4 { font-size: 15px; color: #fff; font-weight: 600; margin-bottom: 18px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1100px) {
  .cards, .cols-4 { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 28px; }
}
@media (max-width: 960px) {
  .nav-links, .nav > .btn, .brand-sub { display: none; }
  .menu-btn { display: block; }
  .mobile-menu { display: block; position: fixed; inset: 84px 0 0; background: #fff; padding: 24px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 49; overflow-y: auto; }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .mobile-menu ul { list-style: none; margin: 0 0 32px; padding: 0; }
  .mobile-menu li a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
  .hero, .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px var(--gutter); }
  .hero-media { min-height: 320px; order: 2; }
  .feature, .split, .contact-grid, .case-top, .case-body, .svc, .head { grid-template-columns: 1fr; }
  .head p { justify-self: start; }
  .feature-media { min-height: 320px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .compare, .cols, .routes { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .cards, .cols-4, .ba, .foot-top, .form, .metrics, .mini-stats { grid-template-columns: 1fr; }
  .metrics > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .mini-stats { gap: 20px; }
  .stat { padding-left: 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .btn-row .btn { width: 100%; justify-content: center; }
}

/* Feature panel */
.feature { grid-template-columns: 1.1fr 0.9fr; }
.feature-panel { background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 4.5vw, 72px); }
.feature-panel .big { font-size: clamp(64px, 8vw, 128px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; color: var(--ink); }
.feature-panel .big .sign { color: var(--accent); }
.feature-panel p { margin: 24px 0 0; color: var(--muted); font-size: 18px; max-width: 34ch; }

/* Brand mark */
.brand-mark { width: 22px; height: 28px; color: var(--ink); flex: none; margin-right: -4px; }
.site-footer .brand-mark { color: #fff; }

/* Engagement process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.process li { padding: 28px 28px 8px 0; position: relative; }
.process li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.process .n { display: inline-flex; width: 36px; height: 36px; border: 1.5px solid var(--accent); color: var(--accent-dark); font-weight: 600; font-size: 15px; align-items: center; justify-content: center; margin-bottom: 24px; }
.process h3 { margin-bottom: 10px; }
.process p { color: var(--muted); font-size: 17px; margin: 0; }

/* Legal text */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; letter-spacing: -0.015em; margin: 48px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--body); }
.legal a, .form-note a { color: var(--ink); text-underline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.foot-bottom a { color: #b9b6b0; }

@media (max-width: 960px) {
  .feature, .cta-grid, .hero-foot { grid-template-columns: 1fr; }
  .feature-panel { border-left: 0; border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(3) { border-left: 0; padding-left: 0; }
  .process li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding-left: 0; border-left: 0; }
  .process li + li { border-top: 1px solid var(--line); margin-top: 20px; }
}
