:root {
  --royal-ink: #1e1e21;
  --royal-pink: #fff5f9;
  --royal-copper: #c37747;
  --royal-white: #fff;
  --royal-stone: #e2dfd8;
  --royal-taupe: #898070;
  --royal-grey: #dcdce2;
  --royal-line: rgba(30, 30, 33, .17);
  --royal-line-light: rgba(255, 255, 255, .22);
  --royal-gutter: clamp(24px, 4.4vw, 84px);
  --royal-space: clamp(96px, 10vw, 178px);
  --royal-display: var(--display, "Arial Narrow", "Helvetica Neue", Arial, sans-serif);
  --royal-sans: var(--sans, "Helvetica Neue", Arial, sans-serif);
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h, 76px) + 18px); }
body.royal-wedding-case { margin: 0; overflow-x: hidden; background: var(--royal-pink); color: var(--royal-ink); font-family: var(--royal-sans); font-size: 18px; line-height: 1.5; }
.royal-wedding-case img { display: block; max-width: 100%; }
.royal-wedding-case figure { margin: 0; }
.royal-wedding-case .shell { width: min(100%, 1680px); margin-inline: auto; padding-inline: var(--royal-gutter); }
.royal-wedding-case .case-section { position: relative; padding-block: var(--royal-space); }
.royal-wedding-case .eyebrow { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.royal-wedding-case h1,
.royal-wedding-case h2,
.royal-wedding-case h3 { margin: 0; font-family: var(--royal-display); font-weight: 400; line-height: .88; letter-spacing: -.048em; }
.royal-wedding-case h2 { font-size: clamp(62px, 7.2vw, 138px); }
.royal-wedding-case p { margin: 0; }
.royal-wedding-case figcaption { margin-top: 10px; font-size: 10px; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; }

[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(25px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.section-heading { display: grid; grid-template-columns: minmax(150px, .28fr) 1fr; gap: clamp(36px, 5vw, 90px); align-items: start; }
.section-heading h2 { max-width: 1280px; }

/* Hero */
.royal-hero { position: relative; min-height: calc(100svh - var(--header-h, 76px)); overflow: hidden; isolation: isolate; background: var(--royal-ink); color: var(--royal-pink); }
.royal-hero__media { position: absolute; inset: 0; z-index: -3; }
.royal-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; scale: 1.015; animation: royal-hero-in 1.45s cubic-bezier(.2,.7,.2,1) both; }
.royal-hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(18,18,20,.76), rgba(18,18,20,.16) 54%, rgba(18,18,20,.36)), linear-gradient(0deg, rgba(18,18,20,.82), transparent 42%); }
.royal-hero__top { display: flex; justify-content: space-between; gap: 32px; padding-top: clamp(28px, 3.5vw, 58px); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.royal-hero__top span { color: rgba(255,255,255,.58); }
.royal-hero__title { position: absolute; top: clamp(80px, 11vh, 130px); right: 0; left: 0; }
.royal-hero h1 { max-width: 930px; font-size: clamp(86px, 11.5vw, 210px); line-height: .82; letter-spacing: -.065em; color: var(--royal-pink); text-shadow: 0 2px 36px rgba(0,0,0,.22); }
.royal-hero__bottom { position: absolute; right: 0; bottom: clamp(28px, 5.5vh, 72px); left: 0; }
.royal-hero__lead { max-width: 600px; font-size: clamp(27px, 2.8vw, 52px); line-height: 1.04; letter-spacing: -.04em; }
.royal-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.royal-hero__tags span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-size: 11px; }
.royal-hero__bottom > a { position: absolute; right: var(--royal-gutter); bottom: 0; display: flex; gap: 12px; align-items: center; color: inherit; font-size: 11px; text-decoration: none; }
@keyframes royal-hero-in { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1.015; } }

/* Case index */
.royal-wedding-case .case-index { position: relative !important; top: auto !important; z-index: 4; display: grid; grid-template-columns: repeat(6, 1fr); background: var(--royal-ink); color: var(--royal-white); }
.royal-wedding-case .case-index a { display: flex; min-height: 78px; gap: 18px; align-items: center; padding: 19px clamp(18px, 2.3vw, 42px); border-right: 1px solid var(--royal-line-light); color: inherit; font-size: 12px; text-decoration: none; }
.royal-wedding-case .case-index a:last-child { border-right: 0; }
.royal-wedding-case .case-index a span { color: var(--royal-copper); font-size: 9px; }
.royal-wedding-case .case-index a[aria-current="true"] { background: var(--royal-copper); color: var(--royal-ink); }
.royal-wedding-case .case-index a[aria-current="true"] span { color: var(--royal-ink); }

