/*
 Theme Name:   Kadence Child v4
 Theme URI:    https://guidescreen.com/
 Description:  GuideScreen child theme v3. Playfair Display + Plus Jakarta Sans. B&O-style header, custom footer, template-aware transparent/solid header system.
 Author:       GuideScreen
 Template:     kadence
 Version:      4.0.0
 License:      GNU General Public License v2 or later
 Text Domain:  kadence-child-v4
*/


/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
    --bg-clean: #FBFBFA;
    --bg-dark: #111112;
    --bg-canvas: #F4F3F0;
    --wood: #9B8265;
    --wood-hover: #7a6650;
    --ink: #111112;
    --ink-dim: #6E6E73;
    --border-light: rgba(0, 0, 0, 0.08);
    --border-dark: rgba(255, 255, 255, 0.1);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --site-padding: 80px;
    --content-max-width: 1400px;
    --header-height: 68px;
}


/* ==========================================================================
   2. GLOBAL BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-clean);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}


/* ==========================================================================
   3. HIDE KADENCE NATIVE CHROME
      Our header.php and footer.php replace these entirely.
   ========================================================================== */

#masthead,
#mobile-header,
#colophon {
    display: none !important;
}


/* ==========================================================================
   4. FULL-WIDTH PAGE CONTENT BREAKOUT
   ========================================================================== */

body.page .entry-content-wrap,
body.page .entry-content,
body.page .content-wrap,
body.page .site-container,
body.page .content-container.site-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page .entry.single-entry,
body.page .entry-content {
    padding: 0 !important;
    margin: 0 !important;
}

body.page .entry-hero-layout-default,
body.page .entry-header,
body.page .page-title {
    display: none !important;
}

/* Push content below fixed header on non-transparent pages */
body.kc-inner #inner-wrap {
    padding-top: var(--header-height);
}


/* ==========================================================================
   5. CUSTOM HEADER — #kc-header
   ========================================================================== */

#kc-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9000;
    margin-top: var(--wp-admin--admin-bar--height, 0px);
}

.kc-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 40px;
    height: var(--header-height);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    /* Default: transparent */
    background: transparent;
    border-bottom: 1px solid transparent;
}

/* Solid state — applied immediately on inner pages, on scroll on transparent pages */
#kc-header.is-scrolled .kc-header__bar {
    background: rgba(251, 251, 250, 0.97);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
}

/* ── Hamburger + Menu ── */
.kc-header__menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
    justify-self: start;
}

#kc-header.is-scrolled .kc-header__menu-btn {
    color: var(--ink);
}

.kc-header__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.kc-header__burger span {
    display: block;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.kc-menu-open .kc-header__burger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.kc-menu-open .kc-header__burger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.kc-menu-open .kc-header__burger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.kc-header__menu-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
}

/* ── Logo ── */
.kc-header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    justify-self: center;
}

.kc-header__logo-img {
    height: 28px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.4s ease;
}

#kc-header.is-scrolled .kc-header__logo-img {
    filter: none;
}

.kc-header__logo-text {
    font-family: var(--font-serif);
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 0.04em;
    transition: color 0.4s ease;
}

#kc-header.is-scrolled .kc-header__logo-text {
    color: var(--ink);
}

/* ── CTA ── */
.kc-header__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.kc-header__cta {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 9px 20px;
    border-radius: 40px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}

.kc-header__cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

#kc-header.is-scrolled .kc-header__cta {
    color: var(--ink);
    border-color: rgba(0, 0, 0, 0.25);
}

#kc-header.is-scrolled .kc-header__cta:hover {
    background: var(--ink);
    color: var(--bg-clean);
    border-color: var(--ink);
}


/* ==========================================================================
   6. OVERLAY MENU
   ========================================================================== */

.kc-overlay {
    position: fixed;
    inset: 0;
    z-index: 8999;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 10vw;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 0.45s;
    margin-top: var(--wp-admin--admin-bar--height, 0px);
}

.kc-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.kc-menu-open {
    overflow: hidden;
}

