:root {
  --bg: #f5f3ee;
  --paper: #ffffff;
  --ink: #111417;
  --ink-soft: #434b55;
  --line: rgba(17, 20, 23, 0.12);
  --emerald: #4169e1;
  --emerald-deep: #2f56d6;
  --orange: #ef7f1a;
  --shadow-soft: 0 18px 40px rgba(17, 20, 23, 0.07);
  --shadow-strong: 0 25px 70px rgba(17, 20, 23, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1400px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 10%, rgba(65, 105, 225, 0.1), transparent 38%),
    radial-gradient(circle at 88% 15%, rgba(239, 127, 26, 0.08), transparent 40%),
    linear-gradient(#f7f6f1, #f4f1ea 40%, #f7f4ee);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}

body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a, button, input, select, textarea { font: inherit; }

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

.page-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(17, 20, 23, 0.02) 48px 49px);
}

.site-header { position: sticky; top: 0; z-index: 100; }

.nav {
  position: relative;
  max-width: calc(var(--max) + 6rem);
  margin: 0 auto;
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: padding .2s ease;
}

.nav.scrolled { padding-top: .75rem; padding-bottom: .75rem; }

.nav::before {
  content: "";
  position: absolute;
  inset: .35rem 1.25rem;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  box-shadow: 0 16px 45px rgba(17,20,23,.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: -1;
}

.nav.scrolled::before,
.nav.menu-open::before { opacity: 1; transform: translateY(0); }

.nav-logo {
  text-decoration: none;
  color: var(--ink);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  letter-spacing: .14em;
  line-height: 1;
}

.nav-logo span { color: var(--emerald); }

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 .9rem;
  color: var(--ink-soft);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .65rem;
  letter-spacing: .22em;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--ink); background: rgba(255,255,255,.72); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle-line {
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  padding: 2rem 3rem 5rem;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 65%, rgba(65,105,225,.11), transparent 48%),
    radial-gradient(circle at 88% 20%, rgba(239,127,26,.1), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(248,244,236,.9));
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-strong);
}

.hero-grid {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background-image:
    linear-gradient(rgba(17,20,23,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,20,23,.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.splatter { position: absolute; border-radius: 999px; filter: blur(46px); pointer-events: none; }
.splatter-1 {
  width: 520px; height: 520px; top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(65,105,225,.18), rgba(65,105,225,0));
  animation: breathe 10s ease-in-out infinite;
}
.splatter-2 {
  width: 340px; height: 340px; left: 4%; bottom: 11%;
  background: radial-gradient(circle, rgba(239,127,26,.16), rgba(239,127,26,0));
  animation: breathe 12s ease-in-out infinite reverse;
}

.paint-stroke { position: absolute; opacity: .7; border-radius: 999px; pointer-events: none; }
.paint-stroke-1 {
  width: 260px; height: 18px; top: 20%; right: 22%; transform: rotate(-12deg);
  background: linear-gradient(90deg, rgba(65,105,225,0), rgba(65,105,225,.45), rgba(65,105,225,0));
}
.paint-stroke-2 {
  width: 220px; height: 14px; top: 62%; left: 12%; transform: rotate(9deg);
  background: linear-gradient(90deg, rgba(239,127,26,0), rgba(239,127,26,.5), rgba(239,127,26,0));
}

.hero > *:not(.hero-bg):not(.hero-grid):not(.splatter):not(.paint-stroke) { position: relative; z-index: 1; }

.hero-tag {
  margin: 0 0 1.2rem;
  color: var(--emerald-deep);
  font-size: .65rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp .7s ease forwards .15s;
}

.hero-title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4.7rem, 14vw, 15rem);
  line-height: .86;
  letter-spacing: -.02em;
  opacity: 0;
  animation: fadeUp .75s ease forwards .3s;
}

