/* ==========================================================================
   Amazing Grace Publishing & Studio — public website
   ========================================================================== */

:root {
    --navy: #0F2340;
    --navy-deep: #0a1830;
    --gold: #C08A3E;
    --gold-dark: #a87632;
    --ivory: #FAF6EE;
    --cream: #F3ECDF;
    --ink: #1c2433;
    --text: #4a5160;
    --muted: #7b8190;
    --line: #e7e0d2;
    --white: #ffffff;
    --radius: 6px;
    --shadow: 0 10px 30px rgba(15, 35, 64, .08);
    --shadow-lg: 0 20px 50px rgba(15, 35, 64, .16);
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --display: "Cinzel", "Cormorant Garamond", Georgia, serif;
    --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
    --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
[x-cloak], [hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-ivory { background: var(--ivory); }
.bg-cream { background: var(--cream); }
.text-center { text-align: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--sans); font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.section-title { font-size: clamp(32px, 4vw, 44px); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); }

.divider { width: 64px; height: 2px; background: var(--gold); margin: 18px 0 24px; border: 0; }
.text-center .divider, .section-head .divider { margin-left: auto; margin-right: auto; }

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 28px; border-radius: 4px; border: 1px solid transparent;
    font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .02em;
    cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 8px 20px rgba(192, 138, 62, .3); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(255, 255, 255, .04); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

.link-more {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--gold); font-weight: 600; font-size: 14px; transition: gap .2s ease;
}
.link-more svg { width: 16px; height: 16px; }
.link-more:hover { gap: 10px; color: var(--gold-dark); }

/* Header ----------------------------------------------------------------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    /* Solid background: backdrop-filter would trap the fixed mobile menu inside the header. */
    background: var(--white);
    border-bottom: 3px solid var(--navy);
    transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 35, 64, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 84px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav ul { display: flex; list-style: none; gap: 30px; }
.main-nav a.nav-link {
    position: relative; font-size: 15px; font-weight: 500; color: var(--ink); padding: 6px 0;
}
.main-nav a.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.active::after { transform: scaleX(1); }
.main-nav a.nav-link.active { color: var(--navy); font-weight: 600; }

.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle {
    display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px;
    background: var(--white); color: var(--navy); align-items: center; justify-content: center; cursor: pointer;
}

/* Hero (home) ------------------------------------------------------------ */

.hero {
    position: relative; min-height: 640px; display: flex; align-items: center; justify-content: center;
    color: var(--white); text-align: center; overflow: hidden; background: var(--navy-deep);
}
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
    background: radial-gradient(ellipse at center, rgba(10, 24, 48, .55) 0%, rgba(10, 24, 48, .78) 70%), linear-gradient(180deg, rgba(10, 24, 48, .2), rgba(10, 24, 48, .6));
}
.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 110px 24px 150px; }
.hero-title {
    font-family: var(--display); font-weight: 600; color: var(--white);
    font-size: clamp(40px, 6.6vw, 76px); letter-spacing: .04em; line-height: 1; margin: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero-subtitle {
    font-family: var(--display); font-size: clamp(18px, 2.6vw, 30px); letter-spacing: .26em;
    text-transform: uppercase; margin: 10px 0 18px; color: #f4ead8;
}
.hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); color: #f6e7c8; margin-bottom: 22px; }
.hero-text { font-size: 17px; color: rgba(255, 255, 255, .86); max-width: 600px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin-bottom: 18px; }
.hero-ornament span { width: 60px; height: 1px; background: currentColor; opacity: .8; }
.hero-ornament svg { width: 22px; height: 22px; }

@keyframes heroZoom { to { transform: scale(1); } }

/* Service cards (home) --------------------------------------------------- */

