/* Homer T. Jones — Hand-Sketched Keepsakes */

:root {
  --paper: #f6f1e7;
  --paper-2: #efe8da;
  --card: #fbf8f2;
  --ink: #1f1d1a;
  --ink-2: #3d3934;
  --muted: #6b645a;
  --gold: #85663a;
  --gold-line: #b8975f;
  --gold-soft: rgba(184, 151, 95, 0.35);
  --rule: rgba(31, 29, 26, 0.14);
  --error: #9b3b2e;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 1.0625rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--ink);
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

p {
  margin: 0 0 1.1em;
}

::selection {
  background: rgba(184, 151, 95, 0.3);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  flex: none;
  width: 46px;
  height: 46px;
}

.brand__mark circle {
  fill: none;
  stroke: var(--gold-line);
  stroke-width: 1;
}

.brand__mark circle + circle {
  stroke-width: 0.6;
}

.brand__mark text {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  fill: var(--ink);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand__tag {
  margin-top: 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
}

.site-nav ul a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.site-nav ul a:hover::after,
.site-nav ul a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .nav-toggle__bar {
    display: block;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s var(--ease);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.75rem;
    padding: 1rem 1.5rem 2.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 30px 40px -30px rgba(31, 29, 26, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.8rem;
  }

  .site-nav ul a::after {
    display: none;
  }

  .site-nav .btn {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .brand__tag {
    display: none;
  }
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 500 0.76rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--small {
  padding: 0.8rem 1.25rem;
  font-size: 0.7rem;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: transparent;
  color: var(--paper);
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold-line);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.link-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--gold-line);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--gold-line);
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 8vw, 6.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 {
  margin: 1.4rem 0 1.6rem;
  font-size: clamp(3rem, 6.6vw, 5.75rem);
  line-height: 0.98;
}

.hero__lede {
  max-width: 33rem;
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.4rem;
}

.hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__marks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__marks li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold-line);
  transform: rotate(45deg);
}

.sketch {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sketch .paper {
  fill: var(--card);
}

.sketch .gold {
  stroke: var(--gold-line);
}

.sketch .faint {
  stroke: rgba(31, 29, 26, 0.28);
}

.sketch .shadow {
  fill: rgba(31, 29, 26, 0.07);
  stroke: none;
}

.sketch .eraser {
  fill: #e9d7bd;
}

.sketch text {
  fill: var(--ink);
  stroke: none;
  font-family: var(--serif);
  font-style: italic;
}

.hero-art {
  width: 100%;
  height: auto;
  overflow: visible;
}

@media (max-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 500px;
    margin-inline: auto;
  }
}

/* ---------- Subjects strip ---------- */

.subjects {
  padding: 1.4rem 0;
  border-block: 1px solid var(--rule);
}

.subjects ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
}

.subjects li {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.subjects li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold-line);
  transform: rotate(45deg);
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.section--tint {
  background: var(--paper-2);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 1.1rem 0;
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------- Collection ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid var(--rule);
  background: var(--card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.feature::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -30px rgba(31, 29, 26, 0.4);
}

.feature__art {
  width: 128px;
  height: 128px;
  margin-bottom: 1.75rem;
  color: var(--ink);
}

.feature__kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.feature h3 {
  margin: 0.6rem 0 0.9rem;
  font-size: clamp(2.1rem, 3vw, 2.65rem);
}

.feature__uses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 2.25rem;
  padding: 0;
  list-style: none;
}

.feature__uses li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature .link-arrow {
  margin-top: auto;
}

.feature .link-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
}

.more {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.more__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.more__head h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
}

.more__head p {
  margin: 0;
  color: var(--muted);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.more-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.25rem;
  align-items: start;
  height: 100%;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.35s var(--ease);
}

.more-item svg {
  width: 52px;
  height: 52px;
  color: var(--ink);
  transition: color 0.35s var(--ease), transform 0.5s var(--ease);
}

.more-item:hover svg {
  color: var(--gold);
  transform: rotate(-4deg);
}

.more-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1.45rem;
}

