/*
Theme Name: Theta Tau
Theme URI: https://www.ttufiji.com/
Author: Theta Tau Chapter of Phi Gamma Delta
Description: A clean, fast, accessible theme for the Theta Tau Chapter of Phi Gamma Delta at Tennessee Tech. Royal purple and gold, heritage serif headings, mobile-first navigation, and no page-builder dependencies. Includes legacy-URL redirects, a 410 Gone response for injected spam URLs, and light hardening (comments off, XML-RPC off, author enumeration blocked).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thetatau
*/

/* ---------- Tokens ---------- */
:root {
	--tt-purple-950: #160a24;
	--tt-purple-900: #22113a;
	--tt-purple-800: #2f1852;
	--tt-purple-700: #43226f;
	--tt-purple-600: #56308f;
	--tt-purple-100: #ede7f6;
	--tt-purple-50: #f6f2fb;
	--tt-gold: #c9a227;
	--tt-gold-light: #e7cf7a;
	--tt-cream: #faf8f3;
	--tt-ink: #1c1824;
	--tt-ink-soft: #4a4456;
	--tt-line: #e3dfe9;
	--tt-white: #ffffff;

	--tt-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--tt-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

	--tt-radius: 10px;
	--tt-radius-lg: 18px;
	--tt-shadow: 0 1px 2px rgba(22, 10, 36, .06), 0 8px 24px rgba(22, 10, 36, .08);
	--tt-wrap: 1180px;
	--tt-prose: 760px;
	--tt-gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--tt-cream);
	color: var(--tt-ink);
	font-family: var(--tt-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--tt-purple-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tt-purple-800); }
:focus-visible { outline: 3px solid var(--tt-gold); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tt-serif);
	font-weight: 600;
	line-height: 1.2;
	color: var(--tt-purple-900);
	margin: 1.6em 0 .55em;
	font-variation-settings: "opsz" 72;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }
p, ul, ol, dl, table, figure, blockquote { margin: 0 0 1.15em; }
hr { border: 0; border-top: 1px solid var(--tt-line); margin: 2.5em 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed; top: 8px; left: 8px; z-index: 1000;
	background: var(--tt-white); color: var(--tt-purple-900); padding: 10px 16px; border-radius: 6px; box-shadow: var(--tt-shadow);
}

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

/* ---------- Buttons ---------- */
.tt-btn, .wp-block-button__link, .tt-content a.tt-btn {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .8em 1.4em; border-radius: 999px;
	background: var(--tt-gold); color: var(--tt-purple-950);
	font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.2;
	border: 2px solid var(--tt-gold);
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tt-btn:hover, .wp-block-button__link:hover { background: var(--tt-gold-light); border-color: var(--tt-gold-light); color: var(--tt-purple-950); }
.tt-btn--ghost { background: transparent; color: var(--tt-white); border-color: rgba(255,255,255,.7); }
.tt-btn--ghost:hover { background: var(--tt-white); color: var(--tt-purple-900); border-color: var(--tt-white); }
.tt-btn--purple { background: var(--tt-purple-700); border-color: var(--tt-purple-700); color: var(--tt-white); }
.tt-btn--purple:hover { background: var(--tt-purple-800); border-color: var(--tt-purple-800); color: var(--tt-white); }

/* ---------- Utility bar ---------- */
.tt-utility { background: var(--tt-purple-950); color: rgba(255,255,255,.78); font-size: .86rem; }
.tt-utility .tt-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.tt-utility a { color: var(--tt-gold-light); text-decoration: none; font-weight: 600; }
.tt-utility a:hover { color: var(--tt-white); }
.tt-utility__links { display: flex; gap: 18px; }
@media (max-width: 640px) { .tt-utility__tag { display: none; } .tt-utility .tt-wrap { justify-content: center; } }

/* ---------- Header ---------- */
.tt-header { background: var(--tt-white); border-bottom: 1px solid var(--tt-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .tt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tt-header { top: 0; position: relative; } }
.tt-header .tt-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.tt-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tt-purple-900); }
.tt-brand:hover { color: var(--tt-purple-700); }
.tt-brand .custom-logo { max-height: 56px; width: auto; display: block; }
.tt-brand__mark {
	flex: none; width: 48px; height: 48px; border-radius: 50%;
	background: var(--tt-purple-800); color: var(--tt-gold-light);
	display: grid; place-items: center;
	font-family: var(--tt-serif); font-size: 1.05rem; font-weight: 600; letter-spacing: .02em;
	box-shadow: inset 0 0 0 2px var(--tt-gold);
}
.tt-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.tt-brand__name { font-family: var(--tt-serif); font-weight: 600; font-size: 1.2rem; }
.tt-brand__sub { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tt-ink-soft); font-weight: 600; margin-top: 3px; }

