:root {
  --ink: #2c2c2e;
  --muted: #66635d;
  --paper: #f2ede4;
  --white: #ffffff;
  --line: #d8d0c2;
  --charcoal: #2c2c2e;
  --teal: #c5a566;
  --teal-dark: #2c2c2e;
  --ember: #c5a566;
  --sun: #c5a566;
  --soft-green: #f2ede4;
  --shadow: 0 24px 60px rgba(44, 44, 46, 0.16);
  --max: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

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

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: var(--header-height);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 251, 247, 0.94);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-email {
  color: currentColor;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.86;
}

.brand-email:hover {
  opacity: 1;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header .brand-logo {
  grid-area: 1 / 1;
  transition: opacity 180ms ease;
}

.site-header .brand-logo-color {
  opacity: 0;
}

.site-header .brand-logo-clear {
  opacity: 1;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: rgba(20, 20, 20, 0.1);
  background: var(--white);
}

.site-header.is-scrolled .brand-logo-color,
.site-header.is-open .brand-logo-color {
  opacity: 1;
}

.site-header.is-scrolled .brand-logo-clear,
.site-header.is-open .brand-logo-clear {
  opacity: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
}

.site-nav .nav-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.site-nav .nav-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.site-nav .nav-icon-youtube svg,
.footer-icon-youtube svg {
  fill: currentColor;
  stroke: none;
}

.site-nav .nav-icon-youtube svg path + path,
.footer-icon-youtube svg path + path {
  fill: var(--paper);
}

.site-header.is-scrolled .site-nav .nav-icon-youtube svg path + path,
.site-header.is-open .site-nav .nav-icon-youtube svg path + path {
  fill: var(--white);
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: rgba(44, 44, 46, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  place-items: center;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 88svh;
  isolation: isolate;
  color: var(--white);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background: var(--charcoal);
  transform: scale(1.02);
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 54%, rgba(0, 0, 0, 0.03) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-inner {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 64px) 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(64px, 12vw, 148px);
}

h2 {
  max-width: 780px;
  font-size: clamp(36px, 5.2vw, 76px);
}

h3 {
  font-size: 22px;
  line-height: 1.12;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2.1vw, 25px);
  color: rgba(255, 255, 255, 0.9);
}

.hero-byline {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 800;
}

.about-section,
.gallery-section,
.services-section,
.events-section {
  padding: 96px 0;
}

.about-section {
  background: var(--white);
}

.services-section {
  background: var(--white);
}

.gallery-section {
  background: var(--paper);
}

.events-section {
  background: var(--paper);
  padding-bottom: 72px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.about-copy h2 {
  margin-left: auto;
  max-width: 620px;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.04;
  text-align: right;
}

.about-copy p:not(.eyebrow) {
  margin-left: auto;
  max-width: 580px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  text-align: right;
}

.about-copy .eyebrow {
  text-align: right;
}

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

.founder-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.07);
}

.founder-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 0.94;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
}

.section-note {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(20, 20, 20, 0.08);
  transition: transform 180ms ease, opacity 180ms ease;
}

.portfolio-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--charcoal);
  color: inherit;
}

.portfolio-image img {
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-copy {
  flex: 1;
  min-height: 124px;
  padding: 18px;
}

.portfolio-copy span,
.service-index {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--ember);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.service-card:nth-child(2) {
  background: var(--soft-green);
}

.service-card:nth-child(3) {
  background: #fff5df;
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.events-list {
  width: 100%;
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  overflow-x: auto;
  padding: 0 max(20px, calc((100vw - var(--max)) / 2)) 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.event-card {
  position: relative;
  flex: 0 0 clamp(190px, 17vw, 250px);
  height: clamp(300px, 29vw, 390px);
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  scroll-snap-align: start;
  color: var(--white);
  transition: flex-basis 520ms ease, transform 320ms ease;
}

.event-card:hover {
  flex-basis: clamp(360px, 34vw, 520px);
  transform: translateY(-2px);
}

.event-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.instagram-work-card {
  background: var(--white);
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.74)),
    rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.event-card:hover::after,
.event-card:focus-visible::after {
  opacity: 1;
}

.event-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  color: var(--white);
  opacity: 1;
}

.event-caption-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.event-card:hover .event-caption-copy,
.event-card:focus-visible .event-caption-copy {
  opacity: 1;
  transform: translateY(0);
}

.event-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(10px);
}

