/*
Theme Name: Samuel G. Hammons
Author: New Bridge Resource Development
Description: Distinguished, fully editable block theme for Samuel G. Hammons. Edit every word under Appearance > Editor. Sections are also available under Patterns.
Version: 2.0
Requires at least: 6.4
Tested up to: 6.8
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: samuel-hammons
*/

:root {
	--sgh-ink: #0E1A2B;
	--sgh-paper: #F8F7F4;
	--sgh-tint: #EFEDE7;
	--sgh-rule: #E3E1DB;
	--sgh-gold: #A8874B;
	--sgh-gold-soft: #C8B48A;
	--sgh-slate: #4F5866;
	--sgh-body: #3B4554;
	--sgh-serif: 'Newsreader', Georgia, serif;
	--sgh-sans: 'Geist', 'Helvetica Neue', system-ui, sans-serif;
	--sgh-top: 0px;
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sgh-paper); color: var(--sgh-ink); -webkit-font-smoothing: antialiased; }
body.admin-bar { --sgh-top: 32px; }
@media (max-width: 782px) { body.admin-bar { --sgh-top: 46px; } }
@media (max-width: 600px) { body.admin-bar { --sgh-top: 0px; } }

/* Reset spacing inside the design so layout is controlled here */
:where(.sgh-header, .sgh-main, .sgh-footer) :where(h1, h2, h3, p, ul, figure) { margin: 0; }
.sgh-header *, .sgh-main *, .sgh-footer * { box-sizing: border-box; }
.sgh-main a, .sgh-header a, .sgh-footer a { text-decoration: none; }
.sgh-main em, .sgh-header em, .sgh-footer em { font-style: italic; }

.sgh-wrap { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; padding-left: 40px; padding-right: 40px; }
@media (max-width: 640px) { .sgh-wrap { padding-left: 24px; padding-right: 24px; } }

