/* ==========================================================================
   TWST Bar Core: public components
   Tokens follow the TWST Bar brand guide and the Oct 26 Figma.
   Override any token from Divi > Theme Options > Custom CSS if needed.
   ========================================================================== */

:root {
	--twst-ink: #181523;
	--twst-ink-2: #24212e;
	--twst-line: #3f3c47;
	--twst-muted-dark: #b9b6c6; /* Figma: muted-on-dark */
	--twst-muted: #5e5a6b;
	--twst-white: #ffffff;
	--twst-ice: #a5f3f2;      /* Baby Hair Blue */
	--twst-teal: #20eee3;     /* Throwback Teal */
	--twst-lavender: #e0dff5; /* R&B Retwist */
	--twst-yellow: #ffd400;   /* Honey Drip */
	--twst-pink: #ff0286;     /* Fly Girl Fuchsia */
	--twst-purple: #6d2bb8;   /* Velvet Crown */
	--twst-disabled: #87868f;

	/* Swap these if the final pair is Big Noodle Titling + Horizon. */
	--twst-font-display: "Anton", "Big Noodle Titling", Impact, "Arial Narrow Bold", sans-serif;
	--twst-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--twst-container: 1280px;
	--twst-gutter: clamp(16px, 5.6vw, 80px);

	/* Type scale, matching the site's Divi settings (desktop / tablet / phone):
	   H2 112 / 60 / 56, body text 22 / 18 / 18. Smaller text and H3s step down with them. */
	--twst-h2: 112px;
	--twst-h3: 44px;
	--twst-text: 22px;
	--twst-text-sm: 18px;
}
@media (max-width: 980px) {
	:root { --twst-h2: 60px; --twst-h3: 32px; --twst-text: 18px; --twst-text-sm: 16px; }
}
@media (max-width: 767px) {
	:root { --twst-h2: 56px; --twst-h3: 28px; --twst-text: 18px; --twst-text-sm: 16px; }
}

.twst-statusbar *, .twst-walkins *, .twst-board *, .twst-menu-today *,
.twst-formwrap *, .twst-popup *, .twst-thread, .twst-record {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.twst-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 16px 30px;
	border: 2px solid var(--twst-ink);
	border-radius: 0;
	font-family: var(--twst-font-body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.twst-btn--dark { background: var(--twst-ink); border-color: var(--twst-ink); color: var(--twst-white) !important; }
.twst-btn--dark:hover { background: #2d2938; border-color: #2d2938; }
.twst-btn--outline { background: transparent; color: var(--twst-ink) !important; }
.twst-btn--outline:hover { background: var(--twst-ink); color: var(--twst-white) !important; }
.twst-btn--light { background: var(--twst-white); border-color: var(--twst-white); color: var(--twst-ink) !important; }
.twst-btn--light:hover { background: var(--twst-lavender); border-color: var(--twst-lavender); }
.twst-btn--outline-light { background: transparent; border-color: var(--twst-white); color: var(--twst-white) !important; }
.twst-btn--outline-light:hover { background: var(--twst-white); color: var(--twst-ink) !important; }
.twst-btn[disabled], .twst-btn.is-busy { background: var(--twst-disabled); border-color: var(--twst-disabled); color: var(--twst-white) !important; cursor: progress; }
.twst-btn:focus-visible { outline: 3px solid var(--twst-teal); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Status dot + chips
   -------------------------------------------------------------------------- */

.twst-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--twst-teal);
	flex: 0 0 auto;
}
.twst-dot--filling { background: var(--twst-yellow); }
.twst-dot--full, .twst-dot--closed { background: var(--twst-pink); }
.twst-dot--open { animation: twst-pulse 2.4s ease-in-out infinite; }
@keyframes twst-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(32, 238, 227, .55); } 50% { box-shadow: 0 0 0 5px rgba(32, 238, 227, 0); } }

.twst-chip {
	display: inline-block;
	padding: 6px 12px;
	font-family: var(--twst-font-body);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--twst-ink);
	background: var(--twst-teal);
}
.twst-chip--filling { background: var(--twst-yellow); }
.twst-chip--full { background: var(--twst-pink); color: var(--twst-white); }
.twst-chip--closed { background: var(--twst-lavender); }

/* --------------------------------------------------------------------------
   Status bar  [twst_status_bar]
   -------------------------------------------------------------------------- */

