/*
Theme Name:         MY Legal Partnership
Theme URI:          https://mylegalpartnership.co.id
Description:        Theme elegan untuk Firma Hukum MY LEGAL PARTNERSHIP (Bali). Mandiri tanpa plugin tambahan, kompatibel dengan konten blok TheSaaSX lama.
Author:             Andrenata
Author URI:         http://claritybali.com
Version:            1.0.0
Requires at least:  6.0
Requires PHP:       7.4
Text Domain:        mylegal
Tags:               one-column, custom-menu, custom-logo, featured-images, translation-ready
License:            GNU General Public License v2 or later
License URI:        http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--navy-900: #0a1424;
	--navy-800: #0f1e33;
	--navy-700: #16294a;
	--navy-600: #20385f;
	--gold-500: #c5a059;
	--gold-400: #d6b77a;
	--gold-300: #e6d2a8;
	--ivory: #faf7f1;
	--sand: #f3eee4;
	--ink: #1c2330;
	--muted: #5d6675;
	--line: #e6e1d6;
	--white: #fff;

	--font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--radius: 4px;
	--radius-lg: 10px;
	--shadow-sm: 0 2px 10px rgba(10, 20, 36, .06);
	--shadow: 0 18px 50px -20px rgba(10, 20, 36, .28);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--container: 1200px;
	--header-h: 88px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.75;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--gold-500); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.2;
	color: var(--navy-800);
	margin: 0 0 .6em;
	letter-spacing: -.005em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
p { margin: 0 0 1.2em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--gold-300); color: var(--navy-900); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--white); padding: .6rem 1rem; box-shadow: var(--shadow);
}
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .8rem;
	font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
	letter-spacing: .22em; text-transform: uppercase; color: var(--gold-500);
	margin-bottom: 1rem;
}
.eyebrow::before {
	content: ""; width: 36px; height: 1px; background: currentColor;
	transform-origin: left; transition: transform 1.2s var(--ease-out) .2s;
}
.is-white .eyebrow, .eyebrow-light { color: var(--gold-400); }

.gold-rule {
	display: block; width: 64px; height: 2px; margin: 1.4rem 0;
	background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
	transform-origin: left;
}
.text-center .gold-rule, .section-head.text-center .gold-rule { margin-left: auto; margin-right: auto; transform-origin: center; }

/* Buttons */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	padding: 1rem 2rem; border: 1px solid transparent; border-radius: var(--radius);
	font-family: var(--font-sans); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	cursor: pointer; overflow: hidden; isolation: isolate;
	transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold::before { background: var(--white); }
.btn-gold:hover { color: var(--navy-900); box-shadow: 0 14px 30px -12px rgba(197, 160, 89, .7); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-outline-light::before { background: var(--white); }
.btn-outline-light:hover { color: var(--navy-900); border-color: var(--white); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy::before { background: var(--gold-500); }
.btn-navy:hover { color: var(--navy-900); }
.link-arrow {
	display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase; color: var(--navy-800);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
	position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
	background: var(--navy-900); transition: opacity .8s var(--ease) .1s, visibility .8s;
}
.preloader__mark { display: grid; place-items: center; gap: 1.1rem; color: var(--gold-400); }
.preloader__mark svg { width: 54px; height: 54px; }
.preloader__mark svg path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.6s var(--ease) forwards; }
.preloader__bar { width: 120px; height: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.preloader__bar::after { content: ""; display: block; height: 100%; background: var(--gold-500); animation: load 1.4s var(--ease) infinite; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
	background: var(--navy-900); color: rgba(255,255,255,.72); font-size: .8rem;
	position: relative; z-index: 60;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: var(--gold-400); }
.topbar__info { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 14px; height: 14px; color: var(--gold-500); }
.topbar__social { display: flex; gap: .9rem; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease), transform .6s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 10px 40px -18px rgba(10,20,36,.25); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); transition: height .5s var(--ease); }
.site-header.is-scrolled .container { height: 70px; }

