html {
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  font-family: 'Lato', 'Helvetica', 'Verdana', sans-serif;
  font-size: 15px;
  background: #050505;
  color: #f5f5f5;
  padding-top: var(--brand-height);
  --theme-wipe-color: #f7f7f4;
  isolation: isolate;
}

body,
button,
input,
textarea,
select,
a {
  font-family: 'Lato', 'Helvetica', 'Verdana', sans-serif;
}

:root {
  --brand-height: 128px;
  --gallery-width: 980px;
  --contact-banner-height: 52px;
  --menu-bg: #0f0f0f;
  --content-bg: #121212;
  --menu-border: #252525;
  --soft-text: #c4c4c4;
  --transition-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-light-theme {
  --menu-bg: #ffffff;
  --content-bg: #f3f3ef;
  --menu-border: #c9c9c0;
  --soft-text: #3c3c3c;
  background: #f3f3ef;
  color: #0d0d0d;
}

body.is-theme-wiping::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: var(--theme-wipe-color);
  clip-path: circle(0 at 48px calc(100% - 48px));
  animation: theme-wipe 1200ms var(--transition-ease) both;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 38%, rgba(0,0,0,0.58) 100%);
}

body.is-light-theme::after,
body.zoom-overlay-open::after,
body.zoom-overlay-transitioning::after {
  display: none;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 1200ms;
  animation-timing-function: var(--transition-ease);
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation: none;
}

::view-transition-new(root) {
  animation-name: theme-view-wipe;
}

.brand-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--brand-height);
  background: #000000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
  box-sizing: border-box;
}

.brand-home {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  transition: transform 180ms var(--transition-ease);
}

.brand-home:hover,
.brand-home:focus-visible {
  transform: scale(1.06);
}

body.is-light-theme .brand-bar {
  background: #ffffff;
}

.theme-toggle {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms ease, transform 180ms var(--transition-ease);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: #ffffff;
  transform: scale(1.16);
}

.theme-toggle:focus-visible {
  outline: 2px solid #8fd3ff;
  outline-offset: 3px;
}

.theme-toggle__icon {
  display: block;
  color: currentColor;
  font-size: 32px;
  line-height: 1;
}

body.is-light-theme .theme-toggle {
  background: transparent;
  color: #000000;
}

body.is-light-theme .theme-toggle:hover,
body.is-light-theme .theme-toggle:focus-visible {
  color: #000000;
}

body.is-light-theme .menu-toggle {
  background: rgba(0,0,0,0.06);
  color: #151515;
}

body.is-light-theme .site-nav {
  box-shadow: none;
}


.site-logo-frame {
  width: min(260px, calc(100vw - 48px));
  height: 58px;
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transition: transform 620ms var(--transition-ease);
}

.site-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.site-logo--video {
  transform: translate(-50%, -50%) rotateY(180deg);
}

.site-logo--photo-light {
  opacity: 0;
}

body.is-light-theme .site-logo--photo {
  opacity: 0;
}

body.is-light-theme .site-logo--photo-light {
  opacity: 1;
}

body.is-video-gallery .site-logo-frame {
  transform: rotateY(180deg);
}

#container {
  position: relative;
  margin: 0;
  min-height: calc(100vh - var(--brand-height));
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  padding: 0;
}

.site-menu {
  position: fixed;
  top: calc(var(--brand-height) - 36px);
  left: 0;
  right: 0;
  bottom: auto;
  width: auto;
  height: 36px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 41;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-sizing: border-box;
  box-shadow: none;
  animation: menu-panel-in 1600ms var(--transition-ease) both;
}

.site-menu::before {
  display: none;
}

body.has-contact-banner {
  padding-top: var(--contact-banner-height);
}

.contact-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--contact-banner-height);
  background: rgba(0,0,0,0.85);
  color: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.contact-banner__inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-banner__link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.contact-banner__link .fa {
  margin-right: 8px;
}

.contact-banner__close {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.9);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
}

.menu-toggle {
  display: none;
}