.twst-statusbar {
	background: var(--twst-ink);
	color: var(--twst-white);
	font-family: var(--twst-font-body);
	font-size: 13px;
	line-height: 1.4;
}
.twst-statusbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: calc(var(--twst-container) + 2 * var(--twst-gutter));
	margin: 0 auto;
	padding: 12px var(--twst-gutter);
}
.twst-statusbar p { margin: 0; padding: 0; }
.twst-statusbar__status { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.twst-statusbar__status .twst-dot { margin-right: 2px; }
.twst-statusbar__title { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.twst-statusbar__detail { font-weight: 700; letter-spacing: 0.04em; color: var(--twst-teal); }
.twst-statusbar__detail--filling,
.twst-statusbar__detail--full,
.twst-statusbar__detail--closed { color: var(--twst-yellow); text-transform: uppercase; }
.twst-statusbar__contact { display: flex; gap: 24px; font-size: 12px; color: var(--twst-muted-dark); white-space: nowrap; }
.twst-statusbar__contact a { color: inherit !important; text-decoration: none; }
.twst-statusbar__contact a:hover { color: var(--twst-teal) !important; }

@media (max-width: 980px) {
	.twst-statusbar__contact { display: none; }
}
@media (max-width: 600px) {
	.twst-statusbar { font-size: 11px; }
	.twst-statusbar__inner { padding-top: 10px; padding-bottom: 10px; }
	.twst-statusbar__status { gap: 2px 8px; }
}

/* --------------------------------------------------------------------------
   Marquee frame (dotted light-bulb border)
   -------------------------------------------------------------------------- */

.twst-marquee {
	--mq: var(--twst-teal);
	--mq-dim: #234e56;
	--dot: 32px;
	position: relative;
	background: var(--twst-ink-2);
	border: 2px solid var(--mq);
	padding: calc(var(--dot) + 24px) calc(var(--dot) + 32px);
}
.twst-marquee--yellow { --mq: var(--twst-yellow); --mq-dim: #4a4220; }
.twst-marquee::before {
	content: "";
	position: absolute;
	inset: 8px;
	pointer-events: none;
	/* "space" spreads the bulbs evenly so every corner lands on one clean dot. */
	background:
		radial-gradient(circle, var(--mq) 3.5px, transparent 4.2px) 0 0 / var(--dot) var(--dot) space no-repeat,
		radial-gradient(circle, var(--mq) 3.5px, transparent 4.2px) 0 100% / var(--dot) var(--dot) space no-repeat,
		radial-gradient(circle, var(--mq) 3.5px, transparent 4.2px) 0 0 / var(--dot) var(--dot) no-repeat space,
		radial-gradient(circle, var(--mq) 3.5px, transparent 4.2px) 100% 0 / var(--dot) var(--dot) no-repeat space;
	animation: twst-bulbs 3.2s ease-in-out infinite;
}
/* Gentle marquee flicker (fallback when JavaScript is off). */
@keyframes twst-bulbs { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }

/* Chasing bulbs, built by twst.js: lit bulbs travel clockwise like a theater marquee. */
.twst-marquee.has-bulbs::before { display: none; }
.twst-bulbs { position: absolute; inset: 8px; pointer-events: none; z-index: 0; }
.twst-bulb {
	position: absolute;
	width: 7px;
	height: 7px;
	margin: -3.5px 0 0 -3.5px;
	border-radius: 50%;
	background: var(--mq-dim);
	animation: twst-bulb .5s linear infinite;
	animation-delay: var(--d, 0s);
}
@keyframes twst-bulb {
	0%, 46% { background: var(--mq); box-shadow: 0 0 6px 1px var(--mq); }
	54%, 100% { background: var(--mq-dim); box-shadow: none; }
}
.twst-marquee > :not(.twst-bulbs) { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
	.twst-marquee::before, .twst-dot--open { animation: none; }
	.twst-bulb { animation: none; background: var(--mq); box-shadow: none; }
}
@media (max-width: 600px) {
	.twst-marquee { --dot: 24px; padding: calc(var(--dot) + 12px) calc(var(--dot) + 14px); }
	.twst-marquee::before, .twst-bulbs { inset: 6px; }
	.twst-bulb { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
}

/* --------------------------------------------------------------------------
   Walk-ins table  [twst_walkins]
   -------------------------------------------------------------------------- */

.twst-walkins { font-family: var(--twst-font-body); color: var(--twst-white); }
.twst-walkins p { margin: 0; padding: 0; }

.twst-table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	table-layout: auto;
	color: var(--twst-white);
	background: transparent !important;
}
.twst-table th, .twst-table td {
	border: 0 !important;
	border-bottom: 1px solid var(--twst-line) !important;
	padding: 22px 16px 22px 0 !important;
	text-align: left;
	vertical-align: middle;
	background: transparent !important;
	font-family: var(--twst-font-body);
}
.twst-table thead th {
	padding: 0 16px 16px 0 !important;
	font-size: 13px;
	font-weight: 500;
	color: var(--twst-muted-dark);
}
.twst-table .twst-table__status-col, .twst-table .twst-table__status { text-align: right; padding-right: 0 !important; }
.twst-table__day { width: 22%; font-weight: 400; }
.twst-table__dow {
	display: block;
	font-family: var(--twst-font-display);
	font-size: 48px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: var(--twst-white);
}
.twst-table__date { display: block; margin-top: 4px; font-size: 13px; color: var(--twst-muted-dark); }
.twst-table__row.is-today .twst-table__date { color: var(--twst-teal); font-weight: 600; }
.twst-table__window { width: 22%; font-size: 20px; color: var(--twst-white); white-space: nowrap; }
.twst-table__window.is-muted { color: var(--twst-muted-dark); }
.twst-table__services { font-size: 17px; color: var(--twst-muted-dark); }
.twst-line { display: block; }
.twst-line + .twst-line { margin-top: 10px; }

.twst-walkins__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
}
.twst-walkins__updated { font-size: 13px; color: var(--twst-muted-dark); }

.twst-walkins-empty {
	padding: 64px 32px;
	text-align: center;
	background: var(--twst-ink);
	border: 2px solid var(--twst-teal);
}
.twst-walkins-empty__title {
	font-family: var(--twst-font-display);
	font-size: clamp(34px, 5vw, 64px);
	line-height: 1.05;
	color: var(--twst-white);
}
.twst-walkins-empty__text { margin: 16px 0 28px !important; font-size: 18px; color: var(--twst-muted-dark); }

@media (max-width: 767px) {
	.twst-table thead { display: none; }
	.twst-table, .twst-table tbody { display: block; }
	.twst-table tr {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas: "day status" "window window" "services services";
		gap: 12px 12px;
		padding: 24px 0;
		border-bottom: 1px solid var(--twst-line);
	}
	.twst-table tr:first-child { padding-top: 4px; }
	.twst-table tr:last-child { border-bottom: 0; }
	.twst-table th, .twst-table td { display: block; width: auto; padding: 0 !important; border: 0 !important; }
	.twst-table__day { grid-area: day; display: flex !important; align-items: baseline; gap: 14px; }
	.twst-table__dow { font-size: 40px; }
	.twst-table__date { margin: 0; font-size: 14px; }
	.twst-table__status { grid-area: status; align-self: center; }
	.twst-table__window { grid-area: window; font-size: 22px; white-space: normal; }
	.twst-table__services { grid-area: services; font-size: 16px; }
	.twst-table__window .twst-line + .twst-line,
	.twst-table__services .twst-line + .twst-line { margin-top: 6px; }
	.twst-walkins__foot { flex-direction: column; align-items: stretch; text-align: left; gap: 24px; }
	.twst-walkins__foot .twst-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Today board (Homepage)  [twst_today style="board"]
   -------------------------------------------------------------------------- */

.twst-board { text-align: center; font-family: var(--twst-font-body); padding-top: 48px; padding-bottom: 56px; container-type: inline-size; }
.twst-board p { margin: 0; padding: 0; }
.twst-board .twst-chip { font-size: 12px; padding: 5px 10px; }
.twst-board__title {
	margin-top: 14px !important;
	font-family: var(--twst-font-display);
	font-size: min(60px, 9.5cqi); /* scales with the board, so it fits on phones */
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--twst-teal);
}
.twst-board__title--filling { color: var(--twst-yellow); }
.twst-board__title--full { color: var(--twst-pink); }
.twst-board__title--closed { color: var(--twst-lavender); }
.twst-board__time {
	margin-top: 4px !important;
	font-family: var(--twst-font-display);
	font-size: min(172px, 19cqi); /* "9AM to 7PM" stays on one line at any width */
	line-height: 1;
	color: var(--twst-white);
}

/* --------------------------------------------------------------------------
   Mobile menu block  [twst_today style="menu"]
   -------------------------------------------------------------------------- */

.twst-menu-today p { margin: 0; padding: 0; }
.twst-menu-today__title {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--twst-font-display);
	font-size: 30px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--twst-teal);
}
.twst-menu-today__title .twst-dot { width: 10px; height: 10px; }
.twst-menu-today__title--filling { color: var(--twst-yellow); }
.twst-menu-today__title--full, .twst-menu-today__title--closed { color: var(--twst-lavender); }
.twst-menu-today__time {
	font-family: var(--twst-font-display);
	font-size: 48px;
	line-height: 1.1;
	color: var(--twst-white);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.twst-formwrap { position: relative; font-family: var(--twst-font-body); color: var(--twst-ink); text-align: left; }
.twst-formwrap p { padding: 0; }
.twst-card { background: var(--twst-white); border: 2px solid var(--twst-ink); padding: 48px; }
.twst-card--shadow-teal { box-shadow: 16px 16px 0 var(--twst-teal); }
.twst-card--shadow-dark { box-shadow: 16px 16px 0 var(--twst-ink); }
.twst-card--shadow-pink { box-shadow: 16px 16px 0 var(--twst-pink); }
.twst-card--shadow-yellow { box-shadow: 16px 16px 0 var(--twst-yellow); }

.twst-form { margin: 0; }
.twst-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.twst-field { grid-column: 1 / -1; min-width: 0; }
.twst-field--half { grid-column: span 1; }

.twst-label {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--twst-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--twst-ink);
}
.twst-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.twst-fieldset legend { float: left; width: 100%; }
.twst-fieldset legend + * { clear: both; }

