:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, .78);
  --paper: #214569;
  --soft: #1a3a5a;
  --panel: #244c73;
  --line: rgba(255, 255, 255, .22);
  --accent: #b6872f;
  --accent-dark: #d6b062;
  --header-bg: #214569;
  --header-text: #ffffff;
  --submenu-bg: #1a3a5a;
  --submenu-text: #ffffff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Jost, Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.site-header { border-bottom: 1px solid var(--line); background: var(--header-bg); color: var(--header-text); position: sticky; top: 0; z-index: 100; }
.nav-wrap { max-width: var(--max); margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; text-transform: lowercase; letter-spacing: .08em; font-family: Cinzel, Georgia, serif; color: var(--header-text); flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--header-text); }
.nav a { color: var(--header-text); text-decoration: none; }
.nav a:hover, .nav a:focus { color: var(--accent-dark); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--header-bg); color: var(--header-text); width: 42px; height: 42px; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.submenu-cue { color: var(--accent-dark); font-size: 11px; line-height: 1; }
.nav-submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 292px; background: var(--submenu-bg); color: var(--submenu-text); border: 1px solid var(--line); padding: 10px 0; box-shadow: 0 18px 34px rgba(0, 0, 0, .32); z-index: 200; }
.nav-dropdown:hover .nav-submenu, .nav-dropdown:focus-within .nav-submenu { display: block; }
.nav-submenu a { display: block; color: var(--submenu-text); padding: 9px 14px; letter-spacing: .04em; text-transform: none; white-space: nowrap; }
.nav-submenu a:hover, .nav-submenu a:focus { background: var(--soft); color: var(--accent-dark); }