/* ---------- Primary nav ---------- */
.tt-nav-toggle {
	display: none; align-items: center; gap: 8px;
	background: none; border: 1px solid var(--tt-line); border-radius: 8px;
	padding: 8px 12px; font: inherit; font-weight: 600; color: var(--tt-purple-900); cursor: pointer;
}
.tt-nav-toggle__bars { width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block; }
.tt-nav-toggle__bars::before, .tt-nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.tt-nav-toggle__bars::before { top: -6px; } .tt-nav-toggle__bars::after { top: 6px; }

.tt-nav ul { list-style: none; margin: 0; padding: 0; }
.tt-nav > ul { display: flex; align-items: center; gap: 2px; }
.tt-nav li { position: relative; }
.tt-nav a {
	display: block; padding: 10px 14px; border-radius: 8px;
	color: var(--tt-ink); text-decoration: none; font-weight: 600; font-size: .98rem;
}
.tt-nav a:hover, .tt-nav .current-menu-item > a, .tt-nav .current-menu-ancestor > a, .tt-nav .current_page_item > a, .tt-nav .current_page_ancestor > a { color: var(--tt-purple-700); background: var(--tt-purple-50); }
.tt-nav .menu-item-has-children > a::after, .tt-nav .page_item_has_children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.tt-nav .sub-menu, .tt-nav .children {
	position: absolute; left: 0; top: 100%; min-width: 250px; padding: 8px;
	background: var(--tt-white); border: 1px solid var(--tt-line); border-radius: var(--tt-radius); box-shadow: var(--tt-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.tt-nav .sub-menu .sub-menu, .tt-nav .children .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
.tt-nav li:hover > .sub-menu, .tt-nav li:focus-within > .sub-menu, .tt-nav li:hover > .children, .tt-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.tt-nav .sub-menu a, .tt-nav .children a { font-weight: 500; padding: 8px 12px; }
.tt-nav .sub-menu .menu-item-has-children > a::after, .tt-nav .children .page_item_has_children > a::after { display: none; }
.tt-nav .tt-nav__cta > a { background: var(--tt-purple-700); color: var(--tt-white); margin-left: 6px; padding: 10px 18px; border-radius: 999px; }
.tt-nav .tt-nav__cta > a:hover { background: var(--tt-purple-800); color: var(--tt-white); }

@media (max-width: 960px) {
	.tt-nav-toggle { display: inline-flex; }
	.tt-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--tt-white); border-bottom: 1px solid var(--tt-line); box-shadow: var(--tt-shadow); max-height: calc(100vh - 110px); overflow-y: auto; }
	.tt-nav.is-open { display: block; }
	.tt-nav > ul { flex-direction: column; align-items: stretch; padding: 10px var(--tt-gutter) 18px; gap: 0; }
	.tt-nav a { padding: 12px 10px; border-radius: 6px; }
	.tt-nav .sub-menu, .tt-nav .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
	.tt-nav .menu-item-has-children > a::after, .tt-nav .page_item_has_children > a::after { display: none; }
	.tt-nav .tt-nav__cta > a { margin: 10px 0 0; text-align: center; }
}