.site-nav {
  display: flex;
  flex-direction: row;
  gap: 12px;
  box-sizing: border-box;
}

.nav-button {
  width: auto;
  min-width: 115px;
  min-height: 34px;
  position: relative;
  padding: 0 16px;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  color: #bfbfbf;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

body.is-theme-transitioning .nav-button {
  transition: none;
}

.nav-button::before {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 3px;
  height: 1px;
  background: transparent;
  transition: background 180ms ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

.brand-home:focus-visible,
.nav-button:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid #8fd3ff;
  outline-offset: 3px;
}

.nav-button.is-active {
  background: var(--content-bg);
  color: #ffffff;
}

.nav-button.is-active:hover,
.nav-button.is-active:focus-visible {
  background: var(--content-bg);
}

.nav-button.is-active::before {
  background: #ffffff;
}

.content-shell {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  min-height: calc(100vh - var(--brand-height));
  max-width: none;
  margin-left: 0;
  padding: 34px 48px 56px;
  background: var(--content-bg);
  box-sizing: border-box;
  animation: content-panel-in 2200ms ease 140ms backwards;
}

body.zoom-overlay-open .content-shell,
body.zoom-overlay-transitioning .content-shell {
  z-index: auto;
}

body.is-gallery-view .content-shell {
  min-height: auto;
  padding-bottom: 0;
}

body.is-video-gallery .content-shell {
  min-height: calc(100vh - var(--brand-height));
  padding-bottom: 56px;
}

body.is-gallery-mode-switching .content-shell {
  min-height: calc(100vh - var(--brand-height));
  padding-bottom: 56px;
}

.content-panel {
  width: 100%;
  max-width: var(--gallery-width);
  margin: 0 auto;
  position: relative;
  opacity: 1;
  transition: opacity 260ms ease;
}

.content-panel:focus {
  outline: none;
}

.content-shell.is-fading .content-panel.is-active {
  opacity: 0;
}

.content-panel[hidden] {
  display: none;
}

.info-panel {
  min-height: calc(100vh - var(--brand-height) - 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  padding: 56px 0;
  margin: 0 auto;
  box-sizing: border-box;
  font-size: 20px;
  line-height: 1.85;
  text-align: center;
}

.info-card {
  width: 100%;
  padding: 54px;
  background: #050505;
  border: 1px solid rgba(255,255,255,0.075);
  box-sizing: border-box;
  box-shadow: 0 22px 60px rgba(0,0,0,0.22);
}

.about-card {
  position: relative;
  max-width: 800px;
  padding: 36px 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-card::before {
  display: none;
}

.contact-card {
  max-width: 680px;
}

#contact-title {
  font-size: 72px;
  line-height: 0.92;
}

.info-panel h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  padding-bottom: 22px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 900;
}

.info-panel h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 1px;
  background: rgba(255,255,255,0.22);
  transform: translateX(-50%);
}

.info-panel p {
  margin-bottom: 18px;
}

.info-copy {
  width: 100%;
  max-width: 760px;
}

.about-hero {
  width: 100%;
  max-width: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 26px;
  text-align: left;
}