.service-strip { position: relative; z-index: 3; display: flow-root; padding-bottom: 88px; }
.service-strip .cards-4 { margin-top: -80px; }
.service-strip-title { padding-top: 56px; }
.service-strip-title + .cards-4 { margin-top: 0; }
.service-strip-title { text-align: center; margin-bottom: 28px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 26px 28px; text-align: center; box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex; flex-direction: column; align-items: center;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(192, 138, 62, .45); }
.feature-icon { width: 64px; height: 64px; display: grid; place-items: center; color: var(--navy); margin-bottom: 14px; }
.feature-icon svg { width: 44px; height: 44px; stroke-width: 1.4; }
.feature-card h3 { font-size: 24px; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--muted); flex: 1; }

/* Split intro ------------------------------------------------------------ */

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.split-text { display: flex; flex-direction: column; justify-content: center; padding: 72px max(24px, calc((100vw - var(--container)) / 2 + 24px)); padding-right: 64px; background: var(--ivory); }
.split-text h2 { font-size: clamp(32px, 3.6vw, 46px); }
.split-text p { font-size: 17px; max-width: 520px; }
.split-media { position: relative; background-size: cover; background-position: center; min-height: 380px; }
.split-media::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(250, 246, 238, .35) 0%, transparent 25%); }
.media-quote {
    position: absolute; left: 8%; top: 12%; max-width: 340px; z-index: 1;
    font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--white);
    text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}
.media-quote::before { content: "\201C"; font-size: 56px; line-height: 0; vertical-align: -18px; margin-right: 4px; color: var(--gold); }
.media-quote cite { display: block; margin-top: 8px; font-size: 16px; font-style: normal; letter-spacing: .06em; color: #f8e6c7; }

/* CTA band ---------------------------------------------------------------- */

.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(192, 138, 62, .25); }
.cta-band::after { content: ""; position: absolute; right: 40px; top: 30px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(192, 138, 62, .18); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 64px 24px; }
.cta-inner h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 6px; }
.cta-inner p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 640px; }

/* Inner page hero ---------------------------------------------------------- */

.page-hero {
    position: relative; min-height: 340px; display: flex; align-items: center;
    color: var(--white); overflow: hidden; background: var(--navy-deep);
}
.page-hero .hero-bg { animation-duration: 14s; }
.page-hero::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(10, 24, 48, .92) 0%, rgba(10, 24, 48, .72) 42%, rgba(10, 24, 48, .25) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.page-hero h1 { color: var(--white); font-size: clamp(42px, 5.4vw, 64px); margin-bottom: 14px; font-weight: 500; }
.page-hero p { max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .86); margin: 0; }
.page-hero .meta { color: #f2dfbd; font-size: 15px; margin-bottom: 10px; letter-spacing: .04em; }

.breadcrumb { border-bottom: 1px solid var(--line); background: var(--white); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0; margin: 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--gold); }


.prose { font-size: 17px; }
.prose p { margin-bottom: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose a { color: var(--gold); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.1em; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--navy); }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }




/* About ------------------------------------------------------------------ */

.kicker {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 14px;
}
.kicker-line::after { content: ""; width: 48px; height: 1px; background: currentColor; }

.about-hero {
    position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden;
    background: var(--navy-deep); color: var(--white);
}
.about-hero .hero-bg { background-position: 70% center; animation-duration: 14s; }
.about-hero::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
    background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(10, 24, 48, .92) 30%, rgba(10, 24, 48, .45) 58%, rgba(10, 24, 48, .05) 100%);
}
.about-hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.about-eyebrow { display: inline-block; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--gold); margin-bottom: 20px; min-width: 150px; }
.about-hero h1 { color: var(--white); font-size: clamp(52px, 7vw, 88px); font-weight: 600; margin-bottom: 18px; }
.about-hero p { max-width: 520px; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.4; color: rgba(255, 255, 255, .92); margin: 0; }

.about-beginning { position: relative; background: var(--ivory); overflow: hidden; border-top: 1px solid var(--line); }
.about-beginning-media {
    position: absolute; top: 0; right: 0; bottom: 0; width: 52%; background-size: cover; background-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.about-beginning .container { position: relative; }
.about-beginning-text { max-width: 560px; padding: 72px 0; }
.about-beginning h2 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 18px; }
.about-beginning p { font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--ink); margin: 0; }

