/* The Wine Shop — Private Experiences
   Sibling of tws-res.css. Same palette and type so the two pages read as one design.
   Palette: claret #6B1F2E · ink #211C19 · ivory #FBF8F3 · parchment #EFE7DA · gold #B08D57
   Type:    EB Garamond (display) · Montserrat (utility) */

.twspe {
	--twspe-accent: #6b1f2e;
	--twspe-ink: #211c19;
	--twspe-muted: #7d7268;
	--twspe-line: #ddd2c2;
	--twspe-paper: #fbf8f3;
	--twspe-parchment: #efe7da;
	--twspe-gold: #b08d57;
	--twspe-confirm: #2f6b4f;
	--twspe-wa: #128c7e;
	--twspe-action: #2f6b4f; /* buttons, selected cards and chips — green reads better than claret on the garden photography */
	--twspe-serif: "EB Garamond", Georgia, "Times New Roman", serif;
	--twspe-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	max-width: 760px;
	margin: 0 auto;
	color: var(--twspe-ink);
	font-family: var(--twspe-sans);
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
}
.twspe *, .twspe *::before, .twspe *::after { box-sizing: border-box; }
.twspe img { max-width: 100%; height: auto; display: block; }
.twspe p { margin: 0 0 1em; }
.twspe fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.twspe legend { padding: 0; }

/* ── Shared type ─────────────────────────────────────────────── */
.twspe__eyebrow {
	margin: 0 0 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
	text-transform: uppercase; color: var(--twspe-muted);
}
.twspe__title, .twspe h1.twspe__title, .twspe h2.twspe__title {
	margin: 0 0 12px; padding: 0; font-family: var(--twspe-serif); font-weight: 400;
	font-size: clamp(30px, 5vw, 42px); line-height: 1.05; color: var(--twspe-ink); letter-spacing: 0;
}
.twspe__lede { margin: 0 0 8px; max-width: 54ch; font-family: var(--twspe-serif); font-size: 19px; line-height: 1.45; color: var(--twspe-ink); }
.twspe__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.twspe__logo { flex: 0 0 auto; width: auto; max-width: 120px; max-height: 58px; object-fit: contain; opacity: 0.85; mix-blend-mode: multiply; }

/* ── Hero ────────────────────────────────────────────────────── */
.twspe__hero { padding: 8px 0 0; }
.twspe__wanote {
	display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 0; padding: 14px 16px;
	background: rgba(18, 140, 126, 0.07); border-left: 3px solid var(--twspe-wa);
}
.twspe__wanote svg { flex: 0 0 auto; margin-top: 2px; color: var(--twspe-wa); }
.twspe__wanote p { margin: 0; font-size: 13px; line-height: 1.55; }
.twspe__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 0; }
.twspe__figure { margin: 30px 0 0; }
.twspe__heroimg { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* Buttons — same recipe as .tws-res__submit */
.twspe__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
	border: 1px solid var(--twspe-action); background: var(--twspe-action); color: #fff !important;
	font-family: var(--twspe-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
	text-transform: uppercase; text-decoration: none !important; padding: 15px 30px; cursor: pointer;
	border-radius: 0; transition: background 0.18s ease, color 0.18s ease;
}
.twspe__btn:hover:not([disabled]) { background: transparent; color: var(--twspe-action) !important; }
.twspe__btn[disabled] { opacity: 0.55; cursor: progress; }
.twspe__btn--ghost { background: transparent; color: var(--twspe-action) !important; }
.twspe__btn--ghost:hover { background: var(--twspe-action); color: #fff !important; }
.twspe__btn--quiet { border-color: var(--twspe-line); background: transparent; color: var(--twspe-ink) !important; }
.twspe__btn--quiet:hover { border-color: var(--twspe-action); background: transparent; color: var(--twspe-action) !important; }
.twspe__wa {
	display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 14px 26px;
	background: var(--twspe-wa); color: #fff !important; text-decoration: none !important;
	font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.18s ease;
}
.twspe__wa:hover { background: #0f7167; }

/* ── What we can arrange ─────────────────────────────────────── */
.twspe__arrange { padding: 40px 0 0; }
.twspe__arrange h2 {
	margin: 0 0 14px; padding: 0; font-family: var(--twspe-serif); font-weight: 400;
	font-size: clamp(24px, 3.6vw, 30px); line-height: 1.15; color: var(--twspe-ink);
}
.twspe__arrange ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--twspe-line); }
.twspe__arrange li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--twspe-line); font-family: var(--twspe-serif); font-size: 20px; line-height: 1.2; }
.twspe__arrange li span { display: block; margin-top: 3px; font-family: var(--twspe-sans); font-size: 12.5px; line-height: 1.45; color: var(--twspe-muted); }

