/*
Theme Name: 1onecreatives
Theme URI: https://www.1onecreatives.com
Author: 1onecreatives
Description: Custom theme for 1onecreatives — a full-service creative agency for hospitality. One-page homepage with services, the Florentín Rooftop case study, process, crew and contact. Key text is editable under Appearance → Customize → 1onecreatives Homepage.
Version: 1.0.2
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: onecreatives
*/

:root {
	--ink: #0E0D0C;
	--ink-2: #171513;
	--ink-3: #1C1A18;
	--ink-4: #24211E;
	--line: #2A2724;
	--line-2: #4A4540;
	--cream: #F4EFE8;
	--muted: #B8B0A6;
	--muted-2: #8F877D;
	--accent: #E8441A;
	--accent-dark: #C2410C;
	--display: 'Bricolage Grotesque', system-ui, sans-serif;
	--body: 'Inter', system-ui, sans-serif;
	--wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--cream);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px;
	background: var(--cream); color: var(--ink); padding: 12px 16px; border-radius: 8px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { .wrap { padding-left: 20px; padding-right: 20px; } }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.h2 { font-weight: 800; font-size: clamp(40px, 6vw, 80px); line-height: 0.95; letter-spacing: -0.03em; }
.lede { color: var(--muted); }
.section { padding-top: 120px; padding-bottom: 120px; }
@media (max-width: 600px) { .section { padding-top: 80px; padding-bottom: 80px; } }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; min-height: 44px;
	padding: 16px 28px; border-radius: 999px; font-weight: 600; line-height: 1.2;
}
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--cream); color: var(--ink); }
.btn-ghost { border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 13, 12, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.brand img { height: 34px; width: auto; }
.brand .wordmark { color: var(--cream); }
.brand .wordmark span { color: var(--accent); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.main-nav .btn { padding: 12px 20px; }
@media (max-width: 720px) {
	.main-nav ul { gap: 4px 18px; }
	.main-nav .nav-hide-sm { display: none; }
}

/* Hero */
.hero { padding-top: 72px; padding-bottom: 96px; }
.hero h1 { font-weight: 800; font-size: clamp(56px, 10vw, 148px); line-height: 0.92; letter-spacing: -0.04em; max-width: 12ch; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 40px; }
.hero-row p { max-width: 560px; font-size: 20px; line-height: 1.5; color: var(--muted); }
.hero-img { margin-top: 64px; width: 100%; height: clamp(280px, 42vw, 600px); object-fit: cover; object-position: center 40%; border-radius: 24px; background: var(--ink-3); }

/* Venue strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--muted-2); }

/* Operators */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px 64px; align-items: center; }
@media (max-width: 400px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 24px; }
.split p + p { margin-top: 16px; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; background: var(--ink-3); }

/* Services */
.services { background: var(--cream); color: var(--ink); }
.services .h2 { max-width: 14ch; }
.services .head-row p { max-width: 420px; color: var(--line-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
@media (max-width: 360px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.card .num { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--accent-dark); }
.card h3 { font-weight: 700; font-size: 28px; letter-spacing: -0.02em; }
.card p { color: var(--line-2); }
.card ul { margin: 0; padding-left: 20px; color: var(--line); display: flex; flex-direction: column; gap: 6px; }
.callout { margin-top: 20px; background: var(--ink); color: var(--cream); border-radius: 24px; padding: 32px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.callout p { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.3; }
.callout a { color: var(--accent); }
.callout a:hover { color: var(--cream); }

/* Work / case study */
.work .h-case { font-weight: 800; font-size: clamp(48px, 8vw, 112px); line-height: 0.92; letter-spacing: -0.04em; }
.work .head-row { margin-bottom: 40px; }
.work .head-row p { max-width: 440px; color: var(--muted); }
.case-hero { width: 100%; height: clamp(300px, 46vw, 640px); object-fit: cover; border-radius: 24px; background: var(--ink-3); }
.facts { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.facts strong { color: var(--cream); font-weight: 600; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 48px; }
.shots img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: var(--ink-3); }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; margin-top: 72px; }
.pillar { border-top: 2px solid var(--accent); padding-top: 20px; }
.pillar h3 { font-weight: 700; font-size: 24px; margin-bottom: 10px; }
.pillar p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 72px; }
.stat { background: var(--ink-2); border-radius: 20px; padding: 28px; }
.stat .v { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--accent); }
.stat .l { margin-top: 10px; color: var(--muted); }
.feed { margin-top: 72px; }
.feed .head-row { margin-bottom: 20px; align-items: center; }
.feed .head-row p { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--cream); }
.feed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.feed-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; background: var(--ink-3); }
.work .btn-row { margin-top: 56px; }

/* Process */
.process { border-top: 1px solid var(--line); }
.process .h2 { max-width: 16ch; margin-bottom: 56px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.steps li { border-top: 2px solid var(--accent); padding-top: 24px; }
.steps .n { font-size: 14px; font-weight: 600; color: var(--muted-2); margin-bottom: 8px; }
.steps h3 { font-weight: 700; font-size: 28px; margin-bottom: 12px; }
.steps p { color: var(--muted); }

/* Team */
.team { background: var(--ink-2); }
.team .h2 { margin-bottom: 48px; }
.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px 24px; }
.crew img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; background: var(--ink-4); border-radius: 16px; margin-bottom: 14px; }
.crew .name { font-weight: 600; }
.crew .role { font-size: 15px; color: var(--muted-2); }

/* Contact */
.contact { padding-top: 140px; padding-bottom: 96px; }
.contact h2 { font-weight: 800; font-size: clamp(48px, 9vw, 128px); line-height: 0.92; letter-spacing: -0.04em; max-width: 12ch; }
.contact h2 span { color: var(--accent); }
.contact .btn-row { margin-top: 48px; gap: 16px; }
.contact .btn { padding: 18px 32px; font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted-2); }
.site-footer a { color: var(--muted); }

/* Generic pages & posts */
.page-content { max-width: 760px; margin: 0 auto; padding: 96px 32px 120px; }
.page-content h1 { font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 32px; }
.page-content .entry > * + * { margin-top: 1.1em; }
.page-content .entry a { color: var(--accent); text-decoration: underline; }
.page-content .entry img { border-radius: 16px; height: auto; }
.post-list article + article { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.post-list h2 { font-size: 32px; margin-bottom: 12px; }

@media (max-width: 600px) {
	.shots, .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.crew .role { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
