/* SC Trinkets shared stylesheet, used by index.html and privacy.html */

:root{
  --bg-base:        #17120F;
  --bg-surface:     #1F1814;
  --bg-surface-2:   #241B16;
  --rose-red:       #E5142E;
  --rose-pink:      #F590B0;
  --magenta:        #EE5A96;
  --sky-blue:       #5CC0DC;
  --gold:           #EE9E1E;
  --olive:          #84942C;
  --vine-brown:     #B89569;
  --cream:          #F2E8DC;
  --tan:            #B8A890;
  --font-display:   'Fraunces', serif;
  --font-body:      'Inter', sans-serif;
}

*{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
}
body{
  margin:0;
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  background: var(--bg-base);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: var(--gold); text-decoration: none; }
a:hover{ text-decoration: underline; }
:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.5em;
  color: var(--cream);
}
h1{ font-size: 2rem; margin-bottom: 0.3em; }
h2{ font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3{ font-size: 1.25rem; }
.eyebrow{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4em;
  display: block;
}
p{ color: var(--tan); }
.lede{ color: var(--cream); font-size: 1.1rem; }

.wrap{ max-width: min(1080px, 92vw); margin: 0 auto; padding: 0 clamp(20px, 3vw, 32px); }
body.privacy .wrap{ max-width: min(720px, 92vw); padding: 90px clamp(20px, 3vw, 32px) 100px; }

section{ padding: clamp(72px, 8vw, 96px) 0; position: relative; width: 100%; }
section + section{ border-top: 1px solid rgba(184,168,144,0.12); }

.stitch{
  height: 10px;
  background-image: repeating-linear-gradient(100deg, var(--vine-brown) 0 10px, transparent 10px 20px);
  opacity: 0.55;
  width: 64px;
  margin: 0 0 28px;
}
.stitch.center{ margin: 0 auto 28px; }

nav{
  position: fixed; top:0; left:0; right:0; width: 100%;
  z-index: 50;
  display:flex; align-items:center; justify-content: space-between;
  padding: 18px clamp(20px, 3vw, 36px);
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
nav.solid{
  background: rgba(23,18,15,0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(184,168,144,0.15);
  padding: 12px 28px;
}
.nav-mark{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--cream);
}
.nav-mark span{ color: var(--magenta); font-style: normal; }
.nav-links{ display:flex; gap: 22px; flex-wrap: wrap; list-style:none; margin:0; padding:0; }
.nav-links a{
  color: var(--tan); font-size: 0.92rem; font-weight: 500;
}
.nav-links a:hover{ color: var(--gold); text-decoration:none; }

#particle-hero{
  height: 720vh;
  width: 100%;
  max-width: none;
  position: relative;
  background: var(--bg-base);
}
.hero-pin{
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
#particle-canvas{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  z-index: 1;
}
.hero-stage{
  position:absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none;
  z-index: 2;
}
.hero-asset{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%, -50%);
  will-change: transform, opacity;
  user-select:none;
  -webkit-user-drag:none;
}
.hero-logo{
  width: min(920px, 58vw, 74vh);
  height: auto;
  max-width: none;
  opacity: 0;
  filter: drop-shadow(0 8px 48px rgba(229,20,46,0.18)) drop-shadow(0 2px 24px rgba(238,158,30,0.12));
}
.hero-rose-ring{
  position:absolute;
  left:50%; top:50%;
  width:0; height:0;
  pointer-events:none;
}
.hero-rose-ring .rose-sprite{
  position:absolute;
  width: clamp(72px, 5.5vw, 148px);
  height: auto;
  left:0; top:0;
  transform:translate(-50%, -50%);
  opacity:0;
  filter: drop-shadow(0 4px 18px rgba(229,20,46,0.35));
  will-change: transform, opacity;
}
.hero-needle-wrap{
  position:absolute;
  left:50%; top:50%;
  width:0; height:0;
  will-change: transform, opacity;
  opacity:0;
}
.hero-needle{
  position:absolute;
  width: clamp(100px, 8vw, 220px);
  height: auto;
  left:0; top:0;
  transform:translate(-50%, -50%);
  filter: drop-shadow(0 6px 22px rgba(238,158,30,0.45));
}
.hero-fallback{
  display:none;
  position:relative;
  text-align:center;
  padding: 0 clamp(20px, 3vw, 32px);
  width: 100%;
}
.hero-fallback img{ width: min(720px, 58vw, 74vh); margin: 0 auto 18px; }
.hero-fallback .tagline{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-size: 1.4rem;
}
.scroll-cue{
  position: fixed;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  color: var(--tan);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  opacity: 0.9;
  visibility: visible;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.scroll-cue-label{
  color: var(--cream);
  opacity: 0.9;
}
.scroll-cue-arrow{
  width: 12px; height: 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: scroll-cue-bob 1.6s ease-in-out infinite;
}
@keyframes scroll-cue-bob{
  0%, 100%{ transform: rotate(45deg) translateY(0); opacity: 0.85; }
  50%{ transform: rotate(45deg) translateY(7px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce){
  #particle-canvas{ display:none; }
  .hero-stage{ display:none; }
  .hero-fallback{ display:block; }
  .scroll-cue{ opacity: 0.9; }
  .scroll-cue-arrow{ animation: none; }
  html{ scroll-behavior: auto; }
}
.no-js .hero-fallback{ display:block; }
.no-js #particle-canvas{ display:none; }
.no-js .hero-stage{ display:none; }

.about-grid{
  display:grid; grid-template-columns: 320px 1fr; gap: 56px; align-items:start;
}
.portrait-placeholder{
  aspect-ratio: 4/5;
  border: 1.5px dashed rgba(184,168,144,0.4);
  border-radius: 6px;
  background: var(--bg-surface);
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding: 24px;
}
.portrait-photo{
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 6px;
  border: 1px solid rgba(184,168,144,0.18);
  display: block;
}
.portrait-placeholder .ph-label{ color: var(--tan); font-size: 0.85rem; }
@media (max-width: 760px){
  .nav-links{ gap: 12px; }
  .nav-links a{ font-size: 0.82rem; }
  .about-grid{ grid-template-columns: 1fr; }
  .portrait-placeholder,
  .portrait-photo{ max-width: 280px; margin: 0 auto; }
}

@media (min-width: 1800px){
  .about-grid{ grid-template-columns: min(360px, 22vw) 1fr; gap: clamp(56px, 4vw, 80px); }
  .portrait-photo{ max-width: min(360px, 22vw); }
}

.gallery-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 36px;
}
.gallery-card{
  background: var(--bg-surface);
  border-radius: 6px;
  overflow:hidden;
  border: 1px solid rgba(184,168,144,0.12);
}
.gallery-open{
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  text-align: left;
  position: relative;
}
.gallery-open:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.gallery-photo-wrap{
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #c8b89e;
  border-bottom: 1px solid rgba(184,168,144,0.12);
}
.gallery-photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.gallery-zoom-hint{
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(23,18,15,0.72);
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.gallery-open:hover .gallery-zoom-hint,
.gallery-open:focus-visible .gallery-zoom-hint{
  opacity: 1;
}
.gallery-ph{
  aspect-ratio: 1/1;
  border-bottom: 1.5px dashed rgba(184,168,144,0.3);
  display:flex; align-items:center; justify-content:center;
  color: var(--tan); font-size: 0.85rem; text-align:center; padding: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(184,168,144,0.05) 0 2px, transparent 2px 14px);
}
.gallery-cap{ padding: 14px 16px; }
.gallery-cap .title{ color: var(--cream); font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.gallery-cap .desc{ font-size: 0.85rem; margin:0; }

.gallery-lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
}
.gallery-lightbox[hidden]{ display: none; }
.gallery-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 7, 0.88);
  backdrop-filter: blur(4px);
}
.gallery-lightbox-panel{
  position: relative;
  z-index: 1;
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-lightbox-close{
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--bg-surface-2);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-lightbox-close:hover{ background: var(--gold); color: #2a1c08; }
.gallery-lightbox-img{
  max-width: min(1200px, 96vw);
  max-height: calc(92vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.45);
}
.gallery-lightbox-cap{
  margin-top: 14px;
  text-align: center;
  max-width: 640px;
}
.gallery-lightbox-cap .title{
  color: var(--cream);
  font-weight: 600;
  font-family: var(--font-display);
  margin: 0 0 4px;
}
.gallery-lightbox-cap .desc{
  color: var(--tan);
  font-size: 0.9rem;
  margin: 0;
}

.info-card, .card{
  background: var(--bg-surface);
  border: 1px solid rgba(184,168,144,0.14);
  border-radius: 8px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.info-card{ margin-bottom: 16px; }
.card{ margin: 16px 0; padding: 20px 22px; border: 1px solid rgba(184,168,144,0.15); }
.info-card h3{ display:flex; align-items:center; gap:10px; }
.swatch{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.needs-decision{
  border: 1.5px dashed var(--gold);
  background: rgba(238,158,30,0.08);
}
.needs-decision .tag{
  display:inline-block; font-size: 0.7rem; font-weight:600; letter-spacing: 0.04em;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 4px;
  padding: 2px 8px; text-transform: uppercase; margin-bottom: 10px;
}

.events-table{ width:100%; border-collapse: collapse; margin-top: 24px; }
.events-table th{
  text-align:left; font-family: var(--font-display); font-weight:600; color: var(--cream);
  font-size: 0.9rem; padding: 10px 12px; border-bottom: 1px solid rgba(184,168,144,0.25);
}
.events-table td{
  padding: 14px 12px; border-bottom: 1px solid rgba(184,168,144,0.12);
  color: var(--tan); font-size: 0.92rem;
}
.events-table .placeholder{ font-style: italic; opacity: 0.7; }

.contact-grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.contact-details{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.contact-details p{ margin: 0; font-size: 0.95rem; }
.contact-cfp-card{ align-self: start; }
.contact-cfp-logo-link{
  display: block;
  width: fit-content;
  max-width: 200px;
  margin: 0 auto 18px;
}
.contact-cfp-logo-link:focus-visible{ border-radius: 6px; }
.contact-cfp-logo{
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2048 / 1359;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 760px){ .contact-grid{ grid-template-columns: 1fr; } }
form{ display:flex; flex-direction:column; gap: 16px; }
label{ font-size: 0.85rem; color: var(--tan); margin-bottom: 6px; display:block; }
input, select, textarea{
  width:100%;
  background: var(--bg-surface);
  border: 1px solid rgba(184,168,144,0.25);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus{ outline: 2px solid var(--gold); outline-offset: 1px; }
textarea{ min-height: 120px; resize: vertical; }
button[type="submit"]{
  align-self: flex-start;
  background: var(--gold);
  color: #2a1c08;
  border: none;
  border-radius: 6px;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
button[type="submit"]:hover{ background: #f6ad3a; }
button[type="submit"]:active{ transform: scale(0.98); }

footer{
  background: var(--bg-surface-2);
  padding: 48px clamp(20px, 3vw, 32px) 32px;
  text-align:center;
  width: 100%;
}
footer p{ font-size: 0.85rem; margin: 4px 0; }
footer .legal{ color: var(--tan); opacity: 0.85; }
footer a{ color: var(--cream); }

.back-link{ display:inline-block; margin-bottom: 36px; font-size: 0.9rem; }
.updated{ font-size: 0.82rem; opacity: 0.65; margin-top: 48px; }