/* ── Card shell (mirrors .tws-res__card) ─────────────────────── */
.twspe__builder { padding: 40px 0 0; scroll-margin-top: 80px; }
.twspe__card { position: relative; background: var(--twspe-paper); border: 1px solid var(--twspe-line); padding: 36px clamp(20px, 4vw, 44px) 40px; }
.twspe__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--twspe-accent); }
.twspe__cardheading { margin: 0 0 14px; padding: 0; font-family: var(--twspe-serif); font-weight: 400; font-size: clamp(24px, 3.6vw, 30px); line-height: 1.15; }
.twspe__progress { height: 2px; background: var(--twspe-line); position: relative; margin: 0 0 8px; }
.twspe__progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--twspe-gold); transition: width 0.3s ease; }
.twspe__plabel { margin: 0 0 26px; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--twspe-muted); }
.twspe__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.twspe__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Steps */
.twspe__step { margin: 0; }
.twspe__step[hidden] { display: none; }
.twspe__step legend {
	display: block; margin: 0 0 6px; font-family: var(--twspe-serif); font-weight: 400;
	font-size: clamp(26px, 4vw, 32px); line-height: 1.15; color: var(--twspe-ink);
}
.twspe__hint { margin: 0 0 20px; max-width: 56ch; font-size: 14px; color: var(--twspe-muted); }
.twspe__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin: 0 0 18px; }
.twspe__field { display: block; min-width: 0; margin: 0 0 18px; }
.twspe__row .twspe__field { margin: 0; }
.twspe__field--wide { grid-column: 1 / -1; }
.twspe__lbl { display: block; margin: 0 0 6px; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--twspe-muted); }
.twspe__lbl em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0.02em; opacity: 0.75; }