.brand { display: flex; align-items: center; gap: .9rem; color: var(--navy-800); }
.brand img { max-height: 58px; width: auto; transition: max-height .5s var(--ease); }
.is-scrolled .brand img { max-height: 46px; }
.brand img + .brand__text { display: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; letter-spacing: .04em; }
.brand__tag { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-500); margin-top: .3rem; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: .3rem; }
.primary-nav li { position: relative; }
.primary-nav a {
	position: relative; display: block; padding: .6rem .8rem; white-space: nowrap;
	font-size: .84rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-800);
}
.primary-nav > ul > li > a::after {
	content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .25rem; height: 1px;
	background: var(--gold-500); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li.current-menu-item > a::after,
.primary-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.primary-nav .current-menu-item > a { color: var(--gold-500); }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px; padding: .6rem 0;
	background: var(--white); box-shadow: var(--shadow); border-top: 2px solid var(--gold-500);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { text-transform: none; letter-spacing: 0; font-size: .92rem; padding: .55rem 1.3rem; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .btn { padding: .8rem 1.4rem; }

@media (max-width: 1180px) and (min-width: 1025px) {
	.primary-nav a { padding: .6rem .55rem; font-size: .78rem; }
}
.header-call { display: none; }
@media (max-width: 1024px) {
	.primary-nav, .header-cta .btn { display: none; }
	.header-call {
		display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
		border: 1px solid var(--line); color: var(--navy-800); transition: background .3s, color .3s;
	}
	.header-call:active { background: var(--navy-800); color: var(--gold-400); }
	.header-call svg { width: 19px; height: 19px; }
	.topbar__info span.hide-sm { display: none; }
}
@media (max-width: 640px) {
	.topbar { display: none; }
	:root { --header-h: 74px; }
	.brand img { max-height: 46px; }
}

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
.ml-section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; overflow: hidden; }
.ml-section.pt-0 { padding-top: 0; }
.ml-section.pb-0 { padding-bottom: 0; }
.ml-section.is-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.ml-section > .container { position: relative; z-index: 2; }
.ml-section.bg-ivory { background: var(--ivory); }
.ml-section.bg-sand { background: var(--sand); }
.ml-section.bg-navy { background: var(--navy-800); }
.ml-section__bg { position: absolute; inset: -10% 0; z-index: 0; background-size: cover; background-position: center; will-change: transform; }
.ml-section__overlay { position: absolute; inset: 0; z-index: 1; }
.is-white, .is-white h1, .is-white h2, .is-white h3, .is-white h4 { color: var(--white); }
.is-white p, .is-white .section-head__text { color: rgba(255,255,255,.75); }

.section-head { max-width: 720px; margin: 0 auto 3.5rem; }
.section-head.text-center { text-align: center; }
.section-head.text-center .eyebrow { justify-content: center; }
.section-head.text-center .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.section-head h2 { margin-bottom: 0; }
.section-head__text { color: var(--muted); font-size: 1.05rem; margin: 0; }

.pattern-lines::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(90deg, rgba(197,160,89,.08) 1px, transparent 1px);
	background-size: calc(var(--container) / 4) 100%; background-position: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; min-height: min(92vh, 860px); display: flex; align-items: center;
	color: var(--white); background: var(--navy-900); overflow: hidden; isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.12); transition: opacity 1.8s var(--ease), transform 0s linear 1.8s;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); transition: opacity 1.8s var(--ease), transform 9s linear; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg, rgba(10,20,36,.94) 0%, rgba(10,20,36,.78) 42%, rgba(10,20,36,.35) 100%),
		linear-gradient(0deg, rgba(10,20,36,.65), transparent 40%);
}
.hero .container { position: relative; padding-top: 6rem; padding-bottom: 7rem; }
.hero__content { max-width: 700px; }
.hero h1 { color: var(--white); font-weight: 500; margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero__lead { font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 580px; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta {
	position: absolute; left: 24px; right: 24px; bottom: 2.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	max-width: calc(var(--container) - 48px); margin: 0 auto; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.hero__dots { display: flex; gap: .6rem; }
.hero__dot { position: relative; width: 44px; height: 2px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; left: 0; top: 7px; height: 2px; width: 100%; background: rgba(255,255,255,.25); }
.hero__dot::after { background: var(--gold-500); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active::after { animation: dotfill var(--hero-interval, 6s) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__scroll { display: inline-flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.6); }
.hero__scroll i { position: relative; width: 1px; height: 46px; background: rgba(255,255,255,.2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--gold-500); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { to { top: 100%; } }
.hero__badge {
	position: absolute; right: max(24px, calc((100vw - var(--container)) / 2 + 24px)); top: 50%; transform: translateY(-50%);
	width: 168px; height: 168px; display: grid; place-items: center; color: var(--gold-400);
}
.hero__badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero__badge svg.ring text { font-size: 10.5px; letter-spacing: 3.6px; fill: currentColor; text-transform: uppercase; font-family: var(--font-sans); }
.hero__badge .scale { width: 52px; height: 52px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .hero__badge { display: none; } }

/* Hero entry animation */
.hero [data-hero] { opacity: 0; transform: translateY(30px); }
.is-loaded .hero [data-hero] { animation: rise 1.2s var(--ease-out) forwards; }
.is-loaded .hero [data-hero="1"] { animation-delay: .25s; }
.is-loaded .hero [data-hero="2"] { animation-delay: .45s; }
.is-loaded .hero [data-hero="3"] { animation-delay: .65s; }
.is-loaded .hero [data-hero="4"] { animation-delay: .85s; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(105%); }
.is-loaded .hero h1 .line > span { animation: lineup 1.3s var(--ease-out) forwards; }
.is-loaded .hero h1 .line:nth-child(2) > span { animation-delay: .15s; }
.is-loaded .hero h1 .line:nth-child(3) > span { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes lineup { to { transform: none; } }

/* ==========================================================================
   Page banner
   ========================================================================== */
.page-banner {
	position: relative; padding: clamp(5rem, 11vw, 8.5rem) 0 clamp(4rem, 8vw, 6rem);
	background: var(--navy-800); color: var(--white); overflow: hidden; isolation: isolate;
}
.page-banner::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(1000px 420px at 85% -10%, rgba(197,160,89,.22), transparent 60%),
		radial-gradient(700px 400px at -10% 120%, rgba(32,56,95,.9), transparent 60%);
}
.page-banner::after {
	content: ""; position: absolute; right: -60px; bottom: -80px; width: 380px; height: 380px; z-index: -1;
	border: 1px solid rgba(197,160,89,.25); border-radius: 50%;
	box-shadow: 0 0 0 40px rgba(197,160,89,.04), 0 0 0 80px rgba(197,160,89,.03);
	animation: float 12s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-20px, -16px); } }
.page-banner h1 { color: var(--white); margin: 0; max-width: 900px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 1.4rem; }
.breadcrumbs a { color: var(--gold-400); }
.breadcrumbs span[aria-hidden] { color: rgba(255,255,255,.35); }
.page-banner__meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.4rem; font-size: .9rem; color: rgba(255,255,255,.7); }
.page-banner__meta a { color: var(--gold-400); }

/* ==========================================================================
   Intro / content-4
   ========================================================================== */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro__title h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.intro__body { font-size: 1.08rem; color: var(--muted); }
.intro__body strong { color: var(--navy-800); }
.intro__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--font-serif); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--navy-800); font-weight: 600; }
.stat__num sup { font-size: .5em; color: var(--gold-500); }
.stat__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
.prose { max-width: 820px; margin: 0 auto; font-size: 1.08rem; color: #3b4352; }
.prose p:first-child::first-letter, .prose-dropcap > p:first-child::first-letter {
	float: left; font-family: var(--font-serif); font-size: 4.4em; line-height: .85; padding: .08em .12em 0 0; color: var(--gold-500);
}
.prose strong { color: var(--navy-800); }
@media (max-width: 860px) {
	.intro { grid-template-columns: 1fr; }
	.intro__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
	position: relative; padding: 2.8rem 2.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
	background: var(--white); overflow: hidden; isolation: isolate; transition: color .6s var(--ease);
}
.service-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-800);
	transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card__num { position: absolute; top: 1.6rem; right: 2rem; font-family: var(--font-serif); font-size: 3.4rem; line-height: 1; color: var(--sand); transition: color .6s var(--ease), transform .8s var(--ease-out); }
