:root {
  color-scheme: dark;
  --bg: #11110f;
  --bg-soft: #171715;
  --text: #ffffff;
  --muted: #c7c0b6;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #d5b067;
  --max: 1180px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.section-dark {
  background: var(--bg);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 6vw, 110px);
  padding: 34px clamp(20px, 5vw, 70px);
  background: linear-gradient(180deg, rgba(17, 17, 15, 0.92), rgba(17, 17, 15, 0));
  transition: background 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 18px;
  padding-bottom: 18px;
  background: rgba(17, 17, 15, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  position: absolute;
  left: clamp(20px, 5vw, 70px);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 9vw, 145px);
}

.nav a {
  padding: 12px 4px;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 600;
  text-shadow: 0 14px 34px rgba(0, 11, 48, 0.75);
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 20px 66px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__media {
  position: relative;
  width: min(42vw, 420px);
  min-width: 290px;
  height: min(76vh, 620px);
  min-height: 430px;
}

.hero__media::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.4)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.38));
  pointer-events: none;
}

.hero__image {
  position: relative;
  z-index: 2;
  filter: grayscale(1) contrast(1.08) brightness(0.8);
  object-position: 52% 28%;
}

.hero__ghost {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 78%;
  height: 68%;
  opacity: 0.18;
  filter: grayscale(1) contrast(1.1);
  transform: translateY(-50%);
}

.hero__ghost--left {
  left: -62%;
}

.hero__ghost--right {
  right: -62%;
}

.hero__title {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: min(96vw, 820px);
  transform: translate(-50%, -18%);
  text-align: center;
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 106px);
  line-height: 0.95;
  font-weight: 500;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.72);
}

.hero__title p {
  margin: 12px 0 0;
  font-size: clamp(28px, 4.2vw, 66px);
  line-height: 1;
  font-weight: 500;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.72);
}

.hero__lead {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 54px;
  margin: 0 auto;
  max-width: 760px;
  color: #eee8df;
  text-align: center;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.55;
}

.quote {
  min-height: 760px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 20px 130px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 560px);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}

.quote__text {
  color: var(--muted);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.2;
}

.quote__text p {
  margin: 0;
}

.quote__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.quote__figure img {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: cover;
  opacity: 0.92;
  display: block;
}

.quote__figure figcaption {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 32px);
  text-align: right;
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 56px;
  padding: 0 20px;
  text-align: center;
}

.section-heading--left {
  padding: 0;
  margin: 0 0 38px;
  text-align: left;
}

.section-heading p {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.98;
  font-weight: 500;
}

.gallery,
.classes {
  padding: 96px 0 130px;
}

.gallery__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.art-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 0;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.art-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.art-card:nth-child(even) .art-card__frame {
  order: 2;
}

.art-card--wide {
  grid-column: 1 / -1;
}

.art-card__frame {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  overflow: visible;
}

.art-card__frame[hidden] {
  display: none;
}

.art-card__frame img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 56vh !important;
  object-fit: contain !important;
  display: block;
}

.art-card__body {
  padding: 0;
}

.art-card span,
.class-block h3 {
  display: block;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.04;
}

.art-card p,
.class-block p,
.classes__intro,
.stats p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

.inline-button {
  min-height: 46px;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid rgba(213, 176, 103, 0.72);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.inline-button:hover,
.inline-button:focus-visible {
  background: var(--gold);
  color: #15120d;
  transform: translateY(-2px);
}

.button {
  width: fit-content;
  min-width: 260px;
  min-height: 70px;
  margin: 64px auto 0;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(213, 176, 103, 0.7);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.interior-showcase {
  position: absolute;
  inset: 40px 0 0 0;
  z-index: 4;
  overflow: hidden;
  background: #0b0b0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.interior-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 14, 12, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background 180ms ease;
}

.interior-close:hover,
.interior-close:focus-visible {
  background: rgba(213, 176, 103, 0.9);
  color: #15120d;
}

.interior-showcase[hidden] {
  display: none;
}

.art-card.is-showing-interior .art-card__body {
  visibility: hidden;
}

.interior-showcase.is-open {
  animation: interiorOpen 460ms ease both;
}

.interior-controls {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  font-family: var(--serif, "Playfair Display", serif);
}

.interior-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.interior-arrow:hover,
.interior-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: #fff;
  color: #15120d;
  transform: scale(1.06);
}

.interior-name {
  font-family: var(--serif, "Playfair Display", serif);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  min-width: 160px;
  text-align: center;
  font-weight: 500;
}

.interior-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.interior-scene[hidden] {
  display: none;
}

.interior-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.interior-art {
  position: absolute;
  z-index: 3;
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
}

.interior-art img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block;
  object-fit: contain !important;
  box-sizing: border-box;
}

