@font-face {
  font-family: "Josefin Sans";
  src: url("/fonts/JosefinSans-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --black: #000000;
  --ink: #151515;
  --white: #ffffff;
  --yellow: #ecbc20;
  --yellow-soft: #f9e9b1;
  --gray-100: #f2f2f2;
  --gray-300: #c7c7c7;
  --gray-600: #626262;
  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(5.5rem, 10vw, 9rem);
  --font-display: "Josefin Sans", Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--yellow);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.identity-name,
.eyebrow,
.button,
.footer-name,
.legal-section h2 {
  font-family: var(--font-display);
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.04;
}

h1 {
  max-width: 16ch;
  margin-bottom: 2rem;
  font-size: clamp(3.2rem, 7.4vw, 6.7rem);
}

h2 {
  max-width: 15ch;
  margin-bottom: 1.6rem;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
}

.shell {
  width: min(100%, calc(var(--shell) + (var(--gutter) * 2)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  min-height: 5.6rem;
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto auto;
  gap: 2rem;
  align-items: center;
}

.identity {
  min-height: 2.75rem;
  display: inline-flex;
  width: fit-content;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
}

.identity-name {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  line-height: 1;
}

.identity-role {
  padding-left: 1rem;
  border-left: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.primary-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  padding-inline: 0.1rem;
  align-items: center;
  text-decoration: none;
}

.primary-nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.2rem;
  text-underline-offset: 0.35rem;
}

.button {
  min-height: 3.6rem;
  display: inline-flex;
  width: fit-content;
  padding: 0.95rem 1.25rem;
  border: 2px solid var(--ink);
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-arrow {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 0;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.button-yellow {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

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

.button-small {
  min-height: 3rem;
  padding: 0.78rem 1rem;
  gap: 0.8rem;
  font-size: 0.72rem;
}

.hero {
  min-height: calc(100vh - 5.6rem);
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  align-items: stretch;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(18rem, 0.72fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.hero-copy {
  padding-block: clamp(5rem, 10vh, 8rem);
}

.eyebrow {
  margin-bottom: 1.2rem;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 0.22rem;
  display: inline-block;
  margin-right: 0.8rem;
  vertical-align: 0.18rem;
  background: var(--yellow);
}

.eyebrow-yellow {
  color: var(--yellow);
}

.eyebrow-yellow::before {
  background: var(--yellow);
}

.hero-lead {
  max-width: 50rem;
  margin-bottom: 1.35rem;
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.55;
}

.hero-secondary {
  max-width: 47rem;
  margin-bottom: 2.2rem;
  color: var(--gray-600);
  font-size: 1.02rem;
}

.supporting-line {
  max-width: 46rem;
  margin: 2.4rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-size: 0.9rem;
}

.hero-field {
  position: relative;
  min-height: 70%;
  align-self: stretch;
  border-inline: 1px solid var(--ink);
  background-image:
    linear-gradient(to right, transparent 49.7%, rgba(21, 21, 21, 0.12) 50%, transparent 50.3%),
    linear-gradient(to bottom, transparent 49.7%, rgba(21, 21, 21, 0.12) 50%, transparent 50.3%);
  background-size: 4rem 4rem;
}

.hero-field-block {
  position: absolute;
  inset: 18% 16% 26% 20%;
  background: var(--yellow);
}

.hero-field-line {
  position: absolute;
  z-index: 2;
  height: 2px;
  background: var(--ink);
  transform-origin: left center;
}

.hero-field-line-one {
  width: 74%;
  top: 31%;
  left: 4%;
  transform: rotate(34deg);
}

.hero-field-line-two {
  width: 65%;
  right: -9%;
  bottom: 25%;
  transform: rotate(-41deg);
}

.hero-field-line-three {
  width: 55%;
  top: 63%;
  left: 24%;
}

.hero-field-node {
  position: absolute;
  z-index: 3;
  width: 1.25rem;
  height: 1.25rem;
  border: 0.28rem solid var(--yellow);
  border-radius: 50%;
  background: var(--ink);
}

.hero-field-node-one {
  top: 25%;
  left: 18%;
}

.hero-field-node-two {
  right: 14%;
  bottom: 18%;
}

.dark-section,
.sprint-section,
.site-footer {
  background: var(--ink);
  color: var(--white);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
}

.section-intro {
  max-width: 44rem;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
}

.dark-muted {
  color: #dddddd;
}

.situation-grid {
  display: grid;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
  border-top: 1px solid #505050;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}

.situation-grid li {
  min-height: 10.5rem;
  display: grid;
  padding: 2rem;
  border-bottom: 1px solid #505050;
  gap: 1.25rem;
  grid-template-columns: auto 1fr;
  align-items: start;
  font-size: 1.06rem;
}

.situation-grid li:nth-child(odd) {
  border-right: 1px solid #505050;
}

.situation-marker,
.deliverable-mark {
  width: 0.68rem;
  height: 0.68rem;
  display: block;
  margin-top: 0.45rem;
  background: var(--yellow);
}

.experience-section {
  border-bottom: 1px solid var(--ink);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3.5rem, 9vw, 9rem);
  align-items: start;
}

.experience-heading {
  position: sticky;
  top: 9rem;
}

.experience-accent {
  width: 7rem;
  height: 7rem;
  margin-top: 3rem;
  border: 1px solid var(--ink);
  background: linear-gradient(135deg, var(--yellow) 0 50%, transparent 50% 100%);
}

.prose-stack p {
  margin-bottom: 1.5rem;
  font-size: 1.04rem;
}

.lead-paragraph {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem) !important;
  line-height: 1.5;
}

.closing-paragraph {
  margin-top: 2.4rem;
  padding: 2rem 0 0 2rem;
  border-top: 1px solid var(--ink);
  border-left: 0.65rem solid var(--yellow);
  font-weight: 700;
}

.yellow-section {
  border-bottom: 1px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
}

.yellow-section .eyebrow::before {
  background: var(--ink);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.approach-copy {
  padding-top: 2.35rem;
}

.approach-copy p {
  font-size: 1.1rem;
}

.sprint-section {
  overflow: hidden;
}

.sprint-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: start;
}

.sprint-heading h2 {
  max-width: 12ch;
}

.sprint-price {
  min-width: 18rem;
  display: flex;
  padding: 1.8rem 2rem;
  background: var(--yellow);
  color: var(--ink);
  flex-direction: column;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sprint-price strong {
  margin-block: 0.3rem;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: 0;
  line-height: 1;
}

.sprint-price span {
  font-size: 0.74rem;
  font-weight: 650;
}

.sprint-intro {
  max-width: 55rem;
  margin-top: 2.5rem;
  color: #e2e2e2;
}

.sprint-intro .lead-paragraph {
  color: var(--white);
}

.deliverables-block {
  margin-top: 4.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid #505050;
}

.deliverables-label {
  margin-bottom: 1.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.deliverables-grid {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1px;
  grid-template-columns: 1fr 1fr;
  background: #505050;
  list-style: none;
}

.deliverables-grid li {
  min-height: 10rem;
  display: grid;
  padding: 2rem;
  background: var(--ink);
  gap: 1.1rem;
  grid-template-columns: auto 1fr;
  align-items: start;
}

.sprint-bottom {
  display: grid;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #505050;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.sprint-bottom p {
  max-width: 52rem;
  margin: 0;
  color: #d8d8d8;
}

.inquiry-section {
  border-bottom: 1px solid var(--ink);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(19rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.inquiry-heading {
  position: sticky;
  top: 9rem;
}

.inquiry-heading h2 {
  max-width: 12ch;
}

.inquiry-heading > p:last-child {
  max-width: 33rem;
  color: var(--gray-600);
}

.inquiry-form {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--ink);
  background: var(--white);
}

.form-row-two {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}

.field {
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.81rem;
  font-weight: 650;
  letter-spacing: 0.055em;
}

.optional-label {
  margin-left: 0.4rem;
  color: var(--gray-600);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}

.field input {
  min-height: 3.35rem;
  padding: 0.75rem 0.9rem;
}

.field textarea {
  min-height: 10rem;
  padding: 0.9rem;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-width: 2px;
  border-color: #a52714;
}

.field-help,
.field-error,
.form-notice {
  font-size: 0.79rem;
  line-height: 1.45;
}

.field-help {
  margin: -0.15rem 0 0.65rem;
  color: var(--gray-600);
}

.field-error {
  display: block;
  margin-top: 0.4rem;
  color: #891a0d;
  font-weight: 700;
}

.form-notice {
  margin: 0.4rem 0 1.5rem;
  color: var(--gray-600);
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 0;
  margin-top: 1rem;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status:not(:empty) {
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border-left: 0.4rem solid var(--ink);
  background: var(--gray-100);
}

.form-status-success:not(:empty) {
  border-color: var(--yellow);
}

.form-status-error:not(:empty) {
  border-color: #a52714;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-footer {
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr auto;
  gap: 3rem;
  align-items: start;
}

.footer-name {
  margin-bottom: 0.6rem;
  font-size: 1.65rem;
  font-weight: 650;
}

.footer-role,
.footer-location {
  color: #cecece;
  font-size: 0.88rem;
}

.footer-location {
  margin-top: 1.5rem;
}

.footer-practice {
  padding-top: 0.25rem;
}

.footer-logo {
  width: min(100%, 17rem);
  height: auto;
}

.footer-links {
  display: flex;
  gap: 0.85rem;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.footer-legal {
  display: flex;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #505050;
  color: #a9a9a9;
  gap: 2rem;
  justify-content: space-between;
  font-size: 0.75rem;
}

.legal-header {
  border-bottom: 1px solid var(--ink);
}

.legal-header .header-inner {
  grid-template-columns: 1fr auto;
}

.legal-main {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.legal-title-block {
  padding-bottom: 2.5rem;
  border-bottom: 0.7rem solid var(--yellow);
}

.legal-title-block h1 {
  max-width: none;
  margin-bottom: 0.8rem;
  font-size: clamp(2.9rem, 7vw, 5.6rem);
}

.effective-date {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 52rem;
  margin-top: 3.5rem;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.legal-section p,
.legal-section li {
  font-size: 0.98rem;
}

.legal-section ul {
  padding-left: 1.2rem;
}

.legal-section li {
  margin-bottom: 0.45rem;
}

.legal-contact {
  padding: 1.5rem;
  border-left: 0.6rem solid var(--yellow);
  background: var(--gray-100);
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.45fr);
    gap: 3rem;
  }

  .experience-grid,
  .inquiry-grid {
    gap: 4rem;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 5.25rem;
  }

  html {
    scroll-padding-top: 4.9rem;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 4.9rem;
    gap: 1rem;
  }

  .identity-role {
    display: none;
  }

  .identity-name {
    font-size: 1.14rem;
  }

  .header-cta {
    min-height: 2.75rem;
    padding-inline: 0.8rem;
    font-size: 0.64rem;
  }

  .header-cta .button-arrow {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-heading,
  .experience-grid,
  .approach-grid,
  .sprint-top,
  .sprint-bottom,
  .inquiry-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 0;
  }

  .hero-copy {
    padding-block: 4.5rem 3.5rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .hero-field {
    min-height: 17rem;
    margin-inline: calc(var(--gutter) * -1);
    border-top: 1px solid var(--ink);
    border-inline: 0;
  }

  .split-heading,
  .approach-grid {
    gap: 1.5rem;
  }

  .situation-grid,
  .deliverables-grid,
  .form-row-two {
    grid-template-columns: 1fr;
  }

  .situation-grid li:nth-child(odd) {
    border-right: 0;
  }

  .situation-grid li,
  .deliverables-grid li {
    min-height: auto;
    padding: 1.5rem 0.25rem;
  }

  .experience-grid,
  .inquiry-grid {
    gap: 3rem;
  }

  .experience-heading,
  .inquiry-heading {
    position: static;
  }

  .experience-accent {
    width: 5rem;
    height: 5rem;
    margin-top: 2rem;
  }

  .approach-copy {
    padding-top: 0;
  }

  .sprint-price {
    min-width: 0;
  }

  .sprint-bottom {
    gap: 2rem;
    align-items: start;
  }

  .inquiry-form {
    padding: 1.25rem;
  }

  .footer-grid {
    gap: 2.5rem;
  }

  .footer-legal {
    gap: 0.8rem;
    flex-direction: column;
  }

  .legal-header .header-inner {
    grid-template-columns: 1fr auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .skip-link,
  .button,
  .inquiry-form {
    display: none !important;
  }

  body,
  .dark-section,
  .sprint-section,
  .site-footer {
    background: var(--white) !important;
    color: var(--black) !important;
  }
}