.event-card:hover .event-play-button,
.event-card:focus-visible .event-play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.event-play-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transform: translateX(-0.5px);
}

.gallery-play-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: none;
}

.instagram-play-button {
  width: 54px;
  height: 54px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.instagram-play-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.instagram-event-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: none;
}

.event-caption h3 {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: clamp(14px, 1.25vw, 18px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.88);
}

.event-caption time {
  color: rgba(255, 255, 255, 0.58);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.event-meta {
  color: rgba(255, 255, 255, 0.58);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.event-video-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.event-video-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox[hidden] {
  display: none;
}

.copy-popup {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 4px));
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.92);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.copy-popup.is-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 8px));
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100svh - 48px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
}

.lightbox-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lightbox-close span:first-child {
  transform: rotate(45deg);
}

.lightbox-close span:last-child {
  transform: rotate(-45deg);
}

.lightbox-panel img {
  max-height: calc(100svh - 180px);
  object-fit: cover;
}

.lightbox-caption {
  padding: 20px;
}

.lightbox-caption h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.lightbox-caption p {
  margin: 0;
  color: var(--muted);
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  padding: calc(var(--header-height) + 34px) 0 28px;
  background: var(--white);
}

.legal-hero .section-shell,
.legal-content .section-shell {
  max-width: 820px;
}

.legal-hero h1 {
  max-width: none;
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.legal-updated {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.legal-content {
  padding: 22px 0 72px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 6px;
}

.legal-content a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content code {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.07);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.lightroom-test-section {
  padding: 22px 0 86px;
  background: var(--white);
}

.lightroom-test-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.lightroom-test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.lightroom-test-card {
  margin: 0;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: var(--paper);
}

.lightroom-test-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.lightroom-test-card figcaption {
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  word-break: break-word;
}

.lightroom-album-list {
  display: grid;
  gap: 12px;
}

.lightroom-album-card {
  padding: 14px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: var(--paper);
}

.lightroom-album-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lightroom-album-card code {
  display: block;
  padding: 8px;
  overflow-x: auto;
  background: rgba(20, 20, 20, 0.08);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.lightroom-album-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.gallery-page-body {
  background: var(--paper);
}

.gallery-page-header {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.gallery-page-brand {
  color: var(--ink);
}

.gallery-back-link {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}

.gallery-back-link:hover {
  color: var(--ember);
}

.work-gallery-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 96px 0;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.work-gallery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 44, 46, 0.26), rgba(44, 44, 46, 0.58));
}

.work-gallery-hero--image-card::after {
  display: none;
}

.work-gallery-hero--image-card {
  min-height: auto;
  padding: 0;
  background: var(--porcelain);
}

.work-gallery-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-gallery-hero--image-card .work-gallery-hero-image {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.work-gallery-hero .section-shell {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.work-gallery-hero h1 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(58px, 12vw, 132px);
  line-height: 0.9;
}

.work-gallery-hero p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 500;
}

.work-gallery-section {
  padding: 20px 0 86px;
}

.gallery-action-section {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(242, 237, 228, 0.92);
  border-bottom: 1px solid rgba(44, 44, 46, 0.1);
  backdrop-filter: blur(14px);
}

.gallery-action-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 500;
}

.gallery-action-meta,
.gallery-action-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-action-meta {
  justify-content: flex-start;
}

.gallery-action-controls {
  justify-content: flex-end;
  margin-left: auto;
}

.gallery-action-meta > span {
  white-space: nowrap;
}

.gallery-action-button {
  margin-left: auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.gallery-pricing-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(44, 44, 46, 0.18);
  border-radius: 999px;
  background: transparent;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 500;
}

.gallery-pricing-button:hover,
.gallery-pricing-button:focus-visible {
  border-color: var(--sun);
  color: var(--charcoal);
}

.gallery-action-button:hover,
.gallery-action-button:focus-visible,
.gallery-action-button.is-active {
  background: var(--sun);
  color: var(--charcoal);
}

