/* ==========================================================================
   Design tokens — tune the palette here; everything below references these.
   ========================================================================== */
:root {
	--thc-bg:        #FBF6ED; /* warm cream page background */
	--thc-card:      #FDFBF7; /* near-white card background */
	--thc-ink:       #362E28; /* main text */
	--thc-ink-soft:  #5B5044; /* secondary text */
	--thc-border:    #E6DDD0; /* hairline borders */
	--thc-terracotta:#C1602E; /* primary accent — buttons, links */
	--thc-terracotta-dark:#9C4B22;
	--thc-green:     #3F6B4F; /* secondary accent — eyebrows, tags */
	--thc-gold:      #E8B94A; /* sun-mark / highlight accent */
	--thc-dark:      #3D3226; /* CTA band / footer-adjacent dark surface */
	--thc-radius:    18px;
	--thc-radius-sm: 999px;
	--thc-font-display: 'Bitter', Georgia, serif;
	--thc-font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--thc-bg);
	color: var(--thc-ink);
	font-family: var(--thc-font-body);
	font-size: 16px;
	line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--thc-font-display); margin: 0 0 0.5em; line-height: 1.15; color: var(--thc-ink); }
p { margin: 0 0 1em; }
a { color: var(--thc-terracotta); text-decoration: none; }
a:hover { color: var(--thc-terracotta-dark); }
ul { margin: 0; padding: 0; list-style: none; }