/* ---------- Hero (front page) ---------- */
.tt-hero {
	position: relative; color: var(--tt-white); overflow: hidden;
	background: var(--tt-purple-900) center/cover no-repeat;
	min-height: clamp(460px, 72vh, 680px); display: flex; align-items: flex-end;
}
.tt-hero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(22,10,36,.25) 0%, rgba(22,10,36,.55) 45%, rgba(22,10,36,.92) 100%);
}
.tt-hero .tt-wrap { position: relative; padding-top: 80px; padding-bottom: clamp(48px, 8vw, 88px); }
.tt-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tt-gold-light); margin-bottom: 14px; }
.tt-hero h1 { color: var(--tt-white); margin: 0 0 .3em; max-width: 14ch; font-size: clamp(2.4rem, 6vw, 4.2rem); }
.tt-hero__lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 40ch; color: rgba(255,255,255,.9); margin-bottom: 1.6em; }
.tt-hero__lede em { font-style: normal; color: var(--tt-gold-light); }
.tt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page header ---------- */
.tt-pagehead {
	background: var(--tt-purple-900);
	background-image: radial-gradient(circle at 85% 0%, rgba(201,162,39,.18), transparent 45%), radial-gradient(circle at 0% 100%, rgba(86,48,143,.55), transparent 55%);
	color: var(--tt-white); padding: clamp(40px, 6vw, 72px) 0 clamp(34px, 5vw, 56px);
}
.tt-pagehead h1 { color: var(--tt-white); margin: .2em 0 0; }
.tt-crumbs { font-size: .88rem; color: rgba(255,255,255,.7); }
.tt-crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tt-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.tt-crumbs a { color: var(--tt-gold-light); text-decoration: none; }
.tt-crumbs a:hover { text-decoration: underline; }
.tt-pagehead__meta { margin-top: 10px; color: rgba(255,255,255,.75); font-size: .95rem; }

/* ---------- Main content ---------- */
.tt-main { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); }
.tt-content { max-width: var(--tt-prose); margin: 0 auto; }
.tt-content--wide { max-width: var(--tt-wrap); }
.tt-content > *:first-child { margin-top: 0; }
.tt-content .alignwide, .tt-content .tt-wide { max-width: 1040px; margin-left: 50%; transform: translateX(-50%); width: calc(100vw - 2 * var(--tt-gutter)); }
.tt-content .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.tt-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.tt-content .alignright { float: right; margin: 0 0 1em 1.5em; max-width: 45%; }
.tt-content .alignleft { float: left; margin: 0 1.5em 1em 0; max-width: 45%; }
@media (max-width: 640px) { .tt-content .alignright, .tt-content .alignleft { float: none; margin: 0 0 1em; max-width: 100%; } }
.tt-content img { border-radius: var(--tt-radius); }
.tt-content figure { margin: 0 0 1.5em; }
.tt-content figcaption, .wp-caption-text { font-size: .9rem; color: var(--tt-ink-soft); margin-top: .5em; line-height: 1.45; }
.tt-content ul, .tt-content ol { padding-left: 1.3em; }
.tt-content li { margin-bottom: .35em; }
.tt-content blockquote {
	margin: 1.8em 0; padding: 1.2em 1.5em; border-left: 4px solid var(--tt-gold);
	background: var(--tt-white); border-radius: 0 var(--tt-radius) var(--tt-radius) 0;
	font-family: var(--tt-serif); font-size: 1.15rem; line-height: 1.55; color: var(--tt-purple-900);
}
.tt-content blockquote cite, .tt-content blockquote footer { display: block; margin-top: .8em; font-family: var(--tt-sans); font-size: .92rem; font-style: normal; color: var(--tt-ink-soft); }
.tt-content .tt-lede { font-size: 1.2rem; color: var(--tt-ink-soft); }
.tt-content .tt-note { font-size: .92rem; color: var(--tt-ink-soft); background: var(--tt-purple-50); border-radius: var(--tt-radius); padding: .9em 1.1em; }

/* Tables */
.tt-content table { width: 100%; border-collapse: collapse; background: var(--tt-white); border-radius: var(--tt-radius); overflow: hidden; box-shadow: 0 0 0 1px var(--tt-line); font-size: .97rem; }
.tt-content th, .tt-content td { text-align: left; padding: .7em .9em; border-bottom: 1px solid var(--tt-line); vertical-align: top; }
.tt-content thead th, .tt-content th[scope="col"] { background: var(--tt-purple-50); color: var(--tt-purple-900); font-weight: 700; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.tt-content tr:last-child td, .tt-content tr:last-child th { border-bottom: 0; }
.tt-content tbody th { font-weight: 600; color: var(--tt-purple-900); width: 42%; }
.tt-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.15em; }
.tt-table-scroll table { margin: 0; min-width: 640px; }
.tt-vacant { color: var(--tt-ink-soft); font-style: italic; }

/* Section heading accent */
.tt-section-title { position: relative; padding-top: .6em; }
.tt-section-title::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--tt-gold); border-radius: 2px; }

/* Cards & grids */
.tt-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin: 0 0 1.5em; padding: 0; list-style: none; }
.tt-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tt-grid > li { margin: 0; }
.tt-card { background: var(--tt-white); border-radius: var(--tt-radius-lg); box-shadow: var(--tt-shadow); padding: 1.3em 1.4em; height: 100%; }
.tt-card h3, .tt-card h4 { margin-top: 0; }
.tt-card p:last-child { margin-bottom: 0; }

