/* AINIC corporate website: classic, editorial, brand red #BE1E2D and charcoal #231F20. */

:root {
    --red: #BE1E2D;
    --red-deep: #961622;
    --red-soft: #F7E6E8;
    --ink: #231F20;
    --ink-2: #3A3435;
    --ink-3: #5E5658;
    --muted: #6E6668;
    --paper: #FAF8F4;
    --paper-2: #F2EEE7;
    --white: #FFFFFF;
    --line: #E3DDD3;
    --line-dark: rgba(255, 255, 255, .14);
    --green: #1F7A4D;

    --serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", "Iowan Old Style", Georgia, serif;
    --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 4px;
    --shadow: 0 1px 2px rgba(35, 31, 32, .06), 0 18px 40px -18px rgba(35, 31, 32, .28);
    --shadow-lg: 0 2px 4px rgba(35, 31, 32, .06), 0 40px 80px -30px rgba(35, 31, 32, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 400 17px/1.65 var(--sans);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.narrow-wide { max-width: 1000px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Eyebrow, pills, buttons ---------- */
.eyebrow {
    display: flex; align-items: center; gap: 12px;
    font: 600 12.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase;
    color: var(--red); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.eyebrow__num { font-family: var(--serif); font-weight: 600; letter-spacing: .06em; color: var(--ink); margin-right: 2px; }
.eyebrow--light, .band--ink .eyebrow { color: #F0A1A8; }
.band--ink .eyebrow__num { color: #fff; }
.eyebrow a { color: inherit; }

.pill {
    display: inline-flex; align-items: center; gap: 6px;
    font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
    padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); background: var(--white);
    white-space: nowrap;
}
.pill--live { color: var(--green); border-color: rgba(31, 122, 77, .3); background: #F1F8F4; }
.pill--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(31, 122, 77, .15); }
.pill--quiet { padding: 3px 7px; font-size: 10px; background: transparent; color: rgba(255,255,255,.6); border-color: var(--line-dark); margin-left: 6px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 24px; border-radius: var(--radius);
    font: 600 15px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--sm { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(190, 30, 45, .7); }
.btn--red:hover { background: var(--red-deep); color: #fff; transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: rgba(35, 31, 32, .3); }
.btn--line:hover { border-color: var(--ink); color: var(--ink); background: rgba(35, 31, 32, .03); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--paper); color: var(--red-deep); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.link-arrow {
    display: inline-flex; gap: 8px; align-items: center; margin-top: 32px;
    font: 600 14px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--red); padding-bottom: 4px;
}
.link-arrow:hover { color: var(--red); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: #F0A1A8; }

/* ---------- Utility strip & masthead ---------- */
.utility { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 12.5px; letter-spacing: .06em; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.utility__tag { font-family: var(--serif); font-style: italic; letter-spacing: .02em; font-size: 14px; }
.utility__products { display: flex; gap: 22px; }
.utility__products a { color: #fff; text-decoration: none; font-weight: 600; }
.utility__products a span { color: #F0A1A8; }
.utility__products a:hover { color: #F0A1A8; }

.masthead { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.masthead.is-scrolled { box-shadow: 0 8px 30px -18px rgba(35, 31, 32, .35); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand img { width: 118px; height: auto; }
.primary { display: flex; align-items: center; gap: 34px; }
.primary ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.primary ul a {
    position: relative; color: var(--ink); text-decoration: none;
    font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0;
}
.primary ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--red); transition: right .25s; }
.primary ul a:hover::after, .primary ul a.is-active::after { right: 0; }
.primary ul a.is-active { color: var(--red); }

.navtoggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 12px 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.navtoggle span:not(.sr) { display: block; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Bands ---------- */
.band { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.band--tight { padding: 40px 0 clamp(64px, 8vw, 110px); }
.band--paper { background: var(--paper); }
.band--paper2 { background: var(--paper-2); }
.band--ink { background: var(--ink); color: rgba(255, 255, 255, .82); }
.band--ink h2, .band--ink h3 { color: #fff; }

.heading { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.heading--center { margin-left: auto; margin-right: auto; text-align: center; }
.heading--center .eyebrow { justify-content: center; }
.heading--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.heading__title { font-size: clamp(32px, 4.2vw, 52px); }
.heading__sub { margin: 18px 0 0; font-size: 19px; color: var(--muted); }
.band--ink .heading__sub { color: rgba(255, 255, 255, .7); }
.group-title { font-size: 26px; margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-title:not(:first-child) { margin-top: 56px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(190, 30, 45, .08), transparent 60%),
        linear-gradient(180deg, var(--paper) 0%, #fff 100%);
    padding: clamp(56px, 8vw, 104px) 0 0;
}
.hero::before { /* fine engraved grid lines */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(to right, rgba(35, 31, 32, .05) 1px, transparent 1px);
    background-size: calc(100% / 12) 100%;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__rule { position: absolute; left: var(--gutter); top: 0; width: 1px; height: 64px; background: var(--red); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(42px, 6.2vw, 80px); line-height: 1.03; letter-spacing: -.015em; margin-bottom: 26px; }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-3); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stage { position: relative; min-height: 470px; }
.hero__image { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__shot { position: absolute; width: 82%; display: block; text-decoration: none; color: var(--ink); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hero__shot--1 { top: 0; right: 0; z-index: 1; transform: rotate(1.2deg); }
.hero__shot--2 { bottom: 10px; left: 0; z-index: 2; transform: rotate(-1.6deg); }
.hero__shot:hover { transform: rotate(0) translateY(-6px); z-index: 3; }
.hero__label {
    position: absolute; left: 18px; bottom: -18px; display: inline-flex; flex-direction: column; gap: 2px;
    background: var(--ink); color: #fff; padding: 10px 16px; border-left: 3px solid var(--red); box-shadow: var(--shadow);
}
.hero__label b { font: 600 16px/1.2 var(--serif); }
.hero__label span { font-size: 12px; color: rgba(255, 255, 255, .7); letter-spacing: .04em; }
.hero__shot--1 .hero__label { left: auto; right: 18px; top: -18px; bottom: auto; }
.hero__swoosh { position: absolute; left: -4%; bottom: -34px; width: 108%; height: 22px; fill: var(--red); opacity: .85; z-index: 0; }

.index { list-style: none; margin: clamp(64px, 7vw, 96px) 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: none; }
.index__item a {
    display: grid; grid-template-columns: 64px minmax(180px, 1fr) minmax(0, 2fr) auto; gap: 24px; align-items: center;
    padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .2s, padding .25s;
}
.index__item a:hover { background: var(--paper); padding-left: 14px; }
.index__num { font: 600 15px/1 var(--serif); color: var(--red); letter-spacing: .08em; }
.index__name { font: 600 24px/1.2 var(--serif); }
.index__tag { color: var(--muted); font-size: 15.5px; }

/* ---------- Browser frame ---------- */
.frame { margin: 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(35, 31, 32, .08); }
.frame__bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; background: #F4F1EC; border-bottom: 1px solid var(--line); }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: #D9D2C7; }
.frame__dots i:first-child { background: var(--red); opacity: .75; }
.frame__url { flex: 1; max-width: 300px; margin: 0 auto; text-align: center; font-size: 11.5px; color: var(--muted); background: #fff; border-radius: 999px; padding: 3px 12px; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame__img { width: 100%; aspect-ratio: 800 / 506; object-fit: cover; object-position: top center; }
.frame__placeholder { aspect-ratio: 800 / 506; display: grid; place-items: center; background: linear-gradient(135deg, var(--ink) 0%, #3b2326 100%); padding: 40px; }
.frame__placeholder img { max-width: 60%; max-height: 50%; object-fit: contain; }
.frame__wordmark { font: 600 clamp(26px, 3vw, 40px)/1.1 var(--serif); color: #fff; text-align: center; }

/* ---------- Flagship showcase ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.showcase + .showcase { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.showcase--compact + .showcase--compact { margin-top: 72px; padding-top: 72px; }
.showcase--flip .showcase__visual { order: 2; }
.showcase__visual { position: relative; }
.showcase__index {
    position: absolute; top: -0.62em; left: -0.08em; z-index: 0;
    font: 600 clamp(110px, 14vw, 190px)/1 var(--serif); color: transparent;
    -webkit-text-stroke: 1px rgba(190, 30, 45, .35); letter-spacing: -.04em; pointer-events: none;
}
.showcase--flip .showcase__index { left: auto; right: -0.08em; }
.showcase__visual .frame { position: relative; z-index: 1; }
.showcase__visual::after { /* offset red keyline behind the frame */
    content: ""; position: absolute; z-index: 0; inset: 22px -22px -22px 22px; border: 1px solid rgba(190, 30, 45, .35); border-radius: 8px;
}
.showcase--flip .showcase__visual::after { inset: 22px 22px -22px -22px; }
.showcase__demo {
    position: absolute; z-index: 2; left: 24px; bottom: 24px;
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; cursor: pointer;
    background: rgba(35, 31, 32, .92); color: #fff; border: 0; border-radius: 999px; font: 600 14px/1 var(--sans); letter-spacing: .02em;
    box-shadow: var(--shadow); transition: background .2s, transform .2s;
}
.showcase__demo:hover { background: var(--red); transform: translateY(-2px); }
.showcase__demo-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); }
.showcase__demo:hover .showcase__demo-icon { background: #fff; color: var(--red); }
.showcase__kicker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.showcase__host { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.showcase__name { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 10px; }
.showcase__logo { max-width: 280px; max-height: 70px; width: auto; margin-bottom: 14px; }
.showcase__tagline { font: italic 400 clamp(19px, 1.8vw, 23px)/1.4 var(--serif); color: var(--red); margin-bottom: 20px; }
.showcase__story { color: var(--ink-3); font-size: 17.5px; margin-bottom: 26px; }
.showcase__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.ticks--stack { grid-template-columns: 1fr; gap: 14px; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px 26px; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 48px; height: 3px; background: var(--red); transition: width .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { width: calc(100% + 2px); }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.card__flag { font: italic 400 15px/1 var(--serif); color: var(--red); }
.card__logo { max-height: 42px; width: auto; margin-bottom: 14px; }
.card__name { font-size: 28px; margin-bottom: 10px; }
.card__name a { color: var(--ink); text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--muted); font-size: 15.5px; flex: 1; }
.card__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 18px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.card__links a { text-decoration: none; }
.card--next { justify-content: center; align-items: flex-start; background: transparent; border: 1px dashed #CFC6B9; }
.card--next::before { display: none; }
.card--next:hover { transform: none; box-shadow: none; border-color: #CFC6B9; }
.card__next-mark { font: 400 46px/1 var(--serif); color: var(--red); margin-bottom: 12px; }
.card__next-text { font: italic 400 20px/1.4 var(--serif); color: var(--ink-3); margin: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about__grid--page { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; }
.about__mark img { border-radius: var(--radius); }
.about__emblem {
    position: relative; aspect-ratio: 4 / 3.4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 40px;
}
.about__emblem::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); pointer-events: none; }
.about__emblem img { width: 62%; max-width: 260px; }
.about__emblem span { font: italic 400 18px/1.3 var(--serif); color: var(--ink-3); text-align: center; }
.about__title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 24px; }

/* ---------- Prose ---------- */
.prose { color: var(--ink-2); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .55em; }
.prose h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--red); font: italic 400 22px/1.5 var(--serif); color: var(--ink); }
.prose--lg { font-size: 18.5px; line-height: 1.75; }
.band--ink .prose { color: rgba(255, 255, 255, .78); }

/* ---------- Impact ---------- */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line-dark); }
.figure { padding: 36px 28px 30px 0; border-bottom: 1px solid var(--line-dark); }
.figure + .figure { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.figure__value { font: 600 clamp(44px, 5vw, 64px)/1 var(--serif); color: #fff; margin-bottom: 14px; letter-spacing: -.02em; }
.figure__label { font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #F0A1A8; margin-bottom: 10px; }
.figure__text { font-size: 15px; color: rgba(255, 255, 255, .72); }
.figure__source { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin: 12px 0 0; }
.band:not(.band--ink) .figures { border-color: var(--line); }

.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.story { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.band--paper .story, .band:not(.band--ink) .story { background: #fff; border-color: var(--line); }
.story__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story__body { padding: 26px 26px 22px; }
.story__product { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.band--ink .story__product { color: #F0A1A8; }
.story__title { font-size: 24px; margin-bottom: 12px; }
.story__text { font-size: 15.5px; }
.story__source { font-size: 12.5px; opacity: .65; margin: 10px 0 0; }

/* ---------- Videos ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vcard__play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; background: var(--ink); overflow: hidden; }
.vcard__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s, opacity .3s; }
.vcard__play:hover img { transform: scale(1.04); opacity: 1; }
.vcard__blank { position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, #4a2a2e, var(--ink) 70%); }
.vcard__icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 10px rgba(190, 30, 45, .25); transition: transform .25s; }
.vcard__play:hover .vcard__icon { transform: scale(1.08); }
.vcard__body { padding: 20px 22px 22px; }
.vcard__product { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.vcard__title { font-size: 21px; margin-bottom: 8px; }
.vcard__text { font-size: 15px; color: var(--muted); margin: 0; }

.lightbox { width: min(1100px, 94vw); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 17, 18, .88); }
.lightbox__frame { aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow-lg); }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: var(--red); border-color: var(--red); }

/* ---------- Posts ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.pcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.pcard__link:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.pcard__media { aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; display: grid; place-items: center; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__monogram { font: 600 88px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--red); }
.pcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__meta { font-size: 13px; color: var(--muted); letter-spacing: .04em; margin-bottom: 10px; }
.pcard__title { font-size: 23px; margin-bottom: 10px; }
.pcard__text { font-size: 15.5px; color: var(--ink-3); flex: 1; }
.pcard__more { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.pager__btn { font-weight: 600; text-decoration: none; }
.pager__btn.is-disabled { color: #B9B1A6; }
.pager__info { color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: clamp(64px, 8vw, 104px) 0; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 300px at 90% 120%, rgba(35, 31, 32, .45), transparent 70%), repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px); pointer-events: none; }
.cta__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta__title { font-size: clamp(32px, 4vw, 50px); color: #fff; margin-bottom: 14px; }
.cta__text { font-size: 19px; color: rgba(255, 255, 255, .86); max-width: 40em; margin: 0; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; flex: none; }

/* ---------- Inner page headers ---------- */
.pagehead { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.pagehead__title { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.06; max-width: 16em; }
.pagehead__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-3); max-width: 40em; margin: 22px 0 0; }
.pagehead__swoosh { position: absolute; right: -4%; bottom: -16px; width: 46%; height: 40px; fill: var(--red); opacity: .9; }
.pagehead--article { border-bottom: 0; }
.crumb { font-size: 13px; color: var(--muted); letter-spacing: .04em; margin-bottom: 22px; }
.crumb a { color: var(--muted); }
.byline { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.article__cover { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -8px; }

.prodhead { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); padding: clamp(48px, 6vw, 88px) 0; border-bottom: 1px solid var(--line); }
.prodhead__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.prodhead__title { font-size: clamp(42px, 5.6vw, 72px); margin-bottom: 12px; }
.prodhead__logo { max-width: 320px; max-height: 80px; width: auto; margin-bottom: 16px; }
.prodhead__tagline { font: italic 400 clamp(20px, 2vw, 25px)/1.4 var(--serif); color: var(--red); margin-bottom: 20px; }
.prodhead__lead { font-size: 18px; color: var(--ink-3); margin-bottom: 32px; }

.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.detail__aside { position: sticky; top: 110px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 30px 28px; }
.detail__aside-title { font-size: 22px; margin-bottom: 20px; }

.values__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.values__item { padding: 32px 28px 30px 0; border-bottom: 1px solid var(--line); }
.values__item + .values__item { padding-left: 28px; border-left: 1px solid var(--line); }
.values__num { display: block; font: 600 15px/1 var(--serif); color: var(--red); letter-spacing: .08em; margin-bottom: 18px; }
.values__item h3 { font-size: 24px; margin-bottom: 10px; }
.values__item p { color: var(--ink-3); font-size: 15.5px; margin: 0; }

.custom__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.custom--image .custom__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.custom__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.custom__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.custom .heading { margin-bottom: 28px; }

.notice { text-align: center; padding: 56px 32px; border: 1px solid var(--line); background: var(--paper); margin: 0 auto; }
.notice h2 { font-size: 30px; margin-bottom: 12px; }
.notice p { color: var(--ink-3); max-width: 32em; margin: 0 auto; }
.notice .link-arrow { margin-top: 26px; }
.empty { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__h { font-size: 24px; margin: 0 0 18px; }
.contact__h:not(:first-child) { margin-top: 44px; }
.contact__list { margin: 0; }
.contact__list div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact__list dt { font: 600 12px/1.8 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__list dd { margin: 0; }
.contact__products { list-style: none; padding: 0; margin: 0; }
.contact__products li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact__products a { font-weight: 600; text-decoration: none; }
.contact__form { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: clamp(24px, 4vw, 44px); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font: 600 12.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
    border: 1px solid #D6CEC2; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(190, 30, 45, .14); }
.field__err { font-style: normal; color: var(--red); font-size: 14px; }
.form .btn { justify-self: start; }
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 22px; }
.alert--ok { background: #F1F8F4; border: 1px solid rgba(31, 122, 77, .3); color: #17583A; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .68); padding: 80px 0 28px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { width: 130px; margin-bottom: 18px; }
.footer__tagline { font: italic 400 18px/1.4 var(--serif); color: #fff; }
.footer__note { font-size: 14px; }
.footer h2 { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #F0A1A8; margin: 6px 0 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 11px; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__social { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px !important; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer__swoosh { width: 120px; height: 3px; background: linear-gradient(90deg, transparent, var(--red)); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero__shot, .card, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .primary ul { gap: 20px; }
    .primary { gap: 22px; }
    .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
    .navtoggle { display: flex; }
    .primary {
        position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
        padding: 8px var(--gutter) 22px; display: none;
    }
    .primary.is-open { display: flex; }
    .primary ul { flex-direction: column; gap: 0; }
    .primary ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
    .primary ul a::after { display: none; }
    .primary .btn { margin-top: 18px; }

    .hero__grid, .showcase, .about__grid, .about__grid--page, .prodhead__grid, .detail, .contact, .custom--image .custom__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__stage { min-height: 0; aspect-ratio: 1 / .78; max-width: 640px; width: 100%; margin: 12px auto 0; }
    .showcase--flip .showcase__visual { order: 0; }
    .showcase__visual { margin: 0 22px 22px 0; }
    .showcase--flip .showcase__visual { margin: 0 0 22px 22px; }
    .detail__aside { position: static; }
    .cta__inner { flex-direction: column; align-items: flex-start; }
    .index__item a { grid-template-columns: 44px 1fr auto; gap: 6px 16px; }
    .index__tag { grid-column: 2 / 4; grid-row: 2; font-size: 14.5px; }
    .index__status { grid-column: 3; grid-row: 1; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .utility__tag { display: none; }
    .utility__inner { justify-content: center; }
    .utility__products { gap: 18px; font-size: 12px; }
    .masthead__inner { min-height: 66px; }
    .brand img { width: 96px; }
    .hero__stage { aspect-ratio: 1 / .92; }
    .hero__shot { width: 90%; }
    .hero__label { padding: 7px 11px; }
    .hero__label b { font-size: 14px; }
    .hero__actions .btn, .showcase__actions .btn { flex: 1 1 100%; }
    .index__name { font-size: 20px; }
    .ticks { grid-template-columns: 1fr; }
    .form__row { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .footer__base { flex-direction: column; align-items: flex-start; }
    .figure, .figure + .figure, .values__item, .values__item + .values__item { padding-left: 0; padding-right: 0; border-left: 0; }
    .showcase__demo { left: 12px; bottom: 12px; }
    .frame__bar { height: 28px; }
    .frame__url { font-size: 10.5px; }
    .contact__list div { grid-template-columns: 1fr; gap: 2px; }
    .pagehead__swoosh { width: 70%; }
}
