@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/great-vibes.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/outfit.woff2") format("woff2");
}

:root {
  --bg: #0b090f;
  --bg-raise: #14111a;
  --bg-card: #17141e;
  --ink: #f6f2fb;
  --muted: #d4c8e6;
  --silver: #e6e0f0;
  --lavender: #e4d7fb;
  --lilac: #c9b6ee;
  --line: rgba(224, 210, 248, 0.28);
  --deep: #3a255c;
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --script: "Great Vibes", "Segoe Script", cursive;
  --header: 4.6rem;
  --max: 72rem;
  --gutter: clamp(1rem, 3vw, 2rem);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.4rem);
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(920px 540px at 100% -8%, rgba(98, 58, 150, 0.34), transparent 58%),
    radial-gradient(720px 480px at -12% 16%, rgba(46, 26, 78, 0.55), transparent 60%),
    radial-gradient(860px 520px at 50% 120%, rgba(32, 18, 58, 0.45), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 380;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  opacity: 0.045;
  background-image: url("../images/grain.png");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, p {
  margin: 0;
}

a {
  color: var(--lavender);
}

a:hover {
  color: #fff;
}

::selection {
  background: #6d4e99;
  color: #fff;
}

:focus-visible {
  outline: 2px solid #f4ecff;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: #fff;
  color: #140e1c;
  padding: 0.7rem 1rem;
  font-weight: 600;
}

.skip:focus {
  top: 0.75rem;
}

.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;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  color: var(--lilac);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.section {
  padding: 4.25rem 0;
}

.lede,
.prose p {
  color: var(--muted);
  font-weight: 350;
  font-size: 1.05rem;
}

.prose p + p {
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #5a3d86 0%, #3a255c 100%);
  border-color: rgba(236, 226, 255, 0.38);
  box-shadow: 0 12px 32px rgba(58, 32, 96, 0.35);
}

.btn-primary:hover {
  color: #fff;
  border-color: rgba(244, 236, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(226, 210, 255, 0.25), 0 0 28px rgba(176, 140, 230, 0.35);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(228, 215, 251, 0.7);
  color: #fff;
}

.btn:disabled {
  opacity: 0.65;
  cursor: progress;
}

.bf {
  display: inline-block;
  width: 64px;
  height: 52px;
  color: #dccaf8;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(198, 168, 255, 0.45));
  animation: drift 7s ease-in-out infinite;
  pointer-events: none;
}

.bf .wing {
  transform-box: view-box;
  transform-origin: 50px 42px;
  animation: beat 2.8s ease-in-out infinite;
}

.bf-inline {
  width: 1.35rem;
  height: 1.1rem;
  margin-right: 0.15rem;
  vertical-align: -0.2em;
  filter: drop-shadow(0 0 4px rgba(198, 168, 255, 0.4));
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  50% { transform: translate3d(8px, -14px, 0) rotate(7deg); }
}

@keyframes beat {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.72); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header);
  padding: 0.35rem var(--gutter);
  background: rgba(11, 9, 15, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.logo:hover {
  color: inherit;
}

.logo-mark,
.bf-inline {
  animation: none;
}

.logo-mark {
  width: 34px;
  height: 28px;
  flex: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}

.logo-script {
  font-family: var(--script);
  font-size: 1.85rem;
  line-height: 0.85;
  color: #f7f2ff;
}

.logo-serif {
  margin-top: 0.12rem;
  font-family: var(--serif);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  z-index: 35;
  top: var(--header);
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem var(--gutter) 2rem;
  background: #0c0a12;
  border-top: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.4rem);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--lavender);
}

.site-nav .btn {
  margin-top: 0.8rem;
}

body.nav-open {
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 3.5rem;
}

.hero-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.wordmark {
  margin: 0 0 1.1rem;
}

.wordmark-script {
  display: block;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3.35rem, 8vw, 6.6rem);
  line-height: 1.05;
  color: #f8f3ff;
  text-shadow: 0 0 28px rgba(196, 164, 255, 0.38);
}

.wordmark-serif {
  display: block;
  margin-top: 0.45rem;
  padding-left: 0.42em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--silver);
}

.hero .lede {
  max-width: 38rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--silver);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-points li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border: 1px solid var(--lilac);
  border-radius: 50%;
}

