/* =========================================================================
   No Pin Code — theme.css
   Design tokens captured 1:1 from the original Bricks build.
   Brand: Cormorant Garamond headings (#ab8516) + Adelle Sans body.
   ========================================================================= */

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Adelle Sans";
	src: url("/wp-content/uploads/2025/05/fonnts.com-adelle_sans_light-webfont.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	/* Colors (from Bricks color palette) */
	--gold: #ab8516;
	--black: #000000;
	--white: #ffffff;
	--grey: #e9e9e9;
	--ink: #1a1a1a;

	/* Fluid type scale (from Bricks global variables) */
	--h1: clamp(2rem, 1.4194rem + 2.5806vw, 4rem);
	--h2: clamp(1.8rem, 1.5677rem + 1.0323vw, 2.6rem);
	--h3: clamp(1.6rem, 1.3677rem + 1.0323vw, 2.4rem);
	--h4: clamp(1.4rem, 1.2258rem + 0.7742vw, 2rem);
	--h5: clamp(1.2rem, 1.0258rem + 0.7742vw, 1.8rem);
	--h6: clamp(1.2rem, 1.0839rem + 0.5161vw, 1.6rem);
	--p: clamp(1rem, 0.9637rem + 0.1613vw, 1.125rem);
	--p-l: clamp(1.1rem, 1.0129rem + 0.3871vw, 1.4rem);
	--logo: clamp(1.5rem, 1.3548rem + 0.6452vw, 2rem);

	/* Spacing */
	--space-xs: clamp(0.5rem, 0.3548rem + 0.6452vw, 1rem);
	--space-xl: clamp(3rem, 2.129rem + 3.871vw, 6rem);
	--space-xxl: clamp(4rem, 2.8387rem + 5.1613vw, 8rem);
	--ftr-pdng: clamp(0rem, -1.4516rem + 6.4516vw, 5rem);
	--caoursel-ht: clamp(20rem, 8.3871rem + 51.6129vw, 60rem);

	--container: 1600px;
	--radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	font-family: "Adelle Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	color: #363636;
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, picture, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	color: var(--gold);
	line-height: 1.4;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }
p { font-size: var(--p); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 1000; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-xs); }
.section { padding-block: var(--space-xl); }