.kc-overlay__close {
    position: absolute;
    top: 24px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    padding: 8px;
    transition: color 0.2s ease;
}

.kc-overlay__close:hover {
    color: #ffffff;
}

.kc-overlay__nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.kc-overlay__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kc-overlay__list li a {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1.3;
}

.kc-overlay__list li a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

.kc-overlay__list li.current-menu-item>a {
    color: var(--wood);
}

.kc-overlay__list .sub-menu {
    list-style: none;
    padding: 4px 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kc-overlay__list .sub-menu li a {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

.kc-overlay__list .sub-menu li a:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: none;
}

.kc-overlay__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kc-overlay__cta {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 40px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.kc-overlay__cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.kc-overlay__tagline {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}


/* ==========================================================================
   7. CUSTOM FOOTER — #kc-footer
   ========================================================================== */

.kc-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.55);
    padding: 80px 0 0;
}

.kc-footer__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--site-padding) 64px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kc-footer__logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 20px;
}

.kc-footer__logo-img {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.kc-footer__logo-text {
    font-family: var(--font-serif);
    font-size: 18px;
    color: #ffffff;
}

.kc-footer__tagline {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 8px;
}

.kc-footer__location {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wood);
    margin: 0;
}

.kc-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kc-footer__nav-list li a {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kc-footer__nav-list li a:hover {
    color: #ffffff;
}

.kc-footer__legal-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kc-footer__cta-link {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding-bottom: 4px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.kc-footer__cta-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.kc-footer__social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 32px;
}

.kc-footer__social a {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kc-footer__social a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.kc-footer__bottom {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 24px var(--site-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.kc-footer__copy {
    font-family: var(--font-sans);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    margin: 0;
}

.kc-footer__legal-nav {
    display: flex;
    gap: 24px;
}

.kc-footer__legal-nav a {
    font-family: var(--font-sans);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kc-footer__legal-nav a:hover {
    color: rgba(255, 255, 255, 0.6);
}


/* ==========================================================================
   8. LAYOUT UTILITIES
   ========================================================================== */

.gs-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--site-padding);
}

.gs-container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--site-padding);
}

.gs-section {
    padding: 160px 0;
}


/* ==========================================================================
   9. LABELS + LINKS
   ========================================================================== */

.gs-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--wood);
    margin-bottom: 16px;
}

.gs-label--dim {
    color: rgba(255, 255, 255, 0.3);
}

.gs-link {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ink);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.gs-link:hover {
    color: var(--wood);
    border-color: var(--wood);
}

.gs-link--white {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.gs-link--white:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.gs-btn-primary {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    background: var(--ink);
    color: var(--bg-clean);
    border: 1px solid var(--ink);
    transition: background 0.3s ease, color 0.3s ease;
}

.gs-btn-primary:hover {
    background: transparent;
    color: var(--ink);
}

.gs-btn-ghost {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease;
}

.gs-btn-ghost:hover {
    border-color: var(--ink);
}


/* ==========================================================================
   10. HERO
   ========================================================================== */

.gs-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #111112;
    overflow: hidden;
}

.gs-hero__video {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gs-hero__video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: none;
}

.gs-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    padding: 160px var(--site-padding) var(--site-padding);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 100%);
}

.gs-hero__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}


/* ==========================================================================
   11. SECTION COMPONENTS
   ========================================================================== */

.gs-section-num {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--wood);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gs-section-num::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--wood);
    opacity: 0.5;
}

.gs-core-text {
    padding: 160px 0 120px;
    max-width: 920px;
}

.gs-core-text--centered {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 140px 0 100px;
}

.gs-core-text--centered .gs-label {
    display: inline-block;
    margin-bottom: 28px;
}

.gs-core-text--centered .gs-core-text__body {
    max-width: 560px;
    margin: 0 auto;
}

