/* Style "Vinyl" (created 2026-11-04)
   Warm 70s record sleeve: cream paper, espresso ink, burnt orange and mustard, chunky
   serif headlines, pill controls with a pressed edge and a striped header band. Light scheme.
   Contract: css/ui-styles/templates.css – this file only sets tokens and decoration. */

html[data-ui-style="vinyl"] { color-scheme: light; }

html[data-ui-style="vinyl"],
html[data-ui-style="vinyl"] .page {
    /* Palette */
    --bg-primary: #F4E9D3;
    --bg-secondary: #EBDCBF;
    --bg-surface: #FBF4E6;
    --bg-surface-hover: #F2E5CB;
    --bg-talk-bar: #FBF4E6;
    --bg-talk-bar-hover: #F2E4C6;
    --bg-comment-bar: #FBF4E6;
    --text-primary: #3B2314;
    --text-secondary: #634430;
    --text-muted: #7A5C45;
    --border: #D6BE96;
    --border-light: #E6D4B2;
    --primary: #B53A0A;
    --primary-hover: #983009;
    --primary-foreground: #FFF6E8;
    --primary-muted: rgba(181, 58, 10, .10);
    --success: #4E6B1F;
    --warning: #9A6A0C;
    --error: #A5281B;
    --info: #3F6470;
    --nav-bg: #F4E9D3;
    --nav-border: #D6BE96;
    --shadow-color: rgba(59, 35, 20, .14);
    --modal-overlay: rgba(43, 25, 14, .55);
    --ai-color-1: #B53A0A;
    --ai-color-2: #E3A325;
    --ai-color-3: #6B7A2A;
    --ai-gradient: linear-gradient(135deg, #B53A0A 0%, #E3A325 50%, #6B7A2A 100%);
    --ai-bg: rgba(227, 163, 37, .14);
    --ai-border: rgba(181, 58, 10, .28);

    /* Type and shape */
    --font-default: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Cooper Black", "Cooper Std", "Recoleta", "Bookman Old Style", Georgia, serif;
    --radius-control: 999px;
    --radius-panel: 22px;

    /* Element tokens */
    --ui-page-bg: #F4E9D3;
    --ui-heading-weight: 400;
    --ui-heading-tracking: -.01em;
    --ui-heading-line: 1.02;
    --ui-eyebrow-color: #3B2314;
    --ui-eyebrow-bg: #E3A325;
    --ui-eyebrow-padding: .35rem .8rem;
    --ui-eyebrow-radius: 999px;
    --ui-eyebrow-tracking: .14em;
    --ui-eyebrow-weight: 700;
    --ui-label-weight: 600;
    --ui-header-bg: #F4E9D3;
    --ui-header-border: 0 solid transparent;
    --ui-header-shadow: 0 5px 0 #E3A325, 0 10px 0 #C2410C, 0 15px 0 #5A3418;
    --ui-logo-weight: 400;
    --ui-logo-mark-color: #C2410C;
    --ui-nav-weight: 600;
    --ui-nav-color: #5A3418;
    --ui-nav-hover-bg: rgba(227, 163, 37, .22);
    --ui-nav-active-bg: #3B2314;
    --ui-nav-active-color: #FBF4E6;
    --ui-footer-bg: #3B2314;
    --ui-footer-border: 0 solid transparent;
    --ui-link-color: #F2C26B;
    --ui-divider: 2px dotted #D6BE96;
    --ui-stylebar-bg: #3B2314;
    --ui-stylebar-fg: #E9D7B5;
    --ui-stylebar-border: 0 solid transparent;
    --ui-stylebar-accent: #E3A325;
    --ui-stylebar-active-bg: #F4E9D3;
    --ui-stylebar-active-fg: #3B2314;
    --ui-stylebar-active-border: #E3A325;
    --ui-surface-border: 2px solid #E2CFA9;
    --ui-surface-shadow: 0 4px 0 #E2CFA9;
    --ui-surface-hover-shadow: 0 6px 0 #D6BE96;
    --ui-modal-shadow: 0 6px 0 #D6BE96, 0 30px 70px rgba(59, 35, 20, .3);
    --ui-talkbar-border: 2px solid #E2CFA9;
    --ui-talkbar-shadow: 0 3px 0 #E2CFA9;
    --ui-talkbar-hover-shadow: 0 5px 0 #D6BE96;
    --ui-btn-weight: 700;
    --ui-btn-primary-bg: #C2410C;
    --ui-btn-primary-fg: #FFF6E8;
    --ui-btn-primary-border: 2px solid #8F2F08;
    --ui-btn-primary-shadow: 0 4px 0 #7A2A08;
    --ui-btn-primary-hover-bg: #B53A0A;
    --ui-btn-primary-hover-shadow: 0 6px 0 #7A2A08;
    --ui-btn-secondary-bg: #FBF4E6;
    --ui-btn-secondary-border: 2px solid #3B2314;
    --ui-btn-secondary-shadow: 0 3px 0 #3B2314;
    --ui-btn-secondary-hover-bg: #F6E3BC;
    --ui-btn-hover-transform: translateY(-2px);
    --ui-btn-active-transform: translateY(2px);
    --ui-input-bg: #FFF9EE;
    --ui-input-border: 2px solid #D6BE96;
    --ui-input-radius: 16px;
    --ui-input-focus-border-color: #C2410C;
    --ui-input-focus-shadow: 0 0 0 4px rgba(227, 163, 37, .35);
    --ui-seg-bg: #FBF4E6;
    --ui-seg-fg: #5A3418;
    --ui-seg-border: 2px solid #D6BE96;
    --ui-seg-underline: 2px solid #D6BE96;
    --ui-seg-radius: 999px;
    --ui-seg-hover-bg: #F6E3BC;
    --ui-seg-active-bg: #E3A325;
    --ui-seg-active-fg: #3B2314;
    --ui-seg-active-border: 2px solid #3B2314;
    --ui-seg-active-underline: 2px solid #3B2314;
    --ui-seg-active-shadow: 0 3px 0 #3B2314;
    --ui-panel-bg: #FBF4E6;
    --ui-panel-border: 2px solid #E2CFA9;
    --ui-panel-radius: 28px;
    --ui-panel-padding: 2.25rem 2.25rem 1.5rem;
    --ui-panel-padding-mobile: 1.6rem 1.1rem 1.1rem;
    --ui-panel-shadow: 0 6px 0 #E2CFA9;
    --ui-fab-bg: #C2410C;
    --ui-fab-border: 2px solid #8F2F08;
    --ui-fab-radius: 50%;
    --ui-fab-shadow: 0 4px 0 #7A2A08;
    --ui-badge-bg: #E3A325;
    --ui-badge-fg: #3B2314;
}

/* Footer is the dark back of the sleeve */
html[data-ui-style="vinyl"] .page > footer { color: #E9D7B5; }
html[data-ui-style="vinyl"] .page > footer :is(.logo, .studio-brand-name) { color: #FBF4E6; }
html[data-ui-style="vinyl"] .page > footer .footer-copyright { color: #CDB794; }
html[data-ui-style="vinyl"] .page > footer .logo .studio-brand-mark,
html[data-ui-style="vinyl"] .page > footer .logo .studio-brand-dot { color: #E3A325; }

/* A record peeking out of the sleeve behind the hero */
html[data-ui-style="vinyl"] .page::before {
    content: "";
    position: absolute;
    top: 60px;
    right: -170px;
    z-index: -1;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background:
        radial-gradient(circle, #F4E9D3 0 9px, #C2410C 10px 64px, transparent 65px),
        repeating-radial-gradient(circle, #2B190E 0 2px, #3B2314 2px 4px);
    opacity: .07;
    pointer-events: none;
}
html[data-ui-style="vinyl"] .page { overflow-x: clip; }

/* The waveform art becomes a label in sleeve colours */
html[data-ui-style="vinyl"] .studio-voice-art circle:first-of-type { fill: #EBDCBF; }

.lt-style-chip[data-chip="vinyl"] {
    background:
        radial-gradient(circle, #F4E9D3 0 1.5px, #C2410C 2px 5px, transparent 5.5px),
        repeating-radial-gradient(circle, #24150B 0 1.2px, #3B2314 1.2px 2.4px);
    border-radius: 50%;
}