.about-heading {
  max-width: 500px;
  min-width: 0;
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading .info-kicker {
  margin: 0 0 10px;
  font-size: 14px;
}

.about-heading h1 {
  margin: 0;
  padding-bottom: 0;
  font-size: 72px;
  line-height: 0.92;
}

.about-heading h1::after {
  display: none;
}

.about-icon {
  width: 118px;
  height: 118px;
  display: block;
  object-fit: contain;
  flex: 0 0 118px;
}

.location-chip,
.location-chip:visited,
.location-chip:link {
  min-height: 42px;
  margin: 16px auto 0;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #050505;
  border: 1px solid rgba(255,255,255,0.08);
  box-sizing: border-box;
  color: #f2f2f2;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.location-chip:hover,
.location-chip:focus-visible {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.location-chip:focus-visible {
  outline: 2px solid #8fd3ff;
  outline-offset: 3px;
}

.about-body {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-sizing: border-box;
  color: #bdbdbd;
  font-size: 17px;
  line-height: 1.66;
  text-align: center;
}

.about-body p {
  margin-bottom: 8px;
}

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

.info-kicker {
  margin-bottom: 12px;
  color: #9d9d9d;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-copy {
  max-width: 560px;
}

.contact-intro {
  color: #cfcfcf;
}

.about__light {
  color: #f2d675;
}

.about__colour {
  color: #8fd3ff;
}

.about-details {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}

.about-details div {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 12px;
  background: transparent;
  box-sizing: border-box;
}

.about-details div:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,0.08);
}

.about-details span {
  color: #9d9d9d;
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-details strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.contacts-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  justify-content: center;
  margin-top: 28px;
  padding-bottom: 0;
  max-width: 560px;
  background: rgba(255,255,255,0.08);
  gap: 1px;
  width: 100%;
  overflow: hidden;
  text-align: left;
  font-size: 18px;
}

.contacts-bar::after {
  display: none;
}

.contacts-bar__link {
  color: #e8e8e8;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  font-weight: 400;
  white-space: normal;
}

.contacts-bar__link:hover {
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

.contacts-bar #instagram {
  margin-top: 0;
}

.contact-method {
  min-height: 76px;
  padding: 0 22px;
  background: #0b0b0b;
  box-sizing: border-box;
}

.contact-method__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  background: rgba(255,255,255,0.075);
  color: #ffffff;
}

.contact-method__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-method__label {
  color: #9d9d9d;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-method__value {
  color: inherit;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.instagram-callout,
.instagram-callout:visited,
.instagram-callout:link {
  width: auto;
  min-height: 46px;
  margin-top: 34px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.075);
  box-sizing: border-box;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.instagram-callout:hover,
.instagram-callout:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}

.instagram-callout:focus-visible {
  outline: 2px solid #8fd3ff;
  outline-offset: 3px;
}

.instagram-callout__icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  background: transparent;
  color: #ffffff;
  font-size: 17px;
}

.instagram-callout__text {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  flex: 0 1 auto;
}

.instagram-callout__label {
  color: #9f9f9f;
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.instagram-callout__handle {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.instagram-callout__arrow {
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  line-height: 1;
}

#gallery {
  width: 100%;
  margin: 0;
  min-width: 0;
  transition: opacity 260ms ease, transform 260ms var(--transition-ease), filter 260ms ease;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.gallery-stage {
  width: 100%;
}

#gallery.is-filtering-out {
  opacity: 0;
  filter: blur(4px);
  pointer-events: none;
  transform: translateY(12px);
  will-change: opacity, transform, filter;
}

#gallery.is-filtering-in {
  animation: gallery-filter-in 560ms var(--transition-ease) both;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

#gallery.is-mode-flipping-out {
  pointer-events: none;
  will-change: opacity, transform;
}

#gallery.is-mode-flipping-in {
  pointer-events: none;
  will-change: opacity, transform;
}

#gallery.is-flipping-to-video.is-mode-flipping-out {
  animation: gallery-flip-to-video-out 155ms ease-in both;
}

#gallery.is-flipping-to-video.is-mode-flipping-in {
  animation: gallery-flip-to-video-in 155ms var(--transition-ease) both;
}

#gallery.is-flipping-to-photo.is-mode-flipping-out {
  animation: gallery-flip-to-photo-out 155ms ease-in both;
}

#gallery.is-flipping-to-photo.is-mode-flipping-in {
  animation: gallery-flip-to-photo-in 155ms var(--transition-ease) both;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 36px;
  padding: 8px;
  background: rgba(5,5,5,0.72);
  border: 1px solid rgba(255,255,255,0.07);
  box-sizing: border-box;
  box-shadow: 0 14px 32px rgba(0,0,0,0.26);
  opacity: 0;
}

.gallery-filter.is-ready {
  animation: content-panel-in 700ms ease 80ms forwards;
}

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

