@import url("fonts.css");

/**
 * Terminy — "Ruhiges Wasser"
 *
 * A deliberate single visual world: deep petrol on paper white, Source Serif 4
 * for headlines, Inter for text, water as the one recurring motif. Every
 * colour is painted explicitly so the page never borrows a host background.
 */

/* ================================================================ tokens */

:root {
	/* Set from the wizard in inc/assets.php, with these as the fallback. */
	--ty-ink: #0C1F26;
	--ty-accent: #16A1B8;
	--ty-paper: #F6F9F9;

	--ty-deep: #0F3A45;
	--ty-deeper: #08171D;
	--ty-shallow: #DCEEF1;
	--ty-white: #FFFFFF;
	--ty-sand: #E8DFD2;

	/* Neutrals carry a slight teal bias — a pure grey would read as unchosen. */
	--ty-muted: #5B7078;
	--ty-line: #DCE5E7;
	--ty-line-soft: #EAF0F1;
	/* A border a visitor is meant to see as a control boundary. */
	--ty-line-strong: #9BAAAE;

	/*
	 * The accent is a brand colour, chosen in the wizard, and at its default it
	 * only reaches 3.08:1 on white — fine for a shape, too little for small
	 * text. Everything that is read rather than looked at uses this darker
	 * variant instead: 5.7:1 on white, 5.4:1 on paper, 4.7:1 on shallow.
	 */
	--ty-accent-text: color-mix(in srgb, var(--ty-accent) 58%, #052F38);

	--ty-display: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--ty-body: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;

	--ty-radius: 14px;
	--ty-radius-lg: 26px;
	--ty-radius-pill: 999px;

	--ty-wrap: 1200px;
	--ty-narrow: 720px;
	--ty-gutter: clamp(20px, 5vw, 48px);
	--ty-section: clamp(64px, 9vw, 132px);

	--ty-ease: cubic-bezier(0.22, 0.9, 0.36, 1);
	--ty-shadow: 0 24px 60px -34px rgba(12, 31, 38, 0.45);
	--ty-shadow-lg: 0 44px 90px -46px rgba(12, 31, 38, 0.5);
}

.ty-sharp {
	--ty-radius: 2px;
	--ty-radius-lg: 4px;
	--ty-radius-pill: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.ty-site {
	margin: 0;
	background: var(--ty-white);
	color: var(--ty-ink);
	font-family: var(--ty-body);
	font-size: 17.5px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--ty-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ty-accent-text); }

:focus-visible {
	outline: 2px solid var(--ty-accent-text);
	outline-offset: 3px;
	border-radius: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.ty-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 20px;
	background: var(--ty-ink);
	color: var(--ty-white);
	text-decoration: none;
}
.ty-skip:focus { left: 12px; top: 12px; }

/* ================================================================ type */

h1, h2, h3, h4 {
	font-family: var(--ty-display);
	/* Source Serif 4 carries its weight low; 600 is its assured, sober voice. */
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.014em;
	color: var(--ty-ink);
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1, .ty-display { font-size: clamp(38px, 5.8vw, 68px); }
h2 { font-size: clamp(29px, 4vw, 47px); }
h3 { font-size: clamp(20px, 2.2vw, 25px); line-height: 1.24; }
h4 { font-size: 19px; font-family: var(--ty-body); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.ty-eyebrow {
	font-family: var(--ty-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ty-accent-text);
	margin: 0 0 18px;
}

.ty-lead, .ty-page-lead {
	font-size: clamp(19px, 2vw, 23px);
	line-height: 1.5;
	color: var(--ty-muted);
	max-width: 60ch;
}

.ty-muted { color: var(--ty-muted); }

/* Serif numerals for figures — the display face doing quiet work. */
.ty-figure {
	font-family: var(--ty-display);
	font-weight: 500;
	font-size: clamp(38px, 5vw, 60px);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--ty-deep);
	font-variant-numeric: tabular-nums;
}

/* ================================================================ layout */

.ty-wrap {
	width: 100%;
	max-width: var(--ty-wrap);
	margin: 0 auto;
	padding-inline: var(--ty-gutter);
}

.ty-wrap-narrow { max-width: calc(var(--ty-narrow) + var(--ty-gutter) * 2); }

.ty-main { display: block; }

.ty-section {
	position: relative;
	padding-block: var(--ty-section);
}

.ty-section-tight { padding-block: clamp(40px, 6vw, 76px); }

.ty-section-paper { background: var(--ty-paper); }
.ty-section-shallow { background: var(--ty-shallow); }

.ty-section-dark {
	background: var(--ty-ink);
	color: #E5EEF0;
}
.ty-section-dark h2,
.ty-section-dark h3,
.ty-section-dark h4 { color: var(--ty-white); }
.ty-section-dark .ty-lead,
.ty-section-dark .ty-muted { color: #A9C0C6; }
.ty-section-dark .ty-eyebrow { color: #5FD3E4; }
.ty-section-dark a { color: #7FE0EE; }

/* Waterline: the one recurring ornament, a hairline that ripples. */
.ty-waterline {
	position: relative;
	height: 22px;
	border: 0;
	margin: 0;
	background:
		url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0 11 C 15 3, 30 3, 45 11 S 75 19, 90 11 S 115 4, 120 8' fill='none' stroke='%2316A1B8' stroke-opacity='0.5' stroke-width='1.4'/%3E%3C/svg%3E")
		repeat-x center;
	opacity: 0.55;
}

/* ================================================================ header */

.ty-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 60;
	padding-block: 18px;
	transition: background .32s var(--ty-ease), box-shadow .32s var(--ty-ease), padding .32s var(--ty-ease);
}

.ty-sticky .ty-header { position: fixed; }

/*
 * The WordPress admin bar is fixed to the top of the viewport for logged-in
 * users. Without this the header sits underneath it and its top half is cut
 * off — which is what the owner sees on their own site, and nobody else.
 */
body.admin-bar .ty-header { top: 32px; }

@media screen and (max-width: 782px) {
	body.admin-bar .ty-header { top: 46px; }
}

/* Below 600px WordPress stops pinning the bar, so the offset has to go. */
@media screen and (max-width: 600px) {
	body.admin-bar .ty-header { top: 0; }
}

.ty-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/*
 * Over a dark hero the header has no background of its own, so everything in
 * it has to be light — otherwise the menu is dark text on dark water and
 * simply cannot be read. As soon as the header goes solid white on scroll it
 * switches back to ink.
 */
.ty-dark-top .ty-header:not(.is-stuck) { color: var(--ty-white); }
.ty-dark-top .ty-header:not(.is-stuck) .ty-menu a { color: rgba(255, 255, 255, .88); }
.ty-dark-top .ty-header:not(.is-stuck) .ty-menu a:hover,
.ty-dark-top .ty-header:not(.is-stuck) .ty-menu .current-menu-item > a { color: var(--ty-white); }
.ty-dark-top .ty-header:not(.is-stuck) .ty-menu a::after { background: var(--ty-white); }

.ty-dark-top .ty-header:not(.is-stuck) .ty-lang {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .26);
}
.ty-dark-top .ty-header:not(.is-stuck) .ty-lang-link { color: rgba(255, 255, 255, .82); }
.ty-dark-top .ty-header:not(.is-stuck) .ty-lang-link:hover { color: var(--ty-white); }
.ty-dark-top .ty-header:not(.is-stuck) .ty-lang-link.is-current {
	background: var(--ty-white);
	color: var(--ty-ink);
}

.ty-dark-top .ty-header:not(.is-stuck) .ty-header-cta {
	background: var(--ty-white);
	color: var(--ty-ink);
	border-color: var(--ty-white);
}
.ty-dark-top .ty-header:not(.is-stuck) .ty-header-cta:hover {
	background: rgba(255, 255, 255, .88);
	color: var(--ty-deeper);
}

.ty-dark-top .ty-header:not(.is-stuck) .ty-burger {
	border-color: rgba(255, 255, 255, .34);
	color: var(--ty-white);
}
.ty-dark-top .ty-header:not(.is-stuck) .ty-burger-box span { background: var(--ty-white); }

/* With the panel open the burger sits on white, whatever is behind the page. */
.ty-nav-open .ty-header:not(.is-stuck) .ty-burger {
	border-color: var(--ty-line);
	color: var(--ty-ink);
}
.ty-nav-open .ty-header:not(.is-stuck) .ty-burger-box span { background: var(--ty-ink); }

/* Solid once the page scrolls, transparent over a dark hero. */
.ty-header.is-stuck {
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(150%) blur(14px);
	-webkit-backdrop-filter: saturate(150%) blur(14px);
	box-shadow: 0 1px 0 var(--ty-line), 0 18px 40px -34px rgba(12, 31, 38, 0.6);
	padding-block: 10px;
}

.ty-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: inherit;
	font-family: var(--ty-display);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.ty-brand-logo { max-height: 44px; width: auto; }

/* Wordmark stand-in: a small vessel with a water level. */
.ty-brand-mark {
	position: relative;
	width: 22px;
	height: 28px;
	border: 2px solid currentColor;
	border-radius: 5px 5px 8px 8px;
	overflow: hidden;
	flex: none;
	opacity: 0.9;
}
.ty-brand-mark::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 45%;
	background: var(--ty-accent);
}

.ty-header-side { display: flex; align-items: center; gap: 14px; }

/* --- main menu --- */

.ty-menu {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 30px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.ty-menu li { position: relative; }
.ty-menu a {
	display: inline-block;
	padding: 6px 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--ty-ink);
	text-decoration: none;
}
.ty-menu a::after {
	content: "";
	display: block;
	height: 1.5px;
	width: 0;
	background: var(--ty-accent);
	transition: width .28s var(--ty-ease);
}
.ty-menu a:hover::after,
.ty-menu .current-menu-item > a::after { width: 100%; }

/* submenus */
.ty-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -14px;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--ty-white);
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius);
	box-shadow: var(--ty-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .22s var(--ty-ease), transform .22s var(--ty-ease), visibility .22s;
}
.ty-menu li:hover > .sub-menu,
.ty-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.ty-menu .sub-menu a { padding: 8px 12px; width: 100%; border-radius: 8px; }
.ty-menu .sub-menu a:hover { background: var(--ty-paper); }
.ty-menu .sub-menu a::after { display: none; }

