/* Meghaznaillounge — Light luxury editorial */

:root {
  --ivory: #faf7f2;
  --white: #ffffff;
  --champagne: #e9ddcf;
  --champagne-deep: #d9c7b4;
  --mauve: #a98c9f;
  --mauve-ink: #6b5360;
  --charcoal: #242124;
  --ink: #1a181b;
  --muted: rgba(36, 33, 36, 0.68);
  --line: rgba(36, 33, 36, 0.12);
  --shadow: 0 24px 60px rgba(36, 33, 36, 0.08);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 88px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--charcoal);
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(169, 140, 159, 0.16), transparent 60%),
    radial-gradient(700px 420px at 100% 8%, rgba(233, 221, 207, 0.85), transparent 55%),
    var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
  background: var(--champagne);
}

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

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

button {
  cursor: pointer;
}

::selection {
  background: #e4d3dc;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--mauve-ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 80;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 8px 12px;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mauve-ink);
}

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
}

.section {
  padding: 120px 0;
}

section[id] {
  scroll-margin-top: 76px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 420px);
  gap: 32px 48px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 5.6rem);
}

.section-head .lede {
  margin: 0 0 8px;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--mauve-ink);
  margin: 22px 0;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.ornament i {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

/* Intro veil */
.intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--ivory);
  pointer-events: none;
  animation: introOut 0.9s var(--ease) 0.45s forwards;
}

.intro span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.01em;
}

@keyframes introOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  height: 68px;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: #c9b4d4;
  border: 1px solid var(--line);
  flex: none;
}

.nav.is-scrolled .brand img {
  width: 40px;
  height: 40px;
}

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

.brand-text strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mauve-ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--charcoal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}

.btn-fill {
  background: var(--charcoal);
  color: var(--ivory);
}

.btn:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.btn-fill:hover {
  background: var(--mauve-ink);
  border-color: var(--mauve-ink);
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--ivory);
  position: relative;
  z-index: 50;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--charcoal);
  position: absolute;
  left: 13px;
}

.nav-toggle span {
  top: 22px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

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

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

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

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
  align-items: end;
  gap: 36px;
  padding: calc(var(--nav-h) + 28px) 0 48px;
  position: relative;
}

.hero-copy {
  width: min(640px, 100%);
  margin-left: max(32px, calc((100% - var(--container)) / 2));
  padding-bottom: 64px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.4rem, 7.6vw, 7.4rem);
  font-weight: 500;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--mauve-ink);
}

.line {
  display: block;
  overflow: hidden;
}

.line span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.05s var(--ease) forwards;
}

.line:nth-child(2) span {
  animation-delay: 0.12s;
}

@keyframes rise {
  to {
    transform: none;
  }
}

.hero-copy .lede {
  margin: 28px 0 0;
  max-width: 42ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  height: min(84vh, 860px);
  margin-right: max(0px, calc((100% - var(--container)) / 2 - 20px));
  min-height: 520px;
}

.hero-frame {
  position: absolute;
  inset: 0 0 48px 36px;
  overflow: hidden;
  background: var(--champagne);
  clip-path: inset(14% 10% 14% 10%);
  animation: unveil 1.35s var(--ease) 0.15s forwards;
}

.hero-frame img,
.depth-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

@keyframes unveil {
  to {
    clip-path: inset(0);
  }
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.depth-photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(240px, 42%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 8px solid var(--ivory);
  box-shadow: var(--shadow);
  z-index: 2;
}

.hero-caption {
  position: absolute;
  right: 18px;
  bottom: 64px;
  z-index: 3;
  max-width: 18ch;
  padding: 8px 10px;
  background: rgba(250, 247, 242, 0.88);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.scroll-hint {
  position: absolute;
  left: max(32px, calc((100% - var(--container)) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint i {
  width: 1px;
  height: 46px;
  background: var(--charcoal);
  display: block;
  transform-origin: top;
  animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scaleY(0.35); opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Collection */
.note {
  font-size: 0.92rem;
  color: var(--muted);
  border-left: 1px solid var(--mauve);
  padding-left: 14px;
}

.bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px 36px;
  align-items: start;
}

.card {
  background: transparent;
  min-width: 0;
}

.card-feature {
  grid-row: span 2;
}

.card-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--champagne);
}

.card-feature .card-media {
  aspect-ratio: 4 / 5;
  height: auto;
  min-height: 0;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.9s var(--ease);
}

.pos-high { object-position: center 22% !important; }
.pos-low { object-position: center 72% !important; }
.pos-mid { object-position: center 55% !important; }

.card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  color: var(--ivory);
  background: linear-gradient(to top, rgba(26, 24, 27, 0.72), transparent 80%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.card-overlay span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.card:hover .card-overlay,
.card:focus-within .card-overlay {
  opacity: 1;
  transform: none;
}

.card-body {
  padding: 18px 2px 6px;
}

.card-kicker,
.price {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve-ink);
}

.card-body h3 {
  margin: 8px 0 8px;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.card-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.text-link {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.text-link:hover {
  color: var(--mauve-ink);
  border-color: var(--mauve-ink);
}

.bento-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}

/* Custom */
.custom {
  background: linear-gradient(180deg, rgba(233, 221, 207, 0.45), rgba(250, 247, 242, 0) 28%), var(--ivory);
}

.trio {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 18px;
  min-height: 620px;
}

.panel {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background: var(--champagne);
  display: block;
  color: var(--ivory);
}

.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 1s var(--ease);
}

.panel:hover img,
.panel:focus-visible img {
  transform: scale(1.06);
}

.panel-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 22px;
  background: linear-gradient(to top, rgba(26, 24, 27, 0.78), transparent);
}

.panel-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.panel-copy p {
  margin: 10px 0 0;
  max-width: 32ch;
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(250, 247, 242, 0.86);
}

.panel:nth-child(2) {
  transform: translateY(36px);
}

.custom-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}

/* Artist */
.artist-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.artist-media {
  position: relative;
  min-height: 620px;
}

.artist-media .main-shot {
  width: 86%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-left: auto;
}

.artist-media .side-shot {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 42%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid var(--ivory);
  box-shadow: var(--shadow);
}

.artist-media figcaption {
  position: relative;
  z-index: 3;
  margin: 18px 0 0 46%;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.artist-copy h2 {
  margin: 0;
  font-size: clamp(3.2rem, 5.4vw, 5.2rem);
}

.pull {
  margin: 28px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--mauve-ink);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.facts li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: -1px;
}

.facts span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve-ink);
  margin-bottom: 4px;
}

