@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --navy: #2f4156;
  --teal: #567c8d;
  --sky: #c8d9e6;
  --beige: #f5eeeb;
  --white: #fff;
  --ink: #1f303e;
  --muted: #657482;
  --line: rgba(47, 65, 86, .16);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--beige); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; }
.site-header { padding: 22px clamp(22px, 6vw, 92px); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.3vw, 32px); flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; font-size: .82rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--teal); }
.nav .nav-contact { background: var(--navy); color: white; padding: 9px 15px; border-radius: 3px; }
.nav .nav-contact:hover, .nav .nav-contact[aria-current="page"] { background: var(--teal); border-color: transparent; }
.container { width: min(1120px, calc(100% - 44px)); margin: 0 auto; }
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .19em; font-weight: 700; font-size: .7rem; margin: 0 0 14px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.1; }
h1 { font-family: var(--serif); font-size: clamp(3rem, 7vw, 6.25rem); letter-spacing: -.045em; margin-bottom: 24px; }
h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -.035em; margin-bottom: 18px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: #485969; max-width: 650px; }
.button { display: inline-flex; align-items: center; gap: 12px; background: var(--navy); color: white; border-radius: 3px; text-decoration: none; padding: 13px 18px; font-weight: 700; font-size: .88rem; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--teal); }
.button.light { background: var(--white); color: var(--navy); }
.button.outline { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(38px, 7vw, 100px); padding: 65px 0 90px; }
.hero-copy { padding: 16px 0; }
.hero-copy h1 span { color: var(--teal); }
.hero-copy .lead { margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.portrait-art { min-height: 0; aspect-ratio: 3718 / 3840; position: relative; overflow: hidden; background: var(--sky); border: 1px solid rgba(47,65,86,.12); box-shadow: 18px 18px 0 var(--teal); }
.portrait-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.portrait-label { position: absolute; z-index: 2; left: 0; right: 0; top: 0; padding: 25px 24px 54px; color: white; background: linear-gradient(rgba(26,43,57,.72), transparent); }
.portrait-label strong { display: block; font: 600 clamp(1.7rem, 4vw, 3.2rem)/1 var(--serif); }
.portrait-label span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.home-band { background: var(--navy); color: white; padding: 74px 0; }
.home-band h2 { color: white; max-width: 740px; }
.home-band .eyebrow { color: var(--sky); }
.home-band p { color: #dbe5ec; max-width: 670px; }
.section { padding: 88px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head p { color: var(--muted); max-width: 450px; margin-bottom: 0; }
.feature-grid, .project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 25px; }
.card p { color: var(--muted); margin-bottom: 0; }
.project-card { padding: 0; overflow: hidden; }
.project-art { min-height: 210px; padding: 24px; display: flex; align-items: end; position: relative; isolation: isolate; overflow: hidden; }
.project-art::before, .project-art::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; }
.project-art::before { width: 220px; height: 220px; right: -12px; top: -78px; background: rgba(255,255,255,.42); }
.project-art::after { width: 130px; height: 130px; left: 12%; top: 10%; border: 1px solid rgba(47,65,86,.26); }
.project-art strong { font: 700 clamp(1.6rem, 3vw, 2.7rem)/.98 var(--serif); max-width: 75%; color: var(--navy); }
.art-rave { background: #d5e2ea; }
.art-spotify { background: #adc8cc; }
.art-bite { background: #e8d8c6; }
.art-wallet { background: #c7d5df; }
.project-info { padding: 24px; }
.tag { display: inline-block; color: var(--teal); text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; font-weight: 700; margin-bottom: 10px; }
.project-info h3 { font-family: var(--serif); font-size: 1.55rem; }
.project-info p { color: var(--muted); }
.text-link { color: var(--teal); font-weight: 700; font-size: .85rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.page-hero { background: var(--sky); padding: 78px 0; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.1rem); max-width: 860px; margin-bottom: 16px; }
.page-hero p { max-width: 700px; color: #435767; font-size: 1.12rem; margin-bottom: 0; }
.photo-page-hero { min-height: 420px; position: relative; overflow: hidden; background: var(--navy); }
.photo-page-hero h1, .photo-page-hero .eyebrow { color: var(--white); }
.photo-page-hero p { color: #e0e9ef; }
.photo-page-hero .button { margin-top: 24px; background: var(--sky); color: var(--navy); }
.photo-hero-accent { color: var(--sky); }
.photo-hero-mark { position: absolute; right: max(6vw, calc((100vw - 1120px) / 2)); top: 50%; transform: translateY(-50%); width: clamp(150px, 22vw, 280px); aspect-ratio: 1; object-fit: contain; }
.photo-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; }
.photo-intro h2 { max-width: 490px; margin-bottom: 0; }
.photo-intro > p { max-width: 500px; color: var(--muted); font-size: 1.05rem; margin: 0; }
.photo-gallery-section { padding-top: 20px; }
.photo-gallery-heading { align-items: end; }
.photo-gallery-heading h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.photo-gallery-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.photo-filter { border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; background: rgba(255,255,255,.65); color: var(--navy); font: 600 .82rem var(--sans); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.photo-filter:hover, .photo-filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.photo-gallery-grid { columns: 4; column-gap: 15px; }
.photo-gallery-item { break-inside: avoid; margin: 0 0 15px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.photo-gallery-item[hidden] { display: none; }
.photo-gallery-item a { display: block; overflow: hidden; }
.photo-gallery-item img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.photo-gallery-item:hover img { transform: scale(1.025); }
.photo-gallery-item:focus-within { outline: 3px solid var(--teal); outline-offset: 3px; }
.photo-viewer { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 1px solid rgba(200,217,230,.3); border-radius: 8px; background: var(--navy); color: var(--white); box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.photo-viewer::backdrop { background: rgba(18,29,40,.9); backdrop-filter: blur(5px); }
.photo-viewer-panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: calc(100vh - 32px); }
.photo-viewer-toolbar, .photo-viewer-caption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; }
.photo-viewer-toolbar { border-bottom: 1px solid rgba(200,217,230,.18); }
.photo-viewer-title { margin: 0; font: 600 .95rem var(--sans); }
.photo-viewer-title span { color: var(--sky); margin-left: 7px; font-weight: 400; }
.photo-viewer-close, .photo-viewer-nav { display: inline-grid; place-items: center; border: 1px solid rgba(200,217,230,.45); color: var(--white); background: rgba(47,65,86,.85); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.photo-viewer-close:hover, .photo-viewer-nav:hover { background: var(--teal); }
.photo-viewer-close { width: 38px; height: 38px; border-radius: 50%; font: 400 1.6rem/1 var(--sans); }
.photo-viewer-stage { min-height: 200px; position: relative; display: grid; place-items: center; padding: 18px 68px; }
.photo-viewer-image { display: block; width: 100%; height: auto; max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; }
.photo-viewer-nav { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; font: 400 1.5rem/1 var(--sans); }
.photo-viewer-nav:hover { transform: translateY(-50%) scale(1.06); }
.photo-viewer-previous { left: 14px; }
.photo-viewer-next { right: 14px; }
.photo-viewer-caption { border-top: 1px solid rgba(200,217,230,.18); color: var(--sky); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.timeline { border-left: 1px solid var(--line); margin: 35px 0 0 9px; }
.timeline-item { position: relative; padding: 0 0 38px 30px; }
.timeline-item::before { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; left: -7px; top: 5px; background: var(--teal); border: 2px solid var(--beige); }
.timeline-meta { color: var(--teal); font-size: .75rem; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; }
.timeline-item h3 { font-family: var(--serif); font-size: 1.5rem; margin: 7px 0 3px; }
.timeline-item .subhead { color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.timeline-item p { color: #536271; max-width: 790px; }
.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; }
.page-photo { overflow: hidden; margin: 28px 0 0; border: 1px solid var(--line); box-shadow: 12px 12px 0 var(--teal); }
.page-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-photo--landscape { aspect-ratio: 3 / 2; }
.page-photo--portrait { aspect-ratio: 2 / 3; }
.volunteering-layout { align-items: start; }
.volunteering-layout .page-photo { margin-top: 0; }
.side-note { padding: 25px; background: var(--navy); color: white; align-self: start; }
.side-note h3 { color: white; font-family: var(--serif); font-size: 1.5rem; }
.side-note p, .side-note li { color: #dbe5ec; }
.side-note ul { margin: 12px 0 0; padding-left: 20px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.pill { padding: 7px 11px; color: var(--navy); background: var(--sky); font-size: .78rem; font-weight: 700; }
.contact-panel { background: var(--teal); color: white; padding: 45px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.contact-panel h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.contact-panel p { margin: 0; color: #e5eff3; }
.home-ending { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, 320px); gap: 32px; align-items: center; padding-top: 0; }
.home-ending .contact-panel { height: auto; min-height: 0; align-items: flex-start; flex-direction: column; justify-content: center; gap: 18px; padding: 40px; }
.home-ending-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 32%; border: 1px solid var(--line); box-shadow: 12px 12px 0 var(--teal); }
@media (min-width: 761px) and (max-width: 1000px) {
  .home-ending .contact-panel { align-items: flex-start; flex-direction: column; justify-content: center; }
}
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 30px; background: white; border: 1px solid var(--line); }
.form-honeypot { display: none; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { color: var(--navy); font-weight: 700; font-size: .85rem; }
.form-field label span:not(.optional) { color: var(--teal); }
.form-field .optional { font-weight: 400; color: var(--muted); }
.form-field input, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 2px; padding: 12px; background: #fcfbfa; color: var(--ink); font: inherit; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.form-field textarea { resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.contact-form button { border: 0; cursor: pointer; font: inherit; }
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner a { color: var(--navy); font-weight: 700; }
.note { background: #f2e4d6; border-left: 3px solid var(--teal); padding: 14px 18px; color: #516170; font-size: .88rem; margin: 0 0 24px; }
@media (max-width: 760px) {
  .site-header.container { width: 100%; max-width: none; align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px 22px; }
  .nav { width: 100%; justify-content: flex-start; gap: 8px 12px; }
  .nav a { font-size: .78rem; }
  .nav .nav-contact { padding: 7px 11px; }
  h1 { font-size: clamp(2rem, 8vw, 2.7rem); margin-bottom: 18px; }
  h2 { font-size: clamp(1.8rem, 7vw, 2.35rem); }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .contact-panel h2 { font-size: clamp(1.8rem, 7vw, 2.35rem); }
  .hero { grid-template-columns: 1fr; padding: 42px 0 70px; }
  .portrait-art { min-height: 0; margin-right: 18px; }
  .feature-grid, .project-grid, .split { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section { padding: 64px 0; }
  .contact-panel { align-items: flex-start; flex-direction: column; padding: 30px; }
  .home-ending { grid-template-columns: 1fr; }
  .home-ending-photo { width: min(100%, 430px); aspect-ratio: auto; justify-self: center; }
  .contact-form { grid-template-columns: 1fr; padding: 22px; }
  .form-wide { grid-column: auto; }
  .photo-page-hero { min-height: 390px; }
  .photo-hero-mark { opacity: .65; right: 15px; top: auto; bottom: 18px; transform: none; width: 130px; }
  .photo-intro { grid-template-columns: 1fr; gap: 20px; }
  .photo-gallery-heading { align-items: flex-start; }
  .photo-gallery-grid { columns: 2; column-gap: 12px; }
  .photo-gallery-item { margin-bottom: 12px; }
  .photo-viewer-stage { padding: 12px 46px; }
  .photo-viewer-nav { width: 34px; height: 34px; }
  .photo-viewer-previous { left: 7px; }
  .photo-viewer-next { right: 7px; }
  .photo-viewer-toolbar, .photo-viewer-caption { padding: 12px; }
}
@media (max-width: 900px) { .photo-gallery-grid { columns: 3; } }
@media (max-width: 760px) { .photo-gallery-grid { columns: 2; } }
@media (min-width: 761px) {
  html { font-size: 93.75%; }
  body { line-height: 1.6; }
  .container { width: min(1200px, calc(100% - 48px)); }
  h1 { font-size: clamp(2.65rem, 5.5vw, 5.5rem); margin-bottom: 20px; }
  h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); margin-bottom: 16px; }
  h3 { font-size: 1.12rem; margin-bottom: 9px; }
  .lead { font-size: clamp(1rem, 1.5vw, 1.2rem); }
  .hero { gap: clamp(32px, 6vw, 84px); padding: 56px 0 76px; }
  .portrait-art { min-height: 430px; box-shadow: 16px 16px 0 var(--teal); }
  .home-band { padding: 64px 0; }
  .section { padding: 72px 0; }
  .section-head { gap: 22px; margin-bottom: 28px; }
  .feature-grid, .project-grid { gap: 20px; }
  .card { padding: 22px; }
  .project-art { min-height: 190px; padding: 22px; }
  .page-hero { padding: 66px 0; }
  .page-hero h1 { font-size: clamp(2.65rem, 5vw, 4.5rem); margin-bottom: 14px; }
  .page-hero p { font-size: 1.05rem; }
  .photo-page-hero { min-height: 380px; }
  .photo-hero-mark { right: max(6vw, calc((100vw - 1200px) / 2)); width: clamp(140px, 20vw, 250px); }
  .timeline { margin-top: 30px; }
  .timeline-item { padding: 0 0 32px 26px; }
  .contact-panel { padding: 38px; gap: 24px; }
  .contact-form { gap: 16px; padding: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
