:root {
  color-scheme: light;
  --cream: #f8f5ef;
  --paper: #fffdfa;
  --ink: #292521;
  --muted: #726a63;
  --accent: #8a6f5c;
  --accent-dark: #665043;
  --line: rgba(41, 37, 33, 0.14);
  --shadow: 0 24px 70px rgba(57, 45, 37, 0.1);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 7rem; background: var(--cream); }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; top: 0.75rem; left: 0.75rem; padding: 0.75rem 1rem; border-radius: 999px; color: var(--paper); background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 2rem; padding: 0.8rem clamp(1.25rem, 4vw, 4.5rem); border-bottom: 1px solid var(--line); background: rgba(248, 245, 239, 0.94); backdrop-filter: blur(14px); }
.brand { flex: 0 0 auto; width: clamp(7rem, 10vw, 9rem); }
.brand img { width: 100%; mix-blend-mode: multiply; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); color: var(--muted); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.primary-nav a, .text-link, .site-footer a { text-underline-offset: 0.3em; }
.primary-nav a:not(.nav-cta) { text-decoration: none; }
.primary-nav a:not(.nav-cta):hover, .primary-nav a:not(.nav-cta):focus-visible { color: var(--ink); }
.nav-cta { padding: 0.78rem 1rem; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: transparent; cursor: pointer; text-decoration: none; }

.hero, .section, .site-footer { width: min(100% - clamp(2.5rem, 8vw, 9rem), 82rem); margin-inline: auto; }
.hero { display: grid; min-height: calc(100svh - 5.3rem); grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero-copy { max-width: 38rem; }
.eyebrow { margin: 0 0 1.1rem; color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.17em; line-height: 1.4; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.045em; }
h1 { max-width: 13ch; font-size: clamp(3.4rem, 7vw, 6.9rem); line-height: 0.96; }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.02; }
.hero-intro, .section-heading > p, .about-copy > p, .order-intro > p { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; }
.hero-intro { max-width: 32rem; margin: 1.75rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2.25rem; }

.button { display: inline-flex; min-height: 3.35rem; align-items: center; justify-content: center; padding: 0.85rem 1.35rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; transition: background-color 180ms ease, transform 180ms ease; }
.button-primary { color: var(--paper); background: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: var(--accent-dark); transform: translateY(-2px); }
.text-link { font-size: 0.84rem; font-weight: 700; letter-spacing: 0.05em; }
.text-button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 0.3em; }