.ty-nav-extra { display: none; }

/* --- language switcher --- */

.ty-lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius-pill);
	background: rgba(255, 255, 255, 0.7);
}
.ty-lang-link {
	padding: 4px 11px;
	border-radius: var(--ty-radius-pill);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ty-muted);
	text-decoration: none;
	transition: background .2s var(--ty-ease), color .2s var(--ty-ease);
}
.ty-lang-link:hover { color: var(--ty-ink); }
.ty-lang-link.is-current {
	background: var(--ty-ink);
	color: var(--ty-white);
}
.ty-lang-mobile { display: none; }

.ty-footer .ty-lang { background: transparent; border-color: rgba(255, 255, 255, 0.18); }
.ty-footer .ty-lang-link { color: #9FB6BD; }
.ty-footer .ty-lang-link.is-current { background: var(--ty-accent); color: var(--ty-deeper); }

/* --- burger --- */

.ty-burger {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius);
	background: var(--ty-white);
	cursor: pointer;
}
.ty-burger-box { display: grid; gap: 4px; justify-items: center; }
.ty-burger-box span {
	display: block;
	width: 18px;
	height: 1.6px;
	background: var(--ty-ink);
	transition: transform .28s var(--ty-ease), opacity .2s;
}
.ty-burger[aria-expanded="true"] .ty-burger-box span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.ty-burger[aria-expanded="true"] .ty-burger-box span:nth-child(2) { opacity: 0; }
.ty-burger[aria-expanded="true"] .ty-burger-box span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ================================================================ buttons */

.ty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 26px;
	border: 1.5px solid transparent;
	border-radius: var(--ty-radius-pill);
	font-family: var(--ty-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .22s var(--ty-ease), box-shadow .22s var(--ty-ease), background .22s var(--ty-ease), color .22s var(--ty-ease), border-color .22s var(--ty-ease);
}

.ty-btn-primary {
	background: var(--ty-ink);
	color: var(--ty-white);
	box-shadow: 0 14px 30px -18px rgba(12, 31, 38, 0.9);
}
.ty-btn-primary:hover {
	background: var(--ty-deep);
	color: var(--ty-white);
	transform: translateY(-2px);
	box-shadow: 0 20px 36px -18px rgba(12, 31, 38, 0.85);
}

.ty-btn-ghost {
	background: transparent;
	border-color: var(--ty-line);
	color: var(--ty-ink);
}
.ty-btn-ghost:hover { border-color: var(--ty-ink); color: var(--ty-ink); transform: translateY(-2px); }

.ty-btn-light {
	background: var(--ty-white);
	color: var(--ty-ink);
}
.ty-btn-light:hover { transform: translateY(-2px); color: var(--ty-ink); }

.ty-section-dark .ty-btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: var(--ty-white); }
.ty-section-dark .ty-btn-ghost:hover { border-color: var(--ty-white); color: var(--ty-white); }

.ty-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* The block editor's own buttons, styled to match. */
.wp-block-button__link {
	border-radius: var(--ty-radius-pill);
	padding: 14px 26px;
	font-family: var(--ty-body);
	font-weight: 600;
	font-size: 16px;
	background: var(--ty-ink);
	color: var(--ty-white);
	transition: transform .22s var(--ty-ease), background .22s var(--ty-ease);
}
.wp-block-button__link:hover { background: var(--ty-deep); transform: translateY(-2px); }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1.5px solid var(--ty-line);
	color: var(--ty-ink);
}
.ty-section-dark .wp-block-button.is-style-outline .wp-block-button__link { border-color: rgba(255,255,255,.3); color: #fff; }

/* ================================================================ hero */

.ty-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--ty-ink);
	color: var(--ty-white);
	/*
	 * Enough room for the header to float over the hero, and no more. The
	 * header is about 80px tall, so the gap below it stays in the 40–70px
	 * range instead of opening a void above the headline.
	 */
	padding-block: clamp(104px, 11vw, 140px) clamp(64px, 9vw, 104px);
}

body.admin-bar .ty-hero { padding-top: clamp(130px, 11.5vw, 166px); }

.ty-hero::before {
	/* Deep water gradient — soft, never a hard edge. */
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 90% at 12% 8%, rgba(22, 161, 184, 0.30), transparent 62%),
		radial-gradient(90% 80% at 88% 20%, rgba(15, 58, 69, 0.85), transparent 70%),
		linear-gradient(180deg, #0B1D24 0%, #0C2731 55%, #0A1E26 100%);
	z-index: -2;
}

/*
 * Slow, soft parallax layers.
 *
 * Drawn with pseudo-elements rather than markup, so the hero holds nothing but
 * editable text in the block editor. The script moves them by writing the two
 * custom properties below.
 */
.ty-hero::after {
	content: "";
	position: absolute;
	left: -8%;
	top: 2%;
	width: 52vw;
	height: 52vw;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(22, 161, 184, 0.22), transparent 72%);
	transform: translate3d(0, var(--ty-drift-a, 0px), 0);
	pointer-events: none;
	z-index: -1;
}
.ty-hero .ty-wrap::before {
	content: "";
	position: absolute;
	right: -14%;
	top: 12%;
	width: 54vw;
	height: 54vw;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(120, 220, 232, 0.13), transparent 72%);
	transform: translate3d(0, var(--ty-drift-b, 0px), 0);
	pointer-events: none;
	z-index: -1;
}
.ty-hero .ty-wrap { position: relative; }

