@font-face {
  font-family: Raleway;
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/raleway-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Raleway;
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sofia Pro";
  src: local("Sofia Pro Light"), local("SofiaPro-Light");
  font-weight: 300;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #40413e;
  --muted: #5a5c57;
  --edge: 3vw;
  --gutter: 1vw;
  --section-gap: clamp(4rem, 9vw, 10rem);
  --heading: Raleway, Arial, sans-serif;
  --body: "Sofia Pro", "Avenir Next", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 300 1rem/1.6 var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #86694e; outline-offset: 4px; }
h1, h2, h3 { margin: 0 0 .6em; font: 300 1em/1.15 var(--heading); }
h1, h2 { font-size: clamp(2rem, calc(32px + .72vw), 45px); }
h3 { font-size: clamp(1.25rem, calc(20px + .28vw), 25px); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
.page-width { width: calc(100% - 2 * var(--edge)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; top: .5rem; left: var(--edge); padding: .65rem; background: white; z-index: 20; }

.site-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: max(82px, 7.95vw);
  padding: 1rem var(--edge);
}
.wordmark { justify-self: start; font-size: 30px; line-height: 1.15; white-space: nowrap; text-decoration: none; }
.menu-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 2.6rem; font: 400 14px/1.2 var(--heading); }
.site-nav a { text-decoration: none; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current], .portfolio-current > a { color: var(--muted); }
.portfolio-nav { position: relative; display: flex; align-items: center; gap: .25rem; }
.portfolio-nav summary {
  display: grid; place-items: center; width: 1.2rem; min-height: 1.7rem;
  list-style: none; cursor: pointer; font-size: 1.1em;
}
.portfolio-nav summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.portfolio-nav details[open] summary { transform: rotate(45deg); }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: max-content;
  display: grid;
  gap: .65rem;
  padding: .9rem 1rem;
  background: var(--paper);
}
.submenu a { padding-block: .2rem; }

.site-footer {
  margin: var(--section-gap) var(--edge) 0;
  padding: 1.6rem 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .75rem;
  color: var(--muted);
  font-size: 15px;
}
.site-footer small { font-size: inherit; }
.instagram, .back-to-top { display: grid; place-items: center; width: 44px; height: 44px; }
.back-to-top { justify-self: end; }
.instagram span { position: relative; width: 17px; height: 17px; border: 1px solid; border-radius: 4px; }
.instagram span::before {
  content: ""; position: absolute; inset: 3px; border: 1px solid; border-radius: 50%;
}
.instagram span::after {
  content: ""; position: absolute; top: 2px; right: 2px; width: 2px; height: 2px; background: currentColor; border-radius: 50%;
}
.arrow { position: relative; display: block; width: 1.3rem; border-top: 1px solid; }
.arrow::after {
  content: ""; position: absolute; top: -4px; right: 0; width: 7px; height: 7px;
  border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg);
}
.arrow-up { transform: rotate(-90deg); }

