@font-face { font-family: "DM Sans"; src: url("/fonts/dmsans-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrumentserif-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrumentserif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  --paper: #fbf9f1;
  --plum: #36283b;
  --body: #48434a;
  --teal: #165f58;
  --line: #dcd9ce;
  --serif: "Instrument Serif", Georgia, serif;
  color: var(--plum);
  background: var(--paper);
  font-family: "DM Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
p { color: var(--body); font-size: 1.04rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #b74f22; outline-offset: 4px; }
.wrap { width: min(82rem, 88%); margin-inline: auto; }
.skip { position: fixed; top: -8rem; left: 1rem; z-index: 10; padding: 1rem; background: white; }
.skip:focus { top: .5rem; }
.masthead { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { flex: 0 0 auto; }
.brand img { width: 8.7rem; height: auto; }
nav { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 3rem); }
nav a { padding-block: .7rem; text-decoration: none; font-weight: 560; font-size: .96rem; }
nav a:hover, footer a:hover { text-decoration: underline; }
nav .nav-contact { padding: .64rem 1.15rem; border: 1px solid #aac0b3; color: var(--teal); border-radius: 3rem; }
h1 { font-size: clamp(5rem, 7.7vw, 7.15rem); line-height: .93; letter-spacing: -.043em; }
h1 em, h2 em { font-weight: 400; color: var(--teal); }
h2 { font-size: clamp(3.1rem, 4.6vw, 4.65rem); line-height: 1.04; letter-spacing: -.038em; }
h3 { font-size: clamp(1.8rem, 2.3vw, 2.4rem); line-height: 1.13; letter-spacing: -.026em; }
.hero { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(2.5rem, 5vw, 6rem); padding-block: clamp(3.3rem, 4.8vw, 5.4rem); }
.hero-copy { max-width: 38rem; }
.kicker { display: flex; align-items: center; gap: .7rem; font-weight: 650; color: var(--teal); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; line-height: 1.4; margin-bottom: 1.25rem; }
.rule { width: 1.9rem; height: 2px; background-color: #dd9f61; }
.intro { max-width: 35rem; }
h1 + .intro { margin-top: 1.45rem; }
.intro + .intro { margin-top: .65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .78rem 1.55rem; border: 1px solid var(--teal); border-radius: 4rem; background: var(--teal); color: white; font: 600 .96rem/1.4 "DM Sans", sans-serif; text-decoration: none; cursor: pointer; }
.hero .button { margin-top: 1.55rem; }
.button:hover { background: #0f4845; }
.button:disabled { opacity: .65; cursor: wait; }
.hero-art { position: relative; isolation: isolate; width: 100%; padding: 0 .65rem .65rem 0; }
.hero-art::before { content: ""; position: absolute; z-index: -1; inset: .65rem 0 0 .65rem; border: 1px solid #a8ad91; border-radius: .3rem 5.8rem .3rem 5.8rem; }
.hero-art img { width: 100%; aspect-ratio: 1.23; height: auto; object-fit: cover; object-position: 49% 50%; border-radius: .3rem 5.8rem .3rem 5.8rem; }
.services { padding: clamp(2.8rem, 4.8vw, 5rem) 0; background: #f1f0e5; border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.1rem; }
.service-grid article { padding-right: clamp(1rem, 3vw, 3.5rem); }
.service-grid article + article { border-left: 1px solid #d1d1c2; padding-left: clamp(1.3rem, 3vw, 3.5rem); }
.service-grid article:last-child { padding-right: 0; }
.icon { width: 3rem; height: 3rem; display: grid; place-items: center; margin-bottom: 1.15rem; border-radius: 45% 50% 44% 36%; }
.icon svg { width: 1.76rem; height: 1.76rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.icon-consult { background: #d5e7da; color: #255f55; }
.icon-build { background: #f1d9cf; color: #90492e; }
.icon-analyze { background: #eee0b9; color: #72561d; }
.service-grid p { font-size: 1rem; margin-top: .75rem; }
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 9rem); align-items: center; padding: clamp(4rem, 7vw, 7rem) clamp(0rem, 3vw, 3rem); }
.portrait { width: 100%; height: auto; max-width: 25rem; border-radius: 5rem .4rem 5rem .4rem; justify-self: center; }
.founder-copy { max-width: 35rem; }
.founder-copy p { margin-top: 1rem; }
.founder-copy .lede { color: var(--plum); font-family: var(--serif); font-size: 1.85rem; line-height: 1.24; margin-top: 1.2rem; }
.text-link { display: inline-block; font-weight: 600; color: var(--teal); text-decoration-thickness: 1px; }
.founder .text-link, .contact .text-link { margin-top: 1.25rem; }
.contact { padding-block: clamp(3.5rem, 5.9vw, 6.6rem); border-block: 1px solid #ccd8c8; background: #e9eee3; }
.contact-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.contact-grid > div > p { max-width: 24rem; margin-top: 1.25rem; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .42rem; color: var(--plum); font-weight: 600; font-size: .94rem; }
label small { font-size: .88rem; font-weight: 400; }
input, select, textarea { width: 100%; min-width: 0; padding: .75rem .85rem; border: 1px solid #929e8e; border-radius: .4rem; background: #fffef9; color: var(--plum); font: 400 1rem/1.4 "DM Sans", sans-serif; }
textarea { resize: vertical; min-height: 7rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form .button { justify-self: start; }
#challenge:empty, #form-status:empty { display: none; }
#form-status { font-size: 1rem; color: #5a313c; line-height: 1.5; }
#form-status.success { color: #114e41; font-weight: 600; }
footer { display: flex; align-items: center; gap: .65rem; min-height: 6rem; font-size: .91rem; }
footer a { margin-left: auto; color: var(--teal); }
@media (min-width: 1500px) { .hero-art img { max-height: 34rem; } }
@media (max-width: 850px) {
  .wrap { width: 90%; }
  .hero { gap: 2rem; }
  h1 { font-size: clamp(4.4rem, 8.2vw, 5.5rem); }
  .hero-art img { aspect-ratio: .86; }
  .service-grid article { padding-right: 1.1rem; }
  .service-grid article + article { padding-left: 1.1rem; }
}
@media (max-width: 680px) {
  .wrap { width: 89%; }
  .header-inner { min-height: 4.35rem; gap: .5rem; }
  .brand img { width: 6.15rem; }
  nav { gap: .9rem; }
  nav a { font-size: .875rem; }
  nav .nav-contact { border: 0; padding: .7rem 0; }
  .hero, .founder, .contact-grid { grid-template-columns: 1fr; }
  .hero { gap: 2.35rem; padding-block: 2.9rem; }
  h1 { font-size: clamp(4.6rem, 13vw, 6.6rem); }
  .hero-art img { aspect-ratio: 1.55; }
  .hero-art img, .hero-art::before { border-radius: .3rem 3.6rem .3rem 3.6rem; }
  .service-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.8rem; }
  .service-grid article, .service-grid article + article { border-left: 0; padding: 0; }
  .service-grid article + article { border-top: 1px solid #d1d1c2; padding-top: 1.5rem; }
  .icon { margin-bottom: .8rem; }
  .founder { padding-inline: 0; gap: 2rem; }
  .portrait { max-width: 20rem; justify-self: start; }
  .contact-grid { gap: 2rem; }
}
@media (max-width: 430px) {
  .header-inner { flex-wrap: wrap; }
  nav { gap: .65rem; }
  nav a { font-size: .83rem; }
  .brand img { width: 5.35rem; }
  .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
