/*
 * The Matinee theme, in plain CSS, after andreyburkovskiy.com: a light beige page, warm near-black ink,
 * a bronze accent, Bricolage Grotesque set tall and uppercase for display, small labels tracked wide,
 * Instrument Serif in italics for the asides, cream "tickets" on hairlines. Everything lives under `.mt`.
 */

/* ——— tokens and base ——— */
.mt-body { margin: 0; background: #f1ebdc; }
.mt {
    --bg: #f1ebdc; --paper: #f8f4ea; --ink: #1a1611; --body: #6d675c; --accent: #8a6d3b; --accent-deep: #6f5730;
    --beige: #e6ddc7; --beige-deep: #cfc3a5; --line: #d5cab0; --radius: 10px; --max: 1320px; --gutter: clamp(20px, 4.4vw, 64px);
    --display: "Bricolage Grotesque", "Arial Black", sans-serif; --serif: "Instrument Serif", Georgia, serif;
    color: var(--ink);
    background: var(--bg);
    font: 400 16px/1.55 var(--display);
    font-variation-settings: "wdth" 100;
    -webkit-font-smoothing: antialiased;
}
.mt, .mt * { box-sizing: border-box; }
.mt button, .mt a { -webkit-tap-highlight-color: transparent; }
.mt button { font: inherit; cursor: pointer; }
.mt a { color: inherit; text-decoration: none; }
.mt button, .mt a, .mt summary { touch-action: manipulation; }
.mt img { max-width: 100%; display: block; }
.mt h1, .mt h2, .mt h3, .mt p { margin: 0; }
.mt h1, .mt h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; line-height: .9; }
.mt h2 { font-size: clamp(40px, 6vw, 92px); }
.mt h2 em, .mt .serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
.mt a:focus-visible, .mt button:focus-visible, .mt summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.mt .wrap { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.mt [hidden] { display: none !important; }
.mt .sr-only, .mt .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.mt .skip-link:focus { position: fixed; z-index: 10; background: var(--paper); padding: 16px; }

/* the small tracked label the site sets its nav, eyebrows and buttons in */
.mt .eyebrow, .mt .label, .mt .nav a, .mt .button, .mt .filter, .mt .page, .mt .product-link, .mt .crumbs, .mt .footer-col h3, .mt .step-number {
    font-size: 16px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}

/* the ink button and the outlined chip are shared by the pages */
.mt .button {
    display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 16px 28px;
    border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 16px;
    transition: background .2s, transform .2s;
}
.mt .button span[aria-hidden] { font-size: 20px; line-height: 1; letter-spacing: 0; }
.mt .button:hover { background: var(--accent); transform: translateY(-2px); }
.mt .button:disabled { opacity: .6; transform: none; cursor: progress; }
.mt .filter, .mt .chip { border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 10px 20px; min-height: 44px; white-space: nowrap; color: var(--ink); }
.mt .chip { font-size: 14px; }
.mt .filter:hover, .mt .chip:hover { border-color: var(--ink); }
.mt .filter.active, .mt .chip-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ——— header ——— */
.mt .header { border-bottom: 1px solid var(--line); position: relative; }
.mt .header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.mt .brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.mt .brand img { height: 38px; width: auto; max-width: 130px; object-fit: contain; }
.mt .brand span { font-size: clamp(16px, 1.2vw, 18px); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.mt .nav { display: flex; gap: 44px; align-items: center; }
.mt .nav a { display: inline-flex; min-height: 44px; align-items: center; }
.mt .nav a:hover, .mt .footer a:hover { color: var(--accent); }
.mt .menu-toggle { display: none; }

/* ——— footer ——— */
.mt .footer { background: var(--ink); color: #f2eee3; padding: 64px 0 26px; }
.mt .footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr; gap: 40px; align-items: start; }
.mt .footer-name { font-size: clamp(32px, 4vw, 56px); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.015em; }
.mt .footer-line { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 20px; color: #c6b998; max-width: 340px; }
.mt .footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.mt .footer-col h3 { color: #c6b998; margin: 0 0 12px; font-size: 15px; }
.mt .footer-col a { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; font-size: 15px; }
.mt .footer-base { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 1px solid #f2eee326; margin-top: 48px; padding-top: 20px; font-size: 12px; color: #c6b998; }
.mt .powered { font-size: 18px; }
.mt .powered a { display: inline-flex; align-items: center; gap: 10px; }
.mt .powered img { display: block; width: 75px; height: auto; }

/* ——— hero: the name as a marquee ——— */
.mt .hero { border-bottom: 1px solid var(--line); }
.mt .hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: clamp(24px, 4vw, 64px); padding-block: clamp(40px, 6vw, 88px); }
.mt .hero-copy { container-type: inline-size; min-width: 0; }
.mt .marquee { font-size: min(200px, calc(100cqi / (var(--chars, 8) * .7))); line-height: .84; letter-spacing: -.02em; font-weight: 800; }
.mt .marquee span { display: block; }
.mt .hero-description { font-size: clamp(16px, 1.3vw, 19px); color: var(--body); margin: 24px 0 30px; max-width: 520px; }
.mt .hero-ticket { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s; }
.mt .hero-ticket:hover { transform: translateY(-4px) rotate(-.4deg); }
.mt .hero-ticket img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; padding: 24px; }
.mt .hero-ticket-stub { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-top: 1px dashed var(--beige-deep); font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mt .hero-ticket-stub span + span { color: var(--accent); white-space: nowrap; }

/* ——— catalog ——— */
.mt .shop { padding-top: clamp(48px, 6vw, 88px); padding-bottom: 64px; }
.mt .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mt .section-heading p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); color: var(--body); margin-top: 14px; }
.mt .section-heading p a { font-family: var(--display); font-style: normal; font-size: 15px; }
.mt .search { position: relative; flex-shrink: 0; }
.mt .search input { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font: inherit; font-size: 15px; min-height: 50px; width: min(320px, 76vw); padding: 10px 56px 10px 18px; color: var(--ink); }
.mt .search input::placeholder { color: var(--body); }
.mt .search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mt .search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 18px; }
.mt .search button:hover { background: var(--accent); }
.mt .search-clear, .mt .catalog-empty a { text-decoration: underline; text-underline-offset: 3px; }
.mt .search-clear:hover, .mt .catalog-empty a:hover { color: var(--accent); }
.mt .catalog-empty { margin: 34px 0 10px; font-size: 17px; color: var(--body); }
.mt .filters { display: flex; gap: 10px; margin: 28px 0; flex-wrap: wrap; }
.mt .products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; margin-top: 32px; }
.mt .filters + .sr-only + .products { margin-top: 0; }
.mt .pages { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mt .page { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s; }
.mt a.page:hover { border-color: var(--ink); }
.mt .page.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.mt .page.is-off { opacity: .35; }
.mt .page-gap { color: var(--body); padding: 0 4px; }
.mt .catalog-note { margin-top: 28px; color: var(--body); font-size: 12px; }

/* ——— product card: a ticket with a dashed stub ——— */
.mt .product { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.mt .product:hover { transform: translateY(-4px); border-color: var(--beige-deep); }
.mt .product-image { display: block; aspect-ratio: 1; overflow: hidden; }
.mt .product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 14px; transition: transform .25s; }
.mt .product-image:hover img { transform: scale(1.04); }
.mt .product-stub { border-top: 1px dashed var(--beige-deep); padding: 16px 18px 6px; display: flex; flex-direction: column; flex: 1; }
.mt .product h3 { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.1; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.mt .product .price { font-size: 14px; color: var(--body); margin-top: 6px; }
.mt .product-link { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; color: var(--accent); }
.mt .product-link:hover { color: var(--ink); }
.mt .product-link span { font-size: 18px; letter-spacing: 0; }
/* a product still to come: an outline only, nowhere to go yet */
.mt .soon { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; margin: 10px 0 12px; padding: 6px 14px; border: 2px dashed var(--accent); border-radius: 8px; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* ——— the three acts ——— */
.mt .about { padding-bottom: 64px; }
.mt .how { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 40px 0; display: grid; grid-template-columns: 1fr 1.65fr; align-items: center; gap: 40px; }
.mt .how h2 { font-size: clamp(40px, 4.6vw, 68px); }
.mt .steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.mt .steps li { border-left: 1px solid var(--line); padding: 0 24px; font-size: 17px; line-height: 1.35; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mt .step-number { color: var(--accent); }

/* ——— FAQ ——— */
.mt .faq { padding-bottom: 72px; }
.mt .faq h2 { margin-bottom: 24px; }
.mt .faq details { border-bottom: 1px solid var(--line); }
.mt .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; padding: 18px 4px; font-size: 19px; font-weight: 700; }
.mt .faq summary::-webkit-details-marker { display: none; }
.mt .faq summary span { font-size: 29px; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.mt .faq details[open] summary span { transform: rotate(45deg); }
.mt .faq details p { padding: 0 40px 24px 4px; max-width: 780px; color: var(--body); line-height: 1.7; }

/* ——— product page ——— */
.mt .item { padding-top: 16px; padding-bottom: 64px; }
.mt .crumbs { display: flex; align-items: center; gap: 18px; min-height: 44px; font-size: 15px; }
.mt .crumbs a:hover { color: var(--accent); }
.mt .crumbs span { color: var(--body); }
.mt .item-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: start; margin-top: 12px; }
.mt .gallery-main { position: relative; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.mt .gallery-slide { display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 36px; }
.mt .gallery-slide img, .mt .gallery-slide canvas { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mt .thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.mt .thumb { width: 84px; height: 84px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); transition: border-color .2s; }
.mt .thumb-on, .mt .thumb:hover { border-color: var(--ink); }
.mt .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mt .buy { padding-top: 8px; }
.mt .buy .eyebrow { color: var(--accent); margin-bottom: 18px; }
.mt .buy h1 { font-size: clamp(42px, 5vw, 84px); line-height: .88; }
.mt .buy .price { font-size: 24px; font-weight: 800; margin-top: 20px; }
.mt .buy .price small { font-size: 15px; font-weight: 400; color: var(--body); }
.mt .copy { margin-top: 18px; color: var(--body); line-height: 1.7; max-width: 560px; }
.mt .copy p { margin: 0 0 10px; }
.mt .copy a { text-decoration: underline; text-underline-offset: 3px; }
.mt .group { margin-top: 26px; }
.mt .label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.mt .label span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--body); font-size: 16px; }
.mt .guide { margin-left: auto; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.mt .row { display: flex; flex-wrap: wrap; gap: 10px; }
.mt .row .chip { min-width: 44px; }
.mt .chip-icon { width: 60px; height: 60px; padding: 12px; }
.mt .chip-icon svg { width: 100%; height: 100%; }
.mt .chip-icon svg:not(.aa-icon) { fill: currentColor; }
.mt .chip-color { width: 44px; height: 44px; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; position: relative; }
.mt .chip-color::after { content: ''; width: 32px; height: 32px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px #1a16112b; transition: transform .2s; }
.mt .chip-color::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink); transform: scale(0); transition: transform .2s; }
.mt .chip-color.chip-on { background: transparent; border: 0; }
.mt .chip-color.chip-on::before { transform: scale(1); }
.mt .chip-color.chip-on::after { transform: scale(.82); }
.mt .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.mt .checkout { font-size: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.mt .checkout:hover { color: var(--accent); }
.mt .checkout span[aria-hidden] { font-size: 20px; }
.mt .count:empty { display: none; }
.mt .count::before { content: ' · '; }
.mt .note { margin-top: 16px; color: var(--body); font-size: 12px; }
.mt .cart-error { margin-top: 14px; color: #a3261b; font-size: 14px; }
.mt .about-copy { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
    .mt .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mt .hero-inner { grid-template-columns: 1fr 1fr; }
    .mt .how { gap: 24px; }
    .mt .steps li { padding: 0 14px; }
    .mt .item-grid { gap: 28px; }
}

@media (max-width: 700px) {
    /* chrome */
    .mt .header-inner { height: 64px; }
    .mt .brand img { height: 30px; max-width: 100px; }
    .mt .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
    .mt .menu-toggle span { height: 2px; background: var(--ink); width: 24px; transition: transform .2s; }
    .mt .menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mt .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
    .mt .menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mt .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; z-index: 5; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: 0 12px 30px #1a16111a; }
    .mt .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .mt .nav a { padding: 8px 14px; }
    .mt .filter { flex: 1; padding: 9px 10px; font-size: 14px; }
    .mt h2 { font-size: 44px; }
    .mt .footer { padding-top: 40px; }
    .mt .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .mt .footer-base { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 30px; }
    .mt .powered { font-size: 12px; }
    .mt .powered a { gap: 7px; }
    .mt .powered img { width: 50px; }

    /* storefront */
    .mt .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 40px; }
        .mt .shop { padding-top: 40px; padding-bottom: 40px; }
    .mt .search { width: 100%; }
    .mt .search input { width: 100%; min-height: 46px; }
    .mt .filters { gap: 8px; margin: 22px 0; }
    .mt .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .mt .product-stub { padding: 12px 12px 4px; }
    .mt .product h3 { font-size: 15px; }
    .mt .product .price { font-size: 13px; }
    .mt .product-link { font-size: 12px; letter-spacing: .1em; gap: 8px; white-space: nowrap; }
    .mt .about { padding-bottom: 40px; }
    .mt .how { display: block; padding: 28px 0; }
    .mt .steps { display: block; margin-top: 24px; }
    .mt .steps li { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 14px; border-left: 0; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 15px; }
    .mt .steps li:last-child { border-bottom: 0; padding-bottom: 0; }
    .mt .desktop-break { display: none; }
    .mt .faq { padding-bottom: 40px; }
    .mt .faq h2 { font-size: 38px; margin-bottom: 16px; }
    .mt .faq summary { font-size: 16px; min-height: 64px; gap: 15px; }
    .mt .faq details p { font-size: 14px; padding-right: 18px; }

    /* product page */
    .mt .item { padding-bottom: 40px; }
    .mt .item-grid { grid-template-columns: 1fr; gap: 22px; }
    .mt .gallery-slide { padding: 18px; }
    .mt .thumbs { flex-wrap: nowrap; overflow-x: auto; gap: 10px; margin-top: 12px; scrollbar-width: none; }
    .mt .thumb { flex: none; width: 64px; height: 64px; padding: 6px; }
    .mt .buy h1 { font-size: clamp(38px, 11vw, 56px); }
    .mt .buy .price { font-size: 20px; }
    .mt .chip-icon { width: 52px; height: 52px; padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .mt *, .mt *::before, .mt *::after { transition: none !important; }
}