.service-card:hover .service-card__num { color: rgba(255,255,255,.07); transform: translateY(-6px); }
.service-card__icon {
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.8rem;
	color: var(--gold-500); border: 1px solid var(--gold-300); transition: transform .8s var(--ease-out), background .6s var(--ease), color .6s;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { transform: rotateY(180deg); background: var(--gold-500); color: var(--navy-900); }
.service-card h3 { font-size: 1.35rem; letter-spacing: .02em; transition: color .6s var(--ease); }
.service-card p { color: var(--muted); font-size: .96rem; margin: 0; transition: color .6s var(--ease); }
.service-card:hover h3 { color: var(--white); }
.service-card:hover p { color: rgba(255,255,255,.72); }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 2.2rem 1.6rem; } }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { --cols: 4; --gap: 1.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.team-grid--cols-3 { --cols: 3; }
.team-grid > .team-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
.team-card { position: relative; }
.team-card__media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--navy-700); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(35%); transform: scale(1.02); transition: transform 1.2s var(--ease-out), filter .8s var(--ease); }
.team-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(10,20,36,.85) 0%, rgba(10,20,36,0) 55%);
	opacity: .55; transition: opacity .6s var(--ease);
}
.team-card:hover .team-card__media img { transform: scale(1.08); filter: grayscale(0); }
.team-card:hover .team-card__media::after { opacity: .9; }
.team-card__frame { position: absolute; inset: 12px; z-index: 2; border: 1px solid rgba(214,183,122,.0); transition: border-color .6s var(--ease), inset .6s var(--ease); pointer-events: none; }
.team-card:hover .team-card__frame { border-color: rgba(214,183,122,.7); inset: 16px; }
.team-card__about {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1.4rem; color: rgba(255,255,255,.85); font-size: .88rem; line-height: 1.6;
	opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease-out);
}
.team-card__about a { color: var(--gold-400); font-weight: 600; }
.team-card:hover .team-card__about { opacity: 1; transform: none; }
.team-card__body { padding-top: 1.3rem; }
.team-card__name { font-size: 1.15rem; margin: 0 0 .35rem; line-height: 1.35; }
.team-card__name a { color: var(--navy-800); }
.team-card__name a:hover { color: var(--gold-500); }
.team-card__role { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; }
.is-white .team-card__name, .is-white .team-card__name a { color: var(--white); }
@media (max-width: 1024px) { .team-grid { --cols: 2; } }
@media (max-width: 520px) { .team-card__about { display: none; } }
@media (hover: none) { .team-card__about { display: none; } }

