@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --ink: #24201c;
  --muted: #696159;
  --linen: #f8f6f1;
  --oat: #efece5;
  --line: #e2ddd3;
  --brown: #703712;
  --brown-hover: #56280b;
  --night: #1e1c1a;
  --serif: Fraunces, Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --side: clamp(1.15rem, 3.6vw, 3rem);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color: var(--ink); background: white; scroll-padding-top: 6rem; }
body { margin: 0; font: 1rem/1.6 var(--sans); }
button, input, select, textarea { font: inherit; }
a { color: var(--brown); text-underline-offset: .2em; }
a:hover { color: var(--brown-hover); }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.13; }
h1 { font-size: clamp(2.3rem, 5vw, 3.625rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); letter-spacing: -.025em; }
h3 { font-size: 1.3rem; }
h2 + p, h3 + p, p + p, p + a, p + .button { margin-top: .85rem; }
img { display: block; max-width: 100%; }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
main { min-height: 50vh; }
.container { width: min(1240px, 100% - 2 * var(--side)); margin-inline: auto; }
.narrow { max-width: 47rem; }
.section { padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.linen { background: var(--linen); }
.oat { background: var(--oat); }
.subtle, .field-help { color: var(--muted); }
.lead { max-width: 40rem; margin-top: 1rem; font-size: clamp(1.05rem, 1.7vw, 1.2rem); }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 20; top: .7rem; left: .7rem; padding: .65rem 1rem; background: white; }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .64rem 1.22rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brown);
  color: white;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--brown-hover); color: white; }