/* Walnut — deep dark wood with thin gold trim (Bedroom) */
.interior-art.frame-walnut img {
  border: 14px solid #2a1810;
  border-image:
    linear-gradient(135deg, #1a0d05 0%, #3d2515 30%, #2a1810 60%, #4a2f1a 100%) 1;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(180, 130, 70, 0.55),
    inset 0 0 0 3px rgba(0, 0, 0, 0.45),
    inset 0 0 0 4px rgba(180, 130, 70, 0.4),
    inset 0 2px 8px rgba(0, 0, 0, 0.5),
    0 22px 38px rgba(0, 0, 0, 0.6),
    0 6px 14px rgba(0, 0, 0, 0.45);
}

/* Oak — ornate gilded gold (Dining) */
.interior-art.frame-oak img {
  border: 16px solid transparent;
  border-image:
    linear-gradient(135deg,
      #f6dc8f 0%,
      #c79933 18%,
      #8a5a18 38%,
      #d8a942 58%,
      #6b4112 78%,
      #f3d275 100%) 1;
  box-shadow:
    0 0 0 1px rgba(30, 16, 4, 0.8),
    inset 0 0 0 1px rgba(255, 235, 175, 0.55),
    inset 0 0 0 4px rgba(80, 45, 12, 0.4),
    inset 0 0 0 5px rgba(225, 180, 90, 0.55),
    inset 0 0 0 7px rgba(80, 45, 12, 0.3),
    inset 0 3px 10px rgba(0, 0, 0, 0.4),
    0 24px 42px rgba(0, 0, 0, 0.6),
    0 8px 16px rgba(0, 0, 0, 0.45);
}

/* Ash — light natural wood, minimal (Japanese) */
.interior-art.frame-ash img {
  border: 10px solid transparent;
  border-image:
    linear-gradient(135deg, #d8bd8a 0%, #b89466 40%, #d4b582 70%, #a98856 100%) 1;
  box-shadow:
    0 0 0 1px rgba(80, 55, 25, 0.5),
    inset 0 0 0 1px rgba(255, 240, 210, 0.4),
    inset 0 1px 4px rgba(60, 40, 20, 0.35),
    0 16px 28px rgba(0, 0, 0, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Black matte — thin industrial steel (Loft) */
.interior-art.frame-black img {
  border: 8px solid transparent;
  border-image:
    linear-gradient(135deg, #1a1a1a 0%, #050505 40%, #2a2a2a 65%, #0a0a0a 100%) 1;
  box-shadow:
    0 0 0 1px #000,
    inset 0 0 0 1px rgba(140, 140, 145, 0.35),
    inset 0 1px 3px rgba(255, 255, 255, 0.05),
    0 18px 32px rgba(0, 0, 0, 0.7),
    0 6px 12px rgba(0, 0, 0, 0.5);
}

/* Gilded cream — antique cream + gold (Modern Living) */
.interior-art.frame-gilded img {
  border: 14px solid transparent;
  border-image:
    linear-gradient(135deg,
      #f3ead4 0%,
      #d8c79a 20%,
      #b8975a 40%,
      #f0e0a8 60%,
      #9a7836 80%,
      #efe2bc 100%) 1;
  box-shadow:
    0 0 0 1px rgba(80, 60, 25, 0.6),
    inset 0 0 0 1px rgba(255, 250, 225, 0.7),
    inset 0 0 0 3px rgba(150, 115, 55, 0.35),
    inset 0 0 0 4px rgba(245, 225, 165, 0.55),
    inset 0 0 0 6px rgba(120, 90, 40, 0.25),
    inset 0 3px 9px rgba(0, 0, 0, 0.35),
    0 22px 38px rgba(0, 0, 0, 0.55),
    0 6px 14px rgba(0, 0, 0, 0.4);
}

.interior-sofa {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 13%;
  width: min(54vw, 620px);
  height: 104px;
  background: var(--sofa, #4f504a);
  border-radius: 32px 32px 10px 10px;
  box-shadow: 0 24px 38px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
}

.interior-sofa::before,
.interior-sofa::after {
  content: "";
  position: absolute;
  top: -44px;
  width: 30%;
  height: 72px;
  background: color-mix(in srgb, var(--sofa, #4f504a) 86%, #ffffff);
  border-radius: 26px 26px 10px 10px;
}

.interior-sofa::before {
  left: 9%;
}

.interior-sofa::after {
  right: 9%;
}

.interior-table {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 8%;
  width: 210px;
  height: 18px;
  background: rgba(42, 32, 25, 0.86);
  border-radius: 999px;
  transform: translateX(-50%);
}

.interior-table::before,
.interior-table::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 8px;
  height: 54px;
  background: rgba(42, 32, 25, 0.78);
}

.interior-table::before {
  left: 48px;
}

.interior-table::after {
  right: 48px;
}

.interior-plant {
  position: absolute;
  z-index: 2;
  right: 9%;
  bottom: 22%;
  width: 78px;
  height: 170px;
  border-bottom: 52px solid #2a241d;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
}

.interior-plant::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: 118px;
  height: 118px;
  background:
    radial-gradient(circle at 20% 70%, #526f54 0 18px, transparent 19px),
    radial-gradient(circle at 72% 64%, #3d5d43 0 22px, transparent 23px),
    radial-gradient(circle at 48% 28%, #67805f 0 24px, transparent 25px);
  transform: translateX(-50%);
}

.interior-lamp {
  position: absolute;
  z-index: 2;
  left: 11%;
  bottom: 21%;
  width: 80px;
  height: 230px;
  border-left: 5px solid rgba(45, 38, 33, 0.8);
}

.interior-lamp::before {
  content: "";
  position: absolute;
  left: -43px;
  top: 0;
  width: 78px;
  height: 48px;
  background: rgba(255, 245, 212, 0.86);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 55px rgba(255, 231, 163, 0.36);
}

.scene-minimal {
  --wall: linear-gradient(180deg, #ded9cf, #cfc8bd);
  --floor: #a8957f;
  --sofa: #555852;
  --frame: #161412;
}

.scene-concrete {
  --wall: linear-gradient(135deg, #858782, #c1beb4);
  --floor: #6d6357;
  --sofa: #2e3537;
  --frame: #0f0f0e;
}

.scene-warm {
  --wall: linear-gradient(180deg, #d7bd98, #b89b76);
  --floor: #735943;
  --sofa: #80624b;
  --frame: #2b2118;
}

.scene-gallery {
  --wall: linear-gradient(180deg, #f0eee9, #d7d4cc);
  --floor: #c0b3a0;
  --sofa: #b9b5aa;
  --frame: #20201c;
}

.scene-dark {
  --wall: linear-gradient(180deg, #1f211f, #35342f);
  --floor: #1b1713;
  --sofa: #111313;
  --frame: #d1b26a;
}

.button:hover,
.button:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: #15120d;
}

.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 20px 130px;
  display: grid;
  grid-template-columns: minmax(260px, 390px) 1fr;
  gap: clamp(48px, 9vw, 120px);
  align-items: center;
}

.about__portrait {
  height: 620px;
  opacity: 0.72;
  filter: grayscale(1);
}

.about__portrait img {
  object-position: 55% center;
}

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

.stats article {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stats strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  font-weight: 500;
}

.stats h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.35;
}

.classes__intro {
  max-width: 700px;
  margin: -24px auto 66px;
  padding: 0 20px;
  text-align: center;
}

.classes__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 80px;
}

.class-block {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 520px);
  gap: clamp(34px, 8vw, 120px);
  align-items: center;
}

.class-block:nth-child(even) {
  margin-left: auto;
  grid-template-columns: minmax(0, 520px) minmax(240px, 360px);
}

.class-block:nth-child(even) img {
  order: 2;
}

.class-block img {
  height: 470px;
  opacity: 0.86;
}

.contact {
  position: relative;
  min-height: 470px;
  padding: 118px 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg-soft);
}

.contact__image {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  top: 50%;
  width: 250px;
  height: 350px;
  opacity: 0.34;
  transform: translateY(-50%);
}

.contact__details {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
}

.contact h2,
.contact a {
  display: block;
  width: fit-content;
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(24px, 3.5vw, 46px);
  line-height: 1.3;
  font-weight: 400;
}

.contact a:hover,
.contact a:focus-visible {
  color: var(--gold);
}

.footer {
  padding: 34px 20px;
  background: #000;
  color: #efe8dd;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 64px, 0);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal--left {
  transform: translate3d(-70px, 36px, 0);
}

.reveal--right {
  transform: translate3d(70px, 36px, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(12px);
}

.modal[hidden] {
  display: none;
}

.modal__panel {
  position: relative;
  width: min(100%, 1040px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 34%),
    #141412;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.52);
  animation: modalIn 260ms ease both;
}

.modal__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.modal__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(34px, 6vw, 72px);
}

.modal__eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.modal h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  font-weight: 500;
}

.schedule {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.schedule article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule strong,
.schedule span {
  display: block;
  font-family: var(--sans);
}

.schedule strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 17px;
}

.schedule span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.benefits {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.benefits li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.lead-form {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lead-form label,
.lead-form span {
  display: grid;
  gap: 8px;
}

.lead-form span {
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead-form input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 16px var(--sans);
}

.lead-form input:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.lead-form__submit {
  width: 100%;
  min-width: 0;
  margin: 10px 0 0;
}

.lead-form__note,
.lead-form__success {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
}

.lead-form__success {
  color: #f5deb1;
}

@keyframes interiorOpen {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .interior-showcase,
  .modal__panel {
    transition: none;
    animation: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    justify-content: flex-end;
    gap: 20px;
  }

  .brand {
    position: static;
  }

  .nav {
    gap: 22px;
  }

  .quote,
  .about,
  .class-block,
  .class-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .class-block:nth-child(even) {
    margin-left: 0;
  }

  .class-block:nth-child(even) img {
    order: 0;
  }

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

  .art-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
  }

  .art-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .art-card:nth-child(even) .art-card__frame {
    order: 0;
  }

  .interior-showcase {
    inset: 28px 0 0 0;
  }

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

  .about__portrait {
    height: min(130vw, 620px);
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 22px 16px;
    align-items: flex-start;
  }

  .brand {
    display: none;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 760px;
    padding-top: 92px;
  }

  .hero__media {
    min-width: 230px;
    width: 66vw;
    min-height: 360px;
    height: 52vh;
  }

  .hero__title {
    transform: translate(-50%, -12%);
  }

  .hero__lead {
    bottom: 74px;
  }

  .quote {
    min-height: auto;
    padding: 70px 20px 95px;
    gap: 34px;
  }

  .quote__figure img {
    height: 350px;
  }

  .quote__figure figcaption {
    margin-left: 0;
  }

  .gallery,
  .classes,
  .about {
    padding-top: 74px;
    padding-bottom: 92px;
  }

  .class-block img {
    height: min(125vw, 470px);
  }

  .button {
    width: calc(100% - 40px);
    min-width: 0;
  }

  .contact {
    padding: 70px 20px 90px;
    place-items: start;
  }

  .contact__image {
    left: 20px;
    right: auto;
    top: auto;
    bottom: 20px;
    width: 180px;
    height: 250px;
    transform: none;
  }

  .interior-showcase {
    height: min(125vw, 560px);
  }

  .interior-controls {
    bottom: 14px;
    gap: 10px;
    padding: 8px 12px;
  }

  .modal {
    padding: 12px;
  }

  .modal__content {
    padding: 28px 18px;
  }
}
