/*
Theme Name: CEO Clubs Nigeria
Theme URI: https://ceoclubsnigeria.org/
Author: Induuce
Author URI: https://induuce.com/
Description: Custom theme for CEO Clubs Nigeria, the Nigerian chapter of CEO Clubs Network. Content comes from the club's own website. Contact details are in Appearance > Customize > CEO Clubs details.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: ceo-clubs-nigeria
*/
/* Layout: corporate premium. White pages, near-black type, one deep-green band per page, gold from the seal only as hairlines and dots.
   Big professional photography up top; the club's own photos in events. Floating capsule navbar (induuce.com pattern). Light only, upright type only. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --mist: #f4f4f2;
  --ink: #111111;
  --slate: #5e5e5b;
  --rule: rgba(17, 17, 17, .12);
  --green: #17171a;  /* dark band: charcoal, the seal's gold sits on it */
  --gold: #b48d3f;
  --gold-ink: #876820;
  --on-dark: #f4f3ee;
  --glass: rgba(255, 255, 255, .9);
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --wrap: 1240px;
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.028em; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.band { padding-block: clamp(72px, 9vw, 128px); }
.band.mist { background: var(--mist); }
.band.dark { background: var(--green); color: var(--on-dark); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.dark .kicker { color: rgba(244, 243, 238, .7); }
.h2 { font-size: clamp(36px, 4.6vw, 60px); }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--slate); max-width: 60ch; }
.dark .lede { color: rgba(244, 243, 238, .74); }
.head { display: grid; gap: 20px; max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.head-row > div { display: grid; gap: 20px; max-width: 760px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 var(--sans); border: 0; cursor: pointer; white-space: nowrap; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 14px 34px -16px rgba(17, 17, 17, .6); }
.btn-ink:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #17120a; }
.btn-gold:hover { transform: translateY(-2px); background: #c39c4c; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding-bottom: 6px; border-bottom: 1.5px solid var(--gold); }
.link .arr { transition: transform .35s var(--ease); }
.link:hover .arr { transform: translateX(4px); }

/* ---------- navbar: logo, floating capsule of links with a gliding highlight, then the button ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-block: 16px; transition: padding .4s var(--ease), transform .6s cubic-bezier(.19, 1, .22, 1); }
.nav::before { content: ""; position: absolute; inset: 0; background: var(--glass); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); opacity: 0; transition: opacity .4s var(--ease); z-index: -1; box-shadow: 0 1px 0 var(--rule); }
.nav.scrolled { padding-block: 10px; }
.nav.scrolled::before { opacity: 1; }
.nav.hidden { transform: translate3d(0, -130%, 0); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 44px; height: 44px; }
.logo b { font: 600 18px/1.05 var(--display); letter-spacing: -.02em; display: block; }
.logo small { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.menu { position: relative; display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--rule), 0 10px 30px -18px rgba(17, 17, 17, .25); font-size: 15px; font-weight: 500; }
.menu > li { position: relative; z-index: 1; }
.menu > li > a { display: inline-flex; padding: 9px 16px; border-radius: 999px; color: var(--slate); transition: color .25s; }
.menu > li > a:hover { color: var(--ink); }
.menu > li > a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.menu > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
.menu .menu-hl { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--mist); opacity: 0; pointer-events: none; transition: left .55s cubic-bezier(.34, 1.4, .64, 1), width .55s cubic-bezier(.34, 1.4, .64, 1), opacity .3s; }
.right { display: flex; align-items: center; gap: 6px; }
.nav .cta { height: 48px; padding: 0 22px; font-size: 15px; }
.burger { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 500 14px/1 var(--sans); cursor: pointer; }
.burger svg { width: 16px; height: 10px; }
@media (max-width: 1080px) {
  .nav { padding-block: 10px; }
  .nav::before { display: none; }
  .bar { height: 60px; padding: 0 8px 0 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--rule), 0 12px 30px -18px rgba(17, 17, 17, .3); }
  .logo img { width: 38px; height: 38px; }
  .logo small { display: none; }
  .menu, .nav .cta { display: none; }
  .burger { display: inline-flex; }
}

/* mobile sheet */
.msheet { position: fixed; inset: 0; z-index: 120; pointer-events: none; visibility: hidden; }
.msheet.open { pointer-events: auto; visibility: visible; }
.ms-scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, .28); opacity: 0; transition: opacity .45s var(--ease); }
.msheet.open .ms-scrim { opacity: 1; }
.ms-card { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 10px); left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); max-height: calc(100dvh - 20px - env(safe-area-inset-top, 0px)); overflow: auto; overscroll-behavior: contain; background: var(--paper); border-radius: 28px; padding: 10px 10px 14px; box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -30px rgba(17, 17, 17, .45); transform-origin: calc(100% - 50px) 28px; transform: scale(.6) translateY(-10px); opacity: 0; transition: transform .55s cubic-bezier(.34, 1.32, .64, 1), opacity .3s var(--ease); }
.msheet.open .ms-card { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ms-card, .ms-scrim, .nav, .menu .menu-hl { transition: none; } }
.ms-bar { display: flex; justify-content: space-between; align-items: center; height: 56px; padding: 0 6px 0 8px; }
.ms-close { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 500 14px/1 var(--sans); cursor: pointer; }
.ms-close span { position: relative; width: 12px; height: 12px; }
.ms-close span::before, .ms-close span::after { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: rotate(45deg); }
.ms-close span::after { transform: rotate(-45deg); }
.ms-nav { display: grid; margin: 6px 4px 0; }
.ms-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 13px 8px; border-top: 1px solid var(--rule); }
.ms-nav > .ms-row:first-child { border-top: 0; }
.ms-n { font-size: 12px; color: var(--slate); font-variant-numeric: tabular-nums; }
.ms-t { font: 600 30px/1.05 var(--display); letter-spacing: -.04em; }
.ms-row[aria-current="page"] .ms-t::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--gold); vertical-align: .35em; }
.ms-feature { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 14px 4px 0; padding: 16px 16px 16px 18px; border-radius: 20px; background: var(--green); color: var(--on-dark); }
.ms-feature small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 243, 238, .65); margin-bottom: 6px; }
.ms-feature b { display: block; font: 600 19px/1.15 var(--display); letter-spacing: -.02em; }
.ms-feature i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #17120a; flex: none; }
.ms-foot { margin: 12px 4px 0; display: grid; gap: 10px; }
.ms-foot .btn { justify-content: center; width: 100%; }
.ms-foot p { font-size: 14px; color: var(--slate); text-align: center; }