.journey { background: #fffdf8; padding: 56px 0 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 6), 1fr); }
.journey-step { position: relative; text-align: center; padding: 0 12px; }
.journey-photo { width: 136px; height: 136px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(15, 35, 64, .14); background: var(--cream); position: relative; z-index: 1; }
.journey-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.journey-step:hover .journey-photo img { transform: scale(1.08); }
.journey-step:not(:last-child)::after {
    content: ""; position: absolute; top: 68px; left: calc(50% + 74px); right: calc(-50% + 74px); height: 2px;
    background: linear-gradient(90deg, rgba(192, 138, 62, .25), rgba(192, 138, 62, .7), rgba(192, 138, 62, .25));
}
.journey-arrow {
    position: absolute; z-index: 2; top: 68px; left: 100%; transform: translate(-50%, -50%);
    width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center;
    box-shadow: 0 4px 10px rgba(192, 138, 62, .4);
}
.journey-arrow svg { width: 18px; height: 18px; stroke-width: 2.5; }
.journey-step h3 { color: var(--gold); font-size: 24px; margin-bottom: 4px; }
.journey-step strong { display: block; color: var(--navy); font-size: 15px; line-height: 1.3; margin-bottom: 6px; }
.journey-step p { font-size: 15px; line-height: 1.5; color: var(--text); margin: 0; }

.mission-vision { position: relative; background: var(--white); overflow: hidden; }
.mission-vision-media {
    position: absolute; top: 0; right: 0; bottom: 0; width: 34%; background-size: cover; background-position: center 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.mission-vision .container { position: relative; }
.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 74%; }
.mv-item { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 56px 36px 56px 0; }
.mv-item + .mv-item { padding-left: 36px; border-left: 1px solid var(--line); }
.mv-icon { color: var(--gold); }
.mv-icon svg { width: 64px; height: 64px; stroke-width: 1.4; }
.mv-item h3 { font-size: 30px; margin-bottom: 8px; }
.mv-item p { margin: 0; color: var(--text); }

.founder { display: grid; grid-template-columns: minmax(0, 38%) 1fr; background: linear-gradient(90deg, #e3e8ef 0%, #eef2f6 45%, #f4f6f9 100%); border-top: 1px solid var(--line); }
.founder-media { position: relative; min-height: 420px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); overflow: hidden; display: grid; place-items: center; }
.founder-media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder-media.has-photo::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 30%; background: linear-gradient(90deg, transparent, #e3e8ef); }
.founder-initials { width: 190px; height: 190px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-size: 72px; letter-spacing: .04em; background: rgba(255, 255, 255, .04); }
.founder-text { padding: 56px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 56px 48px; align-self: center; }
.founder-text h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 16px; }
.founder-text blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--ink); }
.founder-sign strong { display: block; font-family: var(--serif); font-size: 24px; color: var(--navy); }
.founder-sign span { display: block; font-size: 15px; color: var(--muted); }

.core-values { background: var(--ivory); padding: 56px 0 64px; border-top: 1px solid var(--line); }
.core-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 22px; }
.core-value { text-align: center; padding: 8px 22px; }
.core-value + .core-value { border-left: 1px solid var(--line); }
.core-value svg { width: 52px; height: 52px; color: var(--gold); stroke-width: 1.3; margin: 0 auto 14px; }
.core-value h3 { font-size: 24px; margin-bottom: 6px; }
.core-value p { font-size: 15px; color: var(--text); margin: 0; }

.about-cta { position: relative; background-size: cover; background-position: center; color: var(--white); overflow: hidden; }
.about-cta::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(10, 18, 32, .95) 0%, rgba(10, 18, 32, .8) 38%, rgba(10, 18, 32, .2) 75%); }
.about-cta .container { position: relative; padding-top: 72px; padding-bottom: 72px; }
.about-cta h2 { color: var(--white); font-size: clamp(36px, 4vw, 50px); margin-bottom: 8px; }
.about-cta p { max-width: 460px; font-size: 18px; color: rgba(255, 255, 255, .85); margin-bottom: 24px; }

