/* HRFASHIONGALLERY — art gallery
   warm white walls, charcoal frames, brass fittings, oxblood accent */

:root { --wall: #ebf0f3; --wall2: #dce5e9; --coal: #232323; --coal2: #333130; --brass: #5c9bb3; --ox: #124a30; --mute: #6e6a64; }

html { scroll-behavior: auto; }
body { overflow-x: hidden; }
main > section, footer { overflow-x: clip; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ox); color: #ffffff; padding: 8px 14px; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* walls */
.wall { background-color: var(--wall); }
.wall-b { background-color: var(--wall2); }
.wall-dark { background-color: var(--coal); color: var(--wall); }
.wall-ox { background-color: var(--ox); color: var(--wall); }
/* skirting board */
.skirt { height: 18px; background: linear-gradient(180deg, rgba(0, 0, 0,.12), transparent 40%), #c7d4da; border-top: 1px solid rgba(0, 0, 0,.15); }
.skirt--dark { background: linear-gradient(180deg, rgba(255, 255, 255,.08), transparent 40%), #171717; border-top: 1px solid rgba(255, 255, 255,.1); }

.label { font-weight: 600; font-size: 13.5px; letter-spacing: .28em; text-transform: uppercase; }
.rule { display: inline-block; width: 44px; border-top: 1.5px solid var(--brass); }

/* track light rail */
.rail { position: relative; height: 26px; background: #171717; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; background: #3a3a3a; }
.spot { position: absolute; top: 14px; width: 26px; height: 22px; margin-left: -13px; background: #0d0d0d; border-radius: 0 0 13px 13px; border: 1px solid #333333; }
.spot::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -3px; height: 4px; border-radius: 4px; background: #d3efff; box-shadow: 0 0 12px 3px rgba(211, 239, 255,.7); }

/* frame */
.frame { position: relative; background: var(--coal); padding: 12px; box-shadow: 0 2px 0 rgba(0, 0, 0,.25), 0 22px 30px -18px rgba(0, 0, 0,.5), inset 0 0 0 1px rgba(255, 255, 255,.08); }
.frame__mat { background: #ffffff; padding: 18px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0,.1), inset 0 3px 8px rgba(0, 0, 0,.14); }
.frame--gold { background: var(--brass); box-shadow: 0 2px 0 rgba(0, 0, 0,.25), 0 22px 30px -18px rgba(0, 0, 0,.5), inset 0 0 0 3px #407b90, inset 0 0 0 5px #89c0d8; }
.wire::before { content: ""; position: absolute; left: 50%; top: -34px; width: 0; height: 0; margin-left: -60px; border-left: 60px solid transparent; border-right: 60px solid transparent; border-top: 0; }
.wire::after { content: ""; position: absolute; left: 50%; top: -20px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--brass); }
.light-pool { position: absolute; left: 50%; top: -30px; width: 130%; height: 120%; transform: translateX(-50%); background: radial-gradient(ellipse 50% 60% at 50% 22%, rgba(225, 244, 255,.5), transparent 70%); pointer-events: none; }

/* placard */
.placard { background: #ffffff; padding: 10px 14px; border: 1px solid #d4cec2; box-shadow: 0 1px 0 rgba(0, 0, 0,.08), 0 6px 12px -8px rgba(0, 0, 0,.3); font-size: 12px; line-height: 1.45; }
.placard b { display: block; font-weight: 800; font-size: 13.5px; letter-spacing: .02em; }
.placard span { color: var(--mute); }

.tag { display: inline-block; font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border: 1px solid currentColor; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; padding: 17px 32px 16px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.btn--ox { background: var(--ox); color: #ffffff; }
.btn--ox:hover { background: #0d3924; }
.btn--brass { background: var(--brass); color: var(--coal); }
.btn--brass:hover { background: #74b3cc; }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--coal); }
.btn--line:hover { background: var(--coal); color: var(--wall); }
.btn--sm { padding: 11px 22px 10px; font-size: 12.5px; }
.btn__arrow { width: 22px; height: 10px; position: relative; display: inline-block; transition: transform .2s; }
.btn__arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.btn__arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.nl { font-weight: 600; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(235, 240, 243,.8); padding: 6px 0; position: relative; transition: color .2s; }
.nl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; border-top: 1.5px solid var(--brass); transform: scaleX(0); transform-origin: center; transition: transform .25s; }
.nl:hover { color: #ffffff; } .nl:hover::after { transform: scaleX(1); }

/* ---------- exhibit cards ---------- */
.exhibit { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.exhibit:hover { transform: translateY(-6px); }
.numeral { font-weight: 200; line-height: 1; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(35, 35, 35,.2); }
.faq-item:first-child { border-top: 1px solid rgba(35, 35, 35,.2); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 22px 0; cursor: pointer; }
.faq-trigger:hover .faq-q { color: var(--ox); }
.faq-x { position: relative; width: 22px; height: 22px; flex: none; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--coal); transition: transform .3s; }
.faq-x::after { transform: rotate(90deg); }
.faq-item[data-state="open"] .faq-x::after { transform: rotate(0); }
.faq-item[data-state="open"] .faq-q { color: var(--ox); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-body > * { overflow: hidden; min-height: 0; }
.faq-item[data-state="open"] .faq-body { grid-template-rows: 1fr; }

/* ---------- form ---------- */
.fieldbox { display: block; border-bottom: 1.5px solid rgba(235, 240, 243,.4); padding: 6px 0 4px; transition: border-color .2s; }
.fieldbox:focus-within { border-color: var(--brass); }
.lbl { display: block; font-weight: 600; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.field { width: 100%; background: transparent; border: 0; outline: 0; font-size: 18px; font-weight: 300; padding: 6px 0; color: #ffffff; font-family: Raleway, sans-serif; }
.field option { color: #232323; }
select.field { appearance: none; -webkit-appearance: none; cursor: pointer; }
.fieldbox--sel { position: relative; }
.fieldbox--sel::after { content: ""; position: absolute; right: 4px; bottom: 16px; width: 8px; height: 8px; border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(45deg); pointer-events: none; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.exhibit[data-reveal].is-visible { transition: opacity .7s ease var(--reveal-delay, 0ms), transform .35s cubic-bezier(.2,.8,.2,1); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--coal); color: var(--wall); border-top: 3px solid var(--brass); padding: 14px 26px; font-weight: 600; font-size: 14.5px; letter-spacing: .04em; max-width: calc(100vw - 32px); transition: opacity .3s, transform .3s; box-shadow: 0 14px 30px rgba(0, 0, 0,.35); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