/* Context */
.context { background: var(--royal-pink); }
.context .eyebrow { color: var(--royal-copper); }
.context__grid { display: grid; grid-template-columns: .55fr 1fr; gap: clamp(56px, 9vw, 160px); margin-top: clamp(86px, 9vw, 154px); }
.context__scope { display: grid; align-content: start; }
.context__scope span { padding: 16px 0; border-top: 1px solid var(--royal-line); font-size: 14px; }
.context__scope span:last-child { border-bottom: 1px solid var(--royal-line); }
.context__copy { max-width: 900px; font-size: clamp(19px, 1.4vw, 24px); line-height: 1.5; }
.context__copy p + p { margin-top: 1.25em; }
.context__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(86px, 10vw, 168px); border-top: 1px solid var(--royal-line); border-left: 1px solid var(--royal-line); }
.context__facts article { min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-right: 1px solid var(--royal-line); border-bottom: 1px solid var(--royal-line); }
.context__facts strong { font-family: var(--royal-display); font-size: clamp(72px, 7vw, 130px); font-weight: 400; line-height: .8; color: var(--royal-copper); }
.context__facts span { max-width: 220px; font-size: 13px; }

/* Identity */
.identity { padding-bottom: 0 !important; overflow: hidden; background: var(--royal-ink); color: var(--royal-white); }
.identity__header { display: grid; grid-template-columns: 1fr minmax(290px, .4fr); gap: clamp(44px, 7vw, 120px); align-items: end; }
.identity__header .eyebrow { grid-column: 1 / -1; color: var(--royal-copper); }
.identity__header p:last-child { max-width: 600px; color: rgba(255,255,255,.7); font-size: 18px; }
.identity__logo { display: grid; grid-template-columns: 1.15fr .5fr; gap: clamp(44px, 7vw, 110px); align-items: center; margin-top: clamp(86px, 10vw, 164px); padding: clamp(48px, 7vw, 112px); background: var(--royal-pink); color: var(--royal-ink); }
.identity__logo img { width: min(80%, 672px); height: auto; justify-self: center; }
.identity__logo p { max-width: 510px; font-size: clamp(17px, 1.4vw, 23px); }
.identity__parts { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(68px, 8vw, 130px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--royal-line-light); border-left: 1px solid var(--royal-line-light); }
.identity__parts li { min-height: 230px; display: flex; flex-direction: column; padding: 22px; border-right: 1px solid var(--royal-line-light); border-bottom: 1px solid var(--royal-line-light); }
.identity__parts span { color: var(--royal-copper); font-size: 10px; }
.identity__parts strong { margin-top: auto; font-family: var(--royal-display); font-size: clamp(40px, 4vw, 72px); font-weight: 400; line-height: .9; }
.identity__parts small { max-width: 320px; margin-top: 18px; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.45; }
.identity__image { width: 100vw; margin-top: clamp(86px, 10vw, 170px) !important; background: var(--royal-ink); }
.identity__image img { width: 100%; height: auto; }
.identity__image figcaption { padding: 0 var(--royal-gutter) 18px; color: rgba(255,255,255,.56); }

/* Slogan */
.slogan { padding-bottom: 0 !important; overflow: hidden; background: var(--royal-copper); color: var(--royal-ink); }
.slogan__grid { display: grid; grid-template-columns: 1.15fr .55fr; gap: clamp(56px, 8vw, 135px); align-items: end; }
.slogan h2 { margin-top: 44px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(90px, 11.8vw, 218px); font-style: italic; line-height: .78; letter-spacing: -.065em; }
.slogan__copy { padding-bottom: 10px; }
.slogan__lead { font-size: clamp(24px, 2.25vw, 40px); line-height: 1.2; letter-spacing: -.03em; }
.slogan__copy p + p { margin-top: 40px; font-size: 18px; }
.slogan__image { width: 100vw; margin-top: clamp(90px, 10vw, 170px) !important; background: var(--royal-ink); }
.slogan__image img { width: 100%; height: auto; }
.slogan__image figcaption { padding: 0 var(--royal-gutter) 18px; color: rgba(255,255,255,.6); }