.gallery-filter__button {
  min-width: 96px;
  min-height: 34px;
  position: relative;
  padding: 0 16px;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  color: #bfbfbf;
  cursor: pointer;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.gallery-filter__button::before {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: transparent;
  transition: background 180ms ease;
}

.gallery-filter__button:disabled {
  cursor: default;
}

.gallery-filter__button:disabled:not(.is-active) {
  opacity: 0.74;
}

.gallery-filter__button:hover,
.gallery-filter__button:focus-visible,
.gallery-filter__button.is-active {
  background: rgba(255,255,255,0.07);
  color: #ffffff;
}

.gallery-filter__button.is-active::before {
  background: #ffffff;
}

.gallery-filter__button:focus-visible {
  outline: 2px solid #8fd3ff;
  outline-offset: 3px;
}

#gallery section {
  margin-bottom: 64px;
}

.gallery-section {
  margin-bottom: 64px;
}

.gallery-section:not(:last-child)::after {
  display: none;
}

.gallery-section:last-child {
  margin-bottom: 0;
}

#gallery section img {
  vertical-align: middle;
  opacity: 0;
  transition: 0.5s opacity;
  border: 1px solid rgba(0,0,0,.05);
  box-sizing: border-box;
  filter: blur(2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}

#gallery section img.img-loaded {
  opacity: 1;
  filter: blur(0px);
}

.video-gallery-placeholder {
  min-height: min(520px, calc(100vh - var(--brand-height) - 110px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.075);
  background: #090909;
  box-sizing: border-box;
  color: #d4bd66;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.video-gallery-placeholder p {
  margin: 0;
}

.video-gallery-placeholder p + p {
  color: #cfcfcf;
  font-size: 13px;
  letter-spacing: 0.16em;
}

.links__icon:not(.contact-method),
.links__icon:not(.contact-method):visited,
.links__icon:not(.contact-method):link {
  color: var(--soft-text);
  text-decoration: none;
  transition: 0.2s color;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  line-height: 24px;
}

.links__icon:not(.contact-method):hover {
  color: #bdbdbd;
}

.view-ig {
  font-weight: 500;
  letter-spacing: 0;
  line-height: 18px;
}

body.is-light-theme .nav-button {
  color: #393939;
}

body.is-light-theme .nav-button:hover,
body.is-light-theme .nav-button:focus-visible {
  background: rgba(0,0,0,0.085);
  color: #050505;
}

body.is-light-theme .nav-button.is-active,
body.is-light-theme .nav-button.is-active:hover,
body.is-light-theme .nav-button.is-active:focus-visible {
  background: var(--content-bg);
  color: #050505;
}

body.is-light-theme .nav-button.is-active::before,
body.is-light-theme .gallery-filter__button.is-active::before {
  background: #111111;
}

body.is-light-theme .info-card,
body.is-light-theme .location-chip,
body.is-light-theme .location-chip:visited,
body.is-light-theme .location-chip:link,
body.is-light-theme .contact-method,
body.is-light-theme .video-gallery-placeholder {
  background: #ffffff;
  border-color: rgba(0,0,0,0.075);
}

body.is-light-theme .info-card {
  box-shadow: 0 30px 78px rgba(0,0,0,0.18);
}

body.is-light-theme #gallery section img {
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
}

body.is-light-theme .info-panel h1::after {
  background: rgba(0,0,0,0.18);
}

body.is-light-theme .location-chip,
body.is-light-theme .location-chip:visited,
body.is-light-theme .location-chip:link,
body.is-light-theme .contacts-bar__link {
  color: #0f0f0f;
}

body.is-light-theme .location-chip:hover,
body.is-light-theme .location-chip:focus-visible,
body.is-light-theme .contacts-bar__link:hover,
body.is-light-theme .instagram-callout:hover,
body.is-light-theme .instagram-callout:focus-visible {
  background: rgba(0,0,0,0.045);
  border-color: rgba(0,0,0,0.14);
  color: #000000;
}

body.is-light-theme .about-body {
  color: #2f2f2f;
}

body.is-light-theme .info-kicker,
body.is-light-theme .about-details span,
body.is-light-theme .contact-method__label,
body.is-light-theme .instagram-callout__label {
  color: #555555;
}

