/*
* Tinman.css | v2.0.0 | MIT | 2026
* Copyright 2026, Selwyn Orren @ Linuxweb
* Free to use under the MIT license.
* https://opensource.org/licenses/MIT
* Based on Skeleton, Copyright 2011-2014 Dave Gamache, MIT
*/

/* Overides
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Keyboard focus. tinman.css removes the outline on form fields and buttons,
   so this puts a visible one back for people who tab through the page. */
a:focus-visible,
summary:focus-visible,
.button:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	/*outline: 2px solid var(--primary);*/
	outline-offset: 2px;
}

/* Heading sizes
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* The level of a heading (h1 to h6) says where it sits in the page outline.
   How big it looks is a separate choice. These classes give any element the
   size, line height and tracking of a TinMan scale step, copied from
   tinman.css, so a section title can be an h2 in the outline and still be
   drawn at the h3 or h5 step. No size outside the TinMan scale is used.
   Example: <h3 class="h5"> is third level in the outline and 1.618rem on screen. */
.h1 { font-size: 4.236rem; line-height: 1.146; letter-spacing: -0.06em; font-weight: 700; }
.h2 { font-size: 3.330rem; line-height: 1.186; letter-spacing: -0.04em; font-weight: 700; }
.h3 { font-size: 2.618rem; line-height: 1.236; letter-spacing: -0.03em; font-weight: 700; }
.h4 { font-size: 2.058rem; line-height: 1.300; letter-spacing: -0.02em; font-weight: 700; }
.h5 { font-size: 1.618rem; line-height: 1.382; letter-spacing: -0.01em; font-weight: 700; }
.h6 { font-size: 1.272rem; line-height: 1.486; letter-spacing: 0em; font-weight: 700; }

/* Layout Structure
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* A band is a full-width stripe holding one .container.
   flow-root keeps the container's u-margin-N spacing inside the band, where
   it would otherwise collapse through the top and bottom edge. */
.band {
	display: flow-root;
}
.band-section {
	background: var(--band);
}
.band-ruled {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.band-hero {
	background: radial-gradient(circle at 18% 30%, color-mix(in srgb, var(--glow) 18%, transparent), transparent 55%);
	border-bottom: 1px solid var(--line);
}

/* Small uppercase label that sits above a heading */
.eyebrow {
	margin: 0 0 0.7rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eyebrow);
}
.eyebrow::before {
	content: "";
	display: inline-block;
	width: 2.1rem;
	height: 2px;
	margin-right: 0.7rem;
	vertical-align: middle;
	background: var(--accent);
}
.eyebrow-bare::before {
	display: none;
}
/* The heading after an eyebrow sits close to it. margin-top only, the size stays native. */
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3,
.eyebrow + h4,
.eyebrow + h5,
.eyebrow + h6 {
	margin-top: 0;
}

/* Intro paragraph, one step up the type scale */
.lede {
	font-size: 1.272rem;
	line-height: 1.486;
}

/* Images */
.photo {
	border-radius: 8px;
	border: 1px solid var(--line);
}
/* Small accent image (home page heartbeat). Sized 20% over the original 200x140 crop (now 240x168), 60px inset, 1.4rem gap above; overrides u-img-responsive's 100% width. */
.photo-sm {
	width: 240px;
	height: 168px;
	margin: 1.4rem 0 0 60px;
	object-fit: cover;
}
/* Round portrait. object-fit crops the 3:4 source to a square, so the face stays centred. */
.avatar {
	float: left;
	width: 92px;
	height: 92px;
	margin: 0 1.4rem 0 0;
	object-fit: cover;
	object-position: center top;
	border-radius: 50%;
}

/* Cards: floats cannot equalise heights, so each grid of cards that needs a
   common height sets a min-height below. */
.card {
	display: block;
	padding: 1.4rem;
	color: var(--body);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
}
.card > :first-child {
	margin-top: 0;
}
.card > :last-child {
	margin-bottom: 0;
}
a.card:hover {
	text-decoration: none;
	color: var(--body);
	border-color: var(--accent);
}
.card-more {
	color: var(--primary);
	font-weight: 600;
}
.cards-service .card { min-height: 22.4rem; }
/* Float columns give cards unequal heights once one card has long text (Wellness Day). Flex makes each row's cards equal and pins "Explore" to the bottom. */
.cards-service { display: flex; flex-wrap: wrap; }
.cards-service > .columns { display: flex; margin-bottom: 1.4rem; } /* gap between wrapped or stacked cards */
.cards-service .card { display: flex; flex-direction: column; flex: 1; }
.cards-service .card p { margin-top: 0; } /* flex stops the heading and paragraph margins collapsing */
.cards-service .card-more { margin-top: auto; }
.cards-package .card { min-height: 31.5rem; }
.cards-outcome .card { min-height: 14rem; }
.cards-package ul { min-height: 12.6rem; }