/* Services --------------------------------------------------------------- */

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-head { display: flex; align-items: center; gap: 12px; padding: 20px 24px; }
.service-card-head svg { width: 28px; height: 28px; color: var(--navy); stroke-width: 1.5; flex-shrink: 0; }
.service-card-head h3 { font-size: 24px; margin: 0; }
.service-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card-body p { font-size: 15px; color: var(--muted); }
.check-list { list-style: none; display: grid; gap: 7px; margin-bottom: 20px; flex: 1; font-size: 15px; }
.check-list li { position: relative; padding-left: 20px; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.detail-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; box-shadow: var(--shadow); }
.feature-checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 0; }
.feature-checks li { display: flex; gap: 10px; align-items: flex-start; background: var(--ivory); padding: 14px 16px; border-radius: var(--radius); color: var(--ink); }
.feature-checks svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.sidebar-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.sidebar-box h3 { font-size: 24px; }
.sidebar-links { list-style: none; display: grid; gap: 2px; }
.sidebar-links a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 4px; color: var(--ink); }
.sidebar-links a:hover { background: var(--ivory); color: var(--gold); }
.sidebar-links svg { width: 18px; height: 18px; color: var(--gold); }
.sidebar-cta { background: var(--navy); color: rgba(255, 255, 255, .82); border: 0; }
.sidebar-cta h3 { color: var(--white); }

/* Studio ----------------------------------------------------------------- */

