/* =========================================================
   ARC GALLERY PAGE - navy + gold
   ========================================================= */
:root {
    --navy: #12263F; --navy-mid: #193d5d; --navy-deep: #071422;
    --gold: #d4af37; --gold-light: #e7c47a; --gold-bright: #f0c866;
    --bg: #f4f7f9; --white: #fff; --border: #d7e4ea; --muted: #5b6c77; --danger: #c0392b;
    --font-head: Georgia, "Times New Roman", serif;
    --font-body: Arial, Helvetica, sans-serif;
    --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { min-height: 100vh; background: var(--bg); color: var(--navy); font-family: var(--font-body); line-height: 1.5; overflow-x: clip; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 8px; background: var(--gold); color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* header */
.arc-header { padding: 16px 6%; background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid)); color: var(--white); border-bottom: 1px solid rgba(212,175,55,.6); box-shadow: 0 5px 22px rgba(0,0,0,.18); }
.arc-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--wrap); margin: auto; }
.arc-brand { display: flex; align-items: center; gap: 13px; }
.arc-brand img { width: 58px; height: 58px; object-fit: contain; }
.arc-brand-title { font-family: var(--font-head); font-size: 21px; letter-spacing: 1px; }
.arc-brand-subtitle { margin-top: 4px; color: var(--gold-light); font-size: 9px; letter-spacing: 2px; }
.head-link { padding: 10px 18px; border: 1px solid rgba(212,175,55,.65); border-radius: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1px; transition: .25s; }
.head-link:hover { background: var(--gold); color: var(--navy); }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.arc-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid var(--gold); border-radius: 10px; font-size: 12px; font-weight: 800; letter-spacing: .5px; transition: .25s; }
.arc-btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--navy); }
.arc-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(0,0,0,.25); }
.arc-btn-outline { background: rgba(255,255,255,.05); color: var(--white); }
.arc-btn-outline:hover { background: rgba(212,175,55,.14); color: #f5d77a; transform: translateY(-2px); }
.arc-btn-dark { background: var(--navy); color: var(--gold-light); }
.arc-btn-dark:hover { background: var(--navy-mid); }

/* hero */
.g-hero { position: relative; padding: 60px 6% 56px; color: var(--white); text-align: center; overflow: hidden;
    background: radial-gradient(700px 300px at 50% 0, rgba(212,175,55,.18), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-mid)); }
.g-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: linear-gradient(45deg, rgba(212,175,55,.05) 25%, transparent 25%, transparent 75%, rgba(212,175,55,.05) 75%), linear-gradient(45deg, rgba(212,175,55,.05) 25%, transparent 25%, transparent 75%, rgba(212,175,55,.05) 75%);
    background-size: 44px 44px; background-position: 0 0, 22px 22px; }
