/* Veronica Touma Photography — public forms
   Espresso, ivory and ink; Cormorant Garamond headlines, Jost text; square edges. */
:root {
  --ivory: #f3ece3;
  --paper: #fbf8f4;
  --ink: #1a1613;
  --espresso: #342216;
  --espresso-hover: #4a3322;
  --taupe: #6b5a50;
  --linen: #e4dcd2;
  --blush: #d8c4b3;
  --field: #bfae9f;
  --error: #8f2d2d;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6;
}
a { color: var(--espresso); }
.wrap {
  max-width: 760px; margin: 0 auto;
  padding: 0 max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left));
}

/* Top bar */
.top { border-bottom: 1px solid var(--linen); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { font-family: var(--serif); font-size: 21px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; line-height: 1.2; }
.brand small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .28em; color: var(--taupe); }
.lang { display: flex; border: 1px solid var(--linen); }
.lang button {
  font: inherit; font-size: 12px; letter-spacing: .14em; background: none; border: 0; color: var(--taupe);
  padding: 10px 12px; min-width: 44px; min-height: 40px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--espresso); color: var(--ivory); }

/* Hero */
.hero { padding: 56px 0 28px; text-align: center; }
.eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 400; }
h1 {
  margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 7vw, 62px);
  line-height: 1.1; letter-spacing: .04em; text-wrap: balance;
}
.lead { max-width: 560px; margin: 18px auto 0; font-size: 18px; color: var(--ink); }

/* Sections */
form { padding-bottom: 72px; }
fieldset { border: 0; margin: 0; padding: 36px 0 0; min-width: 0; }
legend { padding: 0; display: flex; align-items: baseline; gap: 14px; width: 100%; }
legend .n { font-family: var(--serif); font-size: 22px; color: var(--taupe); }
legend .t { font-family: var(--serif); font-size: 30px; line-height: 1.2; }
.hint { margin: 6px 0 0; color: var(--taupe); font-size: 15px; }
.rule { height: 1px; background: var(--linen); margin-top: 36px; }

/* Package cards */
.packages { display: grid; gap: 12px; margin-top: 20px; }
.pkg { position: relative; display: block; cursor: pointer; }
.pkg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pkg .card {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  background: var(--paper); border: 1px solid var(--linen); padding: 20px 22px; transition: border-color .15s, background .15s;
}
.pkg .name { font-family: var(--serif); font-size: 24px; line-height: 1.2; letter-spacing: .02em; }
.pkg .price { font-size: 20px; font-weight: 400; white-space: nowrap; }
.pkg .price s { color: var(--taupe); font-weight: 300; font-size: 15px; margin-right: 6px; }
.pkg .meta { grid-column: 1 / -1; color: var(--taupe); font-size: 14px; }
.pkg input:checked + .card { border-color: var(--espresso); background: #fff; box-shadow: inset 0 0 0 1px var(--espresso); }
.pkg input:focus-visible + .card { outline: 2px solid var(--espresso); outline-offset: 3px; }

/* Days and times */
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin-top: 20px; scrollbar-width: thin; }
.day {
  flex: 0 0 auto; font: inherit; background: var(--paper); border: 1px solid var(--linen); color: var(--ink);
  min-width: 96px; padding: 12px 14px; text-align: center; cursor: pointer; line-height: 1.25;
}
.day .dw { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.day .dd { display: block; font-family: var(--serif); font-size: 26px; }
.day .dc { display: block; font-size: 12px; color: var(--taupe); }
.day[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.day[aria-pressed="true"] .dw, .day[aria-pressed="true"] .dc { color: var(--blush); }
.day:disabled { cursor: not-allowed; opacity: .55; }
.day:disabled .dc { text-decoration: none; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 16px; }
.time {
  font: inherit; font-size: 16px; background: transparent; border: 1px solid var(--ink); color: var(--ink);
  min-height: 52px; cursor: pointer;
}
.time[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.time:disabled { border-color: var(--linen); color: #9a8d84; cursor: not-allowed; text-decoration: line-through; }
.empty { margin-top: 18px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--linen); color: var(--taupe); }

/* Inputs */
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label.l { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  font: inherit; font-weight: 300; color: var(--ink); background: #fff;
  border: 1px solid var(--field); border-radius: 0; padding: 14px 16px; width: 100%; min-height: 52px;
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--taupe) 50%), linear-gradient(135deg, var(--taupe) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--espresso); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Summary + submit */
.summary { margin-top: 28px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--linen); }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.summary dt { color: var(--taupe); font-size: 14px; }
.summary dd { margin: 0; text-align: right; }
.ts { margin-top: 24px; min-height: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  background: var(--espresso); color: var(--ivory); border: 0; border-radius: 0;
  min-height: 56px; padding: 16px 40px; cursor: pointer; margin-top: 24px; width: 100%;
}
.btn:hover { background: var(--espresso-hover); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn:focus-visible, .day:focus-visible, .time:focus-visible, .lang button:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }
.err { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--error); color: var(--error); background: #fff; }

/* Done */
.done { text-align: center; padding: 56px 0 80px; }
.done .mark { width: 56px; height: 56px; margin: 0 auto 20px; border: 1px solid var(--espresso); display: grid; place-items: center; }
.done .box { max-width: 520px; margin: 28px auto 0; text-align: left; }

footer { border-top: 1px solid var(--linen); color: var(--taupe); font-size: 13px; }
footer .wrap { padding-top: 22px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (min-width: 640px) {
  .packages { grid-template-columns: 1fr; }
  .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

::placeholder { color: #8a7b71; opacity: 1; }