.thc-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.thc-container--narrow { max-width: 900px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.thc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	border-radius: var(--thc-radius-sm);
	font-weight: 700;
	font-size: 15px;
	font-family: var(--thc-font-body);
	cursor: pointer;
	border: none;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.thc-btn-primary { background: var(--thc-terracotta); color: #fff; }
.thc-btn-primary:hover { background: var(--thc-terracotta-dark); color: #fff; }
.thc-btn-outline { background: transparent; color: var(--thc-ink); border: 1.5px solid var(--thc-border); }
.thc-btn-outline:hover { border-color: var(--thc-ink); color: var(--thc-ink); }
.thc-btn-on-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.thc-btn-on-dark:hover { border-color: #fff; color: #fff; }

/* ==========================================================================
   Site header / nav
   ========================================================================== */
.thc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
	border-bottom: 1px solid var(--thc-border);
	background: var(--thc-bg);
}
.thc-header .thc-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.thc-brand { display: flex; align-items: center; gap: 12px; color: var(--thc-ink); }
.thc-brand img { max-height: 56px; width: auto; }
.thc-brand-name { font-family: var(--thc-font-display); font-weight: 700; font-size: 19px; color: #4a4038; }
.thc-brand-sub { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--thc-green); }

.thc-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.thc-nav a { font-weight: 600; font-size: 15px; color: #4a4038; }
.thc-nav a:hover, .thc-nav .current-menu-item > a { color: var(--thc-terracotta); }
.thc-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.thc-nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
	.thc-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--thc-bg); border-bottom: 1px solid var(--thc-border); flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 24px 20px; display: none; }
	.thc-nav.is-open { display: flex; }
	.thc-nav a { display: block; padding: 10px 0; width: 100%; }
	.thc-header { position: relative; }
	.thc-nav-toggle { display: inline-flex; }
	.thc-header-cta { display: none; }
}

/* ==========================================================================
   Hero / promo banner
   ========================================================================== */
.thc-promo {
	background: var(--thc-green);
	color: #fff;
	text-align: center;
	padding: 12px 20px;
	font-weight: 700;
	font-size: 14px;
}
.thc-promo a { color: #fff; text-decoration: underline; }

.thc-hero { padding: 56px 0 72px; display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.thc-hero-copy { flex: 1 1 420px; min-width: 0; }
.thc-hero-media { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.thc-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #F3E3CC; color: #8A5A22; padding: 8px 16px; border-radius: var(--thc-radius-sm); font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.thc-hero h1 { font-size: clamp(32px, 4.5vw, 52px); max-width: 620px; }
.thc-hero p.thc-lead { font-size: 18px; color: var(--thc-ink-soft); max-width: 500px; }

.thc-photo { border-radius: var(--thc-radius); overflow: hidden; position: relative; background-size: cover; background-position: center; }
.thc-photo-caption { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: rgba(255,255,255,.9); font-size: 12.5px; font-weight: 600; background: rgba(0,0,0,.08); }
.thc-photo.has-image .thc-photo-caption { display: none; }

/* ==========================================================================
   Cards, grids, sections
   ========================================================================== */
.thc-section { padding: 64px 0; }
.thc-section--tint { background: #F3EADB; }
.thc-section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.thc-eyebrow-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--thc-terracotta); margin-bottom: 12px; }

.thc-card { background: var(--thc-card); border-radius: 20px; border: 1px solid var(--thc-border); }
.thc-grid { display: grid; gap: 20px; }
.thc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.thc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.thc-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .thc-grid-4 { grid-template-columns: repeat(2, 1fr); } .thc-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .thc-grid-4, .thc-grid-3, .thc-grid-2 { grid-template-columns: 1fr; } .thc-hero { flex-direction: column; } }

.thc-class-card { overflow: hidden; }
.thc-class-card .thc-photo { border-radius: 0; height: 140px; }
.thc-class-card .thc-class-card-body { padding: 18px 20px; }
.thc-class-card h3 { font-size: 16px; }
.thc-class-card p { font-size: 13px; color: var(--thc-ink-soft); margin: 6px 0 0; }
.thc-class-cat-pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--thc-radius-sm); font-size: 12.5px; font-weight: 700; background: #F3E3CC; color: #8A5A22; margin-bottom: 14px; }

.thc-tag { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--thc-radius-sm); font-size: 12.5px; font-weight: 700; background: #E3ECE5; color: var(--thc-green); margin: 0 8px 8px 0; }

/* ==========================================================================
   CTA band / dark surfaces
   ========================================================================== */
.thc-cta-band { background: var(--thc-dark); border-radius: 28px; padding: 56px; text-align: center; color: #fff; }
.thc-cta-band h2 { color: #fff; }
.thc-cta-band p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 26px; }
.thc-cta-band .thc-btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.thc-embed-panel { border-radius: 20px; padding: 0; overflow: hidden; }
.thc-embed-panel-head { padding: 16px 24px; border-bottom: 1px solid var(--thc-border); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.thc-embed-panel-head strong { font-size: 13px; color: var(--thc-ink-soft); }
.thc-embed-panel-body { padding: 24px; }
.thc-embed-panel-body :first-child { margin-top: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.thc-footer { padding: 56px 0 40px; border-top: 1px solid var(--thc-border); }
.thc-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .thc-footer-grid { grid-template-columns: 1fr 1fr; } }
.thc-footer h4 { font-size: 13px; margin-bottom: 14px; color: #4a4038; }
.thc-footer ul li { margin-bottom: 10px; font-size: 14px; }
.thc-footer-brand { font-family: var(--thc-font-display); font-weight: 700; font-size: 19px; color: #4a4038; margin-bottom: 12px; }
.thc-footer-meta { font-size: 13.5px; color: var(--thc-ink-soft); line-height: 1.7; }
.thc-footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--thc-border); font-size: 12.5px; color: var(--thc-ink-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   Single Class / Instructor pages
   ========================================================================== */
.thc-breadcrumb { font-size: 13px; color: var(--thc-ink-soft); padding: 24px 0 0; }
.thc-breadcrumb a { color: var(--thc-ink-soft); }
.thc-detail-hero { display: flex; gap: 48px; align-items: center; padding: 28px 0 56px; flex-wrap: wrap; }
.thc-detail-hero-copy { flex: 1 1 420px; min-width: 0; }
.thc-detail-hero-media { flex: 0 1 440px; min-width: 280px; height: 360px; }
.thc-stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
@media (max-width: 700px) { .thc-stat-cards { grid-template-columns: 1fr; } .thc-detail-hero { flex-direction: column; } }
.thc-stat-card { padding: 26px; }
.thc-stat-card .thc-label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--thc-terracotta); margin-bottom: 10px; }
.thc-stat-card p { font-size: 14.5px; color: var(--thc-ink-soft); margin: 0; }

.thc-instructor-row { display: flex; align-items: center; gap: 20px; padding: 20px 24px; max-width: 440px; }
.thc-instructor-avatar { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 999px; overflow: hidden; background-size: cover; background-position: center; background-color: #ddd0be; }

.thc-entry-content { font-size: 16px; line-height: 1.75; color: var(--thc-ink-soft); }
.thc-entry-content p { margin: 0 0 1.1em; }

/* ==========================================================================
   Archives (Classes, Community/Teachers, Journal)
   ========================================================================== */
.thc-archive-head { text-align: center; padding: 48px 0 8px; }
.thc-filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 24px 0 40px; }
.thc-filter-pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: var(--thc-radius-sm); font-size: 13px; font-weight: 700; background: #F0E8DA; color: var(--thc-ink-soft); }
.thc-filter-pill.is-active, .thc-filter-pill:hover { background: var(--thc-terracotta); color: #fff; }

.thc-instructor-card { text-align: center; padding: 28px 20px; }
.thc-instructor-card .thc-photo { width: 96px; height: 96px; border-radius: 999px; margin: 0 auto 16px; }
.thc-instructor-card h3 { font-size: 16px; margin-bottom: 2px; }
.thc-instructor-card .thc-role { font-size: 13px; color: var(--thc-ink-soft); }

.thc-blog-card { overflow: hidden; }
.thc-blog-card .thc-photo { border-radius: 0; height: 160px; }
.thc-blog-card-body { padding: 20px; }
.thc-blog-card time { font-size: 12.5px; color: var(--thc-ink-soft); }

/* ==========================================================================
   Generic page content (page.php, contact template, etc.)
   ========================================================================== */
.thc-page-head { text-align: center; padding: 56px 0 8px; }
.thc-page-content { padding: 24px 0 72px; font-size: 16px; line-height: 1.75; color: var(--thc-ink-soft); }
.thc-page-content h2 { color: var(--thc-ink); margin-top: 1.4em; }
.thc-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
@media (max-width: 700px) { .thc-contact-cards { grid-template-columns: 1fr; } }
.thc-contact-card { padding: 28px; display: flex; align-items: center; gap: 18px; }
.thc-contact-icon { flex: 0 0 44px; height: 44px; border-radius: 999px; background: #F3E3CC; display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   404
   ========================================================================== */
.thc-404 { text-align: center; padding: 96px 24px; }

/* ==========================================================================
   Printable schedule tables
   ========================================================================== */
.thc-schedule-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.thc-schedule-table th { text-align: left; padding: 12px 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--thc-ink-soft); border-bottom: 1px solid var(--thc-border); }
.thc-schedule-table td { padding: 12px 20px; border-bottom: 1px solid var(--thc-border); color: var(--thc-ink); }
.thc-schedule-table tr:last-child td { border-bottom: none; }
.thc-schedule-table tr:nth-child(even) td { background: rgba(193, 96, 46, 0.03); }

/* ==========================================================================
   Pricing hub + item pages
   ========================================================================== */
.thc-price-grid { margin-bottom: 8px; }
.thc-price-card { display: block; padding: 22px 24px; transition: border-color .15s ease, transform .15s ease; }
.thc-price-card:hover { border-color: var(--thc-terracotta); transform: translateY(-2px); }
.thc-price-card-name { font-weight: 700; font-size: 15px; color: var(--thc-ink); line-height: 1.35; margin-bottom: 10px; }
.thc-price-card-price { font-size: 20px; font-weight: 800; color: var(--thc-terracotta); }
.thc-price-card-meta { font-size: 12.5px; color: var(--thc-ink-soft); margin-top: 6px; }
.thc-price-detail-tag { display: inline-flex; margin-top: 18px; font-size: 26px; font-weight: 800; color: var(--thc-terracotta); }