.gs-core-text__heading {
    font-family: var(--font-serif);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.gs-core-text__body {
    font-size: 20px;
    line-height: 1.8;
    color: var(--ink-dim);
    font-weight: 300;
}

.gs-gallery-frame {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: var(--bg-canvas);
    height: 85vh;
    overflow: hidden;
    margin-bottom: 60px;
}

.gs-gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gs-canvas-section {
    background-color: var(--bg-canvas);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 160px 0;
}

.gs-rule {
    width: 100%;
    height: 1px;
    background: var(--border-light);
    margin: 0;
    border: none;
}

.gs-band-dark {
    background: var(--bg-dark);
    padding: 80px var(--site-padding);
    text-align: center;
}

.gs-band-dark h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.3rem, 2.5vw, 2.1rem);
    line-height: 1.5;
    color: #ffffff;
    margin: 0 auto;
    max-width: 640px;
}

.gs-band-canvas {
    background: var(--bg-canvas);
    padding: 60px var(--site-padding);
    text-align: center;
}

.gs-band-canvas p {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: var(--ink);
    margin: 0 auto;
    max-width: 640px;
}


/* ==========================================================================
   12. TWO-COLUMN GRID
   ========================================================================== */

.gs-grid-2col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 120px;
    align-items: center;
}

.gs-grid-2col--reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.gs-grid__heading {
    font-family: var(--font-serif);
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.gs-grid__body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink-dim);
    font-weight: 300;
    margin-bottom: 40px;
}

.gs-grid__image img {
    width: 100%;
    height: auto;
}


/* ==========================================================================
   13. FEATURE LIST
   ========================================================================== */

.gs-feature-list {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gs-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-dim);
    font-weight: 300;
}

.gs-feature-list__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--wood);
    flex-shrink: 0;
    margin-top: 7px;
}


/* ==========================================================================
   14. SUB-FEATURE ROWS
   ========================================================================== */

.gs-sub-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.gs-sub-feature:last-child {
    border-bottom: none;
}

.gs-sub-feature-label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wood);
    white-space: nowrap;
    padding-top: 2px;
    min-width: 120px;
}

.gs-sub-feature-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ink-dim);
    margin: 0;
}


/* ==========================================================================
   15. SCREEN FRAME
   ========================================================================== */

.gs-screen-frame {
    background: #11111200;
    padding: 12px;
    box-shadow: none;
}

.gs-screen-frame img {
    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================================================
   16. CATALOG GRID (inner feature pages)
   ========================================================================== */

.gs-catalog-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    min-height: 80vh;
    background: var(--bg-clean);
    align-items: center;
}

.gs-catalog-grid--rev {
    grid-template-columns: 1.3fr 1fr;
}

.gs-catalog-grid--canvas {
    background: var(--bg-canvas);
}

.gs-catalog-grid--rev .gs-catalog-grid__text {
    order: 2;
}

.gs-catalog-grid--rev .gs-catalog-grid__image {
    order: 1;
}

.gs-catalog-grid__text {
    padding: 8% 7%;
}

.gs-catalog-grid__heading {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.7rem, 2.8vw, 2.6rem);
    line-height: 1.2;
    color: var(--ink);
    margin: 14px 0 22px;
    letter-spacing: -0.3px;
}

.gs-catalog-grid__body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink-dim);
    font-weight: 300;
    margin: 0 0 32px;
    max-width: 440px;
}

