/*
Theme Name: Tucanus Consult
Theme URI: https://tucanusconsult.com
Author: Tucanus Consult Limited
Description: A clean, light, single-page business theme for Tucanus Consult Limited. Stronger Partnerships. Real Outcomes.
Version: 1.0.0
Requires at least: 6.0
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: tucanus
*/

:root {
	--navy: #0b1b2e;
	--navy-2: #1c2f47;
	--ink: #223047;
	--muted: #5d6b7f;
	--line: #e4e8ee;
	--bg: #ffffff;
	--bg-soft: #f6f8fb;
	--yellow: #f2b10f;
	--orange: #e8731a;
	--red: #d7300f;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(11, 27, 46, .04), 0 8px 24px rgba(11, 27, 46, .06);
	--max: 1160px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Manrope", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; padding: 8px 14px; clip: auto; width: auto; height: auto; }

/* Brand stripe made from the logo bars */
.stripe { display: flex; height: 4px; }
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: var(--navy); }
.stripe span:nth-child(2) { background: #cfd6df; }
.stripe span:nth-child(3) { background: var(--yellow); }
.stripe span:nth-child(4) { background: var(--orange); }
.stripe span:nth-child(5) { background: var(--red); }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.site-logo img, .custom-logo { height: 52px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--orange); text-decoration: none; }
.nav-toggle {
	display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
	width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	display: block; width: 20px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
	border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); box-shadow: var(--shadow); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.main-nav .btn { color: #fff; padding: 10px 20px; }

/* Hero */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero::after {
	content: ""; position: absolute; right: -140px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(242, 177, 15, .16), rgba(232, 115, 26, .06) 45%, transparent 70%);
	pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
	margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero h1 span { color: var(--orange); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-card {
	background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow);
}
.hero-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; }
.date-item { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.date-item:first-of-type { border-top: 0; padding-top: 0; }
.date-badge {
	flex: 0 0 58px; text-align: center; border-radius: 12px; padding: 8px 0; background: var(--bg-soft);
	font-family: var(--font-head); color: var(--navy); line-height: 1.1;
}
.date-badge b { display: block; font-size: 1.35rem; }
.date-badge small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.date-item strong { display: block; color: var(--navy); }
.date-item p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.icon {
	width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
	background: var(--bg-soft); color: var(--navy);
}
.icon svg { width: 22px; height: 22px; }
.c-yellow .icon { background: #fdf3d6; color: #a87700; }
.c-orange .icon { background: #fde7d6; color: var(--orange); }
.c-red .icon { background: #fbe0da; color: var(--red); }

/* Initiatives */
.initiative { position: relative; padding-top: 34px; overflow: hidden; }
.initiative::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--navy); }
.initiative.c-yellow::before { background: var(--yellow); }
.initiative.c-orange::before { background: var(--orange); }
.initiative.c-red::before { background: var(--red); }
.tag {
	display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--muted); background: var(--bg-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 16px;
}
.initiative h3 { font-size: 1.3rem; }
.initiative ul { margin: 16px 0 0; padding: 0; list-style: none; }
.initiative li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: .95rem; color: var(--ink); }
.initiative li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }

/* Approach */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
	counter-increment: step; content: "0" counter(step);
	position: absolute; left: 0; top: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--orange);
}
.step h3 { margin-top: 4px; }
.step p { color: var(--muted); margin: 0; }

/* Team */
.person { display: flex; gap: 18px; align-items: center; }
.avatar {
	flex: 0 0 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
	font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #fff; background: var(--navy);
}
.person.c-orange .avatar { background: var(--orange); }
.person.c-red .avatar { background: var(--red); }
.person h3 { margin: 0; font-size: 1.1rem; }
.person p { margin: 2px 0 0; }

/* CTA / Contact */
.cta {
	background: var(--navy); color: #c9d3e0; border-radius: 24px; padding: 56px;
	display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; position: relative; overflow: hidden;
}
.cta::after {
	content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 115, 26, .35), transparent 70%);
}
.cta h2 { color: #fff; }
.cta .eyebrow { color: var(--yellow); }
.contact-list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--yellow); margin-top: 3px; }
.contact-list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #8b9ab0; }
.contact-list a, .contact-list span { color: #fff; }
.cta .btn-primary { background: var(--orange); }
.cta .btn-primary:hover { background: #d66512; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: .92rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-inner img { height: 44px; width: auto; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
.footer-bottom a, .footer-inner a { color: var(--muted); }

/* Generic content (pages, posts) */
.content-area { padding: 72px 0 96px; }
.entry { max-width: 760px; margin: 0 auto; }
.entry-meta { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.entry-content a { text-decoration: underline; }
.entry-content img { border-radius: 12px; }
.post-list article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.pagination { margin-top: 32px; display: flex; gap: 10px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: 1fr; }
	.hero-inner, .cta { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
	.main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.main-nav li:last-child a { border-bottom: 0; margin-top: 12px; text-align: center; justify-content: center; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.section { padding: 68px 0; }
	.hero { padding: 64px 0; }
	.grid-4, .grid-2 { grid-template-columns: 1fr; }
	.cta { padding: 36px 24px; }
	.site-logo img, .custom-logo { height: 42px; }
}