/* hero */
.hero { padding: 6px 0 0; }
.hero-frame { position: relative; border-radius: 32px; overflow: hidden; min-height: clamp(560px, 74vh, 760px); display: grid; align-items: end; color: #fff; background: #1c1c1c; }
.hero-frame picture, .hero-frame picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .84) 0%, rgba(10, 10, 10, .66) 45%, rgba(10, 10, 10, .3) 66%, rgba(10, 10, 10, 0) 86%), linear-gradient(0deg, rgba(10, 10, 10, .55) 0%, transparent 45%); }
.hero-in { position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); display: grid; gap: 26px; max-width: 1040px; }
.hero-in .lede { max-width: 52ch; }
.hero h1 { font-size: clamp(34px, 4.6vw, 68px); letter-spacing: -.035em; line-height: 1.02; white-space: nowrap; }
.hero h1 .bm { display: none; }
.hero h1 em { font-style: normal; color: #e3c27a; }
@media (max-width: 520px) { .hero h1 { font-size: clamp(24px, 7.7vw, 42px); } .hero h1 .bm { display: inline; } .hero h1 .bd { display: none; } .hero-in { padding: 26px 22px; } .hero-meta { padding-inline: 22px; } }
.hero-in > * { min-width: 0; }
.hero .lede { color: rgba(255, 255, 255, .82); max-width: 52ch; }
.hero .kicker { color: rgba(255, 255, 255, .8); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 18px clamp(28px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.hero-meta b { color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .hero-frame { border-radius: 24px; min-height: 640px; }
  .hero-frame::after { background: linear-gradient(0deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .55) 55%, rgba(10, 10, 10, .15) 100%); }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* intro split */
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.intro .copy { display: grid; gap: 24px; min-width: 0; }
.intro .copy .h2 { font-size: clamp(32px, 3.8vw, 50px); }
.intro figure { margin: 0; position: relative; }
.intro figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.intro figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; }
.intro figcaption b { font: 600 17px/1.25 var(--display); letter-spacing: -.01em; }
.intro figcaption span { font-size: 14px; color: var(--slate); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro figure img { aspect-ratio: 4 / 4.2; } }

/* objectives */
.objectives { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.objectives article { display: grid; gap: 12px; align-content: start; padding: 30px 26px 36px 0; border-bottom: 1px solid var(--rule); }
.objectives article + article { padding-left: 26px; border-left: 1px solid var(--rule); }
.objectives article:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.objectives svg { width: 30px; height: 30px; color: var(--gold-ink); }
.objectives h3 { font-size: 23px; letter-spacing: -.02em; }
.objectives p { color: var(--slate); font-size: 15.5px; }
@media (max-width: 1000px) { .objectives { grid-template-columns: repeat(2, minmax(0, 1fr)); } .objectives article:nth-child(odd) { padding-left: 0; border-left: 0; } .objectives article:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--rule); } }
@media (max-width: 560px) { .objectives { grid-template-columns: 1fr; } .objectives article:nth-child(even) { padding-left: 0; border-left: 0; } }

/* membership band */
.member-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.member-band figure { margin: 0; }
.member-band figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.member-band .copy { display: grid; gap: 24px; min-width: 0; }
.terms { margin: 0; display: grid; border-top: 1px solid rgba(244, 243, 238, .2); }
.terms div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid rgba(244, 243, 238, .2); }
.terms dt { color: rgba(244, 243, 238, .72); font-size: 15.5px; }
.terms dd { margin: 0; font: 600 19px/1.2 var(--display); letter-spacing: -.01em; text-align: right; font-variant-numeric: lining-nums; }
.levels { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 600 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.levels span { padding-bottom: 7px; border-bottom: 2px solid var(--gold); }
.levels span:nth-child(2) { border-color: #b9bfc0; }
.levels span:nth-child(3) { border-color: #e7e3d6; }
.member-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .member-band { grid-template-columns: 1fr; } .member-band figure img { aspect-ratio: 16 / 11; } }
@media (max-width: 480px) { .terms div { grid-template-columns: 1fr; gap: 4px; } .terms dd { text-align: left; } }

/* board */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.member { display: grid; gap: 16px; align-content: start; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: var(--mist); }
.member .who { display: grid; gap: 6px; }
.member .role { font-size: 13.5px; font-weight: 600; color: var(--gold-ink); }
.member h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.member .org { font-size: 14.5px; color: var(--slate); }
@media (max-width: 960px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .board { gap: 32px 14px; } .member h3 { font-size: 18px; } }

/* events */
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.event { display: grid; gap: 16px; align-content: start; }
.event .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; background: var(--mist); box-shadow: 0 0 0 1px var(--rule); }
.event .ph { background: #fff; }
.event .ph img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 10px; object-fit: contain; transition: transform .8s var(--ease); }
.event:hover .ph img { transform: scale(1.04); }
.event time { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.event h3 { font-size: 23px; letter-spacing: -.02em; line-height: 1.15; }
.event p { color: var(--slate); font-size: 15px; }
@media (max-width: 960px) { .events { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .events { grid-template-columns: 1fr; } }

/* network */
.network { display: grid; gap: clamp(36px, 5vw, 56px); }
.network .copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: clamp(36px, 6vw, 88px); }
.network .copy .kicker { grid-column: 1 / -1; }
.network .copy { display: grid; gap: 22px; }
.countries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid rgba(244, 243, 238, .2); }
.countries li { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid rgba(244, 243, 238, .2); font: 500 17px/1.2 var(--display); }
.countries li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.countries.light { border-top-color: var(--rule); }
.countries.light li { border-bottom-color: var(--rule); }
@media (max-width: 860px) { .network .copy { grid-template-columns: 1fr; row-gap: 20px; } .countries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* partners */
.partners { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.partners div { display: grid; place-items: center; min-height: 116px; padding: 22px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.partners img { max-height: 50px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .65; mix-blend-mode: multiply; transition: filter .4s, opacity .4s; }
.partners div:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* closer */
.closer { position: relative; border-radius: 32px; overflow: hidden; color: #fff; background: #1c1c1c; }
.closer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .88), rgba(10, 10, 10, .5) 60%, rgba(10, 10, 10, .25)); }
.closer-in { position: relative; z-index: 1; display: grid; gap: 24px; padding: clamp(36px, 6vw, 80px); max-width: 720px; }
.closer h2 { font-size: clamp(34px, 4.4vw, 58px); }
.closer p { color: rgba(255, 255, 255, .8); max-width: 50ch; }
.closer .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* page header */
.ph { padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 56px); }
.ph .wrap { display: grid; gap: 20px; }
.crumbs { font-size: 14px; color: var(--slate); display: flex; gap: 8px; }
.crumbs a:hover { color: var(--ink); }
.ph h1 { font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -.04em; max-width: 15ch; }
.ph-photo { margin-top: clamp(28px, 4vw, 48px); border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 8; background: var(--mist); }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .ph-photo { aspect-ratio: 4 / 3; border-radius: 22px; } }

