/* ==========================================================================
   PAGE-LEVEL SECTIONS
   ========================================================================== */

/* --------------------------------------------------------------------------
   HOME — HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 128px);
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(205,191,72,.14) 0%, transparent 58%),
    radial-gradient(90% 80% at 8% 92%, rgba(163,143,46,.09) 0%, transparent 55%),
    var(--bone);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__title { margin-block: var(--sp-2) var(--sp-3); }
.hero__lede { max-width: 46ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: var(--sp-4);
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.hero__cue { margin-top: var(--sp-5); }

/* Layered artwork stack — 4 z-planes */
.hero__stack {
  position: relative;
  aspect-ratio: 5 / 6;
  perspective: 1400px;
}
.hero__plate {
  position: absolute;
  transform-style: preserve-3d;
}
.hero__plate--main {
  inset: 6% 8% 10% 12%;
  z-index: 3;
}
.hero__plate--main .frame { height: 100%; }
.hero__plate--main .frame__inner { height: 100%; }
.hero__plate--back {
  top: 0; right: 0;
  width: 42%;
  z-index: 2;
  opacity: .95;
}
.hero__plate--front {
  bottom: 0; left: 0;
  width: 38%;
  z-index: 4;
}
.hero__plate--back .frame__inner  { aspect-ratio: 3 / 4; }
.hero__plate--front .frame__inner { aspect-ratio: 4 / 5; }

.hero .float--a { top: 4%;  right: 2%; }
.hero .float--b { bottom: 6%; left: -2%; }
.hero .float--c { top: 30%; left: 46%; z-index: 1; }

/* --------------------------------------------------------------------------
   TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--bone-200);
}

/* --------------------------------------------------------------------------
   SERVICES
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
}
/* Asymmetric: 2 wide cards on row 1, 3 on row 2 */
.services-grid > :nth-child(1) { grid-column: span 3; }
.services-grid > :nth-child(2) { grid-column: span 3; }
.services-grid > :nth-child(3),
.services-grid > :nth-child(4),
.services-grid > :nth-child(5) { grid-column: span 2; }
.services-grid > :nth-child(1) .card__media,
.services-grid > :nth-child(2) .card__media { aspect-ratio: 16 / 10; }

/* --------------------------------------------------------------------------
   THE CRAFT — pinned process rail
   -------------------------------------------------------------------------- */
/* Kept to a standard plate size — a square opening at a readable scale rather
   than a full-height crop that swallows the column. */
.craft__media {
  position: relative;
  max-width: 440px;
}
.craft__sticky { position: sticky; top: calc(var(--header-h) + 40px); }