.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.studio-item { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.studio-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.studio-item h3 { font-size: 28px; }
.studio-item p { color: var(--muted); font-size: 15px; }

.facilities { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.facility { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 16px; text-align: center; transition: all .3s ease; }
.facility:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.facility svg { width: 38px; height: 38px; color: var(--gold); margin: 0 auto 12px; stroke-width: 1.4; }
.facility h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.35; }

/* Portfolio -------------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-btn {
    border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px;
    padding: 8px 22px; font: 500 15px var(--sans); cursor: pointer; transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

.portfolio-grid { display: grid; gap: 22px; margin-bottom: 22px; }
.portfolio-grid.covers { grid-template-columns: repeat(5, 1fr); }
.portfolio-grid.media { grid-template-columns: repeat(4, 1fr); }
.portfolio-item { cursor: pointer; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.portfolio-thumb { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cream); }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.covers .portfolio-thumb { aspect-ratio: 2 / 3; }
.media .portfolio-thumb { aspect-ratio: 4 / 3; }
.portfolio-thumb::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 24, 48, .7)); opacity: 0; transition: opacity .3s ease; }
.portfolio-thumb .zoom { position: absolute; z-index: 1; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: all .3s ease; }
.portfolio-thumb .zoom svg { width: 22px; height: 22px; }
.portfolio-item:hover .portfolio-thumb img { transform: scale(1.06); }
.portfolio-item:hover .portfolio-thumb::after, .portfolio-item:hover .zoom { opacity: 1; transform: none; }
.portfolio-caption { padding: 12px 2px 0; }
.portfolio-caption strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.portfolio-caption span { font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.is-hidden { display: none !important; }

/* Partners ---------------------------------------------------------------- */

.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.partner-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(192, 138, 62, .45); }
.partner-logo { height: 170px; display: flex; align-items: center; justify-content: center; padding: 28px 36px; border-bottom: 1px solid var(--line); background: #fff; }
.partner-logo img { max-width: 100%; max-height: 110px; width: auto; height: auto; object-fit: contain; transition: transform .4s ease; }
.partner-logo img[src$=".svg"] { width: 100%; max-width: 250px; }
.partner-card:hover .partner-logo img { transform: scale(1.05); }
.partner-logo span { font-family: var(--serif); font-size: 26px; color: var(--navy); text-align: center; }
.partner-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.partner-body h3 { font-size: 25px; margin-bottom: 6px; }
.partner-body p { font-size: 15px; color: var(--muted); flex: 1; }
.partner-body .link-more { align-self: flex-start; }

/* Lightbox / modal ------------------------------------------------------- */

.modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(6, 14, 28, .86); }
.modal.open { display: flex; animation: fadeIn .25s ease; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.modal-close:hover { background: var(--gold); }
.modal-video { width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.modal-video iframe { width: 100%; height: 100%; border: 0; }
.lightbox { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); width: min(1000px, 100%); max-height: 90vh; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.lightbox img { width: 100%; height: 100%; max-height: 90vh; object-fit: contain; background: var(--navy-deep); }
.lightbox-body { padding: 36px; overflow-y: auto; }
.lightbox-body h3 { font-size: 32px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Resources / blog ------------------------------------------------------- */

.blog-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; }
.post-featured img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; box-shadow: var(--shadow); }
.post-featured h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 8px; }
.post-featured h2 a:hover, .post-row h3 a:hover, .post-card h3 a:hover { color: var(--gold); }
.post-date { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.post-date svg { width: 15px; height: 15px; color: var(--gold); }
.post-list { display: grid; gap: 22px; align-content: start; }
.post-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.post-row:last-child { border-bottom: 0; }
.post-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.post-row h3 { font-size: 21px; margin-bottom: 4px; }
.post-row .post-date { margin: 0; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 24px; }
.post-card p { font-size: 15px; color: var(--muted); flex: 1; }

.subscribe-band { position: relative; margin-top: 64px; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; color: var(--white); }
.subscribe-band::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(10, 24, 48, .94) 0%, rgba(10, 24, 48, .8) 50%, rgba(10, 24, 48, .35) 100%); }
.subscribe-inner { position: relative; padding: 56px; max-width: 640px; }
.subscribe-inner h2 { color: var(--white); font-size: 36px; margin-bottom: 6px; }
.subscribe-inner p { color: rgba(255, 255, 255, .8); }
.subscribe-form { display: flex; gap: 10px; margin-top: 18px; }
.subscribe-form input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .95); font: 15px var(--sans); }
.form-note { margin-top: 10px; font-size: 14px; }
.form-note.ok { color: #b8e6c2; }
.form-note.err { color: #ffc2b8; }

.article { max-width: 780px; margin: 0 auto; }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 38px; box-shadow: var(--shadow); }
.article .lead { font-family: var(--serif); font-size: 24px; color: var(--navy); line-height: 1.45; margin-bottom: 26px; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; font-weight: 600; color: var(--ink); background: var(--white); }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); border-color: var(--gold); color: var(--white); }
.pagination .disabled { color: #c3c6cc; }

/* Contact ---------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.card h2 { font-size: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-group label .req { color: #c0392b; }
.form-control { width: 100%; padding: 12px 14px; border: 1px solid #d9d3c6; border-radius: 4px; font: 15px var(--sans); color: var(--ink); background: #fffefb; transition: border-color .2s ease, box-shadow .2s ease; }
.form-control:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192, 138, 62, .18); }
textarea.form-control { min-height: 150px; resize: vertical; }
.field-error { color: #c0392b; font-size: 13px; }
.alert { padding: 14px 18px; border-radius: 4px; margin-bottom: 22px; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; }
.alert-success { background: #eaf6ec; color: #1e6b33; border: 1px solid #c4e6cc; }
.alert-error { background: #fdeceb; color: #a12d22; border: 1px solid #f4c6c2; }

.contact-list { list-style: none; display: grid; gap: 20px; margin-bottom: 32px; }
.contact-list li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center; }
.contact-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--navy); font-size: 15px; }
.contact-list span, .contact-list a { color: var(--text); font-size: 15px; }
.contact-list a:hover { color: var(--gold); }
.contact-side h3 { font-size: 28px; }
.contact-side-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 28px; }
.map-embed { margin-top: 56px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-size: 18px; transition: transform .2s ease, opacity .2s ease; }
.social:hover { transform: translateY(-3px); opacity: .9; }
.social.facebook { background: #1877F2; }
.social.youtube { background: #FF0000; }
.social.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social.linkedin { background: #0A66C2; }
.social.x { background: #111; }
.social.whatsapp { background: #25D366; }
.socials.muted .social { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.socials.muted .social:hover { background: var(--gold); border-color: var(--gold); }

/* Footer ----------------------------------------------------------------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); font-size: 15px; }
.footer-top { border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding: 72px 24px 56px; }
.footer-logo { height: 96px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: 22px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease, padding .2s ease; }
.footer-links a::before { content: "›"; color: var(--gold); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact { list-style: none; display: grid; gap: 14px; margin-bottom: 22px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; flex-wrap: wrap; }
.footer-bottom em { font-family: var(--serif); font-size: 17px; color: #e7d3ae; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s ease; }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-bg { animation: none; transform: none; }
    html { scroll-behavior: auto; }
}

.empty-state { text-align: center; padding: 40px; color: var(--muted); background: var(--ivory); border-radius: var(--radius); }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1100px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav ul { gap: 20px; }
    .main-nav { gap: 20px; }
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid.covers { grid-template-columns: repeat(4, 1fr); }
    .portfolio-grid.media { grid-template-columns: repeat(3, 1fr); }
    .studio-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        /* --header-h is measured by site.js; the fallbacks match the CSS header heights. */
        position: fixed; top: var(--header-h, 99px); right: 0; bottom: 0; left: 0; z-index: 60;
        background: var(--white); flex-direction: column; align-items: stretch;
        gap: 0; padding: 12px 24px 32px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
        box-shadow: 0 20px 40px rgba(15, 35, 64, .12);
    }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a.nav-link { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
    .main-nav a.nav-link::after { display: none; }
    .main-nav a.nav-link.active { color: var(--gold); }
    .main-nav .btn { margin-top: 22px; }
}