.twst-input,
.twst-formwrap input.twst-input,
.twst-formwrap select.twst-input,
.twst-formwrap textarea.twst-input {
	display: block;
	width: 100%;
	height: 60px;
	margin: 0;
	padding: 0 18px;
	border: 2px solid var(--twst-ink);
	border-radius: 0;
	background: var(--twst-white);
	box-shadow: none;
	color: var(--twst-ink);
	font-family: var(--twst-font-body);
	font-size: 16px;
	line-height: 1.4;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: box-shadow .12s ease, border-color .12s ease;
}
.twst-formwrap textarea.twst-input { height: auto; min-height: 140px; padding: 16px 18px; resize: vertical; }
.twst-input::placeholder { color: var(--twst-muted); opacity: 1; }
.twst-formwrap .twst-input:focus { border-color: var(--twst-ink); box-shadow: 0 0 0 4px var(--twst-teal); }
.twst-formwrap .twst-input.is-invalid { border-color: var(--twst-pink); }
.twst-formwrap .twst-input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(255, 2, 134, .25); }

.twst-select { position: relative; }
.twst-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%23181523' stroke-width='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.twst-select select.twst-input { padding-right: 48px; cursor: pointer; }
.twst-select select.twst-input:invalid { color: var(--twst-muted); }
.twst-select select option { color: var(--twst-ink); }

.twst-field__msg { min-height: 0; margin: 8px 0 0 !important; font-size: 13px; font-weight: 500; color: var(--twst-pink); }
.twst-field__msg:empty { display: none; }

/* Segmented Yes / No / In progress */
.twst-segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.twst-seg { position: relative; margin: 0; cursor: pointer; }
.twst-seg input, .twst-check input, .twst-drop__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	overflow: hidden;
}
.twst-seg span {
	display: inline-flex;
	align-items: center;
	min-height: 56px;
	padding: 0 22px;
	border: 2px solid var(--twst-ink);
	font-size: 15px;
	font-weight: 600;
	background: var(--twst-white);
	color: var(--twst-ink);
}
.twst-seg input:checked + span { background: var(--twst-ink); color: var(--twst-white); }
.twst-seg input:focus-visible + span { box-shadow: 0 0 0 4px var(--twst-teal); }
.twst-field.is-invalid .twst-seg span { border-color: var(--twst-pink); }