.process { position: relative; padding-left: 46px; }
.process::before {
  content: "";
  position: absolute;
  left: 15px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--line-strong);
}
.process__fill {
  position: absolute;
  left: 15px; top: 12px;
  width: 1px;
  background: var(--grad-gilt);
  transform-origin: top;
  transform: scaleY(var(--p, 0));
  transition: transform 260ms linear;
}
.step { position: relative; padding-block: clamp(20px, 3vw, 34px); }
.step::before {
  content: "";
  position: absolute;
  left: -37px; top: calc(clamp(20px, 3vw, 34px) + 8px);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bone);
  box-shadow: 0 0 0 1.5px var(--line-strong);
  transition: background-color var(--t-base) ease, box-shadow var(--t-base) ease, transform var(--t-base) var(--ease-back);
}
.step.is-active::before {
  background: var(--gilt);
  box-shadow: 0 0 0 1.5px var(--gilt), 0 0 0 7px rgba(205,191,72,.2);
  transform: scale(1.15);
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  color: var(--gilt-deep);
  margin-bottom: 6px;
  display: block;
}
.on-ink .step__num { color: var(--gilt); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: var(--fs-sm); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   GALLERY — masonry
   -------------------------------------------------------------------------- */
.masonry {
  columns: 4;
  column-gap: var(--sp-3);
}
.masonry > * {
  break-inside: avoid;
  margin-bottom: var(--sp-3);
  display: block;
}
.masonry-3 { columns: 3; }

.art {
  position: relative;
  cursor: pointer;
  display: block;
}
.art .frame__inner { display: block; }
.art__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 11px;
}
.art__title { font-family: var(--font-display); font-size: var(--fs-sm); color: var(--ink); }
.on-ink .art__title { color: #F0ECE3; }
.art__artist { font-size: var(--fs-xs); color: var(--text-muted); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 60px);
  background: rgba(10,9,11,.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow) var(--ease-out), visibility var(--t-slow);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig {
  max-width: min(1100px, 100%);
  transform: scale(.94);
  transition: transform 480ms var(--ease-out);
}
.lightbox.is-open .lightbox__fig { transform: scale(1); }
.lightbox img { max-height: 76dvh; width: auto; margin-inline: auto; object-fit: contain; }
.lightbox figcaption {
  text-align: center;
  padding-top: var(--sp-2);
  color: #CFC9BE;
  font-size: var(--fs-sm);
}
.lightbox figcaption b { color: var(--gilt); font-weight: 600; }
.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: #EFEBE2;
  border: 1px solid rgba(205,191,72,.32);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  transition: background-color var(--t-base) ease, transform var(--t-base) ease;
}
.lightbox__btn:hover { background: rgba(205,191,72,.2); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__prev { left: 22px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 22px; top: 50%; margin-top: -26px; }

/* --------------------------------------------------------------------------
   CLASSES — snap carousel
   -------------------------------------------------------------------------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(268px, 1fr);
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-2);
  scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
.rail-4 { grid-auto-columns: minmax(0, calc((100% - 3 * var(--sp-3)) / 4)); }
.rail-3 { grid-auto-columns: minmax(0, calc((100% - 2 * var(--sp-3)) / 3)); }

.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color var(--t-base) ease, border-color var(--t-base) ease, transform var(--t-base) ease;
}
.on-ink .rail-btn { color: #EFEBE2; border-color: rgba(205,191,72,.28); }
.rail-btn:hover { background: var(--gilt); border-color: var(--gilt); color: var(--ink); transform: translateY(-2px); }
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn[disabled] { opacity: .35; pointer-events: none; }

.class-card .card__media { aspect-ratio: 3 / 4; }
.class-card__price {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--gilt-deep);
}
.on-ink .class-card__price { color: var(--gilt); }
.class-card__meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.class-card__meta span { display: flex; align-items: center; gap: 7px; }
.class-card__meta svg { width: 13px; height: 13px; color: var(--brass); flex: none; }

/* --------------------------------------------------------------------------
   INSTAGRAM STRIP
   -------------------------------------------------------------------------- */
.ig-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.ig-strip a {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}
.ig-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-image) var(--ease-out), filter var(--t-slow) ease; }
.ig-strip a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14,13,16,.42);
  opacity: 0;
  transition: opacity var(--t-slow) ease;
}
.ig-strip a:hover img { transform: scale(1.09); }
.ig-strip a:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band__inner { position: relative; z-index: 2; max-width: 780px; margin-inline: auto; }
.cta-band h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
.cta-band .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-4);
}
.cta-band .float--ring { top: -14%; left: 50%; margin-left: -13%; }

/* --------------------------------------------------------------------------
   INNER PAGE HERO
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 6vw, 92px) clamp(48px, 6vw, 84px);
  background:
    radial-gradient(100% 120% at 88% 0%, rgba(205,191,72,.13) 0%, transparent 60%),
    var(--bone-200);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 900px; }
.page-hero__lede { margin-top: var(--sp-3); }
.page-hero .float--a { top: 12%; right: 4%; }
.page-hero .float--b { bottom: -8%; right: 22%; }

/* --------------------------------------------------------------------------
   TEAM
   -------------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.member { text-align: center; }
.member .frame { margin-bottom: var(--sp-3); }
.member .frame__inner { aspect-ratio: 1; border-radius: 50%; }
.member__name { font-size: var(--fs-h4); }
.member__role {
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gilt-deep);
  margin-top: 5px;
}
.on-ink .member__role { color: var(--gilt); }
.member__since { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 4px; }

/* --------------------------------------------------------------------------
   EVENTS
   -------------------------------------------------------------------------- */
