@font-face{font-family:"Instrument Serif";src:url("/assets/instrument-serif.woff2") format("woff2");font-display:swap}
@font-face{font-family:"DM Sans";src:url("/assets/dm-sans.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{
  color-scheme:light;
  --ink:#272c28;--muted:#646961;--green:#29493e;--deep:#203b32;--clay:#8c513e;
  --paper:#f8f6f1;--surface:#fffefa;--line:#dcdcd1;--tint:#e9eee7;
  --serif:"Instrument Serif",Georgia,serif;--sans:"DM Sans","Segoe UI",sans-serif;
  font-family:var(--sans);font-size:16px;color:var(--ink);background:var(--paper);line-height:1.5
}
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
a{color:var(--green);text-underline-offset:.2em}
button,input,textarea,select{font:inherit;color:inherit}
button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.6}
:focus-visible{outline:3px solid #977337;outline-offset:3px}
button,input:not([type=checkbox]):not([type=radio]),textarea,select{border-radius:.45rem}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{
  width:100%;min-width:0;padding:.7rem .85rem;border:1px solid #a9afa5;background:#fffefa;line-height:1.4
}
input::placeholder,textarea::placeholder{color:#788073}
input:focus,textarea:focus,select:focus{border-color:var(--green)}
input[type=checkbox],input[type=radio]{accent-color:var(--green)}
input[type=file]{max-width:100%}
textarea{resize:vertical}
fieldset{border:1px solid var(--line);border-radius:.6rem;min-width:0}
hr{border:none;border-top:1px solid var(--line);margin:1.3rem 0}
h1,h2,h3,h4,p,dl,dd,figure{margin:0}
h1,h2,h3,h4{line-height:1.12;text-wrap:balance}
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.025em}
h1{font-size:clamp(2.65rem,5.4vw,4.4rem)}
h2{font-size:clamp(1.9rem,3.3vw,2.65rem)}
h3{font-size:1.65rem}
img{max-width:100%}
table{border-collapse:collapse}
td,th{padding:.65rem;text-align:left;border-bottom:1px solid var(--line)}
th{font-size:.86rem}
button,.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  min-height:2.75rem;padding:.62rem 1.05rem;border:1px solid var(--green);border-radius:.45rem;
  background:var(--green);color:#fff;font-size:.91rem;line-height:1.3;font-weight:600;
  text-align:center;text-decoration:none;transition:background .15s ease,color .15s ease
}
button:hover,.btn:hover{background:var(--deep)}
button.secondary,.btn.secondary,.secondary{background:var(--surface);color:var(--green);border-color:#b5beb0}
button.secondary:hover,.btn.secondary:hover{background:var(--tint)}
.muted,small{color:var(--muted)}
.eyebrow{font-size:.69rem;font-weight:750;line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:var(--clay)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:.85rem;padding:clamp(1rem,2.7vw,1.7rem);min-width:0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1rem}
.stack{display:grid;align-content:start;gap:1rem;min-width:0}
.field{display:grid;align-content:start;gap:.4rem;min-width:0;font-size:.93rem;font-weight:550}
.field small{font-size:.78rem;font-weight:400}
.actions,.section-head{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}
.section-head{justify-content:space-between;gap:1rem}
.notice{padding:.83rem 1rem;border-left:3px solid #749284;background:#edf1e9;border-radius:.3rem;color:#334a3c;overflow-wrap:anywhere}
.notice.error,.form-error{color:#813324;background:#fff0e8;border-left:3px solid #a65a49}
.form-error{padding:.65rem .8rem;font-size:.9rem}
.form-error:empty{display:none}
.skip{position:fixed;left:1rem;top:0;transform:translateY(-200%);z-index:30;background:white;padding:.6rem}
.skip:focus{transform:translateY(0)}
.boot{display:grid;place-items:center;min-height:50vh;color:var(--muted)}
.top{position:relative;z-index:3;background:var(--surface);border-bottom:1px solid var(--line)}
.top-inner{max-width:1336px;padding:.75rem clamp(1.1rem,4.5vw,4rem);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.5rem}
.brand{display:inline-flex;align-items:center;gap:.68rem;text-decoration:none;color:var(--ink);white-space:nowrap;font-family:var(--serif);font-size:1.85rem;letter-spacing:-.035em}
.rings{display:inline-block;width:2.13rem;height:1.55rem;position:relative;flex:none}
.rings::before,.rings::after{content:"";position:absolute;top:.1rem;width:1.1rem;height:1.25rem;border:1.7px solid var(--green);border-radius:50%;transform:rotate(-25deg)}
.rings::before{left:.15rem}.rings::after{left:.81rem;border-color:var(--clay);transform:rotate(23deg)}
.nav{display:flex;align-items:center;gap:.32rem}
.nav a,.profile{display:inline-flex;gap:.46rem;align-items:center;font-weight:600;color:#596058;text-decoration:none;font-size:.9rem;padding:.56rem .72rem;border-radius:.45rem}
.nav a:hover,.profile:hover{background:#f0f1e9}
.nav a[aria-current=page],.profile[aria-current=page]{background:var(--tint);color:var(--green)}
.icon{width:1.15rem;height:1.15rem;display:inline-flex;flex:none;align-items:center;justify-content:center}
.icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.profile{gap:.48rem;max-width:12rem}.profile span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.monogram{background:#e6ded0;color:#604d38;border:1px solid #d6cdbb;display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;font-weight:650}
.auth-switch{font-weight:620;font-size:.9rem}
.auth-shell{max-width:1240px;margin:clamp(1rem,3.6vw,3.1rem) auto;padding:0 clamp(1rem,4.5vw,3.75rem)}
.auth-split{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);min-height:min(730px,calc(100vh - 145px));align-items:stretch;background:var(--surface);border:1px solid var(--line);border-radius:1rem;overflow:hidden}
.auth-photo{position:relative;min-height:32rem}
.auth-photo img,.home-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.auth-photo img{object-position:50% 55%}
.auth-copy{padding:clamp(1.45rem,4vw,3.6rem);align-self:center;width:100%;max-width:39rem;margin:auto;display:grid;gap:1.4rem}
.auth-copy h1{font-size:clamp(2.75rem,4.65vw,4.65rem);max-width:11ch}
.auth-copy header{display:grid;gap:.72rem}
.auth-copy header p:last-child{color:var(--muted);max-width:36ch}
.auth-form{display:grid;gap:1rem}
.auth-form .btn{width:100%;min-height:3rem}
.auth-line{border:0;background:transparent;color:var(--green);font-size:.86rem;font-weight:600;text-decoration:underline;text-underline-offset:.22em;min-height:auto;padding:0;justify-self:start}
.auth-line:hover{background:transparent}
.pass-label{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.auth-alt{font-size:.9rem;color:var(--muted)}
.page{max-width:1240px;margin:0 auto;padding:clamp(1.3rem,3.8vw,3.3rem) clamp(1rem,4.5vw,3.75rem) 4rem}
.page:focus,.auth-shell:focus{outline:none}
.home-head{margin-bottom:1.7rem;display:grid;gap:.48rem}
.hero-card{border-radius:1rem;overflow:hidden;display:grid;grid-template-columns:1.32fr .94fr;background:var(--green);color:#fffefa}
.hero-card .hero-copy{padding:clamp(1.35rem,3.5vw,2.8rem);display:grid;gap:1.05rem;justify-items:start;align-content:center}
.hero-card h2{font-size:clamp(2rem,3.9vw,3.5rem);line-height:1.02;max-width:16ch}
.hero-card p{color:#e3ebe2;max-width:48ch}
.hero-card .btn{background:#fffefa;color:var(--deep);border-color:#fffefa}
.hero-card .btn:hover{background:#e7ecdf}
.home-photo{position:relative;min-height:16rem}
.home-photo img{object-position:center 53%}
.home-columns{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(.8rem,2.2vw,1.55rem);margin-top:1.45rem}
.counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin-top:1.15rem}
.counts div+div{border-left:1px solid var(--line);padding-left:.75rem}
.counts dt{color:var(--muted);font-size:.83rem}
.counts dd{font-family:var(--serif);font-size:2.55rem;line-height:1.2;color:var(--green);font-variant-numeric:lining-nums tabular-nums}
.quicklinks{display:grid;margin-top:.75rem}
.quicklinks a{display:flex;align-items:center;justify-content:space-between;gap:.8rem;color:var(--ink);font-weight:570;text-decoration:none;padding:.67rem 0}
.quicklinks a+a{border-top:1px solid var(--line)}
.quicklinks a:hover{color:var(--clay)}
.quicklinks a span:first-child{display:inline-flex;align-items:center;gap:.6rem}
.subtle-link{font-size:.87rem;font-weight:600}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.taglist{padding:0;margin:0;list-style:none;display:grid;gap:.4rem}
.taglist li{display:flex;gap:.6rem;align-items:center}
.break{overflow-wrap:anywhere}
.toast{position:fixed;z-index:15;bottom:1.45rem;left:50%;transform:translateX(-50%);max-width:min(94vw,32rem);padding:.78rem 1.05rem;background:var(--deep);color:white;border-radius:.45rem;box-shadow:0 5px 22px #1e2b1b26;font-size:.91rem}
.toast:empty{display:none}
.code-box{font:600 1.08rem/1.55 ui-monospace,monospace;overflow-wrap:anywhere;user-select:all;color:var(--green)}
.key-card{max-width:40rem;margin:1.5rem auto}
@media(max-width:900px){
 .top-inner{gap:.5rem}.nav a{padding:.5rem}.profile span:last-child:not(.monogram){display:none}.profile{padding:.2rem}
 .auth-photo{min-height:30rem}.auth-shell{padding:0 1.2rem}
}
@media(max-width:720px){
 .top-inner{min-height:3.9rem;padding:.62rem 1rem}.brand{font-size:1.67rem}
 .nav{position:fixed;z-index:8;bottom:0;left:0;right:0;justify-content:space-around;padding:.3rem .2rem max(.3rem,env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line)}
 .nav a{flex:1;min-width:0;flex-direction:column;gap:.18rem;font-size:.68rem;padding:.32rem .1rem;max-width:7rem}
 .nav .icon{width:1.23rem;height:1.23rem}
 .auth-shell{margin:.8rem auto 1.5rem;padding:0 .8rem}.auth-split{grid-template-columns:1fr;min-height:0}
 .auth-photo{min-height:0;height:clamp(7rem,22vh,12rem)}.auth-photo img{object-position:center 51%}
 .auth-copy{padding:1.25rem;gap:1rem}.auth-copy header{gap:.44rem}.auth-copy h1{max-width:none;font-size:2.85rem}
 .auth-switch{font-size:.83rem}.auth-alt{font-size:.87rem}
 .page{padding-bottom:calc(5rem + env(safe-area-inset-bottom))}.home-head{margin-bottom:1rem}
 .hero-card{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr)}
 .hero-copy p{font-size:.91rem}.home-photo{min-height:0}
 .home-columns,.account-grid{grid-template-columns:1fr}.home-columns{margin-top:.9rem}
 .toast{bottom:calc(4.7rem + env(safe-area-inset-bottom))}.page h1{font-size:2.85rem}
 input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:16px}
}
@media(max-width:420px){.hero-card{grid-template-columns:1fr}.home-photo{display:none}.auth-form{gap:.8rem}.hero-card .hero-copy{padding:1.2rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
