/* Main St. Sanctuary — implemented from "Main St Sanctuary.dc.html" (Claude Design)
   Palette: ink #0B0A09 · panel #12100D · cream #F2EDE3 · gold #C79A46 · text #EDE6D9
   Auto-deploy from GitHub verified 2026-08-06 */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; background: #0B0A09; color: #EDE6D9;
  font-family: 'Spectral', Georgia, serif; -webkit-font-smoothing: antialiased;
}
a { color: #C79A46; text-decoration: none; }
a:hover { color: #EDE6D9; }
::selection { background: #A8823C; color: #0B0A09; }
:focus-visible { outline: 2px solid #C79A46; outline-offset: 3px; }
img { display: block; }

/* type utilities */
.eyebrow { font-family: 'Libre Caslon Text', serif; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: #C79A46; }
.eyebrow--dark { color: #7A5E22; }
.eyebrow--dim { color: #8B7A5E; }
.display { font-family: 'Libre Caslon Display', serif; font-weight: 400; color: #F6F1E7; }
.caslon { font-family: 'Libre Caslon Text', serif; }

/* skip link */
.skip { position: absolute; left: -9999px; top: 0; padding: 12px 18px; background: #C79A46; color: #0B0A09; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(11,10,9,.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(199,154,70,.28); }
.hdr__in { max-width: 1440px; margin: 0 auto; padding: 10px clamp(18px,4vw,48px); display: flex; align-items: center; justify-content: space-between; gap: clamp(14px,2vw,28px); min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; gap: 3px; color: inherit; }
.brand__name { font-family: 'Libre Caslon Text', serif; font-size: clamp(15px,1.5vw,19px); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #F2EDE3; white-space: nowrap; }
.brand__sub { font-family: 'Libre Caslon Text', serif; font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: #8B7A5E; }
.nav { display: flex; align-items: center; gap: clamp(11px,1.9vw,32px); flex-wrap: nowrap; justify-content: flex-end; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav__link { padding: 8px 0; font-family: 'Libre Caslon Text', serif; font-size: clamp(10px,1.05vw,11.5px); letter-spacing: .18em; text-transform: uppercase; color: #EDE6D9; border-bottom: 1px solid transparent; white-space: nowrap; flex: 0 0 auto; }
.nav__link:hover { color: #C79A46; }
.nav__link.is-active { color: #C79A46; border-bottom-color: #C79A46; }
.btn-gold { font-family: 'Libre Caslon Text', serif; font-size: clamp(9.5px,1vw,11px); letter-spacing: .18em; text-transform: uppercase; color: #0B0A09; background: #C79A46; padding: 9px clamp(11px,1.3vw,16px); border: 1px solid #C79A46; white-space: nowrap; flex: 0 0 auto; }
.btn-gold:hover { background: #0B0A09; color: #C79A46; }
.btn-gold--lg { font-size: 11.5px; letter-spacing: .2em; padding: 14px 24px; display: inline-block; }
.btn-gold--lg:hover { background: transparent; color: #C79A46; }
.btn-line { display: inline-block; background: none; border: 1px solid rgba(199,154,70,.5); color: #C79A46; padding: 14px 24px; cursor: pointer; font-family: 'Libre Caslon Text', serif; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; }
.btn-line:hover { background: #C79A46; color: #0B0A09; }

/* walk-in (homepage) */
.walk { position: relative; height: 520vh; background: #0B0A09; }
.walk__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.walk__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0B0A09; }
.walk__stop { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; }
.walk__stop:first-child { opacity: 1; }
.walk__stop img { width: 100%; height: 100%; object-fit: cover; }
.walk__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(11,10,9,.94) 0%, rgba(11,10,9,.55) 30%, rgba(11,10,9,.05) 58%, rgba(11,10,9,.55) 100%); }
.walk__title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; pointer-events: none; }
.walk__loc { font-family: 'Libre Caslon Text', serif; font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: #C79A46; }
.walk__h1 { margin: 22px 0 0; font-family: 'Libre Caslon Display', serif; font-weight: 400; font-size: clamp(44px,8.4vw,132px); line-height: .94; letter-spacing: -.01em; color: #F6F1E7; text-wrap: balance; }
.walk__rule { width: 1px; height: 56px; background: linear-gradient(to bottom, rgba(199,154,70,0), #C79A46); margin: 30px 0 22px; }
.walk__sub { margin: 0; max-width: 38ch; font-size: clamp(15px,1.5vw,19px); line-height: 1.6; color: #D6CDBB; }
.walk__hint { margin-top: 46px; font-family: 'Libre Caslon Text', serif; font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: #8B7A5E; }
.walk__ticks { position: absolute; left: clamp(18px,4vw,52px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; pointer-events: none; }
.walk__tick { display: flex; align-items: center; gap: 10px; opacity: .32; }
.walk__tick span:first-child { width: 22px; height: 1px; background: #C79A46; }
.walk__tick span:last-child { font-family: 'Libre Caslon Text', serif; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: #EDE6D9; }
.walk__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(18px,4vw,52px) clamp(34px,5vw,64px); pointer-events: none; }
.walk__callouts { position: relative; max-width: 1240px; margin: 0 auto; min-height: 190px; }
.walk__callout { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; opacity: 0; max-width: 660px; }
.walk__callout figcaption { font-family: 'Libre Caslon Text', serif; font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: #C79A46; margin-bottom: 12px; }
.walk__callout p { margin: 0; font-family: 'Libre Caslon Display', serif; font-size: clamp(22px,2.9vw,38px); line-height: 1.24; color: #F6F1E7; }
.walk__barwrap { max-width: 1240px; margin: 26px auto 0; height: 1px; background: rgba(199,154,70,.22); }
.walk__bar { height: 1px; background: #C79A46; transform-origin: left center; transform: scaleX(0); }

/* sections */
.sec { padding: clamp(70px,9vw,130px) clamp(24px,6vw,96px); }
.sec--tall { padding: clamp(78px,10vw,150px) clamp(24px,6vw,96px); }
.sec--hero { padding: clamp(64px,8vw,120px) clamp(24px,6vw,96px) clamp(40px,5vw,70px); border-bottom: 1px solid rgba(199,154,70,.16); }
.sec--ink { background: #0B0A09; }
.sec--panel { background: #12100D; }
.sec--cream { background: #F2EDE3; color: #1A1713; }
.sec--topline { border-top: 1px solid rgba(199,154,70,.16); }
.wrap { max-width: 1240px; margin: 0 auto; }
.wrap--m { max-width: 1120px; margin: 0 auto; }
.wrap--s { max-width: 1000px; margin: 0 auto; }
.wrap--xs { max-width: 960px; margin: 0 auto; }

/* card grids (gold hairline gaps) — capped at 3 across */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(199,154,70,.2); border: 1px solid rgba(199,154,70,.2); }
@media (max-width: 920px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-cards { grid-template-columns: 1fr; } }
/* reveal cards — photo fades in behind the text on hover/focus/tap */
.grid-cards--reveal > div { position: relative; overflow: hidden; isolation: isolate; min-height: 340px; outline: none; }
.grid-cards--reveal .card-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .5s ease, transform 1.2s ease; }
.grid-cards--reveal .card-scrim { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s ease; background: linear-gradient(180deg, rgba(11,10,9,.92) 0%, rgba(11,10,9,.55) 52%, rgba(11,10,9,.12) 100%); }
.grid-cards--reveal > div:hover .card-img, .grid-cards--reveal > div:focus .card-img { opacity: 1; transform: none; }
.grid-cards--reveal > div:hover .card-scrim, .grid-cards--reveal > div:focus .card-scrim { opacity: 1; }
.grid-cards--reveal > div:focus-visible { outline: 1px solid rgba(199,154,70,.6); outline-offset: -1px; }
@media (prefers-reduced-motion: reduce) { .grid-cards--reveal .card-img { transform: none; transition: opacity .2s linear; } }
/* lightbox */
.lightbox-link { display: block; cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: clamp(18px, 4vw, 56px); background: rgba(8,7,6,.92); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; box-shadow: 0 18px 60px rgba(0,0,0,.55); background: #FBF8F1; }
.lightbox[hidden] { display: none; }
.grid-cards > div { background: #0B0A09; padding: 34px 28px 38px; display: flex; flex-direction: column; gap: 12px; }
.grid-cards .num { font-family: 'Libre Caslon Text', serif; font-size: 11px; letter-spacing: .3em; color: #8B7A5E; }
.grid-cards h3 { margin: 0; font-family: 'Libre Caslon Text', serif; font-weight: 700; font-size: 23px; color: #F6F1E7; }
.grid-cards p { margin: 0; font-size: 15px; line-height: 1.7; color: #A99C86; }

/* signup band */
.signup input[type=email] { flex: 1 1 260px; min-width: 0; padding: 16px 18px; font-family: 'Spectral', Georgia, serif; font-size: 16px; color: #1A1713; background: #FBF8F1; border: 1px solid #C0AE8C; border-radius: 0; }
.signup input[type=email]:focus { border-color: #7A5E22; outline: none; }
.signup button { padding: 16px 28px; background: #1A1713; color: #F2EDE3; border: 1px solid #1A1713; cursor: pointer; font-family: 'Libre Caslon Text', serif; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; }
.signup button:hover { background: #7A5E22; border-color: #7A5E22; }
.signup .follow a { color: #7A5E22; font-size: 15px; border-bottom: 1px solid rgba(138,108,46,.4); }
.signup .follow a:hover { color: #1A1713; }
.visually-hidden { position: absolute; left: -9999px; }

/* footer */
.ftr { background: #0B0A09; border-top: 1px solid rgba(199,154,70,.22); padding: clamp(56px,7vw,96px) clamp(24px,6vw,96px) 46px; }
.ftr__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 44px; }
.ftr__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ftr__label { font-family: 'Libre Caslon Text', serif; font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: #8B7A5E; margin-bottom: 4px; }
.ftr a.pg { color: #C79A46; font-family: 'Spectral', serif; font-size: 15px; }
.ftr a.pg:hover { color: #EDE6D9; }
.ftr__base { max-width: 1240px; margin: 56px auto 0; padding-top: 22px; border-top: 1px solid rgba(199,154,70,.14); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 12.5px; color: #8B7A5E; }

/* reveal (JS sets initial state; this covers no-JS) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