.twspe input[type="text"], .twspe input[type="tel"], .twspe input[type="email"], .twspe input[type="date"],
.twspe input[type="time"], .twspe input[type="number"], .twspe select, .twspe textarea {
	width: 100%; min-height: 46px; padding: 11px 13px; margin: 0; background: #fff; border: 1px solid var(--twspe-line);
	border-radius: 0; box-shadow: none; font-family: inherit; font-size: 15px; line-height: 1.4; color: var(--twspe-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease; -webkit-appearance: none; appearance: none;
}
.twspe textarea { resize: vertical; min-height: 92px; }
.twspe select {
	background-image: linear-gradient(45deg, transparent 50%, var(--twspe-muted) 50%), linear-gradient(135deg, var(--twspe-muted) 50%, transparent 50%);
	background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px;
}
.twspe input:focus, .twspe select:focus, .twspe textarea:focus { outline: none; border-color: var(--twspe-accent); box-shadow: 0 0 0 2px rgba(107, 31, 46, 0.13); }
.twspe a:focus-visible, .twspe button:focus-visible, .twspe input:focus-visible, .twspe select:focus-visible, .twspe textarea:focus-visible { outline: 2px solid var(--twspe-accent); outline-offset: 2px; }

/* Selection cards — native inputs, visually hidden, label styled like .tws-res__duration */
.twspe__cards { display: grid; gap: 10px; margin: 0 0 6px; }
.twspe__cards--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.twspe__cards--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.twspe__cards--tight { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.twspe__card .twspe__cards { }
.twspe__cards .twspe__card { position: relative; background: none; border: 0; padding: 0; }
.twspe__cards .twspe__card::before { display: none; }
.twspe__cards input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.twspe__cards label {
	display: block; height: 100%; min-height: 54px; padding: 14px 16px; margin: 0; cursor: pointer;
	background: #fff; border: 1px solid var(--twspe-line); border-radius: 0; text-align: left;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.twspe__cards label:hover { border-color: var(--twspe-gold); }
.twspe__cardtitle { display: block; font-family: var(--twspe-serif); font-size: 20px; line-height: 1.2; color: var(--twspe-ink); }
.twspe__cardhint { display: block; margin-top: 2px; font-size: 11px; letter-spacing: 0.04em; color: var(--twspe-muted); }
.twspe__cards--tight .twspe__cardtitle { text-align: center; }
.twspe__cards input:checked + label { background: var(--twspe-action); border-color: var(--twspe-action); }
.twspe__cards input:checked + label .twspe__cardtitle { color: var(--twspe-paper); }
.twspe__cards input:checked + label .twspe__cardhint { color: var(--twspe-paper); opacity: 0.8; }
.twspe__cards input:focus-visible + label { outline: 2px solid var(--twspe-accent); outline-offset: 2px; }

/* Chips */
.twspe__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.twspe__chip { position: relative; }
.twspe__chip input { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; }
.twspe__chip label { display: inline-block; margin: 0; padding: 9px 15px; min-height: 40px; line-height: 20px; font-size: 13.5px; cursor: pointer; background: #fff; border: 1px solid var(--twspe-line); border-radius: 999px; }
.twspe__chip label:hover { border-color: var(--twspe-gold); }
.twspe__chip input:checked + label { background: var(--twspe-action); border-color: var(--twspe-action); color: #fff; }
.twspe__chip input:focus-visible + label { outline: 2px solid var(--twspe-accent); outline-offset: 2px; }

/* Toggle (budget basis) */
.twspe__toggle { display: inline-flex; margin: 0 0 16px; border: 1px solid var(--twspe-line); background: #fff; }
.twspe__toggle div { position: relative; }
.twspe__toggle input { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); }
.twspe__toggle label { display: block; margin: 0; padding: 11px 20px; min-height: 44px; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.twspe__toggle input:checked + label { background: var(--twspe-action); color: #fff; }
.twspe__toggle input:focus-visible + label { outline: 2px solid var(--twspe-accent); outline-offset: -2px; }

/* Reveals */
.twspe__reveal { margin: 16px 0 0; padding: 18px 0 0; border-top: 1px solid var(--twspe-line); }
.twspe__reveal[hidden] { display: none; }
.twspe__reveal .twspe__lbl { margin-bottom: 10px; }

/* Phone */
.twspe__phone { display: flex; align-items: stretch; border: 1px solid var(--twspe-line); background: #fff; }
.twspe__phone:focus-within { border-color: var(--twspe-accent); box-shadow: 0 0 0 2px rgba(107, 31, 46, 0.13); }
.twspe .twspe__dial { width: auto; flex: 0 0 auto; min-width: 84px; border: 0; border-right: 1px solid var(--twspe-line); background-color: var(--twspe-parchment); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--twspe-muted); }
.twspe .twspe__phone input[type="tel"] { border: 0; box-shadow: none; }
.twspe .twspe__phone input:focus, .twspe .twspe__phone select:focus { box-shadow: none; outline: none; }

/* Consent */
.twspe__check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 12px; font-size: 13.5px; color: var(--twspe-muted); cursor: pointer; max-width: 60ch; }
.twspe__check input { margin: 3px 0 0; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--twspe-accent); }

/* Errors */
.twspe__err { display: block; margin: 8px 0 0; font-size: 13px; color: #8c1b1b; }
.twspe__err[hidden] { display: none; }
.twspe__error { margin: 18px 0 0; padding: 13px 15px; border-left: 3px solid var(--twspe-accent); background: rgba(107, 31, 46, 0.06); font-size: 14px; }
.twspe__error[hidden] { display: none; }
.twspe__error ul { margin: 6px 0 0; padding-left: 18px; }

/* Nav */
.twspe__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 0; padding: 18px 20px; background: var(--twspe-parchment); }
.twspe__back { margin: 0; padding: 10px 4px; min-height: 44px; border: 0; background: none; box-shadow: none; font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--twspe-muted); cursor: pointer; }
.twspe__back:hover { color: var(--twspe-accent); background: none; }
.twspe__back[hidden] { display: none; }
.twspe__nav .twspe__btn { margin-left: auto; }

/* Review */
.twspe__summary { margin: 0 0 22px; display: grid; grid-template-columns: max-content 1fr auto; border-top: 1px solid var(--twspe-line); }
.twspe__summary dt, .twspe__summary dd, .twspe__summary .twspe__edit { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--twspe-line); }
.twspe__summary dt { padding-right: 24px; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--twspe-muted); align-self: center; }
.twspe__summary dd { font-family: var(--twspe-serif); font-size: 19px; line-height: 1.3; }
.twspe__summary .twspe__edit { padding-left: 16px; align-self: center; }
.twspe__summary .twspe__edit button { padding: 6px 2px; min-height: 32px; border: 0; background: none; box-shadow: none; font-family: inherit; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--twspe-accent); text-decoration: underline; cursor: pointer; }
.twspe__details summary { cursor: pointer; padding: 6px 0; min-height: 36px; font-size: 13px; color: var(--twspe-muted); }
.twspe__wapreview { margin: 8px 0 0; padding: 14px 16px; max-height: 280px; overflow: auto; background: var(--twspe-parchment); border: 1px solid var(--twspe-line); font: 400 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; color: var(--twspe-ink); }

/* Confirmation */
.twspe__card--done[hidden], .twspe__card--form[hidden] { display: none; }
.twspe__card--done .twspe__summary { grid-template-columns: max-content 1fr; }
.twspe__note { margin: 18px 0 0; font-size: 12.5px; color: var(--twspe-muted); }

/* Footer (mirrors .tws-res__footer) */
.twspe__footer { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--twspe-line); }
.twspe__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.twspe__link { display: inline-flex; align-items: center; gap: 7px; color: var(--twspe-muted) !important; text-decoration: none !important; font-size: 12px; letter-spacing: 0.04em; border: 0; transition: color 0.15s ease; }
.twspe__link:hover { color: var(--twspe-accent) !important; }
.twspe__link svg { flex: 0 0 auto; opacity: 0.75; }
.twspe__hours { margin: 14px 0 0; font-size: 11.5px; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; color: var(--twspe-muted); }
.twspe__privacy { margin: 12px 0 0; font-size: 11.5px; color: var(--twspe-muted); }
.twspe__legal { margin: 10px 0 0; font-family: var(--twspe-serif); font-style: italic; font-size: 13px; color: var(--twspe-muted); }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
	.twspe__card { padding: 26px 18px 32px; }
	.twspe__head { flex-direction: row-reverse; align-items: center; }
	.twspe__logo { max-width: 78px; max-height: 44px; }
	.twspe__row, .twspe__arrange ul { grid-template-columns: 1fr; }
	.twspe__cards--c2, .twspe__cards--c3 { grid-template-columns: 1fr; }
	.twspe__cards--tight { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.twspe__cards--c3 label { min-height: 48px; padding: 12px 14px; }
	.twspe__heroimg { aspect-ratio: 4 / 5; }
	.twspe__actions .twspe__btn, .twspe__actions .twspe__wa { width: 100%; }
	.twspe__nav { flex-wrap: wrap; }
	.twspe__nav .twspe__btn { width: 100%; margin-left: 0; }
	.twspe__nav .twspe__back { order: 2; width: 100%; text-align: center; }
	.twspe__summary { grid-template-columns: 1fr auto; }
	.twspe__summary dt { grid-column: 1 / -1; padding-bottom: 0; border-bottom: 0; }
	.twspe__summary dd { padding-top: 4px; }
	.twspe__summary .twspe__edit { padding-top: 4px; }
	.twspe__toggle { display: flex; }
	.twspe__toggle div { flex: 1; }
	.twspe__toggle label { text-align: center; }
}
@media (max-width: 380px) {
	.twspe__cards--tight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.twspe * { transition: none !important; scroll-behavior: auto !important; }
}