.g-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: auto; }
.eyebrow { color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; }
.eyebrow.dark { color: #a9821f; }
.g-hero h1 { margin: 10px 0 14px; font-family: var(--font-head); font-size: clamp(38px, 7vw, 66px); font-weight: 400; }
.g-hero-text { color: #dce7ee; font-size: 16px; line-height: 1.65; }
.g-hero .btn-row { justify-content: center; }
.g-count { margin-top: 22px; color: var(--gold-light); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }

/* layout */
.g-wrap { width: min(94%, var(--wrap)); margin: 0 auto; padding: 34px 0 10px; }

/* filters */
.g-filters { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.chips { display: flex; min-width: 0; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border: 1px solid var(--border); border-radius: 50px; background: var(--white); color: var(--navy); font-size: 13px; font-weight: 700; transition: .2s; }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--navy); border-color: var(--navy); color: var(--gold-light); }
.seg { display: inline-flex; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.seg button { padding: 9px 16px; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 700; }
.seg button.active { background: var(--gold); color: var(--navy); }

/* masonry grid */
.g-grid { columns: 4 240px; column-gap: 14px; }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; overflow: hidden; break-inside: avoid; border: 0; border-radius: 14px; background: linear-gradient(135deg, #dfe8ee, #eef3f6); box-shadow: 0 5px 18px rgba(18,38,63,.1); text-align: left; transition: transform .25s, box-shadow .25s; }
.g-item:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(18,38,63,.2); }
.g-item img { width: 100%; height: auto; min-height: 120px; object-fit: cover; }
.g-item .ov { position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; background: linear-gradient(180deg, transparent, rgba(7,20,34,.85)); color: var(--white); font-size: 13px; opacity: 0; transition: opacity .25s; }
.g-item:hover .ov, .g-item:focus-visible .ov { opacity: 1; }
.ov b { display: block; font-weight: 700; }
.ov span { color: var(--gold-light); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.play { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(7,20,34,.7); color: var(--gold); font-size: 15px; padding-left: 3px; }
.g-item.sample { min-height: 180px; display: grid; place-items: center; }
.g-item.sample .s-art { width: 100%; aspect-ratio: var(--ar, 4/3); display: grid; place-items: center; color: rgba(255,255,255,.85); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.skel { min-height: 220px; animation: pulse 1.3s infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.g-empty { padding: 50px 10px; text-align: center; color: var(--muted); font-size: 17px; }
.more-wrap { display: flex; justify-content: center; margin: 10px 0 0; }

/* share section */
.share { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; margin-top: 56px; padding: 34px; border: 1px solid var(--border); border-radius: 20px; background: var(--white); box-shadow: 0 8px 28px rgba(18,38,63,.08); }
.share-intro h2 { margin: 6px 0 10px; font-family: var(--font-head); font-size: 34px; font-weight: 400; }
.share-intro p { color: var(--muted); font-size: 14px; }
.share-steps { list-style: none; display: grid; gap: 8px; margin: 18px 0; }
.share-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 11px; background: #f8fafb; font-size: 14px; }
.share-steps b { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-size: 13px; }
.rules { padding: 14px 16px 14px 32px; border-left: 3px solid var(--gold); border-radius: 5px; background: #faf7ed; color: #5c533d; font-size: 13px; }
.rules li { margin: 3px 0; }
.share-card { min-width: 0; }

.drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 30px 16px; border: 2px dashed #b9cfdb; border-radius: 14px; background: #f8fbfd; text-align: center; transition: .2s; }
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--gold); background: #fffdf5; }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-icon { width: 46px; height: 46px; color: var(--gold); }
.drop strong { font-size: 15px; }
.drop span { color: var(--muted); font-size: 13px; }
.picked { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin: 12px 0 0; }
.picked li { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #eef3f6; aspect-ratio: 1; }
.picked img, .picked .vid { width: 100%; height: 100%; object-fit: cover; }
.picked .vid { display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 22px; }
.picked .nm { position: absolute; inset: auto 0 0 0; padding: 12px 4px 3px; background: linear-gradient(transparent, rgba(7,20,34,.85)); color: #fff; font-size: 10px; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.picked .rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(7,20,34,.8); color: #fff; font-size: 14px; line-height: 1; }
.picked .bad { outline: 2px solid var(--danger); }

.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 14px; }
.f-field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.f-field label i { color: var(--danger); font-style: normal; }
.f-field label small { color: #6b7c87; font-weight: 400; }
.f-field input, .f-field select { width: 100%; padding: 12px 13px; border: 1.5px solid #c9dce5; border-radius: 10px; background: var(--white); color: var(--navy); font: inherit; font-size: 14px; }
.f-field input:focus, .f-field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.22); }
.f-field.bad input { border-color: var(--danger); background: #fff8f7; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #f8fafb; font-size: 13px; line-height: 1.55; color: #35505f; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.check.bad { border-color: var(--danger); background: #fff8f7; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.progress { margin-top: 16px; }
.bar { height: 10px; overflow: hidden; border-radius: 10px; background: #e3ecf1; }
.bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transition: width .25s; }
.ptext { margin-top: 6px; color: var(--muted); font-size: 13px; }
.status { min-height: 22px; margin-top: 12px; font-size: 14px; }
.status.err { color: #b32d20; font-weight: 700; }
.submit { width: 100%; margin-top: 8px; padding: 15px; font-size: 13px; }
.submit:disabled { opacity: .6; cursor: wait; transform: none; }
.done { padding: 30px 22px; border: 1px solid #4fd18e; border-radius: 14px; background: linear-gradient(180deg, #effdf5, #e2f9ec); color: #09633e; text-align: center; }
.done .tick { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #39bf7b; color: #fff; font-size: 28px; }
.done h3 { margin-bottom: 6px; font-size: 22px; }
.done p { color: #2c5a45; font-size: 14px; }
.done .ref { display: inline-block; margin: 12px 0 16px; padding: 8px 18px; border: 1px dashed #39bf7b; border-radius: 9px; background: #fff; color: var(--navy); font-weight: 800; letter-spacing: 1px; }
.takedown { margin: 26px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.takedown a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gold); }

/* back + footer */
.bottom-home-wrap { display: flex; justify-content: center; padding: 34px 20px 38px; }
.bottom-home-button { display: inline-flex; align-items: center; gap: 10px; min-width: 210px; justify-content: center; padding: 14px 28px; border: 1px solid rgba(201,162,39,.55); border-radius: 50px; background: linear-gradient(135deg, #132b43, #1e4568); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1.2px; box-shadow: 0 8px 22px rgba(19,43,67,.2); transition: .25s; }
.bottom-home-button span:first-child { color: #f7e58a; font-size: 20px; }
.bottom-home-button:hover { transform: translateY(-3px); border-color: #c9a227; }
footer { padding: 25px 15px; background: #0d1d2d; color: #aebec8; font-size: 11px; line-height: 1.7; text-align: center; }
footer strong { color: var(--gold); }

/* viewer: images and videos open here so visitors never leave the site */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(5,12,22,.94); }
.lb-fig { display: flex; flex-direction: column; width: min(92vw, 1100px); max-height: 94vh; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 200px; max-height: 76vh; }
.lb-stage img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: 8px; }
.lb-video { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 76vh; }
.lb-video iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; background: #000; }
/* covers the "open in new window" corner button of the embedded player */
.lb-video .shield { position: absolute; top: 0; right: 0; width: 64px; height: 56px; }
.lb figcaption { padding: 14px 4px 0; color: #fff; }
.lb-cap { font-size: 16px; }
.lb-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; color: var(--gold-light); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.lb-share { padding: 7px 14px; border: 1px solid rgba(212,175,55,.6); border-radius: 50px; background: none; color: var(--gold-light); font-size: 12px; }
.lb-share:hover { background: var(--gold); color: var(--navy); }
.lb-close, .lb-nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 28px; line-height: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--navy); }
body.lb-open { overflow: hidden; }

/* responsive */
@media (max-width: 900px) {
    .share { grid-template-columns: 1fr; padding: 24px 18px; }
    .g-grid { columns: 3 200px; }
}
@media (max-width: 640px) {
    .g-grid { columns: 2; column-gap: 10px; }
    .g-item { margin-bottom: 10px; border-radius: 11px; }
    .g-item .ov { opacity: 1; padding: 24px 9px 8px; font-size: 11px; }
    .f-grid { grid-template-columns: 1fr; }
    .g-filters { flex-direction: column; align-items: stretch; }
    .g-wrap, .g-filters { min-width: 0; max-width: 100%; }
    .chip { flex: 0 0 auto; }
    .chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; }
    .chips::-webkit-scrollbar { display: none; }
    .chip { flex: none; }
    .seg { align-self: flex-start; }
    .arc-brand-title { font-size: 15px; }
    .arc-brand img { width: 46px; height: 46px; }
    .head-link { display: none; }
    .lb-nav { width: 40px; height: 40px; }
    .btn-row .arc-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
