/*
Theme Name: Tokens & Tides
Theme URI: https://example.com/
Author: Stien Smits
Description: Blog theme for Zero Trust, identity and AI security research. Cream, olive and mustard palette with Space Grotesk, Inter and JetBrains Mono (self-hosted).
Version: 1.0.0
Requires at least: 6.5
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: tokens-and-tides
Tags: blog, block-patterns, full-site-editing, one-column, wide-blocks
*/

/* Small eyebrow labels above headings */
.tt-eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ochre);
	margin-bottom: 0.75rem;
}

.tt-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--body); max-width: 40rem; }
.tt-muted { color: var(--wp--preset--color--muted); }

.tt-hero-title { font-size: var(--wp--preset--font-size--display) !important; line-height: 1.04; letter-spacing: -0.03em; }

/* Sections */
.tt-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.tt-bordered { border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }

/* Dark olive section */
.tt-dark { background: var(--wp--preset--color--olive); color: var(--wp--preset--color--cream); }
.tt-dark :where(h1, h2, h3, h4) { color: var(--wp--preset--color--cream); }
.tt-dark .tt-eyebrow { color: var(--wp--preset--color--mustard-light); }
.tt-dark .tt-lead, .tt-dark .tt-muted { color: #D9D4C0; }

/* Cards */
.tt-card {
	background: #FFFFFF;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	padding: 1.75rem;
	height: 100%;
	box-sizing: border-box;
}
.tt-card :where(h2, h3) { margin-top: 0.25rem; }
.tt-card :where(h2, h3) a { color: var(--wp--preset--color--ink); text-decoration: none; }
.tt-card :where(h2, h3) a:hover { color: var(--wp--preset--color--dusty-blue); }
.tt-dark .tt-card { background: var(--wp--preset--color--olive-dark); border-color: #5C6842; }
.tt-dark .tt-card :where(h2, h3) { font-size: 1.2rem; }
.tt-card .tt-eyebrow { margin-bottom: 0; }
.tt-status { font-family: var(--wp--preset--font-family--mono); font-size: 0.8rem; color: #B7BFA0; margin: 0; }
.tt-status.is-next { color: var(--wp--preset--color--mustard-light); }

/* Terminal-style code card in the hero */
.wp-block-code.tt-terminal { box-shadow: 0 1px 0 rgba(0,0,0,0.04); white-space: pre-wrap; }

/* Talks list */
.tt-talk-row { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1.1rem 0; }
.tt-talk-row p { margin: 0; }

/* Photo placeholder in About */
.tt-photo { background: var(--wp--preset--color--sand); border-radius: 14px; min-height: 260px; display: flex; align-items: center; justify-content: center; color: var(--wp--preset--color--muted); }
.tt-photo img { border-radius: 14px; }

/* Subscribe band */
.tt-subscribe { background: var(--wp--preset--color--mustard-light); border-radius: 16px; padding: 3rem; }
.tt-subscribe .wp-block-button__link { background: var(--wp--preset--color--ink); color: #FFFFFF; }
.tt-subscribe .wp-block-button__link:hover { background: var(--wp--preset--color--olive); color: #FFFFFF; }

/* Header and footer */
.tt-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.tt-header .wp-block-site-title { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.tt-header .wp-block-site-title a, .tt-header .wp-block-navigation a { color: var(--wp--preset--color--ink); text-decoration: none; }
.tt-header .wp-block-navigation { font-weight: 500; font-size: 0.95rem; }
.tt-footer { background: var(--wp--preset--color--ink); color: #D9D4C0; font-size: var(--wp--preset--font-size--small); }
.tt-footer a { color: var(--wp--preset--color--mustard-light); }

/* Posts */
.wp-block-post-content :where(h2) { margin-top: 2.5rem; }
.wp-block-post-content :where(p, li) { color: var(--wp--preset--color--body); }
.wp-block-post-content :where(code):not(pre code) { font-family: var(--wp--preset--font-family--mono); background: var(--wp--preset--color--sand); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.9em; }
.wp-block-post-terms a { text-decoration: none; }

:where(a):focus-visible, .wp-block-button__link:focus-visible { outline: 3px solid var(--wp--preset--color--mustard); outline-offset: 2px; }
