/* ============================================
   THE GARDEN HUB — Video Walkthrough page
   Pre-delivery access video upload.
   Tokens come from app.css (--ink, --cream, --paper, --clay, etc).
   ============================================ */

.twy-vw {
	background: var(--cream);
	min-height: 100vh;
}

/* Honour the HTML5 `hidden` attribute on flex/grid descendants — several
   blocks below use display:flex|grid which would otherwise win the cascade
   over the UA `[hidden] { display: none }` rule. */
.twy-vw [hidden] { display: none !important; }

/* Honeypot — visually hidden but still focusable by bots. */
.twy-vw .twy-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

/* =========== Masthead =========== */
.twy-vw-masthead {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.twy-vw-masthead__wrap {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 56px 24px 48px;
}
@media (min-width: 768px)  { .twy-vw-masthead__wrap { padding: 56px 48px 48px; } }
@media (min-width: 1200px) { .twy-vw-masthead__wrap { padding: 64px 64px 56px; } }

.twy-vw-masthead__eyebrow {
	color: var(--clay);
	margin-bottom: 14px;
}

.twy-vw-masthead__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 64px;
	align-items: end;
}
@media (max-width: 900px) {
	.twy-vw-masthead__grid {
		grid-template-columns: 1fr;
		gap: 24px;
		align-items: start;
	}
}

.twy-vw-masthead__title {
	font-size: clamp(40px, 6vw, 76px);
	line-height: 0.95;
	letter-spacing: -0.02em;
	max-width: 720px;
	margin: 0;
}

.twy-vw-masthead__lede {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--stone-2);
	max-width: 420px;
	padding-bottom: 8px;
	margin: 0;
}

/* =========== Body grid =========== */
.twy-vw-body {
	padding: 64px 0 120px;
}

.twy-vw-body__wrap {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}
@media (min-width: 768px)  { .twy-vw-body__wrap { padding: 0 48px; } }
@media (min-width: 1200px) { .twy-vw-body__wrap { padding: 0 64px; } }

.twy-vw-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 72px;
	align-items: start;
}
@media (max-width: 900px) {
	.twy-vw-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
}

/* =========== Sidebar =========== */
.twy-vw-aside {
	position: sticky;
	top: 32px;
}
@media (max-width: 900px) {
	.twy-vw-aside { position: static; }
}

.twy-vw-aside__eyebrow {
	margin-bottom: 18px;
}

.twy-vw-steps {
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.twy-vw-step {
	display: flex;
	gap: 14px;
	margin: 0;
}

.twy-vw-step__num {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--cream);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
}

.twy-vw-step__body {
	display: flex;
	flex-direction: column;
}

.twy-vw-step__title {
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.3;
	margin-bottom: 2px;
	color: var(--ink);
}

.twy-vw-step__desc {
	font-size: 13.5px;
	color: var(--stone-2);
	line-height: 1.5;
}

.twy-vw-tech {
	border-top: 1px solid var(--line);
	padding-top: 24px;
}

.twy-vw-tech__eyebrow {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 8px;
}

.twy-vw-tech__line {
	font-size: 13px;
	color: var(--stone-2);
	line-height: 1.6;
	margin: 0 0 14px;
}
.twy-vw-tech__line:last-child { margin-bottom: 0; }

.twy-vw-tech__link {
	color: var(--ink);
	border-bottom: 1px solid var(--line-strong);
	transition: border-color 0.2s var(--ease-out);
}
.twy-vw-tech__link:hover {
	border-bottom-color: var(--ink);
}

/* =========== Form card =========== */
.twy-vw-form {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 40px;
	display: flex;
	flex-direction: column;
}
@media (max-width: 600px) {
	.twy-vw-form { padding: 28px 22px; }
}

.twy-vw-field { margin-bottom: 32px; }
.twy-vw-field:last-of-type { margin-bottom: 24px; }

.twy-vw-field__label-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 10px;
}

.twy-vw-field__label {
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
}

.twy-vw-field__hint {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--stone-2);
	letter-spacing: 0.08em;
}

.twy-vw-field__help {
	font-size: 12px;
	color: var(--stone-2);
	margin-top: 8px;
	line-height: 1.5;
}