.ty-hero h1, .ty-hero h2 { color: var(--ty-white); }
.ty-hero .ty-eyebrow { color: #6FD8E8; }
.ty-hero .ty-lead { color: #B7CDD3; }

.ty-hero-grid {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
@media (min-width: 900px) {
	.ty-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

/* --- slider --- */

.ty-slider { position: relative; }

.ty-slides {
	display: grid;
}
.ty-slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity .7s var(--ty-ease), transform .7s var(--ty-ease), visibility .7s;
}
.ty-slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
}
/* Before the script runs, the first slide must already be readable. */
.ty-slider:not(.is-ready) .ty-slide:first-child {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.ty-slider:not(.is-ready) .ty-slide:not(:first-child) { display: none; }

.ty-slider-controls {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 34px;
}
.ty-dots { display: flex; gap: 9px; }
.ty-dot {
	/* 4px of visible bar, 24px of touch target: padding carries the rest. */
	width: 30px;
	height: 4px;
	padding: 10px 0;
	box-sizing: content-box;
	background-clip: content-box;
	border: 0;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: background-color .3s var(--ty-ease), width .3s var(--ty-ease);
}
.ty-dot.is-active { background-color: var(--ty-accent); width: 46px; }
.ty-slider-arrows { display: flex; gap: 8px; margin-left: auto; }
.ty-arrow {
	width: 42px; height: 42px;
	display: grid; place-content: center;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background: transparent;
	color: var(--ty-white);
	font-size: 17px;
	cursor: pointer;
	transition: background .22s var(--ty-ease), border-color .22s var(--ty-ease);
}
.ty-arrow:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }

/* --- hero side panel: the product, framed like a vessel --- */

.ty-hero-panel {
	position: relative;
	border-radius: var(--ty-radius-lg);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	padding: clamp(18px, 2.4vw, 28px);
	box-shadow: var(--ty-shadow-lg);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.ty-hero-panel img { border-radius: calc(var(--ty-radius-lg) - 10px); }

/* ================================================================ pieces */

.ty-grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.ty-grid-2 { grid-template-columns: 1fr; }
.ty-grid-3 { grid-template-columns: 1fr; }
.ty-grid-4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 700px) {
	.ty-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ty-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
	.ty-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ty-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ty-section-head { max-width: 46rem; margin-bottom: clamp(34px, 5vw, 60px); }

/* feature card */
.ty-feature {
	padding: clamp(22px, 2.6vw, 32px);
	background: var(--ty-white);
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius-lg);
	transition: transform .3s var(--ty-ease), box-shadow .3s var(--ty-ease), border-color .3s var(--ty-ease);
}
.ty-feature:hover {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: var(--ty-shadow);
}
.ty-feature h3 { margin-bottom: 8px; }
.ty-feature p { color: var(--ty-muted); font-size: 16.5px; margin: 0; }

.ty-section-dark .ty-feature {
	background: rgba(255, 255, 255, 0.045);
	border-color: rgba(255, 255, 255, 0.12);
}
.ty-section-dark .ty-feature p { color: #A9C0C6; }

/* the little vessel icon that marks a feature */
.ty-vessel-icon {
	position: relative;
	width: 26px;
	height: 34px;
	margin-bottom: 18px;
	border: 2px solid var(--ty-deep);
	border-radius: 6px 6px 9px 9px;
	overflow: hidden;
}
.ty-vessel-icon::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: var(--fill, 55%);
	background: linear-gradient(180deg, var(--ty-accent), var(--ty-deep));
	opacity: 0.85;
}
.ty-section-dark .ty-vessel-icon { border-color: rgba(255,255,255,.6); }

/* numbered steps — the order carries meaning here */
.ty-step { position: relative; padding-left: 62px; }
.ty-step-num {
	position: absolute;
	left: 0; top: -6px;
	font-family: var(--ty-display);
	font-size: 44px;
	font-weight: 400;
	line-height: 1;
	color: var(--ty-accent);
	opacity: 0.55;
	font-variant-numeric: tabular-nums;
}

/* stat */
.ty-stat { text-align: left; }
.ty-stat-label { display: block; margin-top: 6px; color: var(--ty-muted); font-size: 15.5px; }
.ty-section-dark .ty-figure { color: #7FE0EE; }
.ty-section-dark .ty-stat-label { color: #A9C0C6; }

/* quote */
.ty-quote {
	border: 0;
	margin: 0;
	padding: clamp(26px, 3vw, 40px);
	background: var(--ty-paper);
	border-radius: var(--ty-radius-lg);
}
.ty-quote p {
	font-family: var(--ty-display);
	font-size: clamp(20px, 2.3vw, 27px);
	line-height: 1.35;
	letter-spacing: -0.01em;
	margin-bottom: 18px;
}
.ty-quote cite { font-style: normal; font-size: 15.5px; color: var(--ty-muted); }

/* pricing */
.ty-price-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(24px, 3vw, 36px);
	background: var(--ty-white);
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius-lg);
	transition: transform .3s var(--ty-ease), box-shadow .3s var(--ty-ease);
}
.ty-price-card:hover { transform: translateY(-4px); box-shadow: var(--ty-shadow); }
.ty-price-card.is-featured {
	background: var(--ty-ink);
	border-color: var(--ty-ink);
	color: #E5EEF0;
	box-shadow: var(--ty-shadow-lg);
}
.ty-price-card.is-featured h3 { color: var(--ty-white); }
.ty-price-card.is-featured .ty-figure { color: #7FE0EE; }
.ty-price-card.is-featured .ty-price-list li { color: #B7CDD3; }
.ty-price-card.is-featured .ty-price-list li::before { background: var(--ty-accent); }

.ty-price-badge {
	align-self: flex-start;
	padding: 4px 12px;
	border-radius: var(--ty-radius-pill);
	background: var(--ty-accent);
	color: var(--ty-deeper);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ty-price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ty-price-list li {
	position: relative;
	padding-left: 26px;
	font-size: 16px;
	color: var(--ty-muted);
}
.ty-price-list li::before {
	content: "";
	position: absolute;
	left: 4px; top: 10px;
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--ty-accent);
}

/* logos / trust row */
.ty-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
}
.ty-logos span {
	font-family: var(--ty-display);
	font-size: 20px;
	color: var(--ty-muted);
}

/* FAQ built on the core details block */
.wp-block-details {
	border-bottom: 1px solid var(--ty-line);
	padding: 20px 0;
}
.wp-block-details summary {
	font-family: var(--ty-body);
	font-weight: 600;
	font-size: 18px;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: baseline;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	font-size: 22px;
	color: var(--ty-accent);
	line-height: 1;
	transition: transform .3s var(--ty-ease);
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details p { margin-top: 12px; color: var(--ty-muted); max-width: 62ch; }

/* call-to-action band */
.ty-cta-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: var(--ty-radius-lg);
	padding: clamp(34px, 5vw, 64px);
	background: linear-gradient(135deg, #0C2731, #0F3A45 55%, #10505E);
	color: var(--ty-white);
	text-align: center;
}
.ty-cta-band::after {
	content: "";
	position: absolute;
	left: 50%; bottom: -60%;
	width: 120%; aspect-ratio: 2 / 1;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(22, 161, 184, 0.35), transparent 70%);
	pointer-events: none;
	z-index: -1;
}
.ty-cta-band h2 { color: var(--ty-white); position: relative; }
.ty-cta-band p { color: #B7CDD3; position: relative; margin-inline: auto; }
.ty-cta-band .ty-btn-row { position: relative; justify-content: center; margin-top: 26px; }

/* ------------------------------------------------ booking form placeholder */

.ty-booking {
	background: var(--ty-white);
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius-lg);
	padding: clamp(16px, 2.4vw, 30px);
	box-shadow: var(--ty-shadow);
}

.ty-booking-empty {
	display: grid;
	gap: 12px;
	justify-items: center;
	text-align: center;
	padding: clamp(40px, 7vw, 84px) 24px;
	border: 1.5px dashed var(--ty-line);
	border-radius: var(--ty-radius);
	background: var(--ty-paper);
	color: var(--ty-muted);
}
.ty-booking-empty strong { color: var(--ty-ink); font-size: 18px; }
.ty-booking-empty .ty-vessel-icon { margin: 0 0 4px; --fill: 40%; }

/* ====================================================== blocks → theme */

/*
 * Every section is made of ordinary core blocks so the owner can click a
 * headline and type. That means living with the markup the editor writes —
 * these rules make that markup wear the design.
 */

/* The block layout engine adds vertical margins between siblings. Inside our
   own grids and rows that would fight the gap, so it is switched off there. */
.ty-grid > *,
.ty-slides > *,
.ty-logos > *,
.ty-btn-row > *,
.ty-hero-grid > * { margin-block: 0; }

.ty-section > .ty-wrap { margin-block: 0; }
.ty-content .wp-block-group { box-sizing: border-box; }

/* Sections break out of the reading column. */
.ty-content > .ty-section,
.ty-content > .ty-hero { max-width: none; padding-inline: 0; margin-block: 0; }

/* ---- buttons written by the core button block ------------------------ */

.ty-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ty-btn-row .wp-block-button { margin: 0; }

.ty-btn-row .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border: 1.5px solid transparent;
	border-radius: var(--ty-radius-pill);
	font-family: var(--ty-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	background: var(--ty-ink);
	color: var(--ty-white);
	transition: transform .22s var(--ty-ease), background .22s var(--ty-ease), color .22s var(--ty-ease), border-color .22s var(--ty-ease), box-shadow .22s var(--ty-ease);
}
.ty-btn-row .wp-block-button__link:hover { transform: translateY(-2px); }

.ty-btn-row .ty-btn-light > .wp-block-button__link {
	background: var(--ty-white);
	color: var(--ty-ink);
	box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6);
}
.ty-btn-row .ty-btn-light > .wp-block-button__link:hover { background: #fff; color: var(--ty-deeper); }

.ty-btn-row .ty-btn-ghost > .wp-block-button__link {
	background: transparent;
	border-color: var(--ty-line);
	color: var(--ty-ink);
}
.ty-btn-row .ty-btn-ghost > .wp-block-button__link:hover { border-color: var(--ty-ink); }

.ty-btn-row .ty-btn-solid > .wp-block-button__link { background: var(--ty-accent); color: #05262C; }
.ty-btn-row .ty-btn-solid > .wp-block-button__link:hover { background: #2FB7CD; color: #05262C; }

.ty-btn-row .ty-btn-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--ty-line);
	color: var(--ty-ink);
}
.ty-btn-row .ty-btn-outline > .wp-block-button__link:hover { border-color: var(--ty-ink); }

/* On dark ground the ghost button turns light. */
.ty-hero .ty-btn-ghost > .wp-block-button__link,
.ty-section-dark .ty-btn-ghost > .wp-block-button__link,
.ty-cta-band .ty-btn-ghost > .wp-block-button__link {
	border-color: rgba(255, 255, 255, .55);
	color: var(--ty-white);
}
.ty-hero .ty-btn-ghost > .wp-block-button__link:hover,
.ty-section-dark .ty-btn-ghost > .wp-block-button__link:hover,
.ty-cta-band .ty-btn-ghost > .wp-block-button__link:hover { border-color: #fff; }

.ty-price-card.is-featured .ty-btn-outline > .wp-block-button__link {
	border-color: rgba(255, 255, 255, .3);
	color: #fff;
}

/* ---- feature card: the vessel mark is drawn, not typed --------------- */

.ty-feature::before {
	content: "";
	display: block;
	width: 26px;
	height: 34px;
	margin-bottom: 18px;
	border: 2px solid var(--ty-deep);
	border-radius: 6px 6px 9px 9px;
	background:
		linear-gradient(180deg, var(--ty-accent), var(--ty-deep)) bottom / 100% var(--fill, 55%) no-repeat;
	opacity: .9;
}
.ty-grid > .ty-feature:nth-child(1) { --fill: 55%; }
.ty-grid > .ty-feature:nth-child(2) { --fill: 30%; }
.ty-grid > .ty-feature:nth-child(3) { --fill: 70%; }
.ty-grid > .ty-feature:nth-child(4) { --fill: 90%; }
.ty-grid > .ty-feature:nth-child(5) { --fill: 45%; }
.ty-grid > .ty-feature:nth-child(6) { --fill: 65%; }
.ty-section-dark .ty-feature::before { border-color: rgba(255, 255, 255, .6); }

/* ---- steps: numbered by CSS, so the copy stays plain text ------------ */

.ty-steps { counter-reset: tystep; }
.ty-steps > .ty-step { counter-increment: tystep; }
.ty-steps > .ty-step::before {
	content: counter(tystep, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: -6px;
	font-family: var(--ty-display);
	font-size: 44px;
	font-weight: 400;
	line-height: 1;
	color: var(--ty-accent-text);
	opacity: .85;
	font-variant-numeric: tabular-nums;
}
.ty-step h3 { margin-bottom: 6px; }
.ty-step p { margin: 0; }

/* ---- stats ----------------------------------------------------------- */

.ty-stat p { margin: 0; }
.ty-stat .ty-figure { margin-bottom: 4px; }

/* ---- pricing --------------------------------------------------------- */

.ty-price-line { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ty-price-line .ty-figure { font-weight: 400; }
.ty-price-card h3 { margin: 0; }
.ty-price-card p { margin: 0; }
.ty-price-card .ty-price-cta { margin-top: auto; }
.ty-price-card.is-featured .ty-muted { color: #A9C0C6; }

.ty-note { margin-top: 30px; font-size: 15px; color: var(--ty-muted); max-width: 70ch; }

/* ---- quote ----------------------------------------------------------- */

.wp-block-quote.ty-quote { border-left: 0; padding-left: clamp(26px, 3vw, 40px); }

/* ---- the water section ----------------------------------------------- */

.ty-grid-middle { align-items: center; }
.ty-water-visual {
	background: var(--ty-ink);
	border-radius: 26px;
	padding: clamp(22px, 3vw, 34px);
}
.ty-water-visual .wp-block-html { margin: 0; }

/* ---- logos row ------------------------------------------------------- */

.ty-logos p {
	margin: 0;
	font-family: var(--ty-display);
	font-size: 20px;
	color: var(--ty-muted);
}
.ty-trust .ty-eyebrow { margin-bottom: 16px; }

/* ---- FAQ ------------------------------------------------------------- */

.ty-faq h2 { margin-bottom: 18px; }

/* ---- booking slot ---------------------------------------------------- */

.ty-booking-slot { margin-top: clamp(10px, 2vw, 24px); }


/* ---- rhythm inside a section --------------------------------------- */

/* The reading-flow heading margins must not reach into a built section. */
.ty-content .ty-section h2,
.ty-content .ty-section h3,
.ty-content .ty-section h4,
.ty-content .ty-hero h1 { margin-top: 0; }

.ty-section-head > * { margin-block: 0; }
.ty-section-head > .ty-eyebrow { margin-bottom: 16px; }
.ty-section-head > h2 + .ty-lead { margin-top: 18px; }

.ty-feature > *, .ty-price-card > *, .ty-stat > * { margin-block: 0; }
.ty-feature h3 { margin-bottom: 8px; }

.ty-water-visual + *, .ty-grid-middle > * { margin-block: 0; }
.ty-grid-middle h2 { margin-bottom: 16px; }
.ty-grid-middle p + p { margin-top: 14px; }

.ty-cta-band > * { margin-block: 0; }
.ty-cta-band h2 { margin-bottom: 14px; }

.ty-slide > * { margin-block: 0; }
.ty-slide .ty-eyebrow { margin-bottom: 18px; }
.ty-slide h1 { margin-bottom: 22px; }

/* ================================================================ content */

.ty-page-head { padding-block: clamp(120px, 16vw, 180px) clamp(18px, 3vw, 34px); }
.ty-no-title .ty-main > .ty-page > .ty-content > *:first-child { margin-top: 0; }

.ty-page-title { margin-bottom: 14px; }
.ty-page-media { margin-bottom: clamp(28px, 4vw, 50px); }
.ty-page-media img { border-radius: var(--ty-radius-lg); width: 100%; }

/* Gutenberg content flow: full-width blocks break out, text stays narrow. */
.ty-content > * {
	width: 100%;
	max-width: calc(var(--ty-narrow) + var(--ty-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--ty-gutter);
	margin-block: 1.15em;
}
.ty-content > .alignwide {
	max-width: calc(var(--ty-wrap) + var(--ty-gutter) * 2);
}
.ty-content > .alignfull {
	max-width: none;
	padding-inline: 0;
	margin-block: 0;
}
.ty-content > .alignfull > .ty-wrap { padding-inline: var(--ty-gutter); }

.ty-content h2 { margin-top: 1.6em; }
.ty-content h3 { margin-top: 1.4em; }
.ty-content ul, .ty-content ol { padding-left: 1.3em; }
.ty-content li { margin-bottom: 0.4em; }
.ty-content img { border-radius: var(--ty-radius); }

.ty-content blockquote {
	margin: 1.6em auto;
	padding-left: 22px;
	border-left: 3px solid var(--ty-accent);
	font-family: var(--ty-display);
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.4;
}

.ty-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ty-content th, .ty-content td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--ty-line-soft); }
.ty-content th { font-family: var(--ty-body); font-weight: 600; background: var(--ty-paper); }

.ty-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.88em;
	background: var(--ty-shallow);
	padding: 2px 6px;
	border-radius: 5px;
}

/* ================================================================ blog */

.ty-post-grid {
	display: grid;
	gap: clamp(20px, 3vw, 34px);
	grid-template-columns: 1fr;
	margin-bottom: 48px;
}
@media (min-width: 680px) { .ty-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .ty-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ty-card {
	background: var(--ty-white);
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius-lg);
	overflow: hidden;
	transition: transform .3s var(--ty-ease), box-shadow .3s var(--ty-ease);
}
.ty-card:hover { transform: translateY(-4px); box-shadow: var(--ty-shadow); }
.ty-card-link { display: block; color: inherit; text-decoration: none; }
.ty-card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ty-card-body { padding: 22px 24px 26px; }
.ty-card-title { font-size: 21px; margin-bottom: 8px; }
.ty-card-excerpt { color: var(--ty-muted); font-size: 16px; margin-bottom: 12px; }
.ty-card-meta { font-size: 14px; color: var(--ty-muted); }

.ty-post-meta { color: var(--ty-muted); font-size: 15.5px; }
.ty-single-footer { padding-block: 40px 80px; }

.ty-postnav { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 700px) { .ty-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.ty-postnav a {
	display: block;
	padding: 18px 22px;
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius);
	text-decoration: none;
	color: var(--ty-ink);
	transition: border-color .22s var(--ty-ease);
}
.ty-postnav a:hover { border-color: var(--ty-accent); }
.ty-navlabel { display: block; font-size: 13px; color: var(--ty-muted); margin-bottom: 4px; }
.ty-navtitle { font-family: var(--ty-display); font-size: 19px; }

.ty-pagination { margin-bottom: 60px; }
.ty-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ty-pagination .page-numbers {
	display: grid;
	place-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius);
	text-decoration: none;
	color: var(--ty-ink);
}
.ty-pagination .page-numbers.current { background: var(--ty-ink); color: var(--ty-white); border-color: var(--ty-ink); }

.ty-empty { padding-block: 60px 100px; display: grid; gap: 18px; justify-items: start; }

.ty-searchform { display: flex; gap: 10px; flex-wrap: wrap; }
.ty-input {
	flex: 1 1 220px;
	padding: 13px 16px;
	border: 1.5px solid var(--ty-line);
	border-radius: var(--ty-radius);
	font: inherit;
	font-size: 16px;
	background: var(--ty-white);
	color: var(--ty-ink);
}
.ty-input { border-color: var(--ty-line-strong); }
.ty-input:focus {
	outline: 2px solid var(--ty-accent-text);
	outline-offset: 2px;
	border-color: var(--ty-accent-text);
}

.ty-404 { padding-block: clamp(120px, 18vw, 200px) clamp(60px, 10vw, 120px); }
.ty-404 .ty-btn { margin-top: 20px; }

/* ============================================================ comments */

.ty-comments {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--ty-line);
}
.ty-comments-title { font-size: 24px; margin-bottom: 22px; }
.ty-comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.ty-comment-list ol.children { list-style: none; margin: 0; padding-left: clamp(18px, 4vw, 40px); }
.ty-comment-list li.comment,
.ty-comment-list li.pingback {
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius);
	padding: 20px 22px;
	margin-bottom: 14px;
	background: var(--ty-white);
}
.ty-comment-list .comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--ty-muted); }
.ty-comment-list .comment-meta img { border-radius: 999px; }
.ty-comment-list .fn { font-style: normal; font-weight: 600; color: var(--ty-ink); }
.ty-comment-list .comment-content p:last-child { margin-bottom: 0; }
.ty-comment-list .reply { margin-top: 10px; font-size: 14px; }
.ty-comments-closed { color: var(--ty-muted); }