.event {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--t-base) ease;
}
.event:hover { background: rgba(205,191,72,.05); }
.event__date {
  text-align: center;
  padding: 14px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper);
}
.on-ink .event__date { background: rgba(255,255,255,.05); border-color: rgba(205,191,72,.22); }
.event__month {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gilt-deep);
  font-weight: 600;
}
.on-ink .event__month { color: var(--gilt); }
.event__day {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--ink);
}
.on-ink .event__day { color: #F0ECE3; }
.event__body h3 { margin-bottom: 6px; }
.event__body p { font-size: var(--fs-sm); color: var(--text-muted); }
.event__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 9px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event__meta svg { width: 13px; height: 13px; color: var(--brass); }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.form-panel {
  position: relative;
  padding: clamp(26px, 3.4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lift);
}
.contact-aside { display: flex; flex-direction: column; gap: var(--sp-3); }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color var(--t-base) ease, transform var(--t-base) var(--ease-out), box-shadow var(--t-base) ease;
}
a.contact-item:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact-item__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(205,191,72,.14);
  color: var(--gilt-deep);
}
.contact-item__icon svg { width: 19px; height: 19px; }
.contact-item__label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 3px;
}
.contact-item__value { font-weight: 600; color: var(--ink); font-size: var(--fs-sm); }

/* Form section over a framed workshop photo */
.inquiry {
  position: relative;
  overflow: hidden;
}
.inquiry__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.inquiry__bg img { width: 100%; height: 100%; object-fit: cover; }
.inquiry__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(14,13,16,.93) 0%, rgba(14,13,16,.8) 46%, rgba(14,13,16,.62) 100%);
}
.inquiry > .container { position: relative; z-index: 2; }
.inquiry .form-panel {
  background: rgba(246,242,234,.95);
  border-color: rgba(255,255,255,.7);
}

/* --------------------------------------------------------------------------
   PRICING / VALUE PACKAGE
   -------------------------------------------------------------------------- */
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out), border-color var(--t-slow) ease;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(163,143,46,.42); }
.offer.is-featured {
  border-color: var(--gilt);
  box-shadow: var(--shadow-lift), 0 0 0 1px var(--gilt);
}
.on-ink .offer { background: rgba(255,255,255,.05); border-color: rgba(205,191,72,.18); }
.offer__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--ink);
  line-height: 1;
}
.on-ink .offer__price { color: var(--gilt); }
.offer ul { display: flex; flex-direction: column; gap: 11px; margin-block: var(--sp-1); }
.offer li {
  display: flex;
  gap: 11px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
}
.offer li svg { width: 17px; height: 17px; flex: none; color: var(--brass); margin-top: 3px; }

/* --------------------------------------------------------------------------
   MATERIALS / SPEC LIST
   -------------------------------------------------------------------------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4) var(--sp-5); }
.spec { padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.spec__k {
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gilt-deep);
  margin-bottom: 8px;
}
.on-ink .spec__k { color: var(--gilt); }
.spec p { font-size: var(--fs-sm); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   UTILITY PAGES (404 / thank-you)
   -------------------------------------------------------------------------- */
.util {
  min-height: 72dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.util__inner { position: relative; z-index: 2; max-width: 620px; }
.util__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: .9;
  color: var(--gilt);
  opacity: .28;
  margin-bottom: var(--sp-2);
}
.util .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: var(--sp-4); }
.util .float--c { top: 18%; right: 12%; }