/* Checkboxes */
.twst-checks { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.twst-check { position: relative; display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; color: var(--twst-ink); cursor: pointer; }
.twst-check__box {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	border: 2px solid var(--twst-ink);
	background: var(--twst-white) center / 16px no-repeat;
}
.twst-check input:checked + .twst-check__box {
	background-color: var(--twst-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E");
}
.twst-check input:focus-visible + .twst-check__box { box-shadow: 0 0 0 4px var(--twst-teal); }
.twst-field.is-invalid .twst-check__box { border-color: var(--twst-pink); }

/* File drop */
.twst-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 104px;
	padding: 24px;
	border: 2px dashed var(--twst-ink);
	text-align: center;
	cursor: pointer;
	background: var(--twst-white);
	transition: background-color .12s ease;
}
.twst-drop:hover, .twst-drop.is-over { background: var(--twst-lavender); }
.twst-drop:focus-within { box-shadow: 0 0 0 4px var(--twst-teal); }
.twst-drop__cta { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.twst-drop__hint { font-size: 12px; color: var(--twst-muted); }
.twst-drop__name { font-size: 14px; font-weight: 600; word-break: break-all; }
.twst-field.is-invalid .twst-drop { border-color: var(--twst-pink); }
.twst-drop__remove {
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	font: 600 13px var(--twst-font-body);
	color: var(--twst-ink);
	text-decoration: underline;
	cursor: pointer;
}

/* Actions, note, alert */
.twst-form__actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.twst-form__actions--block { display: block; margin-top: 24px; }
.twst-form__actions--block .twst-btn { width: 100%; min-height: 64px; }
.twst-form__note { margin: 0 !important; max-width: 340px; font-size: 13px; line-height: 1.45; color: var(--twst-muted); }
.twst-form__alert {
	display: inline-block;
	margin-top: 28px;
	padding: 14px 20px 14px 22px;
	background: var(--twst-ink);
	border-left: 4px solid var(--twst-pink);
	color: var(--twst-white);
	font-size: 15px;
	line-height: 1.5;
	max-width: 100%;
}
.twst-form__alert p { margin: 0 !important; }
.twst-form__alert[hidden] { display: none; }
.twst-form.is-sending .twst-form__grid { opacity: .6; pointer-events: none; }

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

/* Success */
.twst-success {
	position: relative;
	overflow: hidden;
	padding: 48px;
	background: var(--twst-teal);
	color: var(--twst-ink);
	outline: none;
}
.twst-success[hidden] { display: none; }
.twst-success--pink { background: var(--twst-pink); }
.twst-success--lavender { background: var(--twst-lavender); }
.twst-success__record { position: absolute; top: -70px; right: -70px; width: 190px; height: 190px; }
.twst-success__title {
	margin: 0 0 16px !important;
	padding-right: 110px;
	font-family: var(--twst-font-display);
	font-size: clamp(40px, 5vw, 60px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--twst-ink);
}
.twst-success__text { margin: 0 0 28px !important; max-width: 440px; font-size: 18px; line-height: 1.55; }
.twst-card.is-done { padding: 0; border: 0; background: transparent; }
.twst-formwrap.is-done .twst-form { display: none; }

@media (max-width: 767px) {
	.twst-card { padding: 28px 20px; }
	.twst-card--shadow-teal { box-shadow: 10px 10px 0 var(--twst-teal); }
	.twst-card--shadow-dark { box-shadow: 10px 10px 0 var(--twst-ink); }
	.twst-card--shadow-pink { box-shadow: 10px 10px 0 var(--twst-pink); }
	.twst-card--shadow-yellow { box-shadow: 10px 10px 0 var(--twst-yellow); }
	.twst-form__grid { grid-template-columns: 1fr; gap: 20px; }
	.twst-field--half { grid-column: 1 / -1; }
	.twst-form__actions { flex-direction: column; align-items: stretch; gap: 16px; }
	.twst-form__actions .twst-btn { width: 100%; min-height: 60px; }
	.twst-form__note { max-width: none; text-align: center; }
	.twst-success { padding: 36px 24px; }
	.twst-success .twst-btn { width: 100%; }
	.twst-seg { flex: 1 1 auto; }
	.twst-seg span { width: 100%; justify-content: center; padding: 0 12px; }
	.twst-checks { gap: 14px 24px; }
}

/* --------------------------------------------------------------------------
   Popups  [twst_popup]
   -------------------------------------------------------------------------- */

.twst-popup {
	width: calc(100% - 32px);
	max-width: 560px;
	max-height: calc(100vh - 48px);
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--twst-ink);
	overflow: visible;
}
.twst-popup::backdrop { background: rgba(24, 21, 35, .6); }
.twst-popup[open] { animation: twst-pop-in .2s ease-out; }
@keyframes twst-pop-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.twst-popup__panel {
	position: relative;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	background: var(--twst-white);
	font-family: var(--twst-font-body);
	overscroll-behavior: contain;
}
.twst-popup__media img { display: block; width: 100%; height: 240px; object-fit: cover; }
.twst-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: var(--twst-white);
	color: var(--twst-ink);
	cursor: pointer;
}
.twst-popup__close svg { width: 22px; height: 22px; }
.twst-popup__close:focus-visible { outline: 3px solid var(--twst-teal); }
.twst-popup__body { padding: 32px 36px 40px; }
.twst-tag {
	display: inline-block;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--twst-teal);
	color: var(--twst-ink);
}
.twst-tag--lavender { background: var(--twst-lavender); }
.twst-tag--yellow { background: var(--twst-yellow); }
.twst-tag--pink { background: var(--twst-pink); color: var(--twst-white); }
.twst-popup__title {
	margin: 18px 0 14px !important;
	padding: 0 !important;
	font-family: var(--twst-font-display) !important;
	font-size: clamp(36px, 6vw, 48px) !important;
	font-weight: 400 !important;
	line-height: 1.05 !important;
	text-transform: uppercase;
	color: var(--twst-ink) !important;
}
.twst-popup__copy { margin-bottom: 24px; font-size: 17px; line-height: 1.55; }
.twst-popup__copy p { margin: 0 0 12px; padding: 0; }
.twst-popup__copy p:last-child { margin-bottom: 0; }
.twst-popup .twst-success { margin: 0 -36px -40px; }

@media (max-width: 600px) {
	.twst-popup {
		width: 100%;
		max-width: 100%;
		margin: auto 0 0;
		max-height: 92vh;
	}
	.twst-popup[open] { animation: twst-sheet-in .25s ease-out; }
	.twst-popup__panel { max-height: 92vh; }
	.twst-popup__media img { height: 180px; }
	.twst-popup__body { padding: 24px 20px 32px; }
	.twst-popup .twst-success { margin: 0 -20px -32px; }
}
@keyframes twst-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
html.twst-noscroll, html.twst-noscroll body { overflow: hidden; }

/* --------------------------------------------------------------------------
   Decorative: record + twist thread
   -------------------------------------------------------------------------- */

.twst-record { display: block; }
.twst-record--deco { width: 100%; height: auto; }
.twst-record--scratch { overflow: visible; margin-left: auto; }

.twst-thread {
	height: 18px;
	width: 100%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 18'%3E%3Cpath d='M0 9 C 12 0, 12 0, 24 9 S 36 18, 48 9' fill='none' stroke='%2320EEE3' stroke-width='3.2'/%3E%3Cpath d='M0 9 C 12 18, 12 18, 24 9 S 36 0, 48 9' fill='none' stroke='%23FF0286' stroke-width='3.2'/%3E%3C/svg%3E") 0 50% / 48px 18px repeat-x;
}

/* ==========================================================================
   Homepage blocks (v1.1)
   ========================================================================== */

/* Ticker  [twst_ticker] */
.twst-ticker { overflow: hidden; background: var(--twst-ink); padding: 22px 0; }
.twst-ticker__track { display: flex; width: max-content; animation: twst-ticker 40s linear infinite; }
.twst-ticker:hover .twst-ticker__track { animation-play-state: paused; }
.twst-ticker__group { display: flex; align-items: center; flex: 0 0 auto; }
.twst-ticker__item {
	font-family: var(--twst-font-display);
	font-size: 42px;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--twst-white);
}
.twst-ticker__item--a { color: var(--twst-yellow); }
.twst-ticker__star { width: 18px; height: 18px; margin: 0 32px; color: var(--twst-teal); flex: 0 0 auto; }
@keyframes twst-ticker { to { transform: translateX(-50%); } }
@media (max-width: 767px) {
	.twst-ticker { padding: 16px 0; }
	.twst-ticker__item { font-size: 28px; }
	.twst-ticker__star { width: 14px; height: 14px; margin: 0 20px; }
}
@media (prefers-reduced-motion: reduce) { .twst-ticker__track { animation: none; } }