.hero-collage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.frame {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(232, 222, 250, 0.38);
  background: #120f18;
  color: inherit;
  text-align: left;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
}

.frame-main {
  grid-column: 1 / -1;
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.frame-caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.7rem 0.7rem;
}

.frame-kicker {
  color: var(--lilac);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.frame-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.bf-hero-a,
.bf-hero-b {
  position: absolute;
  z-index: 0;
}

.bf-hero-a {
  width: 86px;
  height: 70px;
  top: 4%;
  right: 4%;
  opacity: 0.9;
}

.bf-hero-b {
  width: 46px;
  height: 38px;
  left: 2%;
  bottom: 18%;
  opacity: 0.55;
  animation-delay: -2.4s;
}

.gallery-head,
.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  margin-bottom: 1.4rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0.4rem 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.filter-btn[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--lavender);
}

.gallery-grid {
  display: grid;
  gap: 1.15rem;
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%), var(--bg-card);
  border: 1px solid var(--line);
  min-width: 0;
}

.card-media {
  overflow: hidden;
  background: #100e14;
}

.card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1rem 1.15rem;
}

.card-cat {
  color: var(--lilac);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.02;
}

.card-name button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.card-name button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card-summary {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  color: var(--silver);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-view {
  color: var(--lavender);
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.about {
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  gap: 2.25rem;
}

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-points li {
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(20, 16, 28, 0.65);
}

.about-points span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--lilac);
}

.about-points h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.about-points p {
  color: var(--muted);
}

.bf-about {
  position: absolute;
  width: 180px;
  height: 146px;
  right: -20px;
  bottom: -10px;
  opacity: 0.16;
  animation-duration: 9s;
}

.order-layout,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%), var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.15rem;
}

.form-row,
.field {
  min-width: 0;
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

label,
.label-text {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  color: var(--silver);
}

.req,
.opt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lilac);
}