.ty-comments .comment-form { display: grid; gap: 14px; max-width: 640px; }
.ty-comments .comment-form label { display: block; font-size: 14px; color: var(--ty-muted); margin-bottom: 6px; }
.ty-comments .comment-form input[type="text"],
.ty-comments .comment-form input[type="email"],
.ty-comments .comment-form input[type="url"],
.ty-comments .comment-form textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--ty-line);
	border-radius: var(--ty-radius);
	font: inherit;
	font-size: 16px;
	background: var(--ty-white);
	color: var(--ty-ink);
}
.ty-comments .comment-form textarea { resize: vertical; }
.ty-comments .comment-form input,
.ty-comments .comment-form textarea { border-color: var(--ty-line-strong); }
.ty-comments .comment-form input:focus,
.ty-comments .comment-form textarea:focus {
	outline: 2px solid var(--ty-accent-text);
	outline-offset: 2px;
	border-color: var(--ty-accent-text);
}
.ty-comments .comment-form p { margin: 0; }
.ty-comments .comment-notes, .ty-comments .comment-form-cookies-consent label { font-size: 14px; color: var(--ty-muted); }

.ty-link-pages { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; font-size: 15px; }
.ty-link-pages a { text-decoration: none; border-bottom: 1px solid var(--ty-line); }