/* ---------- Buttons ---------- */
.btn, .bookings__form input[type="submit"], .ff-btn-submit {
	display: inline-block; background: var(--gold); color: var(--white);
	padding: .8em 1.8em; border-radius: var(--radius); font-weight: 400;
	letter-spacing: .02em; transition: opacity .2s ease;
}
.btn:hover, .ff-btn-submit:hover { opacity: .88; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--white);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 160px; }
.site-branding img { max-height: 56px; width: auto; }
.site-title { font-family: "Cormorant Garamond", serif; font-size: var(--logo); font-weight: 500; color: #363636; }
.site-nav__menu { display: flex; gap: 1.75rem; align-items: center; }
.site-nav__menu a { font-size: 16px; letter-spacing: normal; color: #363636; }
.site-nav__menu a:hover { color: var(--gold); text-decoration: none; }
.site-nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.site-nav__toggle span { width: 26px; height: 2px; background: var(--ink); display: block; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding-block: clamp(5rem, 4rem + 6.5vw, 10rem); }
.hero__inner { position: relative; z-index: 2; max-width: 60rem; }
.hero__title { font-size: var(--h1); margin-bottom: 1rem; }
.hero__subtitle { font-family: "Cormorant Garamond", Georgia, serif; font-size: var(--h2); font-weight: 500; line-height: 1.7; color: #363636; }
.hero__carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: var(--space-xl) auto 0; max-width: var(--container); padding-inline: var(--space-xs); scrollbar-width: none; }
.hero__carousel::-webkit-scrollbar { display: none; }
.hero__slide { scroll-snap-align: start; flex: 0 0 100%; }
.hero__slide img { width: 100%; height: var(--caoursel-ht); border-radius: 0; object-fit: cover; }

/* ---------- Feature block (image + accordion) ---------- */
.feature-block__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.feature-block--reverse .feature-block__media { order: 2; }
.feature-block__media img { width: 100%; aspect-ratio: 4/5; border-radius: 0; object-fit: cover; }
.feature-block__heading { margin-bottom: 1.5rem; }

/* ---------- Accordion ---------- */
.accordion__item { border-bottom: 1px solid var(--black); }
.accordion__head {
	width: 100%; text-align: left; padding: 1.1rem 0; font-family: "Cormorant Garamond", serif;
	font-size: var(--h5); color: var(--black); line-height: 1.4; display: flex; justify-content: space-between; align-items: center;
}
.accordion__head::after { content: "+"; font-size: 1.4em; line-height: 1; transition: transform .25s; }
.accordion__head[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion__panel > * { padding-bottom: 1.1rem; }
.accordion__item.is-open .accordion__panel { max-height: 40rem; }

/* ---------- Location (map) ---------- */
.location { text-align: center; }
.location__heading { font-size: var(--h1); }
.location__sub { color: var(--ink); max-width: 820px; margin: 0 auto var(--space-xl); }
.location__map { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-xs); }
.location__map iframe { display: block; width: 100%; height: 520px; border: 0; }

/* ---------- Founder quote ---------- */
.founder { background: var(--white); color: #363636; padding-block: var(--space-xxl); }
.founder__inner { display: grid; grid-template-columns: auto 1fr; gap: var(--space-xl); align-items: center; }
.founder__media img { width: 240px; height: 240px; object-fit: cover; border-radius: 50%; }
.founder__name { display: block; font-family: "Adelle Sans", sans-serif; font-style: normal; font-weight: 300; font-size: var(--p); letter-spacing: .1em; text-transform: uppercase; color: var(--black); margin-bottom: 1rem; }
.founder__quote { font-family: "Cormorant Garamond", serif; font-size: var(--h2); font-style: normal; line-height: 1.2; color: var(--gold); }
.founder__quote p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; font-family: inherit; }

/* ---------- Community features grid ---------- */
.features__heading { text-align: center; margin-bottom: var(--space-xl); font-size: var(--h1); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.feature-card__media img { aspect-ratio: 1/1; object-fit: cover; border-radius: 0; }
.feature-card__title { margin: 1rem 0 .5rem; color: var(--black); font-size: var(--h5); }
.feature-card__body { color: var(--ink); }

/* ---------- Editorial gallery sections (Flora & Fauna, Authentic Experiences) ---------- */
.gallery-section__heading { text-align: center; font-size: var(--h1); margin-bottom: 1rem; }
.gallery-section__text { text-align: center; color: var(--ink); max-width: 820px; margin: 0 auto var(--space-xl); font-size: var(--p-l); }
.gallery-section__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xs); }
.gallery-section__item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 0; }
.authentic { background: #f6f5f2; }
@media (max-width: 991px) { .gallery-section__grid { grid-template-columns: 1fr 1fr; } }

/* Design Vision — two-image layout */
.design-vision .gallery-section__grid { grid-template-columns: repeat(2, 1fr); max-width: 1100px; margin-inline: auto; }
.design-vision .gallery-section__item img { aspect-ratio: 3/2; }

/* ---------- Project Details (alternating image + text rows) ---------- */
.project-details__heading, .project-details .features__heading { text-align: center; margin-bottom: var(--space-xl); font-size: var(--h1); }
.pd-rows { display: flex; flex-direction: column; gap: var(--space-xxl); }
.pd-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.pd-row--reverse .pd-row__media { order: 2; }
.pd-row__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 0; }
.pd-row__heading { color: var(--black); font-size: var(--h3); margin-bottom: 1rem; }
.pd-row__text { color: var(--ink); margin-bottom: 1.25rem; }
.pd-row__points { display: flex; flex-direction: column; gap: .6rem; }
.pd-row__points li { position: relative; padding-left: 1.5rem; color: var(--black); font-size: var(--p-l); font-family: "Cormorant Garamond", serif; }
.pd-row__points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
@media (max-width: 991px) {
	.pd-row { grid-template-columns: 1fr; }
	.pd-row--reverse .pd-row__media { order: 0; }
	.design-vision .gallery-section__grid { grid-template-columns: 1fr; }
}

