:root {
  --bg: #fff;
  --ink: #0a0a0a;
  --muted: #5f5f5f;
  --line: #d8d8d8;
  --soft: #f6f6f4;
  --max: 1180px;
  --pad: clamp(22px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Anonymous Pro", "Courier New", monospace;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
p { margin: 0 0 1rem; }
h1,h2,h3 { margin: 0; font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
ul { padding-left: 1.15rem; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; background: #000; color: #fff; padding: 8px 12px; z-index: 100; }
.hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.site-header,
.site-footer,
.section-pad {
  width: min(100%, calc(var(--max) + (var(--pad) * 2)));
  margin-inline: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo { text-decoration: none; font-size: 20px; letter-spacing: -0.03em; white-space: nowrap; }
.logo span { font-weight: 400; }
.logo strong { font-weight: 700; }
nav { display: flex; gap: clamp(16px, 3vw, 34px); font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover, .text-link:hover, .direct-email a:hover { text-decoration: underline; }

.section-pad { padding-top: clamp(72px, 9vw, 124px); padding-bottom: clamp(72px, 9vw, 124px); }
.rule-top { border-top: 1px solid var(--line); }
.section-label { font-size: 13px; text-transform: lowercase; color: var(--muted); letter-spacing: .02em; margin-bottom: 34px; }

.hero { min-height: calc(100svh - 88px); display: flex; align-items: center; }
.hero-inner { max-width: 990px; }
.eyebrow { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.hero h1 { font-size: clamp(58px, 10vw, 132px); max-width: 10ch; }
.hero-copy { margin-top: 36px; font-size: clamp(20px, 2.4vw, 31px); max-width: 27ch; }
.hero-subcopy { color: var(--muted); max-width: 48ch; margin-bottom: 30px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 13px 18px;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  border-radius: 0;
}
.button:hover { background: #fff; color: #000; }

.intro, #services, #why, #process, .questions, .contact-section { display: grid; grid-template-columns: minmax(150px, .45fr) minmax(0, 1.55fr); gap: clamp(28px, 6vw, 90px); }
.intro .section-label, #services > .section-label, #why > .section-label, #process > .section-label, .questions > .section-label, .contact-section > .section-label { margin-bottom: 0; }
.intro-copy { max-width: 850px; }
.intro-copy h2, .why-lead h2, .questions h2, .contact-copy h2 { font-size: clamp(36px, 5.8vw, 76px); margin-bottom: 28px; }
.intro-copy p { max-width: 62ch; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); }
.service { padding: 30px 30px 38px 0; border-bottom: 1px solid var(--line); }
.service:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 38px; }
.service:nth-child(even) { padding-left: 38px; }
.service h2 { font-size: clamp(25px, 3vw, 38px); margin-bottom: 16px; }
.service p, .service li { font-size: 15px; }
.service li { margin: 7px 0; }
.text-link { display: inline-block; margin-top: 8px; font-weight: 700; }

.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 92px); }
.why-lead p { max-width: 46ch; }
.principles { margin: 0; border-top: 1px solid var(--line); }
.principles > div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
dt { font-weight: 700; }
dd { margin: 0; color: var(--muted); }

.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 84px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-list h2 { font-size: clamp(25px, 3vw, 40px); margin-bottom: 8px; }
.process-list p { margin: 0; max-width: 58ch; color: var(--muted); }
.num { font-size: 14px; color: var(--muted); padding-top: 7px; }
.simple-line { grid-column: 2; margin: 28px 0 0; }

.question-list { margin-top: 38px; border-top: 1px solid var(--line); }
.question-list p { margin: 0; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2.5vw, 31px); }
.closing-note { margin-top: 28px; font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px, 7vw, 90px); }
.contact-copy p { max-width: 48ch; }
.direct-email { margin-top: 28px; color: var(--muted); }
.contact-form { display: grid; gap: 9px; }
.contact-form label { margin-top: 13px; font-size: 14px; }
.contact-form label span { color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 12px 2px;
  font: inherit;
  border-radius: 0;
  outline: none;
}
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #000 50%), linear-gradient(135deg, #000 50%, transparent 50%); background-position: calc(100% - 13px) 50%, calc(100% - 8px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.contact-form textarea { border: 1px solid var(--ink); margin-top: 6px; padding: 12px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 3px; }
.submit { justify-self: start; margin-top: 18px; }

.site-footer { border-top: 1px solid var(--line); min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-meta { display: flex; gap: 28px; color: var(--muted); font-size: 13px; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .site-header { min-height: 72px; align-items: flex-start; padding-top: 22px; }
  nav { display: none; }
  .hero { min-height: calc(88svh - 72px); }
  .hero h1 { font-size: clamp(54px, 16vw, 88px); }
  .intro, #services, #why, #process, .questions, .contact-section { grid-template-columns: 1fr; gap: 28px; }
  .section-label { margin-bottom: 0; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(odd), .service:nth-child(even) { padding: 28px 0; border-right: 0; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .principles > div { grid-template-columns: 1fr; gap: 5px; }
  .simple-line { grid-column: 1; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-meta { flex-direction: column; gap: 5px; }
}

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


/* Dark contact section */
.contact-section {
  background: var(--ink);
  color: #fff;
  width: 100%;
  max-width: none;
  padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  border-top-color: var(--ink);
}
.contact-section .section-label,
.contact-section .direct-email,
.contact-section .contact-form label span { color: #bdbdbd; }
.contact-section .contact-form input,
.contact-section .contact-form select,
.contact-section .contact-form textarea {
  color: #fff;
  border-color: #fff;
}
.contact-section .contact-form select {
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
}
.contact-section .contact-form select option { color: #000; background: #fff; }
.contact-section .contact-form input:focus,
.contact-section .contact-form select:focus,
.contact-section .contact-form textarea:focus { outline-color: #fff; }
.contact-section .button { background: #fff; color: #000; border-color: #fff; }
.contact-section .button:hover { background: #000; color: #fff; }


/* Mobile version 2: hero-only home + hamburger navigation */
.menu-toggle,
.mobile-menu,
.mobile-cta { display: none; }

@media (max-width: 820px) {
  body.menu-open { overflow: hidden; }
  .desktop-nav { display: none; }
  .desktop-content { display: none !important; }
  .desktop-cta { display: none; }
  .mobile-cta { display: inline-flex; }

  .site-header {
    min-height: 72px;
    align-items: center;
    padding-top: 0;
    position: relative;
    z-index: 30;
    background: var(--bg);
  }

  .menu-toggle {
    display: inline-flex;
    width: 34px;
    height: 34px;
    padding: 7px 4px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    inset: 72px 0 0;
    z-index: 25;
    background: #fff;
    padding: 26px var(--pad) 40px;
    overflow: auto;
  }
  .mobile-menu.is-open { display: block; }
  .mobile-menu-inner { border-top: 1px solid var(--line); }
  .mobile-menu a {
    display: block;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    font-size: 21px;
    text-decoration: none;
  }

  .hero {
    min-height: calc(100svh - 150px);
    padding-top: 46px;
    padding-bottom: 56px;
    align-items: center;
  }
  .eyebrow { margin-bottom: 32px; }
  .hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .hero-copy { margin-top: 30px; font-size: 20px; }
  .hero-subcopy { max-width: 31ch; margin-bottom: 28px; }

  .site-footer {
    min-height: 78px;
    padding-top: 18px;
    padding-bottom: 18px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
  .site-footer .logo { display: none; }
  .footer-meta {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
    font-size: 11px;
  }
}

/* Simple mobile subpages used by the hamburger menu */
.mobile-page-main { width: min(100%, calc(var(--max) + (var(--pad) * 2))); margin-inline: auto; padding: 64px var(--pad) 90px; }
.mobile-page-label { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.mobile-page-title { font-size: clamp(42px, 11vw, 72px); max-width: 11ch; margin-bottom: 34px; }
.mobile-page-intro { max-width: 46ch; margin-bottom: 42px; color: var(--muted); }
.mobile-page-list { border-top: 1px solid var(--line); }
.mobile-page-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.mobile-page-item h2 { font-size: 26px; margin-bottom: 10px; }
.mobile-page-item p, .mobile-page-item li { font-size: 15px; }
.mobile-page-item ul { margin-bottom: 0; }
.page-back { display: inline-block; margin-top: 36px; font-weight: 700; }

@media (min-width: 821px) {
  .mobile-page-main { max-width: 900px; padding-top: 100px; }
}
