* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #171717;
  --paper: #f7f3ec;
  --paper-soft: #fffaf1;
  --green: #28331d;
  --green-soft: #66705a;
  --moss: #3f4b2c;
  --wood: #9a7048;
  --gold: #b08645;
  --clay: #b46f50;
  --line: rgba(23, 23, 23, 0.12);
  --shadow: 0 28px 80px rgba(40, 51, 29, 0.15);
  --page-x: clamp(72px, 8vw, 118px);
  --header-x: clamp(72px, 8vw, 118px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

body.intro-active {
  overflow: hidden;
}

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  background:
    radial-gradient(circle at 34% 24%, rgba(176, 134, 69, 0.16), transparent 34%),
    linear-gradient(135deg, #f6efe4, #ded1c1);
  transition: opacity 700ms ease, visibility 700ms ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader-easel {
  position: relative;
  width: min(360px, 78vw);
  aspect-ratio: 1.38;
  padding: 16px;
  border: 12px solid #8a6038;
  background: #d6c8b7;
  box-shadow: var(--shadow);
}

.loader canvas {
  width: 100%;
  height: 100%;
  background: #eadfce;
}

.loader-frame {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(66, 40, 20, 0.35);
  pointer-events: none;
}

.loader p {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header {
  position: fixed;
  top: 32px;
  left: calc(var(--header-x) - 32px);
  right: calc(var(--header-x) - 32px);
  z-index: 10;
  width: auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 32px;
  border: none;
  border-radius: 40px;
  background: rgba(234, 228, 217, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px) saturate(1.02);
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity 850ms ease, transform 850ms ease, background 220ms ease;
}

body.revealed .header {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header.is-scrolled {
  background: rgba(234, 228, 217, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.logo {
  font-family: Inter, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
}

nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}

nav a {
  color: #111;
  text-decoration: none;
  transition: opacity 180ms ease;
}

nav a:hover {
  opacity: 0.58;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: #111;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.header-button:hover,
.primary:hover {
  transform: translateY(-2px);
  background: #000;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  background: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(247, 243, 236, 0.94) 0%,
    rgba(247, 243, 236, 0.78) 30%,
    rgba(247, 243, 236, 0.24) 54%,
    rgba(247, 243, 236, 0.03) 100%
  );
  opacity: 0;
  transition: opacity 900ms ease;
  pointer-events: none;
}

body.revealed .hero::after {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 500px;
  margin-left: var(--page-x);
  padding-top: clamp(190px, 22vh, 245px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1000ms ease 220ms, transform 1000ms ease 220ms;
}

body.revealed .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow,
.section-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--green-soft);
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 20px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  max-width: 490px;
  font-size: clamp(54px, 5.15vw, 84px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.05em;
}

h1 span {
  color: var(--moss);
}

.subtitle {
  max-width: 355px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(20, 20, 20, 0.68);
}

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
}

.secondary {
  background: transparent;
  border: none;
  color: rgba(23, 23, 23, 0.68);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.featured,
.artist,
.process,
.testimonials,
.contact,
.footer {
  padding-inline: var(--page-x);
}

.featured {
  padding-block: clamp(78px, 9vw, 116px) clamp(84px, 10vw, 128px);
  background:
    radial-gradient(circle at 78% 22%, rgba(176, 134, 69, 0.08), transparent 22%),
    linear-gradient(180deg, #f9f5ee, var(--paper));
}

.featured-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.featured-head p {
  max-width: 520px;
  margin-top: 14px;
  color: rgba(23, 23, 23, 0.62);
  line-height: 1.7;
}

h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.96;
}

.filter-button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(40, 51, 29, 0.16);
  background: transparent;
  cursor: pointer;
}

.filter-button span {
  display: block;
  height: 1px;
  background: var(--green);
}

.filter-button span:nth-child(1) {
  width: 15px;
}

.filter-button span:nth-child(2) {
  width: 9px;
}

.filter-button span:nth-child(3) {
  width: 4px;
}

.art-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(260px, 0.82fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.art-card-small {
  margin-top: 92px;
}

.art-image {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(40, 51, 29, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent 34%),
    #e6ded1;
  box-shadow: 0 20px 60px rgba(40, 51, 29, 0.1);
}

.art-card-large .art-image {
  min-height: 520px;
}

.art-image img,
.artist-photo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-image img[src=""],
.artist-photo img[src=""] {
  display: none;
}

.art-image img:not([src]),
.artist-photo img:not([src]) {
  display: none;
}

.art-image img.is-missing,
.artist-photo img.is-missing {
  display: none;
}

.art-image img.is-loaded + .image-placeholder,
.artist-photo img.is-loaded + .image-placeholder {
  display: none;
}

.art-image img + .image-placeholder,
.artist-photo img + .image-placeholder {
  display: grid;
}

.art-image img[src] + .image-placeholder,
.artist-photo img[src] + .image-placeholder {
  display: grid;
}

.image-placeholder {
  position: absolute;
  inset: 42px;
  z-index: 1;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(154, 112, 72, 0.42);
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.62), rgba(255, 250, 241, 0.2)),
    repeating-linear-gradient(135deg, rgba(40, 51, 29, 0.12) 0 1px, transparent 1px 13px),
    #d8d0c1;
  color: rgba(40, 51, 29, 0.78);
  text-align: center;
  box-shadow:
    inset 0 0 0 12px rgba(255, 250, 241, 0.7),
    inset 0 0 0 16px rgba(154, 112, 72, 0.36);
}

.image-placeholder::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(40, 51, 29, 0.2);
  content: "";
}

.image-placeholder span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
}

.image-placeholder small {
  max-width: 220px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.quote-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  min-width: 190px;
  padding: 17px 22px;
  border: 1px solid rgba(40, 51, 29, 0.08);
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transform: translate(-50%, -40%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease, transform 400ms ease, background 200ms ease;
}

.quote-button:hover {
  background: #fff;
}

.art-image:hover .quote-button {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.art-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-bottom: 1px solid rgba(40, 51, 29, 0.12);
}

.art-meta h3 {
  font-size: clamp(24px, 2.3vw, 34px);
  letter-spacing: -0.04em;
}

.art-meta p {
  margin-top: 6px;
  padding-bottom: 26px;
  color: rgba(23, 23, 23, 0.62);
}

.art-meta span {
  margin-bottom: 26px;
  padding: 10px 12px;
  background: rgba(176, 134, 69, 0.08);
  color: var(--wood);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.artist {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(330px, 1fr);
  gap: clamp(54px, 10vw, 150px);
  align-items: center;
  padding-block: clamp(86px, 12vw, 160px);
  background:
    linear-gradient(90deg, rgba(40, 51, 29, 0.035) 1px, transparent 1px),
    #f4efe7;
  background-size: 72px 72px;
}

.artist h2 {
  margin-bottom: 34px;
}

.artist p {
  max-width: 560px;
  color: rgba(23, 23, 23, 0.78);
  font-size: 16px;
  line-height: 1.85;
}

.artist p + p {
  margin-top: 28px;
  color: rgba(23, 23, 23, 0.6);
}

.artist-stats {
  display: flex;
  gap: clamp(42px, 7vw, 110px);
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid rgba(40, 51, 29, 0.16);
}

.artist-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
}

.artist-stats span {
  color: rgba(23, 23, 23, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artist-visual {
  position: relative;
  width: min(100%, 560px);
  justify-self: end;
}

.artist-photo {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(40, 51, 29, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 34%),
    #e7e0d5;
  box-shadow: 0 28px 80px rgba(40, 51, 29, 0.16);
}

.artist-photo .image-placeholder {
  inset: 30px;
  background:
    radial-gradient(circle at 50% 38%, rgba(40, 51, 29, 0.16) 0 42px, transparent 43px),
    linear-gradient(180deg, transparent 0 48%, rgba(40, 51, 29, 0.12) 49% 72%, transparent 73%),
    #ddd4c7;
  box-shadow:
    inset 0 0 0 9px rgba(255, 250, 241, 0.64),
    inset 0 0 0 12px rgba(154, 112, 72, 0.28);
}

.process {
  padding-block: clamp(74px, 10vw, 120px);
  background: var(--paper);
}

.process .section-kicker {
  color: var(--green-soft);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.process article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(40, 51, 29, 0.14);
  background: rgba(255, 255, 255, 0.34);
}

.process article span {
  color: var(--gold);
  font-weight: 800;
}

.process h3 {
  margin: 66px 0 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 0.98;
}

.process p {
  color: rgba(23, 23, 23, 0.62);
  line-height: 1.7;
}

.testimonials {
  padding-block: clamp(74px, 10vw, 120px);
  background: var(--paper);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

blockquote {
  min-height: 220px;
  padding: 34px;
  border: 1px solid rgba(40, 51, 29, 0.12);
  background: rgba(255, 255, 255, 0.36);
  color: #2d2d2d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

cite {
  display: block;
  margin-top: 24px;
  color: var(--green-soft);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 9vw, 140px);
  padding-block: clamp(84px, 12vw, 150px);
  border-top: 1px solid rgba(40, 51, 29, 0.1);
  background: var(--paper);
}

.contact h2 {
  margin-bottom: 28px;
}

.contact-copy > p {
  max-width: 460px;
  color: rgba(23, 23, 23, 0.7);
  line-height: 1.75;
}

.contact-lines {
  display: grid;
  gap: 24px;
  margin-top: 54px;
}

.contact-lines div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(40, 51, 29, 0.14);
  color: var(--wood);
}

.contact-lines p {
  color: var(--ink);
  line-height: 1.45;
}

.contact-lines small {
  display: block;
  margin-bottom: 5px;
  color: rgba(23, 23, 23, 0.56);
}

.contact-form {
  display: grid;
  gap: 34px;
  padding: clamp(34px, 5vw, 52px);
  border: 1px solid rgba(40, 51, 29, 0.13);
  background: rgba(255, 255, 255, 0.22);
}

.contact-form label {
  display: grid;
  gap: 14px;
}

.contact-form span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(40, 51, 29, 0.14);
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 0 0 16px;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form button {
  min-height: 58px;
  border: 0;
  background: var(--ink);
  box-shadow: 0 14px 32px rgba(23, 23, 23, 0.14);
  color: var(--paper-soft);
  font-weight: 800;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  padding-block: 90px 28px;
  border-top: 1px solid rgba(40, 51, 29, 0.1);
  background: #f4efe7;
}

.footer-logo {
  display: block;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.footer p {
  max-width: 330px;
  color: rgba(23, 23, 23, 0.58);
  line-height: 1.7;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.footer-columns div {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-columns strong {
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-columns a {
  color: rgba(23, 23, 23, 0.64);
}

.socials {
  display: flex !important;
  flex-direction: row;
  gap: 10px !important;
}

.socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(40, 51, 29, 0.15);
  color: var(--green);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid rgba(40, 51, 29, 0.1);
  color: rgba(23, 23, 23, 0.52);
  font-size: 12px;
}

@media (max-width: 900px) {
  :root {
    --page-x: 24px;
    --header-x: 16px;
  }

  .header {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    height: 64px;
    padding: 0 16px 0 20px;
    border-radius: 32px;
  }

  .logo {
    font-size: 19px;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(23, 23, 23, 0.18);
    border-radius: 10px;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  nav,
  .header-button {
    display: none;
  }

  nav.is-open {
    position: fixed;
    top: 88px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: 16px;
    background: var(--paper-soft);
    box-shadow: var(--shadow);
  }

  nav.is-open a {
    padding: 16px;
  }

  .hero-content {
    max-width: 520px;
    margin-left: var(--page-x);
    margin-right: 24px;
    padding-top: 128px;
  }

  .featured-head,
  .art-grid,
  .artist,
  .contact,
  .footer {
    grid-template-columns: 1fr;
  }

  .art-grid,
  .process-list,
  .testimonial-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .featured-head {
    display: grid;
    margin-bottom: 46px;
  }

  .art-card-small {
    margin-top: 0;
  }

  .art-card-large .art-image,
  .art-image,
  .artist-photo {
    min-height: 430px;
  }

  .artist-visual {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(247, 243, 236, 0.94) 0%,
      rgba(247, 243, 236, 0.78) 58%,
      rgba(247, 243, 236, 0.2) 100%
    );
  }

  h1 {
    font-size: 48px;
  }

  .subtitle {
    font-size: 16px;
  }

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

  .primary,
  .secondary {
    width: fit-content;
  }

  .image-placeholder {
    inset: 18px;
  }

  .art-meta {
    align-items: start;
    flex-direction: column;
  }

  .art-meta p,
  .art-meta span {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .artist-stats,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .contact-form {
    padding: 28px;
  }

  .process article {
    min-height: 250px;
  }
}

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal="delay"] {
  transition-delay: 0.15s;
}

[data-reveal="delay-2"] {
  transition-delay: 0.3s;
}

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

/* Parallax */
[data-parallax] {
  transform: scale(1.15); /* Provide extra image area for parallax movement */
  will-change: transform;
  transition: transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