input,
textarea {
  width: 100%;
  color: var(--ink);
  background: #0d0b12;
  border: 1px solid rgba(224, 210, 248, 0.38);
  border-radius: 0;
  padding: 0.85rem 0.9rem;
  font-size: 16px;
  line-height: 1.45;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #c9bddc;
  opacity: 1;
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid .file-drop {
  border-color: #e7c3d2;
}

.field.is-prefilled input {
  border-color: #cbb6f0;
  box-shadow: 0 0 0 3px rgba(188, 160, 230, 0.18);
}

.field-error,
.prefill-note {
  margin-top: 0.4rem;
  font-size: 0.92rem;
}

.field-error {
  color: #f6d5e0;
}

.prefill-note {
  color: var(--lilac);
}

.file-drop {
  position: relative;
  display: grid;
  gap: 0.2rem;
  min-height: 96px;
  align-content: center;
  padding: 1rem;
  border: 1px dashed rgba(224, 210, 248, 0.45);
  background: rgba(13, 11, 18, 0.65);
}

.file-drop.is-drag {
  border-color: var(--lavender);
  background: rgba(90, 60, 140, 0.18);
}

.file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-title {
  font-family: var(--serif);
  font-size: 1.45rem;
}

.file-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.file-preview {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-top: 0.75rem;
}

.file-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.file-preview p {
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.file-preview button {
  margin-top: 0.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--lavender);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 0.4rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  background: #120f18;
}

.form-status p {
  color: var(--muted);
}

.form-status.is-error {
  border-color: rgba(231, 195, 210, 0.7);
}

.form-status.is-fallback {
  border-color: rgba(203, 182, 240, 0.7);
}

.fallback-message {
  margin: 0.85rem 0;
  padding: 0.8rem;
  max-height: 14rem;
  overflow: auto;
  white-space: pre-wrap;
  background: #0c0a10;
  color: var(--silver);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.form-fine {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-success {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.form-success h3 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
}

.form-success p {
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-label {
  color: var(--lilac);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-value a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

.contact-pending {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
}

.contact-note {
  margin-top: 1rem;
  color: var(--muted);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--line);
}

.bf-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.8rem, 3vw, 2rem);
  padding: 1.25rem var(--gutter) 0.25rem;
}

.bf-row .bf {
  width: 34px;
  height: 28px;
}

.bf-row .bf:nth-child(odd) { animation-delay: -1.6s; }
.bf-row .bf:nth-child(3) {
  width: 54px;
  height: 44px;
  color: #f3ecff;
}

.footer-cta {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.footer-cta .eyebrow {
  justify-content: center;
}

.footer-cta h2 {
  margin-bottom: 1.1rem;
}

.footer-bottom {
  display: grid;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-note,
.copy {
  color: var(--muted);
  font-size: 0.95rem;
}

.product-dialog {
  width: min(64rem, calc(100vw - 1.25rem));
  max-height: min(92svh, 880px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(228, 216, 248, 0.38);
  background: #110e16;
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  overflow: auto;
}

.product-dialog::backdrop {
  background: rgba(6, 4, 10, 0.8);
}

.dialog-layout {
  display: grid;
}

.dialog-media {
  position: relative;
  background: #09080d;
  min-width: 0;
}

.dialog-media img#dialog-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34vh;
  aspect-ratio: auto;
  object-fit: contain;
  background: #09080d;
}

.dialog-close,
.photo-nav {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(12, 10, 16, 0.82);
  color: #fff;
}

.dialog-close {
  top: 0.55rem;
  right: 0.55rem;
}

.photo-nav.prev { left: 0.55rem; top: 50%; transform: translateY(-50%); }
.photo-nav.next { right: 0.55rem; top: 50%; transform: translateY(-50%); }

.dialog-close:hover,
.photo-nav:hover {
  border-color: var(--lavender);
}

.thumbs {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem;
  overflow-x: auto;
}

.thumb {
  flex: none;
  width: 76px;
  height: 58px;
  padding: 0;
  border: 1px solid transparent;
  background: #09080d;
}

.thumb[aria-current="true"] {
  border-color: var(--lavender);
}

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

.dialog-copy {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.2rem 1.15rem 1.4rem;
}

.dialog-copy h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.dialog-copy p {
  color: var(--muted);
}

.dialog-price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  color: var(--silver) !important;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.photo-count {
  color: var(--lilac) !important;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

body.dialog-fallback {
  overflow: hidden;
}

.product-dialog.is-fallback {
  position: fixed;
  z-index: 80;
  inset: 0.6rem;
  width: auto;
  max-height: calc(100svh - 1.2rem);
}

body.dialog-fallback::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(6, 4, 10, 0.8);
}

@media (max-width: 479px) {
  .hero-actions,
  .form-actions,
  .dialog-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .dialog-actions .btn,
  .footer-cta .btn {
    width: 100%;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .panel {
    padding: 1.6rem;
  }
}

@media (min-width: 900px) {
  .section {
    padding: 6rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    min-height: calc(100svh - var(--header) - 1.5rem);
  }

  .about-grid,
  .order-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }

  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }

  .footer-bottom {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo nav"
      "note copy";
    align-items: center;
    column-gap: 2rem;
  }

  .footer-bottom .logo { grid-area: logo; }
  .footer-nav { grid-area: nav; justify-content: flex-end; }
  .footer-note { grid-area: note; }
  .copy { grid-area: copy; justify-self: end; }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav .btn {
    margin-top: 0;
    margin-left: 0.35rem;
  }

  body.nav-open {
    overflow: visible;
  }

  .dialog-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .dialog-media img#dialog-image {
    max-height: min(68vh, 560px);
  }

  .dialog-copy {
    padding: 1.6rem 1.4rem 1.6rem 0.3rem;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card-media img,
  .frame img {
    transition: transform 0.8s ease;
  }

  .card:hover .card-media img,
  .card:focus-within .card-media img,
  .frame:hover img {
    transform: scale(1.045);
  }

  .frame:hover,
  .card:hover {
    border-color: rgba(228, 215, 251, 0.62);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.32), 0 0 28px rgba(160, 120, 220, 0.18);
  }
}

.card:focus-within {
  outline: 2px solid #f4ecff;
  outline-offset: 3px;
}

.card-name button:focus-visible {
  outline: none;
}

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

  .bf,
  .bf .wing,
  .js .reveal,
  .card-media img,
  .frame img,
  .site-nav,
  .btn {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .btn,
  .card,
  .frame,
  .panel,
  .product-dialog {
    border: 1px solid ButtonText;
  }

  .bf {
    filter: none;
  }
}
