@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Jost:wght@300;400;500&display=swap');

:root {
  --black: #1c1a17;
  --gray: #8a8378;
  --line: #e7e2d8;
  --bg: #fbf9f5;
  --accent: #a8895f;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .lightbox-info h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(80px) scale(0.97);
  transition: opacity 1.1s cubic-bezier(.22,.61,.36,1), transform 1.1s cubic-bezier(.22,.61,.36,1);
}

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

.work:nth-child(3n+2).reveal { transition-delay: 0.12s; }
.work:nth-child(3n+3).reveal { transition-delay: 0.24s; }

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 52px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 0.9;
  color: var(--black);
}

nav a {
  margin-left: 32px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s;
}

nav a:hover, nav a.active { color: var(--accent); }

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: -1;
}

.hero h1 {
  font-size: clamp(48px, 9vw, 110px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.hero .rule {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 28px 0;
}

.hero p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--gray);
  font-style: italic;
  max-width: 700px;
}
.scroll-hint {
  position: absolute;
  bottom: 36px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Section headers */
.section-title {
  max-width: 1400px;
  margin: 0 auto;
  padding: 90px 40px 30px;
}

.section-title h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 1px;
  background: var(--accent);
}

/* Grid */
.grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
}

.work {
  cursor: pointer;
}

.work figure {
  background: #f1eee7;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
  pointer-events: none;
}

.work:hover figure::after {
  border-color: var(--accent);
}

.photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(28,26,23,0.72);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  z-index: 2;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.22,.61,.36,1);
}

.work:hover img {
  transform: scale(1.045);
}

.work .meta-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.work .meta-sub {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 5px;
}

.work .meta-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-top: 8px;
  display: inline-block;
  transition: font-size 0.4s cubic-bezier(.22,.61,.36,1), letter-spacing 0.4s cubic-bezier(.22,.61,.36,1);
}

.work .meta-price:hover {
  font-size: 22px;
  letter-spacing: 0.05em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 60px 40px;
   overflow-y: auto;
}

.lightbox.active { display: flex; }

.lightbox-content {
  max-width: 1100px;
  width: 100%;
  display: flex;
  gap: 60px;
  align-items: center;
}

.lightbox img {
  max-width: 60%;
  max-height: 80vh;
  object-fit: contain;
  flex-shrink: 0;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 60%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
}

.lightbox img.cyclable {
  cursor: pointer;
}

.lightbox-imgcount {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.lightbox-info h3 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 14px;
}

.lightbox-info p {
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.lightbox-detail {
  color: var(--gray);
  opacity: 0.8;
  font-size: 11px !important;
}

.lightbox-price {
  color: var(--accent) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic;
  font-weight: 500 !important;
  font-size: 24px !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  margin-top: 14px !important;
  display: inline-block;
  transition: font-size 0.4s cubic-bezier(.22,.61,.36,1), letter-spacing 0.4s cubic-bezier(.22,.61,.36,1);
}

.lightbox-price:hover {
  font-size: 29px !important;
  letter-spacing: 0.05em !important;
}
.shipping-note {
  margin-top: 12px;
  max-width: 300px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px !important;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: var(--gray) !important;
}
.lightbox-info .rule {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 16px 0 20px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--black);
  font-family: inherit;
}

.lightbox-close { top: 32px; right: 40px; font-size: 28px; }
.lightbox-prev { left: 40px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.lightbox-next { right: 40px; top: 50%; transform: translateY(-50%); font-size: 36px; }

/* Custom cursor — an open loop, echoing the carved rings that recur
   throughout the collection (Waves, Wonder, Unending I & II, Interlocking
   Forms). A precise point at the center, a slow-turning ring trailing it. */
.has-custom-cursor,
.has-custom-cursor * {
  cursor: none !important;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: transform;
}

.cursor-dot.active { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.45s cubic-bezier(.22,.61,.36,1), height 0.45s cubic-bezier(.22,.61,.36,1), opacity 0.25s ease;
  will-change: transform;
}

.cursor-ring.active { width: 54px; height: 54px; }

.cursor-ring-spin {
  width: 100%;
  height: 100%;
  animation: cursor-spin 16s linear infinite;
}

@keyframes cursor-spin {
  to { transform: rotate(360deg); }
}

.cursor-ring svg { width: 100%; height: 100%; display: block; overflow: visible; }

.cursor-ring-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  transition: stroke-width 0.35s ease;
}

.cursor-ring-fill {
  fill: var(--accent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cursor-ring.active .cursor-ring-path { stroke-width: 3.2; }
.cursor-ring.active .cursor-ring-fill { opacity: 0.16; }

@media (prefers-reduced-motion: reduce) {
  .cursor-ring-spin { animation: none; }
  .cursor-dot, .cursor-ring { transition: none; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* About / Footer */
.about {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 40px 140px;
  text-align: center;
}

.about h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.about p {
  font-size: 21px;
  font-weight: 300;
  line-height: 1.75;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.about .rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 28px;
}

.shipping {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px 140px;
  text-align: center;
}

.shipping h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.shipping p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.shipping .rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 28px;
}
  
footer {
  border-top: 1px solid var(--line);
  padding: 48px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  header { padding: 20px; }
  nav a { margin-left: 18px; font-size: 11px; }
  .lightbox-content { flex-direction: column; gap: 24px; }
  .lightbox-img-wrap { max-width: 100%; }
  .lightbox img { max-width: 100%; max-height: 50vh; }
}

@media (max-width: 560px) {
  .logo {
    font-size: 27px;
    letter-spacing: 0.07em;
  }

  nav a {
    margin-left: 8px;
    font-size: 9px;
  }
  footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

footer a:hover {
  opacity: 0.6;
}
}