/* Team profile (team-5) */
.profile { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.profile.is-reverse .profile__media { order: 2; }
.profile__media { position: relative; }
.profile__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; position: relative; z-index: 1; }
.profile__media::before {
	content: ""; position: absolute; inset: 0; transform: translate(22px, 22px); border: 1px solid var(--gold-400); border-radius: var(--radius);
	transition: transform 1s var(--ease-out);
}
.profile:hover .profile__media::before { transform: translate(12px, 12px); }
.profile.is-reverse .profile__media::before { transform: translate(-22px, 22px); }
.profile__role { margin-bottom: .6rem; }
.profile h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.profile__text { color: var(--muted); font-size: 1.04rem; }
.profile__text p:first-child { font-family: var(--font-serif); font-size: 1.35rem; font-style: italic; color: var(--navy-700); line-height: 1.5; }
.profile + .profile { margin-top: 0; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile.is-reverse .profile__media { order: 0; } .profile__media { max-width: 420px; } }

.social-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.social-links a {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy-800);
	transition: background .4s var(--ease), color .4s, border-color .4s, transform .4s var(--ease);
}
.social-links a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.social-links svg { width: 17px; height: 17px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; background: var(--navy-900); color: var(--white); padding: clamp(4rem, 8vw, 6rem) 0; overflow: hidden; isolation: isolate; }
.cta-band::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(800px 300px at 50% 120%, rgba(197,160,89,.28), transparent 70%);
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0; max-width: 680px; font-weight: 500; }
.cta-band h2 em { color: var(--gold-400); }

/* ==========================================================================
   Gallery / social (brand-2)
   ========================================================================== */
.social-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.social-card {
	display: flex; align-items: center; gap: 1.1rem; padding: 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
	color: var(--navy-800); background: var(--white); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .5s;
}
.social-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--navy-800); }
.social-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--sand); color: var(--gold-500); transition: background .5s, color .5s; }
.social-card:hover .social-card__icon { background: var(--navy-800); color: var(--gold-400); }
.social-card__icon svg { width: 22px; height: 22px; }
.social-card strong { display: block; font-family: var(--font-serif); font-size: 1.2rem; }
.social-card small { color: var(--muted); font-size: .82rem; }

.ig-fallback { text-align: center; padding: 3rem 1rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info { background: var(--navy-800); color: rgba(255,255,255,.78); padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-lg); position: relative; overflow: hidden; isolation: isolate; }
.contact__info::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(197,160,89,.3); z-index: -1; }
.contact__info h3 { color: var(--white); }
.contact__list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; font-size: .96rem; line-height: 1.6; }
.contact__list .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(197,160,89,.14); color: var(--gold-400); }
.contact__list .ic svg { width: 18px; height: 18px; }
.contact__list a { color: var(--white); }
.contact__list a:hover { color: var(--gold-400); }
.contact__list small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }

.form-card { background: var(--white); padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
	width: 100%; padding: 1.35rem 0 .55rem; border: 0; border-bottom: 1px solid var(--line); background: transparent;
	font: inherit; font-size: 1rem; color: var(--ink); border-radius: 0; outline: none; transition: border-color .4s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 0; top: 1.1rem; color: var(--muted); font-size: .95rem; pointer-events: none; transition: transform .35s var(--ease), color .35s, font-size .35s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-1.1rem); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-500); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.hp-field { position: absolute !important; left: -9999px; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; font-size: .95rem; }
.notice-success { background: #edf7ef; color: #1f6b35; border-left: 3px solid #2f9e52; }
.notice-error { background: #fbeeee; color: #8a2222; border-left: 3px solid #c43b3b; }
.map-embed { margin-top: 3rem; border-radius: var(--radius-lg); overflow: hidden; filter: grayscale(.6) contrast(1.05); transition: filter .8s var(--ease); line-height: 0; }
.map-embed:hover { filter: none; }
.map-embed iframe { width: 100%; height: 420px; border: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Posts
   ========================================================================== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.8rem; }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.07); }
.post-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(214,183,122,.6); }
.post-card__placeholder svg { width: 64px; height: 64px; }
.post-card__cat { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .35rem .8rem; background: var(--gold-500); color: var(--navy-900); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.6rem 1.8rem; }
.post-card__date { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.post-card__title { font-size: 1.32rem; line-height: 1.35; margin-bottom: .8rem; }
.post-card__title a { color: var(--navy-800); background: linear-gradient(var(--gold-500), var(--gold-500)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out), color .3s; }
.post-card:hover .post-card__title a { background-size: 100% 1px; }
.post-card__excerpt { color: var(--muted); font-size: .94rem; margin-bottom: 1.3rem; }
.post-card .link-arrow { margin-top: auto; }
@media (max-width: 1000px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }

.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: -1rem 0 3rem; }
.filter-tabs a { padding: .55rem 1.2rem; border: 1px solid var(--line); border-radius: 40px; font-size: .82rem; letter-spacing: .08em; color: var(--navy-800); transition: all .4s var(--ease); }
.filter-tabs a:hover, .filter-tabs a.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

.pagination { margin-top: 3.5rem; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy-800); font-weight: 500; transition: all .4s var(--ease); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