.gallery-action-cart {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(44, 44, 46, 0.16);
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
}

.gallery-action-cart svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-action-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sun);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 600;
}

.work-gallery-grid {
  --gallery-gap: 8px;
  --gallery-row-height: clamp(220px, 18vw, 292px);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--gallery-gap);
}

.work-gallery-grid::after {
  content: "";
  flex-grow: 999;
  min-width: 220px;
}

.work-gallery-item {
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  background: var(--line);
}

.work-gallery-item.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.work-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.work-gallery-placeholder {
  position: relative;
  flex-grow: calc(var(--photo-aspect, 1.5) * 100);
  flex-shrink: 1;
  flex-basis: calc(var(--photo-aspect, 1.5) * var(--gallery-row-height));
  width: auto !important;
  height: var(--gallery-row-height) !important;
  display: block;
  place-items: end start;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: rgba(20, 20, 20, 0.54);
  padding: 0;
  margin: 0;
  line-height: 0;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 180ms ease, background 180ms ease;
  outline: 0;
}

.work-gallery-placeholder.is-landscape {
  width: auto !important;
  height: var(--gallery-row-height) !important;
}

.work-gallery-placeholder > img {
  position: static;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.work-gallery-placeholder.has-photo {
  background: transparent;
}

.work-gallery-placeholder.has-photo::before {
  border-color: transparent;
}

.work-gallery-placeholder::before {
  content: none;
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  pointer-events: none;
}

.work-gallery-placeholder::after {
  content: none;
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(44, 44, 46, 0.44));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.work-gallery-placeholder:hover::after,
.work-gallery-placeholder:focus-visible::after {
  opacity: 0;
}

.work-gallery-placeholder:hover,
.work-gallery-placeholder:focus-visible {
  background: transparent;
}

.work-gallery-placeholder.is-selected {
  box-shadow: 0 0 0 3px var(--sun);
  background: transparent;
  color: var(--charcoal);
}

.work-gallery-placeholder.is-selected .work-gallery-selected-mark {
  opacity: 1;
  transform: scale(1);
}

.work-gallery-placeholder .work-gallery-selected-mark {
  position: absolute;
  top: 10px !important;
  right: 10px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 3;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  color: var(--charcoal);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 160ms ease, transform 160ms ease;
}

.work-gallery-selected-mark svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-gallery-placeholder span {
  display: none;
}

.work-gallery-add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 237, 228, 0.72);
  border-radius: 50%;
  background: rgba(44, 44, 46, 0.62);
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, color 180ms ease;
  backdrop-filter: blur(10px);
}

.work-gallery-placeholder:hover .work-gallery-add,
.work-gallery-add:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-gallery-add:hover,
.work-gallery-add:focus-visible {
  background: var(--sun);
  color: var(--charcoal);
}

.work-gallery-add svg {
  position: absolute;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-gallery-remove-icon,
.work-gallery-add.is-added .work-gallery-add-icon {
  display: none;
}

.work-gallery-add.is-added .work-gallery-remove-icon {
  display: block;
}

.gallery-modal[hidden] {
  display: none;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 94;
  pointer-events: none;
}

.cart-drawer.is-visible {
  pointer-events: auto;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 20, 20, 0);
  transition: background 220ms ease;
}

.cart-drawer.is-visible .cart-drawer-backdrop {
  background: rgba(20, 20, 20, 0.34);
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: -24px 0 60px rgba(44, 44, 46, 0.2);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-drawer.is-visible .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(44, 44, 46, 0.1);
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 34px;
}

.cart-drawer-close {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(44, 44, 46, 0.14);
  border-radius: 50%;
  background: transparent;
  color: var(--charcoal);
}

.cart-drawer-close span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.cart-drawer-close span:first-child {
  transform: rotate(45deg);
}

.cart-drawer-close span:last-child {
  transform: rotate(-45deg);
}

.cart-drawer-content {
  position: relative;
  min-height: 0;
  overflow: auto;
  padding: 18px 22px 0;
}

.cart-empty {
  margin: 0;
  color: var(--muted);
}

