:root {
  --ink: #0d0d0b;
  --paper: #f4f2ed;
  --paper-soft: #ebe7de;
  --charcoal: #171a1c;
  --line: rgba(13, 13, 11, 0.16);
  --muted: #686158;
  --teal: #0892a5;
  --ember: #c84f31;
  --hero-gap: clamp(86px, 10vh, 132px);
  --hero-image-width: clamp(520px, 40vw, 650px);
  --hero-side-pad: clamp(5vw, 8vw, 12vw);
  --hero-left-pad: calc(78px + clamp(4vw, 6vw, 96px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

button,
a {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 32px;
  background: rgba(12, 13, 12, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  display: block;
  background: var(--paper);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  z-index: 19;
  top: 54px;
  right: 0;
  width: 50vw;
  height: calc(100svh - 54px);
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 54px clamp(28px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(246, 244, 239, 0.98), rgba(235, 231, 222, 0.98)),
    var(--paper);
  border-left: 1px solid rgba(13, 13, 11, 0.1);
  box-shadow: -24px 0 80px rgba(22, 18, 12, 0.18);
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.2, 0.76, 0.18, 1);
}

.menu-panel.is-open {
  transform: translateX(0);
}

.menu-panel a {
  width: max-content;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.5vw, 3.6rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.menu-panel a:hover {
  color: var(--teal);
}

.brand img {
  width: min(260px, 52vw);
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.hero {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--hero-image-width);
  align-items: start;
  column-gap: clamp(46px, 5vw, 92px);
  min-height: auto;
  overflow: visible;
  padding: calc(54px + var(--hero-gap)) var(--hero-side-pad) calc(var(--hero-gap) + 76px) var(--hero-left-pad);
  background:
    radial-gradient(circle at 71% 44%, rgba(8, 146, 165, 0.12), transparent 28%),
    linear-gradient(90deg, #f6f4ef 0%, #f6f4ef 54%, #e2ded3 100%);
}

.hero,
.about,
.studio,
.contact {
  scroll-margin-top: 54px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 54px 0 0;
  pointer-events: none;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero-sidebar {
  position: fixed;
  z-index: 18;
  top: 54px;
  left: 0;
  bottom: 0;
  width: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(246, 244, 239, 0.98), rgba(246, 244, 239, 0.92)),
    var(--paper);
  border-right: 1px solid rgba(13, 13, 11, 0.08);
  box-shadow: 12px 0 40px rgba(22, 18, 12, 0.04);
}

.sidebar-signature {
  color: rgba(154, 160, 167, 0.62);
  font-size: 0.585rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.hero-copy {
  position: relative;
  z-index: 7;
  top: auto;
  left: auto;
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 10px;
  max-width: none;
  color: #050505;
  font-family: Georgia, "Times New Roman", serif;
  text-align: left;
  text-transform: uppercase;
}

.hero-text-stack {
  display: grid;
  justify-items: start;
  gap: 10px;
  text-align: left;
  transform: none;
}

.hero-copy > .hero-text-stack > p {
  margin: 0;
  color: var(--teal);
  font-size: clamp(1rem, 1.8vw, 1.7rem);
  font-weight: 900;
  line-height: 1;
}

.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  padding-top: 8px;
  font-size: clamp(4rem, 5.9vw, 7.2rem);
  font-weight: 900;
  line-height: 0.88;
}

.hero-copy > .hero-text-stack > span {
  font-size: clamp(0.82rem, 1.1vw, 1.05rem);
  font-weight: 900;
  line-height: 1.2;
  color: rgba(5, 5, 5, 0.7);
}

.hero-intro {
  max-width: min(610px, 100%);
  padding-top: 8px;
  color: rgba(5, 5, 5, 0.68);
  font-size: clamp(0.98rem, 1.12vw, 1.18rem);
  font-weight: 500;
  line-height: 1.42;
  text-transform: none;
}

.hero-intro p {
  margin: 0 0 0.75em;
}

.hero-intro p:last-child {
  margin-bottom: 0;
}

.hero-gallery-link {
  width: max-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  padding: 0 22px;
  border: 1px solid rgba(13, 13, 11, 0.28);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hero-gallery-link:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.hero-image {
  position: relative;
  z-index: 6;
  right: auto;
  top: auto;
  width: var(--hero-image-width);
  margin: 0;
  aspect-ratio: 0.83;
  background: var(--charcoal);
  box-shadow: 0 34px 80px rgba(22, 18, 12, 0.26);
}

.hero-image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.hero-art {
  position: absolute;
  z-index: 9;
  background: var(--charcoal);
  box-shadow: 0 18px 42px rgba(6, 8, 10, 0.28);
  object-fit: cover;
}

.hero-art-top {
  top: 8%;
  right: -18%;
  width: 37%;
  aspect-ratio: 1.18;
}

.hero-art-left {
  left: -33%;
  bottom: 14%;
  width: 47%;
  aspect-ratio: 1.05;
}

.hero-art-bottom {
  right: -18%;
  bottom: -8%;
  width: 51.8%;
  aspect-ratio: 1;
}

.scroll-note {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(154, 160, 167, 0.62);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.scroll-note span:first-child {
  writing-mode: vertical-rl;
}

.scroll-arrow {
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0;
  writing-mode: horizontal-tb;
}

.featured {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 9vw, 128px) 0 clamp(70px, 8vw, 110px);
  overflow: hidden;
  background: var(--charcoal);
  color: var(--paper);
}

.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(244, 242, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 237, 0.045) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='canvas'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23canvas)' opacity='.42'/%3E%3C/svg%3E");
  background-size: 22px 22px, 22px 22px, 180px 180px;
  mix-blend-mode: screen;
}

.featured > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  width: min(1120px, 88vw);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p,
.about-inner p,
.contact p {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.95;
}

.section-heading span {
  display: block;
  max-width: 860px;
  margin: 24px auto 0;
  color: rgba(244, 242, 237, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.55;
}

.carousel-shell {
  width: min(1180px, 88vw);
  min-height: 410px;
  margin: 0 auto;
  padding: 34px 0 22px;
  background: transparent;
  color: var(--paper);
}

.carousel-viewport {
  overflow: hidden;
  cursor: grab;
}

.carousel-track {
  display: flex;
  gap: 18px;
  padding: 0;
  transition: transform 920ms cubic-bezier(0.2, 0.82, 0.18, 1);
  will-change: transform;
}

.carousel-track.no-transition {
  transition: none;
}

.art-card {
  flex: 0 0 clamp(150px, calc((100% - 72px) / 5), 220px);
  margin: 0;
}

.art-card img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  background: #d8d3c8;
  transition: transform 520ms cubic-bezier(0.16, 1.32, 0.32, 1), filter 520ms ease;
  will-change: transform;
  transform-origin: center;
}

.carousel-track .art-card {
  cursor: pointer;
}

.carousel-track .art-card:hover img,
.carousel-track .art-card:active img,
.gallery .art-card:hover img,
.gallery .art-card:active img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.045);
}

.art-card figcaption {
  min-height: 42px;
  padding-top: 12px;
  color: rgba(244, 242, 237, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
}

.carousel-track .art-card figcaption {
  text-align: center;
}

.carousel-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.carousel-actions button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 242, 237, 0.72);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.about {
  padding: clamp(72px, 10vw, 140px) 6vw;
  background: #fbfaf6;
}

.about-inner {
  width: min(1320px, 88vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.about-copy {
  min-width: 0;
}

.about-text {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.about-text p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.08vw, 1.1rem);
  line-height: 1.68;
  text-transform: none;
  font-weight: 500;
}

.about-media {
  display: grid;
  gap: 18px;
}

.about-video {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #111;
  box-shadow: 0 28px 78px rgba(28, 24, 18, 0.22);
  cursor: pointer;
}

.about-video::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 9;
}

.about-video img,
.about-video iframe,
.video-fallback-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-fallback-link {
  z-index: 2;
  display: block;
  overflow: hidden;
  color: transparent;
  text-indent: -9999px;
  pointer-events: none;
}

.about-video iframe {
  z-index: 4;
}

.about-easel {
  width: 100%;
  display: block;
  box-shadow: 0 24px 64px rgba(28, 24, 18, 0.16);
}

.play-button {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: clamp(58px, 6vw, 82px);
  height: clamp(58px, 6vw, 82px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(13, 13, 11, 0.58);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.play-button::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid white;
  transform: translate(-35%, -50%);
}

.studio {
  padding: clamp(72px, 9vw, 120px) 5vw;
  background: var(--paper-soft);
}

.studio-heading {
  margin-bottom: 28px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.tab {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.gallery {
  position: relative;
  width: min(1600px, 100%);
  margin: 0 auto;
  transition: height 640ms cubic-bezier(0.2, 0.76, 0.18, 1);
}

.gallery .art-card {
  position: absolute;
  flex-basis: auto;
  cursor: zoom-in;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  transition:
    left 760ms cubic-bezier(0.2, 0.9, 0.18, 1),
    top 760ms cubic-bezier(0.2, 0.9, 0.18, 1),
    opacity 460ms ease,
    filter 520ms ease,
    transform 720ms cubic-bezier(0.18, 1.35, 0.32, 1);
  will-change: left, top, opacity, transform;
}

.gallery .art-card img {
  height: var(--image-height, auto);
  aspect-ratio: auto;
}

.gallery .art-card figcaption {
  color: #2f2d29;
}

.gallery.is-rearranging {
  pointer-events: none;
}

.gallery .art-card.float-out {
  opacity: 0;
  filter: brightness(1.65) saturate(0.72);
  transform:
    translate3d(var(--float-x, 0px), var(--float-y, 20px), 0)
    rotate(var(--float-rotate, 0deg))
    scale(0.88);
}

.gallery .art-card.is-entering {
  opacity: 0;
  filter: brightness(1.45) saturate(0.78);
  transform:
    translate3d(var(--float-x, 0px), calc(var(--float-y, 28px) + 18px), 0)
    rotate(var(--float-rotate, 0deg))
    scale(0.9);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.load-more {
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(13, 13, 11, 0.28);
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.load-more:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.load-more.is-hidden {
  display: none;
}

.contact {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(430px, 1.16fr) minmax(280px, 0.84fr);
  align-items: start;
  gap: clamp(36px, 7vw, 110px);
  width: min(1240px, calc(100% - 12vw));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 0;
  background: transparent;
  color: var(--paper);
}

.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  background: #0f1728;
}

.contact-form,
.contact-info {
  min-width: 0;
  padding-top: 134px;
}

.contact h2 {
  max-width: 760px;
}

.contact-form h2 {
  font-size: clamp(2rem, 3.8vw, 4.2rem);
}

.contact-info h2 {
  margin-top: 18px;
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  line-height: 1.05;
}

.contact-info > span {
  display: block;
  margin-top: 10px;
  color: rgba(244, 242, 237, 0.78);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info > small {
  display: block;
  max-width: 360px;
  margin-top: 12px;
  color: rgba(244, 242, 237, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.55;
}

.contact-info > a {
  display: inline-block;
  margin-top: 22px;
  color: var(--teal);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-left: min(100px, 7vw);
  margin-right: -50px;
}

.contact-form input[name="_honey"] {
  position: absolute;
  left: -9999px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: rgba(244, 242, 237, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(244, 242, 237, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  font: inherit;
  padding: 14px 16px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
}

.contact-form button {
  width: max-content;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 24px;
  border: 1px solid rgba(244, 242, 237, 0.5);
  background: transparent;
  color: var(--paper);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--paper);
  color: #0f1728;
}

.contact-form button:disabled {
  opacity: 0.64;
  cursor: wait;
}

.form-status {
  min-height: 1.2em;
  color: var(--teal);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1vw, 12px);
  margin-top: 34px;
}

.social-links a {
  width: clamp(24px, 2.25vw, 33px);
  height: clamp(24px, 2.25vw, 33px);
  display: grid;
  place-items: center;
  border: 2px solid rgba(244, 242, 237, 0.74);
  border-radius: 50%;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.58rem, 0.78vw, 0.78rem);
  font-weight: 900;
  line-height: 1;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-links svg {
  width: 58%;
  height: 58%;
  display: block;
}

.social-links svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links [aria-label="LinkedIn"] svg path,
.social-links [aria-label="Pinterest"] svg path,
.social-links [aria-label="TikTok"] svg path {
  fill: currentColor;
  stroke: none;
}

.social-links a:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.art-share {
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 0;
}

.art-share a {
  width: 31px;
  height: 31px;
  background: rgba(255, 255, 255, 0.08);
}

.art-share .share-notice {
  flex-basis: 100%;
  min-height: 1.1em;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 70px 24px 34px;
  background: rgba(9, 10, 10, 0.88);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  position: fixed;
  top: 50%;
  left: 50%;
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  object-fit: contain;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
}

.lightbox.is-open img {
  animation: lightboxElastic 520ms cubic-bezier(0.18, 1.45, 0.35, 1) forwards;
}

.lightbox p {
  margin: 0;
  font-weight: 800;
}

.lightbox-details {
  position: fixed;
  left: 50%;
  bottom: 78px;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  transform: translateX(-50%);
}

.lightbox-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.lightbox .art-share {
  margin-top: 0;
}

.lightbox button,
.interior-modal button {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox .interior-button,
.lightbox a.interior-button {
  position: static;
  width: auto;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-color: rgba(255, 255, 255, 0.54);
  background: transparent;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox .interior-button:hover,
.lightbox a.interior-button:hover {
  background: var(--paper);
  color: var(--ink);
}

.thank-you-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 10, 10, 0.9);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.thank-you-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.thank-you-panel {
  position: relative;
  width: min(92vw, 620px);
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid rgba(244, 242, 237, 0.24);
  background:
    linear-gradient(#f4f2ed, #e8e2d6),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='canvas'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23canvas)' opacity='.32'/%3E%3C/svg%3E");
  color: var(--ink);
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  transform: translateY(18px) scale(0.96);
  transition: transform 220ms ease;
}

.thank-you-modal.is-open .thank-you-panel {
  transform: translateY(0) scale(1);
}

.thank-you-panel button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(9, 10, 10, 0.28);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.thank-you-panel p {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thank-you-panel h2 {
  margin: 12px 0 18px;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.88;
}

.thank-you-panel span {
  display: block;
  max-width: 430px;
  margin: 0 auto;
  color: rgba(9, 10, 10, 0.72);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.thank-you-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 30px;
  padding: 0 24px;
  border: 1px solid rgba(9, 10, 10, 0.34);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thank-you-panel a:hover,
.thank-you-panel button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.interior-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  padding: 28px clamp(18px, 4vw, 54px) 44px;
  overflow-y: auto;
  background:
    linear-gradient(rgba(17, 19, 19, 0.96), rgba(17, 19, 19, 0.96)),
    var(--charcoal);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.interior-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 11, 11, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.admin-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.admin-toolbar {
  position: fixed;
  z-index: 78;
  left: 50%;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(760px, calc(100vw - 28px));
  padding: 12px;
  background: rgba(17, 17, 17, 0.92);
  color: var(--paper);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%);
}

.admin-toolbar button {
  border: 1px solid rgba(244, 242, 237, 0.5);
  background: transparent;
  color: var(--paper);
  padding: 10px 14px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-toolbar button:hover {
  background: var(--paper);
  color: var(--ink);
}

.admin-toolbar strong {
  min-width: 80px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-panel {
  position: relative;
  width: min(960px, 94vw);
  max-height: 88vh;
  overflow: auto;
  padding: clamp(24px, 4vw, 46px);
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.admin-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.admin-login,
.admin-dashboard,
.admin-upload {
  display: grid;
  gap: 18px;
}

.admin-login {
  max-width: 420px;
}

.admin-login p,
.admin-heading p {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-login h2,
.admin-heading h2 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.admin-login label,
.admin-upload label,
.admin-artwork label {
  display: grid;
  gap: 8px;
}

.admin-login span,
.admin-upload span,
.admin-artwork span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-login input,
.admin-upload input,
.admin-upload select,
.admin-artwork input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.22);
  background: rgba(255, 255, 255, 0.78);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.admin-login button,
.admin-upload button,
.admin-artwork button {
  justify-self: start;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.admin-category {
  display: grid;
  gap: 10px;
}

.admin-category h3 {
  margin: 12px 0 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.45rem;
}

.admin-artwork {
  display: grid;
  grid-template-columns: 76px minmax(150px, 1fr) minmax(180px, 1.2fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.admin-artwork img {
  width: 76px;
  height: 58px;
  object-fit: cover;
}

.admin-artwork strong {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;
}

.admin-artwork .delete-artwork {
  background: transparent;
  color: var(--ink);
}

.admin-login strong,
.admin-upload strong {
  min-height: 1.2em;
  color: var(--teal);
  font-size: 0.85rem;
}

.admin-inline {
  position: relative;
  z-index: 2;
  display: none;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 0 4px;
}

body.is-admin .gallery .art-card:hover img,
body.is-admin .gallery .art-card:active img {
  transform: none;
}

body.is-admin .gallery .admin-inline {
  display: grid;
}

.admin-inline input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.2);
  background: rgba(255, 255, 255, 0.88);
  padding: 10px 11px;
  color: var(--ink);
  font-size: 0.78rem;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-inline button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 9px 12px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-inline .delete-inline-artwork {
  background: transparent;
  color: var(--ink);
}

.admin-edit-banner {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 20px;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.interior-modal-bar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.interior-modal-bar p {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.interior-modal-bar h2 {
  margin: 0;
  max-width: min(820px, 74vw);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 0.95;
}

.interior-modal #closeInterior {
  position: static;
  flex: 0 0 auto;
}

.interior-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
}

.interior-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0b0d0d;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.interior-scene {
  position: relative;
}

.interior-room {
  width: 100%;
  height: auto;
  display: block;
}

.interior-frame {
  position: absolute;
  padding: var(--rail, 12px);
  background: var(--frame-color, #151414);
  box-shadow:
    0 18px 24px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.interior-mat {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: var(--mat, 18px);
  background: var(--mat-color, #f2eee4);
}

.interior-mat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.18);
}

.frame-black-white {
  --frame-color: #111111;
  --mat-color: #f4efe3;
}

.frame-black-gray {
  --frame-color: #111111;
  --mat-color: #f4efe3;
}

.frame-light-gray {
  --frame-color: #d8d8d2;
  --mat-color: #f3f0e8;
}

.frame-white {
  --frame-color: #f3f1ec;
  --mat-color: #ffffff;
}

.frame-wood {
  --frame-color: #c8954e;
  --mat-color: #f2ead9;
}

.frame-brown {
  --frame-color: #7b4b28;
  --mat-color: #e8dfcf;
}

.interior-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(9, 10, 10, 0.52);
  color: rgba(244, 242, 237, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.interior-share {
  padding: 14px 12px 16px;
  background: rgba(9, 10, 10, 0.92);
}

@keyframes lightboxElastic {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
  }
  68% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.035);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (min-width: 901px) and (max-width: 1440px) {
  :root {
    --hero-gap: clamp(64px, 8vh, 94px);
    --hero-image-width: clamp(340px, 36vw, 520px);
    --hero-side-pad: clamp(42px, 6vw, 86px);
    --hero-left-pad: 118px;
  }

  .hero {
    column-gap: clamp(34px, 4vw, 58px);
  }

  .hero-copy {
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 5.15vw, 5.8rem);
  }

  .hero-intro {
    max-width: 520px;
    font-size: clamp(0.92rem, 1vw, 1.08rem);
  }

  .hero-gallery-link {
    margin-top: 70px;
  }

  .hero-art-top {
    right: -12%;
    width: 31%;
  }

  .hero-art-left {
    left: -24%;
    width: 39%;
  }

  .hero-art-bottom {
    right: -12%;
    width: 44%;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  :root {
    --hero-gap: clamp(56px, 7vh, 76px);
    --hero-image-width: clamp(300px, 34vw, 390px);
    --hero-left-pad: 108px;
    --hero-side-pad: 38px;
  }

  .hero {
    column-gap: 30px;
    padding-bottom: calc(var(--hero-gap) + 54px);
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 4.85vw, 4.6rem);
  }

  .hero-copy > .hero-text-stack > p {
    font-size: clamp(0.92rem, 1.35vw, 1.18rem);
  }

  .hero-copy > .hero-text-stack > span {
    font-size: clamp(0.72rem, 0.95vw, 0.92rem);
  }

  .hero-intro {
    max-width: 430px;
    font-size: 0.92rem;
    line-height: 1.38;
  }

  .hero-gallery-link {
    margin-top: 48px;
  }

  .hero-art-top {
    right: -8%;
    width: 28%;
  }

  .hero-art-left {
    left: -16%;
    width: 34%;
  }

  .hero-art-bottom {
    right: -8%;
    bottom: -5%;
    width: 38%;
  }

  .carousel-shell {
    width: min(980px, 86vw);
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 50px;
    padding-inline: 18px;
  }

  .menu-panel {
    width: 100vw;
  }

  .menu-panel a {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .hero-sidebar {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 42px;
    min-height: auto;
    overflow: hidden;
    padding: 86px 6vw 94px;
  }

  .hero-copy {
    top: auto;
    left: auto;
    width: 100%;
    max-width: 720px;
  }

  .hero-text-stack {
    transform: none;
  }

  .hero-copy h1 {
    font-size: 4.4rem;
  }

  .hero-intro {
    max-width: min(680px, 100%);
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-gallery-link {
    margin-top: 42px;
  }

  .hero-image {
    justify-self: end;
    right: auto;
    top: auto;
    width: min(78vw, 600px);
  }

  .hero-art-top {
    top: 7%;
    right: -5%;
    width: 34%;
  }

  .hero-art-left {
    left: -4%;
    bottom: 19%;
    width: 38%;
  }

  .hero-art-bottom {
    right: -5%;
    bottom: -5%;
    width: 47.6%;
  }

  .scroll-note {
    display: none;
  }

  .carousel-shell {
    width: min(720px, 88vw);
    border-radius: 0;
  }

  .carousel-track {
    gap: 16px;
    padding: 0;
  }

  .carousel-track .art-card {
    flex-basis: calc((100% - 32px) / 3);
  }

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

  .contact-form {
    margin-left: 0;
    margin-right: 0;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .contact-info > a {
    margin-top: 24px;
  }

  .lightbox img {
    max-height: 68vh;
  }

  .interior-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-panel {
    width: 96vw;
    padding: 28px 18px;
  }

  .admin-artwork {
    grid-template-columns: 70px 1fr;
  }

  .admin-artwork label,
  .admin-artwork button {
    grid-column: 1 / -1;
  }

  .brand img {
    width: 210px;
  }

  .hero {
    row-gap: 34px;
    padding: 78px 5vw 72px;
  }

  .about {
    padding-inline: 5vw;
  }

  .about-inner {
    width: 100%;
  }

  .about-text p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-copy > .hero-text-stack > p {
    font-size: clamp(0.9rem, 5vw, 1.2rem);
  }

  .hero-copy > .hero-text-stack > span {
    font-size: 0.74rem;
  }

  .hero-intro {
    font-size: 0.94rem;
  }

  .hero-gallery-link {
    margin-top: 32px;
  }

  .hero-image {
    justify-self: center;
    width: 90vw;
  }

  .hero-art-top {
    right: 2%;
    width: 30%;
  }

  .hero-art-left {
    left: 2%;
    bottom: 18%;
    width: 34%;
  }

  .hero-art-bottom {
    right: 2%;
    bottom: 2%;
    width: 40%;
  }

  .art-card {
    flex-basis: 74vw;
  }

  .carousel-track .art-card {
    flex-basis: 100%;
  }

  .lightbox {
    padding-inline: 16px;
  }

  .lightbox img {
    max-width: 92vw;
    max-height: 60vh;
  }

  .lightbox-details {
    width: 88vw;
    bottom: 44px;
  }

  .interior-modal {
    padding: 22px 14px 34px;
  }

  .interior-modal-bar h2 {
    max-width: 76vw;
  }

  .interior-card figcaption {
    display: none;
  }
}
