:root {
  --bg: #faf9f6;
  --bg-warm: #f4f0e6;
  --text: #191918;
  --text-muted: #6b6963;
  --border: #e2ded6;
  --border-dark: #191918;
  --accent: #191918;
  --footer: #141413;
  --footer-text: #f4f0e6;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 136px;

  --gutter: 64px;
  --max-width: 1360px;
  --transition: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: var(--space-2) var(--space-3);
  z-index: 100;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 222, 214, 0.6);
  transition: background-color var(--transition);
}

.page-about .site-header {
  background: rgba(244, 240, 230, 0.92);
  border-bottom-color: rgba(217, 213, 203, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(24px, 3vw, 36px);
}

.brand {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}

.brand:hover {
  opacity: 0.75;
}

.site-nav {
  display: flex;
  gap: clamp(24px, 3.5vw, 44px);
}

.site-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease-editorial);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- Gallery ---------- */

.gallery {
  list-style: none;
  margin: var(--space-4) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4) var(--space-2);
}

.card figure {
  margin: 0;
}

.card-media {
  overflow: hidden;
  background: #fbf9f6;
  position: relative;
}

/* Works are portrait and landscape both — contain so nothing is cropped. */
.card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 700ms var(--ease-editorial), filter 700ms var(--ease-editorial);
}

.card:hover img {
  transform: scale(1.035);
}

.card figcaption {
  padding-top: var(--space-3);
  text-align: center;
}

.card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-artist {
  margin: var(--space-1) 0 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.note {
  text-align: center;
  color: var(--text-muted);
}

/* ---------- About ---------- */

.page-about {
  background: var(--bg-warm);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  min-height: calc(100vh - 106px);
}

.split-text {
  padding: clamp(48px, 6vw, 96px) clamp(40px, 6vw, 104px) clamp(48px, 6vw, 96px) var(--gutter);
}

.split-text p {
  color: #3e3d38;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  margin: 0 0 22px;
}

.split-image {
  align-self: stretch;
  min-height: clamp(440px, 65vh, 720px);
  overflow: hidden;
  position: relative;
  background: #f4f0e6;
  padding: 4rem;
}

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

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--accent);
  margin: 0 0 var(--space-4);
}