/* ---------- Masterplan (gated) ---------- */
.masterplan { background: #f6f5f2; text-align: center; }
.masterplan__heading { font-size: var(--h1); margin-bottom: 1rem; }
.masterplan__intro { color: var(--ink); max-width: 820px; margin: 0 auto var(--space-xl); font-size: var(--p-l); }
.masterplan__gate { max-width: 640px; margin-inline: auto; text-align: left; }
.masterplan__gate.is-unlocked { display: none; }
.masterplan__plans { margin-top: var(--space-xl); }
.masterplan__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.masterplan__item { margin: 0; }
.masterplan__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.masterplan__zoom img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border: 1px solid #ddd; background: var(--white); transition: opacity .2s ease; }
.masterplan__zoom:hover img { opacity: .9; }
.masterplan__item figcaption { margin-top: .6rem; }
.masterplan__title { display: block; font-family: "Cormorant Garamond", serif; color: var(--black); font-size: var(--p-l); }
.masterplan__credit { display: block; margin-top: .15rem; font-size: .8rem; letter-spacing: .02em; color: #8a8a8a; }

/* Lightbox overlay */
.npc-lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 4vmin; background: rgba(0,0,0,.88); cursor: zoom-out; }
.npc-lightbox.is-open { display: flex; }
.npc-lightbox img { max-width: 100%; max-height: 92vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.5); cursor: default; }
.npc-lightbox__close { position: absolute; top: 1rem; right: 1.25rem; font-size: 2.5rem; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
@media (max-width: 991px) { .masterplan__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .masterplan__grid { grid-template-columns: 1fr; } }

/* ---------- FAQs ---------- */
.faqs__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: start; }
.faqs__heading { text-align: left; font-size: var(--h1); margin: 0; }
.faqs .accordion { max-width: none; }

/* ---------- Team ---------- */
.team__heading { text-align: center; margin-bottom: var(--space-xl); }
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-xl); }
.team-card { text-align: center; background: #f6f5f2; padding: 1.25rem 1.25rem 2rem; }
.team-card__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 0; }
.team-card__name { margin: 1.25rem 0 .75rem; color: var(--black); font-size: var(--p-l); font-weight: 500; }
.team-card__bio { color: var(--ink); }

/* ---------- Bookings / contact ---------- */
.bookings { background: var(--white); text-align: center; }
.bookings__heading { font-size: var(--h1); }
.bookings__inner { max-width: 1100px; }
.bookings__sub { margin: .75rem 0 var(--space-xl); }
.bookings__sub a { color: var(--gold); }
.bookings__form { text-align: left; max-width: 720px; margin-inline: auto; }
.npc-form-placeholder { padding: 2rem; border: 1px dashed var(--gold); border-radius: var(--radius); color: var(--gold); text-align: center; }

/* ---------- Footer (white, minimal) ---------- */
.site-footer { background: var(--grey); color: #363636; padding-block: 4rem; margin-top: 0; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__copy { color: var(--ink); }
.site-footer__social { display: flex; gap: 1rem; }
.site-footer__social a { width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.site-footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__nav a:hover { color: var(--gold); text-decoration: none; }
@media (max-width: 680px) { .site-footer__inner { flex-direction: column; text-align: center; } }

/* ---------- Page hero / Contact ---------- */
.page-hero { text-align: center; }
.entry-content { max-width: 900px; margin-inline: auto; }
.entry-content > * + * { margin-top: 1rem; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.contact__details p { margin-bottom: .75rem; font-size: var(--p-l); }
.contact__details a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.site-nav { position: fixed; inset: 80px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--grey); transform: translateY(-120%); transition: transform .3s; }
	.site-nav.is-open { transform: translateY(0); }
	.site-nav__menu { flex-direction: column; padding: 1.5rem; gap: 1rem; }
	.site-nav__toggle { display: flex; }
	.feature-block__inner { grid-template-columns: 1fr; }
	.feature-block--reverse .feature-block__media { order: 0; }
	.founder__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.contact__grid { grid-template-columns: 1fr; }
	.features__grid { grid-template-columns: 1fr 1fr; }
	.faqs__inner { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 600px) {
	.features__grid { grid-template-columns: 1fr; }
}
