:root {
  --ink: #171411;
  --paper: #f6efe4;
  --porcelain: #fffdf8;
  --chalk: #f9f4ec;
  --clay: #9f4f32;
  --terracotta: #bd5d3a;
  --oxide: #2f5d66;
  --moss: #315847;
  --amber: #e4ae6a;
  --stone: #d8ccbc;
  --muted: #73685c;
  --line: rgba(23, 20, 17, 0.14);
  --dark-line: rgba(255, 253, 248, 0.18);
  --shadow: 0 28px 80px rgba(23, 20, 17, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-filtering .piece {
  transition: opacity 220ms ease, transform 220ms ease;
}

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

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

button {
  font: inherit;
}

.scroll-progress {
  background: linear-gradient(90deg, var(--amber), var(--terracotta), var(--oxide));
  height: 3px;
  left: 0;
  position: fixed;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
  z-index: 60;
}

.site-header {
  align-items: center;
  color: var(--porcelain);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 22px 36px;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 240ms ease, color 240ms ease, padding 240ms ease, box-shadow 240ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 10px 34px rgba(23, 20, 17, 0.08);
  color: var(--ink);
  padding-bottom: 12px;
  padding-top: 12px;
}

.brand,
.main-nav,
.hero-actions,
.visit-actions,
.filter-bar {
  align-items: center;
  display: flex;
}

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand-logo {
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(23, 20, 17, 0.18);
  height: 46px;
  width: 46px;
}

.brand-word {
  font-size: 18px;
}

.main-nav {
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
  opacity: 0.92;
  position: relative;
}

.main-nav a::after {
  background: currentColor;
  bottom: 8px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
}

.header-action {
  background: var(--porcelain);
  color: var(--ink);
}

.site-header.is-scrolled .header-action {
  background: var(--ink);
  color: var(--porcelain);
}

.hero {
  min-height: 92svh;
  overflow: hidden;
  position: relative;
}

.hero-media {
  height: 120%;
  left: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: -10%;
  transform: scale(1.02);
  width: 100%;
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.86), rgba(12, 10, 8, 0.5) 45%, rgba(12, 10, 8, 0.14)),
    linear-gradient(0deg, rgba(12, 10, 8, 0.66), rgba(12, 10, 8, 0.04) 58%);
  inset: 0;
  position: absolute;
}

.hero-glow {
  background:
    linear-gradient(125deg, rgba(228, 174, 106, 0.18), transparent 38%),
    linear-gradient(0deg, rgba(47, 93, 102, 0.2), transparent 56%);
  inset: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  position: absolute;
}

.hero-content {
  color: var(--porcelain);
  max-width: 900px;
  padding: 142px 36px 150px;
  position: relative;
  z-index: 2;
}

.hero-kicker {
  align-items: center;
  color: #f4c79d;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  gap: 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-kicker img {
  height: 42px;
  width: 42px;
}

.eyebrow {
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 760;
  line-height: 0.94;
}

h1 {
  font-size: clamp(78px, 13vw, 188px);
  max-width: 1000px;
}

h2 {
  font-size: clamp(42px, 6.1vw, 96px);
  max-width: 980px;
}

h3 {
  font-size: 25px;
  line-height: 1.12;
}

.hero-copy {
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(18px, 1.6vw, 24px);
  margin-top: 24px;
  max-width: 700px;
}

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

.button {
  border: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--porcelain);
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(255, 253, 248, 0.44);
  color: var(--porcelain);
}

.button-primary:hover {
  background: #f2d0b6;
}

.button-ghost:hover {
  background: rgba(255, 253, 248, 0.12);
}

.on-dark {
  background: rgba(23, 20, 17, 0.18);
  border-color: rgba(255, 253, 248, 0.62);
  color: var(--porcelain);
  text-shadow: 0 1px 1px rgba(23, 20, 17, 0.28);
}

.on-dark:hover {
  background: var(--porcelain);
  border-color: var(--porcelain);
  color: var(--ink);
  text-shadow: none;
}

.hero-rail {
  bottom: 98px;
  display: grid;
  gap: 12px;
  position: absolute;
  right: 36px;
  width: min(27vw, 340px);
  z-index: 3;
}

.hero-rail a {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 253, 248, 0.32);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  display: block;
  overflow: hidden;
  transform: translateX(calc(var(--rail-offset, 0) * 1px));
}