/* Photo gallery */
.tt-gallery { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin: 0 0 2em; }
.tt-gallery figure { margin: 0; background: var(--tt-white); border-radius: var(--tt-radius-lg); box-shadow: var(--tt-shadow); overflow: hidden; display: flex; flex-direction: column; }
.tt-gallery img { border-radius: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.tt-gallery figcaption { padding: .9em 1.1em 1.1em; margin: 0; color: var(--tt-ink); font-size: .95rem; }
.tt-gallery figcaption strong { display: block; font-family: var(--tt-serif); font-size: 1.08rem; color: var(--tt-purple-900); margin-bottom: .2em; }
.tt-gallery--natural img { aspect-ratio: auto; object-fit: contain; background: var(--tt-purple-50); }
.tt-gallery--pair { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

/* Composite (brothers) grid */
.tt-composites { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); list-style: none; padding: 0; margin: 0 0 2em; }
.tt-composites li { margin: 0; }
.tt-composites a, .tt-composites .tt-composite { display: block; text-decoration: none; background: var(--tt-white); border-radius: var(--tt-radius); box-shadow: var(--tt-shadow); overflow: hidden; color: var(--tt-purple-900); transition: transform .15s ease, box-shadow .15s ease; }
.tt-composites a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(22,10,36,.14); }
.tt-composites img { border-radius: 0; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tt-composites span { display: block; padding: .55em .8em; font-weight: 700; font-size: .95rem; }
.tt-composites small { display: block; padding: 0 .8em .6em; margin-top: -.4em; color: var(--tt-ink-soft); font-size: .8rem; }

/* Link list (newsletters, resources) */
.tt-linklist { list-style: none; padding: 0 !important; margin: 0 0 1.5em; background: var(--tt-white); border-radius: var(--tt-radius-lg); box-shadow: 0 0 0 1px var(--tt-line); overflow: hidden; }
.tt-linklist li { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: .75em 1.1em; border-bottom: 1px solid var(--tt-line); }
.tt-linklist li:last-child { border-bottom: 0; }
.tt-linklist li span { color: var(--tt-ink-soft); font-size: .92rem; white-space: nowrap; }
.tt-linklist a { font-weight: 600; text-decoration: none; }
.tt-linklist a:hover { text-decoration: underline; }
@media (max-width: 520px) { .tt-linklist li { flex-direction: column; gap: 2px; } .tt-linklist li span { white-space: normal; } }

/* Schedule */
.tt-schedule { list-style: none; padding: 0 !important; margin: 0 0 1.8em; border-left: 3px solid var(--tt-purple-100); }
.tt-schedule li { position: relative; margin: 0; padding: .55em 0 .55em 1.4em; }
.tt-schedule li::before { content: ""; position: absolute; left: -8px; top: 1.05em; width: 13px; height: 13px; border-radius: 50%; background: var(--tt-white); border: 3px solid var(--tt-purple-600); }
.tt-schedule time, .tt-schedule .tt-when { display: block; font-weight: 700; color: var(--tt-purple-700); font-size: .92rem; letter-spacing: .02em; }

/* Event callout */
.tt-callout { background: var(--tt-purple-900); color: var(--tt-white); border-radius: var(--tt-radius-lg); padding: clamp(1.4em, 3vw, 2em); margin: 0 0 2em; }
.tt-callout h2, .tt-callout h3 { color: var(--tt-white); margin-top: 0; }
.tt-callout p { color: rgba(255,255,255,.88); }
.tt-callout dl { display: grid; grid-template-columns: max-content 1fr; gap: .4em 1.2em; margin: 0 0 1.2em; }
.tt-callout dt { color: var(--tt-gold-light); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .15em; }
.tt-callout dd { margin: 0; }
@media (max-width: 520px) { .tt-callout dl { grid-template-columns: 1fr; } .tt-callout dd { margin-bottom: .5em; } }

/* Officer / roster definition list */
.tt-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; margin: 0 0 1.6em; }
.tt-roster div { background: var(--tt-white); border-radius: var(--tt-radius); padding: .9em 1.1em; box-shadow: 0 0 0 1px var(--tt-line); }
.tt-roster dt { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tt-ink-soft); }
.tt-roster dd { margin: .2em 0 0; font-family: var(--tt-serif); font-size: 1.15rem; color: var(--tt-purple-900); }