.gs-catalog-grid__image {
    padding: 6%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ==========================================================================
   17. STATEMENT BAND
   ========================================================================== */

.gs-statement {
    background: var(--bg-dark);
    padding: 100px var(--site-padding);
    text-align: center;
}

.gs-statement__line {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0 auto;
    max-width: 700px;
    letter-spacing: -0.3px;
}

.gs-statement__line em {
    font-style: italic;
    color: var(--wood);
}


/* ==========================================================================
   18. METRICS BAND
   ========================================================================== */

.gs-metrics {
    background: var(--bg-dark);
    padding: 100px var(--site-padding);
}

.gs-metrics__grid {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.gs-metrics__item {
    padding: 0 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.gs-metrics__item:first-child {
    padding-left: 0;
}

.gs-metrics__item:last-child {
    padding-right: 0;
    border-right: none;
}

.gs-metrics__value {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -2px;
    margin: 0 0 12px;
}

.gs-metrics__value em {
    font-style: normal;
    color: var(--wood);
}

.gs-metrics__label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.gs-metrics__desc {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    margin: 8px 0 0;
    line-height: 1.6;
}


/* ==========================================================================
   19. STORY SECTION
   ========================================================================== */

.gs-story {
    background: var(--bg-dark);
}

.gs-story__body {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    margin-bottom: 24px;
}

.gs-story__quote {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 24px;
    margin-bottom: 48px;
}

.gs-story__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.gs-stat__value {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    margin: 0 0 8px;
    letter-spacing: -1px;
}

.gs-stat__label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}


/* ==========================================================================
   20. TESTIMONIALS
   ========================================================================== */

.gs-testi-v2 {
    background: var(--bg-dark);
    padding: 120px var(--site-padding);
}

.gs-testi-v2__header {
    max-width: var(--content-max-width);
    margin: 0 auto 72px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.gs-testi-v2__heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    margin: 12px 0 0;
    letter-spacing: -0.5px;
    max-width: 500px;
}

.gs-testi-v2__subtext {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    max-width: 280px;
    line-height: 1.7;
    text-align: right;
}

.gs-testi-v2__grid {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.gs-testi-v2__card {
    background: rgba(255, 255, 255, 0.04);
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.gs-testi-v2__card:hover {
    background: rgba(255, 255, 255, 0.07);
}

.gs-testi-v2__quote {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    letter-spacing: -0.2px;
    margin: 0;
}

.gs-testi-v2__name {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px;
}

.gs-testi-v2__role {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wood);
    margin: 0;
}


/* ==========================================================================
   21. CTA CLOSE
   ========================================================================== */

.gs-cta-close {
    padding: 160px var(--site-padding);
    text-align: center;
    background: var(--bg-clean);
}

.gs-cta-close__label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--wood);
    display: block;
    margin-bottom: 24px;
}

.gs-cta-close__heading {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 680px;
    margin: 0 auto 24px;
    text-align: center;
}

.gs-cta-close__sub {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    color: var(--ink-dim);
    max-width: 440px;
    margin: 0 auto 48px;
    line-height: 1.75;
}

.gs-cta-close__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ==========================================================================
   22. TICKER
   ========================================================================== */

.gs-ticker {
    background: var(--bg-dark);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.gs-ticker__track {
    display: inline-flex;
    animation: gs-ticker-scroll 28s linear infinite;
}

.gs-ticker__track:hover {
    animation-play-state: paused;
}

.gs-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.gs-ticker__item strong {
    color: var(--wood);
    font-weight: 600;
}

.gs-ticker__dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

@keyframes gs-ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* ==========================================================================
   23. SCROLL REVEAL
   ========================================================================== */

.gs-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.gs-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   24. BLOG — archive + single (stubbed, styled later)
   ========================================================================== */

.gs-blog-header {
    background: var(--bg-dark);
    padding: 160px var(--site-padding) 80px;
}

.gs-blog-header__label {
    color: var(--wood);
    margin-bottom: 20px;
}

.gs-blog-header__heading {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0;
}

.gs-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 2px;
}

.gs-post-card {
    background: var(--bg-clean);
    display: flex;
    flex-direction: column;
}

.gs-post-card__thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.gs-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gs-post-card:hover .gs-post-card__thumb img {
    transform: scale(1.03);
}

.gs-post-card__body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gs-post-card__cat {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wood);
    margin: 0 0 12px;
    text-decoration: none;
}

.gs-post-card__title {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 12px;
    text-decoration: none;
    display: block;
}

.gs-post-card__title:hover {
    color: var(--wood);
}

.gs-post-card__excerpt {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-dim);
    font-weight: 300;
    margin: 0 0 24px;
    flex-grow: 1;
}

.gs-post-card__date {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin: 0;
}

/* Single post */
.gs-single-hero {
    background: var(--bg-dark);
    padding: 160px var(--site-padding) 80px;
}

.gs-single__content {
    max-width: 720px;
    margin: 80px auto;
    padding: 0 var(--site-padding);
    font-size: 18px;
    line-height: 1.85;
    color: var(--ink);
    font-weight: 300;
}