/* about */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); }
.split > * { min-width: 0; }
.statement { font: 600 clamp(28px, 3.2vw, 42px)/1.15 var(--display); letter-spacing: -.03em; }
.prose { display: grid; gap: 18px; color: var(--slate); max-width: 66ch; }
.prose p:first-child { color: var(--ink); font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; }
.values-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.values-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.values { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(244, 243, 238, .2); }
.values div { display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px 0; border-bottom: 1px solid rgba(244, 243, 238, .2); }
.values div:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(244, 243, 238, .2); }
.values h3 { font-size: 24px; letter-spacing: -.02em; }
.values p { font-size: 15.5px; color: rgba(244, 243, 238, .74); }
@media (max-width: 900px) { .values-wrap { grid-template-columns: 1fr; } .values-wrap img { aspect-ratio: 16 / 10; order: -1; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .values div:nth-child(even) { padding-left: 0; border-left: 0; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
.ticks li { position: relative; padding: 15px 0 15px 28px; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.ticks.cols { grid-template-columns: 1fr 1fr; column-gap: 48px; }
.dark .ticks { border-top-color: rgba(244, 243, 238, .2); }
.dark .ticks li { border-bottom-color: rgba(244, 243, 238, .2); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .ticks.cols { grid-template-columns: 1fr; } }

/* membership page */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 14px/1 var(--sans); color: var(--gold-ink); letter-spacing: .08em; }
.steps b { font: 600 21px/1.2 var(--display); letter-spacing: -.02em; }
.steps span { color: var(--slate); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline > li { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 300px); gap: 36px; padding: 36px 0; border-top: 1px solid var(--rule); align-items: start; }
.timeline time { font: 600 32px/1 var(--display); letter-spacing: -.03em; }
.timeline time small { display: block; margin-top: 8px; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.timeline h3 { font-size: clamp(23px, 2.3vw, 30px); letter-spacing: -.02em; margin-bottom: 10px; }
.timeline .body { display: grid; gap: 10px; color: var(--slate); }
.timeline dl { margin: 6px 0 0; display: grid; gap: 6px; font-size: 15px; }
.timeline dl div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
.timeline dt { color: var(--ink); font-weight: 600; }
.timeline dd { margin: 0; }
.timeline .open-gal { justify-self: start; margin-top: 8px; height: 46px; padding: 0 20px; font-size: 15px; }
.timeline .thumb { padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--mist); box-shadow: 0 0 0 1px var(--rule); cursor: zoom-in; display: block; width: 100%; }
@media (max-width: 900px) { .timeline > li { grid-template-columns: 1fr; gap: 16px; } }

/* galleries */
.gal-tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 30px; border-bottom: 1px solid var(--rule); }
.gal-tabs button { background: none; border: 0; padding: 14px 0; margin-bottom: -1px; font: 500 16px/1.3 var(--sans); color: var(--slate); cursor: pointer; text-align: left; border-bottom: 2px solid transparent; }
.gal-tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--gold); }
.gal-tabs small { margin-left: 6px; color: var(--slate); font-weight: 500; }
.grid-photos { columns: 4 220px; column-gap: 12px; }
.grid-photos button { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--mist); cursor: zoom-in; break-inside: avoid; }
.grid-photos img { width: 100%; transition: transform .6s var(--ease); }
.grid-photos button:hover img { transform: scale(1.03); }
dialog.lightbox { border: 0; padding: 0; background: transparent; width: 100%; max-width: min(1100px, 94vw); }
dialog.lightbox::backdrop { background: rgba(10, 10, 10, .92); }
.lb { display: grid; gap: 12px; color: #f4f3ee; }
.lb img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; border-radius: 12px; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.lb-bar .ctl { display: flex; gap: 8px; }
.lb-bar button { height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font: 500 14px/1 var(--sans); cursor: pointer; }
.lb-bar button:hover { background: rgba(255, 255, 255, .24); }

/* contact */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.contact > div { display: grid; gap: 14px; align-content: start; padding: 30px 28px 36px 0; }
.contact > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.contact h3 { font-size: 24px; letter-spacing: -.02em; }
.contact address { font-style: normal; font: 500 20px/1.45 var(--display); letter-spacing: -.01em; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.line .v { min-width: 0; overflow-wrap: anywhere; font-size: 16px; font-weight: 500; user-select: all; }
.line .k { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); user-select: none; }
.copy-btn { flex: none; background: none; border: 0; padding: 6px 0; font: 600 13.5px/1 var(--sans); color: var(--slate); border-bottom: 1.5px solid var(--rule); cursor: pointer; }
.copy-btn:hover { color: var(--ink); border-bottom-color: var(--gold); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact > div { padding-right: 0; } .contact > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }

/* footer */
footer { background: #0b0b0b; color: #cfcfcb; padding-block: clamp(64px, 7vw, 96px) 32px; font-size: 15px; }
footer .wrap { display: grid; gap: 48px; }
.f-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.6fr); gap: 36px; }
.f-brand { display: grid; gap: 18px; align-content: start; }
.f-brand img { width: 60px; height: 60px; }
.f-brand p { max-width: 36ch; color: #9d9d98; }
.f-top h4 { margin: 0 0 16px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.f-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-top a:hover { color: #fff; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #8a8a85; }
@media (max-width: 860px) { .f-top { grid-template-columns: 1fr 1fr; } .f-brand, .f-top > div:last-child { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font: 500 14px/1 var(--sans); z-index: 140; }

/* ---------- theme additions ---------- */
.admin-bar .nav { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .nav { top: calc(46px + env(safe-area-inset-top, 0px)); } }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }
.skip:focus { left: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* contact form */
.form-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.form-band > * { min-width: 0; }
.cform { display: grid; gap: 18px; }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform label { display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; }
.cform input, .cform textarea { width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
.cform textarea { min-height: 180px; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180, 141, 63, .25); }
.cform .hp { position: absolute; left: -9999px; }
.cform .btn { justify-self: start; }
.note { padding: 16px 18px; border-radius: 14px; font-size: 15.5px; }
.note.ok { background: #f1f6ee; color: #24461b; }
.note.err { background: #fbefec; color: #7a2414; }
@media (max-width: 860px) { .form-band { grid-template-columns: 1fr; } .cform .row { grid-template-columns: 1fr; } }

/* address: rows, and phrases that never split */
address .ad-row { display: block; }
address .nw { white-space: nowrap; }
.contact address { font-size: 19px; line-height: 1.5; }
.f-address { font-style: normal; display: grid; gap: 2px; line-height: 1.5; }

/* gallery page */
.gal-back { margin-top: 8px; }
.gal-other { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule); }

/* generic pages and posts */
.entry { max-width: 72ch; display: grid; gap: 18px; font-size: 17.5px; color: #2b2b2a; }
.entry h2 { font-size: 30px; margin-top: 18px; }
.entry h3 { font-size: 23px; margin-top: 12px; }
.entry a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.entry img { border-radius: 16px; }
.entry ul, .entry ol { padding-left: 1.3em; display: grid; gap: 6px; }
.timeline .thumb img, .event .ph img { display: block; }
.f-credit a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.f-credit a:hover { color: #fff; }