.hero-title .first { display: block; color: #121418; }

.hero-title .last {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px rgba(17,20,23,.9);
  position: relative;
}

.hero-title .last::after {
  content: "BAGGINS";
  position: absolute;
  left: 4px;
  top: 4px;
  color: rgba(65,105,225,.22);
  -webkit-text-stroke: 0;
  z-index: -1;
}

.hero-bottom {
  margin-top: 2.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp .75s ease forwards .5s;
}

.hero-sub {
  margin: 0;
  max-width: 470px;
  color: var(--ink-soft);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.55vw, 1.15rem);
  line-height: 1.55;
}

.hero-sub strong { color: var(--emerald-deep); font-weight: 600; }

.hero-cta { display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn-primary {
  padding: .95rem 2.2rem;
  background: linear-gradient(135deg, var(--emerald), #5f83ff);
  color: #f8fffc;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.06rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 14px 24px rgba(65,105,225,.22), 0 4px 10px rgba(17,20,23,.06);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 rgba(239,127,26,.7), 0 16px 30px rgba(65,105,225,.18);
}

.btn-link {
  color: var(--ink-soft);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .65rem;
  letter-spacing: .22em;
  border-bottom: 1px solid rgba(17,20,23,.18);
  padding-bottom: .25rem;
  transition: color .2s ease, border-color .2s ease;
}

.btn-link::after { content: " \2192"; }
.btn-link:hover, .btn-link:focus-visible { color: var(--orange); border-color: rgba(239,127,26,.5); }

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  animation: fadeUp .9s ease forwards .95s;
}

.scroll-indicator span:first-child {
  font-size: .56rem;
  letter-spacing: .28em;
  color: rgba(17,20,23,.55);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(65,105,225,.85), rgba(239,127,26,0));
  animation: scrollPulse 1.8s ease-in-out infinite;
}

.marquee-strip {
  margin-top: 1rem;
  background: linear-gradient(90deg, rgba(65,105,225,.95), rgba(239,127,26,.92));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.6);
}

.marquee-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}

.marquee-inner span {
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: .22em;
  padding: .85rem 1.8rem;
}

.marquee-inner .dot { padding-inline: .25rem; opacity: .75; }

.about,
.philosophy,
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem 3rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-label,
.section-label {
  margin: 0 0 1rem;
  font-size: .65rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--emerald-deep);
}

.about-heading {
  margin: 0 0 2rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .9;
}

.about-heading em { font-style: normal; color: var(--orange); }

.about-body {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-body strong { color: var(--ink); font-weight: 600; }

.amn-block {
  margin-top: 2rem;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--emerald);
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.45));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.amn-block strong {
  display: block;
  margin-bottom: .55rem;
  color: var(--emerald-deep);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.amn-block p { margin: 0; color: #4a535d; font-size: .82rem; line-height: 1.7; }

.tags { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .55rem; }

.tag {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.45);
  color: var(--ink-soft);
  padding: .4rem .75rem;
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 999px;
}

.tag.active { border-color: rgba(65,105,225,.32); color: var(--emerald-deep); background: rgba(65,105,225,.08); }

.about-visual { position: relative; aspect-ratio: 4 / 5; }

.about-img-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 75% 20%, rgba(239,127,26,.18), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(65,105,225,.2), transparent 45%),
    linear-gradient(135deg, rgba(255,255,255,.85), rgba(243,238,229,.95));
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow-strong);
}

.about-img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(17,20,23,.03) 14px 15px),
    linear-gradient(to bottom, rgba(255,255,255,.2), rgba(255,255,255,0));
}

.about-img-placeholder span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17,20,23,.28);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: .25em;
  font-size: 1.15rem;
}

.about-img-placeholder img { width: 100%; height: 100%; object-fit: cover; }

.about-accent-line {
  position: absolute;
  right: -16px;
  top: 16px;
  width: 3px;
  height: 62%;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--emerald), rgba(239,127,26,.3), transparent);
}

.about-accent-dot {
  position: absolute;
  width: 70px;
  height: 70px;
  bottom: -16px;
  left: 14px;
  border-radius: 50%;
  border: 2px solid rgba(239,127,26,.35);
  box-shadow: 0 0 0 12px rgba(239,127,26,.05);
}