button:disabled { cursor: default; opacity: .62; }
.announcement {
  margin: 0;
  padding: .55rem var(--side);
  background: var(--night);
  color: #f5f2eb;
  text-align: center;
  font-size: .875rem;
}
.announcement a { color: inherit; }
.announcement :focus-visible, .hero :focus-visible { outline-color: white; }
.header { position: sticky; top: 0; z-index: 5; background: white; border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.65rem; }
.brand { flex: none; color: var(--ink); font: 600 clamp(1.32rem, 2.4vw, 2rem)/1 var(--serif); letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: clamp(.75rem, 2vw, 1.85rem); align-items: center; }
.nav a { padding: .55rem 0; color: var(--ink); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav [aria-current] { text-decoration: underline; }
.nav-toggle {
  padding: .55rem .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(26rem, 47vw, 40rem); background: #2f241e; color: white; }
.hero .media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; z-index: -2; border-radius: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(91deg, #1e1611ee, #241913aa 48%, #24191321); }
.hero-copy { padding-block: clamp(3rem, 8vw, 6.5rem); }
.hero h1 { max-width: 16ch; text-wrap: balance; }
.hero p { max-width: 41ch; margin-block: 1.25rem 1.65rem; color: #f5f2eb; }
.hero .button { border-color: #ffffff42; }
.media { position: relative; overflow: hidden; min-width: 0; aspect-ratio: 4 / 3; border-radius: 8px; background: radial-gradient(ellipse at 78% 24%, #fcf9f4, transparent 56%), linear-gradient(145deg, #efe2d2, #d6c4b1); }
.media::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: repeating-linear-gradient(125deg, #ffffff10 0 1px, transparent 1px 4px); }
.media.has-image::after { display: none; }
.media-hero { background: radial-gradient(ellipse at 88% 35%, #b7855d, transparent 65%), linear-gradient(145deg, #503729, #866149 65%, #482e23); }
.media-frame_memorial, .media-finished { background-color: #d7c0ae; background-image: radial-gradient(ellipse at 24% 15%, #f2e7da, transparent 64%), linear-gradient(150deg, #c6aa95, #9f7357); }
.media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.media-hero img { object-position: 65% center; }
.section-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: 1.6rem; }
.section-heading p { max-width: 39ch; margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card { background: white; border: 1px solid var(--line); border-radius: 8px; }
.product { display: flex; flex-direction: column; overflow: hidden; }
.product .media { border-radius: 0; }
.product-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1rem 1.1rem 1.2rem; }
.product-copy p { flex: 1; color: var(--muted); font-size: .925rem; }
.product-copy a { font-weight: 600; }
.related-links, .actions { display: flex; gap: .75rem 1.5rem; align-items: center; flex-wrap: wrap; margin-top: 1.4rem; }
.gallery-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: .8rem; }
.gallery-pair .media { aspect-ratio: 16 / 10; }
figcaption { margin-top: .5rem; font-size: .9rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 5vw, 4.75rem); }
.craft { align-items: center; }
.landing-grid, .order-layout { align-items: start; }
.landing-intro .media { margin-top: 1.5rem; }
.landing-intro h1 { font-size: clamp(2.25rem, 4.3vw, 3.5rem); }
.price-list { list-style: none; padding: 0; margin: 1.45rem 0 1.2rem; }
.price-list li { display: flex; gap: .75rem; justify-content: space-between; padding-block: .58rem; border-bottom: 1px solid #d9d1c6; }
.price-list strong { white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.75rem; margin: 1.7rem 0 0; padding: 0; counter-reset: step; list-style: none; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 1.05rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--brown); font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.steps p { color: var(--muted); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 1.5rem 3rem; }
.accordion details, .terms-summary { border-bottom: 1px solid var(--line); }
.accordion summary, .terms-summary summary { cursor: pointer; padding: .9rem 0; font-weight: 600; }
.accordion details p, .terms-summary p { margin: 0 0 .85rem; }
.accordion > p { margin-top: 1.25rem; }
.faq-layout h2 + a { display: inline-block; margin-top: .8rem; }
.page-intro { padding-block: clamp(2.9rem, 8vw, 6rem); }
.policy h2:not(:first-child) { margin-top: 2.75rem; }
.prose-list { padding-left: 1.2rem; }
.prose-list li { margin-block: .5rem; }
.checkout, .track-card { padding: clamp(1rem, 3vw, 1.85rem); }
.checkout form, .payment-result, .track-card + .track-card { margin-top: 1.5rem; }
.checkout fieldset, .track-card fieldset { display: grid; gap: .9rem; }
.checkout label, .track-card label { display: block; font-size: .9375rem; font-weight: 600; }
input:not([type="checkbox"]), select, textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: .28rem;
  padding: .6rem .7rem;
  border: 1px solid #988b80;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}
input[type="file"] { max-width: 100%; padding: .47rem; }
input::file-selector-button { border: 0; border-radius: 4px; padding: .3rem .55rem; background: var(--oat); color: var(--ink); cursor: pointer; }
select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
textarea { resize: vertical; }
input[type="checkbox"] { inline-size: 1.1rem; block-size: 1.1rem; accent-color: var(--brown); }
label.checkbox { display: flex; align-items: center; gap: .55rem; }
.optional { color: var(--muted); font-weight: 400; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.checkout button[type="submit"] { margin-top: 1rem; }
.order-price, .field-help, .field-error, .form-status { margin: 0; font-size: .875rem; }
.order-price { font-weight: 700; }
.field-error, .form-status[data-error="true"] { color: #a1261d; }
.form-status:not(:empty) { margin-top: .65rem; }
.upload-preview { display: flex; align-items: start; gap: .9rem; font-size: .875rem; color: var(--muted); }
.upload-preview img { width: 7rem; height: 7rem; object-fit: contain; background: var(--linen); border-radius: 6px; }
.terms-summary { font-size: .875rem; }
.paypal-area { display: grid; gap: .8rem; margin-top: 1rem; }
.text-link { padding: 0; border: 0; background: transparent; color: var(--brown); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; justify-self: start; }
.payment-result { padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; background: var(--linen); border: 1px solid var(--line); border-radius: 8px; }
.track-card button { justify-self: start; }
.track-details { display: grid; gap: .6rem; }
.track-details div { display: grid; grid-template-columns: minmax(6rem, .45fr) 1fr; gap: .65rem; }
.track-details dt { font-weight: 600; }
.track-details dd { margin: 0; overflow-wrap: anywhere; }
.footer { padding-block: 2.75rem 1.25rem; background: var(--oat); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 1.25rem 2.25rem; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: .55rem 1.15rem; align-content: start; }
.footer-grid p, .legal { color: var(--muted); font-size: .875rem; }
.footer-grid p { margin-top: .75rem; }
.legal { border-top: 1px solid #d9d1c6; margin-top: 1.8rem; padding-top: 1.05rem; }
@media (max-width: 900px) {
  .nav { gap: .85rem; }
  .product-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
  .header-inner { flex-wrap: wrap; min-height: 3.85rem; gap: .55rem; }
  .header-inner > .button { font-size: .875rem; padding-inline: .85rem; }
  .nav { order: 4; width: 100%; flex-wrap: wrap; padding-bottom: .5rem; }
  .js .header-inner { flex-wrap: nowrap; }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .65rem 1rem; background: white; border: 1px solid var(--line); border-radius: 0 0 8px 8px; }
  .js .nav[data-open] { display: grid; gap: .2rem; }
  .split, .faq-layout, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero::after { background: linear-gradient(4deg, #1e1611f2, #1e161185 72%, #1e161145); }
  .hero .media img { object-position: 62% center; }
  .landing-intro .media { max-height: 22rem; }
}
@media (min-width: 731px) { .nav-toggle { display: none; } }
@media (max-width: 390px) {
  .header-inner { gap: .4rem; }
  .header-inner > .button { padding-inline: .55rem; white-space: nowrap; }
  .nav-toggle { padding-inline: .55rem; }
  .announcement { font-size: .8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .product-copy { padding-inline: .75rem; }
}