.cart-price-summary {
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(44, 44, 46, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.cart-price-lines {
  display: grid;
  gap: 10px;
}

.cart-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cart-price-row > div {
  display: grid;
  gap: 2px;
}

.cart-price-row span,
.cart-price-row strong {
  font-size: 13px;
  line-height: 1.35;
}

.cart-price-row span {
  color: var(--muted);
}

.cart-price-row small {
  display: block;
  color: rgba(44, 44, 46, 0.46);
  font-size: 12px;
  line-height: 1.3;
}

.cart-price-row strong {
  color: var(--charcoal);
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.cart-price-row-total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(44, 44, 46, 0.12);
}

.cart-price-row-total span,
.cart-price-row-total strong {
  color: var(--charcoal);
  font-size: 16px;
}

.cart-photo-list {
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
}

.cart-photo-item {
  margin: 0;
}

.cart-photo-frame {
  position: relative;
}

.cart-photo-thumb {
  border: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: var(--cart-photo-aspect, 1.5);
  display: block;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.cart-photo-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cart-photo-remove {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 237, 228, 0.62);
  border-radius: 50%;
  background: rgba(44, 44, 46, 0.68);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.cart-photo-remove:hover,
.cart-photo-remove:focus-visible {
  background: var(--sun);
  color: var(--charcoal);
}

.cart-photo-remove svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-checkout-button {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
}

.cart-checkout-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.cart-checkout-message {
  min-height: 16px;
  margin: 8px 0 0;
  color: #8a3324;
  font-size: 12px;
  line-height: 1.35;
}

.cart-checkout-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 18px -22px 0;
  padding: 16px 22px 22px;
  border-top: 1px solid rgba(44, 44, 46, 0.1);
  background: var(--paper);
  box-shadow: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 20, 20, 0.78);
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-modal.is-cart-preview {
  z-index: 98;
}

.gallery-modal.is-visible {
  opacity: 1;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.gallery-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-modal.is-visible .gallery-modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-modal-close {
  position: fixed;
  top: max(24px, calc(50% - min(980px, calc(100vw - 48px)) * 0.34));
  right: max(24px, calc((100vw - min(980px, calc(100vw - 48px))) / 2 - 68px));
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 237, 228, 0.34);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.24);
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible {
  background: rgba(20, 20, 20, 0.58);
  border-color: rgba(242, 237, 228, 0.74);
}

.gallery-modal-close-line {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: opacity 140ms ease;
}

.gallery-modal-close-line:first-child {
  transform: rotate(45deg);
}

.gallery-modal-close-line:nth-child(2) {
  transform: rotate(-45deg);
}

.gallery-modal-close-check {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 140ms ease, transform 140ms ease;
}

.gallery-modal-preview {
  position: relative;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: end start;
  padding: 22px;
  overflow: hidden;
  background: transparent;
  color: rgba(20, 20, 20, 0.54);
}

.gallery-modal-selected-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sun);
  border-radius: 50%;
  background: var(--sun);
  color: var(--charcoal);
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.gallery-modal-selected-indicator.is-visible {
  opacity: 1;
  transform: scale(1);
}

.gallery-modal-selected-indicator svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-modal-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-modal-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 3px solid var(--sun);
  opacity: 0;
  pointer-events: none;
}

.gallery-modal-preview.is-selected::after {
  opacity: 1;
}

.gallery-modal-preview span {
  display: none;
}

.gallery-modal-preview span.is-swapping {
  opacity: 0.42;
  transform: translateY(3px);
}

.gallery-modal-cart {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(44, 44, 46, 0.12);
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(44, 44, 46, 0.18);
}

.gallery-modal-cart:hover,
.gallery-modal-cart:focus-visible {
  background: var(--sun);
  color: var(--charcoal);
}

.gallery-modal-arrow {
  position: fixed;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--white);
  transform: translateY(-50%);
  opacity: 0.76;
  transition: opacity 160ms ease, transform 160ms ease;
}

.gallery-modal-arrow:hover,
.gallery-modal-arrow:focus-visible {
  opacity: 1;
}

.gallery-modal-arrow-left {
  left: max(18px, calc((100vw - 980px) / 2 - 78px));
}

