: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 { min-width: 0; }
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: .65rem;
  font-weight: 820;
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.brand-mark {
  position: relative;
  flex: none;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 3px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: 1.02rem;
  height: .55rem;
  top: 44%;
  left: 50%;
  border-left: 3px solid var(--ink);
  border-bottom: 3px 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 strong { color: var(--ink); font-weight: 720; }
.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;
}
.photo {
  position: relative;
  background: #384964;
  border-radius: 5px;
}
.hero-figure figcaption {
  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;
  aspect-ratio: 3 / 2;
  border-radius: inherit;
}
.photo-tag {
  position: absolute;
  isolation: isolate;
  padding: .45em .8em .48em 1.35em;
  color: var(--ink);
  font: 700 clamp(.94rem, 1.25vw, 1.2rem)/1.2 "Space Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: -.055em;
  white-space: nowrap;
  filter: drop-shadow(0 2px 2px #15233b40);
}
.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: .57em;
  top: calc(50% - .13em);
  width: .26em;
  height: .26em;
  border-radius: 50%;
  background: #536071;
  content: "";
}
.price-tag {
  --tag-fill: #ffdb66;
  right: 4.2%;
  top: 9%;
  transform: rotate(5deg);
}
.memory-tag {
  --tag-fill: #fffaf0;
  left: -1.35%;
  bottom: 8%;
  transform: rotate(-5deg);
}

.intake {
  padding-block: clamp(3rem, 5.4vw, 5.25rem) clamp(3.5rem, 6.2vw, 6rem);
  border-block: 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; }
h2 {
  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;
}
.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; }
  h2 { 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) {
  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; }
  .memory-tag { left: .7%; bottom: 6%; }
}

@media (max-width: 22rem) {
  :root { --gutter: 1rem; }
  .brand { gap: .45rem; }
  .brand-mark { width: 1.65rem; height: 1.65rem; }
  .photo-tag { font-size: .88rem; }
}

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