.gallery {
  margin-top: .5rem;
  padding: 6.5rem 3rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.82)),
    radial-gradient(circle at 82% 12%, rgba(239,127,26,.09), transparent 38%),
    radial-gradient(circle at 12% 88%, rgba(65,105,225,.08), transparent 38%);
  border-top: 1px solid rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.6);
}

.section-header {
  max-width: var(--max);
  margin: 0 auto 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.section-title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: .9;
}

.gallery-count {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.25rem, 9vw, 5.75rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(17,20,23,.18);
  line-height: .85;
}

.gallery-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.1rem;
}

.art-card { margin: 0; grid-column: span 3; }
.art-card:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.art-card:nth-child(2) { grid-column: span 4; }
.art-card:nth-child(3) { grid-column: span 3; }
.art-card:nth-child(4) { grid-column: span 7; }
.art-card:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.art-card:nth-child(6) { grid-column: span 4; }
.art-card:nth-child(7) { grid-column: span 4; }
.art-card:nth-child(8) { grid-column: span 8; }

.art-card-btn {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
}

.art-card-btn:focus-visible { outline: 2px solid rgba(65,105,225,.55); outline-offset: 4px; }

.art-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}

.art-card:nth-child(1) .art-card-inner,
.art-card:nth-child(5) .art-card-inner { aspect-ratio: 3 / 4; }

.art-img-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .5s ease;
}

.art-img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(239,127,26,.14), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(65,105,225,.18), transparent 48%),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(17,20,23,.02) 10px 11px);
}