/* Process */
.process {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  padding: 28px 8px 8px;
  border-top: 1px solid var(--charcoal);
}

.step em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.4rem, 5vw, 5rem);
  line-height: 0.8;
  color: var(--champagne-deep);
  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 2.2rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
  font-weight: 300;
}

/* Gallery */
.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
}

.mosaic figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  background: var(--champagne);
}

.mosaic figure:first-child {
  grid-row: 1 / span 2;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.mosaic figure:hover img {
  transform: scale(1.05);
}

.gallery-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 28px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(3.2rem, 5.5vw, 5.2rem);
}

.ig-card {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ig-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.ig-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--champagne-deep);
  background: transparent;
  padding: 12px 0;
  border-radius: 0;
  outline: none;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--charcoal);
}

.field-error {
  min-height: 1.1em;
  margin: 0;
  color: #8c3a3a;
  font-size: 0.85rem;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: #8c3a3a;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.form-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.enquiry-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--champagne-deep);
  background: var(--ivory);
}

.enquiry-note h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.enquiry-note p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* Footer */
.footer {
  padding: 72px 0 28px;
  border-top: 1px solid var(--line);
  background: #f3eee7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
}

.footer .brand img {
  width: 64px;
  height: 64px;
}

.footer-brand p {
  max-width: 36ch;
  color: var(--muted);
  font-weight: 300;
}

.footer h3 {
  margin: 0 0 14px;
  font-size: 1.4rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: var(--mauve-ink);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border: 1px solid var(--charcoal);
  background: var(--ivory);
  color: var(--charcoal);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

/* Reveal — only after JS marks the document */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s var(--ease);
}

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

.js .media-reveal {
  clip-path: inset(10% 0 10% 0);
  transition: clip-path 1.1s var(--ease);
}

.js .media-reveal.is-in {
  clip-path: inset(0);
}

/* Mobile menu */
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: #faf7f2;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 36px;
    gap: 22px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s var(--ease), visibility 0.35s ease;
  }

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

  .nav-links a {
    font-family: var(--serif);
    font-size: 2.4rem;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .menu-cta {
    display: inline-flex !important;
    margin-top: 12px;
  }
}

.menu-cta {
  display: none;
}

@media (max-width: 900px) {
  .container,
  .nav-inner {
    width: min(var(--container), calc(100% - 36px));
  }

  .hero,
  .section-head,
  .artist-grid,
  .contact-grid,
  .footer-grid,
  .bento,
  .bento-row,
  .steps,
  .trio,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 18px);
    gap: 28px;
  }

  .hero-copy {
    margin-left: 18px;
    margin-right: 18px;
    width: auto;
  }

  .hero-visual {
    height: 72vw;
    min-height: 420px;
    margin: 0 18px 0 28px;
  }

  .hero-caption,
  .scroll-hint {
    display: none;
  }

  .card-feature {
    grid-row: auto;
  }

  .card-feature .card-media {
    min-height: 0;
    height: auto;
  }

  .panel:nth-child(2) {
    transform: none;
  }

  .trio {
    min-height: 0;
  }

  .panel {
    min-height: 420px;
  }

  .artist-media {
    min-height: 0;
  }

  .artist-media .main-shot {
    width: 100%;
  }

  .artist-media .side-shot {
    width: 38%;
    border-width: 6px;
  }

  .artist-media figcaption {
    margin-left: 42%;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px 220px;
  }

  .mosaic figure:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .section {
    padding: 84px 0;
  }

  .custom-foot,
  .gallery-foot,
  .ig-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .brand-text small {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 16vw, 4.4rem);
  }

  .section-head h2,
  .artist-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  form {
    padding: 22px 18px;
  }

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

  .depth-photo {
    width: 38%;
    border-width: 5px;
  }
}

@media (hover: none) {
  .card-overlay {
    opacity: 1;
    transform: none;
    background: linear-gradient(to top, rgba(26, 24, 27, 0.55), transparent 70%);
  }
}

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

  .intro {
    display: none;
  }

  .line span,
  .hero-frame,
  .scroll-hint i {
    animation: none !important;
    transform: none !important;
    clip-path: none !important;
  }

  .js .reveal,
  .js .media-reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