/* Single */
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); }
.single-thumb { margin: 0 0 2.5rem; border-radius: var(--radius-lg); overflow: hidden; }
.single-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.single-tags a { padding: .35rem .9rem; background: var(--sand); border-radius: 30px; font-size: .8rem; color: var(--navy-700); }
.single-tags a:hover { background: var(--gold-500); color: var(--navy-900); }
.share { display: flex; align-items: center; gap: .8rem; margin-top: 1.6rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.share .social-links { margin: 0; }
.sidebar .widget { padding: 1.8rem; background: var(--ivory); border-radius: var(--radius-lg); margin-bottom: 1.8rem; }
.sidebar .widget-title { font-size: 1.25rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; line-height: 1.5; }
.sidebar li:last-child { border: 0; }
.sidebar a { color: var(--navy-800); }
.sidebar a:hover { color: var(--gold-500); }
.sidebar .widget-cta { background: var(--navy-800); color: rgba(255,255,255,.75); }
.sidebar .widget-cta .widget-title { color: var(--white); border-color: rgba(255,255,255,.12); }
@media (max-width: 960px) { .single-layout { grid-template-columns: 1fr; } }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 3rem; }
.post-nav a { display: block; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--navy-800); transition: all .4s var(--ease); }
.post-nav a:hover { border-color: var(--gold-500); transform: translateY(-3px); }
.post-nav small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); margin-bottom: .4rem; }
.post-nav .next { text-align: right; }

/* ==========================================================================
   Entry content (core blocks)
   ========================================================================== */