/* Chips */
.tt-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0 0 1em; }
.tt-chips li { margin: 0; padding: .35em .9em; border-radius: 999px; background: var(--tt-purple-50); color: var(--tt-purple-800); font-weight: 600; font-size: .92rem; }

/* Name columns (donors, famous brothers) */
.tt-columns { columns: 3 220px; column-gap: 28px; list-style: none; padding: 0 !important; }
.tt-columns li { break-inside: avoid; padding: .3em 0; border-bottom: 1px dashed var(--tt-line); margin: 0; }

/* Awards */
.tt-awards-year { background: var(--tt-white); border-radius: var(--tt-radius-lg); box-shadow: 0 0 0 1px var(--tt-line); margin: 0 0 14px; overflow: hidden; }
.tt-awards-year > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 1em 1.3em; font-family: var(--tt-serif); font-size: 1.4rem; font-weight: 600; color: var(--tt-purple-900); }
.tt-awards-year > summary::-webkit-details-marker { display: none; }
.tt-awards-year > summary::after { content: "+"; font-family: var(--tt-sans); font-size: 1.5rem; color: var(--tt-purple-600); line-height: 1; }
.tt-awards-year[open] > summary::after { content: "\2212"; }
.tt-awards-year > summary small { font-family: var(--tt-sans); font-size: .85rem; font-weight: 600; color: var(--tt-ink-soft); margin-left: auto; margin-right: 10px; }
.tt-awards-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 28px; padding: 0 1.3em 1.2em; }
.tt-awards-cols h4 { font-family: var(--tt-sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tt-ink-soft); margin: .6em 0 .4em; }
.tt-awards-list { list-style: none; padding: 0 !important; margin: 0; }
.tt-awards-list li { padding: .6em 0; border-top: 1px solid var(--tt-line); margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.tt-awards-list strong { color: var(--tt-purple-900); }
.tt-awards-list .tt-result { font-size: .82rem; font-weight: 700; white-space: nowrap; padding: .15em .6em; border-radius: 999px; background: var(--tt-purple-50); color: var(--tt-purple-700); align-self: start; }
.tt-awards-list .tt-result--first { background: #f7edc8; color: #6b5308; }
.tt-awards-list small { grid-column: 1 / -1; color: var(--tt-ink-soft); font-size: .88rem; line-height: 1.4; }
.tt-awards-list .tt-who { grid-column: 1 / -1; font-size: .92rem; }

/* ---------- Front page sections ---------- */
.tt-section { padding: clamp(48px, 7vw, 88px) 0; }
.tt-section--white { background: var(--tt-white); }
.tt-section--purple { background: var(--tt-purple-900); color: var(--tt-white); }
.tt-section--purple h2, .tt-section--purple h3 { color: var(--tt-white); }
.tt-section__head { max-width: 640px; margin-bottom: 2em; }
.tt-section__head h2 { margin-top: 0; }

.tt-home-content > .tt-pillars,
.tt-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.tt-pillar { background: var(--tt-white); border-radius: var(--tt-radius-lg); padding: 1.8em 1.6em; box-shadow: var(--tt-shadow); border-top: 4px solid var(--tt-gold); }
.tt-pillar img { width: 56px; height: 56px; object-fit: contain; border-radius: 0; margin-bottom: .6em; }
.tt-pillar h2 { font-size: 1.5rem; margin: 0 0 .5em; }
.tt-pillar p:last-child { margin-bottom: 0; }

.tt-numbers { background: var(--tt-purple-900); color: var(--tt-white); border-radius: var(--tt-radius-lg); padding: clamp(28px, 5vw, 56px); margin-top: clamp(40px, 6vw, 72px); background-image: radial-gradient(circle at 100% 0%, rgba(201,162,39,.16), transparent 50%); }
.tt-numbers h2 { color: var(--tt-white); margin-top: 0; }
.tt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px 32px; list-style: none; padding: 0 !important; margin: 0; }
.tt-stats li { margin: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; }
.tt-stats b { display: block; font-family: var(--tt-serif); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--tt-gold-light); line-height: 1.1; margin-bottom: 4px; }
.tt-stats span { color: rgba(255,255,255,.82); font-size: .98rem; }