.gs-single__content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 56px 0 20px;
}

.gs-single__content h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin: 40px 0 16px;
}

.gs-single__content p {
    margin: 0 0 28px;
}

.gs-single__content img {
    margin: 48px 0;
}

.gs-single__content a {
    color: var(--wood);
    border-bottom: 1px solid rgba(155, 130, 101, 0.3);
    text-decoration: none;
}

.gs-single__content a:hover {
    border-color: var(--wood);
}


/* ==========================================================================
   25. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --site-padding: 40px;
    }

    .gs-grid-2col,
    .gs-grid-2col--reverse {
        grid-template-columns: 1fr !important;
        gap: 48px;
    }

    .gs-catalog-grid,
    .gs-catalog-grid--rev {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    .gs-catalog-grid--rev .gs-catalog-grid__text,
    .gs-catalog-grid--rev .gs-catalog-grid__image {
        order: unset !important;
    }

    .gs-metrics__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: left;
    }

    .gs-metrics__item {
        padding: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 40px;
    }

    .gs-metrics__item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .gs-testi-v2__grid {
        grid-template-columns: 1fr;
    }

    .gs-testi-v2__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gs-testi-v2__subtext {
        text-align: left;
    }

    .gs-post-grid {
        grid-template-columns: 1fr 1fr;
    }

    .kc-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --site-padding: 24px;
        --header-height: 60px;
    }

    .kc-header__bar {
        padding: 0 20px;
    }

    .kc-header__cta {
        display: none;
    }

    .kc-overlay {
        padding: 80px 6vw;
    }

    .kc-overlay__close {
        right: 20px;
    }

    .kc-overlay__footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .kc-footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .kc-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .kc-footer__legal-nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .kc-footer__social {
        flex-direction: row;
        padding-top: 20px;
    }

    .gs-hero__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .gs-section {
        padding: 100px 0;
    }

    .gs-metrics {
        padding: 80px var(--site-padding);
    }

    .gs-statement {
        padding: 80px var(--site-padding);
    }

    .gs-testi-v2 {
        padding: 80px var(--site-padding);
    }

    .gs-cta-close {
        padding: 100px var(--site-padding);
    }

    .gs-gallery-frame {
        height: 50vh;
    }

    .gs-post-grid {
        grid-template-columns: 1fr;
    }

    .gs-ticker__track {
        animation-duration: 18s;
    }
}

@media (max-width: 480px) {
    :root {
        --site-padding: 20px;
    }
}

/* ==========================================================================
   30. LEGAL / DEFAULT PAGES — padding for unformatted content
   ========================================================================== */

/* Targets any page whose content isn't wrapped in our custom page HTML */
body.page .entry-content,
body.page .wp-block-post-content {
    padding: 100px var(--site-padding, 80px) 120px !important;
    max-width: 860px !important;
    margin: 0 auto !important;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.85;
    font-weight: 300;
    color: var(--ink);
    box-sizing: border-box;
}

body.page .entry-content h1,
body.page .wp-block-post-content h1 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: 0 0 40px;
}

body.page .entry-content h2,
body.page .wp-block-post-content h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.3;
    color: var(--ink);
    margin: 48px 0 16px;
}

body.page .entry-content h3,
body.page .wp-block-post-content h3 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 32px 0 12px;
}

body.page .entry-content p,
body.page .wp-block-post-content p {
    margin: 0 0 20px;
}

body.page .entry-content ul,
body.page .entry-content ol,
body.page .wp-block-post-content ul,
body.page .wp-block-post-content ol {
    margin: 0 0 20px 20px;
    padding: 0;
}

body.page .entry-content li,
body.page .wp-block-post-content li {
    margin-bottom: 8px;
}

body.page .entry-content a,
body.page .wp-block-post-content a {
    color: var(--wood);
    text-decoration: none;
    border-bottom: 1px solid rgba(155, 130, 101, 0.3);
}

body.page .entry-content a:hover,
body.page .wp-block-post-content a:hover {
    border-color: var(--wood);
}