.image-frame { position: relative; }
.hero-image { margin: 0; padding: clamp(0.6rem, 1.5vw, 1rem); border: 1px solid var(--line); border-radius: calc(var(--radius) + 0.4rem); background: var(--paper); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-image img { width: 100%; aspect-ratio: 1 / 1.08; border-radius: var(--radius); object-fit: cover; }
.hero-image figcaption { position: absolute; right: 1.6rem; bottom: 1.6rem; padding: 0.62rem 0.8rem; border-radius: 999px; color: var(--paper); background: rgba(41, 37, 33, 0.84); font-family: Georgia, "Times New Roman", serif; font-size: 0.86rem; font-style: italic; }

.section { padding-block: clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr); align-items: end; gap: 3rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-heading > p { max-width: 30rem; margin: 0 0 0.4rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.gallery-card { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: var(--radius); background: #e8e3dc; }
.gallery-card-wide { grid-column: 1 / -1; }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 500ms ease; }
.gallery-card:not(.gallery-card-wide) img { aspect-ratio: 1 / 1; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card figcaption { position: absolute; right: 1rem; bottom: 1rem; padding: 0.55rem 0.75rem; border-radius: 999px; color: var(--ink); background: rgba(255, 253, 250, 0.9); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; backdrop-filter: blur(8px); }

.about { display: grid; grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.about-image { padding: 0.75rem; border: 1px solid var(--line); border-radius: calc(var(--radius) + 0.25rem); background: var(--paper); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.about-image img { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; }
.about-copy { max-width: 35rem; }
.about-copy > p { margin: 1.5rem 0 0; }
.about-copy .text-link { display: inline-block; margin-top: 1.75rem; }

.order { display: grid; grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 8rem); }
.order-intro > p { max-width: 29rem; margin: 1.5rem 0 0; }
.order-card { align-self: center; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.order-card-kicker { margin: 0 0 0.65rem; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.order-card > p:not(.order-card-kicker) { max-width: 31rem; margin: 0 0 1.5rem; color: var(--muted); line-height: 1.65; }

.order-dialog { width: min(calc(100% - 2rem), 58rem); max-width: none; max-height: min(92svh, 62rem); padding: 0; overflow: hidden; border: 0; border-radius: calc(var(--radius) + 0.25rem); color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(35, 29, 24, 0.28); }
.order-dialog::backdrop { background: rgba(35, 30, 26, 0.62); backdrop-filter: blur(5px); }
.order-dialog[open] { animation: dialog-in 180ms ease-out both; }
.order-dialog.is-confirmation { width: min(calc(100% - 2rem), 34rem); }
.dialog-shell { width: 100%; max-width: 100%; max-height: inherit; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.dialog-header { position: sticky; z-index: 5; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem clamp(1.25rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); background: rgba(255, 253, 250, 0.96); backdrop-filter: blur(14px); }
.dialog-header .eyebrow { margin-bottom: 0.35rem; }
.dialog-header h2 { font-size: clamp(2rem, 4vw, 3rem); }
.dialog-close { display: grid; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--cream); cursor: pointer; font-family: Arial, sans-serif; font-size: 1.65rem; line-height: 1; }
.dialog-close:hover, .dialog-close:focus-visible { border-color: var(--ink); }
.request-form { max-width: 100%; padding: 0 clamp(1.25rem, 4vw, 2.5rem); overflow-x: hidden; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.required-note { margin: 1.2rem 0 0; color: var(--muted); font-size: 0.76rem; text-align: right; }
.form-section { min-width: 0; margin: 0; padding: 2.25rem 0; border: 0; border-bottom: 1px solid var(--line); }
.form-section + .form-section { margin-top: 2.125rem; }
.form-section legend { display: flex; align-items: center; gap: 0.8rem; width: 100%; margin: 0 0 1.1rem; padding: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 400; }
.form-section legend span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; color: var(--paper); background: var(--accent); font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { display: grid; min-width: 0; align-content: start; gap: 0.55rem; }
.field-spaced { margin-top: 1.6rem; }
.field label, .field-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; line-height: 1.45; text-transform: uppercase; }
.field input:not([type="radio"]):not([type="file"]), .field textarea { width: 100%; border: 1px solid rgba(41, 37, 33, 0.24); border-radius: 0.75rem; outline: none; color: var(--ink); background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input:not([type="radio"]):not([type="file"]) { min-height: 3.25rem; padding: 0.75rem 0.85rem; }
.field textarea { min-height: 10.5rem; padding: 0.9rem; line-height: 1.5; resize: vertical; }
.field input:not([type="radio"]):not([type="file"]):focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138, 111, 92, 0.14); }
.field-help { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.optional { color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.label-row > span { color: var(--muted); font-size: 0.73rem; }

.choice-list { display: grid; gap: 0.75rem; }
.choice-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.9rem; padding: 1rem; border: 1px solid var(--line); border-radius: 0.9rem; background: #fff; cursor: pointer; text-transform: none; transition: border-color 160ms ease, background-color 160ms ease; }
.choice-card:has(input:checked) { border-color: var(--accent); background: rgba(138, 111, 92, 0.07); box-shadow: inset 0 0 0 1px var(--accent); }
.choice-card input, .agreement input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--accent-dark); }
.choice-card-with-image { grid-template-columns: auto clamp(5rem, 11vw, 6.5rem) minmax(0, 1fr) auto; }
.choice-example { width: 100%; aspect-ratio: 4 / 3; border-radius: 0.65rem; object-fit: cover; }
.choice-copy { display: grid; gap: 0.25rem; }
.choice-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.choice-copy small { color: var(--muted); font-size: 0.78rem; font-weight: 400; letter-spacing: 0; line-height: 1.45; text-transform: none; }
.choice-price { align-self: start; padding: 0.4rem 0.55rem; border-radius: 999px; color: var(--accent-dark); background: var(--cream); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.choice-list-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-list-compact .choice-card { grid-template-columns: auto minmax(0, 1fr); align-items: start; }

.upload-box { position: relative; display: grid; min-height: 7rem; place-items: center; padding: 1.2rem; overflow: hidden; border: 1px dashed rgba(41, 37, 33, 0.3); border-radius: 0.9rem; background: var(--cream); text-align: center; }
.upload-box:hover, .upload-box:focus-within { border-color: var(--accent); background: rgba(138, 111, 92, 0.07); }
.upload-box input { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.upload-box p { margin: 0; line-height: 1.55; }
.upload-box span { color: var(--muted); font-size: 0.76rem; }
.upload-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.preview-item { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--cream); }
.preview-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.preview-remove { position: absolute; top: 0.4rem; right: 0.4rem; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; color: var(--paper); background: rgba(41, 37, 33, 0.86); cursor: pointer; font-size: 1rem; }
.preview-name { display: block; overflow: hidden; padding: 0.55rem; font-size: 0.68rem; text-overflow: ellipsis; white-space: nowrap; }

.policy-section { display: grid; gap: 1.1rem; }
.policy-block { padding: 1.1rem; border: 1px solid var(--line); border-radius: 0.9rem; background: #fff; }
.policy-block h3 { margin: 0 0 0.5rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }
.policy-block p { margin: 0; color: var(--muted); font-size: 0.83rem; line-height: 1.6; }
.agreement { display: flex; align-items: flex-start; gap: 0.7rem; margin-top: 0.9rem; font-size: 0.82rem; font-weight: 700; line-height: 1.45; }
.agreement input { flex: 0 0 auto; margin-top: 0.08rem; }
.form-actions { position: sticky; z-index: 4; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-inline: calc(clamp(1.25rem, 4vw, 2.5rem) * -1); padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem); border-top: 1px solid var(--line); background: rgba(255, 253, 250, 0.97); backdrop-filter: blur(14px); }
.form-actions p { max-width: 27rem; margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.form-actions p.form-status-error { color: #8b3028; font-weight: 700; }
.form-action-buttons { display: flex; flex: 0 0 auto; align-items: center; gap: 0.65rem; }
.button-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--cream); transform: translateY(-2px); }
.form-actions .button:disabled { cursor: wait; opacity: 0.62; transform: none; }
.submission-result { padding: clamp(2.25rem, 7vw, 4.5rem) clamp(1.5rem, 6vw, 3.5rem); outline: none; text-align: center; }
.submission-result .eyebrow { margin-bottom: 0.8rem; }
.submission-result h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 5vw, 2.35rem); font-weight: 400; line-height: 1.2; }
.submission-result .button { margin-top: 1.75rem; }

@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(0.985); } }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding-block: 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.73rem; letter-spacing: 0.08em; }
.site-footer p { margin: 0; text-align: center; text-transform: uppercase; }
.site-footer > a:last-child { justify-self: end; }
.footer-brand { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1rem; font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-copy { max-width: 44rem; }
  .hero-image { width: min(100%, 42rem); justify-self: center; }
  .section-heading, .about, .order { grid-template-columns: 1fr; }
  .section-heading { align-items: start; gap: 1.25rem; }
  .about-image { width: min(100%, 34rem); }
  .about-copy { max-width: 42rem; }
  .order-intro { max-width: 42rem; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 8.5rem; }
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 0.45rem 1rem; padding: 0.7rem 1.1rem 0.8rem; }
  .brand { width: 7.4rem; }
  .primary-nav { grid-column: 1 / -1; justify-content: space-between; gap: 0.5rem; font-size: 0.65rem; }
  .nav-cta { padding: 0.55rem 0.72rem; }
  .hero, .section, .site-footer { width: min(100% - 2rem, 82rem); }
  .hero { gap: 2.75rem; padding-block: 3.2rem 4.5rem; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-image { width: calc(100% - 0.4rem); }
  .section { padding-block: 4.75rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-card-wide { grid-column: auto; }
  .gallery-card img, .gallery-card:not(.gallery-card-wide) img { aspect-ratio: 1 / 0.88; }
  .order-dialog { width: 100%; max-height: 100svh; height: 100svh; border-radius: 0; }
  .order-dialog.is-confirmation { width: calc(100% - 2rem); height: auto; border-radius: calc(var(--radius) + 0.25rem); }
  .dialog-header { padding-block: 1rem; }
  #need-by { display: block; min-width: 0; max-width: 100%; direction: ltr; text-align: left; appearance: none; -webkit-appearance: none; }
  #need-by::-webkit-date-and-time-value { min-width: 0; text-align: left; }
  .form-grid, .choice-list-compact { grid-template-columns: 1fr; }
  .choice-card { grid-template-columns: auto minmax(0, 1fr); }
  .choice-card-with-image { grid-template-columns: auto 4.5rem minmax(0, 1fr); align-items: start; }
  .choice-card-with-image .choice-price { grid-column: 3; }
  .choice-price { grid-column: 2; justify-self: start; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-action-buttons { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; gap: 0.75rem; }
  .site-footer p { text-align: left; }
  .site-footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