.tt-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.tt-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 1.4em; border-radius: var(--tt-radius-lg); overflow: hidden; color: var(--tt-white); text-decoration: none; background: var(--tt-purple-800) center/cover no-repeat; box-shadow: var(--tt-shadow); }
.tt-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,10,36,.05) 20%, rgba(22,10,36,.88) 100%); transition: background .2s ease; }
.tt-tile:hover::before { background: linear-gradient(180deg, rgba(67,34,111,.25) 0%, rgba(22,10,36,.92) 100%); }
.tt-tile > * { position: relative; }
.tt-tile h3 { color: var(--tt-white); margin: 0 0 .25em; font-size: 1.45rem; }
.tt-tile p { margin: 0; color: rgba(255,255,255,.86); font-size: .96rem; }
.tt-tile:hover { color: var(--tt-white); }

.tt-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.tt-news article { background: var(--tt-white); border-radius: var(--tt-radius-lg); padding: 1.4em 1.5em; box-shadow: 0 0 0 1px var(--tt-line); }
.tt-news h3 { margin: .2em 0 .4em; font-size: 1.25rem; }
.tt-news h3 a { color: var(--tt-purple-900); text-decoration: none; }
.tt-news h3 a:hover { text-decoration: underline; }
.tt-news time { font-size: .85rem; color: var(--tt-ink-soft); font-weight: 600; }
.tt-news p { margin: 0; color: var(--tt-ink-soft); }

/* ---------- Posts / archive ---------- */
.tt-postlist { display: grid; gap: 18px; max-width: var(--tt-prose); margin: 0 auto; }
.tt-postlist article { background: var(--tt-white); border-radius: var(--tt-radius-lg); padding: 1.5em 1.6em; box-shadow: 0 0 0 1px var(--tt-line); }
.tt-postlist h2 { font-size: 1.5rem; margin: .1em 0 .4em; }
.tt-postlist h2 a { color: var(--tt-purple-900); text-decoration: none; }
.tt-postmeta { font-size: .9rem; color: var(--tt-ink-soft); }
.tt-postnav { display: flex; justify-content: space-between; gap: 16px; max-width: var(--tt-prose); margin: 2.5em auto 0; padding-top: 1.5em; border-top: 1px solid var(--tt-line); }
.tt-postnav a { text-decoration: none; font-weight: 600; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 2em; }
.nav-links .page-numbers { padding: .4em .8em; border-radius: 6px; background: var(--tt-white); box-shadow: 0 0 0 1px var(--tt-line); text-decoration: none; }
.nav-links .current { background: var(--tt-purple-700); color: var(--tt-white); }

/* ---------- Footer ---------- */
.tt-footer { background: var(--tt-purple-950); color: rgba(255,255,255,.75); font-size: .95rem; }
.tt-footer__top { padding: clamp(44px, 6vw, 72px) 0 36px; display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 900px) { .tt-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tt-footer__top { grid-template-columns: 1fr; } }
.tt-footer h2 { color: var(--tt-white); font-family: var(--tt-sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1em; }
.tt-footer ul { list-style: none; padding: 0; margin: 0; }
.tt-footer li { margin: 0 0 .5em; }
.tt-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.tt-footer a:hover { color: var(--tt-gold-light); text-decoration: underline; }
.tt-footer__brand .tt-brand { color: var(--tt-white); margin-bottom: 14px; }
.tt-footer__brand .tt-brand__sub { color: rgba(255,255,255,.6); }
.tt-footer address { font-style: normal; line-height: 1.6; }
.tt-footer__motto { font-family: var(--tt-serif); font-style: italic; color: var(--tt-gold-light); font-size: 1.1rem; margin-top: 1em; }
.tt-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px; font-size: .86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- 404 ---------- */
.tt-404 { text-align: center; max-width: 560px; margin: 0 auto; }
.tt-search { display: flex; gap: 8px; max-width: 460px; margin: 1.5em auto; }
.tt-search input[type="search"] { flex: 1; padding: .75em 1em; border-radius: 999px; border: 1px solid var(--tt-line); font: inherit; background: var(--tt-white); }

/* ---------- WordPress core classes ---------- */
.wp-caption { max-width: 100%; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.sticky, .bypostauthor { }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .tt-utility, .tt-header, .tt-footer, .tt-nav-toggle { display: none !important; } body { background: #fff; } .tt-pagehead { background: none; color: #000; padding: 0; } .tt-pagehead h1 { color: #000; } }
