/* =========================================================================
   MILO — kit: neutral structure every concept starts from (header, hero
   copy, tabs, cards, gallery text, visit, footer). Concepts restyle it.
   Tokens: --bg --bg2 --fg --fg2 --line --acc --acc-ink --f-d --f-b --f-n
   ========================================================================= */
body { font-family: var(--f-b); font-size: 16px; line-height: 1.65; font-weight: 400; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.small { font-size: 14px; line-height: 1.6; color: var(--fg2); }

/* header: logo left, visit + theme at the top-right corner */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--pad); border-bottom: 1px solid transparent; }
.hdr.scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; height: 34px; text-decoration: none; }
.brand [data-m="logo"] { height: 34px; }
.brand-w { font-family: var(--f-d); font-size: 20px; line-height: 1; letter-spacing: .14em; }
.hdr-r { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 24px; text-decoration: none; font-size: 14px; letter-spacing: .02em; border: 1px solid currentColor; border-radius: var(--r); transition: background-color .8s var(--ease), color .8s var(--ease), border-color .8s var(--ease); }
.btn svg { width: 18px; height: 18px; }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--solid:hover { background: transparent; color: var(--fg); }
.btn--line:hover { background: var(--fg); color: var(--bg); }
.hdr .btn { min-height: 44px; padding: 0 18px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .6s var(--ease); }
.icon-btn:hover { border-color: var(--fg); }
.hdr-light .hdr:not(.scrolled) { color: #EFE9DF; }
.hdr-light .hdr:not(.scrolled) .icon-btn { border-color: rgba(239, 233, 223, .3); }

/* hours */
.hours li { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours .h-h { font-variant-numeric: tabular-nums; }

/* tabs */
.tabs { display: flex; }
.tab { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 18px 0; color: var(--fg2); transition: color .7s var(--ease); }
.tab[aria-selected="true"], .tab:hover { color: var(--fg); }
.tab-t { font-family: var(--f-d); font-size: 18px; line-height: 1.1; }
.tab-s { font-size: 13px; }
.panel-head { max-width: 760px; }
.panel-sub { font-size: 14px; color: var(--fg2); }
.panel-title { font-family: var(--f-d); font-size: clamp(40px, 6vw, 96px); line-height: 1; font-weight: inherit; margin: 10px 0 18px; }
.panel-msg { max-width: 56ch; color: var(--fg2); font-size: 17px; }
.panel-hero { aspect-ratio: 21 / 9; margin: clamp(40px, 6vh, 72px) 0; }

/* cards: title large, the rest small */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(18px, 2.4vw, 40px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-media { aspect-ratio: 4 / 5; border-radius: var(--r); }
.card--discipline .card-media, .card--member .card-media, .card--service .card-media { aspect-ratio: 3 / 2; }
.card-body { padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.card-title { font-family: var(--f-d); font-size: clamp(26px, 2.4vw, 38px); line-height: 1.05; font-weight: inherit; }
.card-lines li, .card-incl li, .card-role, .card-creds { font-size: 14px; line-height: 1.55; color: var(--fg2); }
.card-incl { display: flex; flex-direction: column; gap: 2px; }
.card-label { display: none; }
.card-pov { font-size: 14px; line-height: 1.55; color: var(--fg2); font-style: italic; margin-top: 4px; }
.card-cta { margin-top: 10px; font-size: 13px; color: var(--fg); align-self: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .7s var(--ease); }
.card:hover .card-cta { border-color: var(--fg); }

/* gallery text */
.gal-kicker { font-size: 13px; color: var(--fg2); }
.gal-title { font-family: var(--f-d); font-size: clamp(32px, 3vw, 52px); line-height: 1.02; font-weight: inherit; }
.gal-text { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--fg2); }
.gal-text .g-role { color: var(--fg); font-size: 15px; }
.gal-text .g-pov { font-style: italic; }
.gal-text .g-incl, .gal-text .g-lines { display: flex; flex-direction: column; gap: 4px; }
.gal-text .g-label { display: none; }
.gal-price { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gp-l { font-size: 13px; color: var(--fg2); }
.gp-v { font-family: var(--f-n, var(--f-d)); font-size: 40px; line-height: 1.05; }
.gp-v b { font-weight: inherit; }
.gp-n { font-size: 13px; color: var(--fg2); }
.gal-cta { font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.gal-slide figcaption { font-size: 15px; line-height: 1.4; }
.gs-n { font-variant-numeric: tabular-nums; opacity: .7; }
.gal-count { font-size: 13px; font-variant-numeric: tabular-nums; }
.slides-count { font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }

/* footer */
.ftr { padding-top: clamp(64px, 10vh, 120px); padding-bottom: 48px; border-top: 1px solid var(--line); }
.ftr a { text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ftr-h { font-size: 13px; color: var(--fg2); margin-bottom: 12px; }
.ftr [data-m="social"] { display: flex; flex-direction: column; gap: 4px; }
.map-link { display: inline-block; margin-top: 8px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ftr .map-link:hover { text-decoration: none; }

/* phones: tabs and cards stack vertically */
@media (max-width: 760px) {
  .hdr { height: 64px; gap: 10px; }
  .hdr .btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .brand-w { display: none; }
  .icon-btn { width: 40px; height: 40px; }
  .tabs { flex-direction: column; }
  .tab { width: 100%; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .panel-hero { aspect-ratio: 4 / 3; }
}
