:root{--ink:#36271f;--muted:#806c5d;--green:#704b36;--cream:#faf6f0;--line:#e4d7c9;--light:#f0e4d7;--accent:#c6a47c}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--green)}button{cursor:pointer}h1,h2,h3,p{margin:0 0 16px}h1{font:500 clamp(40px,5.5vw,78px)/1.08 Georgia,serif;letter-spacing:-2px;overflow-wrap:anywhere}h2{font-size:22px;line-height:1.3;letter-spacing:-.5px;overflow-wrap:anywhere}p{color:var(--muted)}em{color:#916e51;font-weight:400}.site-header{padding:25px clamp(20px,5vw,84px);display:flex;gap:24px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--cream)}.brand{display:flex;align-items:center;gap:12px;font-size:28px;font-family:Georgia,serif;white-space:nowrap}.brand-mark{display:grid;place-items:center;background:var(--green);color:white;border-radius:50%;width:40px;height:40px;font-size:26px}.brand-caption{font:10px/1.4 system-ui;letter-spacing:1px;max-width:95px;white-space:normal;border-left:1px solid var(--line);padding-left:16px;margin-left:12px;color:var(--muted)}nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap;font-size:13px}nav a{min-height:44px;display:inline-flex;align-items:center}nav a:hover{text-decoration:underline}.nav-upload{border:1px solid var(--green);border-radius:30px;padding:10px 18px}.text-button{border:0;background:none;color:inherit;padding:10px 0;min-height:44px}.site-header form{margin:0}main{max-width:1440px;margin:auto;padding:44px clamp(20px,5vw,84px) 80px;min-height:70vh}.hero{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:30px 0 65px;border-bottom:1px solid var(--line);margin-bottom:36px}.hero p{max-width:430px;margin-top:22px}.hero-note{text-align:right;padding-right:30px}.large-star{color:#a18363;font-size:110px;line-height:1.2}.hero-note p{font:italic 23px/1.4 Georgia,serif}.eyebrow,.tile-kicker{display:block;font-size:10px;letter-spacing:2px;font-weight:650;margin-bottom:20px}.section-heading,.heading-row{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:28px}.section-heading h2{font-size:22px}.section-heading span{font-size:12px;color:var(--muted)}.tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.album-tile{min-width:0;background:#fffdf8;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .2s,box-shadow .2s}.album-tile:hover{transform:translateY(-3px);box-shadow:0 10px 30px #50332212}.album-tile img{display:block;width:100%;height:240px;object-fit:cover}.tile-text{padding:24px}.tile-kicker{color:var(--muted);letter-spacing:1.4px;margin-bottom:12px}.tile-text h2{display:flex;align-items:center;justify-content:space-between;gap:18px;font-weight:700}.tile-text h2 span{font-size:24px;color:var(--green)}.tile-text p{font-size:12px;margin:0}.empty{grid-column:1/-1;border:1px dashed #c8b6a2;border-radius:12px;text-align:center;padding:60px 24px}.empty p{max-width:540px;margin:16px auto 25px}.empty-icon{font-size:52px;color:#a18363}.button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:12px 22px;background:var(--green);color:white;border:1px solid var(--green);border-radius:28px;font-size:13px;font-weight:600;gap:12px;text-align:center}.button:hover{background:#513222}.button.secondary{background:transparent;color:var(--green)}.button.secondary:hover{background:var(--light)}.full{width:100%;margin-top:22px}.breadcrumb{display:inline-flex;min-height:44px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:20px}.page-heading{margin:16px 0 36px}.page-heading .eyebrow{margin-bottom:14px}.page-heading h1{font-size:clamp(36px,5vw,60px)}.page-heading p{margin-top:16px}.panel{background:#fffdf8;border:1px solid var(--line);padding:32px;border-radius:14px;margin-bottom:24px;min-width:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.form-grid>div{min-width:0}.wide{grid-column:1/-1}label{display:block;font-size:13px;font-weight:600;margin:10px 0 8px}input:not([type=checkbox]),textarea,select{display:block;width:100%;min-height:46px;padding:12px 14px;border:1px solid #d7c5b5;border-radius:7px;background:white;color:var(--ink);margin-bottom:24px;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #b29475;outline-offset:1px}textarea{resize:vertical}input[type=checkbox]{accent-color:var(--green);width:18px;height:18px;flex-shrink:0}.muted{color:var(--muted);font-size:13px;font-weight:400}.form-actions{display:flex;justify-content:space-between;gap:22px;align-items:center;border-top:1px solid var(--line);padding-top:24px;margin-top:30px}.form-actions>span{font-size:12px;color:var(--muted);max-width:460px}.actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.actions a{min-height:44px;display:inline-flex;align-items:center;font-size:13px;font-weight:600}.actions form{margin:0}.danger{color:#a03728}.notice{border:1px solid var(--line);padding:16px 20px;border-radius:8px;margin-bottom:24px;background:#f2e8db}.notice.error{background:#fff0e9;color:#943b24;border-color:#eaccc0}.check-options{display:flex;flex-wrap:wrap;gap:14px;margin:14px 0 22px}.check-options label{display:flex;align-items:center;gap:10px;min-height:44px;background:var(--light);padding:10px 14px;border-radius:8px;font-weight:500;margin:0}fieldset{border:0;padding:0;margin-top:14px}legend{font-weight:600;font-size:13px}.badge{display:inline-block;padding:6px 14px;border-radius:24px;background:var(--light);font-size:12px;white-space:nowrap}.reset{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.reset summary{cursor:pointer;min-height:44px;font-size:13px}.narrow{max-width:600px}.login-shell{display:grid;grid-template-columns:1fr 1fr;gap:0;max-width:1100px;margin:35px auto}.login-story{background:#ead9c5;padding:60px 45px;border-radius:18px 0 0 18px}.login-story h1{font-size:clamp(42px,5vw,68px);margin-top:35px}.login-story .large-star{display:block;margin-top:40px}.login-form{border-radius:0 18px 18px 0;margin:0;padding:55px 45px}.login-form h2{font-size:28px}.login-form p{font-size:13px}.login-form input{margin-bottom:20px}.event-title{font-weight:700!important}.event-description{max-width:900px;margin:30px 0}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.photo-grid figure{margin:0;min-width:0}.photo-grid img{display:block;width:100%;height:auto;border-radius:9px;background:var(--light)}figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:12px;padding:12px 0}figcaption a{min-height:44px;display:flex;align-items:center;text-decoration:underline}.event-tools{display:flex;justify-content:space-between;align-items:center;gap:20px}.event-tools .breadcrumb{margin:0}.existing-photos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.existing-photos label{font-size:12px;margin:0;min-width:0}.existing-photos img{width:100%;height:140px;object-fit:cover;border-radius:8px}.existing-photos span{display:flex;align-items:center;gap:7px;padding:8px 0}.upload-box{margin-top:30px;background:#f3e9dc;border:1px dashed #c4aa8e;border-radius:10px;padding:26px}.upload-box p{font-size:12px}.upload-box input[type=file]{background:white;margin-bottom:0;padding:16px}.spaced{margin-top:30px}.policy-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid #d7c5b5;border-radius:7px 7px 0 0;background:var(--light)}.policy-toolbar select{width:auto;margin:0;padding:8px}.policy-toolbar button{min-height:44px;background:white;border:1px solid #d7c5b5;border-radius:5px;padding:8px 12px;color:var(--ink)}.policy-editor{min-height:220px;max-height:650px;overflow:auto;background:white;border:1px solid #d7c5b5;border-top:0;border-radius:0 0 7px 7px;padding:20px}.policy-content{line-height:1.8;overflow-wrap:anywhere}.policy-content p{color:inherit}.policy-content h1{font:700 28px/1.4 system-ui;letter-spacing:0}.policy-content h2{font-size:24px;margin-top:18px}.policy-content h3{font-size:20px;margin-top:18px}.policy-content a{text-decoration:underline}.policy-content blockquote{border-left:3px solid var(--accent);margin-left:0;padding-left:20px}.policy-align-left{text-align:left}.policy-align-center{text-align:center}.policy-align-right{text-align:right}.policy-align-justify{text-align:justify}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:28px clamp(20px,5vw,84px);font-size:12px;color:var(--muted)}footer .brand{font-size:23px}dialog{border:1px solid var(--line);border-radius:12px;background:var(--cream);max-width:95vw;max-height:95dvh;padding:16px}dialog::backdrop{background:#281a12dd}dialog img{display:block;max-width:85vw;max-height:80dvh;width:auto;height:auto}dialog button{display:block;margin:0 0 12px auto;background:white;color:var(--green);border:1px solid var(--line);padding:10px 18px;border-radius:25px;min-height:44px}@media(max-width:1000px){.brand-caption{display:none}.site-header{flex-wrap:wrap}.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-story,.login-form{padding:40px 30px}.existing-photos{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.site-header{padding:16px 20px;gap:12px}.site-header nav{gap:14px;font-size:12px}.brand{font-size:25px}.brand-mark{width:34px;height:34px}.hero{padding:18px 0 30px}.hero-note{display:none}.hero h1{font-size:48px}.section-heading{align-items:flex-start;flex-direction:column;gap:0}.tile-grid,.photo-grid,.form-grid{grid-template-columns:minmax(0,1fr)}.album-tile img{height:230px}.heading-row{align-items:flex-start;flex-direction:column;gap:12px}.panel{padding:24px 18px}.login-shell{grid-template-columns:minmax(0,1fr);margin:0}.login-story{padding:28px;border-radius:14px 14px 0 0}.login-story h1{font-size:42px;margin:20px 0}.login-story h1 br{display:none}.login-story p,.login-story .large-star{display:none}.login-form{padding:28px 22px;border-radius:0 0 14px 14px}.form-actions{align-items:flex-start;flex-direction:column}.existing-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.event-tools{align-items:flex-start;flex-direction:column;gap:8px}.event-title{font-size:38px!important}.upload-box{padding:18px}input:not([type=checkbox]),select,textarea{font-size:16px}footer{flex-direction:column;gap:12px}main{padding-top:28px}.check-options{flex-direction:column}.section-heading h2{margin-bottom:6px}.page-heading{margin-top:12px}}@media print{@page{size:A4;margin:15mm}body{background:white;color:black;font-size:11pt}.site-header,footer,.event-tools,figcaption a,.notice,dialog{display:none!important}main{padding:0;max-width:none}.page-heading{margin:0 0 8mm}.page-heading h1{font-size:26pt!important;letter-spacing:0}.photo-grid{display:block}.photo-grid figure{break-inside:avoid;page-break-inside:avoid;margin:0 0 10mm}.photo-grid img{max-height:240mm;object-fit:contain;width:100%;border-radius:0}.policy-content{color:black}.photo-grid figcaption{display:block;color:black}.event-description{margin:5mm 0}.eyebrow{font-size:9pt}}
.month-event{padding:24px 0 44px;margin-bottom:36px;border-bottom:1px solid var(--line)}.month-event-title{font-size:32px;font-weight:700}.month-event-title a:hover{text-decoration:underline}

/* Natural-height columns pack portrait and landscape photos without cropping. */
@media screen{.photo-grid{display:block;columns:3 280px;column-gap:22px}.photo-grid figure{break-inside:avoid;page-break-inside:avoid;display:inline-block;width:100%;margin:0 0 20px;vertical-align:top}.photo-grid img{width:100%;height:auto}.photo-grid figcaption{padding:8px 0;min-height:0}@media(max-width:650px){.photo-grid{columns:2 180px;column-gap:14px}.photo-grid figure{margin-bottom:14px}}}
@media print{.photo-grid{columns:auto}}

.gallery-navigation{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:22px}.gallery-navigation h1{font:600 24px/1.3 system-ui;letter-spacing:0;margin:0}.month-event{padding-top:12px;margin-bottom:24px}.month-event .heading-row{margin-bottom:12px}.month-event .eyebrow{margin-bottom:8px}.month-event-title{margin-bottom:0}.event-page .page-heading{margin:20px 0}.event-page .page-heading h1{font-size:32px!important;letter-spacing:-.5px}.event-page .event-description,.month-event .event-description{margin:18px 0}@media(max-width:650px){.gallery-navigation{gap:12px}.gallery-navigation h1{font-size:20px}}

#photo-viewer img{max-height:calc(95dvh - 155px)}.viewer-navigation{display:flex;justify-content:space-between;gap:18px;padding-top:14px}.viewer-navigation button{margin:0;min-width:115px}.viewer-navigation button:disabled{opacity:.45;cursor:default}

.site-header>.brand{white-space:normal;flex:1;min-width:0;max-width:760px;gap:14px}.school-name{font-size:clamp(19px,2.1vw,29px);line-height:1.25;min-width:0}.school-logo{display:block;width:64px;height:64px;object-fit:contain;flex-shrink:0}.site-header .brand-caption{display:block;flex-shrink:0}.school-logo-slot:empty{display:none}@media(max-width:650px){.site-header>.brand{flex-wrap:wrap;gap:10px}.school-logo{width:52px;height:52px}.school-name{flex:1}.site-header .brand-caption{width:100%;max-width:none;border:0;padding:0;margin:0;font-size:10px}.site-header nav{width:100%}}
