/* Ivory Sky Marquees — static site styles */
:root {
  --ivory: #faf7f2;
  --cream: #f1ebe1;
  --sand: #d9cdbb;
  --taupe: #8b7d6b;
  --ink: #2f2a25;
  --ink-soft: #5b534a;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", "Cormorant Garamond", cursive;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Image placeholders: if an image file is missing, show a soft block instead of a broken icon */
.ph { background: var(--cream); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; color: var(--ink); }
.eyebrow {
  font-family: var(--sans); font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--taupe); font-weight: 500; margin: 0 0 14px;
}
.script { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; }
.display { font-size: clamp(40px, 6vw, 76px); text-transform: uppercase; letter-spacing: .06em; }
.title { font-size: clamp(30px, 4vw, 48px); text-transform: uppercase; letter-spacing: .08em; }
.title-script { font-size: clamp(40px, 5.5vw, 68px); color: var(--taupe); margin-top: -6px; }
.lead { font-size: 17px; color: var(--ink-soft); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--sans);
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500;
  padding: 16px 34px; border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background .25s, color .25s; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--ivory); }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--ivory); }
.btn--solid:hover { background: var(--taupe); border-color: var(--taupe); }
.link-arrow {
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid var(--sand); padding-bottom: 4px;
}
.link-arrow:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 20px 0;
  background: linear-gradient(rgba(20,16,12,.55), rgba(20,16,12,0));
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.solid { position: sticky; }
.site-header.solid, .site-header.scrolled {
  background: rgba(250,247,242,.96); padding: 10px 0;
  box-shadow: 0 1px 0 rgba(47,42,37,.08), 0 10px 30px rgba(47,42,37,.06);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
}
.nav { display: flex; align-items: center; gap: 34px; }
.nav--right { justify-content: flex-end; }
.nav a {
  position: relative; text-decoration: none; color: var(--white); white-space: nowrap;
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; padding: 8px 0;
  transition: color .3s;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: .22em; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { border: 1px solid rgba(255,255,255,.85); padding: 12px 22px !important; transition: background .3s, color .3s, border-color .3s !important; }
.nav-cta:hover { background: var(--white); color: var(--ink) !important; }
.solid .nav a, .scrolled .nav a { color: var(--ink); }
.solid .nav-cta, .scrolled .nav-cta { background: var(--ink); border-color: var(--ink); color: var(--ivory) !important; }
.solid .nav-cta:hover, .scrolled .nav-cta:hover { background: var(--taupe); border-color: var(--taupe); }

.brand { display: block; line-height: 0; transition: opacity .4s ease; }
.brand .logo { height: 78px; width: auto; transition: height .35s ease; }
.solid .brand .logo, .scrolled .brand .logo { height: 66px; }
.logo--dark, .solid .logo--light, .scrolled .logo--light { display: none; }
.solid .logo--dark, .scrolled .logo--dark { display: block; }
/* Home: the hero already shows the big logo, so the header logo fades in once you scroll */
.site-header:not(.solid):not(.scrolled) .brand { opacity: 0; pointer-events: none; }

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  color: var(--white); padding: 0;
}
.solid .menu-toggle, .scrolled .menu-toggle { color: var(--ink); }
.menu-toggle span { position: absolute; left: 10px; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
body.nav-open .menu-toggle { color: var(--ink); }
body.nav-open .site-header { z-index: 70; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.nav-open .site-header .brand, body.nav-open .site-header .nav-cta { visibility: hidden; }
body.nav-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
body.nav-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ivory);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 90px 24px 40px;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
body.nav-open .mobile-menu { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
.mobile-links { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-links a { font-family: var(--serif); font-size: 34px; line-height: 1.35; text-decoration: none; color: var(--ink); }
.mobile-links a[aria-current="page"] { font-style: italic; color: var(--taupe); }
.mobile-meta { font-size: 13px; text-align: center; color: var(--ink-soft); margin: 0; }
.mobile-meta a { color: var(--ink-soft); }

@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .nav a { font-size: 11px; letter-spacing: .18em; }
}
@media (max-width: 960px) {
  .header-inner { grid-template-columns: 44px 1fr auto; gap: 12px; padding: 0 16px; }
  .menu-toggle { display: block; }
  .nav--left { display: none; }
  .nav--right a:not(.nav-cta) { display: none; }
  .brand { justify-self: center; }
  .brand .logo { height: 58px; }
  .solid .brand .logo, .scrolled .brand .logo { height: 52px; }
  .nav-cta { padding: 10px 14px !important; font-size: 10.5px !important; letter-spacing: .18em !important; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); background: #3a342d center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(30, 25, 20, .5); }
.hero > * { position: relative; }
.hero-logo { width: min(520px, 78vw); margin: 0 auto 48px; }
.hero .eyebrow { color: rgba(255,255,255,.85); }

.page-hero {
  padding: 90px 0 60px; text-align: center; background: var(--ivory);
}
.page-hero .title-script { margin-top: 0; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--tight { padding: 70px 0; }
.section-head { margin-bottom: 60px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.card { text-align: center; text-decoration: none; }
.card .ph { aspect-ratio: 2 / 3; margin-bottom: 26px; }
.card .ph img { transition: transform .8s ease; }
.card:hover .ph img { transform: scale(1.04); }
.card h3 { font-size: 30px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin: 0 auto 18px; max-width: 300px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split .ph { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child { order: 0; }
}

.leaf { position: absolute; pointer-events: none; opacity: .9; width: 240px; }
.leaf--left { left: -40px; top: 40px; }
.leaf--right { right: -30px; bottom: 30px; }
@media (max-width: 860px) { .leaf { width: 140px; opacity: .5; } }

.banner {
  position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); background: #3a342d center/cover no-repeat;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(30,25,20,.35); }
.banner > * { position: relative; }
.banner h2 { color: var(--white); }
.banner .title-script { color: var(--white); }

/* ---------- Instagram strip ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.insta-grid a { aspect-ratio: 1; display: block; }
.insta-grid img { transition: opacity .3s; }
.insta-grid a:hover img { opacity: .8; }
@media (max-width: 860px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Marquee collection ---------- */
.capacity-list { list-style: none; padding: 0; margin: 24px 0 34px; columns: 2; column-gap: 30px; }
.capacity-list a { text-decoration: none; border-bottom: 1px solid var(--sand); }
.capacity-list a:hover { border-color: var(--ink); }
.capacity-list li { margin-bottom: 6px; break-inside: avoid; }

.marquee { padding: 90px 0; border-top: 1px solid var(--sand); scroll-margin-top: 20px; }
.marquee-size { font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); letter-spacing: .04em; color: var(--taupe); }
.plans { display: grid; gap: 18px; margin: 36px 0 44px; }
.plans--2 { grid-template-columns: 1fr 1fr; }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plans .ph { background: var(--white); padding: 12px; }
.plans img { object-fit: contain; height: auto; }
@media (max-width: 760px) { .plans--2, .plans--3 { grid-template-columns: 1fr; } }
.marquee-body { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.marquee-body h3 { font-size: 44px; }
.rec { font-size: 14px; letter-spacing: .08em; color: var(--taupe); margin-top: 14px; }
.rec strong { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .marquee-body { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Galleries ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { aspect-ratio: 3 / 2; display: block; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  position: fixed; inset: 0; background: rgba(20,17,14,.92); display: none;
  align-items: center; justify-content: center; z-index: 100; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 34px;
  cursor: pointer; padding: 14px; font-family: var(--serif);
}
.lb-close { top: 10px; right: 16px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; display: block; margin-bottom: 6px; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--white); border: 1px solid var(--sand); padding: 14px 16px; border-radius: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form textarea { min-height: 160px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }

.faq details { border-bottom: 1px solid var(--sand); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 24px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--taupe); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-soft); margin: 12px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 80px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 50px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; color: var(--white); margin: 0 0 18px; }
.site-footer a { text-decoration: none; color: var(--white); }
.site-footer a:hover { color: var(--sand); }
.footer-tagline { font-family: var(--serif); font-size: 24px; line-height: 1.4; color: var(--white); margin: 0; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

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

/* ---------- Video ---------- */
.hero > .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { z-index: 1; }
.hero > .container { z-index: 2; }
.film { position: relative; background: #000; aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; display: block; }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.reel { margin: 0; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: var(--cream); }
.reel figcaption { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-top: 10px; color: var(--ink-soft); text-align: center; }
@media (max-width: 860px) { .reels { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Wills certified ---------- */
.wills-strip { background: var(--white); border-bottom: 1px solid var(--cream); padding: 26px 0; }
.wills-strip .container { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; text-align: center; }
.wills-strip img { height: 46px; width: auto; }
.wills-strip p { margin: 0; color: var(--ink-soft); font-size: 15px; max-width: 560px; }
.wills-badge { height: 40px; width: auto; display: inline-block; vertical-align: middle; }
.footer-badge { height: 34px; width: auto; margin-top: 18px; }

/* ---------- Marquee photos & credits ---------- */
.marquee-photo { aspect-ratio: 21 / 9; margin: 30px 0 0; }
.credits { font-size: 12px; color: var(--taupe); text-align: center; margin: 0; padding: 0 24px 40px; }

/* ---------- Mobile overflow fixes ---------- */
html, body { overflow-x: clip; }
@media (max-width: 640px) { .section-head .title a { font-size: 26px; letter-spacing: .04em; } }

/* ---------- Marquee drawings ---------- */
.marquee-media { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0 0; }
.marquee-media .ph { aspect-ratio: 4 / 3; }
.drawing { background: #656263 !important; display: block; padding: 0 !important; }
.drawing img { object-fit: contain; }
.drawing-note { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin: 12px 0 30px; }
.drawing-fig { margin: 0; }
.drawing-fig .ph { aspect-ratio: 4 / 3; }
.drawing-fig figcaption { font-family: var(--serif); font-size: 22px; margin-top: 10px; }
@media (max-width: 760px) { .marquee-media { grid-template-columns: 1fr; } }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.package { background: var(--white); border: 1px solid var(--sand); padding: 44px 36px 40px; }
.package--feature { border-color: var(--taupe); }
.package h3 { font-size: 34px; margin: 6px 0 10px; }
.package .package-intro { color: var(--ink-soft); margin: 0 0 22px; }
.package ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sand); }
.package li { padding: 12px 0; border-bottom: 1px solid var(--sand); font-size: 15px; }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; } }
