:root {
  color-scheme: light;
  --ink: #14263e;
  --muted: #49566a;
  --paper: #faf8f1;
  --intake-paper: #f0f1ec;
  --yellow: #ffd34e;
  --line: #cbd0cc;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  font: 100%/1.55 "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
}
main { flex: 1; }
.home-main, .bio-main {
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line);
}
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: #ffe389; }
:focus-visible { outline: 3px solid #1768a4; outline-offset: 4px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: min(76rem, calc(100% - var(--gutter) - var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: .5rem;
  left: var(--gutter);
  z-index: 3;
  padding: .6rem 1rem;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.masthead-inner { min-height: 4.75rem; }
.brand, .nav-link, .contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}
.brand {
  gap: clamp(.5rem, 1vw, .85rem);
  font-weight: 820;
  font-size: clamp(1.2rem, 2.15vw, 1.68rem);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.brand-mark {
  position: relative;
  flex: none;
  font-size: clamp(2.6rem, 4.3vw, 3.5rem);
  width: 1em;
  height: 1em;
  border-radius: .075em;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: .54em;
  height: .28em;
  top: 44%;
  left: 50%;
  border-left: .085em solid var(--ink);
  border-bottom: .085em solid var(--ink);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 74% 0 0 74%;
  background: #c08b20;
}
.nav-link, .contact-link {
  font-size: 1rem;
  font-weight: 650;
}
.nav-link { text-decoration: underline; text-decoration-color: #a4aaa8; }
.nav-link:hover, .contact-link:hover, .text-button:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 4.8vw, 4.5rem);
  padding-block: clamp(3rem, 5.7vw, 5.75rem);
}
.hero-copy { min-width: 0; }
.byline {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: clamp(1rem, 1.8vw, 1.55rem);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.3;
}
.byline a {
  color: var(--ink);
  font-weight: 720;
  white-space: nowrap;
  text-decoration-color: #89919a;
}
.byline a:hover { text-decoration-color: currentColor; }
.byline span {
  padding-left: .7rem;
  border-left: 1px solid #989f9f;
}
h1 {
  font-size: clamp(3.6rem, 5.65vw, 5.45rem);
  line-height: .99;
  font-weight: 700;
  letter-spacing: -.073em;
}
h1 > span { display: block; }
h1 em {
  font: italic 400 1.14em/.82 "Instrument Serif", "Iowan Old Style", "Baskerville", Georgia, serif;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.intro {
  max-width: 38ch;
  margin-top: clamp(1.15rem, 2.2vw, 1.7rem);
  color: var(--muted);
  font-size: clamp(1.13rem, 1.4vw, 1.28rem);
  line-height: 1.53;
  letter-spacing: -.012em;
}
.hero-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.15rem;
  margin-top: clamp(1.45rem, 2.5vw, 2rem);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .72rem 1.45rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: #fffdf6;
  background: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 680;
  text-decoration: none;
}
.button:hover:not(:disabled) {
  color: white;
  background: #293f60;
  border-color: #293f60;
}
.price-note {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}
.price-note strong { color: var(--ink); font-weight: 750; }
.hero-figure {
  min-width: 0;
  align-self: center;
  container-type: inline-size;
}
.bio {
  max-width: 44rem;
  padding-block: clamp(2.75rem, 7vw, 5.75rem);
}
.bio h1 {
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
  font-size: clamp(2.5rem, 5.7vw, 4.5rem);
  line-height: 1.08;
}
.bio p {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
}
.bio .bio-intro {
  padding-left: 1rem;
  border-left: 3px solid var(--yellow);
  color: var(--ink);
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  line-height: 1.45;
}
.bio .button { margin-top: .45rem; }
.photo {
  position: relative;
  container-type: inline-size;
  background: #384964;
  border-radius: 5px;
}
.hero-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-top: .75rem;
  padding-inline-start: .7rem;
  border-inline-start: 2px solid #c99a2f;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}