/* What we do rows  [twst_features] */
.twst-features { border-top: 2px solid var(--twst-ink); font-family: var(--twst-font-body); color: var(--twst-ink); container-type: inline-size; }
.twst-feature {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) minmax(240px, 30%);
	gap: 0 24px;
	align-items: center;
	padding: 22px 20px 22px 20px;
	border-bottom: 2px solid var(--twst-ink);
	color: var(--twst-ink) !important;
	text-decoration: none !important;
	transition: background-color .15s ease;
}
.twst-feature:hover, a.twst-feature:focus-visible { background: var(--twst-yellow); outline: none; }
.twst-feature__num { align-self: start; padding-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--twst-muted); }
.twst-feature__title {
	position: relative;
	font-family: var(--twst-font-display);
	font-size: min(144px, 10.8cqi); /* sized to the block, so titles stay on one line on any desktop */
	line-height: .92;
	text-transform: uppercase;
}
.twst-feature__desc { font-size: var(--twst-text-sm); line-height: 1.55; }
.twst-feature__desc p { margin: 0 0 16px !important; padding: 0 !important; }
.twst-feature__desc p:last-child { margin-bottom: 0 !important; }
.twst-feature__desc .twst-btn, .twst-feature__desc .et_pb_button { margin-top: 8px; }
.twst-feature--bottom { align-items: start; padding-top: 36px; padding-bottom: 28px; }
.twst-feature--bottom .twst-feature__title { align-self: end; }
.twst-feature--bottom .twst-feature__num { align-self: end; padding-bottom: 96px; }
.twst-feature__img {
	position: absolute;
	left: var(--mx, 62%);
	top: var(--my, 50%);
	z-index: 2;
	width: 200px;
	height: 200px;
	object-fit: cover;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) rotate(-5deg) scale(.9);
	box-shadow: 0 18px 40px rgba(24, 21, 35, .35);
	transition: opacity .2s ease, transform .2s ease;
}
@media (hover: hover) and (min-width: 981px) {
	.twst-feature.has-image:hover .twst-feature__img { opacity: 1; transform: translate(-50%, -50%) rotate(-5deg) scale(1); }
}
@media (max-width: 980px) {
	.twst-feature__img { display: none; }
}
/* Tablets: title on its own line, description underneath (no more overlap). */
@media (min-width: 768px) and (max-width: 1100px) {
	.twst-feature,
	.twst-feature--bottom { grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 12px 24px; padding: 24px 20px 28px; }
	.twst-feature__num,
	.twst-feature--bottom .twst-feature__num { padding: 10px 0 0; align-self: start; }
	.twst-feature__title,
	.twst-feature--bottom .twst-feature__title { font-size: min(120px, 13.5cqi); align-self: start; }
	.twst-feature__desc { grid-column: 2; max-width: 560px; }
}
@media (max-width: 767px) {
	.twst-feature { grid-template-columns: 1fr; gap: 6px; padding: 20px 4px 24px; }
	.twst-feature__num { padding: 0; }
	.twst-feature__title { font-size: 52px; }
	.twst-feature__desc { margin-top: 8px; }
	.twst-feature--bottom .twst-feature__num { padding-bottom: 0; }
	.twst-feature--bottom .twst-feature__title { order: 0; }
}

/* Promo cards  [twst_card] */
.twst-pcard {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 24px 14px 14px;
	background: var(--twst-card-bg, var(--twst-teal));
	color: var(--twst-card-ink, var(--twst-ink)) !important;
	text-decoration: none !important;
	font-family: var(--twst-font-body);
	transition: transform .15s ease, box-shadow .15s ease;
}
.twst-pcard:hover, .twst-pcard:focus-visible { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--twst-white); outline: none; }
.twst-pcard__img { width: 96px; height: 96px; object-fit: cover; flex: 0 0 96px; display: block; }
.twst-pcard__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.twst-pcard__title { font-family: var(--twst-font-display); font-size: 30px; line-height: 1.05; text-transform: uppercase; }
.twst-pcard__text { font-size: 15px; line-height: 1.4; }
.twst-pcard__more { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 767px) {
	.twst-pcard { padding: 12px 16px 12px 12px; }
	.twst-pcard__img { width: 64px; height: 64px; flex-basis: 64px; }
	.twst-pcard__title { font-size: 26px; }
	.twst-pcard__text { display: none; }
}

/* Stars, rating, reviews  [twst_rating] [twst_reviews] */
.twst-stars { color: var(--twst-yellow); letter-spacing: 3px; white-space: nowrap; }
.twst-stars__off { color: #d9d8e3; }
.twst-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; font-family: var(--twst-font-body); color: var(--twst-ink); }
.twst-rating__score { font-family: var(--twst-font-display); font-size: 44px; line-height: 1; }
.twst-rating .twst-stars { font-size: 22px; }
.twst-rating__link { font-size: 15px; font-weight: 600; color: var(--twst-ink) !important; text-decoration: underline; text-underline-offset: 3px; }