/* Applications */
.applications { overflow: hidden; background: var(--royal-stone); }
.applications__header { display: grid; grid-template-columns: 1fr minmax(300px, .4fr); gap: clamp(48px, 8vw, 128px); align-items: end; }
.applications__header .eyebrow { grid-column: 1 / -1; color: var(--royal-copper); }
.applications__header p:last-child { max-width: 620px; font-size: 18px; }
.applications__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; align-items: start; margin-top: clamp(88px, 10vw, 168px); }
.applications__grid figure { min-width: 0; }
.applications__grid img { width: 100%; height: 100%; aspect-ratio: 1.5; object-fit: cover; }
.applications__grid figcaption { color: rgba(30,30,33,.55); }
.applications__grid > figure:nth-child(1) { grid-column: 1 / span 8; }
.applications__grid > figure:nth-child(2) { grid-column: 9 / -1; margin-top: 8vw; }
.applications__grid > figure:nth-child(2) img { aspect-ratio: .82; }
.applications__grid > figure:nth-child(3) { grid-column: 1 / span 5; margin-top: 4vw; }
.applications__grid > figure:nth-child(3) img { aspect-ratio: 1; }
.applications__grid > figure:nth-child(4) { grid-column: 6 / -1; margin-top: 11vw; }
.applications__grid > figure:nth-child(5) { grid-column: 1 / span 7; margin-top: 3vw; }
.applications__grid > figure:nth-child(6) { grid-column: 8 / -1; margin-top: 8vw; }
.applications__grid > figure:nth-child(6) img { aspect-ratio: .95; }
.applications__grid > figure:nth-child(7) { grid-column: 2 / span 10; margin-top: 8vw; }

/* Digital */
.digital { overflow: hidden; background: var(--royal-ink); color: var(--royal-white); }
.digital__header { display: grid; grid-template-columns: 1fr minmax(300px, .4fr); gap: clamp(48px, 8vw, 128px); align-items: end; }
.digital__header .eyebrow { grid-column: 1 / -1; color: var(--royal-copper); }
.digital__header p:last-child { max-width: 620px; color: rgba(255,255,255,.7); font-size: 18px; }
.digital__site { margin-top: clamp(86px, 10vw, 168px) !important; }
.digital__site img { width: 100%; height: auto; }
.digital figcaption { color: rgba(255,255,255,.56); }
.digital__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin-top: clamp(64px, 7vw, 110px); }
.digital__pair figure:nth-child(2) { margin-top: 11vw; }
.digital__pair img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }

/* Photography */
.photography { overflow: hidden; background: var(--royal-pink); }
.photography__header { display: grid; grid-template-columns: 1fr minmax(300px, .4fr); gap: clamp(48px, 8vw, 128px); align-items: end; }
.photography__header .eyebrow { grid-column: 1 / -1; color: var(--royal-copper); }
.photography__header p:last-child { max-width: 620px; font-size: 18px; }
.photo-rail { display: flex; gap: 22px; width: 100vw; margin-top: clamp(86px, 10vw, 166px); padding: 0 var(--royal-gutter) 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; cursor: grab; touch-action: pan-y; }
.photo-rail::-webkit-scrollbar { display: none; }
.photo-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.photo-rail figure { flex: 0 0 min(68vw, 1160px); scroll-snap-align: center; }
.photo-rail img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.photo-rail figcaption { color: rgba(30,30,33,.53); }
.photography__controls { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; color: rgba(30,30,33,.62); }
.photography__controls p { font-family: var(--royal-display); font-size: 42px; }
.photography__controls div { display: flex; gap: 8px; }
.photography__controls button { width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }

/* Result */
.result { background: var(--royal-white); }
.result .eyebrow { color: var(--royal-copper); }
.result__grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(58px, 10vw, 170px); margin-top: clamp(84px, 10vw, 162px); }
.result__grid > div { max-width: 830px; font-size: clamp(23px, 2.05vw, 36px); line-height: 1.32; letter-spacing: -.025em; }
.result__grid > div p + p { margin-top: 1.2em; }
.result__grid ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--royal-line); }
.result__grid li { padding: 18px 0; border-bottom: 1px solid var(--royal-line); font-size: 14px; }

