@font-face {
  font-display: swap;
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500;
  src: url("/assets/fonts/caveat-500.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  src: url("/assets/fonts/caveat-600.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/fonts/caveat-700.ttf") format("truetype");
}

:root {
  --warm-white: #fbf9fc;
  --soft-lilac: #d7c5ee;
  --lavender-mist: #ece4f3;
  --soft-grey: #f1eef4;
  --muted-plum: #66507f;
  --gentle-grey: #5f576a;
  --dusty-blush: #f0deea;
  --deep-charcoal: #241f2b;
  --ink-plum: #3c3149;
  --violet-script: #76559b;
  --white: #ffffff;
  --line: rgba(102, 80, 127, 0.16);
  --shadow: 0 16px 38px rgba(69, 50, 86, 0.11);
  --shadow-print: 0 10px 26px rgba(69, 50, 86, 0.14);
  --shadow-print-lift: 0 18px 34px rgba(69, 50, 86, 0.2);
  --print-matte: 1px solid rgba(216, 196, 240, 0.7);
  --font-body: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Caveat", "Comic Sans MS", cursive;
  --content: min(1120px, calc(100% - 40px));
  --radius: 18px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--deep-charcoal);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-image:
    linear-gradient(rgba(241, 238, 244, 0.86), rgba(241, 238, 244, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(215, 197, 238, 0.3), transparent 44%),
    url("/assets/images/background-lilac-paper-texture.jpg");
  background-color: var(--soft-grey);
  background-position: center, top center, center;
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, 100% 760px, 640px auto;
}

body.is-menu-open {
  overflow: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(51, 40, 61, 0.34);
  outline-offset: 4px;
}

.sr-only,
.skip-link {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.skip-link:focus {
  clip: auto;
  height: auto;
  left: 16px;
  padding: 12px 16px;
  top: 16px;
  width: auto;
  z-index: 1000;
  background: var(--deep-charcoal);
  color: var(--warm-white);
  border-radius: 999px;
}

main [id],
section[id] {
  scroll-margin-top: calc(var(--header-height) + 14px);
}

/* ---------- Header ---------- */

.site-header {
  align-items: center;
  background: rgba(241, 238, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  min-height: var(--header-height);
  padding: 14px max(20px, calc((100% - 1120px) / 2));
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  transition: background 240ms ease, border-color 240ms ease;
}

html.js .site-header {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
}

html.js body:not(.is-menu-open) .site-header.is-over-hero {
  backdrop-filter: none;
  background: transparent;
  border-bottom-color: transparent;
}

html.js body:not(.is-menu-open) .site-header.is-over-hero .brand span {
  color: var(--warm-white);
}

html.js body:not(.is-menu-open) .site-header.is-over-hero .brand small {
  color: rgba(251, 249, 252, 0.85);
}

html.js body:not(.is-menu-open) .site-header.is-over-hero .menu-toggle {
  background: rgba(251, 249, 252, 0.24);
  border-color: rgba(251, 249, 252, 0.5);
}

html.js body:not(.is-menu-open) .site-header.is-over-hero .menu-toggle__line,
html.js body:not(.is-menu-open) .site-header.is-over-hero .menu-toggle__line::before,
html.js body:not(.is-menu-open) .site-header.is-over-hero .menu-toggle__line::after {
  background: var(--warm-white);
}

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand span {
  color: var(--violet-script);
  font-family: var(--font-accent);
  font-size: 2.45rem;
  font-weight: 400;
  line-height: 0.9;
  transition: color 240ms ease;
}

.brand small {
  color: var(--gentle-grey);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 240ms ease;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  justify-content: end;
}

.nav a,
.site-footer a {
  color: var(--gentle-grey);
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover,
.nav a.is-active {
  color: var(--muted-plum);
}

/* Hand-drawn underline that inks in left-to-right, echoing the hero flourish. */
.nav a {
  position: relative;
}

.nav a::after {
  background: currentColor;
  bottom: -9px;
  clip-path: inset(0 100% 0 0);
  content: "";
  height: 8px;
  left: -2px;
  -webkit-mask: url("/assets/images/nav-underline.svg") no-repeat center bottom / 100% auto;
  mask: url("/assets/images/nav-underline.svg") no-repeat center bottom / 100% auto;
  opacity: 0;
  position: absolute;
  right: -2px;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  clip-path: inset(0 0 0 0);
  opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
  .nav a::after {
    transition: clip-path 340ms ease, opacity 180ms ease;
  }
}

@media (min-width: 861px) {
  html.js body:not(.is-menu-open) .site-header.is-over-hero .nav a {
    color: rgba(251, 249, 252, 0.92);
  }

  html.js body:not(.is-menu-open) .site-header.is-over-hero .nav a:hover,
  html.js body:not(.is-menu-open) .site-header.is-over-hero .nav a.is-active {
    color: var(--white);
  }
}

/* Over a light hero the default brand colours already read; keep them. */
html.js body:not(.is-menu-open) .site-header.is-over-hero.is-over-light .brand span {
  color: var(--violet-script);
}

html.js body:not(.is-menu-open) .site-header.is-over-hero.is-over-light .brand small {
  color: var(--gentle-grey);
}

html.js body:not(.is-menu-open) .site-header.is-over-hero.is-over-light .menu-toggle {
  background: var(--lavender-mist);
  border-color: rgba(216, 196, 240, 0.9);
}

html.js body:not(.is-menu-open) .site-header.is-over-hero.is-over-light .menu-toggle__line,
html.js body:not(.is-menu-open) .site-header.is-over-hero.is-over-light .menu-toggle__line::before,
html.js body:not(.is-menu-open) .site-header.is-over-hero.is-over-light .menu-toggle__line::after {
  background: var(--muted-plum);
}

@media (min-width: 861px) {
  html.js body:not(.is-menu-open) .site-header.is-over-hero.is-over-light .nav a {
    color: var(--gentle-grey);
  }

  html.js body:not(.is-menu-open) .site-header.is-over-hero.is-over-light .nav a:hover,
  html.js body:not(.is-menu-open) .site-header.is-over-hero.is-over-light .nav a.is-active {
    color: var(--muted-plum);
    text-decoration: none;
  }
}

.menu-toggle {
  display: none;
}

.button {
  align-items: center;
  background: var(--ink-plum);
  border: 1px solid var(--muted-plum);
  border-radius: 999px;
  color: var(--warm-white);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  box-shadow: 0 14px 30px rgba(69, 50, 86, 0.16);
  transform: translateY(-2px);
}

.button--secondary {
  background: var(--warm-white);
  color: var(--muted-plum);
}

.button--small {
  min-height: 44px;
  padding: 10px 18px;
}

/* ---------- Hero ---------- */

.hero {
  align-items: end;
  display: grid;
  height: clamp(560px, 78vh, 820px);
  height: clamp(560px, 78svh, 820px);
  isolation: isolate;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero__media,
.hero__media img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: var(--focal, 72% 30%);
}

@media (max-width: 860px) {
  .hero__media img {
    object-position: var(--focal-mobile, 50% 28%);
  }
}

.hero__scrim {
  background:
    linear-gradient(
      180deg,
      rgba(36, 31, 43, 0.44) 0%,
      rgba(36, 31, 43, 0.1) 24%,
      rgba(36, 31, 43, 0.08) 48%,
      rgba(36, 31, 43, 0.52) 78%,
      rgba(36, 31, 43, 0.78) 100%
    );
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

/* Light-image hero variant: violet script on mist, like Eden's flyer banner. */

.hero--light .hero__scrim {
  background:
    linear-gradient(
      180deg,
      rgba(251, 249, 252, 0.4) 0%,
      rgba(251, 249, 252, 0.06) 26%,
      rgba(251, 249, 252, 0.04) 60%,
      rgba(241, 238, 244, 0.5) 100%
    );
}

.hero--light .hero__copy {
  margin-inline: auto;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
}

.hero--light .hero__copy::before {
  background: radial-gradient(ellipse at center, rgba(251, 249, 252, 0.72) 0%, rgba(251, 249, 252, 0) 68%);
  content: "";
  inset: -48px -70px;
  position: absolute;
  z-index: -1;
}

.hero--light .hero__copy .script-label {
  color: var(--violet-script);
  text-shadow: 0 1px 14px rgba(251, 249, 252, 0.9);
}

.hero--light h1 {
  color: var(--violet-script);
  margin-inline: auto;
  text-shadow: 0 1px 18px rgba(251, 249, 252, 0.9);
}

.hero--light .hero-flourish {
  color: rgba(118, 85, 155, 0.75);
  margin-inline: auto;
}

.hero__bleed {
  bottom: -1px;
  height: clamp(64px, 8vw, 108px);
  left: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.hero__bleed-soft {
  fill: rgba(236, 228, 243, 0.55);
}

.hero__bleed-solid {
  fill: var(--soft-grey);
}

.hero__copy {
  max-width: 1100px;
  padding: 0 max(20px, calc((100% - 1120px) / 2)) clamp(96px, 13vh, 150px);
  position: relative;
  z-index: 3;
}

.hero__copy .script-label {
  color: rgba(251, 249, 252, 0.94);
  text-shadow: 0 2px 16px rgba(36, 31, 43, 0.5);
}

.script-label {
  color: var(--violet-script);
  font-family: var(--font-accent);
  font-size: 2.1rem;
  line-height: 1.1;
  margin: 0 0 12px;
}

.eyebrow,
.card-kicker {
  color: var(--violet-script);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink-plum);
  font-family: var(--font-accent);
  font-weight: 400;
  overflow-wrap: break-word;
}

h1 {
  color: var(--warm-white);
  font-family: var(--font-accent);
  font-size: clamp(3.4rem, 5.8vw, 5.6rem);
  font-weight: 600;
  line-height: 1.04;
  margin-bottom: 10px;
  max-width: 900px;
  text-shadow: 0 3px 26px rgba(36, 31, 43, 0.55);
}

.hero-word {
  display: inline-block;
  position: relative;
}

.hero-word:nth-of-type(2) {
  top: 0.05em;
}

.hero-word:nth-of-type(3) {
  top: -0.03em;
}

.hero-word:nth-of-type(4) {
  top: 0.06em;
}

.hero-word:nth-of-type(5) {
  top: -0.02em;
}

.hero-word:nth-of-type(6) {
  top: 0.04em;
}

.hero-flourish {
  color: rgba(251, 249, 252, 0.9);
  display: block;
  height: auto;
  margin: 2px 0 6px 4px;
  width: min(300px, 52%);
}

h2 {
  color: var(--violet-script);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 18px;
}

h3 {
  color: var(--violet-script);
  font-size: 2.28rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 12px;
}

p,
li {
  color: var(--gentle-grey);
  font-size: 1.05rem;
  line-height: 1.72;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 22px;
  gap: 14px;
}

/* ---------- Hero band (lede relocated from the hero overlay) ---------- */

.hero-band {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 26px 0 6px;
  width: var(--content);
}

.hero__lede {
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 600;
  margin: 0;
  text-align: center;
  max-width: 650px;
}

/* ---------- Sections ---------- */

.section {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 124px) 0;
}

.section--compact {
  padding-top: 34px;
}

.section--mist,
.section--soft {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
}

.section--mist {
  background:
    linear-gradient(rgba(244, 238, 251, 0.82), rgba(244, 238, 251, 0.88)),
    url("/assets/images/background-lilac-paper-texture.jpg");
  background-size: auto, 640px auto;
}

.section--soft {
  background: rgba(248, 245, 250, 0.82);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2 {
  position: relative;
}

.section-heading h2::after {
  background: url("/assets/images/flourish-divider.svg") left center / 240px 16px no-repeat;
  content: "";
  display: block;
  height: 16px;
  margin-top: 16px;
  width: 240px;
}

.section-heading--centred h2::after {
  background-position: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading--centred {
  margin: 0 auto 38px;
  text-align: center;
}

.filter-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gentle-grey);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  text-decoration: none;
}

.filter-button.is-active {
  background: var(--muted-plum);
  color: var(--warm-white);
}

.service-grid,
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- Expectation strip: pinned note ---------- */

.expectation-strip {
  background: var(--white);
  border: var(--print-matte);
  border-radius: 8px;
  box-shadow: var(--shadow-print);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
  padding: 20px 18px;
  position: relative;
  transform: rotate(-0.35deg);
}

.expectation-strip span {
  color: var(--muted-plum);
  font-size: 0.92rem;
  font-weight: 900;
  padding: 2px 6px;
  text-align: center;
}

.service-card,
.pricing-card {
  background: rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  position: relative;
  padding: clamp(24px, 4vw, 38px);
}

.service-card,
.pricing-card,
.about-card,
.design-list article,
.contact-form,
details {
  border: 1px solid rgba(216, 196, 240, 0.7);
  box-shadow: var(--shadow);
}

.card-flourish {
  display: block;
  height: 12px;
  margin-top: 20px;
  margin-bottom: -6px;
  position: relative;
}

.card-flourish::before,
.card-flourish::after {
  background: rgba(134, 100, 173, 0.32);
  content: "";
  height: 1px;
  position: absolute;
  top: 50%;
  width: calc(50% - 18px);
}

.card-flourish::before {
  left: 0;
}

.card-flourish::after {
  right: 0;
}

.service-card a {
  color: var(--muted-plum);
  font-weight: 900;
}

/* ---------- Quote interlude ---------- */

.quote-interlude {
  background: url("/assets/images/capturethis-quote-pier-sunset.jpg") 72% 54% / cover no-repeat;
  max-width: none;
  overflow: hidden;
  padding: clamp(48px, 6vw, 76px) 20px;
  text-align: center;
  width: 100%;
}

.quote-interlude__inner {
  isolation: isolate;
  margin: 0 auto;
  max-width: 760px;
  position: relative;
}

/* Soft plum scrim sized to the quote. Cream text, because a violet-safe lilac wash hid the photo. */
.quote-interlude__inner::before {
  background: radial-gradient(closest-side, rgba(38, 26, 54, 0.64) 0, rgba(38, 26, 54, 0.62) 62%, rgba(38, 26, 54, 0.36) 80%, rgba(38, 26, 54, 0.13) 92%, rgba(38, 26, 54, 0) 100%);
  content: "";
  inset: -90px -190px;
  position: absolute;
  z-index: -1;
}

.quote-mark {
  color: rgba(118, 85, 155, 0.55);
  font-family: var(--font-accent);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 0;
  vertical-align: -0.28em;
}

.quote-interlude .quote-mark {
  color: rgba(255, 248, 239, 0.72);
  display: block;
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: -14px;
}

.quote-script {
  color: var(--violet-script);
  font-family: var(--font-accent);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 14px;
}

.quote-interlude .quote-script {
  color: #fff8ef;
  text-shadow: 0 1px 14px rgba(28, 18, 42, 0.45);
}

.quote-interlude .flourish {
  display: inline-block;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

/* ---------- Split layouts ---------- */

.split-layout {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 70px);
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
}

.split-layout--reverse {
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr);
}

.split-layout--reverse .section-heading {
  order: 2;
}

.photography-layout {
  align-items: start;
}

.photography-photo {
  background: var(--white);
  border: var(--print-matte);
  border-radius: 16px;
  box-shadow: var(--shadow-print);
  margin: 0;
  padding: clamp(8px, 1.4vw, 14px);
}

.photography-photo img {
  border-radius: 10px;
  width: 100%;
}

.design-list {
  display: grid;
  gap: 16px;
}

.design-list article {
  background: var(--white);
  border-radius: 12px;
  padding: 22px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 900;
  margin: 0;
}

/* ---------- Photo carousel ---------- */

.photo-carousel {
  margin: 6px 0 34px;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 18px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(102, 80, 127, 0.35) transparent;
  scrollbar-width: thin;
}

@media (pointer: fine) {
  .carousel-track {
    cursor: grab;
  }
}

/* Snap is paused while dragging so the track follows the mouse, then resumes on release */
.carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.carousel-slide {
  background: var(--white);
  border: var(--print-matte);
  border-radius: 6px;
  box-shadow: var(--shadow-print);
  flex: 0 0 auto;
  margin: 0;
  padding: 8px;
  scroll-snap-align: start;
}

.carousel-slide img {
  border-radius: 3px;
  display: block;
  height: clamp(210px, 30vh, 300px);
  width: auto;
}

.carousel-arrow {
  align-items: center;
  background: var(--ink-plum);
  border: 1px solid var(--muted-plum);
  border-radius: 999px;
  color: var(--warm-white);
  display: inline-flex;
  font-size: 1.1rem;
  height: 44px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
  width: 44px;
  z-index: 3;
}

.carousel-arrow[hidden] {
  display: none;
}

.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow--prev {
  left: -10px;
}

.carousel-arrow--next {
  right: -10px;
}

/* ---------- Gallery: structured showcase (9yards services-grid shape) ---------- */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}

.gallery-grid,
.gallery-row {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

/* Each row: one large square card spanning two columns and two rows, plus a stack of two. */
.gallery-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.gallery-row--large-right .showcase-card {
  grid-column: 1;
}

.gallery-row .showcase-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-row--large-right .showcase-card--large {
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
}

.gallery-card {
  margin: 0;
}

.gallery-card.is-hidden {
  display: none;
}

.showcase-card {
  background: var(--white);
  border: var(--print-matte);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.showcase-card:hover,
.showcase-card:focus-within {
  box-shadow: 8px 8px 0 rgba(215, 197, 238, 0.9);
  transform: translate(-4px, -4px);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: var(--lavender-mist);
  display: block;
  overflow: hidden;
  position: relative;
}

.card-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* The stacked cards' media stretches so both edges line up with the large card, captions included. */
.gallery-row .card-media {
  aspect-ratio: auto;
  flex: 1 1 0;
  min-height: 0;
}

.gallery-row .showcase-card--large .card-media {
  aspect-ratio: 1;
  flex: none;
}

.gallery-row .card-media img {
  inset: 0;
  position: absolute;
}

/* Per-photo crops that keep faces and subjects in frame. */
.gallery-row img.crop-flower-bath { object-position: 50% 45%; }
.gallery-row img.crop-beach-shadows { object-position: 60% 50%; }
.gallery-row img.crop-little-gift { object-position: 100% 50%; }
.gallery-row img.crop-sweet-dreams { object-position: 50% 30%; }
.gallery-row img.crop-fresh-bath { object-position: 50% 10%; }
.gallery-row img.crop-best-mates { object-position: 30% 50%; }
.gallery-row img.crop-family-love { object-position: 50% 0; }
.gallery-row img.crop-pansies { object-position: 50% 92%; }

.showcase-card figcaption,
.carousel-slide figcaption {
  color: var(--muted-plum);
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 12px 16px 14px;
}

/* ---------- Design carousel ---------- */

.photo-carousel--designs {
  margin: clamp(36px, 5vw, 56px) 0 0;
}

/* Whole pieces only: contain keeps very wide work uncropped inside the width cap. */
.photo-carousel--designs .carousel-slide img {
  height: clamp(320px, 56vh, 500px);
  max-width: min(calc(100vw - 72px), 900px);
  object-fit: contain;
}

/* Sized out of the slide's width calculation so captions wrap to the image, not widen the slide. */
.photo-carousel--designs .carousel-slide figcaption {
  min-width: 100%;
  padding: 10px 8px 4px;
  text-align: center;
  width: 0;
}

/* ---------- About ---------- */

.about-section,
.real-moments {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
}

.about-card {
  background: rgba(60, 49, 73, 0.94);
  border-radius: 18px;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  padding: clamp(28px, 6vw, 62px);
}

.about-card h2,
.about-card p {
  color: var(--warm-white);
}

.about-card h2::after {
  content: none;
}

.about-card .eyebrow {
  color: var(--dusty-blush);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* ---------- A note from Eden ---------- */

.real-moments {
  background: var(--dusty-blush);
  overflow: hidden;
  position: relative;
  text-align: center;
}

.real-moments__media,
.real-moments__media img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.real-moments__media img {
  object-fit: cover;
  object-position: 50% 30%;
}

.real-moments__scrim {
  background:
    radial-gradient(ellipse 72% 78% at 50% 52%, rgba(251, 249, 252, 0.88), rgba(251, 249, 252, 0.62) 74%, rgba(244, 238, 251, 0.46)),
    linear-gradient(rgba(244, 238, 251, 0.3), rgba(240, 222, 234, 0.34));
  inset: 0;
  position: absolute;
}

.real-moments__inner {
  margin: 0 auto;
  max-width: 820px;
  position: relative;
}

.real-moments .script-label {
  color: var(--violet-script);
}

.real-moments p:not(.script-label) {
  color: var(--muted-plum);
  font-size: 1.18rem;
}

/* ---------- Kind words (client testimonial) ---------- */

.testimonial-layout {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 66px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.testimonial-script {
  color: var(--violet-script);
  font-family: var(--font-accent);
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  font-weight: 500;
  line-height: 1.28;
  margin: 0 0 20px;
}

.testimonial-script .quote-mark {
  font-size: 1.1em;
}

.testimonial-body {
  border-left: 3px solid rgba(215, 197, 238, 0.9);
  margin: 0 0 18px;
  padding-left: clamp(16px, 2.4vw, 26px);
}

.testimonial-body p {
  font-size: 1.02rem;
}

.testimonial-body p:last-child {
  margin-bottom: 0;
}

.testimonial-attribution {
  color: var(--muted-plum);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.testimonial-photos {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-photos figure {
  margin: 0;
}

.testimonial-photos img {
  aspect-ratio: 4 / 5;
  background: var(--white);
  border: var(--print-matte);
  border-radius: 14px;
  box-shadow: var(--shadow-print);
  object-fit: cover;
  width: 100%;
}

/* margin, not transform: the reveal animation owns this element's transform */
.testimonial-photos figure:nth-child(even) {
  margin-top: clamp(14px, 2.2vw, 30px);
}

.testimonial-layout--second {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  margin-top: clamp(52px, 7vw, 82px);
}

.testimonial-layout--second .testimonial-photos {
  order: -1;
}

/* Photo-less testimonial: centred single column under the two photo layouts */
.testimonial-solo {
  margin: clamp(52px, 7vw, 82px) auto 0;
  max-width: 760px;
}

.testimonial-photos--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-photos--three figure:nth-child(even) {
  margin-top: 0;
}

/* ---------- Pricing / FAQ ---------- */

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card h3 {
  margin-bottom: 6px;
}

.pricing-card p {
  margin: 0;
}

.pricing-card .pricing-from {
  color: var(--violet-script);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 14px;
}

.pricing-from span {
  color: var(--muted-plum);
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.pricing-flex {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(216, 196, 240, 0.7);
  border-radius: var(--radius);
  margin: 28px auto 0;
  max-width: 800px;
  padding: clamp(22px, 4vw, 34px);
  text-align: center;
}

.pricing-flex h3 {
  margin: 0 0 10px;
}

.pricing-flex p {
  margin: 0 0 12px;
}

.pricing-flex p:last-child {
  margin-bottom: 0;
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.centred-action,
.question-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.question-prompt {
  color: var(--violet-script);
  font-family: var(--font-accent);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 760px;
  padding: 8px 14px;
  text-align: center;
  text-decoration-color: rgba(118, 85, 155, 0.34);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.question-prompt:hover,
.question-prompt:focus-visible {
  color: var(--ink-plum);
  text-decoration-color: currentColor;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 860px;
}

details {
  background: var(--white);
  border-radius: 20px;
  padding: 20px 22px;
}

summary {
  color: var(--muted-plum);
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

/* ---------- Contact ---------- */

.contact-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 6vw, 64px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.mailto-fallback a {
  color: var(--muted-plum);
  font-weight: 900;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 36px);
}

.contact-form label {
  color: var(--muted-plum);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid rgba(102, 80, 127, 0.22);
  border-radius: 10px;
  color: var(--deep-charcoal);
  min-height: 50px;
  padding: 12px 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.form-progress {
  display: flex;
  gap: 8px;
  margin: 6px 0 2px;
}

.form-progress span {
  background: var(--lavender-mist);
  border: 1px solid rgba(102, 80, 127, 0.18);
  border-radius: 999px;
  flex: 1;
  height: 9px;
  transform-origin: bottom;
  transition: background 220ms ease;
}

.form-progress span.filled {
  background: var(--soft-lilac);
  border-color: rgba(118, 85, 155, 0.45);
}

.form-turnstile {
  position: absolute;
}

.form-turnstile.is-interactive {
  position: static;
}

.form-status {
  color: var(--muted-plum);
  font-weight: 800;
  margin: 0;
}

.form-flourish {
  color: var(--muted-plum);
  display: none;
  height: auto;
  width: 150px;
}

.contact-form.is-sent .form-flourish {
  display: block;
}

.contact-logo {
  background: var(--white);
  border: var(--print-matte);
  border-radius: var(--radius);
  box-shadow: var(--shadow-print);
  margin: 38px 0 0;
  max-width: 260px;
  padding: 10px;
}

.contact-logo img {
  border-radius: 12px;
  width: 100%;
}

/* ---------- Footer ---------- */

.site-footer {
  align-items: start;
  background: linear-gradient(180deg, var(--lavender-mist), var(--soft-lilac));
  color: var(--ink-plum);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 42px max(20px, calc((100% - 1120px) / 2));
}

.site-footer p {
  color: var(--muted-plum);
  margin: 4px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.site-footer a {
  border: 1px solid rgba(60, 49, 73, 0.28);
  border-radius: 999px;
  color: var(--ink-plum);
  min-height: 42px;
  padding: 9px 14px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  background: var(--ink-plum);
  border-color: var(--ink-plum);
  color: var(--warm-white);
}

.footer-meta {
  grid-column: 1 / -1;
}

.footer-credit {
  font-size: 0.92rem;
}

.footer-credit a {
  border: 0;
  color: var(--muted-plum);
  min-height: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  background: transparent;
  color: var(--ink-plum);
}

/* ---------- Legal pages ---------- */

.legal-page {
  margin: 0 auto;
  max-width: 760px;
  padding: calc(var(--header-height) + 56px) 20px 72px;
}

.legal-page h1 {
  color: var(--violet-script);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 8px;
  text-shadow: none;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin: 36px 0 8px;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  color: var(--muted-plum);
  font-weight: 700;
}

/* ---------- Motion (all gated; static without JS or with reduced motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
  html.js .hero-word {
    opacity: 0;
    transform: translateY(12px);
  }

  html.js.fonts-ready .hero-word {
    animation: word-in 480ms ease forwards;
  }

  html.js.fonts-ready .hero-word:nth-of-type(1) { animation-delay: 0.06s; }
  html.js.fonts-ready .hero-word:nth-of-type(2) { animation-delay: 0.13s; }
  html.js.fonts-ready .hero-word:nth-of-type(3) { animation-delay: 0.2s; }
  html.js.fonts-ready .hero-word:nth-of-type(4) { animation-delay: 0.3s; }
  html.js.fonts-ready .hero-word:nth-of-type(5) { animation-delay: 0.37s; }
  html.js.fonts-ready .hero-word:nth-of-type(6) { animation-delay: 0.44s; }

  @keyframes word-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  html.js .hero-flourish path {
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
  }

  html.js.fonts-ready .hero-flourish path {
    animation: ink-draw 700ms ease 620ms forwards;
  }

  @keyframes ink-draw {
    to {
      stroke-dashoffset: 0;
    }
  }

  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
  }

  html.js [data-reveal].in {
    opacity: 1;
    transform: none;
    transition: opacity 500ms ease, transform 620ms cubic-bezier(0.22, 0.9, 0.35, 1.12);
  }

  html.js [data-reveal].in:hover,
  html.js [data-reveal].in:focus-within {
    transform: translate(-4px, -4px);
  }

  .form-progress span.filled {
    animation: seg-pop 450ms ease;
  }

  @keyframes seg-pop {
    0% {
      transform: scaleY(0.3);
      filter: brightness(1.4);
    }

    60% {
      transform: scaleY(1.25);
      filter: brightness(1.1);
    }

    100% {
      transform: scaleY(1);
      filter: none;
    }
  }

  .contact-form.is-sent .form-progress span {
    animation: seg-shimmer 900ms ease;
  }

  @keyframes seg-shimmer {
    0%,
    100% {
      filter: none;
    }

    50% {
      filter: brightness(1.25);
    }
  }

  .contact-form.is-sent .form-flourish path {
    animation: ink-draw 650ms ease 150ms both;
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .brand span {
    font-size: 1.8rem;
  }

  .script-label {
    font-size: 1.75rem;
  }

  h1 {
    font-size: clamp(2.7rem, 10vw, 3.6rem);
  }

  h2 {
    font-size: 3.35rem;
  }

  h3 {
    font-size: 2rem;
  }

  .hero {
    height: clamp(470px, 74vh, 640px);
    height: clamp(470px, 74svh, 640px);
  }

  .hero__copy {
    padding-bottom: clamp(70px, 11vh, 110px);
  }

  .hero__scrim {
    background:
      linear-gradient(
        180deg,
        rgba(36, 31, 43, 0.5) 0%,
        rgba(36, 31, 43, 0.14) 26%,
        rgba(36, 31, 43, 0.12) 46%,
        rgba(36, 31, 43, 0.56) 74%,
        rgba(36, 31, 43, 0.8) 100%
      );
  }

  .hero__lede {
    font-size: 1.16rem;
  }

  .hero-band {
    padding-top: 22px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    align-items: center;
    background: var(--lavender-mist);
    border: 1px solid rgba(216, 196, 240, 0.9);
    border-radius: 999px;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    transition: background 240ms ease, border-color 240ms ease;
    width: 44px;
  }

  .menu-toggle__line,
  .menu-toggle__line::before,
  .menu-toggle__line::after {
    background: var(--muted-plum);
    border-radius: 999px;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    width: 18px;
  }

  .menu-toggle__line {
    position: relative;
  }

  .menu-toggle__line::before {
    top: -6px;
  }

  .menu-toggle__line::after {
    top: 6px;
  }

  .nav {
    align-items: stretch;
    background: var(--warm-white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 16px 20px 24px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    border-radius: 16px;
    padding: 15px 8px;
  }

  /* No inked underline inside the stacked dropdown; it would overlap the next link. */
  .nav a::after {
    content: none;
  }

  .testimonial-layout,
  .testimonial-layout--second {
    grid-template-columns: 1fr;
  }

  .testimonial-layout--second .testimonial-photos {
    order: 0;
  }

  .header-cta {
    grid-column: 3;
  }

  .split-layout,
  .split-layout--reverse,
  .service-grid,
  .pricing-grid,
  .about-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .expectation-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout--reverse .section-heading {
    order: 0;
  }

  .photography-photo {
    margin: 0 auto;
    max-width: 620px;
  }

  .contact-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .quote-interlude__inner::before {
    background: radial-gradient(closest-side, rgba(38, 26, 54, 0.54) 0, rgba(38, 26, 54, 0.52) 66%, rgba(38, 26, 54, 0.26) 84%, rgba(38, 26, 54, 0) 100%);
    inset: -60px -70px;
  }

  .gallery-grid,
  .gallery-row {
    gap: 16px;
  }

  .gallery-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .gallery-row--large-right .showcase-card {
    grid-column: auto;
  }

  .gallery-row .showcase-card--large,
  .gallery-row--large-right .showcase-card--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-row .card-media {
    aspect-ratio: 1;
    flex: none;
  }

  .showcase-card figcaption,
  .carousel-slide figcaption {
    font-size: 1.2rem;
    padding: 10px 12px;
  }

  .carousel-slide img {
    height: clamp(180px, 26vh, 240px);
  }

  .photo-carousel--designs .carousel-slide img {
    height: clamp(260px, 40vh, 340px);
  }

  .carousel-arrow--prev {
    left: 4px;
  }

  .carousel-arrow--next {
    right: 4px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 560px) {
  :root {
    --content: min(100% - 32px, 1120px);
    --header-height: 74px;
  }

  .brand span {
    font-size: 1.7rem;
  }

  .script-label {
    font-size: 1.55rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12.5vw, 3.1rem);
    line-height: 1.05;
  }

  h2 {
    font-size: 2.7rem;
    line-height: 1.08;
  }

  h3 {
    font-size: 2rem;
  }

  .site-header {
    gap: 12px;
    min-height: 74px;
  }

  .brand small {
    max-width: 170px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    height: clamp(430px, 72vh, 560px);
    height: clamp(430px, 72svh, 560px);
  }

  .hero__copy {
    padding-bottom: clamp(60px, 10vh, 92px);
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .gallery-filters {
    align-items: stretch;
    border-radius: 22px;
    flex-direction: column;
    width: 100%;
  }

  .filter-button {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