.twst-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; font-family: var(--twst-font-body); color: var(--twst-ink); }
.twst-review { border-top: 4px solid var(--twst-ink); padding-top: 26px; display: flex; flex-direction: column; }
.twst-review p { padding: 0; }
.twst-review__top { display: flex; align-items: center; gap: 14px; margin: 0 0 18px !important; font-size: 14px; }
.twst-review__top .twst-stars { font-size: 16px; }
.twst-review__when { color: var(--twst-muted); font-weight: 500; }
.twst-review__text { font-size: var(--twst-text-sm); line-height: 1.5; }
.twst-review__text p { margin: 0 !important; }
.twst-review:not(.is-open) .twst-review__text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.twst-review__more {
	align-self: flex-start;
	margin: 18px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font: 600 14px var(--twst-font-body);
	color: var(--twst-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.twst-review__more[hidden] { display: none; }
.twst-review__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 16px; }
.twst-review__who { margin: 0 !important; display: flex; flex-direction: column; font-size: 15px; line-height: 1.45; }
.twst-review__who span { color: var(--twst-muted); }
.twst-review__google { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: var(--twst-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
	.twst-reviews { grid-template-columns: 1fr; gap: 40px; }
	.twst-rating__score { font-size: 36px; }
}

/* Album sleeve + record  [twst_sleeve] (v1.2) */
/* The record runs off the screen edge: clip it at the section so the page never scrolls sideways. */
.et_pb_section:has(.twst-sleeve), .et_pb_section:has(.twst-collage), .et_pb_section:has(.twst-record--scratch), .twst-clip { overflow-x: clip; }
.twst-sleeve {
	position: relative;
	width: 100%;
	max-width: var(--sleeve-size, 520px);
	aspect-ratio: 1 / 1;
}
.twst-sleeve__record {
	position: absolute;
	top: -8%;
	left: var(--rec-off, 50%);
	width: 104%;
	height: auto;
	z-index: 0;
}
.twst-sleeve__photo {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	box-shadow: 0 30px 60px rgba(24, 21, 35, .45);
	background: var(--twst-ink);
}
.twst-sleeve__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.twst-sleeve__photo .twst-sleeve__logo {
	position: absolute;
	top: 6%;
	left: 6%;
	width: 11%;
	height: auto;
	object-fit: contain;
}
@media (max-width: 767px) {
	.twst-sleeve { width: 74%; }
	.twst-sleeve__record { left: var(--rec-off-m, 50%); top: -1%; }
	.twst-sleeve__photo { box-shadow: 0 20px 40px rgba(24, 21, 35, .45); }
}

/* ==========================================================================
   Mobile menu  [twst_mobile_menu]  (v1.4)
   Figma "Mobile Menu" frame, 390 x 844.
   ========================================================================== */

.twst-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 5;
	flex: 0 0 auto;
	width: var(--twst-burger-size, 50px);
	height: var(--twst-burger-size, 50px);
	margin: 0;
	padding: 0;
	border: 2px solid currentColor;
	border-radius: 0;
	background: transparent;
	color: var(--twst-ink);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}
.twst-burger--white { color: var(--twst-white); }
.twst-burger:focus-visible { outline: 3px solid var(--twst-teal); outline-offset: 3px; }
.twst-burger__lines { display: flex; flex-direction: column; gap: 4px; width: 21px; }
.twst-burger__lines span { display: block; height: 3px; background: currentColor; }
.twst-burger__lines span:nth-child(3) { width: 14px; }
@media (min-width: 981px) {
	.twst-burger--mobile-only { display: none !important; }
}

/* Panel */
.twst-menu {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--twst-ink);
	color: var(--twst-white);
	font-family: var(--twst-font-body);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
.twst-menu::backdrop { background: var(--twst-ink); }
.twst-menu[open] { animation: twst-menu-in .22s ease-out; }
@keyframes twst-menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .twst-menu[open] { animation: none; } }
.twst-menu *, .twst-burger * { box-sizing: border-box; }

.twst-menu__inner {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 12px 20px 37px;
	overflow-x: clip;
}
.twst-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 48px;
}
.twst-menu__logo { display: block; line-height: 0; margin-left: 2px; }
.twst-menu__logo img { display: block; width: 44px; height: auto; max-height: 40px; object-fit: contain; }
.twst-menu__logo span { font-family: var(--twst-font-display); font-size: 24px; line-height: 1; color: var(--twst-white); }
.twst-menu__close {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	margin: 0;
	padding: 0 17px;
	border: 2px solid var(--twst-white);
	border-radius: 0;
	background: transparent;
	color: var(--twst-white);
	font-family: var(--twst-font-body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.twst-menu__close svg { width: 14px; height: 14px; flex: 0 0 auto; }
.twst-menu__close:hover { background: var(--twst-white); color: var(--twst-ink); }
.twst-menu__close:focus-visible { outline: 3px solid var(--twst-teal); outline-offset: 3px; }

.twst-menu .twst-menu-today { margin-top: 45px; }
.twst-menu .twst-menu-today__title { font-size: 28px; line-height: 1.1; gap: 11px; }
.twst-menu .twst-menu-today__time { font-size: 40px; line-height: 1.1; margin-top: 2px; }

.twst-menu__nav { margin-top: 29px; }
.twst-menu__nav ul { list-style: none; margin: 0; padding: 0; }
.twst-menu__nav li { margin: 0; padding: 0; border-bottom: 1px solid var(--twst-line); list-style: none; }
.twst-menu__nav a {
	display: block;
	padding: 10px 0 8px;
	font-family: var(--twst-font-display);
	font-size: 56px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--twst-white) !important;
	text-decoration: none !important;
	transition: color .15s ease;
}
.twst-menu__nav a:hover,
.twst-menu__nav a.is-current { color: var(--twst-menu-active, var(--twst-teal)) !important; }
.twst-menu__nav a:focus-visible { outline: 3px solid var(--twst-teal); outline-offset: -3px; }

.twst-menu__foot { margin-top: auto; padding-top: 48px; }
.twst-menu__cta { display: flex !important; width: 100%; min-height: 58px; }
.twst-menu__contact { margin: 20px 0 0; padding: 0; font-size: 16px; line-height: 1.55; color: var(--twst-muted-dark); }
.twst-menu__contact span, .twst-menu__contact a { display: block; color: var(--twst-muted-dark) !important; text-decoration: none !important; }
.twst-menu__contact a:hover { color: var(--twst-white) !important; }
.twst-menu__thread { margin: 24px -20px 0 -3px; width: auto; }

/* Tablets get a little more room. */
@media (min-width: 600px) {
	.twst-menu__inner { padding: 20px 40px 40px; }
	.twst-menu__nav a { font-size: 80px; }
	.twst-menu__foot { max-width: 560px; }
	.twst-menu__thread { margin-right: -40px; }
}

/* ==========================================================================
   Services price menu  [twst_prices] [twst_price_group] [twst_price]  (v1.5)
   ========================================================================== */

.twst-prices { display: flex; flex-direction: column; gap: 56px; font-family: var(--twst-font-body); color: var(--twst-ink); }
.twst-prices *, .twst-prices *::before { box-sizing: border-box; }
.twst-prices__col { display: contents; }
@media (min-width: 981px) {
	.twst-prices:not(.twst-prices--single) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 80px; align-items: start; }
	.twst-prices__col { display: flex; flex-direction: column; gap: 72px; }
}

