/*
Theme Name: Teija Tammikumpu
Theme URI: https://teijatammikumpu.fi
Author: Askel Management Oy
Description: Teija Tammikummun artistisivusto. Yhden sivun rakenne (esittely, kokoonpanot, ohjelmisto, musiikki ja videot, keikat, tilaa keikka), keikkakalenteri, kuvagalleria, tietosuojaystävälliset upotukset ilman evästebanneria. Fontit Syne ja Plus Jakarta Sans (SIL OFL) teeman mukana.
Version: 1.4.5
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teija-tammikumpu
*/

/* ---------- Fontit (teeman mukana, ei ulkoisia palvelimia) ---------- */
@font-face { font-family: "Syne"; src: url("assets/fonts/Syne-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Syne"; src: url("assets/fonts/Syne-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/PlusJakartaSans-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/PlusJakartaSans-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/PlusJakartaSans-Italic-latin.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/PlusJakartaSans-Italic-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--black: #0E0D0C;
	--ink: #0B1222;
	--ivory: #F4F1EA;
	--ivory-2: #E9E3D6;
	--gold: #CDAE74;
	--bronze: #7A5C2A;
	--blue: #12285A;
	--muted: #B4AC9D;
	--line: rgba(205, 174, 116, .28);
	--display: "Syne", "Helvetica Neue", Arial, sans-serif;
	--text: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 84px;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ivory); font-family: var(--text); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--black); }

.container { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--black); padding: 10px 16px; font-family: var(--display); font-size: 13px; letter-spacing: .14em; }
.skip-link:focus { top: 12px; }

