:root {
  --ink: #151311;
  --paper: #f2eee8;
  --muted: rgba(21, 19, 17, 0.72);
  --line: rgba(21, 19, 17, 0.14);
  --veil: rgba(242, 238, 232, 0.78);
  --veil-strong: rgba(242, 238, 232, 0.92);
  --scrim: rgba(14, 12, 11, 0.82);
  --accent: #6e2a24;
  --white: #faf7f2;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  background: var(--paper);
}

body.lightbox-open {
  overflow: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("images/palette.jpg?v=20260922b") center / cover no-repeat;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 7vw, 4.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 35%,
    rgba(0, 0, 0, 0.35) 65%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  max-width: 34rem;
  color: var(--white);
  animation: rise 0.95s ease-out both;
}

.brand {
  margin: 0 0 0.85rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.25rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  animation: rise 0.95s ease-out 0.06s both;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  animation: rise 0.95s ease-out 0.14s both;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 26rem;
  color: rgba(250, 247, 242, 0.86);
  font-size: 1.02rem;
  line-height: 1.55;
  animation: rise 0.95s ease-out 0.22s both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  animation: rise 0.95s ease-out 0.3s both;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.3rem;
  border: 1px solid transparent;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}

.text-link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 247, 242, 0.45);
  padding-bottom: 0.12rem;
  transition: border-color 0.2s ease;
}

.text-link:hover {
  border-bottom-color: var(--white);
}

.scroll-cue {
  position: absolute;
  right: clamp(1.5rem, 5vw, 3.5rem);
  bottom: clamp(2.5rem, 7vw, 4.5rem);
  color: rgba(250, 247, 242, 0.8);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  animation: rise 0.95s ease-out 0.4s both;
}

.prints {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3.5rem);
  background: var(--veil-strong);
  backdrop-filter: blur(10px);
}

.prints-inner {
  max-width: 70rem;
  margin-inline: auto;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.print-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.5vw, 1.5rem);
  align-items: start;
}

@media (min-width: 760px) {
  .print-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.print-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.print-frame {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #d8d2c8;
}

.print-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease;
}

.print-tile:hover .print-frame img,
.print-tile:focus-visible .print-frame img {
  transform: scale(1.04);
}

.print-tile:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.print-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.print-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.print-sizes {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 2rem clamp(1.5rem, 5vw, 3.5rem) 2.75rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.1rem;
}

.footer-links a:hover {
  border-bottom-color: var(--ink);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--scrim);
  color: var(--white);
  animation: fade 0.25s ease both;
}

.lightbox-close {
  justify-self: end;
  margin: 1rem 1rem 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(250, 247, 242, 0.35);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox-stage {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  margin: 0.5rem 0;
}

.lightbox-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.lightbox-slide {
  flex: 0 0 100%;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 0 clamp(2.5rem, 8vw, 5rem);
}

.lightbox-slide img {
  max-width: min(100%, 52rem);
  max-height: min(78vh, 52rem);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.lightbox-nav {
  position: absolute;
  top: 48%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(250, 247, 242, 0.35);
  background: rgba(14, 12, 11, 0.35);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav.prev {
  left: 0.75rem;
}

.lightbox-nav.next {
  right: 0.75rem;
}

.lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  background: rgba(14, 12, 11, 0.72);
}

.lightbox-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
}

.lightbox-sizes {
  margin: 0;
  color: rgba(250, 247, 242, 0.75);
  font-size: 0.88rem;
}

.lightbox-inquire {
  margin-left: auto;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 247, 242, 0.45);
  padding-bottom: 0.1rem;
}

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

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .lightbox-track {
    transition: none;
  }
}