.entry-blocks > :not(.ml-section):not(.hero):not(.page-banner):not(.cta-band):not(.marquee):not(.alignfull) { max-width: 820px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.entry-blocks > :not(.ml-section):not(.hero):not(.page-banner):not(.cta-band):not(.marquee):first-child { margin-top: 4rem; }
.entry-blocks > :not(.ml-section):not(.hero):not(.page-banner):not(.cta-band):not(.marquee):last-child { margin-bottom: 4rem; }
.entry-blocks > .alignwide { max-width: var(--container); }
.entry-content { font-size: 1.07rem; color: #333b48; }
.entry-content > h2, .entry-content > h3 { margin-top: 1.8em; }
.entry-content :where(p, li, td, figcaption) > a:not(.btn):not(.link-arrow) { color: var(--navy-600); text-decoration: underline; text-decoration-color: var(--gold-300); text-underline-offset: 3px; }
.entry-content :where(p, li, td, figcaption) > a:not(.btn):not(.link-arrow):hover { color: var(--gold-500); }
.is-white .entry-content a, .contact__info a, .team-card__about a { text-decoration: none; }
.entry-content > ul, .entry-content > ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.entry-content > ul > li, .entry-content > ol > li { margin-bottom: .4em; }
.entry-content > blockquote { margin: 2em 0; padding: 1.2em 1.6em; border-left: 3px solid var(--gold-500); background: var(--ivory); font-family: var(--font-serif); font-size: 1.3rem; font-style: italic; color: var(--navy-700); }
.wp-block-image { margin: 2em 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-image figcaption, .wp-element-caption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: .8em; }
.wp-block-file {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-left: 3px solid var(--gold-500); border-radius: var(--radius); background: var(--ivory); margin: 1.6em 0;
}
.entry-content .wp-block-file a:not(.wp-block-file__button) { font-weight: 600; color: var(--navy-800); text-decoration: none; }
.entry-content .wp-block-file .wp-block-file__button {
	display: inline-flex; padding: .65rem 1.3rem; background: var(--navy-800); color: var(--white); text-decoration: none;
	font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: var(--radius); transition: background .3s;
}
.entry-content .wp-block-file .wp-block-file__button:hover { background: var(--gold-500); color: var(--navy-900); }
.wp-block-embed { margin: 2em 0; }
.wp-block-embed iframe { width: 100%; }
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.wp-caption { max-width: 100%; }
.sticky, .gallery-caption, .bypostauthor { }

/* Comments */
.comments-area { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.comment-form .submit { background: var(--navy-800); color: var(--white); border: 0; padding: .9rem 1.8rem; border-radius: var(--radius); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

/* Search form */
.search-form { display: flex; gap: .5rem; }
.search-form input[type=search] { flex: 1; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; min-width: 0; }
.search-form button svg { width: 18px; height: 18px; }
.search-form button { display: grid; place-items: center; padding: 0 1.1rem; background: var(--navy-800); color: var(--white); border: 0; border-radius: var(--radius); cursor: pointer; }

/* 404 */
.error-404 { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.error-404__code { font-family: var(--font-serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; color: var(--sand); -webkit-text-stroke: 1px var(--gold-400); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--navy-900); color: rgba(255,255,255,.66); padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: min(90%, var(--container)); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-brand img { max-width: 120px; margin-bottom: 1.4rem; background: var(--white); padding: 10px; border-radius: var(--radius); }
.footer-brand p { font-size: .95rem; }
.site-footer h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .7rem; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.66); }
.site-footer a:hover { color: var(--gold-400); }
.footer-links a { display: inline-flex; align-items: center; gap: 0; transition: color .3s, transform .4s var(--ease); }
.footer-links a::before { content: ""; width: 0; height: 1px; background: var(--gold-500); transition: width .4s var(--ease); }
.footer-links a:hover::before { width: 14px; margin-right: .5rem; }
.site-footer .social-links a { border-color: rgba(255,255,255,.15); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.6rem 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-watermark { position: absolute; right: -2%; bottom: 3.5rem; z-index: -1; font-family: var(--font-serif); font-size: clamp(5rem, 14vw, 12rem); line-height: 1; color: rgba(255,255,255,.025); white-space: nowrap; pointer-events: none; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

/* Floating actions */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: var(--white); box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
	transform: scale(0); animation: popin .7s var(--ease-out) 1.6s forwards;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: pulse 2.6s ease-out 2.4s infinite; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { color: var(--white); }
.wa-float__label {
	position: absolute; right: 70px; white-space: nowrap; background: var(--white); color: var(--navy-800); font-size: .85rem; font-weight: 500;
	padding: .5rem .9rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(10px); transition: all .4s var(--ease); pointer-events: none;
}
.wa-float:hover .wa-float__label { opacity: 1; transform: none; }
@keyframes popin { to { transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

.to-top {
	position: fixed; right: 30px; bottom: 96px; z-index: 39; width: 42px; height: 42px; border-radius: 50%; border: 0;
	background: var(--navy-800); color: var(--gold-400); cursor: pointer; display: grid; place-items: center;
	opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .5s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.to-top .progress-ring { position: absolute; inset: -3px; width: 48px; height: 48px; transform: rotate(-90deg); }
.to-top .progress-ring circle { fill: none; stroke: var(--gold-500); stroke-width: 2; stroke-dasharray: 145; stroke-dashoffset: 145; }

.scroll-progress { position: fixed; left: 0; top: 0; z-index: 70; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   Motion – scroll reveal
   ========================================================================== */
.js [data-reveal] { opacity: 0; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal="mask"] { opacity: 1; clip-path: inset(0 0 100% 0); transform: scale(1.06); }
.js [data-reveal="mask-left"] { opacity: 1; clip-path: inset(0 100% 0 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.js .gold-rule[data-reveal] { opacity: 1; transform: scaleX(0); transition: transform 1.2s var(--ease-out) var(--d, .2s); }
.js .gold-rule[data-reveal].is-in { transform: scaleX(1); }
.js .eyebrow[data-reveal]::before { transform: scaleX(0); }
.js .eyebrow[data-reveal].is-in::before { transform: scaleX(1); }

/* Split words (headings) */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js [data-split] .w > span, .hero [data-hero], .hero h1 .line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.hero__slide { transform: none !important; }
}

/* ==========================================================================
   Motion layer (assets/js/motion.js) – ringan, berbasis transform & opacity
   ========================================================================== */
html.lenis, html.lenis body { scroll-behavior: auto !important; }
.lenis.lenis-smooth .map-embed iframe { pointer-events: auto; }

/* Marquee bidang layanan */
.marquee { position: relative; overflow: hidden; padding: 1.6rem 0; background: var(--ivory); border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; will-change: transform; animation: marquee 48s linear infinite; }
.has-motion-js .marquee__track { animation: none; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
	padding: 0 2.2rem; font-family: var(--font-serif); font-style: italic; font-weight: 500; white-space: nowrap;
	font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1; color: var(--navy-800);
}
.marquee__item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1px var(--gold-500); }
.marquee__sep { display: inline-grid; color: var(--gold-500); }
.marquee__sep svg { width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Hero: konten bergerak saat di-scroll */
[data-hero-content] { will-change: transform, opacity; }
.profile__img { overflow: hidden; border-radius: var(--radius); position: relative; z-index: 1; }
.profile__img img { scale: 1.12; will-change: transform; }

/* Teks menyala bertahap mengikuti scroll */
[data-highlight] .hw { opacity: .22; transition: opacity .35s linear; }
[data-highlight] .hw.on { opacity: 1; }
.intro__lead { font-size: 1.22rem; line-height: 1.75; color: var(--navy-800); }

/* Spotlight emas mengikuti kursor (kartu) */
[data-spotlight] { --mx: 50%; --my: 50%; }
.service-card::after, .post-card__body::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
	background: radial-gradient(320px circle at var(--mx) var(--my), rgba(197,160,89,.16), transparent 65%);
}
.service-card::after { z-index: -1; }
.service-card:hover::after, .post-card:hover .post-card__body::before { opacity: 1; }
.post-card__body { position: relative; }

/* Transisi antar halaman */
.page-curtain {
	position: fixed; inset: 0; z-index: 9998; pointer-events: none; background: var(--navy-900);
	transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out);
}
.page-curtain::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 1px; margin-left: -32px; background: var(--gold-500);
	transform: scaleX(0); transition: transform .5s var(--ease-out) .2s;
}
.is-leaving .page-curtain { transform: scaleY(1); pointer-events: auto; }
.is-leaving .page-curtain::after { transform: scaleX(1); }

/* Kursor kustom (opsional, desktop) */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-500); }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(197,160,89,.6); }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(197,160,89,.08); }

/* Preloader dibuat singkat */
.preloader__mark svg path { animation-duration: 1s; }

/* ==========================================================================
   Navigasi gaya aplikasi (HP & tablet)
   ========================================================================== */
.app-bar, .app-sheet { display: none; }
:root { --app-bar-h: 64px; --safe-b: env(safe-area-inset-bottom, 0px); }

@media (max-width: 1024px) {
	body { padding-bottom: calc(var(--app-bar-h) + var(--safe-b)); }
	.wa-float { display: none; }
	.to-top { right: 16px; bottom: calc(var(--app-bar-h) + var(--safe-b) + 16px); }

	.app-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
		display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
		height: calc(var(--app-bar-h) + var(--safe-b)); padding: 0 6px var(--safe-b);
		background: rgba(255, 255, 255, .94); border-top: 1px solid var(--line);
		backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
		box-shadow: 0 -8px 30px -12px rgba(10, 20, 36, .18);
		transform: translateY(110%); animation: appbar-in .7s var(--ease-out) .4s forwards;
	}
	@keyframes appbar-in { to { transform: none; } }
	.app-bar__item, .app-bar__cta {
		position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
		height: var(--app-bar-h); padding: 0; border: 0; background: none; font: inherit; color: var(--muted);
		-webkit-tap-highlight-color: transparent; cursor: pointer; transition: color .3s, transform .2s var(--ease);
	}
	.app-bar__item svg { width: 22px; height: 22px; }
	.app-bar__item:active, .app-bar__cta:active { transform: scale(.9); }
	.app-bar__label { font-size: .64rem; font-weight: 500; letter-spacing: .02em; line-height: 1; }
	.app-bar__item.is-active { color: var(--navy-800); }
	.app-bar__item.is-active::before {
		content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 3px; margin-left: -11px;
		border-radius: 0 0 3px 3px; background: var(--gold-500);
	}
	.app-bar__cta { color: var(--navy-800); justify-content: flex-end; padding-bottom: 9px; }
	.app-bar__cta-icon {
		position: absolute; top: -20px; left: 50%; margin-left: -27px; display: grid; place-items: center; width: 54px; height: 54px;
		border-radius: 50%; color: var(--navy-900); border: 4px solid var(--white);
		background: linear-gradient(145deg, var(--gold-400), var(--gold-500));
		box-shadow: 0 10px 22px -8px rgba(197, 160, 89, .8);
	}
	.app-bar__cta-icon svg { width: 24px; height: 24px; }

	/* Bottom sheet */
	.app-sheet { display: block; position: fixed; inset: 0; z-index: 80; }
	.app-sheet[hidden] { display: none; }
	.app-sheet__backdrop { position: absolute; inset: 0; background: rgba(10, 20, 36, .55); opacity: 0; transition: opacity .4s var(--ease); }
	.app-sheet__panel {
		position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
		padding: 8px 22px calc(26px + var(--safe-b)); background: var(--white); border-radius: 22px 22px 0 0;
		transform: translateY(100%); transition: transform .5s var(--ease-out);
	}
	.app-sheet.is-open .app-sheet__backdrop { opacity: 1; }
	.app-sheet.is-open .app-sheet__panel { transform: none; }
	.app-sheet.is-dragging .app-sheet__panel { transition: none; }
	.app-sheet__handle { width: 42px; height: 5px; margin: 4px auto 10px; border-radius: 5px; background: var(--line); }
	.app-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
	.app-sheet__head strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy-800); }
	.app-sheet__close { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--sand); color: var(--navy-800); cursor: pointer; }
	.app-sheet__close svg { width: 18px; height: 18px; }
	.app-sheet__nav ul { list-style: none; margin: 0; padding: 0; }
	.app-sheet__nav > ul > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
	.app-sheet.is-open .app-sheet__nav > ul > li { opacity: 1; transform: none; }
	.app-sheet__nav a { display: flex; align-items: center; justify-content: space-between; padding: .95rem .2rem; font-size: 1.05rem; font-weight: 500; color: var(--navy-800); }
	.app-sheet__nav > ul > li > a::after { content: "›"; font-size: 1.4rem; line-height: 1; color: var(--gold-500); }
	.app-sheet__nav .current-menu-item > a { color: var(--gold-500); }
	.app-sheet__nav .sub-menu { padding: 0 0 .6rem 1rem; }
	.app-sheet__nav .sub-menu a { padding: .5rem 0; font-size: .95rem; color: var(--muted); }
	.app-sheet__quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1.4rem 0 1rem; }
	.app-sheet__quick a { display: flex; flex-direction: column; align-items: center; gap: .45rem; font-size: .72rem; color: var(--navy-800); }
	.app-sheet__quick svg { box-sizing: content-box; width: 22px; height: 22px; padding: 14px; border-radius: 16px; background: var(--ivory); color: var(--gold-500); transition: transform .2s; }
	.app-sheet__quick a:active svg { transform: scale(.9); }
	.app-sheet__addr { font-size: .84rem; color: var(--muted); line-height: 1.6; margin-bottom: .6rem; }
	.app-sheet .social-links { margin-top: .4rem; }
}