/* ================================================================ footer */

.ty-footer {
	background: var(--ty-ink);
	color: #9FB6BD;
	padding-block: clamp(50px, 7vw, 88px) 34px;
	font-size: 16px;
}
.ty-footer .ty-brand { color: var(--ty-white); }
.ty-footer .ty-brand-mark { border-color: rgba(255, 255, 255, 0.7); }
.ty-footer a { color: #C3D6DA; text-decoration: none; }
.ty-footer a:hover { color: var(--ty-white); text-decoration: underline; }

.ty-footer-grid {
	display: grid;
	gap: clamp(28px, 4vw, 48px);
	grid-template-columns: 1fr;
	padding-bottom: 40px;
}
@media (min-width: 700px) { .ty-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
	.ty-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
	/* A fourth column only exists when a widget fills it. */
	.ty-footer-grid:has(> :nth-child(4)) { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.ty-footer-claim { margin: 16px 0 18px; max-width: 34ch; color: #8FA8B0; }

.ty-widget-title {
	font-family: var(--ty-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7F98A0;
	margin: 0 0 14px;
}

.ty-footer-menu, .ty-legal-menu { list-style: none; margin: 0; padding: 0; }
.ty-footer-menu li { margin-bottom: 9px; }
.ty-contact { font-style: normal; display: grid; gap: 6px; }

.ty-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 28px;
	align-items: center;
	justify-content: space-between;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 14.5px;
}
.ty-legal-menu { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ty-copy { margin: 0; }

/* ================================================================ motion */

/*
 * Everything below hides content until the script reveals it, so it is gated
 * on the .ty-js class the head script sets. Without JavaScript nothing is
 * hidden and the page reads normally.
 */
.ty-js .ty-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .75s var(--ty-ease), transform .75s var(--ty-ease);
	will-change: opacity, transform;
}
.ty-js .ty-reveal.is-in { opacity: 1; transform: none; }

/* Staggered children inside a revealed group. */
.ty-js .ty-reveal-group > * {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s var(--ty-ease), transform .7s var(--ty-ease);
}
.ty-js .ty-reveal-group.is-in > * { opacity: 1; transform: none; }
.ty-js .ty-reveal-group.is-in > *:nth-child(2) { transition-delay: .08s; }
.ty-js .ty-reveal-group.is-in > *:nth-child(3) { transition-delay: .16s; }
.ty-js .ty-reveal-group.is-in > *:nth-child(4) { transition-delay: .24s; }
.ty-js .ty-reveal-group.is-in > *:nth-child(5) { transition-delay: .32s; }
.ty-js .ty-reveal-group.is-in > *:nth-child(6) { transition-delay: .40s; }

/* Gentle parallax for anything marked up for it. */
.ty-parallax { will-change: transform; }

/* Motion off — by system preference or by the theme switch. */
@media (prefers-reduced-motion: reduce) {
	.ty-js .ty-reveal, .ty-js .ty-reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
	.ty-slide { transition: none !important; }
	.ty-hero { --ty-drift-a: 0px; --ty-drift-b: 0px; }
	.ty-parallax { transform: none !important; }
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.ty-js.ty-no-motion .ty-reveal,
.ty-no-motion .ty-reveal,
.ty-no-motion .ty-reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
.ty-no-motion .ty-hero { --ty-drift-a: 0px; --ty-drift-b: 0px; }
.ty-no-motion .ty-parallax { transform: none !important; }

/* ================================================================ mobile */

@media (max-width: 900px) {
	.ty-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(88vw, 380px);
		padding: 96px 28px 40px;
		background: var(--ty-white);
		box-shadow: -30px 0 60px -40px rgba(12, 31, 38, .6);
		transform: translateX(100%);
		transition: transform .38s var(--ty-ease);
		overflow-y: auto;
		display: flex;
		flex-direction: column;
		gap: 26px;
	}
	.ty-nav {
		/* Off-screen is not enough: without this the closed panel keeps its
		   place in the tab order and is read out by screen readers. */
		visibility: hidden;
		transition: transform .38s var(--ty-ease), visibility .38s;
	}
	.ty-nav.is-open { transform: none; visibility: visible; }

	/* The panel is fixed too, so it needs the same admin-bar offset. */
	body.admin-bar .ty-nav { top: 46px; }
	body.admin-bar .ty-nav-scrim { top: 46px; }

	.ty-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}
	.ty-menu a {
		padding: 12px 0;
		font-size: 19px;
		border-bottom: 1px solid var(--ty-line-soft);
	}
	.ty-menu a::after { display: none; }
	.ty-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 0 14px;
		background: transparent;
	}

	.ty-nav-extra { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
	.ty-lang-mobile { display: inline-flex; }
	.ty-lang-desktop, .ty-header-side .ty-header-cta { display: none; }
	.ty-burger { display: inline-grid; place-content: center; }

	body.ty-nav-open { overflow: hidden; }
	.ty-nav-scrim {
		position: fixed;
		inset: 0;
		background: rgba(8, 23, 29, .45);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s var(--ty-ease), visibility .3s;
		z-index: 55;
	}
	.ty-nav-scrim.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 600px) {
	body.ty-site { font-size: 17px; }
	.ty-hero { padding-block: 120px 72px; }
	.ty-slider-controls { margin-top: 26px; }
	.ty-arrow { display: none; }
	.ty-step { padding-left: 0; padding-top: 44px; }
	.ty-step-num { top: 0; }
	.ty-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ================================================================ print */

@media print {
	.ty-header, .ty-footer, .ty-nav, .ty-lang, .ty-slider-controls { display: none !important; }
	body.ty-site { color: #000; background: #fff; }
}

/* ============================================== the vessel figure (shortcode) */

.ty-vessel-figure { line-height: 0; }
.ty-vessel-figure svg { display: block; width: 100%; height: auto; }

/* ================================================== inner-page section head */

/* The first section of an inner page has to clear the transparent header. */
.ty-section-top { padding-top: clamp(130px, 17vw, 190px); }
.ty-section-head-page { margin-bottom: 0; max-width: 40rem; }
.ty-section-head-page > * { margin-block: 0; }
.ty-section-head-page h1 { margin-bottom: 14px; }

.ty-industry-list { margin-top: 26px; }

.ty-legal-notice {
	background: color-mix(in srgb, var(--ty-accent) 8%, #fff);
	border-left: 3px solid var(--ty-accent);
	border-radius: 0 var(--ty-radius) var(--ty-radius) 0;
	padding: 14px 18px;
	color: var(--ty-muted);
	font-size: 15.5px;
	margin-bottom: 30px;
}
.ty-legal h2 { margin-top: 1.5em; margin-bottom: .4em; font-size: clamp(22px, 2.4vw, 28px); }
.ty-legal p { margin-bottom: .7em; }

/* ============================================================= live demo */

/*
 * The three-step demo on the landing page. The card carries the chosen skin
 * as its own custom properties, so picking a palette re-colours the calendar
 * without touching the rest of the page.
 */

.ty-demo {
	--ty-demo-primary: #0f766e;
	--ty-demo-accent: #f59e0b;
	--ty-demo-water: #38bdf8;
	--ty-demo-deep: #0369a1;
	--ty-demo-bg: #f0fdfa;

	background: var(--ty-white);
	border: 1px solid var(--ty-line);
	border-radius: var(--ty-radius-lg);
	box-shadow: var(--ty-shadow);
	/*
	 * "clip" rather than "hidden": hidden still makes the box a scroll
	 * container, so moving focus into a pane that is sliding away scrolls the
	 * card sideways and everything inside it jumps. clip only clips.
	 */
	overflow: hidden;
	overflow: clip;
	margin-top: clamp(26px, 4vw, 46px);
}

.ty-demo-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 18px clamp(18px, 3vw, 30px);
	border-bottom: 1px solid var(--ty-line);
	background: var(--ty-paper);
}

.ty-demo-rail {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ty-demo-tab {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 15px;
	border: 1px solid transparent;
	border-radius: var(--ty-radius-pill);
	background: transparent;
	color: var(--ty-muted);
	font: inherit;
	font-size: 15px;
	cursor: pointer;
	transition: background .22s var(--ty-ease), color .22s var(--ty-ease), border-color .22s var(--ty-ease);
}
.ty-demo-tab:hover { color: var(--ty-ink); border-color: var(--ty-line); }
.ty-demo-tab.is-current {
	background: var(--ty-ink);
	border-color: var(--ty-ink);
	color: var(--ty-white);
}

.ty-demo-num {
	display: inline-grid;
	place-content: center;
	width: 21px;
	height: 21px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ty-ink) 8%, #fff);
	font-size: 12px;
	font-weight: 600;
	color: var(--ty-muted);
}
.ty-demo-tab.is-current .ty-demo-num { background: rgba(255, 255, 255, .2); color: #fff; }

.ty-demo-badge {
	margin: 0 0 0 auto;
	font-size: 13px;
	color: var(--ty-muted);
	white-space: nowrap;
}
.ty-demo-badge::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 7px;
	border-radius: 999px;
	background: var(--ty-accent-text);
	vertical-align: middle;
}

.ty-demo-stage { padding: clamp(20px, 3vw, 34px); }

.ty-demo-panel { display: none; }
.ty-demo-panel.is-current { display: block; }
.ty-js .ty-demo-panel.is-current { animation: ty-demo-in .4s var(--ty-ease) both; }

@keyframes ty-demo-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.ty-demo-lead {
	max-width: 62ch;
	color: var(--ty-muted);
	font-size: 16.5px;
	margin-bottom: 22px;
}

.ty-demo-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 0;
}

/* ---- step one: the trade ---------------------------------------------- */

.ty-demo-choices {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin-bottom: 24px;
}

.ty-demo-choice {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 15px 17px;
	border: 1.5px solid var(--ty-line);
	border-radius: var(--ty-radius);
	background: var(--ty-white);
	color: var(--ty-ink);
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: border-color .22s var(--ty-ease), background .22s var(--ty-ease), transform .22s var(--ty-ease);
}
.ty-demo-choice:hover { border-color: var(--ty-accent-text); transform: translateY(-1px); }
.ty-demo-choice.is-picked {
	border-color: var(--ty-ink);
	background: color-mix(in srgb, var(--ty-ink) 4%, #fff);
}

.ty-demo-choice-mark {
	flex: none;
	width: 17px;
	height: 17px;
	border: 2px solid var(--ty-line-strong);
	border-radius: 999px;
	transition: border-color .2s var(--ty-ease), box-shadow .2s var(--ty-ease);
}
.ty-demo-choice.is-picked .ty-demo-choice-mark {
	border-color: var(--ty-ink);
	box-shadow: inset 0 0 0 3px var(--ty-white), inset 0 0 0 9px var(--ty-ink);
}

.ty-demo-wizard {
	border: 1px dashed var(--ty-line);
	border-radius: var(--ty-radius);
	background: var(--ty-paper);
	padding: 18px 20px;
}
.ty-demo-caption {
	margin: 0 0 12px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ty-muted);
}
.ty-demo-created { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ty-demo-created li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
	padding-left: 24px;
	position: relative;
	font-size: 15.5px;
}
.ty-demo-created li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: .55em;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--ty-demo-water);
}
.ty-demo-created strong { font-weight: 600; }
.ty-demo-created span { color: var(--ty-muted); font-size: 14.5px; }
.ty-demo-created-extra::before { background: var(--ty-demo-primary); opacity: .55; }
.ty-demo-hours { margin: 14px 0 0; font-size: 14.5px; color: var(--ty-muted); }

/* ---- step two: the look ----------------------------------------------- */

.ty-demo-skins {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.ty-demo-skin {
	display: grid;
	gap: 9px;
	padding: 12px;
	border: 1.5px solid var(--ty-line);
	border-radius: var(--ty-radius);
	background: var(--ty-white);
	color: var(--ty-ink);
	font: inherit;
	cursor: pointer;
	transition: border-color .22s var(--ty-ease), transform .22s var(--ty-ease), box-shadow .22s var(--ty-ease);
}
.ty-demo-skin:hover { transform: translateY(-2px); box-shadow: var(--ty-shadow); }
.ty-demo-skin.is-picked { border-color: var(--ty-ink); box-shadow: inset 0 0 0 1px var(--ty-ink); }

.ty-demo-skin-swatch {
	display: block;
	height: 52px;
	border-radius: 9px;
	background: linear-gradient(135deg, var(--a), var(--b) 62%, var(--c));
}
.ty-demo-skin-label { font-size: 14.5px; font-weight: 600; }

/* ---- step three: the calendar ----------------------------------------- */

/* The calendar card inherits the palette from the demo root. */
.ty-demo-widget {
	border: 1px solid color-mix(in srgb, var(--ty-demo-deep) 18%, var(--ty-line));
	border-radius: var(--ty-radius);
	background: var(--ty-demo-bg);
	padding: clamp(16px, 2.4vw, 26px);
	transition: background .45s var(--ty-ease), border-color .45s var(--ty-ease);
}

.ty-demo-widget-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid color-mix(in srgb, var(--ty-demo-deep) 15%, transparent);
	font-size: 14px;
	color: color-mix(in srgb, var(--ty-demo-deep) 45%, var(--ty-muted));
}
.ty-demo-widget-steps .is-done { color: color-mix(in srgb, var(--ty-demo-primary) 70%, #000); }
.ty-demo-widget-steps .is-current {
	color: var(--ty-demo-primary);
	font-weight: 700;
	border-bottom: 2px solid var(--ty-demo-primary);
	padding-bottom: 12px;
	margin-bottom: -14px;
}

.ty-demo-view { display: none; }
.ty-demo-view.is-current { display: grid; }
.ty-demo-view[data-view="calendar"].is-current {
	gap: clamp(18px, 3vw, 32px);
	grid-template-columns: 1fr;
}
@media (min-width: 720px) {
	.ty-demo-view[data-view="calendar"].is-current { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.ty-demo-month {
	margin: 0 0 12px;
	font-family: var(--ty-display);
	font-size: 19px;
	color: color-mix(in srgb, var(--ty-demo-deep) 75%, #000);
}

.ty-demo-weekdays,
.ty-demo-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
}
.ty-demo-weekdays {
	margin-bottom: 6px;
	font-size: 11.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--ty-demo-deep) 45%, var(--ty-muted));
	text-align: center;
}

.ty-demo-cell {
	position: relative;
	aspect-ratio: 1;
	min-height: 34px;
	padding: 0;
	border: 1px solid color-mix(in srgb, var(--ty-demo-deep) 16%, transparent);
	border-radius: 8px;
	background: rgba(255, 255, 255, .7);
	overflow: hidden;
	cursor: pointer;
	font: inherit;
	transition: border-color .2s var(--ty-ease), box-shadow .2s var(--ty-ease);
}
.ty-demo-cell.is-empty { border: 0; background: none; pointer-events: none; }
.ty-demo-cell[disabled] { cursor: default; opacity: .38; }
.ty-demo-cell:not([disabled]):hover { border-color: var(--ty-demo-primary); }
.ty-demo-cell.is-today { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ty-demo-primary) 45%, transparent); }
.ty-demo-cell.is-picked {
	border-color: var(--ty-demo-primary);
	box-shadow: inset 0 0 0 2px var(--ty-demo-primary);
}

.ty-demo-cell-fill {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--fill, 0%);
	background: linear-gradient(180deg,
		color-mix(in srgb, var(--ty-demo-water) 62%, #fff),
		color-mix(in srgb, var(--ty-demo-deep) 45%, #fff));
	transition: height .55s var(--ty-ease), background .45s var(--ty-ease);
}
.ty-demo-cell-num {
	position: relative;
	font-size: 13.5px;
	font-variant-numeric: tabular-nums;
	color: color-mix(in srgb, var(--ty-demo-deep) 80%, #000);
}

.ty-demo-legend {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px 8px;
	margin: 14px 0 0;
	font-size: 13px;
	color: color-mix(in srgb, var(--ty-demo-deep) 45%, var(--ty-muted));
}
.ty-demo-legend span:not(.ty-demo-legend-box) { margin-right: 12px; }
.ty-demo-legend-box {
	position: relative;
	width: 16px;
	height: 16px;
	border: 1px solid color-mix(in srgb, var(--ty-demo-deep) 25%, transparent);
	border-radius: 4px;
	overflow: hidden;
	flex: none;
}
.ty-demo-legend-box::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: var(--fill);
	background: linear-gradient(180deg,
		color-mix(in srgb, var(--ty-demo-water) 62%, #fff),
		color-mix(in srgb, var(--ty-demo-deep) 45%, #fff));
}

.ty-demo-day-title {
	margin: 0 0 12px;
	font-weight: 600;
	color: color-mix(in srgb, var(--ty-demo-deep) 78%, #000);
}
.ty-demo-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 7px;
	max-height: 232px;
	overflow-y: auto;
}
.ty-demo-slot {
	padding: 10px 6px;
	border: 1px solid color-mix(in srgb, var(--ty-demo-deep) 18%, transparent);
	border-radius: 8px;
	background: rgba(255, 255, 255, .8);
	color: color-mix(in srgb, var(--ty-demo-deep) 80%, #000);
	font: inherit;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
	transition: border-color .18s var(--ty-ease), background .18s var(--ty-ease), color .18s var(--ty-ease);
}
.ty-demo-slot:hover {
	border-color: var(--ty-demo-primary);
	background: var(--ty-demo-primary);
	color: #fff;
}
.ty-demo-slots-empty { grid-column: 1 / -1; color: var(--ty-muted); font-size: 15px; margin: 0; }

/* ---- step three, part two: the form ----------------------------------- */

.ty-demo-view[data-view="form"].is-current { gap: 18px; }

.ty-demo-summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .75);
	border: 1px solid color-mix(in srgb, var(--ty-demo-deep) 16%, transparent);
}
.ty-demo-summary strong { display: block; color: color-mix(in srgb, var(--ty-demo-deep) 82%, #000); }
.ty-demo-summary em { font-style: normal; font-size: 14.5px; color: var(--ty-muted); }

.ty-demo-vessel {
	position: relative;
	flex: none;
	width: 28px;
	height: 36px;
	border: 2px solid color-mix(in srgb, var(--ty-demo-deep) 55%, transparent);
	border-radius: 6px 6px 9px 9px;
	overflow: hidden;
}
.ty-demo-vessel span {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 62%;
	background: linear-gradient(180deg, var(--ty-demo-water), var(--ty-demo-deep));
	opacity: .85;
}

.ty-demo-fields {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}
@media (min-width: 620px) {
	.ty-demo-fields { grid-template-columns: 1fr 1fr; }
	.ty-demo-field-wide { grid-column: 1 / -1; }
}
.ty-demo-fields label { display: grid; gap: 5px; font-size: 14px; color: var(--ty-muted); }
.ty-demo-fields input,
.ty-demo-fields textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1.5px solid color-mix(in srgb, var(--ty-demo-deep) 20%, var(--ty-line));
	border-radius: 9px;
	background: #fff;
	color: var(--ty-ink);
	font: inherit;
	font-size: 16px;
	resize: vertical;
}
.ty-demo-fields input:focus,
.ty-demo-fields textarea:focus {
	outline: 2px solid var(--ty-demo-primary);
	outline-offset: 2px;
	border-color: var(--ty-demo-primary);
}

.ty-demo-consent { margin: 0; font-size: 13.5px; color: var(--ty-muted); }

/* The class sets display, so the hidden attribute has to be told again. */
.ty-demo-done[hidden] { display: none; }

.ty-demo-done {
	display: grid;
	gap: 10px;
	justify-items: start;
	padding: 18px 20px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--ty-demo-primary) 8%, #fff);
	border: 1px solid color-mix(in srgb, var(--ty-demo-primary) 30%, transparent);
}
.ty-demo-done strong { font-size: 17px; color: color-mix(in srgb, var(--ty-demo-primary) 78%, #000); }
.ty-demo-done p { margin: 0; color: var(--ty-muted); font-size: 15.5px; max-width: 60ch; }

/* Buttons inside the demo follow the chosen palette. */
.ty-demo .ty-btn-primary {
	background: var(--ty-demo-primary);
	border-color: var(--ty-demo-primary);
	color: #fff;
	box-shadow: none;
}
.ty-demo .ty-btn-primary:hover {
	background: color-mix(in srgb, var(--ty-demo-primary) 84%, #000);
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.ty-js .ty-demo-panel.is-current { animation: none; }
	.ty-demo-cell-fill { transition: none; }
}
.ty-no-motion .ty-demo-panel.is-current { animation: none; }

@media (max-width: 620px) {
	/* The rail keeps all three steps on one line instead of stacking. */
	.ty-demo-head { gap: 10px; padding: 14px 16px; }
	.ty-demo-rail { flex-wrap: nowrap; width: 100%; gap: 4px; }
	.ty-demo-tab {
		flex: 1 1 0;
		min-width: 0;
		justify-content: center;
		gap: 5px;
		padding: 8px 4px;
		font-size: 13px;
	}
	.ty-demo-num { width: 18px; height: 18px; font-size: 11px; flex: none; }
	.ty-demo-tab-label {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.ty-demo-badge { margin-left: 0; white-space: normal; }
	.ty-demo-choices { grid-template-columns: 1fr 1fr; }
	.ty-demo-choice { padding: 12px 13px; font-size: 15px; }
	.ty-demo-skins { grid-template-columns: repeat(3, 1fr); }
	.ty-demo-skin-swatch { height: 40px; }
	.ty-demo-slots { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
}

/* ---- the demo calendar on a phone: month and times take turns ---------- */

.ty-demo-day-back { display: none; }

@media (max-width: 700px) {
	.ty-demo-view[data-view="calendar"].is-current {
		position: relative;
		overflow: hidden;
		overflow: clip;
	}
	.ty-demo-view[data-view="calendar"].is-swapping {
		transition: height .42s cubic-bezier(.22, .9, .36, 1);
	}

	.ty-demo-cal,
	.ty-demo-day {
		transition: opacity .3s ease, transform .34s cubic-bezier(.22, .9, .36, 1);
	}

	/* Times showing: the month steps aside and gives up its height. */
	.ty-demo-view.is-day-view .ty-demo-cal {
		position: absolute;
		inset: 0 0 auto;
		width: 100%;
		opacity: 0;
		transform: translateX(-18px);
		pointer-events: none;
		visibility: hidden;
	}
	/* Month showing: the times wait off to the right. */
	.ty-demo-view:not(.is-day-view) .ty-demo-day {
		position: absolute;
		inset: 0 0 auto;
		width: 100%;
		opacity: 0;
		transform: translateX(18px);
		pointer-events: none;
		visibility: hidden;
	}

	.ty-demo-day-back {
		display: inline-flex;
		align-items: center;
		margin: 0 0 12px;
		padding: 7px 13px;
		border: 1px solid color-mix(in srgb, var(--ty-demo-deep) 22%, transparent);
		border-radius: 999px;
		background: transparent;
		color: color-mix(in srgb, var(--ty-demo-deep) 60%, var(--ty-muted));
		font: inherit;
		font-size: 13.5px;
		cursor: pointer;
		transition: border-color .2s ease, color .2s ease;
	}
	.ty-demo-day-back:hover { border-color: var(--ty-demo-primary); color: var(--ty-demo-primary); }

	.ty-demo-view.is-day-view .ty-demo-slots { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ty-demo-view[data-view="calendar"],
	.ty-demo-cal,
	.ty-demo-day { transition: none !important; }
}