.twst-price-group { container-type: inline-size; min-width: 0; }
.twst-price-group__head {
	display: flex;
	align-items: center;
	gap: min(20px, 3.4cqi);
	padding-bottom: 20px;
	border-bottom: 3px solid var(--twst-ink);
}
.twst-price-group__record { flex: 0 0 auto; width: min(58px, 12.6cqi); height: auto; }
.twst-price-group .twst-price-group__title {
	margin: 0;
	padding: 0;
	font-family: var(--twst-font-display);
	font-weight: 400;
	font-size: min(72px, 11.6cqi);
	line-height: 1;
	text-transform: uppercase;
	color: var(--twst-ink);
	white-space: nowrap;
}
.twst-price-group__side {
	align-self: center;
	margin-left: 2px;
	font-size: clamp(13px, 2.6cqi, 15px);
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--twst-muted);
	min-width: 0;
	line-height: 1.3;
}

/* Divi adds padding and bullets to lists inside modules; undo that here. */
.twst-prices .twst-price-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.twst-prices .twst-price-list > li { list-style: none !important; margin: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.twst-prices .twst-price-list > li::before, .twst-prices .twst-price-list > li::marker { content: none !important; }

/* Row: desktop / wide column */
.twst-price {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) auto auto;
	grid-template-areas: "code name detail amount";
	align-items: center;
	column-gap: 16px;
	margin: 0;
	padding: 20px 0 21px;
	list-style: none;
	background: radial-gradient(circle, #a9a6b4 1px, transparent 1.3px) 0 100% / 7.5px 2px repeat-x;
}
.twst-price.has-tag {
	grid-template-columns: 32px minmax(0, 1fr) auto auto auto;
	grid-template-areas: "code name detail amount tag";
}
.twst-price__meta { display: contents; }
.twst-price__code { grid-area: code; font-size: 14px; line-height: 1; color: var(--twst-muted); }
.twst-price__name { grid-area: name; font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--twst-ink); }
.twst-price__detail { grid-area: detail; font-size: 16px; line-height: 1.3; color: var(--twst-muted); white-space: nowrap; text-align: right; }
.twst-price__amount {
	grid-area: amount;
	font-family: var(--twst-font-display);
	font-size: 30px;
	line-height: 1.1;
	color: var(--twst-ink);
	white-space: nowrap;
	text-align: right;
}
.twst-price__plus { display: inline-block; font-size: 0.78em; transform: translateY(-0.06em); margin-right: 1px; }
.twst-price__tag {
	grid-area: tag;
	justify-self: end;
	padding: 6px 8px 5px;
	border: 1.5px solid var(--twst-ink);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--twst-ink);
	white-space: nowrap;
}

/* Row: phones and narrow columns. Name + price on top, detail + tag underneath. */
@container (max-width: 559px) {
	.twst-price, .twst-price.has-tag {
		grid-template-columns: 26px minmax(0, 1fr) auto;
		grid-template-areas: "code name amount" "code meta meta";
		align-items: start;
		column-gap: 12px;
		row-gap: 6px;
		padding: 20px 0 22px;
	}
	.twst-price__code { padding-top: 4px; }
	.twst-price__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
	.twst-price__detail { font-size: 14px; white-space: normal; text-align: left; }
	.twst-price__amount { font-size: 30px; line-height: 1; padding-top: 1px; }
	.twst-price__tag { padding: 5px 7px 4px; font-size: 12px; }
}

/* ==========================================================================
   Photo collage + record  [twst_collage]  (v1.6)
   Measured from the About "Part salon. Part hangout." frame (600 x 613 box).
   ========================================================================== */
.twst-collage {
	position: relative;
	width: 100%;
	max-width: var(--collage-size, 600px);
	aspect-ratio: 600 / 613;
}
.twst-collage__record {
	position: absolute;
	top: -5.1%;
	left: 51.2%;
	width: 61.7%;
	height: auto;
	z-index: 0;
}
.twst-collage__photo { position: absolute; background: var(--twst-ink-2); overflow: hidden; }
.twst-collage__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.twst-collage__photo--a { top: 0; left: 0; width: 73.3%; height: 58.7%; z-index: 1; }
.twst-collage__photo--b { top: 47.8%; right: 0; width: 53.3%; height: 52.2%; z-index: 2; }

/* ==========================================================================
   Values grid  [twst_values] [twst_value]  (v1.7)
   About "What we stand on." 1440 frame: 2 x 353px columns, 48px gap.
   ========================================================================== */
.twst-values {
	display: grid;
	/* Up to --twst-values-cols columns (default 2), each at least 280px wide. */
	grid-template-columns: repeat(auto-fit, minmax(min(100%, max(280px, (100% - (var(--twst-values-cols, 2) - 1) * 48px) / var(--twst-values-cols, 2))), 1fr));
	column-gap: 48px;
	row-gap: 52px;
	font-family: var(--twst-font-body);
}
.twst-value { min-width: 0; padding-top: 24px; border-top: 3px solid var(--twst-values-line, var(--twst-purple)); box-sizing: border-box; }
.twst-values .twst-value__title {
	margin: 0;
	padding: 0;
	font-family: var(--twst-font-display);
	font-weight: 400;
	font-size: var(--twst-h3);
	line-height: 1;
	text-transform: none;
	color: var(--twst-ink);
}
.twst-value__text { display: block; margin-top: 14px; font-size: var(--twst-text-sm); line-height: 1.55; color: var(--twst-ink); }
@media (max-width: 767px) {
	.twst-values { row-gap: 40px; }
	.twst-value { padding-top: 22px; }
	.twst-values .twst-value__title { line-height: 1.05; }
	.twst-value__text { margin-top: 10px; }
}

/* ==========================================================================
   Join Our Team sections  [twst_role] [twst_checklist] [twst_steps]  (v1.8)
   and the shared section headline. Sizes from the 1440 Figma frame.
   ========================================================================== */
