:root {
  --paper: #f4f2ed; --ink: #26302c; --muted: #7a817a; --line: rgba(38,48,44,.17);
  --deep-sage: #5a695d; --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { min-height: 100vh; margin: 0; color: var(--ink); background: radial-gradient(circle at 12% 14%, rgba(174,184,169,.14), transparent 27rem), radial-gradient(circle at 88% 80%, rgba(198,184,163,.13), transparent 31rem), var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .14; content: ""; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); }
a { color: inherit; }
.page-shell { display: flex; flex-direction: column; min-height: 100vh; padding: 0 clamp(1.5rem, 5vw, 5.75rem); }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 90rem; margin: 0 auto; }
.site-header { padding-top: clamp(1.7rem, 4vw, 3.2rem); }
.wordmark { color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-decoration: none; }
.header-note, .site-footer { color: var(--muted); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }
.hero { display: flex; flex-direction: column; align-items: center; padding: clamp(6rem, 17vh, 11.5rem) 0 0; text-align: center; }
.eyebrow { margin: 0 0 1.4rem; color: var(--deep-sage); font-size: .62rem; font-weight: 600; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { margin: 0; font-size: clamp(3.7rem, 10vw, 8.5rem); line-height: .86; }
h1 span { color: var(--deep-sage); font-size: .72em; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
.intro { margin: 2.1rem 0 0; color: var(--muted); font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.55; }
.hero-rule { width: 1px; height: 4.5rem; margin: 2.7rem 0 1.8rem; background: var(--line); }
.contact-line { display: flex; gap: .9rem; color: var(--deep-sage); font-size: .69rem; letter-spacing: .07em; }
.contact-line a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.contact-line a:hover, .contact-line a:focus-visible { border-bottom-color: var(--deep-sage); }
.access { display: flex; flex-direction: column; align-items: center; margin-top: clamp(5rem, 12vh, 8rem); }
.unlock { display: flex; align-items: center; gap: .65rem; padding: .65rem .15rem; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font: 600 .62rem var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
.unlock:hover, .unlock:focus-visible { color: var(--deep-sage); border-bottom-color: var(--deep-sage); }
.lock-mark { display: inline-flex; align-items: center; justify-content: center; width: 1rem; height: 1rem; border: 1px solid currentColor; border-radius: 50%; font-size: .82rem; line-height: 1; }
.arrow { font-size: .9rem; font-weight: 400; }
.access-note { margin: .7rem 0 0; color: var(--muted); font: italic .75rem var(--serif); }
.family-card { width: min(100%, 61rem); margin: clamp(5.5rem, 13vh, 9rem) auto 1rem; padding: clamp(1.15rem, 3vw, 2rem); border: 1px solid var(--line); background: rgba(250,249,245,.42); animation: reveal .8s cubic-bezier(.2,.7,.2,1) both; }
.card-topline { display: flex; justify-content: space-between; margin-bottom: clamp(1.5rem, 4vw, 3rem); color: var(--muted); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; }
.card-layout { display: grid; grid-template-columns: minmax(13rem, .84fr) 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.photo-frame { position: relative; min-height: 20rem; overflow: hidden; background: #d9ded6; }
.photo-frame img { display: block; width: 100%; height: 100%; min-height: 20rem; object-fit: cover; }
.photo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 1.3rem; color: var(--deep-sage); background: linear-gradient(145deg, #dce2d9, #bdc9ba); font: italic clamp(1.3rem, 3vw, 2rem) var(--serif); line-height: .93; }
.photo-placeholder small { align-self: flex-end; color: rgba(38,48,44,.55); font: .56rem/1.25 var(--sans); letter-spacing: .14em; text-align: right; text-transform: uppercase; }
.photo-frame img:not([hidden]) + .photo-placeholder { display: none; }
.card-copy { padding: .5rem 0; }
.card-copy .eyebrow { margin-bottom: 1.2rem; }
h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: .88; }
.card-text { max-width: 29rem; margin: 1.7rem 0 2.2rem; color: var(--muted); font-family: var(--serif); font-size: 1.05rem; line-height: 1.55; }
.card-contacts { border-top: 1px solid var(--line); }
.card-contacts a { display: flex; justify-content: space-between; gap: 1rem; padding: .76rem 0; border-bottom: 1px solid var(--line); font-size: .67rem; letter-spacing: .08em; text-decoration: none; }
.card-contacts a span:last-child { color: var(--deep-sage); font-size: .6rem; }
.card-contacts a:hover span:last-child, .card-contacts a:focus-visible span:last-child { text-decoration: underline; }
.site-footer { margin-top: auto; padding: 5rem 0 1.7rem; }
.gate-dialog { width: min(calc(100% - 2rem), 28rem); padding: 0; border: 1px solid var(--line); color: var(--ink); background: var(--paper); box-shadow: 0 2rem 6rem rgba(38,48,44,.15); }
.gate-dialog::backdrop { background: rgba(38,48,44,.28); backdrop-filter: blur(4px); }
.gate-form { position: relative; padding: clamp(2rem, 7vw, 3.5rem); }
.close-gate { position: absolute; top: 1.2rem; right: 1.3rem; border: 0; color: var(--muted); background: none; font-size: 1.4rem; font-weight: 200; cursor: pointer; }
.gate-form h2 { margin-bottom: .8rem; font-size: clamp(2.7rem, 8vw, 4rem); }
.gate-copy { margin: 0 0 2rem; color: var(--muted); font-family: var(--serif); font-size: 1rem; }
.gate-form label { display: block; margin-bottom: .55rem; color: var(--deep-sage); font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.input-row { display: flex; border-bottom: 1px solid var(--ink); }
.input-row input { width: 100%; padding: .55rem 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: 1rem var(--serif); }
.submit-arrow { padding: .25rem 0 .25rem .8rem; border: 0; color: var(--deep-sage); background: none; font-size: 1.2rem; cursor: pointer; }
.gate-error { margin: 1rem 0 0; color: #9c5e53; font: italic .82rem var(--serif); }
[hidden] { display: none !important; }
@keyframes reveal { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) { .header-note { font-size: .55rem; } .hero { padding-top: 6.5rem; } .desktop-break { display: none; } .intro { max-width: 19rem; } .card-layout { grid-template-columns: 1fr; gap: 2rem; } .photo-frame, .photo-frame img { min-height: 16rem; } .family-card { margin-top: 5.5rem; } .site-footer { padding-top: 4rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
