/*
Theme Name: Giver of Beauty
Theme URI: https://giverofbeauty.com
Description: Dark, minimal block theme for Giver of Beauty: near-black ground, one brass accent, Space Grotesk headings, Inter body.
Version: 1.0.2
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: giverofbeauty
*/

/* ---------- Basics ---------- */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.gob-label { margin: 0; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--wp--preset--color--faint); font-weight: 400; }
.gob-section { border-top: 1px solid var(--wp--preset--color--line); }
.gob-wrap { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; padding-left: 24px !important; padding-right: 24px !important; box-sizing: border-box; }
.wp-site-blocks { padding-left: 0; padding-right: 0; }
.wp-site-blocks > * + *, main > * + * { margin-block-start: 0; }

/* ---------- Header ---------- */
.gob-header { padding-top: 32px; padding-bottom: 32px; gap: 16px; }
.gob-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--wp--preset--color--contrast); letter-spacing: 0.32em; font-size: 12px; font-weight: 500; min-height: 44px; text-decoration: none; }
.gob-brand:hover { color: var(--wp--preset--color--contrast); }
.gob-brand svg { flex: none; }
.gob-nav { display: flex; gap: 32px; font-size: 13px; letter-spacing: 0.08em; margin: 0; }
.gob-nav a { color: var(--wp--preset--color--muted); min-height: 44px; display: inline-flex; align-items: center; }
.gob-nav a:hover { color: var(--wp--preset--color--contrast); }

/* ---------- Hero ---------- */
.gob-hero { position: relative; padding-top: clamp(96px, 14vw, 180px); padding-bottom: clamp(120px, 15vw, 200px); }
.gob-hero > * { position: relative; z-index: 1; }
.gob-hero::before, .gob-hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.gob-hero::before { right: -120px; top: 40px; width: 560px; height: 560px; border: 1px solid #1C1F24; }
.gob-hero::after { right: 40px; top: 200px; width: 240px; height: 240px; box-sizing: border-box; border: 1px solid #23272D; background: radial-gradient(circle at center, var(--wp--preset--color--accent) 0 7.5px, transparent 8.5px); }
/* Slow orbits: a pale planet on the inner ring, a faint brass moon on the outer ring. */
.gob-hero > .gob-orbits { position: absolute; inset: 0; z-index: 0; pointer-events: none; margin: 0; }
@keyframes gob-orbit { to { transform: rotate(360deg); } }
.gob-orbit { position: absolute; border-radius: 50%; animation: gob-orbit linear infinite; }
.gob-orbit i { position: absolute; left: 50%; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.gob-orbit--inner { right: 40px; top: 200px; width: 240px; height: 240px; animation-duration: 48s; }
.gob-orbit--inner i { width: 7px; height: 7px; background: #B9BEC5; opacity: .55; }
.gob-orbit--outer { right: -120px; top: 40px; width: 560px; height: 560px; animation-duration: 140s; animation-delay: -50s; }
.gob-orbit--outer i { width: 4px; height: 4px; background: var(--wp--preset--color--accent); opacity: .45; }
@media (prefers-reduced-motion: reduce) { .gob-orbit { animation: none; } }
.gob-hero h1 { font-size: clamp(48px, 8vw, 112px); line-height: 0.98; max-width: 900px; margin: 32px 0 0; }
.gob-hero h1 em { font-style: normal; color: var(--wp--preset--color--accent); }
.gob-hero .gob-lede { margin: 48px 0 0; max-width: 460px; font-size: 18px; line-height: 1.6; color: var(--wp--preset--color--muted); }
.gob-enter { margin-top: 72px !important; }
.gob-enter a { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.2em; min-height: 44px; }
.gob-enter a::after { content: ""; width: 28px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 5h26M22 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10' fill='none' stroke='black' stroke-width='1.2'%3E%3Cpath d='M0 5h26M22 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (max-width: 700px) {
	.gob-hero::before { width: 360px; height: 360px; right: -180px; top: 20px; }
	.gob-hero::after { right: -40px; top: 80px; width: 160px; height: 160px; }
	.gob-orbit--outer { width: 360px; height: 360px; right: -180px; top: 20px; }
	.gob-orbit--inner { width: 160px; height: 160px; right: -40px; top: 80px; }
}

/* ---------- Services ---------- */
.gob-work { padding-top: 120px; padding-bottom: 120px; }
.gob-work__cols { gap: 48px 96px !important; flex-wrap: wrap !important; align-items: flex-start !important; }
.gob-work__intro { flex: 1 1 260px; }
.gob-work__intro .gob-intro-title { margin: 24px 0 0; font-family: var(--wp--preset--font-family--display); font-size: 34px; line-height: 1.2; }
.gob-work__intro .gob-intro-title em { font-style: normal; color: var(--wp--preset--color--faint); }
.gob-services { flex: 999 1 560px; min-width: 0; }
.gob-svc { display: grid !important; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px; padding: 28px 0; border-bottom: 1px solid var(--wp--preset--color--line); margin: 0 !important; }
.gob-svc__num { font-size: 12px; letter-spacing: 0.16em; color: #5E646C; padding-top: 10px; margin: 0 !important; grid-row: 1 / span 2; }
.gob-svc h2, .gob-svc h3 { margin: 0 !important; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; color: var(--wp--preset--color--soft); transition: color .2s; }
.gob-svc p:not(.gob-svc__num) { margin: 0 !important; font-size: 15px; line-height: 1.6; color: var(--wp--preset--color--faint); grid-column: 2; }
.gob-svc:hover h2, .gob-svc:hover h3 { color: #F2EFE8; }
.gob-svc:hover .gob-svc__num { color: var(--wp--preset--color--accent); }

/* ---------- Principle ---------- */
.gob-principle { padding-top: 160px; padding-bottom: 160px; text-align: center; }
.gob-principle h2 { margin: 40px 0 0; font-size: clamp(56px, 10vw, 140px); line-height: 1; }
.gob-principle h2 .gob-slash { color: var(--wp--preset--color--accent); }
.gob-principle .gob-principle__text { margin: 48px auto 0; max-width: 560px; font-size: 18px; line-height: 1.7; color: var(--wp--preset--color--muted); }

/* ---------- Contact ---------- */
.gob-contact { padding-top: 140px; padding-bottom: 160px; gap: 40px !important; flex-wrap: wrap !important; }
.gob-contact h2 { margin: 24px 0 0; font-size: clamp(40px, 6vw, 80px); line-height: 1; }
.gob-contact .wp-block-button__link { padding: 18px 28px; font-size: 14px; letter-spacing: 0.08em; min-height: 44px; box-sizing: border-box; }
.gob-contact .wp-block-button__link:hover { color: #E4CB97; border-color: #E4CB97; }

/* ---------- Footer ---------- */
.gob-footer { padding-top: 32px; padding-bottom: 48px; gap: 16px; font-size: 12px; letter-spacing: 0.12em; color: #6F757E; text-transform: uppercase; }
.gob-footer p { margin: 0; }

/* ---------- Inner pages ---------- */
.gob-page { padding-top: 96px; padding-bottom: 120px; }
.gob-page h1 { font-size: clamp(40px, 6vw, 72px); }