.gallery-modal-arrow-right {
  right: max(18px, calc((100vw - 980px) / 2 - 78px));
}

.gallery-modal-arrow svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-modal-caption {
  padding: 18px 20px 22px;
}

.gallery-modal-caption h2 {
  margin: 0;
  font-size: 28px;
}

.pricing-modal[hidden] {
  display: none;
}

.pricing-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 20, 20, 0.62);
  opacity: 0;
  transition: opacity 180ms ease;
}

.pricing-modal.is-visible {
  opacity: 1;
}

.pricing-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.pricing-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 28px;
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: var(--shadow);
  transform: translateY(8px) scale(0.99);
  transition: transform 180ms ease;
}

.pricing-modal.is-visible .pricing-modal-panel {
  transform: translateY(0) scale(1);
}

.pricing-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(44, 44, 46, 0.14);
  border-radius: 50%;
  background: transparent;
  color: var(--charcoal);
}

.pricing-modal-close span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.pricing-modal-close span:first-child {
  transform: rotate(45deg);
}

.pricing-modal-close span:last-child {
  transform: rotate(-45deg);
}

.pricing-modal-panel h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 0.95;
}

.pricing-options {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.pricing-options div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(44, 44, 46, 0.12);
}

.pricing-options span,
.pricing-note {
  color: var(--muted);
}

.pricing-options strong {
  color: var(--charcoal);
  font-size: 22px;
  font-weight: 600;
}

.pricing-note {
  margin: 0;
  font-size: 14px;
}

.payment-body {
  min-height: 100vh;
  background: var(--paper);
}

.payment-page {
  width: min(720px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  align-content: center;
  gap: 24px;
}

.payment-brand {
  color: var(--ink);
}

.payment-panel {
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: var(--white);
}

.payment-panel h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(42px, 9vw, 76px);
  line-height: 0.95;
}

.payment-panel p {
  max-width: 560px;
  color: var(--muted);
}

.payment-button,
.payment-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid var(--charcoal);
  background: var(--charcoal);
  color: var(--white);
  font-weight: 800;
}

.payment-button:disabled {
  cursor: progress;
  opacity: 0.64;
}

.payment-message {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 34px 0;
  background: var(--charcoal);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--sun);
}

.footer-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
}

.footer-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

@media (max-width: 960px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    max-width: 460px;
  }

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

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

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand-cluster {
    gap: 12px;
  }

  .brand-email {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    padding: 10px;
    border: 1px solid rgba(20, 20, 20, 0.1);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 2px;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    width: min(100% - 28px, 840px);
    padding: calc(var(--header-height) + 42px) 0 124px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 38px;
  }

  .about-section,
  .gallery-section,
  .services-section,
  .events-section {
    padding: 66px 0;
  }

  .events-section {
    padding-bottom: 56px;
  }

  .section-heading {
    display: grid;
    gap: 18px;
  }

  .portfolio-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .events-list {
    padding-inline: 14px;
  }

  .event-card,
  .event-card:hover {
    flex-basis: min(68vw, 280px);
    height: min(92vw, 380px);
  }

  .work-gallery-grid {
    --gallery-gap: 5px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gallery-gap);
    align-items: start;
  }

  .work-gallery-grid::after {
    display: none;
  }

  .work-gallery-placeholder,
  .work-gallery-placeholder.is-landscape {
    flex: none;
    width: auto !important;
    height: auto !important;
  }

  .work-gallery-placeholder {
    aspect-ratio: 2 / 3;
  }

  .work-gallery-placeholder.is-landscape {
    grid-column: 1 / -1;
    aspect-ratio: 3 / 2;
  }

  .gallery-action-bar {
    min-height: auto;
    padding-block: 12px;
    flex-wrap: wrap;
  }

  .gallery-action-meta,
  .gallery-action-controls {
    flex: 1 1 auto;
  }

  .gallery-action-controls {
    margin-left: 0;
  }

  .work-gallery-item.is-featured {
    grid-column: auto;
    grid-row: auto;
  }

  .event-caption {
    bottom: 24px;
  }

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

@media (max-width: 420px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }
}