.art-card:nth-child(1) .art-img-placeholder { background: #f7f4ee; }
.art-card:nth-child(2) .art-img-placeholder { background: #fbf8f1; }
.art-card:nth-child(3) .art-img-placeholder { background: #f5f1ea; }
.art-card:nth-child(4) .art-img-placeholder { background: #f8f5ef; }
.art-card:nth-child(5) .art-img-placeholder { background: #f3efe7; }
.art-card:nth-child(6) .art-img-placeholder { background: #faf7f0; }
.art-card:nth-child(7) .art-img-placeholder { background: #f6f2ea; }
.art-card:nth-child(8) .art-img-placeholder { background: #fbf9f3; }

.art-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.art-img-placeholder.has-image .placeholder-text { display: none; }

.placeholder-text {
  position: absolute;
  z-index: 1;
  font-family: "Bebas Neue", sans-serif;
  font-size: .95rem;
  letter-spacing: .26em;
  color: rgba(17,20,23,.22);
}

.art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,20,23,.86) 0%, rgba(17,20,23,.38) 40%, rgba(17,20,23,0) 75%);
  color: #fff;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity .25s ease;
}

.art-title {
  margin: 0 0 .25rem;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  letter-spacing: .04em;
}

.art-meta {
  margin: 0;
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

.art-price {
  position: absolute;
  top: .85rem;
  right: .85rem;
  background: var(--emerald);
  color: #f7fffb;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: .12em;
  font-size: .98rem;
  padding: .3rem .6rem;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  box-shadow: 0 8px 16px rgba(65,105,225,.25);
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .25s ease, transform .25s ease;
}

.art-sold { background: var(--orange); box-shadow: 0 8px 16px rgba(239,127,26,.25); }

.art-card:hover .art-img-placeholder,
.art-card:focus-within .art-img-placeholder { transform: scale(1.03); }

.art-card:hover .art-img-placeholder img,
.art-card:focus-within .art-img-placeholder img { transform: scale(1.04); }

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

.art-card:hover .art-price,
.art-card:focus-within .art-price { opacity: 1; transform: translateY(0); }

.gallery-footer {
  max-width: var(--max);
  margin: 3.4rem auto 0;
  text-align: center;
}

.gallery-footer p {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.big-quote {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17,20,23,.18);
}

.big-quote .highlight { display: block; color: var(--ink); -webkit-text-stroke: 0; }
.big-quote .green { display: block; color: var(--emerald-deep); -webkit-text-stroke: 0; }

.philosophy-right { display: flex; flex-direction: column; gap: 1.35rem; }

.philosophy-stat {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
}

.stat-num {
  min-width: 72px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.2rem;
  line-height: .9;
  color: var(--orange);
}

.stat-text strong {
  display: block;
  margin-bottom: .3rem;
  color: var(--ink);
  font-family: "Oswald", sans-serif;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stat-text p { margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.55; }

.shop { position: relative; margin: 0; padding: 5.5rem 3rem; }

.shop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(65,105,225,.92), rgba(239,127,26,.92)),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 18px, rgba(255,255,255,0) 18px 36px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(255,255,255,.3);
}

.shop-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.shop .section-label { color: rgba(255,255,255,.82); }

.shop-heading {
  margin: 0;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: .88;
}

.shop-body {
  margin: 1rem 0 0;
  max-width: 440px;
  color: rgba(255,255,255,.88);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
}

.btn-dark {
  margin-top: 1.8rem;
  padding: 1rem 2.4rem;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 18px 30px rgba(17,20,23,.12);
}

.btn-dark:hover,
.btn-dark:focus-visible { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 rgba(17,20,23,.5), 0 20px 34px rgba(17,20,23,.15); }

.shop-decoration {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(9rem, 19vw, 16rem);
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.25);
  user-select: none;
}

.contact { text-align: center; max-width: 980px; }
.contact-label { margin-bottom: .8rem; }

.contact-heading {
  margin: 0 0 1.35rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .9;
}

.contact-body {
  margin: 0 auto 2.2rem;
  max-width: 560px;
  color: var(--ink-soft);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-body strong { color: var(--ink); }

.contact > .btn.btn-primary { margin-bottom: 1.25rem; }

.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}

.contact-actions .btn { margin-top: 0; }

.contact-actions .btn-primary,
.contact-actions .btn-dark {
  min-width: 220px;
}

.contact-instagram {
  background: rgba(255,255,255,.92);
  color: var(--ink);
}

.contact-note {
  margin: 0 auto;
  max-width: 640px;
  color: var(--ink-soft);
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: .98rem;
  line-height: 1.6;
}

.contact-form {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .95rem;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 22px;
  box-shadow: var(--shadow-strong);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group.full { grid-column: span 2; }

.form-group label {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(17,20,23,.12);
  background: rgba(255,255,255,.75);
  color: var(--ink);
  border-radius: 12px;
  padding: .9rem 1rem;
  font-size: .82rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  appearance: none;
}

.form-group textarea { min-height: 128px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(67,75,85,.8); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(65,105,225,.45);
  box-shadow: 0 0 0 4px rgba(65,105,225,.08);
  background: #fff;
}

.btn-submit {
  grid-column: span 2;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), #6b8dff);
  color: #f8fffb;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  letter-spacing: .18em;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 16px 25px rgba(65,105,225,.2);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-submit:hover,
.btn-submit:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 30px rgba(65,105,225,.2), 3px 3px 0 rgba(239,127,26,.55); }

.btn-submit.is-sent { background: linear-gradient(135deg, #f3f7ff, #fff); color: var(--emerald-deep); box-shadow: 0 12px 22px rgba(17,20,23,.08); }
.btn-submit.is-error { background: linear-gradient(135deg, #fff5ef, #fff); color: #c45500; }

.form-status {
  grid-column: span 2;
  margin: 0;
  min-height: 1em;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer {
  max-width: calc(var(--max) + 6rem);
  margin: 0 auto;
  padding: 2.2rem 3rem 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(17,20,23,.08);
}

.footer-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.45rem;
  letter-spacing: .12em;
}

.footer-logo span { color: var(--emerald); }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-size: .62rem;
  letter-spacing: .18em;
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible { color: var(--orange); }

.footer-copy { margin: 0; color: rgba(67,75,85,.9); font-size: .6rem; letter-spacing: .12em; }

.lightbox {
  position: fixed;
  inset: 0;
  padding: 1.2rem;
  display: grid;
  place-items: center;
  background: rgba(246,244,239,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 400;
}

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

.lightbox-panel {
  position: relative;
  width: min(920px, 100%);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 30px 90px rgba(17,20,23,.18);
  padding: 1.2rem;
}

.lightbox-close {
  position: absolute;
  top: .85rem;
  right: .95rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: .35rem .8rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .6rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: color .2s ease, border-color .2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible { color: var(--ink); border-color: rgba(239,127,26,.45); }

.lightbox-content {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
  align-items: stretch;
}

.lightbox-img {
  min-height: 420px;
  border-radius: 16px;
  border: 1px solid rgba(17,20,23,.08);
  background:
    radial-gradient(circle at 80% 18%, rgba(239,127,26,.15), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(65,105,225,.16), transparent 45%),
    linear-gradient(135deg, #fcfbf8, #f2ede4);
  display: grid;
  place-items: center;
  text-align: center;
}

.lightbox-img span {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: .24em;
  color: rgba(17,20,23,.28);
  font-size: .95rem;
}

.lightbox-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.lightbox-img.has-image span { display: none; }

.lightbox-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem .4rem .4rem;
}

.lightbox-meta {
  margin: 0 0 .45rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-size: .58rem;
  letter-spacing: .2em;
}

.lightbox-title {
  margin: 0 0 .65rem;
  font-family: "Oswald", sans-serif;
  font-size: 1.7rem;
  line-height: 1.15;
}

.lightbox-price {
  margin: 0 0 1.35rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: .1em;
  color: var(--emerald-deep);
}

.lightbox-price.sold { color: var(--orange); }

.footer,
.contact-form,
.amn-block,
.art-card-inner,
.hero-bg,
.lightbox-panel,
.philosophy-stat { backdrop-filter: blur(4px); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.07); opacity: .6; }
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: .35; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.12); }
}

@media (max-width: 1100px) {
  .hero-bottom { align-items: flex-start; flex-direction: column; }
  .hero-cta { align-items: flex-start; }
  .about, .philosophy { gap: 3rem; }
}

@media (max-width: 960px) {
  .nav { padding-inline: 1.2rem; }
  .nav::before { inset-inline: .4rem; border-radius: 20px; }
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: absolute;
    top: calc(100% + .4rem);
    left: .4rem;
    right: .4rem;
    display: grid;
    gap: .4rem;
    padding: .55rem;
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .nav.menu-open .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0); }

  .nav-links a {
    justify-content: flex-start;
    min-height: 42px;
    padding-inline: .85rem;
    border: 1px solid transparent;
    background: rgba(255,255,255,.55);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    border-color: rgba(65,105,225,.18);
    background: rgba(255,255,255,.92);
  }

  .hero, .gallery, .shop { padding-inline: 1.5rem; }
  .about, .philosophy, .contact { padding-inline: 1.5rem; }

  .about { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-height: 460px; }

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
  }

  .art-card { grid-column: span 1 !important; grid-row: span 1 !important; }
  .art-card-inner { aspect-ratio: 1 / 1 !important; }

  .shop-inner { flex-direction: column; align-items: flex-start; }
  .shop-decoration { align-self: center; font-size: clamp(6rem, 25vw, 10rem); }

  .lightbox-content { grid-template-columns: 1fr; }
  .lightbox-img { min-height: 300px; }

  .contact-form { grid-template-columns: 1fr; }
  .form-group.full, .btn-submit, .form-status { grid-column: span 1; }

  .footer {
    padding-inline: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .footer-links { justify-content: center; }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88svh;
    padding-top: 1rem;
    padding-bottom: 3.6rem;
  }

  .hero-bg, .hero-grid { border-radius: 22px; }
  .hero-title .last { -webkit-text-stroke-width: 1.5px; }
  .hero-sub { max-width: 100%; font-size: .98rem; }
  .scroll-indicator { bottom: 1rem; }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .gallery-count { align-self: flex-end; }
  .philosophy-stat { padding: 1rem; }
  .stat-num { min-width: 58px; font-size: 2.6rem; }
  .shop-decoration { display: none; }
  .contact-form { padding: 1rem; }

  .lightbox { padding: .7rem; }
  .lightbox-panel { padding: .85rem; }
  .lightbox-close { top: .55rem; right: .55rem; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

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