body.is-light-theme .contact-intro {
  color: #272727;
}

body.is-light-theme .about-details {
  border-top-color: rgba(0,0,0,0.08);
}

body.is-light-theme .about-details div:not(:first-child) {
  border-left-color: rgba(0,0,0,0.08);
}

body.is-light-theme .about-details strong,
body.is-light-theme .contact-method__icon,
body.is-light-theme .instagram-callout,
body.is-light-theme .instagram-callout:visited,
body.is-light-theme .instagram-callout:link,
body.is-light-theme .instagram-callout__icon,
body.is-light-theme .instagram-callout__handle {
  color: #050505;
}

body.is-light-theme .contacts-bar {
  background: rgba(0,0,0,0.09);
}

body.is-light-theme .contact-method__icon {
  background: rgba(0,0,0,0.07);
}

body.is-light-theme .instagram-callout,
body.is-light-theme .instagram-callout:visited,
body.is-light-theme .instagram-callout:link {
  background: rgba(255,255,255,0.74);
  border-color: rgba(0,0,0,0.075);
  box-shadow: 0 16px 34px rgba(0,0,0,0.16);
}

body.is-light-theme .instagram-callout__arrow {
  color: rgba(0,0,0,0.42);
}

body.is-light-theme .gallery-filter {
  background: rgba(255,255,255,0.82);
  border-color: rgba(0,0,0,0.075);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

body.is-light-theme .gallery-filter__button {
  color: #393939;
}

body.is-light-theme .gallery-filter__button:hover,
body.is-light-theme .gallery-filter__button:focus-visible,
body.is-light-theme .gallery-filter__button.is-active {
  background: rgba(0,0,0,0.085);
  color: #050505;
}

body.is-light-theme .video-gallery-placeholder p + p {
  color: #555555;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) and (orientation: portrait) {
  body.is-light-theme .about-details div:not(:first-child) {
    border-top-color: rgba(0,0,0,0.08);
  }
}

@keyframes menu-panel-in {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes content-panel-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gallery-filter-in {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes gallery-flip-to-video-out {
  from {
    opacity: 1;
    transform: scaleX(1);
  }
  to {
    opacity: 0;
    transform: scaleX(0);
  }
}

@keyframes gallery-flip-to-video-in {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes gallery-flip-to-photo-out {
  from {
    opacity: 1;
    transform: scaleX(1);
  }
  to {
    opacity: 0;
    transform: scaleX(0);
  }
}

@keyframes gallery-flip-to-photo-in {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes theme-wipe {
  0% {
    clip-path: circle(0 at 48px calc(100% - 48px));
    opacity: 1;
  }
  72% {
    clip-path: circle(150vmax at 48px calc(100% - 48px));
    opacity: 1;
  }
  100% {
    clip-path: circle(150vmax at 48px calc(100% - 48px));
    opacity: 0;
  }
}

@keyframes theme-view-wipe {
  from {
    clip-path: circle(0 at 48px calc(100% - 48px));
  }
  to {
    clip-path: circle(150vmax at 48px calc(100% - 48px));
  }
}

@media (prefers-reduced-motion: reduce) {
  #gallery {
    transition: none;
  }

  .site-logo-frame {
    transition: none;
  }

  body.is-theme-wiping::before {
    animation: none;
    display: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }

  #gallery.is-filtering-out,
  #gallery.is-filtering-in,
  #gallery.is-mode-flipping-out,
  #gallery.is-mode-flipping-in {
    animation: none;
    filter: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) and (orientation: portrait) {
  :root {
    --brand-height: 86px;
  }

  .brand-bar {
    left: 0;
    z-index: 21;
    align-items: center;
    padding: 0 16px;
  }

  .site-logo-frame {
    width: min(260px, calc(100vw - 112px));
    height: 58px;
  }

  .theme-toggle {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 16px;
    z-index: 22;
    transform: translateY(-50%);
  }

  .theme-toggle:hover,
  .theme-toggle:focus-visible {
    transform: translateY(-50%) scale(1.16);
  }

  #container {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 0 32px;
  }

  .site-menu {
    flex: none;
    flex-basis: auto;
    width: 100%;
    bottom: auto;
    max-width: none;
    min-height: 0;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: var(--brand-height);
    left: 0;
    right: 0;
    z-index: 20;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    animation: none;
    display: block;
  }

  .site-menu::before {
    display: none;
  }

  .menu-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 0;
    background: rgba(255,255,255,0.06);
    color: #f5f5f5;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
  }

  .menu-toggle__bar {
    width: 20px;
    height: 2px;
    background: currentColor;
    display: block;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.menu-open .menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: static;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 16px;
    background: var(--menu-bg);
    border-bottom: 1px solid var(--menu-border);
    box-shadow: none;
    transition: max-height 260ms var(--transition-ease), opacity 180ms ease, padding 260ms var(--transition-ease);
  }

  body.menu-open .site-nav {
    max-height: 240px;
    opacity: 1;
    padding: 12px 16px 16px;
  }

  .nav-button {
    text-align: center;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
  }

  .nav-button::before {
    display: none;
  }

  .content-shell {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - var(--brand-height) - 72px);
    margin: 0;
    padding: 28px 16px 40px;
  }

  body.is-gallery-view .content-shell {
    min-height: auto;
    padding-bottom: 0;
  }

  body.is-video-gallery .content-shell {
    min-height: calc(100vh - var(--brand-height));
    padding-bottom: 40px;
  }

  body.is-gallery-mode-switching .content-shell {
    min-height: calc(100vh - var(--brand-height));
    padding-bottom: 40px;
  }

  .content-panel {
    left: 0;
  }

  .info-panel {
    min-height: calc(100vh - 126px);
    max-width: none;
    padding: 36px 0;
    font-size: 18px;
  }

  .info-card {
    padding: 32px 18px;
  }

  .info-panel h1 {
    font-size: 34px;
  }

  #contact-title {
    font-size: 50px;
  }

  .about-card {
    padding: 30px 18px 28px;
  }

  .about-hero {
    gap: 14px;
    margin-bottom: 20px;
  }

  .about-heading h1 {
    font-size: 50px;
  }

  .about-icon {
    width: 84px;
    height: 84px;
    flex-basis: 84px;
  }

  .about-heading {
    min-height: 84px;
  }

  .about-heading .info-kicker {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .location-chip,
  .location-chip:visited,
  .location-chip:link {
    margin: 16px auto 0;
    font-size: 12px;
  }

  .about-body {
    font-size: 15px;
    line-height: 1.62;
  }

  .about-details {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .about-details div {
    min-height: 42px;
    padding: 10px 0;
  }

  .about-details div:not(:first-child) {
    border-top: 1px solid rgba(255,255,255,0.08);
    border-left: 0;
  }

  .about-details span {
    font-size: 10px;
  }

  .about-details strong {
    font-size: 14px;
  }

  .contacts-bar {
    max-width: none;
    text-align: left;
    font-size: 18px;
  }

  .contacts-bar__link {
    justify-content: flex-start;
  }

  .contacts-bar {
    width: 100%;
  }

  .contact-method {
    min-height: 70px;
    padding: 0 16px;
  }

  .contact-method__value {
    font-size: 16px;
  }

  .instagram-callout,
  .instagram-callout:visited,
  .instagram-callout:link {
    min-height: 44px;
    margin-top: 28px;
    padding: 0 14px;
  }

  .instagram-callout__handle {
    font-size: 13px;
  }

  #gallery {
    margin-left: 0;
    width: 100%;
  }

  .video-gallery-placeholder {
    min-height: min(420px, calc(100vh - var(--brand-height) - 80px));
    gap: 12px;
    padding: 0 18px;
    font-size: 20px;
  }

  .video-gallery-placeholder p + p {
    font-size: 11px;
  }

  body.is-light-theme .about-details div:not(:first-child) {
    border-top-color: rgba(0,0,0,0.08);
  }
}

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