.eyebrow,
.contact-label,
.footer-label {
  margin: 0 0 var(--space-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Editorial Entrance Reveal Animation (About Us) */

.about-reveal .reveal-image {
  animation: editorial-mask-reveal 1200ms var(--ease-editorial) both;
}

.about-reveal .reveal-image img {
  animation: editorial-image-settle 1400ms var(--ease-editorial) both;
}

.about-reveal .reveal-item {
  animation: editorial-text-reveal 1000ms var(--ease-editorial) both;
}

.about-reveal .reveal-item:nth-child(1) {
  animation-delay: 150ms;
}

/* Eyebrow */
.about-reveal .reveal-item:nth-child(2) {
  animation-delay: 280ms;
}

/* Page Title */
.about-reveal .reveal-item:nth-child(3) {
  animation-delay: 420ms;
}

/* Paragraph 1 */
.about-reveal .reveal-item:nth-child(4) {
  animation-delay: 540ms;
}

/* Paragraph 2 */
.about-reveal .reveal-item:nth-child(5) {
  animation-delay: 660ms;
}

/* Paragraph 3 */

@keyframes editorial-mask-reveal {
  0% {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes editorial-image-settle {
  0% {
    transform: scale(1.12) translateY(-15px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes editorial-text-reveal {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Contact ---------- */

.page-contact {
  background: #f8f7f4;
}

.contact-page {
  padding-top: 2rem;
  padding-bottom: var(--space-7);
}

.contact-heading {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
}

.contact-heading .eyebrow {
  color: var(--text-muted);
}

.contact-heading .page-title {
  margin: 0;
  font-size: 2rem;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5);
  padding: 2rem;
  max-width: 50%;
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
}

.contact-link {
  font-family: var(--font-serif);
  position: relative;
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--text-muted);
  transform: translateX(4px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr);
}

.contact-art {
  margin: 0;
  padding-right: clamp(28px, 6vw, 92px);
}

.contact-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.8) contrast(.96);
}

.contact-art figcaption {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: .08em;
}

.contact-form-panel {
  border-left: 1px solid var(--border);
  padding-left: clamp(32px, 7vw, 112px);
}

.contact-intro {
  max-width: 430px;
  margin-bottom: 2rem;
}

.contact-intro .eyebrow {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
}

.contact-intro h2 {
  margin: 0 0 var(--space-2);
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}

.contact-intro p:last-child {
  margin: 0;
  color: #4a4a47;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
}

.field {
  margin-bottom: var(--space-4);
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--space-2) 0;
  font: inherit;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  transition: border-color var(--transition), background-color var(--transition);
}

.field textarea {
  resize: vertical;
}

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

.btn {
  align-self: flex-start;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--text);
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.form-status {
  min-height: 1.7em;
  margin: var(--space-2) 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 2rem 6rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-kicker {
  margin: 0 0 var(--space-2);
  color: #9c9990;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 2vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  display: inline-block;
  transition: opacity var(--transition);
}

.footer-title:hover {
  opacity: 0.85;
}

.footer-contact,
.footer-nav {
  display: flex;
  flex-direction: column;
  align-self: end;
  gap: 6px;
  font-size: 13px;
  line-height: 1.6;
  justify-self :center;
}

.footer-label {
  color: #9c9990;
}

.footer-contact a,
.footer-nav a,
.footer-base a {
  width: fit-content;
  color: #f4f0e6;
  position: relative;
  transition: color var(--transition);
}

.footer-contact a::after,
.footer-nav a::after,
.footer-base a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #f4f0e6;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-editorial);
}

.footer-contact a:hover,
.footer-nav a:hover,
.footer-base a:hover {
  color: #ffffff;
}

.footer-contact a:hover::after,
.footer-nav a:hover::after,
.footer-base a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-base {
  display: flex;
  justify-content: center;
  max-width: var(--max-width);
  margin: clamp(56px, 0.5vw, 120px) auto 0;
  padding-top: var(--space-3);
  border-top: 1px solid #333330;
  color: #9c9990;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.footer-social {
  display: flex;
  flex-wrap:wrap;
  align-items: center;
  gap: 16px;
  justify-content :center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: inherit;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.footer-address {
  display: block;
  width: 100%;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #c5c0b6;
  text-align: center;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.6);
  opacity: 0.85;
}

.footer-phone {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* ---------- Motion & Accessibility ---------- */

.fade-in {
  animation: fade-in 700ms var(--ease-editorial) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .about-reveal .reveal-image,
  .about-reveal .reveal-image img,
  .about-reveal .reveal-item {
    animation: simple-fade 300ms ease both !important;
    clip-path: none !important;
  }

  @keyframes simple-fade {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }
}


/* About page — centered, image-free layout */
.page-about .about-page-content {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 100px 24px 110px;
  box-sizing: border-box;
}

.page-about .about-text {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  text-align: justify;
}

.page-about .about-text .eyebrow {
  text-align: center;
  margin-bottom: 20px;
}

.page-about .about-text .page-title {
  text-align: center;
  margin-bottom: 36px;
}

.page-about .about-text > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.95;
  font-weight: 300;
  margin: 0 auto 24px;
  max-width: 780px;
}

.page-about .about-text strong {
  font-weight: 500;
}

/* Responsive spacing */
@media screen and (max-width: 749px) {
  .page-about .about-page-content {
    padding: 64px 22px 72px;
  }

  .page-about .about-text .page-title {
    margin-bottom: 26px;
  }

  .page-about .about-text > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 20px;
  }
}