.hero-rail a:nth-child(1) {
  --rail-offset: -26;
}

.hero-rail a:nth-child(2) {
  --rail-offset: 16;
}

.hero-rail a:nth-child(3) {
  --rail-offset: -8;
}

.hero-rail img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
  width: 100%;
}

.hero-rail a:hover img {
  transform: scale(1.08);
}

.hero-seal {
  align-items: center;
  bottom: 26px;
  color: rgba(255, 253, 248, 0.86);
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 10px;
  position: absolute;
  right: 36px;
  text-transform: uppercase;
  z-index: 3;
}

.hero-seal img {
  animation: sealFloat 5.6s ease-in-out infinite;
  border-radius: 50%;
  height: 58px;
  width: 58px;
}

@keyframes sealFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

.hero-meta {
  bottom: 24px;
  color: rgba(255, 253, 248, 0.82);
  display: grid;
  font-size: 13px;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  left: 36px;
  max-width: 720px;
  position: absolute;
  z-index: 2;
}

.hero-meta span {
  border-top: 1px solid rgba(255, 253, 248, 0.32);
  padding-top: 12px;
}

.intro-band {
  align-items: stretch;
  background: var(--ink);
  color: var(--porcelain);
  display: grid;
  grid-template-columns: 1.08fr 1fr;
}

.intro-copy {
  align-items: center;
  display: flex;
  min-height: 250px;
  padding: 56px 36px;
}

.intro-copy p {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 650;
  line-height: 1;
  max-width: 860px;
}

.intro-stats {
  border-left: 1px solid var(--dark-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.intro-stats div {
  border-right: 1px solid var(--dark-line);
  padding: 56px 24px;
}

.intro-stats dt {
  color: #f1b98f;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(44px, 4.8vw, 76px);
  line-height: 1;
}

.intro-stats dd {
  color: rgba(255, 253, 248, 0.72);
  margin: 12px 0 0;
}

.photo-marquee {
  background: var(--chalk);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  animation: marquee 38s linear infinite;
  display: flex;
  gap: 18px;
  width: max-content;
}

.marquee-track img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  height: 180px;
  object-fit: cover;
  width: 240px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section-pad {
  padding: 112px 36px;
}

.section-heading,
.gallery-heading {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  margin: 0 auto 46px;
  max-width: 1220px;
}

.section-heading .eyebrow,
.gallery-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  padding-top: 14px;
}

.filter-bar {
  gap: 10px;
  justify-content: center;
  margin: 0 auto 34px;
  max-width: 1220px;
}

.filter-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  min-height: 46px;
  padding: 10px 20px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-button.is-active {
  background: var(--oxide);
  border-color: var(--oxide);
  color: var(--porcelain);
}

.piece-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1220px;
}

.piece {
  min-width: 0;
}

.piece.is-hidden {
  display: none;
}

.piece-photo {
  aspect-ratio: 4 / 5;
  background: var(--stone);
  border-radius: 8px;
  display: block;
  overflow: hidden;
  position: relative;
}

.piece-photo::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), transparent 46%);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 220ms ease;
}

.piece-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
  width: 100%;
}

.piece-photo:hover::after {
  opacity: 1;
}

.piece-photo:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.055);
}

.piece-info {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  padding-top: 16px;
}

.piece-info p,
.piece-info span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.piece-info h3 {
  grid-column: 1 / -1;
}

.atelier {
  background: #e8eee8;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
}

.atelier-media {
  border-radius: 8px;
  min-height: 680px;
  overflow: hidden;
}

.atelier-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease;
  width: 100%;
}

.atelier-media:hover img {
  transform: scale(1.035);
}

.atelier-copy {
  align-self: center;
  max-width: 610px;
}

.atelier-copy p:not(.eyebrow) {
  color: #405146;
  font-size: 18px;
  margin-top: 24px;
}

.process-list {
  border-top: 1px solid rgba(49, 88, 71, 0.28);
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
}

.process-list li {
  border-bottom: 1px solid rgba(49, 88, 71, 0.28);
  display: grid;
  gap: 18px;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 20px 0;
}

.process-list span {
  color: var(--clay);
  font-weight: 900;
}

.process-list strong {
  display: block;
  font-size: 19px;
  grid-column: 2;
}