/* Type */
.sgh-eyebrow { display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sgh-slate); }
.sgh-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--sgh-gold); flex: none; }
.sgh-eyebrow-gold { color: var(--sgh-gold-soft); }
.sgh-label { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sgh-slate); }
.sgh-h2 { font-family: var(--sgh-serif); font-weight: 300; font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1.05; letter-spacing: -0.03em; }
.sgh-h3big { font-family: var(--sgh-serif); font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.12; letter-spacing: -0.025em; }
.sgh-lead { font-family: var(--sgh-serif); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.3; letter-spacing: -0.015em; }
.sgh-lead-sm { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.4; }
.sgh-body { color: var(--sgh-body); }
.sgh-body-lg { font-size: 19px; }
.sgh-muted { color: #A9B1BE; max-width: 400px; }

/* Buttons */
.sgh-main .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.sgh-main .wp-block-button__link { display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; border-radius: 0; background: var(--sgh-ink); color: var(--sgh-paper); border: 1px solid var(--sgh-ink); font-family: var(--sgh-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.sgh-main .wp-block-button__link:hover { background: #1C2B42; color: var(--sgh-paper); }
.sgh-main .is-style-outline .wp-block-button__link { background: transparent; color: var(--sgh-ink); border-color: #C9C6BE; }
.sgh-main .is-style-outline .wp-block-button__link:hover { border-color: var(--sgh-ink); background: transparent; color: var(--sgh-ink); }

/* Header */
.sgh-header { position: sticky; top: var(--sgh-top); z-index: 50; background: rgba(248,247,244,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--sgh-rule); }
.sgh-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 40px; padding-top: 16px; padding-bottom: 16px; }
.sgh-site-title, .sgh-site-title a { font-family: var(--sgh-serif); font-size: 23px; font-weight: 400; letter-spacing: -0.01em; color: var(--sgh-ink); text-decoration: none; }
.sgh-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 36px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.sgh-nav a { color: var(--sgh-ink); padding: 12px 0; }
.sgh-nav a:hover { color: #7A5F2E; }
.sgh-nav a:last-child { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--sgh-ink); }

/* Hero */
.sgh-hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px 96px; padding-top: 120px; padding-bottom: 112px; }
.sgh-hero-text { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.sgh-name { font-family: var(--sgh-serif); font-weight: 300; font-size: clamp(3.4rem, 7.6vw, 6.8rem); line-height: 0.98; letter-spacing: -0.035em; }
.sgh-lede { max-width: 540px; font-family: var(--sgh-serif); font-size: 23px; font-weight: 300; line-height: 1.5; color: var(--sgh-body); }
.sgh-hero-portrait { flex: 1 1 320px; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.sgh-hero-portrait .wp-block-image { aspect-ratio: 4 / 5; overflow: hidden; background: #ECEAE4; }
.sgh-hero-portrait .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sgh-caption { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #5A6270; }

/* Facts */
.sgh-facts { border-top: 1px solid var(--sgh-rule); border-bottom: 1px solid var(--sgh-rule); }
.sgh-facts-row { display: flex; flex-wrap: wrap; }
.sgh-fact { flex: 1 1 220px; padding: 44px 24px; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--sgh-rule); }
.sgh-fact:first-child { border-left: 0; padding-left: 0; }
.sgh-fact-num { font-family: var(--sgh-serif); font-weight: 300; font-size: 60px; line-height: 1; letter-spacing: -0.03em; color: var(--sgh-gold); }
.sgh-fact-label { font-size: 14px; color: var(--sgh-slate); }

/* Sections */
.sgh-section > .sgh-wrap { padding-top: 136px; padding-bottom: 136px; }
.sgh-pt0 > .sgh-wrap { padding-top: 0; }
.sgh-split { display: flex; flex-wrap: wrap; gap: 40px 96px; }
.sgh-split > .sgh-label { flex: 1 1 220px; }
.sgh-split-body { flex: 3 1 580px; display: flex; flex-direction: column; gap: 26px; }
.sgh-stack { display: flex; flex-direction: column; gap: 64px; }
.sgh-row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* Dark band */
.sgh-dark { background: var(--sgh-ink); color: #F1EFEA; }
.sgh-dark > .sgh-wrap { padding-top: 128px; padding-bottom: 128px; }
.sgh-cards { display: flex; flex-wrap: wrap; gap: 48px; }
.sgh-card { flex: 1 1 300px; border-top: 1px solid var(--sgh-gold); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.sgh-card-role { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sgh-gold-soft); }
.sgh-card-title { font-family: var(--sgh-serif); font-weight: 400; font-size: 29px; line-height: 1.2; letter-spacing: -0.015em; color: #F1EFEA; }
.sgh-card-text { font-size: 16px; color: #A9B1BE; }

/* Lists */
.sgh-two-col { display: flex; flex-wrap: wrap; gap: 72px 96px; }
.sgh-section > .sgh-two-col { padding-bottom: 112px; }
.sgh-col { flex: 1 1 440px; display: flex; flex-direction: column; gap: 28px; }
.sgh-list { list-style: none; padding: 0 !important; display: flex; flex-direction: column; }
.sgh-list li { padding: 20px 0; border-top: 1px solid var(--sgh-rule); font-size: 17px; margin: 0; }
.sgh-list li:last-child { border-bottom: 1px solid var(--sgh-rule); }
.sgh-roles li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.sgh-roles li em { font-family: var(--sgh-serif); color: var(--sgh-slate); }

/* Education */
.sgh-grid4 { display: flex; flex-wrap: wrap; gap: 36px 48px; padding-top: 36px; margin-top: 18px; border-top: 1px solid var(--sgh-rule); }
.sgh-item { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; }
.sgh-item-title { font-family: var(--sgh-serif); font-size: 24px; }
.sgh-item-sub { font-size: 15px; color: var(--sgh-slate); }

/* Vision */
.sgh-vision { border-top: 1px solid var(--sgh-rule); }
.sgh-vision-inner { max-width: 960px; display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.sgh-vision-inner::before { content: ""; width: 1px; height: 56px; background: var(--sgh-gold); }
.sgh-vision-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.12; }
.sgh-vision-text { max-width: 680px; }
.sgh-vision .wp-block-buttons { justify-content: center; }

/* Family */
.sgh-tint { background: var(--sgh-tint); }
.sgh-tint > .sgh-wrap { padding-top: 112px; padding-bottom: 112px; align-items: center; }

/* Footer */
.sgh-footer { background: var(--sgh-ink); color: #F1EFEA; }
.sgh-footer-inner { padding-top: 112px; padding-bottom: 44px; display: flex; flex-direction: column; gap: 80px; }
.sgh-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 48px; }
.sgh-footer-head { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; }
.sgh-footer-title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; color: #F1EFEA; }
.sgh-contact { flex: 0 1 380px; display: flex; flex-direction: column; }
.sgh-contact-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; border-top: 1px solid rgba(241,239,234,0.18); }
.sgh-contact-row:last-child { border-bottom: 1px solid rgba(241,239,234,0.18); }
.sgh-contact-row strong { font-weight: 400; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #A9B1BE; }
.sgh-footer a { color: #F1EFEA; }
.sgh-footer a:hover { color: var(--sgh-gold-soft); }
.sgh-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.sgh-small { font-size: 13px; color: #A9B1BE; }

/* Other pages */
.sgh-page-inner { padding-top: 96px; padding-bottom: 120px; max-width: 800px; display: flex; flex-direction: column; gap: 32px; }
.sgh-page-content > * + * { margin-top: 1.2em; }