@media (max-width: 960px) {
    .split, .blog-layout, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
    .split-text { padding: 64px 24px; }
    .split-media { min-height: 420px; }
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .lightbox { grid-template-columns: 1fr; overflow-y: auto; }
    .lightbox img { max-height: 50vh; }
    .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .header-inner { height: 76px; }
    .brand img { height: 54px; }
    .main-nav { top: var(--header-h, 79px); padding-left: 20px; padding-right: 20px; }
    .hero { min-height: 560px; }
    .hero-content { padding: 80px 20px 130px; }
    .cards-4, .cards-3, .form-grid, .feature-checks, .partners-grid { grid-template-columns: 1fr; }
    .portfolio-grid.covers { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid.media { grid-template-columns: 1fr 1fr; }
    .studio-item { grid-template-columns: 1fr; }
    .studio-item img { aspect-ratio: 16 / 10; }
    .post-row { grid-template-columns: 110px 1fr; }
    .subscribe-inner { padding: 36px 24px; }
    .subscribe-form { flex-direction: column; }
    .card { padding: 26px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
    .media-quote { font-size: 20px; right: 6%; left: 6%; }
}

@media (max-width: 1100px) {
    .journey-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .journey-step:nth-child(3n)::after, .journey-step:nth-child(3n) .journey-arrow { display: none; }
    .mission-vision-grid { max-width: none; }
    .mission-vision-media { display: none; }
    .core-value:nth-child(n) { border-left: 0; }
}

@media (max-width: 760px) {
    .about-beginning-media { position: relative; width: auto; height: 260px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
    .about-beginning-text { padding: 24px 0 56px; }
    .journey-steps { grid-template-columns: 1fr 1fr; }
    .journey-step::after, .journey-arrow { display: none !important; }
    .mission-vision-grid { grid-template-columns: 1fr; }
    .mv-item { padding: 36px 0; grid-template-columns: 56px 1fr; }
    .mv-item + .mv-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .mv-icon svg { width: 48px; height: 48px; }
    .founder { grid-template-columns: 1fr; }
    .founder-media { min-height: 320px; }
    .founder-media.has-photo::after { top: auto; right: 0; bottom: 0; left: 0; width: auto; height: 30%; background: linear-gradient(180deg, transparent, #e3e8ef); }
    .founder-text { padding: 40px 24px 56px; }
    .core-values-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
