/* Cormorant Garamond (SIL Open Font License), self-hosted since 2026-11-22; one variable file per subset covers 400-500 */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/cormorant-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(/fonts/cormorant-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --bg:#faf8f5; --ink:#363636; --muted:#6f6a63; --line:#e4dfd8; --accent:#8a5a44;
  --serif:"Cormorant Garamond",Georgia,serif; --sans:"Helvetica Neue",Helvetica,Arial,sans-serif; }
* { box-sizing: border-box; margin: 0; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.7; font-size: 16px; }
a { color: inherit; }
h1, h2, h3, nav, .btn, .label { text-transform: uppercase; letter-spacing: .18em; font-weight: 400; }

header { padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 2rem; position: sticky; top: 0; background: var(--bg); z-index: 5; }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; text-decoration: none; letter-spacing: .28em; text-transform: uppercase; }
nav { display: flex; gap: 1.6rem; font-size: .72rem; }
nav a { text-decoration: none; color: var(--muted); padding-bottom: 3px; border-bottom: 1px solid transparent; }
nav a:hover, nav a.on { color: var(--ink); border-color: var(--accent); }

.hero-photo { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-start; justify-content: center; text-align: center; padding: 3.5rem 1.5rem 5rem; color: #fff; background: #2b2724 center / cover no-repeat; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: rgba(20,17,15,.42); }
.hero-photo > div { position: relative; max-width: 46rem; }
.hero-photo .label { font-size: .72rem; letter-spacing: .3em; margin-bottom: 1.2rem; opacity: .9; }
.hero-photo h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 8vw, 4.2rem); letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.hero-photo p { margin-top: 1.3rem; font-size: 1.05rem; opacity: .92; }

section { max-width: 72rem; margin: 0 auto; padding: 3.5rem 1.5rem; border-top: 1px solid var(--line); }
h2 { font-size: .85rem; margin-bottom: 2rem; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.4rem; }
.tile { display: block; }
.tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: #ebe6df; }

.event { max-width: 40rem; margin: 0 auto 2rem; text-align: center; }
.event h3 { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .1em; font-weight: 500; }
.event .when { color: var(--accent); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.event p { color: var(--muted); }
.event p a { color: var(--ink, inherit); text-decoration: none; border-bottom: 1px solid var(--accent); }

.btns { text-align: center; margin-top: 1.6rem; }
.btn { display: inline-block; margin: .4rem; padding: .85rem 2rem; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: .72rem; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.light { border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }

.page { max-width: 40rem; margin: 0 auto; padding: 5rem 1.5rem 6rem; text-align: center; }
.page h1 { font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: .25em; margin-bottom: 2rem; }
.page p { margin-bottom: 1.2rem; }
.page .lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; margin-bottom: 2rem; }
.page-about, .page-contact { padding-top: 2.5rem; }
section.page-events { padding-top: 2.5rem; }
.page p a { text-decoration: none; border-bottom: 1px solid var(--accent); }
.about-photo { width: 100%; max-height: 70vh; object-fit: cover; margin: 0 0 2rem; display: block; }
.rows { text-align: left; margin: 2.5rem auto 0; border-top: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.row .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.row a { text-decoration: none; }

.insta { text-align: center; padding: 2.6rem 1.5rem; background: #f1ece5; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.insta a { text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
footer { text-align: center; color: var(--muted); padding: 2rem 1rem 2.6rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

/* flip-through gallery */
.viewer { max-width: 60rem; margin: 0 auto; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; min-height: 50vh; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; display: flex; align-items: center; justify-content: center; }
.slide img { width: auto; height: auto; max-width: 100%; max-height: 72vh; display: block; margin: 0 auto; }
.nav-row { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 1.2rem; }
.nav-row button { background: none; border: 1px solid var(--line); color: var(--ink); width: 3rem; height: 3rem; font-size: 1.4rem; cursor: pointer; }
.nav-row button:hover { border-color: var(--ink); }
.count { font-size: .75rem; letter-spacing: .2em; color: var(--muted); min-width: 5rem; text-align: center; }
.hint { display: none; text-align: center; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; animation: hint 4.5s forwards; }
@keyframes hint { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }
.thumbs { position: relative; display: flex; gap: .5rem; overflow-x: auto; margin-top: 1.4rem; padding-bottom: .5rem; scrollbar-width: thin; }
.th { flex: 0 0 auto; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .5; }
.th.on { opacity: 1; border-color: var(--ink); }
.th img { width: 4.2rem; height: 4.2rem; object-fit: cover; display: block; }

/* fade-in (only when JS is on) */
html.js img.fade { opacity: 0; transition: opacity .6s; }
html.js img.fade.loaded { opacity: 1; }
/* work page (was inline in work.html) */
.slide { align-items: flex-start; }
.track { min-height: 0; }