.process-list em {
  color: #405146;
  display: block;
  font-style: normal;
  grid-column: 2;
  margin-top: 4px;
}

.gallery {
  background: var(--porcelain);
}

.gallery-heading {
  display: block;
}

.gallery-heading h2 {
  max-width: 1050px;
}

.gallery-wall {
  display: grid;
  gap: 18px;
  grid-auto-flow: dense;
  grid-auto-rows: 210px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
}

.gallery-item {
  border-radius: 8px;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease, filter 900ms ease;
  width: 100%;
}

.gallery-item::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 55%);
  content: "";
  inset: 0;
  opacity: 0.82;
  position: absolute;
  z-index: 1;
}

.gallery-item figcaption {
  bottom: 16px;
  color: var(--porcelain);
  font-size: 13px;
  font-weight: 900;
  left: 16px;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.gallery-item:hover img {
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.05);
}

.visit {
  background:
    linear-gradient(135deg, rgba(47, 93, 102, 0.22), transparent 45%),
    var(--clay);
  color: var(--porcelain);
}

.visit-inner {
  margin: 0 auto;
  max-width: 980px;
  text-align: center;
}

.visit-logo {
  border-radius: 50%;
  height: 82px;
  margin: 0 auto 24px;
  width: 82px;
}

.visit .eyebrow {
  color: #ffd3ba;
}

.visit h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
}

.visit p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.84);
  font-size: 19px;
  margin: 24px auto 0;
  max-width: 680px;
}

.visit-actions {
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.site-footer {
  align-items: start;
  background: var(--ink);
  color: rgba(255, 253, 248, 0.72);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(240px, 0.4fr) minmax(280px, 0.6fr);
  padding: 32px 36px;
}

.footer-logo {
  border-radius: 50%;
  height: 56px;
  margin-bottom: 14px;
  width: 56px;
}

.site-footer a {
  color: var(--porcelain);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.toast {
  background: var(--ink);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: var(--shadow);
  color: var(--porcelain);
  left: 50%;
  opacity: 0;
  padding: 12px 18px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 20px);
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 70;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

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

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

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

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

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .hero-rail {
    display: none;
  }

  .hero-content {
    max-width: 760px;
  }

  .intro-band,
  .section-heading,
  .atelier,
  .gallery-wall,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-stats {
    border-left: 0;
  }

  .piece-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-wall {
    grid-auto-rows: 320px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .atelier-media {
    min-height: 480px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .site-header {
    gap: 12px;
    justify-content: flex-start;
    padding: 14px 16px;
  }

  .brand-logo {
    height: 42px;
    width: 42px;
  }

  .brand-word {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-content {
    padding: 104px 16px 260px;
  }

  .hero-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 62px);
  }

  h2 {
    font-size: 42px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-copy,
  .section-heading p:not(.eyebrow),
  .atelier-copy p:not(.eyebrow),
  .visit p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions,
  .visit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .hero-actions a,
  .visit-actions a,
  .visit-actions button {
    width: 100%;
  }

  .hero-rail {
    bottom: 84px;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    left: 16px;
    right: 16px;
    width: auto;
  }

  .hero-rail a {
    transform: none;
  }

  .hero-seal {
    bottom: 18px;
    left: 16px;
    right: auto;
  }

  .hero-meta {
    display: none;
  }

  .intro-copy,
  .section-pad {
    padding-left: 16px;
    padding-right: 16px;
  }

  .intro-copy {
    min-height: auto;
    padding-bottom: 38px;
    padding-top: 42px;
  }

  .intro-copy p {
    font-size: 36px;
  }

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

  .intro-stats div {
    border-right: 0;
    border-top: 1px solid var(--dark-line);
    padding: 24px 16px;
  }

  .marquee-track img {
    height: 132px;
    width: 176px;
  }

  .section-pad {
    padding-bottom: 74px;
    padding-top: 74px;
  }

  .section-heading,
  .gallery-heading {
    display: block;
  }

  .filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .filter-button {
    flex: 0 0 auto;
  }

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

  .atelier {
    gap: 34px;
  }

  .atelier-media {
    min-height: 360px;
  }

  .process-list li {
    grid-template-columns: 38px 1fr;
  }

  .gallery-wall {
    gap: 14px;
    grid-auto-rows: 310px;
  }

  .site-footer {
    padding: 26px 16px;
  }
}