/* A heading that opens a column sits flush with the top of its band, so the
   band's own spacing is the only space above it. margin-top only. */
.band h2:first-child,
.band h3:first-child {
	margin-top: 0;
}

/* Testimonials: tinman.css sizes a blockquote to its text (display: table),
   so three quotes of different lengths come out three different widths.
   Block display makes each fill its column; min-height evens the heights. */
.quotes blockquote {
	display: block;
	margin: 0;
	min-height: 11.9rem;
}

/* Feature pillars: a thin rule on the left of each */
.pillar {
	min-height: 13.3rem;
	padding-left: 1.4rem;
	border-left: 1px solid color-mix(in srgb, var(--body) 16%, transparent);
}
.pillar h2 {
	margin-top: 0;
}

/* Numbered steps: a rule across the top of each */
.step {
	padding-top: 1.4rem;
	border-top: 1px solid var(--line);
}
.step > h3:first-child {
	margin-top: 0;
}

/* Lists with an icon in front of every item */
ul.ticks {
	list-style: none;
}
ul.ticks li {
	margin-bottom: 0.7rem;
}
ul.ticks i {
	margin-right: 0.7rem;
	color: var(--primary);
}
/* Two columns of ticks, filled top to bottom. Stays two columns on a phone. */
ul.ticks-2 {
	-webkit-columns: 2;
	        columns: 2;
}
ul.ticks-2 li {
	-webkit-column-break-inside: avoid;
	        break-inside: avoid;
}
ul.ruled li {
	margin: 0;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--line);
}

/* Industry tags */
.tag {
	display: inline-block;
	margin: 0 0.7rem 0.7rem 0;
	padding: 0.35rem 0.9rem;
	font-size: 0.875rem;
	background: var(--surface-soft);
	border: 1px solid var(--line);
	border-radius: 4px;
}

/* Questions and answers: native <details>, no script needed */
.faq details {
	border-bottom: 1px solid var(--line);
}
.faq summary {
	position: relative;
	padding: 1.4rem 2.1rem 1.4rem 0;
	font-size: 1.128rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: "+";
	position: absolute;
	right: 0.35rem;
	color: var(--primary);
}
.faq summary:hover {
	color: var(--primary);
}
.faq details[open] summary::after {
	content: "\2013";
}
.faq details p {
	margin: 0 0 1.4rem;
	padding-right: 2.1rem;
}