.twy-vw-input--mono {
	font-family: var(--font-mono);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.twy-vw-input--mono::placeholder {
	font-family: var(--font-mono);
	letter-spacing: 0.04em;
	color: var(--stone-2);
	opacity: 0.7;
}

/* =========== Order-number live validation =========== */
.twy-vw-order-status {
	margin-top: 10px;
	font-size: 12.5px;
	line-height: 1.5;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.twy-vw-order-status::before {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	font-size: 10px;
	line-height: 1;
	font-weight: 700;
	margin-top: 1px;
}
.twy-vw-order-status.is-checking {
	color: var(--stone-2);
}
.twy-vw-order-status.is-checking::before {
	content: "…";
	background: var(--cream-3);
	color: var(--stone-2);
	font-size: 12px;
	margin-top: -1px;
}
.twy-vw-order-status.is-valid {
	color: var(--sage-deep);
}
.twy-vw-order-status.is-valid::before {
	content: "✓";
	background: var(--sage);
	color: var(--ink);
}
.twy-vw-order-status.is-invalid {
	color: var(--rust);
}
.twy-vw-order-status.is-invalid::before {
	content: "!";
	background: rgba(168, 74, 38, 0.12);
	color: var(--rust);
}
.twy-vw-order-status a {
	color: inherit;
	font-weight: 500;
	border-bottom: 1px solid currentColor;
}
.twy-vw-order-status a:hover {
	opacity: 0.8;
}

/* =========== Order-number lookup =========== */
.twy-vw-lookup-toggle {
	margin-left: 6px;
	font-family: inherit;
	font-size: 12px;
	color: var(--clay);
	font-weight: 500;
	border: none;
	background: transparent;
	border-bottom: 1px solid var(--clay);
	padding: 0 0 1px;
	cursor: pointer;
	transition: color 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}
.twy-vw-lookup-toggle:hover {
	color: var(--clay-deep);
	border-bottom-color: var(--clay-deep);
}

.twy-vw-lookup {
	margin-top: 14px;
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 18px 18px 16px;
}

.twy-vw-lookup__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
}

.twy-vw-lookup__title {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
}

.twy-vw-lookup__sub {
	font-size: 12.5px;
	color: var(--stone-2);
	line-height: 1.5;
}

.twy-vw-lookup__choice {
	display: flex;
	gap: 16px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.twy-vw-lookup__radio {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: var(--ink);
	cursor: pointer;
	font-weight: 500;
}
.twy-vw-lookup__radio input {
	accent-color: var(--ink);
	margin: 0;
}

.twy-vw-lookup__row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
@media (max-width: 480px) {
	.twy-vw-lookup__row { flex-direction: column; }
}

.twy-vw-lookup__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	font-size: 14px;
}

.twy-vw-lookup__submit {
	flex-shrink: 0;
	white-space: nowrap;
}
.twy-vw-lookup__submit:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.twy-vw-lookup__status {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-size: 12.5px;
	color: var(--stone-2);
	line-height: 1.5;
}
.twy-vw-lookup__status.is-error {
	color: var(--rust);
}

/* =========== Dropzone =========== */
.twy-vw-drop {
	position: relative;
	border: 1.5px dashed var(--line-strong);
	background: var(--cream);
	border-radius: 12px;
	padding: 56px 32px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s var(--ease-out);
}

.twy-vw-drop:hover,
.twy-vw-drop:focus-visible {
	border-color: var(--clay);
	outline: none;
}

.twy-vw-drop.is-dragging {
	border-color: var(--clay);
	background: rgba(226, 106, 58, 0.05);
}

.twy-vw-drop__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--cream);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.twy-vw-drop__heading {
	font-family: var(--font-display);
	font-size: 24px;
	line-height: 1;
	letter-spacing: -0.01em;
	margin-bottom: 6px;
	color: var(--ink);
}

.twy-vw-drop__sub {
	font-size: 13.5px;
	color: var(--stone-2);
	margin-bottom: 16px;
}

.twy-vw-drop__browse {
	color: var(--clay);
	font-weight: 500;
	border-bottom: 1px solid var(--clay);
}

.twy-vw-drop__types {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--stone-2);
}

.twy-vw-file-input {
	display: none;
}

/* =========== Selected state =========== */
.twy-vw-selected {
	border: 1px solid var(--line);
	background: var(--cream);
	border-radius: 12px;
	overflow: hidden;
}