/* ---------- Painikkeet ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border: 1px solid var(--gold); font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; line-height: 1.2; transition: background .25s, color .25s, border-color .25s; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--ivory); border-color: var(--ivory); color: var(--black); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(244, 241, 234, .55); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-small { padding: 10px 18px; font-size: 11px; background: transparent; color: var(--gold); }
.btn-small:hover { background: var(--gold); color: var(--black); }

/* ---------- Ylätunniste ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: rgba(14, 13, 12, .96); border-bottom: 1px solid var(--line); transition: background .35s, border-color .35s; }
.has-hero .site-header { background: linear-gradient(180deg, rgba(14, 13, 12, .7), rgba(14, 13, 12, 0)); border-bottom-color: transparent; }
.has-hero .site-header.is-scrolled, .has-hero .site-header.nav-open { background: rgba(14, 13, 12, .96); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 42px; width: auto; }
.has-hero .site-header:not(.is-scrolled) .brand { opacity: 0; pointer-events: none; transition: opacity .35s; }
.has-hero .site-header.is-scrolled .brand { opacity: 1; transition: opacity .35s; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.nav-list a { color: var(--ivory); text-decoration: none; font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.nav-list a:hover { color: var(--gold); }
.nav-list .nav-tilaa a { border: 1px solid var(--gold); color: var(--gold); padding: 10px 16px; }
.nav-list .nav-tilaa a:hover { background: var(--gold); color: var(--black); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--ivory); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s, background .25s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; } .nav-toggle-bars::after { top: 8px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Some ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ivory); transition: color .2s, border-color .2s; }
.social a:hover { color: var(--gold); border-color: var(--gold); }
.header-social a { width: 36px; height: 36px; border-color: transparent; }
.header-social .icon { width: 20px; height: 20px; }

/* ---------- Pääkuva ---------- */
.hero { position: relative; min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: flex; align-items: center; overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 13, 12, .94) 0%, rgba(14, 13, 12, .8) 32%, rgba(14, 13, 12, .15) 62%, rgba(14, 13, 12, 0) 100%), linear-gradient(0deg, var(--black) 0%, rgba(14, 13, 12, 0) 22%); }
.hero-inner { position: relative; z-index: 1; padding: calc(var(--header-h) + 40px) 0 96px; }
.hero-logo { margin: 0 0 26px; width: clamp(260px, 38vw, 540px); }
.hero-logo img { width: 100%; height: auto; }
.hero-tagline { margin: 0 0 10px; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.hero-lead { margin: 0 0 34px; max-width: 30em; font-size: 24px; font-style: italic; line-height: 1.45; color: rgba(244, 241, 234, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-social { margin-top: 30px; }
.hero-credit { position: absolute; right: 24px; bottom: 16px; z-index: 1; margin: 0; font-size: 13px; font-style: italic; letter-spacing: .02em; color: rgba(244, 241, 234, .6); }

/* ---------- Osiot ---------- */
.section { padding: 112px 0; scroll-margin-top: calc(var(--header-h) - 1px); }
.tone-dark { background: var(--black); }
.tone-ink { background: var(--ink); }
.tone-light { background: var(--ivory); color: var(--black); }
.tone-blue { background: radial-gradient(120% 140% at 0% 0%, #1E3F86 0%, var(--blue) 45%, #091530 100%); }
/* Etusivulla tausta liukuu osiosta toiseen mustasta siniseen (värit front-page.php:ssä). */
.section-flow { background: linear-gradient(180deg, var(--bg-from) 0%, var(--bg-to) 100%); }
.section-flow.tone-blue { background: radial-gradient(70% 55% at 0% 35%, rgba(30, 63, 134, .45) 0%, rgba(30, 63, 134, 0) 70%), linear-gradient(180deg, var(--bg-from) 0%, var(--bg-to) 42%, #0F2250 75%, #0A1631 100%); }
.has-hero .site-footer { background: linear-gradient(180deg, #0A1631 0%, var(--black) 75%); border-top-color: rgba(205, 174, 116, .14); }
.section-head { margin-bottom: 40px; }
.section-rule { display: block; width: 56px; height: 1px; background: var(--gold); margin-bottom: 22px; }
.tone-light .section-rule { background: var(--bronze); }
.section h2, .page-head h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.15; letter-spacing: .05em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.section-figure { margin: 0; }
.section-figure img { width: 100%; height: auto; }

.entry { max-width: 760px; }
.entry > :first-child { margin-top: 0; }
.entry p { margin: 0 0 1em; }
.entry .lead, .entry p.lead { font-size: 28px; line-height: 1.4; color: var(--ivory); }
.tone-light .entry .lead { color: var(--black); }
.entry h2 { font-size: 30px; margin: 1.4em 0 .5em; }
.entry h3 { margin: 1.6em 0 .5em; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tone-light .entry h3 { color: var(--bronze); }
.entry ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.entry ul li { position: relative; padding-left: 30px; margin-bottom: .35em; }
.entry ul li::before { content: ""; position: absolute; left: 0; top: .82em; width: 16px; height: 1px; background: var(--gold); }
.tone-light .entry ul li::before { background: var(--bronze); }
.tone-light a { color: var(--bronze); }
.tone-light a:hover { color: var(--black); }
.entry em { color: var(--muted); }
.tone-light .entry em { color: #6b6457; }
.entry .wp-block-columns { display: flex; gap: 28px; margin: 28px 0; }
.entry .wp-block-column { flex: 1 1 0; border-top: 1px solid var(--bronze); padding-top: 20px; }
.entry .wp-block-column h3 { margin-top: 0; }
.entry .wp-block-image img, .entry .wp-block-gallery img { height: auto; }
.entry figcaption { font-size: 16px; font-style: italic; color: var(--muted); margin-top: 8px; }
.section-kokoonpanot .entry, .section-musiikki .entry { max-width: none; }
.section-kokoonpanot .entry > p { max-width: 760px; }

/* ---------- Musiikki ja videot ---------- */
.section-musiikki .entry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.section-musiikki .entry > :not(.wp-block-embed) { grid-column: 1 / -1; max-width: 760px; }
.wp-block-embed { margin: 0 0 28px; }
.section-musiikki .wp-block-embed { margin: 0; }
.embed-facade { position: relative; width: 100%; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 42%, #1B2645 0%, #0B1020 70%); border: 1px solid var(--line); }
.embed-facade.embed-audio { aspect-ratio: auto; height: 352px; }
.embed-facade.embed-audio-small { aspect-ratio: auto; height: 152px; }
.embed-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-play { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: none; border: 0; color: var(--ivory); cursor: pointer; font: inherit; padding: 16px; }
.embed-icon { width: 72px; height: 72px; border: 1px solid var(--gold); border-radius: 50%; position: relative; transition: background .25s; }
.embed-icon::after { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--gold); }
.embed-audio-small .embed-icon { width: 52px; height: 52px; }
.embed-audio-small .embed-icon::after { left: 21px; top: 16px; border-width: 10px 0 10px 16px; }
.embed-play:hover .embed-icon { background: rgba(205, 174, 116, .14); }
.embed-label { font-family: var(--display); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; }
.embed-note { font-size: 15px; font-style: italic; color: var(--muted); }
.wp-block-video video { width: 100%; }

/* ---------- Referenssit ---------- */
.section-referenssit .entry { max-width: none; }
.entry ul.ref-names { columns: 4 190px; column-gap: 40px; margin: 0 0 64px; font-size: 22px; }
.entry ul.ref-names li { break-inside: avoid; }
.entry .ref-groups { gap: 32px; margin: 0; }
.section-referenssit .entry .wp-block-column { border-top-color: var(--line); }
.entry .ref-groups ul { margin: 0; font-size: 18px; }
.entry .ref-groups li { margin-bottom: .7em; }
.entry .ref-groups li em { display: block; font-size: 16px; line-height: 1.4; }
.entry ul.ref-records { columns: 2 340px; column-gap: 40px; margin: 0 0 64px; font-size: 18px; }
.entry ul.ref-records li { break-inside: avoid; margin-bottom: .7em; }
.entry ul.ref-records li em { display: block; font-size: 16px; line-height: 1.4; }

/* ---------- Keikat ---------- */
.gigs { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid rgba(14, 13, 12, .18); max-width: 980px; }
.gig { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(14, 13, 12, .18); }
.tone-dark .gigs, .tone-dark .gig, .tone-ink .gigs, .tone-ink .gig { border-color: var(--line); }
.gig-date { display: flex; flex-direction: column; align-items: center; font-family: var(--display); color: var(--bronze); line-height: 1; }
.tone-dark .gig-date, .tone-ink .gig-date { color: var(--gold); }
.gig-day { font-size: 40px; font-weight: 500; }
.gig-mon { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; }
.gig-info h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: .08em; }
.gig-meta, .gig-extra { margin: 0; font-size: 18px; }
.gig-extra { font-style: italic; opacity: .8; }
.tone-light .btn-small { color: var(--bronze); border-color: var(--bronze); }
.tone-light .btn-small:hover { background: var(--bronze); color: var(--ivory); }
.gigs-empty { font-size: 22px; font-style: italic; max-width: 640px; margin: 0; }

/* ---------- Kuvagalleria ---------- */
.gallery-block { margin-top: 96px; }
.gallery-title { display: flex; align-items: center; gap: 22px; margin: 0 0 26px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.gallery-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.teija-gallery { display: flex; flex-direction: column; gap: 12px; }
.g-row { display: flex; gap: 12px; }
.g-item { position: relative; display: block; flex: var(--r) 1 0%; min-width: 0; aspect-ratio: var(--r); overflow: hidden; background: var(--ink); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.g-item::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .3s; pointer-events: none; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.035); }
.g-item:hover::after, .g-item:focus-visible::after { border-color: var(--gold); }
.g-item:focus-visible { outline-offset: 4px; }
.gallery-credit { margin: 16px 0 0; font-size: 15px; font-style: italic; color: var(--muted); text-align: right; }

/* Suurennos */
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 13, 12, .97); color: var(--ivory); overflow: hidden; }
.lightbox::backdrop { background: rgba(14, 13, 12, .9); }
.lb-figure { position: absolute; inset: 72px 104px 76px; margin: 0; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 0; transition: opacity .3s; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-img.is-loaded { opacity: 1; }
.lb-cap { position: absolute; left: 24px; right: 24px; bottom: 24px; margin: 0; text-align: center; font-size: 16px; font-style: italic; color: var(--muted); }
.lb-btn { position: absolute; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(14, 13, 12, .5); color: var(--ivory); cursor: pointer; transition: color .2s, border-color .2s; }
.lb-btn:hover { color: var(--gold); border-color: var(--gold); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }

/* ---------- Tilaa keikka ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; margin-top: 12px; }
.contact-card { border: 1px solid rgba(205, 174, 116, .5); padding: 36px; background: rgba(14, 13, 12, .22); }
.contact-card p { margin: 0 0 14px; }
.card-kicker { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.contact-big { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; word-break: break-word; }
.contact-card a:not(.btn) { color: var(--ivory); }
.contact-card a:not(.btn):hover { color: var(--gold); }
.contact-social { margin-top: 8px; }

/* ---------- Keikkakyselylomake ---------- */
.contact-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
.contact-side { display: grid; gap: 28px; }
.contact-card .contact-mid { font-size: 22px; line-height: 1.3; word-break: break-word; }
.teija-form { color-scheme: dark; }
.teija-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.teija-field { margin: 0 0 20px; }
.teija-form label { display: block; min-height: 20px; margin: 0 0 8px; line-height: 20px; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); }
.teija-form .teija-optional { font-family: var(--text); font-size: 15px; line-height: 1; font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--muted); }
.teija-form input[type="text"],
.teija-form input[type="email"],
.teija-form input[type="tel"],
.teija-form input[type="date"],
.teija-form select,
.teija-form textarea {
	display: block; width: 100%; min-height: 52px; margin: 0; font-family: var(--text); font-size: 19px; line-height: 1.4; color: var(--ivory);
	background-color: rgba(11, 18, 34, .45); border: 1px solid rgba(205, 174, 116, .6); border-radius: 0; padding: 11px 14px;
}
.teija-form select {
	-webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23CDAE74' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
.teija-form option { background: var(--ink); color: var(--ivory); }
.teija-form textarea { min-height: 160px; resize: vertical; }
.teija-form input:focus,
.teija-form select:focus,
.teija-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.teija-form .teija-hint { margin: -2px 0 8px; font-size: 16px; font-style: italic; color: var(--muted); }
.teija-form .teija-error { margin: 0 0 8px; padding-left: 10px; border-left: 2px solid var(--gold); font-size: 16px; font-style: italic; color: var(--ivory); }
.teija-form .has-error input,
.teija-form .has-error select,
.teija-form .has-error textarea { border: 2px solid var(--ivory); padding: 10px 13px; }
.teija-form .has-error select { padding-right: 43px; }
.teija-form-errors { margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--ivory); background: rgba(244, 241, 234, .08); }
.teija-form .teija-form-errors p { margin: 0; }
.teija-form-errors:focus, .teija-form-done:focus { outline: none; }
.teija-form .teija-privacy { margin: 2px 0 22px; font-size: 16px; color: var(--muted); }
.teija-form .teija-submit { margin: 0; }
.teija-form button.btn { cursor: pointer; }
.teija-form button.btn:disabled { opacity: .7; cursor: default; }
.teija-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.teija-form-done { padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); }
.teija-form-done .teija-form-done-title { margin: 0 0 8px; font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.teija-form-done p:last-child { margin: 0; }

/* ---------- Alasivut ---------- */
.page-head { padding: calc(var(--header-h) + 96px) 0 64px; background: radial-gradient(80% 120% at 85% 0%, rgba(30, 63, 134, .45) 0%, rgba(14, 13, 12, 0) 60%), var(--black); border-bottom: 1px solid var(--line); }
.page-lead { margin: 18px 0 0; max-width: 34em; font-size: 22px; font-style: italic; color: rgba(244, 241, 234, .85); }
.page-head .btn { margin-top: 28px; }
.page-body { padding-top: 64px; }
.page-body .entry h2 { font-size: 22px; letter-spacing: .1em; }
.entry-item { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.entry-item h2 { font-size: 24px; margin: 0 0 6px; }
.entry-item h2 a { color: var(--ivory); text-decoration: none; }
.meta { font-size: 16px; color: var(--muted); margin: 0 0 12px; }
.company-info { list-style: none; padding: 0; margin: 0 0 24px; }
.entry .company-info li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.entry .company-info li::before { display: none; }
.entry .company-info li { padding-left: 0; }
.company-label { display: inline-block; min-width: 150px; font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* ---------- Alatunniste ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand img { width: 64px; height: 64px; }
.footer-contact { text-align: right; }
.footer-kicker { margin: 0 0 4px; font-family: var(--display); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer-mail { margin: 0 0 16px; font-size: 22px; }
.footer-mail a { color: var(--ivory); text-decoration: none; }
.footer-mail a:hover { color: var(--gold); }
.footer-social { justify-content: flex-end; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(244, 241, 234, .08); }
.footer-legal p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--gold); }
.sep { margin: 0 6px; }

/* ---------- WordPress ---------- */
.alignwide { max-width: none; }
.wp-block-gallery { gap: 12px; }
.wp-block-quote { margin: 1.4em 0; padding-left: 24px; border-left: 1px solid var(--gold); font-style: italic; font-size: 24px; }

/* ---------- Mobiili ---------- */
@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: var(--header-h) 0 auto; background: rgba(14, 13, 12, .98); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 28px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
	.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
	.nav-list .nav-tilaa a { margin-top: 18px; text-align: center; border: 1px solid var(--gold); }
	.header-social { margin-top: 18px; justify-content: center; }
	.split { grid-template-columns: 1fr; gap: 40px; }
	.contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	:root { --header-h: 68px; }
	body { font-size: 17px; }
	.brand img { height: 34px; }
	.hero { align-items: flex-end; }
	.hero-media img, .hero-media video { object-position: 57% 20%; }
	.hero-shade { background: linear-gradient(180deg, rgba(14, 13, 12, .35) 0%, rgba(14, 13, 12, .1) 30%, rgba(14, 13, 12, .78) 58%, var(--black) 88%); }
	.hero-inner { padding: calc(var(--header-h) + 24px) 0 56px; }
	.hero-logo { width: min(86vw, 420px); margin-bottom: 18px; }
	.hero-lead { font-size: 20px; margin-bottom: 26px; }
	.hero-credit { right: 16px; bottom: 10px; font-size: 12px; }
	.hero-actions .btn { flex: 1 1 auto; padding: 14px 18px; letter-spacing: .16em; white-space: nowrap; }
	.section { padding: 72px 0; }
	.section-head { margin-bottom: 28px; }
	.entry .lead, .entry p.lead { font-size: 23px; }
	.entry .wp-block-columns { flex-direction: column; gap: 8px; }
	.entry ul.ref-names { columns: 2; column-gap: 20px; font-size: 18px; margin-bottom: 44px; }
	.entry ul.ref-records { columns: 1; margin-bottom: 44px; font-size: 17px; }
	.entry .ref-groups { gap: 28px; }
	.section-musiikki .entry { grid-template-columns: 1fr; }
	.gig { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
	.gig .btn-small { grid-column: 2; justify-self: start; }
	.gig-day { font-size: 32px; }
	.gallery-block { margin-top: 56px; }
	.gallery-title { margin-bottom: 18px; }
	.teija-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.g-row { display: contents; }
	.g-item { aspect-ratio: 1; }
	.g-item img { object-position: var(--pos, 50% 50%); }
	.gallery-credit { font-size: 14px; text-align: left; }
	.lb-figure { inset: 60px 0 84px; }
	.lb-btn { width: 48px; height: 48px; }
	.lb-close { top: 8px; right: 8px; }
	.lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
	.lb-prev { left: 14px; } .lb-next { right: 14px; }
	.lb-cap { left: 72px; right: 72px; bottom: 26px; font-size: 14px; }
	.contact-card { padding: 26px 22px; }
	.teija-form-grid { grid-template-columns: 1fr; }
	.teija-form button.btn { width: 100%; }
	.footer-inner { flex-direction: column; align-items: flex-start; }
	.footer-contact { text-align: left; }
	.footer-social { justify-content: flex-start; }
	.page-head { padding: calc(var(--header-h) + 56px) 0 44px; }
	.company-label { display: block; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