.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 74px 22px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.hero h1, .hero h2, .section h2, .article h1 { font-family: Cinzel, Georgia, serif; font-weight: 500; line-height: 1.12; margin: 12px 0 18px; }
.hero h1 { font-size: clamp(38px, 5vw, 70px); }
.hero h2 { font-size: clamp(34px, 4.6vw, 62px); }
.lead { font-size: 19px; color: var(--muted); max-width: 760px; }
.hero-card img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.opening-photo { position: relative; min-height: 38vh; overflow: hidden; display: grid; place-items: center; background: var(--paper); border-bottom: 1px solid var(--line); isolation: isolate; }
.opening-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 42%, rgba(33, 69, 105, .08), rgba(33, 69, 105, .62) 58%, rgba(33, 69, 105, .9) 100%); pointer-events: none; }
.opening-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 38%; z-index: 2; background: linear-gradient(180deg, rgba(33, 69, 105, 0), var(--paper)); pointer-events: none; }
.opening-photo-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; opacity: .92; transform: scale(1); animation: openingImageFade 9s ease-in-out forwards; }
.opening-photo-overlay { position: relative; z-index: 3; display: grid; place-items: center; width: min(30vw, 270px); min-width: 150px; max-height: 74%; opacity: .88; animation: openingLogoReveal 2.8s ease .25s forwards; }
.opening-photo-overlay img { width: 100%; max-height: 100%; filter: brightness(0) invert(1) drop-shadow(0 12px 28px rgba(0, 0, 0, .32)); opacity: .95; }
.get-started-hero { min-height: calc(100vh - 72px); display: grid; align-items: center; background: radial-gradient(circle at 72% 22%, rgba(182, 135, 47, .2), transparent 34%), var(--paper); border-bottom: 1px solid var(--line); }
.get-started-hero .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 96px; padding-bottom: 96px; }
.get-started-hero h1 { max-width: 920px; margin-left: auto; margin-right: auto; }
.get-started-panel { max-width: 980px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.get-started-panel .card { text-align: left; background: rgba(255, 255, 255, .06); }
.get-started-panel h3 { color: var(--accent-dark); }
.covenant-section { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; background: linear-gradient(rgba(10, 25, 40, .56), rgba(10, 25, 40, .74)), url("../images/covenant-collection-fabrics.jpg") center / cover; border-bottom: 1px solid var(--line); padding: 92px 22px; overflow: hidden; isolation: isolate; }
.covenant-content { position: relative; z-index: 1; max-width: 980px; display: grid; gap: 26px; justify-items: center; }
.covenant-title { position: relative; display: inline-block; padding: 26px 0 42px; }
.covenant-title h2 { margin: 0; font-family: Cinzel, Georgia, serif; font-size: clamp(42px, 7vw, 92px); line-height: .95; font-weight: 500; color: #fff; text-shadow: 0 4px 16px rgba(0, 0, 0, .34); text-transform: uppercase; letter-spacing: .04em; }
.covenant-title .signature { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: max-content; max-width: 100%; color: var(--accent-dark); font-family: "Brush Script MT", "Segoe Script", cursive; font-size: clamp(34px, 5.4vw, 76px); line-height: 1; text-shadow: 0 4px 14px rgba(0, 0, 0, .38); }
.covenant-copy { max-width: 720px; color: #fff; text-shadow: 0 3px 14px rgba(0, 0, 0, .52); }
.covenant-copy h3 { margin: 0 0 10px; font-family: Cinzel, Georgia, serif; font-size: clamp(24px, 3vw, 38px); line-height: 1.12; font-weight: 500; }
.covenant-copy p { margin: 0 auto; color: rgba(255, 255, 255, .9); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.covenant-copy .covenant-price { margin-top: 14px; color: var(--accent-dark); font-weight: 700; letter-spacing: .03em; }
.wedding-cause-hero { position: relative; min-height: 78vh; overflow: hidden; display: grid; place-items: center; background: var(--paper); border-bottom: 1px solid var(--line); isolation: isolate; }
.wedding-cause-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13, 30, 47, .78), rgba(33, 69, 105, .4) 45%, rgba(13, 30, 47, .72)); pointer-events: none; }
.wedding-cause-media { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: center; animation: weddingBackgroundLoop 14s ease-in-out infinite alternate; }
.wedding-cause-overlay { position: relative; z-index: 2; padding: 36px 22px; text-align: center; }
.wedding-cause-overlay h1 { margin: 0; color: #fff; font-family: "Segoe Script", "Brush Script MT", cursive; font-size: clamp(52px, 8vw, 112px); line-height: 1; font-weight: 400; text-shadow: 0 8px 30px rgba(0, 0, 0, .55); }
.section { max-width: var(--max); margin: 0 auto; padding: 66px 22px; }
.section.alt { background: var(--soft); max-width: none; }
.section.alt > .inner { max-width: var(--max); margin: 0 auto; }
.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--ink); padding: 24px; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 18px; border-radius: 3px; }
.card h3 { margin: 0 0 8px; font-family: Cinzel, Georgia, serif; }
.card p { color: var(--muted); margin: 0 0 12px; }
.service-card { color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.service-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.list { padding-left: 20px; }
.list li { margin: 8px 0; }
.cta-band { background: var(--soft); color: #fff; }
.cta-band .inner { max-width: var(--max); margin: 0 auto; padding: 54px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: 12px 18px; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.button.secondary { background: transparent; color: inherit; border-color: currentColor; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button.light { color: #fff; }
.button.dark { color: #fff; }
.quote { font-style: italic; color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); padding: 36px 22px; background: var(--paper); }
.site-footer .inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.article { max-width: 820px; margin: 0 auto; padding: 64px 22px; }
.article h1 { font-size: clamp(34px, 4vw, 56px); }
.article h2 { font-family: Cinzel, Georgia, serif; margin-top: 38px; }
.meta { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.fabric-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.home-seo-links { max-width: 1180px; margin: 0 auto; padding: 54px 22px; }
.home-seo-links h2 { font-family: Cinzel, Georgia, serif; font-weight: 500; }
.home-seo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.home-seo-grid a { display: block; border: 1px solid var(--line); padding: 18px; text-decoration: none; background: var(--panel); }
.home-seo-grid strong { display: block; margin-bottom: 6px; }
.home-seo-grid span { color: var(--muted); font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.inspiration-gallery { max-width: var(--max); margin: 0 auto; padding: 72px 22px; }
.inspiration-gallery h2 { font-family: Cinzel, Georgia, serif; font-weight: 500; margin: 0 0 24px; }
.inspiration-grid { display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 22px; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-color: var(--accent) rgba(255, 255, 255, .14); scrollbar-width: thin; }
.inspiration-tile { position: relative; display: block; flex: 0 0 clamp(230px, 24vw, 300px); overflow: hidden; min-height: 330px; border: 1px solid var(--line); background: var(--soft); text-decoration: none; scroll-snap-align: start; }
.inspiration-tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; transition: transform .35s ease; }
.inspiration-tile:hover img, .inspiration-tile:focus img { transform: scale(1.04); }
.inspiration-more { display: grid; place-items: center; flex-basis: clamp(170px, 18vw, 230px); color: #fff; font-family: Cinzel, Georgia, serif; font-size: clamp(58px, 7vw, 110px); background: linear-gradient(rgba(33, 69, 105, .45), rgba(33, 69, 105, .72)), url("../images/inspiration-04.jpg") center / cover; }
.inspiration-more span { display: grid; place-items: center; width: 104px; height: 104px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 50%; background: rgba(33, 69, 105, .42); text-shadow: 0 6px 18px rgba(0, 0, 0, .34); }
.inspiration-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.inspiration-page-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line); }

@keyframes openingImageFade {
  0% { opacity: .95; transform: scale(1); filter: saturate(1) contrast(1); }
  52% { opacity: .78; transform: scale(1.035); filter: saturate(.95) contrast(.98); }
  100% { opacity: .36; transform: scale(1.075); filter: saturate(.88) contrast(.94); }
}

@keyframes openingLogoReveal {
  0% { opacity: .62; transform: translateY(14px) scale(.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes weddingBackgroundLoop {
  0% { transform: scale(1.05) translate3d(-1.5%, 0, 0); }
  100% { transform: scale(1.15) translate3d(1.5%, -1%, 0); }
}

@media (max-width: 980px) {
  .nav-wrap { gap: 12px; }
  .nav { gap: 12px; font-size: 12px; }
  .get-started-panel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav-wrap { flex-wrap: nowrap; align-items: center; gap: 10px 12px; }
  .brand { min-width: 0; max-width: calc(100% - 56px); flex: 1 1 auto; }
  .brand span { font-size: 14px; overflow-wrap: anywhere; }
  .menu-toggle { display: flex; flex: 0 0 42px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--header-bg); color: var(--header-text); border-bottom: 1px solid var(--line); padding: 18px 22px; flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
  .nav a { color: var(--header-text); }
  .nav-dropdown { width: 100%; }
  .nav-dropdown > a { width: 100%; }
  .nav-submenu { display: block; position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; border-left: 1px solid var(--line); margin: 6px 0 6px 10px; padding: 4px 0; background: var(--header-bg); color: var(--header-text); }
  .nav-submenu a { white-space: normal; color: var(--header-text); }
  .hero-inner, .grid.two, .grid.three, .split { grid-template-columns: 1fr; }
  .hero h1 { max-width: 100%; font-size: clamp(28px, 7.5vw, 34px); overflow-wrap: normal; }
  .lead { max-width: 100%; font-size: 17px; }
  .opening-photo { min-height: 29vh; }
  .opening-photo-overlay { width: 150px; min-width: 0; }
  .get-started-hero { min-height: auto; }
  .get-started-hero .hero-inner { padding-top: 70px; padding-bottom: 70px; }
  .get-started-panel { grid-template-columns: 1fr; }
  .covenant-section { min-height: 62vh; background-position: 45% center; padding: 78px 22px; }
  .covenant-content { max-width: 100%; gap: 22px; }
  .covenant-title { width: 100%; max-width: 330px; padding-bottom: 32px; }
  .covenant-title h2 { max-width: 330px; margin-left: auto; margin-right: auto; font-size: clamp(28px, 7.2vw, 34px); letter-spacing: 0; }
  .covenant-title .signature { font-size: clamp(27px, 7vw, 32px); }
  .covenant-copy { max-width: 100%; }
  .covenant-copy h3 { max-width: 280px; margin-left: auto; margin-right: auto; font-size: clamp(20px, 5.4vw, 24px); }
  .covenant-copy p { max-width: 280px; font-size: 15px; line-height: 1.48; }
  .covenant-copy .covenant-price { font-size: 15px; overflow-wrap: normal; }
  .wedding-cause-hero { min-height: 64vh; }
  .cta-band .inner { display: block; }
  .cta-band .button { margin-top: 18px; }
  .home-seo-grid { grid-template-columns: 1fr; }
  .inspiration-grid { margin: 0 -22px; padding: 0 22px 12px; }
  .inspiration-tile { flex-basis: 78vw; min-height: 420px; }
  .inspiration-more { flex-basis: 48vw; }
  .inspiration-page-grid { grid-template-columns: 1fr; }
  .button-row { display: grid; }
  .button { width: 100%; }
}
