@import url("app/globals.css?v=20260810-navigation");

.category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.category-grid .category { position: relative; isolation: isolate; height: 330px; overflow: hidden; background: #282521; color: #fff; }
.category::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,16,.08) 22%, rgba(20,18,16,.86) 100%); content: ""; }
.category-media { position: absolute; inset: 0; z-index: -2; display: block; }
.category-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.category-grid .category:hover { background: #282521; color: #fff; }
.category:hover .category-media img,.category:focus-visible .category-media img { transform: scale(1.045); filter: saturate(.85); }
.category>span:first-child { position: relative; z-index: 1; }
.category h3,.category p { text-shadow: 0 1px 18px rgba(0,0,0,.45); }
@media (max-width: 900px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .category { height: 300px; } }
@media (max-width: 560px) { .category { height: 250px; } }
@media (prefers-reduced-motion: reduce) { .category-media img { transition: none; } }

.category {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.category:hover,
.category:focus-visible {
  background: var(--ink);
  color: white;
  transform: translateY(-4px);
}

.category:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  position: relative;
  z-index: 1;
}

.finder {
  display: grid;
  grid-template-columns: 1.1fr 1fr .65fr;
  gap: 5vw;
  align-items: end;
  padding: 11vh 7vw;
  border-top: 1px solid var(--line);
  background: #e8e2d7;
}

.finder h2 {
  margin: 16px 0 20px;
  font: 500 clamp(38px, 4vw, 62px)/1.15 serif;
}

.finder p:not(.eyebrow) {
  max-width: 560px;
  color: #69645b;
  line-height: 1.9;
}

.finder ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.finder li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.finder li:last-child { border-bottom: 1px solid var(--line); }
.finder li b { color: var(--clay); font-size: 11px; }
.finder-action {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: var(--ink);
  color: white;
  font-size: 18px;
  text-decoration: none;
}
.finder-action span { color: #c79478; font-size: 30px; }

.contact > div > p:last-child { max-width: 520px; color: rgb(255 255 255 / 78%); line-height: 1.8; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.contact-actions > * {
  display: flex;
  min-height: 68px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 15px;
  border: 1px solid rgb(255 255 255 / 45%);
  background: transparent;
  color: white;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.contact-actions small { margin-bottom: 3px; opacity: .72; }
.contact-actions strong { font-size: 15px; }
.contact-actions .contact-line-qr { grid-template-columns: 72px 1fr; gap: 14px; }
.contact-line-qr img { width: 72px; height: 72px; object-fit: cover; background: white; }
.contact-line-qr span { display: grid; }
.contact-actions > *:hover,
.contact-actions > *:focus-visible { background: white; color: var(--clay); }
.contact-status { min-height: 1.5em; margin: 14px 0 0; font-size: 13px; }

@media (max-width: 900px) {
  .finder { grid-template-columns: 1fr 1fr; }
  .finder-action { grid-column: 1 / -1; min-height: 84px; }
}

@media (max-width: 620px) {
  .finder { grid-template-columns: 1fr; padding: 80px 24px; }
  .finder-action { grid-column: auto; }
  .contact-actions { grid-template-columns: 1fr; }
}

.browse-paths { display:grid; grid-template-columns:minmax(260px,.72fr) minmax(0,1.6fr); gap:clamp(36px,6vw,90px); padding:11vh 7vw; border-bottom:1px solid var(--line); }
.browse-paths-heading h2 { margin:16px 0 20px; font:500 clamp(38px,4vw,62px)/1.15 serif; text-wrap:balance; }
.browse-paths-heading>p:last-child { max-width:520px; color:#69645b; line-height:1.9; }
.browse-path-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.browse-path-card { min-height:330px; display:flex; flex-direction:column; padding:clamp(24px,3vw,42px); border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:#e9e4da; }
.browse-path-card>span { color:var(--clay); font-size:10px; font-weight:700; letter-spacing:.18em; }
.browse-path-card h3 { margin:42px 0 12px; font:500 clamp(28px,3vw,42px)/1.2 serif; }
.browse-path-card>p { margin-bottom:26px; color:#69645b; line-height:1.8; }
.browse-path-links { display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.browse-path-links a { padding:9px 12px; border:1px solid var(--line); background:var(--paper); color:inherit; font-size:12px; text-decoration:none; }
.browse-path-links a:last-child { border-color:var(--ink); background:var(--ink); color:white; }
.browse-path-links a:hover,.browse-path-links a:focus-visible { border-color:var(--clay); outline:none; }
@media (max-width:900px) {
  .site-header { height:auto; min-height:86px; flex-wrap:wrap; padding-block:13px; }
  .site-header nav { order:3; width:100%; display:flex; gap:0; overflow-x:auto; padding-top:10px; border-top:1px solid var(--line); scrollbar-width:thin; }
  .site-header nav a { flex:0 0 auto; padding:3px 20px 3px 0; }
  .browse-paths { grid-template-columns:1fr; }
}
@media (max-width:620px) {
  .browse-paths { padding:80px 24px; }
  .browse-path-grid { grid-template-columns:1fr; }
  .browse-path-card { min-height:280px; }
  .hero h1 { max-width:7em; font-size:clamp(46px,14vw,62px); line-height:1.08; text-wrap:balance; }
}

/* Keep the six-character hero line intact on desktop without mobile overflow. */
@media(min-width:901px){.hero h1{font-size:clamp(42px,5.4vw,74px)}}