.more-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.more__note {
  margin: 2.25rem 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

.more__note a {
  color: var(--gold);
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .more-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.step {
  padding: 2.25rem 2rem 0.5rem 0;
}

.step + .step {
  padding-left: 2rem;
  border-left: 1px solid var(--rule);
}

.step__num {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--gold-line);
  font-family: var(--serif);
  font-size: 3.2rem;
  font-style: italic;
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.65rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .step:nth-child(n + 3) {
    margin-top: 1.5rem;
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step + .step {
    margin-top: 1.5rem;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }
}

/* ---------- Artist ---------- */

.artist {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 2.5rem;
  border: 1px solid var(--rule);
  background: var(--card);
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold-soft);
}

.portrait svg {
  width: 72%;
  height: auto;
}

.portrait figcaption {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  text-align: center;
}

.artist__body h2 {
  margin: 1.1rem 0 1.5rem;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
}

.artist__body .lead::first-letter {
  float: left;
  padding: 0.06em 0.12em 0 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 4.4em;
  line-height: 0.8;
}

.artist__body blockquote {
  margin: 2.25rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold-line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-style: italic;
  line-height: 1.35;
}

.signature {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

@media (max-width: 880px) {
  .artist {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 420px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 52rem;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq details:first-child {
  border-top: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
  transition: transform 0.35s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 3rem 1.75rem 0;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(184, 151, 95, 0.3);
  pointer-events: none;
}

.cta .eyebrow {
  color: #cdb487;
}

.cta h2 {
  margin: 1.25rem 0 1rem;
  color: var(--paper);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-style: italic;
  font-weight: 400;
}

.cta p {
  max-width: 34rem;
  margin: 0 auto 2.4rem;
  color: rgba(246, 241, 231, 0.75);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
  font-size: 0.93rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer__about {
  max-width: 22rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-footer ul a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.site-footer__base p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Page hero ---------- */

.page-hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.page-hero h1 {
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.8rem, 6vw, 4.75rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 40rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- Order form ---------- */

.order {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.order-form {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--rule);
  background: var(--card);
}

.fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.fieldset + .fieldset {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--rule);
}

.fieldset > legend {
  float: left;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  width: 100%;
  margin-bottom: 1.6rem;
  padding: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.2;
}

.fieldset > legend + * {
  clear: both;
}

.fieldset > legend span {
  color: var(--gold-line);
  font-size: 1.35rem;
  font-style: italic;
}

.subfieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.subfieldset > legend {
  margin-bottom: 0.75rem;
  padding: 0;
}

.field {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.field[hidden] {
  display: none;
}

.field:last-child {
  margin-bottom: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
}

.field-row > .field {
  margin-bottom: 1.5rem;
}

.field-row:last-child .field {
  margin-bottom: 0;
}

@media (max-width: 620px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .field-row:last-child .field:not(:last-child) {
    margin-bottom: 1.5rem;
  }
}

.label {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.label .opt {
  margin-left: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(31, 29, 26, 0.22);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.control::placeholder {
  color: #9a9286;
}

.control:hover {
  border-color: rgba(31, 29, 26, 0.42);
}

.control:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(184, 151, 95, 0.25);
}

.control:user-invalid {
  border-color: var(--error);
}

textarea.control {
  min-height: 9.5rem;
  resize: vertical;
  line-height: 1.6;
}

select.control {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231f1d1a' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
}

input[type="date"].control {
  min-height: 3.2rem;
}

.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  height: 100%;
  padding: 1.15rem 0.75rem 1rem;
  border: 1px solid rgba(31, 29, 26, 0.18);
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.choice__card svg {
  width: 44px;
  height: 44px;
  color: var(--ink-2);
}

.choice__name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.15;
}

.choice__card:hover {
  border-color: rgba(31, 29, 26, 0.45);
}

.choice input:checked + .choice__card {
  border-color: var(--ink);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.choice input:checked + .choice__card::after {
  content: "";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none' stroke='%23fbf8f2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.2l3 3 6-6.4'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.choice input:focus-visible + .choice__card {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .choices {
    gap: 0.5rem;
  }

  .choice__card {
    padding: 0.9rem 0.4rem 0.8rem;
  }

  .choice__card svg {
    width: 36px;
    height: 36px;
  }

  .choice__name {
    font-size: 1rem;
  }

  .dropzone {
    padding: 1.25rem;
  }
}

.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem 1.75rem;
  border: 1px dashed rgba(31, 29, 26, 0.35);
  background: var(--paper);
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--ink);
  background: var(--card);
}

.dropzone:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(184, 151, 95, 0.25);
}

.dropzone__icon {
  flex: none;
  width: 44px;
  height: 44px;
  color: var(--gold);
}

.dropzone__title {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
}

.dropzone__meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.file-chosen {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
  padding: 0.75rem;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.file-chosen[hidden] {
  display: none;
}

.file-chosen img {
  flex: none;
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid var(--rule);
}

.file-chosen__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-text {
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: underline;
  text-transform: uppercase;
  text-underline-offset: 4px;
  cursor: pointer;
}

.field-error {
  margin: 0;
  color: var(--error);
  font-size: 0.88rem;
}

.field-error:empty {
  display: none;
}

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.form-submit p {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.order-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 1.5rem;
}

.aside-card {
  padding: 2rem;
  border: 1px solid var(--rule);
}

.aside-card h2 {
  margin-bottom: 1.25rem;
  font-size: 1.65rem;
}

.aside-steps {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: aside;
}

.aside-steps li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.6rem;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.aside-steps li::before {
  content: counter(aside, upper-roman) ".";
  counter-increment: aside;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.4;
}

.aside-tips {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.6;
}

.aside-tips li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.6rem;
}

.aside-tips li::before {
  content: "";
  width: 0.7rem;
  height: 1px;
  margin-top: 0.8rem;
  background: var(--gold-line);
}

.aside-quote {
  margin: 0;
  padding: 2rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.4;
}

.aside-quote cite {
  display: block;
  margin-top: 1rem;
  color: #cdb487;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .order {
    grid-template-columns: 1fr;
  }

  .order-aside {
    position: static;
  }
}

/* ---------- Notice pages ---------- */

.notice {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding-block: clamp(4rem, 10vw, 7rem);
  text-align: center;
}

.notice__art {
  width: 180px;
  height: auto;
  margin: 0 auto 2.25rem;
}

.notice h1 {
  margin: 1.25rem 0 1rem;
  font-size: clamp(3rem, 7vw, 5rem);
}

.notice p:not(.eyebrow) {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.notice__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

/* ---------- Motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal] .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.js [data-reveal].is-visible .draw {
  animation: draw 1.8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