.twst-sec { font-family: var(--twst-font-body); color: var(--twst-ink); }
.twst-sec *, .twst-sec *::before { box-sizing: border-box; }
.twst-sec p { padding: 0; }
.twst-sec .twst-sec__title {
	margin: 0;
	padding: 0;
	font-family: var(--twst-font-display);
	font-weight: 400;
	font-size: var(--twst-h2);
	line-height: 0.92;
	text-transform: uppercase;
	color: var(--twst-ink);
}
.twst-sec--dark, .twst-sec--dark .twst-sec__title { color: var(--twst-white); }
.twst-sec ul, .twst-sec ol { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.twst-sec li { list-style: none !important; margin: 0; padding-left: 0; }
.twst-sec li::before, .twst-sec li::marker { content: none !important; }

/* Section 2: values grid with headline and note */
.twst-sec--values .twst-values { margin-top: 64px; }
.twst-sec .twst-sec__note { margin: 72px 0 0; font-size: var(--twst-text-sm); line-height: 1.55; }

/* Section 3: the role */
.twst-role__grid {
	display: grid;
	grid-template-columns: minmax(0, 552fr) minmax(0, 728fr);
	column-gap: 0;
	padding-top: 28px;
	border-top: 1px solid var(--twst-line);
}
.twst-role .twst-role__name {
	margin: 0;
	padding: 0 24px 0 0;
	font-family: var(--twst-font-display);
	font-weight: 400;
	font-size: 72px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--twst-white);
}
.twst-role__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.twst-role__tags li {
	padding: 6px 12px 6px;
	border: 2px solid var(--twst-pink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.02em;
	color: var(--twst-pink);
}
.twst-sec .twst-role__summary { margin: 24px 0 0; font-size: var(--twst-text-sm); line-height: 1.55; color: var(--twst-muted-dark); }
.twst-role .twst-role__list-title {
	grid-column: 1;
	margin: 100px 0 0;
	padding: 0 24px 0 0;
	font-family: var(--twst-font-display);
	font-weight: 400;
	font-size: var(--twst-h3);
	line-height: 1;
	text-transform: uppercase;
	color: var(--twst-white);
}
.twst-sec .twst-role__list { grid-column: 2; margin-top: 100px !important; display: flex; flex-direction: column; gap: 14px; }
.twst-role__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; font-size: var(--twst-text-sm); line-height: 1.55; color: var(--twst-muted-dark); }
.twst-role__num { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: var(--twst-pink); }
.twst-sec .twst-role__note { margin: 72px 0 0; font-size: var(--twst-text); line-height: 1.5; color: var(--twst-white); }

/* Section 4: checklist */
.twst-checklist.has-heading { display: grid; grid-template-columns: minmax(0, 599fr) minmax(0, 681fr); align-items: start; }
.twst-sec .twst-checklist__list { margin-top: 0 !important; }
.twst-checklist__list li {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	align-items: center;
	column-gap: 20px;
	padding: 22px 0;
	border-bottom: 2px solid #c4c2d8;
	font-size: var(--twst-text);
	line-height: 1.5;
	color: var(--twst-ink);
}
.twst-checklist__list li:first-child { padding-top: 0; }
.twst-checklist__box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--twst-pink);
	color: var(--twst-ink);
}
.twst-checklist__box svg { width: 18px; height: 18px; }

/* Section 5: how it works */
.twst-sec .twst-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; row-gap: 56px; }
/* Space under the headline only when the block prints its own (heading="..."). */
.twst-sec__title + .twst-role__grid { margin-top: 58px; }
.twst-sec .twst-sec__title + .twst-steps__list { margin-top: 69px !important; }
.twst-sec .twst-sec__title + .twst-checklist__list { margin-top: 2px !important; }
.twst-step__num {
	display: block;
	padding-bottom: 14px;
	border-bottom: 3px solid var(--twst-ink);
	font-family: var(--twst-font-display);
	font-size: 196px;
	line-height: 0.92;
	color: var(--twst-pink);
}
.twst-steps .twst-step__title {
	margin: 18px 0 0;
	padding: 0;
	font-family: var(--twst-font-display);
	font-weight: 400;
	font-size: var(--twst-h3);
	line-height: 1;
	text-transform: none;
	color: var(--twst-ink);
}
.twst-sec .twst-step__text { display: block; margin: 14px 0 0; font-size: var(--twst-text-sm); line-height: 1.75; color: var(--twst-ink); }

/* Tablets */
@media (max-width: 1100px) {
	.twst-sec .twst-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	.twst-role .twst-role__name { font-size: 48px; }
	.twst-step__num { font-size: 120px; }
	.twst-role__grid { grid-template-columns: minmax(0, 1fr); }
	.twst-role .twst-role__name { padding: 0; }
	.twst-role__about { margin-top: 20px; }
	.twst-role .twst-role__list-title { margin-top: 64px; padding: 0; }
	.twst-sec .twst-role__list { grid-column: 1; margin-top: 24px !important; }
	.twst-checklist.has-heading { grid-template-columns: minmax(0, 1fr); }
	.twst-sec .twst-sec__title + .twst-checklist__list { margin-top: 48px !important; }
}

/* Phones */
@media (max-width: 767px) {
	.twst-sec .twst-sec__title { line-height: 0.93; }
	.twst-sec--values .twst-values { margin-top: 36px; }
	.twst-sec .twst-sec__note { margin-top: 48px; }

	.twst-role__grid { padding-top: 24px; }
	.twst-sec__title + .twst-role__grid { margin-top: 32px; }
	.twst-role .twst-role__name { font-size: 40px; }
	.twst-role__about { margin-top: 14px; }
	.twst-role__tags li { padding: 5px 10px; font-size: 13px; }
	.twst-sec .twst-role__summary { margin-top: 20px; }
	.twst-role .twst-role__list-title { margin-top: 56px; }
	.twst-sec .twst-role__list { margin-top: 20px !important; gap: 12px; }
	.twst-role__list li { grid-template-columns: 30px minmax(0, 1fr); }
	.twst-role__num { font-size: 13px; }
	.twst-sec .twst-role__note { margin-top: 40px; }

	.twst-sec .twst-sec__title + .twst-checklist__list { margin-top: 36px !important; }
	.twst-checklist__list li { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 18px 0; line-height: 1.55; }
	.twst-checklist__box { width: 28px; height: 28px; }
	.twst-checklist__box svg { width: 16px; height: 16px; }

	.twst-sec .twst-steps__list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
	.twst-sec .twst-sec__title + .twst-steps__list { margin-top: 28px !important; }
	.twst-step { display: grid; grid-template-columns: 68px minmax(0, 1fr); padding: 20px 0 36px; border-top: 3px solid var(--twst-ink); }
	.twst-step__num { padding: 0; border: 0; font-size: 72px; line-height: 0.95; }
	.twst-steps .twst-step__title { margin-top: 4px; }
	.twst-sec .twst-step__text { margin-top: 8px; line-height: 1.55; }
}