/* Related and contact */
.related { background: var(--royal-ink); color: var(--royal-white); }
.related__grid { display: grid; grid-template-columns: .68fr 1fr; gap: clamp(50px, 8vw, 128px); align-items: center; }
.related .eyebrow { color: var(--royal-copper); }
.related h2 { margin-top: 36px; color: var(--royal-copper); }
.related__grid > div > p:not(.eyebrow) { max-width: 560px; margin-top: 34px; color: rgba(255,255,255,.68); }
.related__link { display: inline-block; margin-top: 36px; color: inherit; font-size: 13px; text-decoration: none; }
.related__card { position: relative; overflow: hidden; color: inherit; text-decoration: none; }
.related__card img { width: 100%; aspect-ratio: 1.4; object-fit: cover; transition: transform .5s ease; }
.related__card span { position: absolute; right: 18px; bottom: 18px; padding: 9px 12px; background: rgba(30,30,33,.86); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.related__card:hover img { transform: scale(1.025); }
.royal-wedding-case .contact { --text-gradient: linear-gradient(105deg, var(--royal-copper), var(--royal-pink), var(--royal-grey)); background: radial-gradient(circle at 90% 7%, rgba(195,119,71,.18), transparent 32%), var(--royal-ink); }
.royal-wedding-case .contact .eyebrow { color: var(--royal-copper); }
.royal-wedding-case .contact .button { background: var(--royal-copper); color: var(--royal-ink); }
.royal-wedding-case .contact__inner { min-height: 82svh; display: grid; grid-template-columns: minmax(160px,.25fr) 1fr; grid-template-rows: auto 1fr; gap: 50px; align-items: start; padding-top: var(--royal-space); padding-bottom: var(--royal-space); }
.royal-wedding-case .contact__inner h2 { max-width: 1240px; color: var(--royal-pink); }
.royal-wedding-case .contact__inner > div { grid-column: 2; display: flex; gap: 24px; align-items: center; align-self: end; }
.royal-wedding-case .contact__inner > div p { max-width: 560px; color: rgba(255,255,255,.66); }
.royal-wedding-case .contact__inner a:not(.button) { color: var(--royal-white); white-space: nowrap; }
.royal-wedding-case .site-footer { border-top-color: rgba(255,255,255,.18); }

html.is-static .royal-wedding-case *,
html.is-static .royal-wedding-case *::before,
html.is-static .royal-wedding-case *::after { animation: none !important; transition: none !important; }
html.is-static .royal-wedding-case [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (max-width: 1120px) {
  .royal-wedding-case .case-index { grid-template-columns: repeat(3, 1fr); }
  .royal-wedding-case .case-index a:nth-child(-n+3) { border-bottom: 1px solid var(--royal-line-light); }
  .royal-wedding-case .case-index a:nth-child(3n) { border-right: 0; }
  .identity__logo { grid-template-columns: 1fr; }
  .identity__logo p { max-width: 760px; }
}

@media (max-width: 767px) {
  body.royal-wedding-case { font-size: 16px; }
  .royal-wedding-case .case-section { padding-block: 86px; }
  .royal-wedding-case h2 { font-size: clamp(50px, 14.2vw, 78px); line-height: .91; }
  .section-heading,
  .identity__header,
  .applications__header,
  .digital__header,
  .photography__header { display: block; }
  .section-heading h2,
  .identity__header h2,
  .applications__header h2,
  .digital__header h2,
  .photography__header h2 { margin-top: 28px; }
  .identity__header p:last-child,
  .applications__header p:last-child,
  .digital__header p:last-child,
  .photography__header p:last-child { margin-top: 34px; font-size: 16px; }

  .royal-hero { min-height: max(720px, calc(100svh - var(--header-h, 76px))); }
  .royal-hero__media img { object-position: 57% center; }
  .royal-hero__shade { background: linear-gradient(180deg, rgba(18,18,20,.63), rgba(18,18,20,.12) 48%, rgba(18,18,20,.88) 76%), linear-gradient(90deg, rgba(18,18,20,.5), transparent 75%); }
  .royal-hero__top { padding-top: 24px; font-size: 8px; }
  .royal-hero__top p { max-width: 210px; }
  .royal-hero__title { top: 92px; }
  .royal-hero h1 { font-size: min(21vw, 104px); line-height: .84; }
  .royal-hero__bottom { bottom: 30px; }
  .royal-hero__lead { max-width: 330px; font-size: 31px; }
  .royal-hero__bottom > a { position: static; margin-top: 24px; }
  .royal-hero__tags { max-width: 340px; }

  .royal-wedding-case .case-index { grid-template-columns: repeat(2, 1fr); }
  .royal-wedding-case .case-index a { min-height: 66px; padding: 16px 14px; font-size: 10px; }
  .royal-wedding-case .case-index a:nth-child(3n) { border-right: 1px solid var(--royal-line-light); }
  .royal-wedding-case .case-index a:nth-child(2n) { border-right: 0; }
  .royal-wedding-case .case-index a:nth-child(-n+4) { border-bottom: 1px solid var(--royal-line-light); }

  .context__grid { grid-template-columns: 1fr; gap: 58px; margin-top: 64px; }
  .context__copy { font-size: 18px; }
  .context__facts { grid-template-columns: 1fr; margin-top: 76px; }
  .context__facts article { min-height: 175px; padding: 17px; }
  .context__facts strong { font-size: 68px; }

  .identity__logo { margin-top: 68px; padding: 42px 24px; }
  .identity__logo img { width: 80%; }
  .identity__logo p { margin-top: 10px; font-size: 16px; }
  .identity__parts { grid-template-columns: 1fr; margin-top: 58px; }
  .identity__parts li { min-height: 190px; }
  .identity__image { margin-top: 70px !important; overflow: hidden; }
  .identity__image img { width: 150%; max-width: none; transform: translateX(-26%); }

  .slogan__grid { grid-template-columns: 1fr; gap: 62px; }
  .slogan h2 { font-size: 23vw; }
  .slogan__copy p + p { margin-top: 30px; font-size: 16px; }
  .slogan__image { margin-top: 70px !important; overflow: hidden; }
  .slogan__image img { width: 150%; max-width: none; transform: translateX(-30%); }

  .applications__grid { display: block; margin-top: 70px; }
  .applications__grid figure + figure { margin-top: 56px !important; }
  .applications__grid img { aspect-ratio: 4 / 3 !important; object-fit: cover; }

  .digital__site { margin-top: 70px !important; overflow: hidden; }
  .digital__site img { width: 150%; max-width: none; transform: translateX(-25%); }
  .digital__pair { grid-template-columns: 1fr; gap: 54px; margin-top: 62px; }
  .digital__pair figure:nth-child(2) { margin-top: 0; }

  .photo-rail { gap: 14px; margin-top: 70px; padding-inline: 24px; }
  .photo-rail figure { flex-basis: 88vw; }
  .photo-rail img { aspect-ratio: 4 / 3; }
  .photography__controls p { font-size: 34px; }

  .result__grid { grid-template-columns: 1fr; gap: 68px; margin-top: 68px; }
  .result__grid > div { font-size: 23px; }
  .related__grid { grid-template-columns: 1fr; gap: 62px; }
  .related h2 { font-size: 21vw; }
  .related__card span { right: 10px; bottom: 10px; max-width: calc(100% - 20px); }
  .royal-wedding-case .contact__inner { min-width: 0; grid-template-columns: 1fr; gap: 44px; }
  .royal-wedding-case .contact__inner > div { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .royal-wedding-case .contact__inner h2 { font-size: clamp(52px, 15vw, 78px); }
}

@media (hover: none), (pointer: coarse) {
  .related__card img { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .royal-wedding-case *,
  .royal-wedding-case *::before,
  .royal-wedding-case *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .royal-wedding-case [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media print {
  body.royal-wedding-case { padding-top: 0; background: #fff; color: #000; }
  .royal-wedding-case .site-header,
  .royal-wedding-case .mobile-menu,
  .royal-wedding-case .case-index,
  .royal-wedding-case .contact,
  .photography__controls { display: none !important; }
  .royal-hero,
  .identity,
  .digital,
  .related { background: #fff !important; color: #000 !important; }
  .royal-hero { min-height: 720px; }
  .js .royal-wedding-case [data-reveal] { opacity: 1 !important; transform: none !important; }
  .photo-rail { overflow: visible; flex-wrap: wrap; }
}
