:root {
  --paper: #f7f2e8;
  --paper-deep: #eee3d2;
  --white: #fffdf8;
  --ink: #171a17;
  --muted: #5f665f;
  --green: #10251f;
  --green-soft: #234137;
  --brass: #9b6f2d;
  --rust: #8e4b38;
  --line: rgba(23, 26, 23, 0.16);
  --line-light: rgba(255, 253, 248, 0.22);
  --max: 1120px;
  --header-offset: 6rem;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
.serif {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  margin-bottom: 1.25rem;
  max-width: 14ch;
  font-size: 62px;
}

h2 {
  margin-bottom: 1rem;
  max-width: 15ch;
  font-size: 40px;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 24px;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.7rem;
  color: var(--brass);
  font-size: 14px;
  font-weight: 700;
}

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.btn:hover {
  background: rgba(16, 37, 31, 0.06);
}

.button.primary,
.btn-gold,
.btn-primary {
  background: var(--green);
  color: var(--white);
}

.button.primary:hover,
.btn-gold:hover,
.btn-primary:hover {
  background: #061511;
}

.button.secondary,
.btn-secondary {
  background: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 37, 31, 0.97);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 253, 248, 0.12);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.68);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-weight: 700;
  line-height: 1.1;
}

.brand-copy small {
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--white);
}

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-grid {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 4rem;
  align-items: end;
  padding: 5.8rem 0 4.2rem;
}

.hero-copy {
  max-width: 760px;
}

.lede {
  max-width: 42rem;
  color: #2d332e;
  font-size: 22px;
  line-height: 1.45;
}

.location-line {
  margin-top: 1.2rem;
  color: var(--green);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-note {
  margin-bottom: 0.4rem;
  padding: 1rem 0 0 1rem;
  border-left: 1px solid var(--rust);
  color: var(--muted);
}

.section {
  padding: 4.25rem 0;
}

.problem-section,
.pricing-section,
.contact-band {
  border-bottom: 1px solid var(--line);
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 4rem;
  align-items: end;
}

.problem-lines p {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 36px;
  line-height: 1.18;
}

.problem-lines p + p {
  margin-top: 0.55rem;
}

.problem-close {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.problem-close p {
  margin: 0;
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
}

.founder-section {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.founder-layout {
  display: grid;
  grid-template-columns: 0.8fr 260px 1fr;
  gap: 2.25rem;
  align-items: center;
}

.founder-copy p {
  max-width: 32rem;
  color: #2f352f;
}

.founder-photo {
  margin: 0;
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(16, 37, 31, 0.22);
}

.founder-photo figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.founder-marker {
  padding: 1.2rem;
  border: 1px solid rgba(16, 37, 31, 0.28);
  background: var(--paper);
}

.founder-marker strong,
.founder-marker span {
  display: block;
}

.founder-marker strong {
  margin-bottom: 0.75rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
  line-height: 1.1;
}

.founder-marker span {
  color: var(--muted);
}

.founder-marker span + span {
  margin-top: 0.45rem;
}

.offer-layout,
.pricing-layout,
.examples-layout,
.fit-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 4rem;
}

.offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.offer-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.offer-list strong {
  color: var(--green);
  font-weight: 700;
}

.offer-list span {
  color: var(--muted);
}

.pricing-section {
  background: var(--green);
  color: var(--white);
}

.pricing-section .eyebrow,
.pricing-section h2,
.pricing-section h3 {
  color: var(--white);
}

.pricing-intro p {
  color: rgba(255, 253, 248, 0.78);
}

.price-list {
  border-top: 1px solid var(--line-light);
}

.price-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line-light);
}

.price-list h3 {
  margin-bottom: 0.25rem;
  font-size: 25px;
}

.price-list p {
  max-width: 34rem;
  color: rgba(255, 253, 248, 0.72);
}

.price-list strong {
  color: #e2c48b;
  font-size: 18px;
  white-space: nowrap;
}

.pricing-note {
  grid-column: 2;
  margin-top: 1.4rem;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.95rem;
}

.examples-layout {
  grid-template-areas:
    "copy list"
    "strip strip";
}

.examples-copy {
  grid-area: copy;
}

.examples-copy p:not(.eyebrow),
.fit-layout p,
.contact-copy > p {
  color: var(--muted);
}

