/* Matte surfaces and subtle contour lines keep the outdoor identity in the layout. */
:root {
  --lime: #d3eb83;
  --line: #3d4948;
  --muted: #aebbb8;
}
body {
  background-color: #151c1d;
  background-image:
    radial-gradient(ellipse at 95% 5%, #31514635, transparent 36%),
    radial-gradient(#b2c4ad0a .7px, transparent .9px),
    radial-gradient(#0003 .8px, transparent 1px);
  background-size: auto, 4px 4px, 7px 7px;
  background-position: center, 0 0, 2px 1px;
}
h1, h2, h3 {
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  letter-spacing: -.9px;
}
.utility { height: 52px; max-width: 1160px; color: #aab9b6; }
.utility button { background: #b7c3ae10; border: 1px solid #b6c8b225; }
.utility-search > span:first-child { background: #9ab8ac14; }
header {
  max-width: 1160px;
  border-radius: 14px;
  background: #10191bf5;
  border: 1px solid #869c8b33;
  box-shadow: 0 8px 24px #0003, inset 0 1px 0 #d8e5c609;
  height: 74px;
  backdrop-filter: blur(18px);
}
header nav {
  top: 73px;
  background: #192425;
  border-color: #3c504a;
  border-radius: 0 0 14px 14px;
}
.original-logo { width: 135px; height: 71px; }
.header-actions button { color: #d4e9a2; }
.header-actions a:hover, .utility a:hover { color: #e5f5bd; }
.button {
  border-radius: 8px;
  background: #d3eb83;
  color: #1b2b20;
  border-color: #e2f4b0;
  padding: 14px 24px;
  min-height: 46px;
  box-shadow: inset 0 1px 0 #fff5, 0 4px 12px #0002;
  transition: background .18s, transform .18s;
}
.button:hover { background: #e1f3aa; transform: translateY(-2px); }
.button.outline { border-radius: 8px; border-color: #829285; background: #dde9c907; }
.button.dark { background: #d3eb83; }
.text-link { color: #d7e5b5; }
.section { padding-top: 40px; padding-bottom: 40px; }
.section-head h2 { font-size: 29px; display: flex; align-items: center; gap: 14px; }
.section-head h2:before { content: ''; width: 4px; height: 24px; border-radius: 5px; background: #bcd878; flex-shrink: 0; }
.portal-feature {
  position: relative;
  margin-top: 18px;
  padding-top: 30px;
  padding-bottom: 24px;
  background-color: #1b2728;
  background-image: radial-gradient(ellipse at 15% 0, #42524960, transparent 65%);
  border: 1px solid #90aa8d29;
  border-radius: 23px;
  box-shadow: 0 20px 45px #00101425, inset 0 1px 0 #e8f3d407;
  overflow: hidden;
  isolation: isolate;
}
.portal-feature:before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 900px;
  left: -390px;
  top: -430px;
  border-radius: 43%;
  transform: rotate(27deg);
  background: repeating-radial-gradient(ellipse at center, transparent 0 26px, #c5e1b00b 27px 28px, transparent 29px 46px);
  pointer-events: none;
}
.portal-slide { grid-template-columns: 43% 57%; min-height: 440px; }
.portal-copy { padding: 25px 38px 28px 0; }
.feature-logo { width: 194px; height: 109px; margin: -5px 0 18px; }
.portal-copy h1 {
  font-size: clamp(32px, 3.35vw, 49px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  max-width: 500px;
  margin-bottom: 21px;
}
.portal-copy h1 em { font-style: normal; color: #d3eb83; }
.portal-copy > p:not(.portal-tag) { color: #b5c4bf; max-width: 395px; font-size: 14px; line-height: 1.7; }
.portal-art {
  padding: 9px;
  background: #b8d3ba09;
  border: 1px solid #c8d8b737;
  border-radius: 19px;
  position: relative;
  transform: rotate(.7deg);
  box-shadow: 0 12px 22px #0003;
}
.portal-art img { height: 100%; max-height: 460px; min-height: 100%; border-radius: 12px; object-position: 65%; }
.feature-tabs { gap: 12px; margin-top: 28px; }
.feature-tab {
  background: #101b1b85;
  border: 1px solid #c3d3b41c;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 #d6e6bf07;
}
.feature-tab.selected { background: #45534480; border-color: #bdcf8c79; }
.feature-tab:hover { background: #40514965; }
.feature-tab img { border-radius: 5px; filter: saturate(.85); }
.feature-tab small { color: #aabdaf; }
.feature-tab strong { color: #dfe9dd; }
.universe-card {
  background: #23302f;
  border: 1px solid #bfccb726;
  border-radius: 16px;
  transition: transform .2s, border-color .2s;
}
.universe-card:hover { transform: translateY(-4px); border-color: #b9ce8d91; }
.universe-card > div:last-child {
  background-image: repeating-linear-gradient(115deg, transparent 0 4px, #ffffff02 4px 5px);
  padding: 21px 23px 25px;
}
.universe-card h3 { font-size: 24px; margin-top: 10px; }
.universe-card small { color: #a7bcae; letter-spacing: .9px; }
.universe-card span { color: #cddda3; }
.portal-promo { border-radius: 18px; border: 1px solid #71886d50; margin-top: 13px; margin-bottom: 16px; }
.portal-promo:after {
  background: linear-gradient(90deg,#182723f5,#152820cc 45%,#15232210 85%);
}
.portal-promo h2 { font-size: 40px; letter-spacing: -1.5px; }
.portal-promo .portal-tag { color: #c9d5ae; letter-spacing: 1.2px; font-size: 10px; }
.dog-card { background: #25302e; border: 1px solid #a1b59a25; border-radius: 14px; }
.dog-card:hover { box-shadow: 0 12px 28px #0004; }
.dog-info h3 { font-size: 21px; }
.dog-info small { color: #acc4ae; }
.dog-info > div { color: #a6b9af; }
.round-arrow { color: #d5e6aa; background: #a6bd7c17; border: 1px solid #b6cf8d3b; }
.news-card .news-image { border-radius: 14px; border: 1px solid #acbba826; }
.news-card h3 { font-size: 24px; letter-spacing: -.6px; }
.news-card p { color: #a8bab4; }
.news-card small { color: #b3c3ad; }
.panel, .panel.blue, .story-block, .event-item, .admin {
  background-color: #21302f;
  background-image: radial-gradient(ellipse at 100% 0, #758c5630, transparent 75%), radial-gradient(#bed1ac08 .7px, transparent .8px);
  background-size: auto, 4px 4px;
  border: 1px solid #b6cba62e;
  border-radius: 15px;
}
.panel h3 { font-size: 30px; }
.panel p { color: #b3c2b7; }
.portal-connect {
  background-color: #1c2b2c;
  background-image: repeating-radial-gradient(ellipse at 15% 60%, transparent 0 47px, #accda508 48px 49px, transparent 50px 79px);
  border-top: 1px solid #95ae8626;
  border-bottom: 1px solid #95ae8626;
}
.portal-connect h2 { font-size: 41px; letter-spacing: -1.2px; }
.portal-connect p { color: #b1c5ba; }
footer { background: #0c171a; }
.footer-top p { color: #a7b7ad; }
.footer-bottom { border-color: #859a862b; }
.page-heading .eyebrow { color: #c4d99e; }
.page-heading h1 { font-size: clamp(35px,4vw,54px); letter-spacing: -1.5px; }
.search input, .tools select { border-radius: 9px; background: #22322f; border-color: #7288705c; }
.table-wrap { background: #1c2928; border-color: #60755a55; border-radius: 14px; }
th { background: #2b3b35; }
dialog { background: #20302f; border-color: #8da67e6b; border-radius: 17px; }
dialog h2 { font-size: 33px; }
.notice { background: #90ad6414; border-color: #9bad6f55; }
.beta-form input:not([type=checkbox]), .beta-form select, .admin input { background: #182927; border-color: #80967e7a; border-radius: 8px; }
@media(max-width:1150px) {
  .utility, header { margin-left: 5%; margin-right: 5%; }
  .portal-slide { min-height: 405px; }
  .portal-copy { padding-right: 25px; }
  .portal-copy h1 { font-size: 39px; }
}
@media(max-width:800px) {
  .utility { height: 43px; }
  header { margin: 0; height: 66px; border-radius: 0; border-left: 0; border-right: 0; }
  .original-logo { width: 116px; height: 63px; }
  header nav { top: 65px; }
  .portal-feature { margin: 0; padding: 14px 5% 22px; border-radius: 0 0 19px 19px; border-top: 0; }
  .portal-feature:before { top: 80px; left: -590px; }
  .portal-slide { grid-template-columns: 1fr; min-height: 0; }
  .portal-art { margin: 0; padding: 5px; transform: none; border-radius: 14px; }
  .portal-art img { height: auto; aspect-ratio: 1.7; max-height: none; border-radius: 9px; }
  .portal-copy { padding: 25px 0 26px; min-height: 0; }
  .feature-logo { width: 174px; height: 98px; margin: -8px 0 12px; }
  .portal-copy h1 { font-size: 40px; max-width: 560px; letter-spacing: -1.2px; }
  .portal-copy > p:not(.portal-tag) { font-size: 13px; max-width: 460px; }
  .feature-tabs { margin-top: 0; }
  .section { padding-top: 31px; padding-bottom: 31px; }
  .section-head h2 { font-size: 26px; gap: 10px; }
  .section-head h2:before { height: 21px; width: 3px; }
  .universe-card h3 { font-size: 21px; }
  .portal-promo h2 { font-size: 34px; }
  .portal-connect h2 { font-size: 34px; }
  .page-heading h1 { font-size: 39px; }
}
@media(max-width:480px) {
  .header-actions { gap: 0; }
  .original-logo { width: 106px; height: 59px; }
  .portal-art img { aspect-ratio: 1.42; object-position: 75%; }
  .portal-copy h1 { font-size: 37px; line-height: 1.08; }
  .portal-copy h1 em { display: block; }
  .portal-copy > p:not(.portal-tag) { line-height: 1.6; }
  .feature-logo { width: 158px; height: 89px; }
  .feature-tab { min-height: 83px; }
  .section-head h2 { font-size: 24px; }
  .section-head .text-link { font-size: 10px; }
  .universe-card { flex-basis: 82%; }
  .universe-card h3 { font-size: 24px; }
  .portal-promo h2 { font-size: 34px; }
  .portal-promo > div { padding: 30px 7%; }
  .portal-promo:after { background: #11261edb; }
  .dog-info h3 { font-size: 18px; }
  .dog-info { padding: 14px 12px; }
  .news-card h3 { font-size: 25px; }
  .panel h3 { font-size: 29px; }
  .page-heading h1 { font-size: 36px; }
  .page-heading h1 br { display: none; }
  .portal-connect h2 { font-size: 36px; }
}
/* Dog-related areas use paw and bone marks, walking areas use map routes. */
.portal-feature:before {
  width: 100%;
  height: 100%;
  inset: 0;
  border-radius: 0;
  transform: none;
  background: url('assets/pattern-paws.png') 0 0 / 540px repeat;
  opacity: .28;
}
.portal-connect { background-image: none; }
.walk-map, .portal-connect, .map-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.walk-map:before, .portal-connect:before, .map-surface:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('assets/pattern-map.png') center / 680px repeat;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: .26;
}
.home-ency {
  background-image: url('assets/pattern-paws.png');
  background-size: 740px;
  background-blend-mode: soft-light;
}
@media(max-width:800px) {
  .portal-feature:before { background-size: 430px; opacity: .2; }
  .walk-map:before, .portal-connect:before, .map-surface:before { background-size: 490px; opacity: .2; }
}
