/*
Theme Name: Gunars Redesign
Version: 1.39
*/

:root{--ink:#202820;--paper:#f6f2e8;--lime:#dce5a4;--line:#d8d4c8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px 'Instrument Sans',system-ui,sans-serif}a{color:inherit;text-underline-offset:5px}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}header,.hero,footer{background:var(--ink);color:var(--paper)}header .wrap,footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0}nav{display:flex;gap:24px;flex-wrap:wrap}nav a,.brand{text-decoration:none}.brand{font-weight:700}.hero .wrap{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:30px;padding:32px 0 56px}.hero figure{margin:0;aspect-ratio:1.25;background:#394337;overflow:hidden}.hero img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.7)}h1,h2,h3{font-family:'Instrument Serif',Georgia,serif;font-weight:400;margin:0}h1{font-size:clamp(64px,10vw,150px);line-height:.79;letter-spacing:-.04em}h1 em{color:var(--lime);font-weight:400}h2{font-size:clamp(48px,6vw,82px);line-height:1}h3{font-size:34px;line-height:1}.hero p{margin:24px 0;font-size:19px}.actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.button{background:var(--lime);color:var(--ink);padding:12px 18px;text-decoration:none;font-weight:700}.section{padding:62px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:26px}.event{display:grid;grid-template-columns:95px 1fr auto;align-items:center;gap:20px;padding:20px 0;border-top:1px solid var(--line)}.event:last-child{border-bottom:1px solid var(--line)}time{font-weight:700}.projects{background:#e9e7d8}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.cards article{border-top:1px solid #a5a796;padding-top:22px}p{line-height:1.55}.bio{display:grid;grid-template-columns:1fr 1fr;gap:32px}details{border-top:1px solid var(--line);padding-top:15px}summary{cursor:pointer;font-weight:700}:focus-visible{outline:3px solid #869843;outline-offset:5px}@media(max-width:680px){.wrap{width:calc(100% - 36px)}header .wrap{align-items:start;flex-direction:column}nav{gap:9px 16px}.hero .wrap,.cards,.bio{grid-template-columns:1fr}.hero .wrap{padding-top:30px;gap:26px}.hero figure{aspect-ratio:1.45}.section{padding:42px 0}.section-head{align-items:start;flex-direction:column}.event{grid-template-columns:56px 1fr;gap:10px 14px}.event>a{grid-column:2}footer .wrap{flex-wrap:wrap}}

nav a[aria-current]{text-decoration:underline;color:var(--lime)}
.page-title{background:var(--ink);color:var(--paper);padding:34px 0 46px}
.page-title h1{font-size:clamp(60px,10vw,118px);line-height:.98;overflow-wrap:anywhere}
.page-title p{margin:14px 0 0;color:var(--lime)}
.stack>*+*{margin-top:30px}.stack section>h2{margin-bottom:20px}
.media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}
.media-grid img,.media-grid iframe{display:block;width:100%;border:0;background:#e9e7d8}
.media-grid img{height:100%;aspect-ratio:4/3;object-fit:cover}
.press-grid img{object-fit:contain}
.media-grid iframe{aspect-ratio:16/9}.audio iframe{aspect-ratio:auto;height:152px}
.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:540px;text-align:left}
th,td{padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:#e9e7d8}.contact{display:grid;grid-template-columns:1fr 1.4fr;gap:40px}
.contact form{display:grid;gap:15px}.contact label{display:grid;gap:6px;font-weight:600}
input,textarea{padding:10px;font:inherit;color:inherit;background:white;border:1px solid #8b8b79;width:100%}
button.button{border:0;font:inherit;font-weight:700;cursor:pointer;justify-self:start}
.event p{margin:5px 0 0}.event time{display:block}
.skip{position:absolute;left:12px;top:-100px;background:white;color:var(--ink);padding:10px;z-index:1}.skip:focus{top:12px}
@media(max-width:680px){.contact{grid-template-columns:1fr}.table-scroll{border:1px solid var(--line)}}

header, footer {
  background: #fff;
  color: var(--ink);
}
header { border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); }
header nav a[aria-current] { color: var(--ink); }

.hero, .page-title {
  background: #fff;
  color: var(--ink);
}
.hero h1 em, .page-title p {
  color: #46533d;
}

.hero figure {
  background: #fff;
}
.hero img {
  object-fit: contain;
  filter: none;
}

.hero .wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 76px);
}
.hero figure {
  aspect-ratio: 1;
  background: #fff;
}
.hero img {
  object-fit: contain;
  object-position: center;
  filter: none;
  mask-image: linear-gradient(to right, transparent 0%, #0004 12%, #000a 25%, #000 45%);
}
@media (max-width: 680px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 280px));
  gap: 28px;
}
.release-card { min-width: 0; }
.release-cover { display: block; background: #e9e7d8; }
.release-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.release-card h3 { margin: 14px 0 8px; font-size: 30px; }
@media (max-width: 550px) {
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .release-card h3 { font-size: 25px; }
}

.platform-button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 2px 4px 2px 0;
  vertical-align: middle;
  border: 1px solid #000;
  border-radius: 50%;
  background: transparent;
}
.platform-button:hover { box-shadow: inset 0 0 0 1px #000; }
.platform-button img { position: relative; }
.platform-button img:not([hidden]) + .platform-fallback { display: none; }
.platform-fallback {
  position: absolute;
  max-width: 32px;
  font-size: 8px;
  line-height: 1.1;
  text-align: center;
}
.platform-button img[hidden] { display: none; }
.platform-button img { width: 28px; height: 28px; object-fit: contain; }
.platform-button img[src$="amazonmusic.svg"] { width: 32px; }

.choir-logo { display: grid; place-items: center; height: 132px; padding: 16px; margin-bottom: 18px; background: transparent; }
.choir-logo img { display: block; width: 100%; height: 100%; max-height: 100px; object-fit: contain; }

body {
  background: linear-gradient(180deg, #fff 0%, #f6f2e8 38%, #e9e7d8 100%) no-repeat;
}
header, .hero, .page-title, .projects, footer {
  background: transparent;
}
.hero figure { background: transparent; }

body, h1, h2, h3, time { font-family: Arial, Helvetica, sans-serif; }
h1, h2, h3 { font-weight: 700; }
.hero h1 { font-size: clamp(48px, 7vw, 116px); line-height: .95; }
.page-title h1 { font-size: clamp(44px, 7vw, 96px); }

.social-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.social-links a{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d8d4c8;border-radius:50%;color:#202820;background:#fff}.social-links a:hover{background:#e9e7d8}

footer .wrap{display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;gap:8px;white-space:nowrap}
footer nav{flex-wrap:nowrap;gap:8px}
footer .social-links a{width:32px;height:32px}
footer .social-links svg{width:17px;height:17px}
@media(max-width:680px){
footer .wrap{width:calc(100% - 16px);gap:5px;font-size:clamp(8px,2.25vw,12px);padding:14px 0;overflow-x:auto}
footer nav,footer .social-links{gap:4px}
footer .social-links a{width:23px;height:23px}
footer .social-links svg{width:13px;height:13px}
}

@media (prefers-reduced-motion: no-preference) {
  .photo-gallery a { display: block; overflow: hidden; }
  .photo-gallery a.photo-visible { animation: gallery-appear 550ms ease-out both; }
  .photo-gallery img { transition: transform 300ms ease; }
  .photo-gallery a:hover img, .photo-gallery a:focus-visible img { transform: scale(1.035); }
  @keyframes gallery-appear {
    from { opacity: 0.65; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

.site-language { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.language-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.site-language select { font: inherit; color: inherit; border: 1px solid currentColor; border-radius: 6px; background: transparent; padding: 3px 6px; }