.twy-vw-selected__preview {
	position: relative;
	background: var(--ink);
	aspect-ratio: 16 / 9;
}
.twy-vw-selected__preview video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: var(--ink);
	display: block;
}

.twy-vw-selected__meta {
	padding: 16px 18px;
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
}

.twy-vw-selected__meta-text {
	min-width: 0;
	flex: 1;
}

.twy-vw-selected__name {
	font-weight: 500;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--ink);
}

.twy-vw-selected__info {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--stone-2);
	margin-top: 2px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.twy-vw-replace {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--stone-2);
	padding: 6px 10px;
	border-radius: 6px;
	transition: color 0.15s var(--ease-out);
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
}
.twy-vw-replace:hover { color: var(--clay); }

.twy-vw-progress {
	padding: 0 18px 18px;
}

.twy-vw-progress__track {
	height: 4px;
	background: var(--cream-3);
	border-radius: 999px;
	overflow: hidden;
}

.twy-vw-progress__fill {
	height: 100%;
	width: 0%;
	background: var(--clay);
	transition: width 0.2s ease-out;
}

.twy-vw-progress__row {
	margin-top: 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--stone-2);
	display: flex;
	justify-content: space-between;
}

/* =========== Error =========== */
.twy-vw-error {
	margin-top: 10px;
	font-size: 12.5px;
	color: var(--rust);
	display: flex;
	gap: 8px;
	align-items: flex-start;
	line-height: 1.5;
}
.twy-vw-error::before {
	content: "·";
	font-weight: 600;
}

.twy-vw-error-fallback {
	margin-top: 8px;
	padding: 12px 14px;
	background: var(--cream-2, #F4EADD);
	border: 1px solid var(--line, rgba(20,23,15,0.12));
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--ink, #2A2F26);
}
.twy-vw-error-fallback a {
	color: var(--ink, #2A2F26);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.twy-vw-error-fallback a:hover {
	color: var(--clay, #93db4c);
}
.twy-vw-error-fallback[hidden] { display: none !important; }

/* =========== Textarea =========== */
.twy-vw-textarea {
	width: 100%;
	padding: 14px 16px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
	font-family: inherit;
	color: var(--ink);
	transition: border-color 0.2s var(--ease-out);
}
.twy-vw-textarea:focus {
	outline: none;
	border-color: var(--ink);
	background: white;
}

/* =========== Submit row =========== */
.twy-vw-submit-row {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
	.twy-vw-submit-row {
		flex-direction: column;
		align-items: stretch;
	}
}

.twy-vw-fineprint {
	font-size: 12px;
	color: var(--stone-2);
	max-width: 340px;
	line-height: 1.5;
	margin: 0;
}

.twy-vw-submit:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	transform: none !important;
}
.twy-vw-submit:disabled:hover {
	background: var(--ink);
	transform: none !important;
}

.twy-vw-submit__icon {
	margin-left: 4px;
}

/* =========== Success state =========== */
.twy-vw-success {
	background: var(--cream);
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 80px 0;
}

.twy-vw-success__wrap {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}
@media (min-width: 768px)  { .twy-vw-success__wrap { padding: 0 48px; } }
@media (min-width: 1200px) { .twy-vw-success__wrap { padding: 0 64px; } }

.twy-vw-success__card {
	max-width: 720px;
	margin: 0 auto;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 64px 56px;
	text-align: center;
}
@media (max-width: 600px) {
	.twy-vw-success__card { padding: 48px 28px; }
}

.twy-vw-success__check {
	width: 64px;
	height: 64px;
	margin: 0 auto 28px;
	border-radius: 50%;
	background: var(--sage);
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.twy-vw-success__eyebrow {
	color: var(--clay);
	margin-bottom: 12px;
}

.twy-vw-success__title {
	font-size: 44px;
	line-height: 1;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
}
@media (max-width: 600px) {
	.twy-vw-success__title { font-size: 34px; }
}

.twy-vw-success__body {
	font-size: 15.5px;
	color: var(--stone-2);
	line-height: 1.6;
	max-width: 480px;
	margin: 0 auto 32px;
}

.twy-vw-success__order {
	font-family: var(--font-mono);
	color: var(--ink);
	font-weight: 500;
}

.twy-vw-success__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

