/* Unbroken Dog Ventures — styles
   Edit the colors and fonts in :root; everything else follows. */

:root {
  --bg: #1f2428;
  --surface: #262c31;
  --surface-2: #2d343a;
  --line: #3a434a;
  --text: #e9ecee;
  --muted: #a8b1b8;
  --accent: #e08a45;
  --accent-hover: #ec9a58;
  --accent-ink: #1a1d20;
  --radius: 4px;
  --maxw: 1120px;
  --font-head: "Barlow Semi Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }

/* Type */
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: 0.005em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem; font-weight: 600; color: var(--accent); margin: 0 0 1.1rem; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.lead { font-size: 1.2rem; color: #d3d9dd; max-width: 40rem; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(31, 36, 40, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .nav-cta { background: var(--accent); color: var(--accent-ink); padding: 8px 16px; border-radius: var(--radius); border: 0; }
.nav .nav-cta:hover { background: var(--accent-hover); color: var(--accent-ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }

/* Sections */
section { padding: 88px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 42rem; margin-bottom: 44px; }

/* Hero */
.hero { padding: 96px 0 88px; background: radial-gradient(900px 420px at 88% -8%, rgba(224, 138, 69, 0.13), transparent 70%); border-top: 4px solid var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.02rem; padding: 14px 26px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--accent); cursor: pointer; transition: background 0.15s, color 0.15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.glance { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 28px; }
.glance h2 { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.glance dl { margin: 0; }
.glance div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.glance div:first-of-type { border-top: 0; padding-top: 0; }
.glance dt { color: var(--muted); }
.glance dd { margin: 0; text-align: right; font-weight: 500; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.section-alt .card { background: var(--bg); }
.card .num { font-family: var(--font-head); color: var(--accent); font-weight: 600; letter-spacing: 0.12em; font-size: 0.95rem; display: block; margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; color: #cdd3d8; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 18px; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-head); color: var(--accent); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 10px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.steps p { color: #cdd3d8; font-size: 0.98rem; margin: 0; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Criteria tiles */
.tile { border-left: 3px solid var(--accent); padding: 6px 0 6px 20px; }
.tile .label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; color: var(--muted); margin: 0 0 6px; }
.tile .value { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; line-height: 1.25; margin: 0; }

.mt-lg { margin-top: 56px; }

/* Two-column text */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }

/* About */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.profile img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.role { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); font-size: 0.9rem; font-weight: 600; margin: -0.2rem 0 1.2rem; }
.cred h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 14px; }
.cred ul { list-style: none; margin: 0; padding: 0; }
.cred li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.cred li small { display: block; color: var(--muted); font-size: 0.88rem; }
.values { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.values li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-family: var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.92rem; color: #d3d9dd; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: #cdd3d8; max-width: 44rem; }

/* Contact + form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-links { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-links li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 16px; }
.contact-links li:last-child { border-bottom: 1px solid var(--line); }
.contact-links span { color: var(--muted); min-width: 84px; font-size: 0.95rem; }
form.contact { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 30px; }
.section-alt form.contact { background: var(--bg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; color: #d3d9dd; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font: inherit; font-size: 1rem; }
.section-alt .field input, .section-alt .field textarea { background: var(--surface); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid rgba(224, 138, 69, 0.35); outline-offset: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); font-size: 0.97rem; display: none; }
.form-status.ok { display: block; background: rgba(110, 190, 130, 0.12); border: 1px solid rgba(110, 190, 130, 0.5); }
.form-status.err { display: block; background: rgba(224, 100, 80, 0.12); border: 1px solid rgba(224, 100, 80, 0.5); }

/* CTA band */
.cta-band { text-align: left; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.page-hero { padding: 80px 0 56px; border-top: 4px solid var(--accent); background: radial-gradient(800px 360px at 90% -10%, rgba(224, 138, 69, 0.11), transparent 70%); }
.page-hero h1 { margin-bottom: 0.4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--muted); font-size: 0.93rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.site-footer img { height: 34px; width: auto; margin-bottom: 14px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid, .profile { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .profile img { max-width: 340px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 14px; text-align: center; border: 0; }
  .grid-2, .grid-4, .steps { grid-template-columns: 1fr; }
  .glance div { flex-direction: column; gap: 2px; }
  .glance dd { text-align: left; }
  form.contact { padding: 22px; }
  .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
