@font-face { font-family: "Masthead"; src: url("/fonts/unifrakturmaguntia-latin-400-normal.ttf"); font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/fonts/playfair-display-latin-400-normal.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/fonts/playfair-display-latin-700-normal.ttf"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("/fonts/playfair-display-latin-400-italic.ttf"); font-style: italic; font-display: swap; }
@font-face { font-family: "OldStd"; src: url("/fonts/old-standard-tt-latin-400-normal.ttf"); font-display: swap; }
@font-face { font-family: "OldStd"; src: url("/fonts/old-standard-tt-latin-400-italic.ttf"); font-style: italic; font-display: swap; }
@font-face { font-family: "OldStd"; src: url("/fonts/old-standard-tt-latin-700-normal.ttf"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f8f4ea;
  --ink: #1b1a17;
  --muted: #5d584e;
  --rule: #1b1a17;
  --hair: #cfc6b3;
  --red: #8c1c13;
  --card: #fffdf7;
}
* { box-sizing: border-box; }
input[type=checkbox] { accent-color: var(--ink); width: 17px; height: 17px; }
html { background: var(--paper); }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font: 18px/1.55 "OldStd", Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }

/* masthead */
.top { border-bottom: 3px double var(--rule); padding: 14px 0 6px; }
.top .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.brand { font: 40px/1 "Masthead", serif; color: var(--ink); text-decoration: none; }
.top nav a { font: 13px/1 "OldStd", serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; margin-left: 18px; }
.top nav a:hover { color: var(--red); }
.dateline { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); padding: 6px 0; }
.dateline .wrap { display: flex; justify-content: space-between; }

h1, h2, h3 { font-family: "Playfair", Georgia, serif; line-height: 1.12; margin: 0 0 .4em; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 8px; }
.dek { font-family: "Playfair", serif; font-style: italic; font-size: 22px; color: var(--muted); margin: 0 0 22px; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; padding: 36px 0 28px; border-bottom: 1px solid var(--rule); }
.hero img { width: 100%; border: 1px solid var(--hair); box-shadow: 0 10px 30px rgba(40, 30, 10, .15); transform: rotate(1.2deg); background: #fff; }
.hero .caption { font-size: 13px; font-style: italic; color: var(--muted); margin-top: 10px; text-align: center; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: 1px solid var(--rule); }
.cols > div { padding: 22px 22px 18px; border-left: 1px solid var(--hair); }
.cols > div:first-child { border-left: 0; padding-left: 0; }
.cols .n { font: 700 34px/1 "Playfair", serif; color: var(--red); }

.btn {
  display: inline-block; font: 700 17px/1 "Playfair", serif; letter-spacing: .02em;
  background: var(--ink); color: var(--paper); border: 0; padding: 16px 26px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--red); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* forms */
form.order { background: var(--card); border: 1px solid var(--rule); padding: 26px; margin: 30px 0; }
form.order h2 { border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
label { display: block; font-weight: 700; margin: 18px 0 6px; }
label small, .hint { font-weight: 400; color: var(--muted); font-size: 15px; }
input[type=text], input[type=number], textarea, select {
  width: 100%; font: 17px "OldStd", Georgia, serif; padding: 10px 12px; border: 1px solid #a99f8a; background: #fff; color: var(--ink);
}
textarea { min-height: 96px; }
.row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.drop { border: 2px dashed #a99f8a; padding: 22px; text-align: center; background: #fff; }
.drop.ready { border-color: var(--ink); border-style: solid; }
.drop { position: relative; transition: background .15s, border-color .15s, transform .15s; }
.drop .dropcue { display: none; }
.drop.invite { border-color: var(--red); background: #fbf3ea; }
.drop.invite .dropcue, .drop.over .dropcue {
  display: flex; position: absolute; inset: 0; margin: 0; align-items: center; justify-content: center;
  font: 700 30px "Playfair", serif; color: var(--red); background: rgba(251, 243, 234, .94); pointer-events: none;
}
.drop.over { border-style: solid; border-width: 3px; transform: scale(1.01); }
.drop.over .dropcue { color: var(--paper); background: rgba(140, 28, 19, .92); }
.drop.ready .droptitle b { color: #2f6b2f; }
.drop .droptitle { margin: 0 0 10px; font-size: 19px; }
.drop .pick { display: inline; font-weight: 400; margin: 0; color: var(--red); text-decoration: underline; cursor: pointer; }
.drop input[type=file] { max-width: 100%; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 6px; }
.countries { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.countries label { font-weight: 400; margin: 0; display: flex; gap: 6px; align-items: center; }
details { margin-top: 18px; }
summary { cursor: pointer; font-weight: 700; }
.progress { height: 10px; background: #e7dfcc; margin-top: 14px; display: none; }
.progress > div { height: 100%; width: 0; background: var(--ink); transition: width .2s; }
.error { background: #f6e3df; border: 1px solid var(--red); padding: 12px 14px; margin: 14px 0; color: var(--red); }
.note { background: var(--card); border-left: 3px solid var(--red); padding: 12px 16px; margin: 18px 0; font-size: 16px; }

/* job page */
.job { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 30px 0; }
.job img.front { width: 100%; border: 1px solid var(--hair); box-shadow: 0 10px 30px rgba(40, 30, 10, .15); background: #fff; }
.spinner { width: 46px; height: 46px; border: 4px solid #e2d8c2; border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; margin: 20px 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; padding: 0; margin: 20px 0; font-size: 18px; }
.steps li { position: relative; padding: 7px 0 7px 30px; color: var(--muted); }
.steps li::before { content: "○"; position: absolute; left: 2px; }
.steps li.done { color: var(--ink); }
.steps li.done::before { content: "✓"; }
.steps li.now { color: var(--ink); font-weight: 700; }
.steps li.now::before { content: "●"; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.picks label { font-weight: 400; display: flex; gap: 10px; border-top: 1px solid var(--hair); padding: 10px 0; margin: 0; }
.picks label b { font-family: "Playfair", serif; }
.picks .lead { color: var(--muted); }
.price { font: 700 30px/1 "Playfair", serif; }
.test { font-size: 14px; background: #fff3c4; border: 1px solid #c9a600; padding: 8px 12px; margin: 10px 0; }

.prose { max-width: 720px; padding: 30px 0 50px; }
.prose h2 { margin-top: 1.4em; }
.prose ol li, .prose ul li { margin-bottom: 8px; }

footer { border-top: 3px double var(--rule); margin-top: 40px; padding: 18px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-right: 14px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero, .job { grid-template-columns: 1fr; }
  .hero img { transform: none; }
  .cols { grid-template-columns: 1fr; }
  .cols > div { border-left: 0; border-top: 1px solid var(--hair); padding-left: 0; }
  .row { grid-template-columns: 1fr; }
  .brand { font-size: 32px; }
  .top nav a { margin-left: 10px; font-size: 11px; }
}