.carousel {
  --slide-height: 89.6vh;
  --slide-gap: 1vw;
  position: relative;
}
.carousel-home { --slide-height: 82.6vh; --slide-gap: 3vw; margin-top: 1.5vw; }
.carousel-baptism { margin-top: 3vw; }
.carousel-baptism-secondary { margin-top: min(10.94vw, 10rem); }
.carousel-track {
  display: flex;
  gap: var(--slide-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track > * {
  display: block;
  flex: 0 0 auto;
  max-width: 100%;
  height: var(--slide-height);
  aspect-ratio: var(--ratio);
  scroll-snap-align: center;
  outline-offset: -4px;
}
.carousel-track img { height: 100%; object-fit: contain; }
.carousel-baptism .carousel-track > * { width: 46vw; }
.carousel-baptism img { object-fit: cover; }
.carousel-controls {
  pointer-events: none;
  position: absolute;
  inset: 0 max(10px, 1.56vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.carousel-controls button {
  pointer-events: auto;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: white;
  width: 60px;
  height: 44px;
  filter: drop-shadow(0 1px 2px #0009);
}
[data-step="-1"] .arrow, .lightbox-prev .arrow { transform: rotate(180deg); }

.about {
  display: grid;
  grid-template-columns: minmax(0, 34.6vw) minmax(0, 38.6vw);
  grid-template-areas: "photo heading" "photo copy";
  justify-content: space-between;
  padding-inline: 4vw 8vw;
  margin-top: clamp(9rem, 21.5vw, 20rem);
}
.about img {
  grid-area: photo;
  align-self: start;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 40% 62%;
}
.about-heading { grid-area: heading; padding-top: 2vw; }
.about h2, .lead { font: 300 clamp(27px, calc(26px + .5vw), 35px)/1.15 var(--heading); }
.about h2 { margin-bottom: 1.15em; }
.about-copy { grid-area: copy; color: var(--muted); margin-top: 2rem; }

.faq { width: 62.3%; margin: var(--section-gap) var(--edge) 0 auto; }
.faq details + details { border-top: 1px solid #e8e8e7; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.65rem;
  font: 300 clamp(21px, calc(20px + .28vw), 25px)/1.15 var(--heading);
  list-style: none;
  cursor: pointer;
}
.faq summary::after { content: "+"; flex: none; width: 1em; text-align: center; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 2rem 1.65rem 0; font-size: 15px; color: var(--muted); }

.portfolio { display: grid; gap: calc(9px + .78vw); padding-top: 2.3vw; }
.cover {
  position: relative;
  display: grid;
  min-height: calc(25px + 29.7vw);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
}
.cover:last-child { margin-top: calc(14px + 1.9vw); }
.cover img, .cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover img { object-fit: cover; object-position: var(--position); }
.cover::after { content: ""; background: linear-gradient(0deg, #15141188, transparent 60%); }
.cover-caption {
  position: relative;
  z-index: 1;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: 0 4vw 44px;
  color: white;
}
.cover-caption h2 { margin: 0; font-size: clamp(2.1rem, calc(32px + 1.073vw), 52px); letter-spacing: -.025em; }
.cover-caption span, .button {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: .55rem 1.45rem;
  font: 400 14px/1.2 var(--heading);
  text-decoration: none;
}
.cover-caption span { flex: none; background: var(--paper); color: var(--ink); }
.cover:hover span { background: #eeedeb; }

.gallery-grid {
  --columns: 3;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
}
.gallery-family { --columns: 4; }
.gallery-grid.masonry { grid-auto-rows: 1px; row-gap: 0; }
.gallery-grid a { display: block; outline-offset: -4px; }
[data-photo] { cursor: zoom-in; }
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 30px 60px;
  border: 0;
  background: white;
  color: var(--ink);
}
.lightbox[open] { display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
body:has(.lightbox[open]) { overflow: hidden; }
.lightbox img { height: 100%; object-fit: contain; transition: opacity .15s; }
.lightbox[data-loading] img { opacity: .45; }
.lightbox[data-loading]::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1.5px solid #40413e33;
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: lightbox-spin .7s linear infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes lightbox-spin { to { transform: rotate(360deg); } }
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  font: 300 1.65rem/1 var(--body);
}
.lightbox-close { top: 10px; right: 10px; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox button:hover { background: #7771; }

.services { padding-top: 2.3vw; }
.process h2 { margin-top: 1.55em; font: inherit; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: 6.36vw;
}
.steps > div { padding-right: 4vw; }
.steps h3 { margin-bottom: 1.1em; }
.steps p { color: var(--muted); font-size: clamp(14px, calc(13.4px + .09vw), 15px); }
.process .event-note {
  width: min(66.3vw, 73rem);
  margin: 5.24vw 0 clamp(7rem, 17vw, 19rem) 15.8vw;
  font: 300 clamp(20px, calc(20px + .28vw), 25px)/1.15 var(--heading);
  text-align: justify;
  letter-spacing: -.02em;
}
.package {
  display: grid;
  grid-template-columns: minmax(0, 51vw) minmax(0, 34.6vw);
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 4vw;
  font-size: clamp(16px, calc(14px + .17vw), 17px);
  color: var(--muted);
}
.package img {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: var(--package-ratio, 443 / 482);
  object-fit: cover;
  object-position: var(--package-position, 52% 71%);
}
.package:first-of-type { --package-ratio: 443 / 519; --package-position: 54% 86%; }
.package-reverse {
  --package-position: 69% 98%;
  margin-bottom: 10vw;
  grid-template-columns: minmax(0, 34.6vw) minmax(0, 51vw);
}
.package-reverse img { grid-column: 1; }
.package div { grid-column: 1; grid-row: 1; padding-top: 3vw; }
.package-reverse div { grid-column: 2; }
.package h2 { color: var(--ink); margin-bottom: .7em; }
.package h2 + p { margin-bottom: clamp(2rem, 5vw, 6rem); }
.package h3 { color: var(--ink); font: inherit; margin-bottom: 0; }
.package ul { padding-left: 1.25rem; margin-block: 0 1.4rem; }

.contact { padding-top: 5.15vw; font-size: clamp(16px, calc(15px + .11vw), 17px); }
.contact-intro, .contact-booking { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.contact-intro section { grid-column: 1 / span 6; }
.contact-intro > div { grid-column: 8 / span 4; display: flex; flex-direction: column; }
.contact-intro > div > p { order: -1; margin-bottom: 4vw; }
.contact h1 { font: inherit; margin-bottom: 4vw; }
.contact address { font-style: normal; margin-bottom: .7rem; }
.contact address p:first-child { margin-bottom: 1.6rem; }
.contact-booking { align-items: start; margin-top: clamp(4rem, 6.25vw, 8rem); }
.contact-booking > a { grid-column: 1 / span 5; }
.contact-booking img { aspect-ratio: 494 / 633; object-fit: cover; object-position: 44% 49.5%; }
.contact form { grid-column: 7 / span 5; display: grid; gap: 10px; margin-top: 11.05vw; font-size: 14px; }
.contact label { display: grid; gap: 7px; }
.contact .button { margin-top: 16px; min-width: 153px; min-height: 47px; padding-inline: .95rem; }
.contact input:not([type=hidden]), .contact textarea {
  width: 100%; height: 41px; padding: .4rem 0; border: 0;
  border-bottom: 1px solid #7e8284; border-radius: 0; background: transparent;
}
.contact textarea { height: 130px; resize: vertical; }
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.button { justify-self: start; border: 1px solid #323130; background: #323130; color: white; }
.button:hover { background: #4a4948; }
.button:disabled { opacity: .65; cursor: wait; }
.form-hint { color: var(--muted); }
.form-hint[data-state="error"] { color: #982d2b; }
.form-error { color: #982d2b; font-size: inherit; }
.form-status { min-width: 0; margin: 0; }
.form-status[data-state] { padding: .7rem .85rem; border-left: 3px solid currentColor; }
.form-status[data-state="success"] { color: #24543b; background: #edf5ee; }
.form-status[data-state="error"] { color: #982d2b; background: #fbefee; }

.not-found { padding-top: clamp(4rem, 9vw, 8rem); max-width: 42rem; }
.not-found p { color: var(--muted); margin-bottom: 2rem; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.not-found-actions a:not(.button) { font: 400 14px/1.2 var(--heading); }

@media (max-width: 56rem) {
  :root { --edge: 5.2vw; --gutter: 1vw; }
  .site-header { grid-template-columns: 1fr auto; min-height: calc(75px + 1.82vw); }
  .wordmark { font-size: 24px; }
  .menu-toggle:not([hidden]) {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .menu-toggle span { position: relative; width: 22px; height: 9px; }
  .menu-toggle span::before, .menu-toggle span::after {
    content: ""; position: absolute; left: 0; width: 100%; border-top: 1px solid;
  }
  .menu-toggle span::before { top: 0; }
  .menu-toggle span::after { bottom: 0; }
  .menu-toggle[aria-expanded="true"] { position: fixed; top: 19px; right: var(--edge); }
  .menu-toggle[aria-expanded="true"] span::before { top: 4px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { top: 4px; bottom: auto; transform: rotate(-45deg); }
  .menu-toggle:not([hidden])[aria-expanded="false"] + .site-nav { display: none; }
  body:has(.menu-toggle[aria-expanded="true"]) { overflow: hidden; }
  .site-nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 1rem; }
  .menu-toggle:not([hidden]) + .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    justify-items: center;
    align-content: safe center;
    gap: 1.9rem;
    overflow: auto;
    padding: 5rem 1rem;
    background: #eee;
    font-size: 20px;
  }
  .portfolio-nav { display: grid; grid-template-columns: auto auto; }
  .portfolio-nav:has(details[open]) { padding-bottom: 10rem; }
  .portfolio-nav .submenu {
    top: 2.5rem; left: 50%; transform: translateX(-50%); justify-items: center;
    padding: 0; background: transparent; font-size: 17px;
  }
  .portfolio { padding-top: 0; }
  .carousel { --slide-height: 55vh; }
  .carousel-home { --slide-height: 39.55vh; --slide-gap: 4.5vw; }
}

@media (max-width: 37.5rem) {
  :root { --edge: 5.1282vw; --gutter: 2.5641vw; }
  .carousel { --slide-height: 30.7vh; --slide-gap: 2.75vw; }
  .carousel-home { --slide-height: 35.9vh; --slide-gap: 8.8vw; margin-top: 46px; }
  .carousel-baptism { margin-top: 25px; }
  .carousel-baptism .carousel-track > * { width: 42vw; }
  .carousel-baptism-secondary { margin-top: 129px; }
  .carousel-controls { inset-inline: 4px; }
  .carousel-controls button { width: 44px; }
  .about {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "photo" "copy";
    padding: 0;
    margin-top: clamp(6rem, 20.4vh, 172px);
  }
  .about-heading { padding: 0; max-width: 87%; }
  .about h2, .lead { font-size: 27px; }
  .about img { width: 61.43%; aspect-ratio: 215 / 259; margin: 35px 0 0 12.86%; }
  .faq { width: calc(100% - 2 * var(--edge)); margin-inline: auto; }
  .site-footer { grid-template-columns: minmax(0, 1fr) auto auto; }
  .portfolio { width: 100%; gap: 12.5px; }
  .cover { min-height: max(350px, 101.28vw); }
  .cover:first-child { min-height: max(382px, 110.51vw); }
  .cover:last-child { margin-top: 26px; }
  .cover-caption { display: grid; grid-template-columns: 1fr 1fr; padding: 0 var(--edge) 39px; }
  .cover-caption h2 { min-width: 0; font-size: clamp(24px, 9.21vw, 36px); }
  .cover:first-child .cover-caption { grid-template-columns: minmax(0, 1fr) auto; }
  .cover:first-child h2 { font-size: clamp(22px, 8vw, 36px); white-space: nowrap; }
  .cover-caption span { justify-self: end; min-height: 47px; padding-inline: 1rem; }
  .gallery-grid { --columns: 2; }
  .lightbox { padding: 45px 0; }
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
  .steps, .contact-intro, .contact-booking, .package { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 2rem; }
  .steps > div { padding-right: 0; }
  .process .event-note { width: auto; margin: 3rem 0 5rem; }
  .package { margin-bottom: 4rem; }
  .package img { grid-area: auto; width: 74.3%; justify-self: center; aspect-ratio: 260 / 360; }
  .package:first-of-type img { aspect-ratio: 260 / 332; }
  .package-reverse img { width: 100%; aspect-ratio: 350 / 259; }
  .package div, .package-reverse div { grid-area: auto; padding-top: 0; }
  .contact { padding-top: 53px; }
  .contact-intro section, .contact-intro > div, .contact-booking > a, .contact form { grid-column: 1; }
  .contact-intro { gap: 34px; }
  .contact-intro > div > p { order: 0; margin: 0; }
  .contact h1 { margin-bottom: .35rem; }
  .contact-intro section p { min-height: 159px; }
  .contact-booking { margin-top: 80px; gap: 45px; }
  .contact-booking img { aspect-ratio: 350 / 365; }
  .contact form { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lightbox[data-loading]::before { animation: none; }
}
