/* =========================================================
   ARMONIX — design tokens
   Display: ZT Bros Oskon 90s (self-hosted, 200/300/400 + italics)
   Body/UI: Figtree
   Palette:
     --cream        #EFE3C8  warm base / hero
     --white        #FFFFFF  editorial light sections
     --ink          #241B14  primary text on light
     --rust         #B1502E  terracotta accent sections
     --rust-deep    #8C3E22  hovers / borders on rust
     --maroon       #591C2C  card + contact section
     --maroon-deep  #43121F
     --near-black   #1B1611  darkest sections / footer
     --teal         #1E4A45  posproducción card
     --gold         #D9A15C  italic accent on dark bg
   ========================================================= */

/* ---------- ZT Bros Oskon 90s (self-hosted) ---------- */
@font-face{
    font-family: "ZT Bros Oskon 90s";
    src: url("https://storage.armonixms.com/typography/zt_bros_oskon_90s/ZTBrosOskon90s-ExtraLight.otf") format("opentype");
    font-weight: 200; font-style: normal; font-display: swap;
}
@font-face{
    font-family: "ZT Bros Oskon 90s";
    src: url("https://storage.armonixms.com/typography/zt_bros_oskon_90s/ZTBrosOskon90s-ExtLtIta.otf") format("opentype");
    font-weight: 200; font-style: italic; font-display: swap;
}
@font-face{
    font-family: "ZT Bros Oskon 90s";
    src: url("https://storage.armonixms.com/typography/zt_bros_oskon_90s/ZTBrosOskon90s-Light.otf") format("opentype");
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face{
    font-family: "ZT Bros Oskon 90s";
    src: url("https://storage.armonixms.com/typography/zt_bros_oskon_90s/ZTBrosOskon90s-LightItalic.otf") format("opentype");
    font-weight: 300; font-style: italic; font-display: swap;
}
@font-face{
    font-family: "ZT Bros Oskon 90s";
    src: url("https://storage.armonixms.com/typography/zt_bros_oskon_90s/ZTBrosOskon90s-Regular.otf") format("opentype");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
    font-family: "ZT Bros Oskon 90s";
    src: url("https://storage.armonixms.com/typography/zt_bros_oskon_90s/ZTBrosOskon90s-Italic.otf") format("opentype");
    font-weight: 400; font-style: italic; font-display: swap;
}

:root{
    --cream: #EFE3C8;
    --cream-2: #E6D6B3;
    --white: #FFFFFF;
    --ink: #241B14;
    --ink-soft: #4A3E30;
    --rust: #B1502E;
    --rust-deep: #8C3E22;
    --maroon: #591C2C;
    --maroon-deep: #3E1220;
    --near-black: #1B1611;
    --near-black-2: #241E17;
    --teal: #1E4A45;
    --gold: #D9A15C;

    --font-display: "ZT Bros Oskon 90s", "Iowan Old Style", Georgia, serif;
    --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --max: 1180px;
    --pad: clamp(1.25rem, 4vw, 3.5rem);
    --radius: 4px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3{
    font-family: var(--font-display);
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.08;
    text-wrap: balance;
}
p{ margin: 0; text-wrap: pretty; }
em{ font-style: italic; font-weight: 400; }
button, input, select, textarea{ font-family: inherit; font-size: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce){
    html{ scroll-behavior: auto; }
    *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

:focus-visible{
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ---------- utility ---------- */
.eyebrow{
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--rust-deep);
    margin: 0 0 0.9rem;
}
.eyebrow.center{ text-align: center; }
.eyebrow-light{ color: var(--gold); }

.section{ padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); }
.section-white{ background: var(--white); }
.section-cream{ background: var(--cream); }
.section-rust{ background: var(--rust); color: var(--cream); }
.section-maroon{ background: var(--maroon); color: var(--cream); }
.section-black{ background: var(--near-black); color: var(--cream-2); }
.section-rust .eyebrow{ color: var(--gold); }

.narrow{ max-width: 760px; margin: 0 auto; }
.section-head{ max-width: var(--max); margin: 0 auto clamp(2.5rem, 6vw, 3.5rem); }
.section-head h2{ font-size: clamp(2.4rem, 5vw, 3.5rem); margin-top: 0.25rem; }
.section-sub{ margin-top: 0.75rem; color: var(--ink-soft); max-width: 46ch; font-size: 1.06rem; }
.light-sub{ color: rgba(239,227,200,0.78); }

.lede{
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.6vw, 2.3rem);
    line-height: 1.32;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.lede em{ color: var(--rust); }
.lede .accent{ color: var(--rust); }

/* ---------- buttons / links ---------- */
.btn{
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-dark{ background: var(--ink); color: var(--cream); }
.btn-dark:hover{ background: var(--near-black); }
.btn-solid{ background: var(--rust); color: var(--white); }
.btn-solid:hover{ background: var(--rust-deep); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--cream); }
.btn-outline-light{ background: transparent; color: var(--cream); border-color: rgba(239,227,200,0.55); }
.btn-outline-light:hover{ background: var(--cream); color: var(--rust-deep); }
.btn-cream{ background: var(--cream); color: var(--maroon-deep); width: 100%; justify-content: center; padding: 0.95rem 1.6rem; }
.btn-cream:hover{ background: var(--white); }

.link-arrow{
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: var(--rust-deep);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}
.link-arrow:hover{ opacity: 0.7; }
.link-arrow.light{ color: var(--gold); }

/* ---------- placeholder image blocks ---------- */
.ph-image{
    position: relative;
    overflow: hidden;
    min-height: 220px;
}
.ph-inner{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ph-icon{ width: 15%; height: 15%; min-width: 28px; min-height: 28px; fill: rgba(255,255,255,0.55); }
.ph-image::after{
    content: attr(data-label);
    position: absolute;
    left: 0.75rem;
    bottom: 0.65rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.85);
    background: rgba(20,15,10,0.45);
    padding: 0.25rem 0.55rem;
    border-radius: 3px;
    max-width: calc(100% - 1.5rem);
}

/* ---------- para artistas ---------- */
.para-artistas{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    margin: 0;
}
.para-media{
    min-height: 360px;
    border-radius: 10px;
    max-width: 40%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.para-copy{
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    justify-content: center;
}
.para-copy h2{ font-size: clamp(2.5rem, 5.4vw, 3.8rem); }
.para-copy h2 em{ color: var(--gold); }
.para-copy p{ max-width: 42ch; color: rgba(239,227,200,0.9); font-size: 1.08rem; line-height: 1.65; }
.para-copy .btn{ align-self: flex-start; margin-top: 0.4rem; }

/* ---------- services ---------- */
.services-grid{
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.service-card{
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    border-radius: 10px;
    overflow: hidden;
    min-height: 300px;
}
.service-copy{
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}
.service-num{
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.8;
}
.service-card h3{ font-size: clamp(1.85rem, 3.1vw, 2.6rem); line-height: 1.1; }
.service-card p{ color: rgba(255,255,255,0.84); max-width: 46ch; line-height: 1.65; }
.service-card .link-arrow{ color: var(--gold); }
.card-maroon{ background: var(--maroon); color: var(--cream); }
.card-black{ background: var(--near-black); color: var(--cream-2); }
.card-teal{ background: var(--teal); color: var(--cream); }
.card-maroon .service-num{ color: var(--gold); }
.card-black .service-num{ color: #E3695A; }
.card-teal .service-num{ color: #8FCFC2; }

.onair-glow{
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.8rem, 4.4vw, 2.9rem);
    color: #ff5b45;
    text-shadow: 0 0 8px rgba(255,91,69,0.85), 0 0 24px rgba(255,91,69,0.55), 0 0 46px rgba(255,91,69,0.35);
    letter-spacing: 0.08em;
    animation: flicker 3.6s infinite;
}
@keyframes flicker{
    0%, 92%, 100%{ opacity: 1; }
    93%{ opacity: 0.6; }
    95%{ opacity: 1; }
    96%{ opacity: 0.7; }
}
.ph-onair{ background: linear-gradient(160deg, #171310, #0c0a08); }
.ph-onair::after{ display:none; }

/* ---------- full bleed ---------- */
.section-fullbleed{
    position: relative;
    min-height: 74vh;
    display: flex;
    align-items: flex-end;
    padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad);
    background-image: url(https://storage.armonixms.com/img/encuentra.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.fullbleed-overlay{ max-width: 640px; color: var(--cream); }
.fullbleed-overlay h2{ font-size: clamp(2.5rem, 6vw, 4.3rem); margin: 0.5rem 0 1.1rem; line-height: 1.05; }
.fullbleed-overlay h2 em{ color: var(--gold); }
.fullbleed-copy{ max-width: 46ch; color: rgba(239,227,200,0.88); font-size: 1.08rem; line-height: 1.65; }

/* ---------- bio ---------- */
.bio-section{
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: var(--max);
    margin: 0 auto;
}
.bio-media{
    border-radius: 10px;
    min-height: 320px;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.bio-copy h2{ font-size: clamp(2.5rem, 4.8vw, 3.6rem); margin: 0.25rem 0 1rem; }
.bio-copy h2 em{ color: var(--rust); }
.bio-copy p{ margin-bottom: 1rem; color: var(--ink-soft); max-width: 56ch; line-height: 1.65; }
.bio-stats{ display: flex; gap: 2.25rem; margin: 1.5rem 0; flex-wrap: wrap; }
.bio-stats > div{ display: flex; flex-direction: column; }
.stat-num{ font-family: var(--font-display); font-size: 2.6rem; line-height: 1.1; color: var(--rust); }
.stat-label{ font-size: 0.82rem; line-height: 1.4; color: var(--ink-soft); max-width: 14ch; }

/* ---------- apuntes ---------- */
.section-head-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.notes-grid{
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.note-card{ display: flex; flex-direction: column; gap: 0.6rem; }
.note-media{ border-radius: 8px; min-height: 150px; }
.note-tag{ font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.note-card h3{ font-size: 1.3rem; line-height: 1.25; color: var(--cream-2); }

/* ---------- contact ---------- */
.contact-grid{
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
.contact-copy h2{ font-size: clamp(2.5rem, 5.4vw, 3.8rem); margin: 0.25rem 0 1.1rem; }
.contact-copy h2 em{ color: var(--gold); }
.contact-copy p{ color: rgba(239,227,200,0.88); max-width: 44ch; margin-bottom: 1.75rem; line-height: 1.65; }
.contact-details{ display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.contact-details a{ font-weight: 600; }
.contact-details a:hover{ color: var(--gold); }
.contact-social{ display: flex; gap: 1.25rem; }
.contact-social a{ font-size: 0.9rem; font-weight: 500; border-bottom: 1px solid rgba(239,227,200,0.4); padding-bottom: 2px; }
.contact-social a:hover{ color: var(--gold); border-color: var(--gold); }

.contact-form{
    background: rgba(239,227,200,0.06);
    border: 1px solid rgba(239,227,200,0.18);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.field{ display: flex; flex-direction: column; gap: 0.4rem; }
.field span{ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(239,227,200,0.78); font-weight: 600; }
.field input, .field select, .field textarea{
    background: rgba(239,227,200,0.08);
    border: 1px solid rgba(239,227,200,0.25);
    border-radius: 6px;
    padding: 0.75rem 0.9rem;
    color: var(--cream);
    line-height: 1.5;
}
.field input::placeholder, .field textarea::placeholder{ color: rgba(239,227,200,0.45); }
.field select{ appearance: none; }
.field select option{ color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--gold); }
.form-note{ font-size: 0.88rem; color: var(--gold); min-height: 1.2em; }

/* ---------- footer ---------- */
.site-footer{ background: var(--near-black); color: rgba(239,227,200,0.78); padding: 3rem var(--pad) 2rem; }
.footer-inner{
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(239,227,200,0.12);
    padding-top: 2rem;
}
.footer-logo{ color: var(--cream); margin-bottom: 0.75rem; }
.footer-tagline{ font-size: 0.92rem; line-height: 1.6; max-width: 36ch; }
.footer-meta{ text-align: right; font-size: 0.86rem; display: flex; flex-direction: column; gap: 0.25rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
    .para-artistas{ gap: 20px; }
    .para-media{ min-height: 260px; max-width: 90%; }
    .service-card{ grid-template-columns: 1fr; }
    .service-media{ min-height: 200px; order: -1; }
    .bio-section{ grid-template-columns: 1fr; }
    .bio-media{ min-height: 240px; }
    .notes-grid{ grid-template-columns: repeat(2, 1fr); }
    .contact-grid{ grid-template-columns: 1fr; }
    .footer-inner{ flex-direction: column; }
    .footer-meta{ text-align: left; }
}

@media (max-width: 560px){
    .notes-grid{ grid-template-columns: 1fr; }
}