/* Reference layout: every desktop dimension follows the canvas width. */
body:has(.gka-discover) { margin: 0; background: #fafafa; }
.wp-site-blocks:has(.gka-discover) { padding: 0; }
.gka-discover {
  --ink: #171816;
  box-sizing: border-box;
  container-type: inline-size;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5% 32px;
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size:13px;
  line-height: 1.3;
}
.gka-discover *, .gka-discover *::before, .gka-discover *::after { box-sizing: border-box; }
.gka-discover a { color: inherit; text-decoration: none; }
.gka-discover button, .gka-discover input { font-family: inherit; }
.gka-discover button { cursor: pointer; color: inherit; }
.gka-discover button:focus-visible, .gka-discover a:focus-visible, .gka-discover input:focus-visible { outline: 2px solid var(--gka-accent, #171717); outline-offset: 3px; }
.gka-discover [hidden] { display: none !important; }
.gka-topbar {
  display: flex;
  align-items: center;
  height: 5.3cqw;
  gap: 3.1cqw;
}
.gka-wordmark { flex: none; font-size:clamp(20px,1.45cqw,30px); font-weight: 700; letter-spacing: -.07cqw; }
.gka-topbar nav { display: flex; align-items: center; gap: 2cqw; font-size:clamp(12px,.96cqw,14px); color: #70716f; }
.gka-topbar nav a { white-space: nowrap; }
.gka-topbar nav a:hover { color: #171816; }
.gka-search { margin-left: auto; width: 25%; height: 2.8cqw; display: flex; align-items: center; padding: 0 .9cqw; gap: .5cqw; border-radius: .8cqw; background: #f0f0ef; color: #b3b3b0; }
.gka-search input { width: 100%; min-width: 0; border: 0; background: transparent; color: #555; outline: none; font-size:clamp(12px,.83cqw,14px); }
.gka-search input::placeholder { color: #aaa; }
.gka-discover .gka-search input:focus-visible { outline: none; box-shadow: none; }
.gka-search svg { flex: none; width: 1.3cqw; height: 1.3cqw; stroke-width: 1.2; }
.gka-account { display: flex; gap: .9cqw; margin-left: -.9cqw; }
.gka-account a { width: 8.2cqw; height: 2.8cqw; display: grid; place-items: center; border: 1px solid #ededeb; border-radius: .8cqw; font-size:clamp(12px,.92cqw,14px); font-weight: 600; white-space: nowrap; }
.gka-account .gka-signin { background: var(--gka-accent, #171717); border-color: var(--gka-accent, #171717); color: #fff; box-shadow: 0 3px 10px #1717171a; transition: background .2s, box-shadow .2s; }
.gka-hero { position: relative; aspect-ratio: 2.41; overflow: hidden; border-radius: 1.2cqw; background: #787a64; }
.gka-hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; filter: brightness(.84) saturate(.72); }
.gka-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #0005, transparent 58%); pointer-events: none; }
.gka-feature { position: absolute; left: 1.2cqw; bottom: 1cqw; width: 31.5%; padding: .8cqw 1.35cqw 1.15cqw; border-radius: .9cqw; background: #a3a39869; backdrop-filter: blur(15px); color: #fff; }
.gka-author { display: flex; align-items: center; gap: .7cqw; }
.gka-author img { width: 2.5cqw; height: 2.5cqw; border: 1px solid #ffffff70; border-radius: 50%; object-fit: cover; }
.gka-author strong, .gka-author div>span, .gka-project-header strong, .gka-project-header span { display: block; }
.gka-author strong { font-size:clamp(12px,.94cqw,14px); line-height: 1.2; font-weight: 600; }
.gka-author div>span { font-size:clamp(12px,.76cqw,14px); color: #d0d1c6; }
.gka-feature h1, .gka-feature h2 { margin: 1.05cqw 0 .7cqw; font-size:clamp(20px,2.04cqw,30px); font-weight: 500; letter-spacing: -.035cqw; line-height: 1.04; }
.gka-feature p { margin: 0; color: #d2d2ca; font-size:clamp(12px,.92cqw,14px); line-height: 1.25; }
.gka-filterbar { display: flex; align-items: center; gap: 16px; margin: 18px 0 20px; }
.gka-categories { display: flex; flex: 1; min-width: 0; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.gka-categories button, .gka-layout { flex: none; height: 36px; padding: 0 16px; border: 1px solid #f4f4f4; border-radius: 8px; background: transparent; color: #171717; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .18s, color .18s, border-color .18s; }
.gka-categories button:hover { background: #fafafa; color: #202020; }
.gka-categories button[aria-pressed=true] { background: #f4f4f4; border-color: #f4f4f4; color: #171717; }
.gka-layout { display: grid; place-items: center; margin-left: auto; padding: 0; width: 36px; border-color: #f4f4f4; background: #fff; }
.gka-layout svg { width: 15px; height: 15px; }
.gka-projects { display: grid; grid-template-columns: 1fr 1fr 1.18fr 2.04fr; gap: 0 1cqw; align-items: start; }
.gka-project { min-width: 0; margin: 0; }
.gka-project-header { height: 4.6cqw; padding: 0 .25cqw 1.05cqw; display: flex; align-items: center; gap: .65cqw; }
.gka-project-header>img { flex: none; width: 2.3cqw; height: 2.3cqw; object-fit: cover; border-radius: 50%; }
.gka-project-header strong { font-size:clamp(12px,.91cqw,14px); line-height: 1.3; font-weight: 600; }
.gka-project-header span { font-size:clamp(12px,.76cqw,14px); line-height: 1.3; color: #9a9a93; }
.gka-like { flex: none; margin-left: auto; width: 2cqw; height: 2cqw; display: grid; place-items: center; padding: .45cqw; border: 1px solid #eeeee9; border-radius: 50%; background: #fff; }
.gka-like svg { display: block; width: 100%; height: 100%; }
.gka-like[aria-pressed=true] { color: #171717; background: #f4f4f4; }
.gka-project-image { position: relative; overflow: hidden; border-radius: .85cqw; background: #e5e3dd; }
.gka-project-image>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gka-project:hover .gka-project-image>img { transform: scale(1.025); }
.gka-project--short .gka-project-image { aspect-ratio: 1.2; }
.gka-project--tall { grid-column: 3; grid-row: 1 / span 2; }
.gka-project--tall .gka-project-image { aspect-ratio: .55; }
.gka-project--wide { grid-column: 4; grid-row: 1 / span 2; }
.gka-project--wide .gka-project-image { aspect-ratio: .96; }
.gka-project--lower { grid-column: 1 / span 2; }
.gka-project--lower .gka-project-image { aspect-ratio: 1.45; }
.gka-project--extra { grid-column: 3 / span 2; margin-top: 1.2cqw; }
.gka-project--extra .gka-project-image { aspect-ratio: 2; }
.gka-project-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 4cqw 1.4cqw 1.4cqw; color: #fff; background: linear-gradient(transparent,#0009); opacity: 0; transition: opacity .2s; }
.gka-project:hover .gka-project-caption { opacity: 1; }
.gka-project-caption span { font-size:clamp(12px,.9cqw,14px); }
.gka-project-caption h2 { margin: .4cqw 0 0; font-size:clamp(20px,1.5cqw,30px); }
.gka-duration { position: absolute; top: .8cqw; left: .8cqw; padding: .25cqw .5cqw; border-radius: .4cqw; background: #ffffff40; color: #fff; font-size:clamp(12px,.7cqw,14px); }
.gka-projects.is-filtered, .gka-projects.is-compact { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2cqw 1cqw; }
.gka-projects.is-filtered .gka-project, .gka-projects.is-compact .gka-project { grid-column: auto; grid-row: auto; margin: 0; }
.gka-projects.is-filtered .gka-project-image, .gka-projects.is-compact .gka-project-image { aspect-ratio: .9; }
.gka-empty { text-align: center; padding: 40px; color: #777; }
@media(max-width:540px) {
 .gka-discover { padding: 0 12px 24px; }
 .gka-topbar { display: grid; grid-template-columns: auto 1fr auto; height: auto; padding: 14px 0; gap: 12px 10px; }
 .gka-wordmark { font-size: 15px; letter-spacing: -.7px; }
 .gka-topbar nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 16px; min-width: 0; overflow-x: auto; padding: 3px 0; font-size:13px; scrollbar-width: none; }
 .gka-account { grid-column: 3; grid-row: 1; gap: 5px; margin: 0; }
 .gka-account a { width: 50px; height: 29px; border-radius: 7px; font-size:12px; }
 .gka-search { grid-column: 1 / -1; grid-row: 3; width: 100%; height: 32px; margin: 0; padding: 0 10px; gap: 8px; border-radius: 7px; }
 .gka-search input { font-size:12px; }
 .gka-search svg { width: 15px; height: 15px; }
 .gka-hero { aspect-ratio: 1.2; border-radius: 10px; }
 .gka-feature { left: 9px; bottom: 9px; width: calc(100% - 18px); padding: 12px; border-radius: 9px; }
 .gka-author { gap: 7px; }
 .gka-author img { width: 25px; height: 25px; }
 .gka-author strong { font-size:12px; }
 .gka-author div>span { font-size: 8px; }
 .gka-feature h1, .gka-feature h2 { margin: 10px 0 7px; font-size: 24px; letter-spacing: -.4px; }
 .gka-feature p { font-size:12px; }
 .gka-filterbar { margin: 14px 0 10px; gap: 9px; }
 .gka-categories { gap: 4px; }
 .gka-categories button { padding: 0 12px; font-size:13px; }
 .gka-layout { width: 36px; height: 36px; }
 .gka-projects, .gka-projects.is-filtered, .gka-projects.is-compact { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 9px; }
 .gka-projects .gka-project { grid-column: auto; grid-row: auto; margin: 0; }
 .gka-project-header { height: 36px; padding: 0 1px 8px; gap: 5px; }
 .gka-project-header>img { width: 22px; height: 22px; }
 .gka-project-header strong { font-size: 8px; }
 .gka-project-header span { font-size: 7px; }
 .gka-like { width: 20px; height: 20px; padding: 5px; }
 .gka-projects .gka-project-image { aspect-ratio: .95; border-radius: 7px; }
 .gka-duration { top: 7px; left: 7px; padding: 3px 5px; font-size: 8px; }
 .gka-project-caption { display: none; }
}
@media(prefers-reduced-motion:reduce) { .gka-discover * { transition: none !important; scroll-behavior: auto !important; } }




/* Hero slideshow controls stay separate from each slide's information card. */
.gka-hero { touch-action: pan-y; }
.gka-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s; }
.gka-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.gka-slider-controls { position: absolute; z-index: 2; right: 1.5cqw; bottom: 1.5cqw; display: flex; align-items: center; padding: .5cqw; color: #fff; }
.gka-slider-dots { display: flex; align-items: center; gap: .65cqw; }
.gka-slider-dots button { position: relative; display: grid; place-items: center; width: 1.7cqw; height: 2.8cqw; padding: 0; border: 0; background: transparent; }
.gka-slider-dots button::after { content: ''; width: .65cqw; height: .65cqw; border-radius: 50%; background: #ffffff65; transition: background .2s, transform .2s; }
.gka-slider-dots button[aria-current=true]::after { background: #fff; transform: scale(1.25); }
@media(max-width:540px) {
 .gka-hero { aspect-ratio: 1.05; }
 .gka-slide .gka-feature { bottom: 60px; }
 .gka-slider-controls { right: 9px; bottom: 9px; gap: 6px; padding: 4px; border-radius: 28px; }
 .gka-slider-dots { gap: 3px; }
 .gka-slider-dots button { width: 22px; height: 32px; }
 .gka-slider-dots button::after { width: 6px; height: 6px; }
}
@media(prefers-reduced-motion:reduce) { .gka-slide, .gka-slider-dots button::after { transition: none; } }




/* Cards enter again whenever their slide becomes active. */
.gka-slide.is-active .gka-feature { animation: gka-card-enter .7s cubic-bezier(.2,.65,.3,1) .15s both; }
@keyframes gka-card-enter {
 from { opacity: 0; transform: translateY(24px); }
 to { opacity: 1; transform: translateY(0); }
}
@media(prefers-reduced-motion:reduce) {
 .gka-slide.is-active .gka-feature { animation: none; }
}



.gka-account .gka-signin:hover { background: #171717; border-color: #171717; box-shadow: 0 5px 14px #17171729; }
.gka-topbar nav a:hover { color: #171717; }


.gka-search { margin-block:0; }
.gka-discover .gka-search button { display:grid; place-items:center; flex:none; align-self:stretch; min-width:26px; padding:0; border:0; background:transparent; color:#171717; border-radius:5px; }
.gka-discover .gka-search button:hover { color:#171717; }
.gka-discover .gka-search button:focus-visible { outline:2px solid #171717; outline-offset:2px; }
.gka-search { position:relative; }
.gka-member-results { position:absolute; top:calc(100% + 9px); right:0; z-index:100; width:max(100%, 290px); max-width:calc(100vw - 32px); padding:8px; border:1px solid #f4f4f4; border-radius:14px; background:#fff; color:#202020; box-shadow:0 12px 36px #2020201a; font-size:13px; line-height:1.4; }
.gka-member-status { margin:10px 8px; color:#171717; font-size:13px; }
.gka-member-results ul { margin:0; padding:0; list-style:none; max-height:50dvh; overflow-y:auto; overscroll-behavior:contain; }
.gka-member-results li { margin:0; padding:0; }
.gka-member-results a { display:flex; align-items:center; gap:10px; padding:9px; border-radius:9px; }
.gka-member-results a:hover,.gka-member-results a:focus-visible { background:#fafafa; }
.gka-member-results img { flex:none; width:36px; height:36px; border-radius:50%; object-fit:cover; background:#fafafa; }
.gka-member-results a>span { min-width:0; }
.gka-member-results strong,.gka-member-results small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.gka-member-results strong { font-size:13px; font-weight:600; }
.gka-member-results small { margin-top:2px; color:#171717; font-size:12px; }
.gka-member-results .is-content img { border-radius:7px; }
.gka-search-result-icon { display:grid; place-items:center; flex:none; width:36px; height:36px; border-radius:7px; background:#f4f4f4; color:#171717; }
.gka-discover .gka-search .gka-search-more { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:36px; margin-top:6px; padding:9px 12px; border-top:1px solid #f4f4f4; border-radius:0 0 8px 8px; color:#171717; font-size:13px; font-weight:500; }
.gka-discover .gka-search .gka-search-more:after { content:'↓'; }
.gka-discover .gka-search .gka-search-more:hover { background:#fafafa; }
.gka-discover .gka-search .gka-search-more:disabled { opacity:.55; cursor:wait; }

.gka-author>img,.gka-project-header>img{background:#171717;object-fit:contain;padding:5px;box-sizing:border-box}.gka-slide .gka-hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.25),transparent 70%)}

.gka-categories button:disabled { opacity: .35; cursor: default; background: transparent; color: #171717; }

/* The alternate view flows in source order as the collection grows. */
.gka-projects:not(.is-compact):not(.is-filtered) {
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 2cqw 1cqw;
}
.gka-projects:not(.is-compact):not(.is-filtered) .gka-project {
 grid-column: auto;
 grid-row: auto;
 margin: 0;
}
.gka-projects:not(.is-compact):not(.is-filtered) .gka-project-image { aspect-ratio: 4 / 3; }
@media (max-width: 700px) {
 .gka-projects:not(.is-compact):not(.is-filtered) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 9px; }
}