/* ==========================================================================
   Responsif HP
   ========================================================================== */
@media (max-width: 640px) {
	.container { padding: 0 20px; }
	body { font-size: 15.5px; }
	.ml-section { padding: 3.6rem 0; }
	.ml-section.is-tight { padding: 2.8rem 0; }
	.section-head { margin-bottom: 2.4rem; }
	.section-head__text { font-size: .98rem; }
	.eyebrow { font-size: .7rem; letter-spacing: .18em; }
	.btn { padding: .95rem 1.4rem; font-size: .76rem; }

	.hero { min-height: calc(100svh - 74px - var(--app-bar-h)); }
	.hero .container { padding-top: 3rem; padding-bottom: 6rem; }
	.hero h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); }
	.hero__lead { font-size: 1rem; margin-bottom: 1.8rem; }
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__meta { left: 20px; right: 20px; bottom: 1.4rem; }
	.hero__scroll { display: none; }
	.hero__dot { width: 30px; }

	.marquee { padding: 1.1rem 0; }
	.marquee__item { font-size: 1.45rem; padding: 0 1.3rem; }
	.marquee__sep svg { width: 16px; height: 16px; }

	.intro__lead { font-size: 1.06rem; }
	.intro__stats { gap: .6rem; }
	.stat__num { font-size: 2rem; }
	.stat__label { font-size: .62rem; letter-spacing: .08em; }

	.service-card { padding: 1.9rem 1.4rem; }
	.service-card__num { font-size: 2.4rem; top: 1.2rem; right: 1.2rem; }
	.service-card__icon { width: 54px; height: 54px; margin-bottom: 1.2rem; }

	.page-banner { padding: 3.6rem 0 3rem; }
	.page-banner h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
	.page-banner::after { width: 220px; height: 220px; right: -90px; bottom: -90px; }
	.breadcrumbs { font-size: .68rem; }

	.profile__media::before, .profile.is-reverse .profile__media::before { transform: translate(10px, 10px); }
	.profile h2 { font-size: 1.6rem; }
	.profile__text p:first-child { font-size: 1.15rem; }

	.contact__info, .form-card { padding: 1.6rem 1.3rem; border-radius: 14px; }
	.map-embed { margin-top: 2rem; border-radius: 14px; }
	.map-embed iframe { height: 300px; }

	.filter-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: -1rem -20px 2rem; padding: 0 20px 4px; scrollbar-width: none; }
	.filter-tabs::-webkit-scrollbar { display: none; }
	.filter-tabs a { flex: none; }
	.post-card__body { padding: 1.3rem 1.3rem 1.5rem; }
	.post-card__title { font-size: 1.2rem; }
	.post-nav { grid-template-columns: 1fr; }
	.single-thumb { margin-bottom: 1.6rem; }
	.wp-block-file { flex-direction: column; align-items: flex-start; }

	.cta-band .container { flex-direction: column; align-items: stretch; text-align: left; }
	.cta-band .btn { width: 100%; }

	.site-footer { padding-top: 3.4rem; }
	.footer-grid { gap: 2rem; padding-bottom: 2.4rem; }
	.footer-bottom .container { flex-direction: column; gap: .3rem; text-align: center; }
	.footer-watermark { font-size: 5rem; bottom: 4rem; }
}
@media (max-width: 520px) {
	.team-grid { --cols: 2; --gap: .9rem; row-gap: 1.4rem; }
	.team-card__body { padding-top: .8rem; }
	.team-card__name { font-size: .98rem; }
	.team-card__role { font-size: .6rem; letter-spacing: .08em; }
	.team-card__frame { display: none; }
}
@media (max-width: 380px) {
	.brand img { max-height: 40px; }
	.intro__stats { grid-template-columns: repeat(3, 1fr); }
	.app-bar__label { font-size: .6rem; }
}