.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 14.75rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: left center;
  border-radius: inherit;
}
.screen-motion {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.motion-control {
  position: relative;
  display: none;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}
.motion-control input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.motion-control:hover { background: #eeeade; }
.motion-control:focus-within { outline: 3px solid #1768a4; outline-offset: 2px; }
.motion-control span {
  width: .55rem;
  height: .7rem;
  border-inline: .18rem solid currentColor;
  pointer-events: none;
}
.motion-control input:checked + span {
  width: 0;
  height: 0;
  margin-left: .12rem;
  border: solid transparent;
  border-width: .36rem 0 .36rem .58rem;
  border-left-color: currentColor;
}
@container (max-width: 23rem) {
  .hero-figure figcaption {
    position: relative;
    display: block;
    font-size: clamp(.875rem, 5.2cqi, 1rem);
  }
  .motion-control {
    position: absolute;
    right: .3rem;
    bottom: calc(100% + 1.05rem);
    background: var(--paper);
  }
}
@keyframes circle-question {
  from { transform: rotate(0deg) translateX(26px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(26px) rotate(-360deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .screen-motion { display: block; }
  .motion-control { display: grid; }
  .question-orbit { animation: circle-question 3.4s linear infinite; }
  .hero-figure:has(.motion-control input:checked) .question-orbit { animation-play-state: paused; }
}
.spec-tags { --tag-fill: #fffaf0; }
.price-tags { --tag-fill: #ffdb66; }
.photo-tag {
  position: absolute;
  top: var(--y);
  transform: translateY(-50%) rotate(var(--tilt));
  pointer-events: none;
  isolation: isolate;
  padding: .34em .64em .36em 1.13em;
  color: var(--ink);
  font-size: clamp(.875rem, 3.05cqi, 1.18rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.025em;
  white-space: nowrap;
  filter: drop-shadow(0 2px 2px #15233b55);
}
.photo-tag::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 2px;
  background: var(--tag-fill);
  clip-path: polygon(.55em 0, 100% 0, 100% 100%, .55em 100%, 0 50%);
  content: "";
}
.photo-tag::after {
  position: absolute;
  left: .49em;
  top: calc(50% - .13em);
  width: .26em;
  height: .26em;
  border-radius: 50%;
  background: #536071;
  content: "";
}
.price-tags .photo-tag {
  right: var(--edge);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 700;
  letter-spacing: -.055em;
}
.spec-tags .photo-tag { left: var(--edge); }
.spec-tags > :nth-child(1) { --edge: 5%; --y: 10%; --tilt: -12deg; }
.spec-tags > :nth-child(2) { --edge: 0%; --y: 43%; --tilt: -7deg; }
.spec-tags > :nth-child(3) { --edge: 12%; --y: 29%; --tilt: 9deg; }
.spec-tags > :nth-child(4) { --edge: 25%; --y: 73%; --tilt: -11deg; }
.spec-tags > :nth-child(5) { --edge: 2%; --y: 62%; --tilt: 6deg; }
.spec-tags > :nth-child(6) { --edge: 9%; --y: 90%; --tilt: 4deg; }
.price-tags > :nth-child(1) { --edge: 22%; --y: 11%; --tilt: 12deg; }
.price-tags > :nth-child(2) { --edge: 3%; --y: 23%; --tilt: -12deg; }
.price-tags > :nth-child(3) { --edge: 27%; --y: 42%; --tilt: -7deg; }
.price-tags > :nth-child(4) { --edge: 8%; --y: 55%; --tilt: 13deg; }
.price-tags > :nth-child(5) { --edge: 33%; --y: 87%; --tilt: 6deg; }
.price-tags > :nth-child(6) { --edge: 4%; --y: 76%; --tilt: -10deg; }
@container (max-width: 25rem) {
  .spec-tags > :nth-child(1) { --edge: 2%; }
  .spec-tags > :nth-child(3) { --edge: 5%; --y: 27%; }
  .spec-tags > :nth-child(4) { --edge: 14%; --y: 75%; }
  .spec-tags > :nth-child(6) { --edge: 3%; --y: 91%; }
  .price-tags > :nth-child(1) { --edge: 17%; }
  .price-tags > :nth-child(3) { --edge: 12%; --y: 41%; }
  .price-tags > :nth-child(4) { --edge: 3%; --y: 57%; }
  .price-tags > :nth-child(5) { --edge: 19%; --y: 91%; }
}

.intake {
  padding-block: clamp(3rem, 5.4vw, 5.25rem) clamp(3.5rem, 6.2vw, 6rem);
  border-bottom: 1px solid var(--line);
  background: var(--intake-paper);
  scroll-margin-top: .5rem;
}
.intake:focus { outline: none; }
.intake-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}
.intake-guide { max-width: 25rem; }
.intake-guide h1 {
  max-width: 13ch;
  font-size: clamp(2.15rem, 3.5vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.061em;
  font-weight: 680;
}
.guide-copy {
  margin-top: 1.2rem;
  max-width: 35ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}
.guide-questions {
  margin: .85rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.5;
}
.guide-questions li + li { margin-top: .45rem; }
.guide-questions li::marker { color: var(--ink); }
.terms {
  max-width: 23rem;
  margin-top: 1.75rem;
  border-block: 1px solid var(--line);
}
.terms > div {
  display: grid;
  grid-template-columns: 5.75rem 1fr;
  gap: .7rem;
  padding-block: .85rem;
}
.terms > div + div { border-top: 1px solid var(--line); }
.terms dt { color: var(--muted); }
.terms dd { font-weight: 680; }
.terms dd span {
  display: block;
  margin-top: .12rem;
  font-weight: 400;
  color: var(--muted);
}
.request-area, form, fieldset, .field { min-width: 0; }
fieldset { margin: 0; padding: 0; border: 0; }
.field + .field, .field-row { margin-top: 1.2rem; }
.field-row {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1rem;
}
.field-row .field { display: flex; flex-direction: column; margin: 0; }
.field-row input { margin-top: auto; }
.field label {
  display: block;
  margin-bottom: .45rem;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 680;
}
.field input, .field textarea {
  display: block;
  width: 100%;
  border: 1px solid #9ca6ae;
  border-radius: 4px;
  padding: .75rem .9rem;
  color: var(--ink);
  background: #fffefa;
  line-height: 1.45;
}
.field input { min-height: 3rem; }
.field textarea { min-height: 4.65rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder {
  color: #5d6976;
  opacity: 1;
}
.field :is(input, textarea):hover:not(:disabled) { border-color: #53677b; }
.field :is(input, textarea):focus-visible {
  outline: 2px solid #1768a4;
  outline-offset: 1px;
  border-color: #1768a4;
}
.field :is(input, textarea):disabled { background: #f4f4ef; opacity: 1; }
.button-submit { margin-top: 1.45rem; }
.button-submit:disabled {
  color: #f9faf8;
  border-color: #61707d;
  background: #61707d;
}
.notice {
  margin-bottom: 1.45rem;
  padding: .9rem 1.1rem;
  border-left: 4px solid #bb8610;
  color: var(--ink);
  background: #fff4cf;
}
.notice > p:first-child { font-weight: 700; }
.notice p { overflow-wrap: anywhere; }
.notice p + p, .notice p + div { margin-top: .2rem; }
.notice a, .text-button { text-decoration: underline; text-underline-offset: .18em; }
.notice a:hover, .contact-link:hover { text-decoration-thickness: 2px; }
.text-button {
  padding: .45rem 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
  font-weight: 650;
}
.feedback:not(:empty) {
  max-width: 53ch;
  margin-top: 1rem;
  padding: .7rem 1rem;
  border-left: 3px solid currentColor;
}
.feedback[data-state="success"] { color: #205742; background: #e2eee2; }
.feedback[data-state="error"] { color: #8b362e; background: #f9e9e1; }
footer { background: var(--paper); }
.footer-inner { min-height: 5.2rem; }
.footer-brand { font-weight: 750; letter-spacing: -.045em; }
.contact-link { font-weight: 550; }

@media (max-width: 58rem) {
  .hero { gap: 2rem; }
  h1 { font-size: clamp(2.9rem, 5.7vw, 3.6rem); }
  .hero-action { gap: .75rem; }
  .intake-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 2.25rem; }
  .terms > div { grid-template-columns: 4.9rem 1fr; }
}

@media (max-width: 46rem) {
  .masthead-inner { min-height: 4.05rem; }
  .hero {
    grid-template-columns: 1fr;
    gap: 2.05rem;
    padding-block: 2.6rem 2.75rem;
  }
  .byline { margin-bottom: 1.1rem; }
  h1 { font-size: clamp(3.1rem, 9vw, 4.65rem); }
  .intro { max-width: 41ch; margin-top: 1.2rem; }
  .hero-action { margin-top: 1.35rem; gap: .65rem 1rem; }
  .hero-figure { width: 100%; }
  .intake { padding-block: 2.75rem 3.25rem; }
  .intake-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intake-guide { max-width: none; }
  .intake-guide h1 { max-width: 17ch; font-size: clamp(2.2rem, 6vw, 3rem); }
  .guide-copy { max-width: 46ch; margin-top: .8rem; }
  .terms { max-width: none; margin-top: 1.25rem; }
  .terms > div { grid-template-columns: 5.8rem 1fr; padding-block: .62rem; }
  .terms dd span { display: inline; margin-left: .35rem; }
}

@media (max-width: 31rem) {
  .byline { flex-direction: column; align-items: flex-start; gap: .18rem; }
  .byline span { padding-left: 0; border: 0; }
  h1 { font-size: clamp(2.15rem, 11.8vw, 3.15rem); }
  .field-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .terms dd span { display: block; margin-left: 0; }
}

@media (max-width: 22rem) {
  :root { --gutter: 1rem; }
  .masthead-inner { flex-wrap: wrap; gap: 0 .5rem; }
  .masthead-inner nav { margin-left: auto; }
  .brand { font-size: 1.075rem; gap: .4rem; }
  .nav-link { font-size: .95rem; white-space: nowrap; }
}

@media (forced-colors: active) {
  .brand-mark, .photo-tag { forced-color-adjust: none; }
  .button, .notice { border: 1px solid ButtonText; }
}