/* Navigation Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	padding: 0.7rem 0;
	background: color-mix(in srgb, var(--background) 88%, transparent);
	-webkit-backdrop-filter: blur(14px);
	        backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.site-header .row {
	margin-bottom: 0;
}
.brand {
	display: inline-block;
	font-size: 1.128rem;
	font-weight: 700;
	line-height: 38px;
	letter-spacing: -0.02em;
	color: var(--body);
}
.brand:hover {
	color: var(--body);
	text-decoration: none;
}
.brand img {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 0 0.7rem 0 0;
	padding: 3px;
	vertical-align: middle;
	background: var(--emblem-ground);
	border-radius: 8px;
}
.brand span {
	font-weight: 300;
	color: var(--secondary);
}
.site-nav {
	line-height: 38px;
	text-align: right;
}
.site-nav a:not(.button) {
	margin-left: 1.4rem;
	color: var(--body);
}
.site-nav a:not(.button):hover,
.site-nav a[aria-current="page"] {
	color: var(--primary);
}
/* tinman.css underlines every link on hover. The menu changes colour instead. */
.site-nav a:hover {
	text-decoration: none;
}
.site-nav .button {
	margin: 0 0 0 1.4rem;
}
/* Phone menu button, same look as tinman.css's .theme-toggle. Only shown when the columns stack. */
.nav-toggle {
	display: none;
	float: right;
	margin: 0;
	padding: 0 0.9rem;
	border-color: transparent; /* no outline around the icon; colors.css still sets the icon colour */
	font-size: 1rem;
	letter-spacing: 0;
}
.nav-toggle:hover {
	border-color: transparent; /* colors.css redraws the border on hover, so keep it off here too */
}
.nav-toggle i {
	margin-right: 0;
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.site-footer {
	display: flow-root; /* keeps the container's bottom margin inside the footer instead of leaving a gap under it */
	background: var(--surface-faint);
	border-top: 1px solid var(--line);
}
/* u-margin-4 gives the container 2.8rem top and bottom. The copyright line sits
   inside its own line height, so the same value looks heavier underneath. */
.site-footer .container {
	margin-bottom: 1.4rem;
}
.site-footer .footer-title {
	margin: 0 0 0.7rem;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}
.site-footer ul {
	margin: 0;
	list-style: none;
}
.site-footer li {
	margin-bottom: 0.35rem;
}
.site-footer p {
	margin: 0 0 0.7rem;
}
.site-footer hr {
	margin: 2.1rem 0 0;
}
.site-footer .credit {
	padding-top: 1.4rem;
}
/* .site-footer p above outranks .u-no-margin, which would leave 0.7rem under the credit line */
.site-footer .credit p {
	margin: 0;
}

/* Contact Form
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.form-note {
	font-size: 0.875rem;
	color: var(--muted);
}
fieldset.choices label {
	margin-bottom: 0.35rem;
	font-weight: 300;
}
/* tinman.css gives every input a 1.4rem bottom margin, too loose between radio buttons */
fieldset.choices input {
	margin-bottom: 0;
}

/* Animations
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.heartbeat {
	-webkit-animation-name: heartbeat;
	        animation-name: heartbeat;
	-webkit-animation-duration: 1.5s;
	        animation-duration: 1.5s;
	-webkit-animation-iteration-count: infinite;
	        animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	        animation-timing-function: linear;
}

@-webkit-keyframes heartbeat {
	0% {
	-webkit-transform: scale(1.1);
	        transform: scale(1.1); }
	50% {
	-webkit-transform: scale(0.8);
	        transform: scale(0.8); }
	100% {
	-webkit-transform: scale(1);
	        transform: scale(1); }
}

@keyframes heartbeat {
	0% {
	-webkit-transform: scale(1.1);
	        transform: scale(1.1); }
	50% {
	-webkit-transform: scale(0.8);
	        transform: scale(0.8); }
	100% {
	-webkit-transform: scale(1);
	        transform: scale(1); }
}

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Desktop first: every section above is written for desktop. The queries below
only override what changes on smaller screens (max-width) or on very large ones
(min-width). Keep them in this order, widest max-width first, so each narrower
query can override the one before it. Because they sit after every section, they
win over the styles above.

Breakpoints are em, based on 16px:
60em = 960px, 30em = 480px, 90em = 1440px
The grid in tinman.css stacks below 48em (768px) on its own, and 47.9375em
below is that same switch, for what has to change when the columns stack.
*/

/* Tablet and down */
@media screen and (max-width: 60em) {
	.site-nav a:not(.button) { margin-left: 0.9rem; }
	.cards-service .card { min-height: 26.6rem; }
	.cards-package .card { min-height: 35rem; }
	.quotes blockquote { min-height: 15.4rem; }
}

/* Tablet only (columns stack below 48em): five service cards are too narrow in one row, so wrap three then two */
@media screen and (min-width: 48em) and (max-width: 60em) {
	.cards-service > .columns { width: calc(33.33333% - 1.4em); }
}

/* Columns stack: equal heights no longer apply, and a tall sticky header would eat the screen */
@media screen and (max-width: 47.9375em) {
	/* the heading size classes step down two places, as the headings do in tinman.css */
	.h1 { font-size: 2.618rem; line-height: 1.236; letter-spacing: -0.05em; }
	.h2 { font-size: 2.058rem; line-height: 1.300; letter-spacing: -0.03em; }
	.h3 { font-size: 1.618rem; line-height: 1.382; letter-spacing: -0.02em; }
	.h4 { font-size: 1.272rem; line-height: 1.486; letter-spacing: -0.01em; }
	.h5 { font-size: 1.128rem; line-height: 1.548; letter-spacing: 0em; }
	.h6 { font-size: 1.000rem; line-height: 1.618; letter-spacing: 0.01em; }
	.cards-service .card,
	.cards-package .card,
	.cards-outcome .card,
	.cards-package ul,
	.quotes blockquote,
	.pillar { min-height: 0; }
	.nav-toggle { display: inline-block; }
	/* With script the menu starts closed and the button opens it. Without script it stays open. */
	.js .site-nav { display: none; }
	.js .site-nav.is-open { display: block; }
	.site-nav { text-align: left; }
	.site-nav a:not(.button) { display: block; margin: 0; }
	.site-nav .button { margin: 0.35rem 0 0; }
	.pillar { padding-left: 0.9rem; }
}

/* Mobile */
@media screen and (max-width: 30em) {
	.lede { font-size: 1.128rem; }
	.faq summary { font-size: 1rem; }
}

/* Visitors who ask their system for less motion */
@media (prefers-reduced-motion: reduce) {
	.heartbeat {
		-webkit-animation: none;
		        animation: none;
	}
}

/* Larger than standard desktop, seldom needed so it stays last */
@media screen and (min-width: 90em) {}