/* ==========================================================================
   FAQ & wilayah layanan
   ========================================================================== */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; cursor: pointer; list-style: none;
	font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; line-height: 1.35; color: var(--navy-800);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-300); transition: background .4s, transform .5s var(--ease-out); }
.faq__item summary span::before, .faq__item summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--gold-500); transition: transform .4s var(--ease); }
.faq__item summary span::after { transform: rotate(90deg); }
.faq__item[open] summary span { background: var(--navy-800); transform: rotate(180deg); }
.faq__item[open] summary span::after { transform: rotate(0); }
.faq__answer { color: var(--muted); padding: 0 3rem 1.2rem 0; }
.faq__item[open] .faq__answer { animation: faq-in .5s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.areas { border-top: 1px solid var(--line); }
.areas__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.areas__inner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.areas__inner p { color: var(--muted); }
.areas__list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.areas__list li { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 40px; font-size: .86rem; color: var(--navy-700); background: var(--white); transition: border-color .3s, color .3s; }
.areas__list li:hover { border-color: var(--gold-400); color: var(--gold-500); }
.areas__list svg { width: 14px; height: 14px; color: var(--gold-500); }
@media (max-width: 860px) {
	.faq, .areas__inner { grid-template-columns: 1fr; }
	.faq__head { position: static; }
	.faq__item summary { font-size: 1.08rem; padding: 1.1rem 0; }
	.faq__answer { padding-right: 0; }
}