.example-list {
  grid-area: list;
  align-self: end;
  border-top: 1px solid var(--line);
}

.example-list p {
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.example-list strong {
  color: var(--green);
}

.mockup-strip {
  grid-area: strip;
  display: grid;
  grid-template-columns: 1fr 0.82fr 1.08fr;
  gap: 1rem;
  margin-top: 2.4rem;
  align-items: end;
}

.mockup-strip figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.mockup-strip picture {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.mockup-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-strip figcaption {
  padding: 0.55rem 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.fit-section {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.not-for {
  align-self: end;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.not-for p {
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.not-for p + p {
  margin-top: 0.55rem;
}

.contact-band {
  padding: 4.25rem 0;
  background: var(--paper);
}

.contact-copy h2 {
  max-width: 16ch;
}

.reassurance {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.reassurance p {
  margin-bottom: 0.35rem;
  color: var(--green);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-form label {
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(23, 26, 23, 0.32);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  width: min(720px, calc(100% - 40px));
  margin: 2rem auto;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--rust);
  background: var(--white);
}

.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--green);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--white);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  text-decoration: none;
}

.footer-grid h3 {
  margin-bottom: 0.7rem;
  color: #e2c48b;
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a,
.fineprint {
  color: rgba(255, 253, 248, 0.72);
}

.footer-grid a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.footer-grid a:hover,
.fineprint a:hover {
  color: var(--white);
}

.fineprint {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  font-size: 0.92rem;
}

.project-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 5.5rem 0 3rem;
}

.project-hero h1 {
  max-width: 12ch;
  font-size: 52px;
}

.project-copy {
  max-width: 42rem;
}

.project-copy p,
.policy-card p,
.policy-card li,
.policy-card address,
.privacy-summary p,
.project-list span,
.service p,
.process p {
  color: var(--muted);
}

.privacy-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.privacy-summary article,
.policy-card {
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.privacy-summary strong {
  display: block;
  margin-bottom: 0.35rem;
}

.privacy-section {
  padding-top: 1rem;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.policy-links a {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.policy-card.full {
  grid-column: 1 / -1;
}

.policy-card h2 {
  font-size: 30px;
}

.policy-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.policy-card li + li {
  margin-top: 0.45rem;
}

.policy-card address {
  font-style: normal;
}

.policy-meta {
  font-size: 0.92rem;
}

.project-list {
  display: grid;
  gap: 0.8rem;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 4rem;
  padding: 0;
  list-style: none;
}

.project-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
}

.project-login {
  width: min(560px, calc(100% - 40px));
  margin: 0 auto 5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: end;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 2rem;
}

.section-heading h2 {
  max-width: 18ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  min-height: 240px;
  padding: 1.15rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-number {
  display: block;
  margin-bottom: 2rem;
  color: var(--brass);
  font-weight: 700;
}

@media (max-width: 980px) {
  :root {
    --header-offset: 8.5rem;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .nav-shell {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0.85rem 0;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }

  .hero-grid,
  .problem-layout,
  .founder-layout,
  .offer-layout,
  .pricing-layout,
  .examples-layout,
  .fit-layout,
  .contact-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 2rem;
    padding: 5rem 0 4rem;
  }

  .pricing-note {
    grid-column: auto;
  }

  .examples-layout {
    grid-template-areas:
      "copy"
      "list"
      "strip";
  }

  .mockup-strip {
    grid-template-columns: 1fr 1fr;
  }

  .mockup-strip figure:last-child {
    grid-column: 1 / -1;
  }

  .privacy-summary,
  .service-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 10rem;
  }

  body {
    font-size: 16px;
  }

  .wrap,
  .project-hero,
  .project-list,
  .project-login,
  .section-heading,
  .service-grid {
    width: min(100% - 28px, var(--max));
  }

  h1,
  .project-hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .brand-copy small {
    display: none;
  }

  .main-nav {
    gap: 0.6rem 0.85rem;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .section,
  .contact-band {
    padding: 3.5rem 0;
  }

  .problem-lines p {
    font-size: 28px;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .offer-list li,
  .price-list article,
  .project-list a {
    grid-template-columns: 1fr;
  }

  .price-list strong {
    white-space: normal;
  }

  .mockup-strip,
  .privacy-summary,
  .policy-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mockup-strip figure:last-child {
    grid-column: auto;
  }

  .fineprint {
    display: grid;
  }
}