@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-vilt.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0049, U+004C, U+0054, U+0056;
}
@font-face {
  font-family: Geist;
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #131611;
  --panel: #1c2018;
  --ink: #f1f0e6;
  --muted: #c5c9b9;
  --accent: #e16a2e;
  --line: #e7ebcb31;
  --gutter: clamp(1rem, 4.1vw, 4.75rem);
  --header: 4rem;
  --measure: 87rem;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header) + .75rem); }
body { margin: 0; font: 400 1rem/1.55 Geist, system-ui, sans-serif; background: var(--bg); color: var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, figure, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 750; letter-spacing: -.075em; line-height: .97; }
h1 { font-size: clamp(3.75rem, 12.2vw, 10rem); }
h2 { font-size: clamp(2.7rem, 7vw, 5.75rem); }
h1 span { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--measure)); margin-inline: auto; }
.section { padding-block: clamp(3.1rem, 6.3vw, 7rem); }
.skip { position: fixed; inset: .6rem auto auto .6rem; z-index: 9; transform: translateY(-150%); padding: .65rem .85rem; background: var(--ink); color: var(--bg); }
.skip:focus { transform: none; }
main:focus { outline: none; }

.masthead { position: sticky; inset: 0 0 auto; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; min-height: 44px; align-items: center; font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 800; line-height: 1; letter-spacing: -.065em; text-decoration: none; }
.brand-accent { color: var(--accent); }
.masthead .brand-vilt { font-family: "Barlow Condensed", Geist, system-ui, sans-serif; font-weight: 900; letter-spacing: -.035em; margin-inline-end: .045em; }
.masthead .brand {
  position: relative; isolation: isolate; align-self: end; margin-left: -.65rem;
  padding: .4rem .8rem .55rem .65rem; font-size: clamp(1.55rem, 6.5vw, 1.78rem);
  transform: translateY(.75rem) rotate(-3deg); transform-origin: left center;
}
.masthead .brand::before {
  content: ""; position: absolute; z-index: -1; inset: -.4rem -.625rem -.375rem -.5rem;
  background: linear-gradient(120deg, #293023, #1b2118 75%);
  mask-image: linear-gradient(transparent, #000 58%);
  border-radius: .85rem;
  pointer-events: none;
}
.masthead .brand:hover .brand-accent { color: #f28e58; }
.masthead .header-cta { display: none; }
.desktop-nav { display: none; }
.mobile-menu summary {
  display: flex; align-items: center; gap: .55rem; min-height: 44px;
  list-style: none; padding: .35rem .55rem .35rem .7rem;
  border: 1px solid var(--line); border-radius: .25rem; cursor: pointer;
  font-size: .9rem; font-weight: 650;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-icon { display: inline-grid; width: 1rem; height: .8rem; align-content: center; gap: 3px; }
.menu-icon::before, .menu-icon::after { content: ""; height: 1px; width: 100%; background: currentColor; }
.mobile-menu[open] .menu-icon::before { transform: translateY(2px) rotate(45deg); }
.mobile-menu[open] .menu-icon::after { transform: translateY(-2px) rotate(-45deg); }
.mobile-menu nav {
  position: absolute; inset: 100% 0 auto; display: grid;
  padding: .55rem var(--gutter) 1rem; background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.mobile-menu nav a, .desktop-nav a, .footer nav a { text-decoration: none; }
.mobile-menu nav a { display: flex; align-items: center; min-height: 52px; font-size: 1.12rem; font-weight: 650; border-bottom: 1px solid var(--line); }
.mobile-menu nav a[aria-current], .desktop-nav a[aria-current], .footer nav a[aria-current] { color: var(--accent); }
.button, .icon-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 47px;
  padding: .55rem .95rem; border-radius: .25rem; border: 1px solid transparent;
  background: var(--accent); color: #1c2414; text-decoration: none; cursor: pointer;
  font-size: .91rem; font-weight: 700; line-height: 1.25;
}
.button:hover { background: #f28850; }
.button:disabled { cursor: wait; opacity: .65; }
.text-link, .back-link {
  display: inline-flex; align-items: center; min-height: 44px; width: fit-content;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; font-weight: 650;
}
.text-link:hover, .back-link:hover { color: var(--accent); }
.photo { overflow: hidden; background: var(--panel); }
.photo picture { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.home-hero { background: linear-gradient(150deg,#1e2419,var(--bg) 66%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; padding-block: clamp(2.4rem, 6vw, 5.5rem) clamp(1.35rem, 3vw, 3.25rem); gap: 1.55rem; }
.hero-copy { position: relative; z-index: 1; }
.hero-title {
  display: grid; justify-items: start; gap: .035em;
  font-size: clamp(2.65rem, 11.75vw, 4.5rem); font-weight: 800; text-transform: uppercase;
}
.hero-title .hero-title-line {
  padding: .045em .15em .08em;
  color: var(--ink); white-space: nowrap;
}
.hero-title .hero-title-line:last-child { margin-inline-start: .28em; color: var(--accent); }
.hero-copy p, .page-intro > p, .profile-copy > p {
  max-width: 30ch; margin-top: 1.15rem; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.3rem);
}
.actions { display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.hero-photo { min-width: 0; aspect-ratio: 4 / 4.65; }
.hero-photo img { filter: saturate(.94); }

.section-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .65rem 1.5rem; margin-bottom: 1.4rem; }
.section-bar .text-link { flex-shrink: 0; }
.dog-grid { display: grid; gap: clamp(1.85rem, 4.5vw, 4.5rem); }
.dog-card { min-width: 0; }
.dog-card > a { display: block; text-decoration: none; }
.dog-card-photo { aspect-ratio: 1.15; }
.dog-card-title { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding-top: .75rem; }
.dog-card h2, .dog-card h3 { font-size: clamp(2rem, 6vw, 4.1rem); }
.card-more { color: var(--accent); text-decoration: underline; text-underline-offset: .27em; font-size: .9rem; font-weight: 650; }
.dog-card p { color: var(--muted); max-width: 33ch; margin-top: .55rem; }
.dog-card > a:hover .card-more { color: var(--ink); }

.partner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem); min-height: 7rem; border: 1px solid var(--line); background: var(--panel);
}
.label { font-size: .875rem; color: var(--accent); font-weight: 650; margin-bottom: .25rem; }
.sponsor-link { flex: 0 0 auto; width: clamp(3.4rem, 8vw, 5rem); }
.sponsor-link img { width: 100%; height: auto; border-radius: .25rem; }
.prompt {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: clamp(2.75rem, 6vw, 5.4rem);
}
.prompt h2 { font-size: clamp(2.05rem, 5.8vw, 4rem); }
.page-intro { padding-block: clamp(2.8rem, 6vw, 6.5rem) clamp(1.5rem, 3vw, 3rem); }
.page-intro h1 { font-size: clamp(3.5rem, 10vw, 8.5rem); }
.roster { padding-bottom: clamp(1.5rem, 5vw, 5rem); }

.profile { padding-top: clamp(1.2rem, 4vw, 3.6rem); }
.profile-main { display: grid; gap: 1.35rem; }
.back-link { color: var(--muted); font-size: .9rem; margin-bottom: .4rem; }
.profile-copy h1 { font-size: clamp(4rem, 14vw, 11rem); }
.profile-prefix { display: block; margin-bottom: .2em; font-size: .44em; letter-spacing: -.055em; }
.profile-copy > .profile-registered { margin-top: .6rem; font-size: .95rem; }
.profile-copy > .profile-award { max-width: none; color: var(--accent); font-weight: 650; }
.trial-results { margin-top: 1rem; border-block: 1px solid var(--line); }
.trial-results summary { min-height: 44px; padding-block: .6rem; cursor: pointer; font-weight: 650; }
.trial-list { padding: 0; margin: 0; list-style: none; }
.trial-list li { display: grid; padding-block: .65rem; border-top: 1px solid var(--line); }
.trial-list span:first-child { color: var(--muted); font-size: .875rem; }
.trial-list .text-link { margin: 0; font-size: .875rem; }
.profile-photo { aspect-ratio: 4 / 3.8; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-block: 1px solid var(--line); margin-top: 1.35rem; padding-block: 1rem; }
.facts dt { font-size: .875rem; color: var(--muted); }
.facts dd { font-size: clamp(.95rem, 1.7vw, 1.2rem); font-weight: 650; }
.profile-story { display: grid; gap: 2rem; }
.profile-notes { display: grid; gap: 1.5rem; }
.profile-notes h2, .next-dogs h2 { font-size: clamp(1.65rem, 4vw, 2.6rem); letter-spacing: -.055em; }
.profile-notes p { margin-top: .55rem; color: var(--muted); max-width: 47ch; }
.profile-notes a { margin-top: .3rem; }
.next-dogs { border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1.5rem; }
.profile-documents { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.profile-documents h2 { font-size: clamp(1.65rem, 4vw, 2.6rem); letter-spacing: -.055em; }
.profile-documents ul { display: flex; flex-wrap: wrap; gap: 0 1.2rem; list-style: none; margin: .5rem 0 0; padding: 0; }
.next-dogs div { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; }

.work-cover { aspect-ratio: 1.1; }
.about-copy > p { max-width: 41ch; }
.about-copy .text-link { margin-top: .75rem; }
.work-gallery { padding-bottom: clamp(1.6rem, 5vw, 4rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(.65rem, 2vw, 1.5rem); }
.gallery-image { display: block; aspect-ratio: 4 / 5; cursor: zoom-in; }
.gallery-grid figcaption { margin-top: .45rem; color: var(--muted); font-size: .875rem; }
.work-gallery .gallery-grid > figure:first-child .gallery-image img { object-position: 50% 62%; }
.instagram { padding-bottom: 1.6rem; }
.instagram .section-bar { margin-bottom: .8rem; }
.instagram-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.instagram-controls button:disabled { opacity: .5; cursor: default; }
.instagram-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 20rem);
  gap: .85rem;
  margin: 0;
  padding: .25rem .25rem .7rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .25rem;
  scrollbar-width: thin;
}
.instagram-post { min-width: 0; scroll-snap-align: start; }
.instagram-cover {
  position: relative; isolation: isolate; display: grid; align-items: end;
  aspect-ratio: 4 / 4.65; border: 1px solid var(--line); border-radius: .3rem; color: var(--ink); text-decoration: none;
}
.instagram-cover img, .instagram-cover::after { position: absolute; inset: 0; }
.instagram-cover img { z-index: -2; }
.instagram-cover::after { content: ""; z-index: -1; background: linear-gradient(0deg, #0b0d09e8, #0b0d0940 27%, transparent 64%); }
.instagram-cover:focus-visible { outline-offset: -4px; }
.instagram-cover time { padding: .85rem .9rem; font-size: .875rem; font-weight: 650; }
.instagram-play {
  position: absolute; inset: 50% auto auto 50%; width: 3.15rem; height: 3.15rem;
  display: grid; place-items: center; transform: translate(-50%, -50%);
  border: 1px solid #f1f0e69c; border-radius: 50%; background: #131611c7;
}
.instagram-play::before { content: ""; width: 0; height: 0; margin-left: .2rem; border: .48rem solid transparent; border-right: 0; border-left: .72rem solid var(--ink); }
.instagram-cover:hover .instagram-play, .instagram-cover:focus-visible .instagram-play { background: var(--accent); }
.instagram-cover:hover .instagram-play::before, .instagram-cover:focus-visible .instagram-play::before { border-left-color: var(--bg); }
.reel-dialog { width: min(calc(100% - 1rem), 24rem); }
.reel-dialog .lightbox-top p { font-size: .9rem; font-weight: 650; }
.reel-player { container-type: inline-size; }
.reel-player iframe {
  display: block; width: 100%; height: 39rem; height: calc(125cqw + 14.5rem);
  border: 0; border-radius: .2rem; background: #fff;
}
@media (min-width: 721px) {
  .instagram-track { grid-auto-columns: min(45%, 25rem); }
  .instagram-cover { aspect-ratio: 1.13; }
}
.kennel-updates {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem;
  margin-bottom: clamp(2.75rem, 6vw, 5.4rem); padding-block: 1.25rem;
  border-block: 1px solid var(--line);
}
.kennel-updates h2 { font-size: clamp(1.45rem, 4vw, 2.4rem); letter-spacing: -.045em; }
.kennel-updates p { max-width: 52ch; margin-top: .45rem; color: var(--muted); }
.feed-story { display: grid; gap: 1rem; align-items: stretch; padding-bottom: clamp(1rem, 3vw, 3rem); }
.feed-story > figure { aspect-ratio: 1.48; }
.lightbox { width: min(calc(100% - 1.5rem), 60rem); max-width: none; max-height: calc(100dvh - 1.5rem); padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.lightbox::backdrop { background: #0a0c09eb; }
.lightbox-inner { display: grid; gap: .65rem; padding: min(3vw, 1rem); }
.lightbox-top, .lightbox-actions { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.lightbox-count, .lightbox figcaption { font-size: .9rem; color: var(--muted); }
.lightbox figure { display: grid; justify-items: center; gap: .4rem; }
.lightbox figure img { display: block; width: 100%; height: min(62dvh, 40rem); object-fit: contain; background: #0e110d; }
.icon-button { min-height: 44px; background: var(--panel); border-color: var(--line); color: var(--ink); }
.icon-button:hover { border-color: var(--accent); }

.contact-page { display: grid; gap: clamp(1rem, 4vw, 4rem); padding-bottom: clamp(3rem, 8vw, 8rem); }
.contact-page .page-intro { padding-bottom: 0; }
.contact-page form { display: grid; gap: .9rem; align-content: start; }
.form-field { display: grid; gap: .35rem; }
label { font-weight: 650; }
input, textarea { width: 100%; min-width: 0; min-height: 49px; padding: .55rem .7rem; border: 1px solid #e7ebcb79; border-radius: .25rem; background: var(--panel); color: var(--ink); }
textarea { resize: vertical; }
form .button { justify-self: start; }
#form-note, #form-status { color: var(--muted); font-size: .9rem; }
#form-status[data-error] { color: #ffc0b2; }
.honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding-block: 1rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.05rem; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .875rem; font-weight: 650; }
.footer nav a:hover { color: var(--accent); }

@media (width < 721px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) max-content minmax(max-content, 1fr); }
  .masthead .brand { grid-column: 2; margin-left: 0; inset-inline-start: -1.625rem; }
  .mobile-menu { grid-column: 3; justify-self: end; }
}
@media (min-width: 721px) {
  :root { --header: 5.25rem; --hero-title-size: clamp(3.55rem, 7.05vw, 7.3rem); }
  .masthead { background: linear-gradient(105deg, #20251b, var(--bg) 64%); }
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .masthead .brand {
    justify-self: start; margin-left: 0; padding-right: .95rem; font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    inset-inline-start: clamp(0px, calc(var(--hero-title-size) * 2.6 - 2.65em), calc(100% - 5.5em));
    transform: translateY(.95rem) rotate(-3deg);
  }
  .mobile-menu { display: none; }
  .desktop-nav {
    display: flex; align-items: center; justify-self: center; gap: .2rem;
    padding: .2rem; background: #1d2219; border: 1px solid var(--line); border-radius: .45rem;
  }
  .desktop-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding-inline: clamp(.65rem, 1.2vw, 1rem);
    border-radius: .28rem; font-size: .92rem; font-weight: 650;
  }
  .desktop-nav a:hover { background: #303629; color: var(--ink); }
  .desktop-nav a[aria-current] { background: #30251b; box-shadow: inset 0 -2px var(--accent); color: #f28e58; }
  .masthead .header-cta { display: inline-flex; justify-self: end; white-space: nowrap; }
  .hero-inner {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.35fr);
    min-height: min(49rem, calc(100svh - var(--header)));
    padding-block: clamp(1rem, 3svh, 2.25rem) clamp(1.35rem, 3svh, 2.75rem);
    align-items: center;
    gap: 0;
  }
  .hero-copy { margin-right: -2rem; }
  .hero-title { font-size: var(--hero-title-size); }
  .hero-photo { width: min(100%, clamp(22rem, 77svh, 42rem)); justify-self: center; }
  .hero-photo { aspect-ratio: 1 / 1.06; }
  .actions { margin-top: 1.65rem; }
  .dog-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: clamp(1.25rem, 3vw, 3rem); }
  .dog-card-photo { aspect-ratio: 1.42; }
  .profile-main { grid-template-columns: .85fr 1.35fr; align-items: center; gap: 1.8rem; }
  .profile-photo { aspect-ratio: 1.42; }
  .facts { grid-template-columns: repeat(4, 1fr); padding-block: 1.4rem; }
  .profile-story:has(.gallery) { grid-template-columns: 1fr 1.15fr; gap: clamp(1.75rem, 5vw, 5.4rem); }
  .profile-story:not(:has(.gallery)) .profile-notes { grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 5vw, 5.4rem); }
  .work-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.25rem, 5vw, 4rem); align-items: center; padding-top: 2rem; }
  .work-cover { aspect-ratio: 1.45; }
  .work-gallery .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feed-story { grid-template-columns: 1fr 1fr; }
  .feed-story > figure { aspect-ratio: 2.1; }
  .contact-page { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-page form { margin-top: clamp(3rem, 8vw, 7rem); }
}
@media (max-width: 360px) {
  .hero-copy p { margin-top: .8rem; }
  .actions { margin-top: .85rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .masthead { view-transition-name: site-header; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .24s; }
  .photo img { transition: transform .5s cubic-bezier(.2,.6,.3,1); }
  .home-hero .hero-photo { animation: hero-in .5s ease-out both; }
  @keyframes hero-in { from { opacity: .65; transform: translateY(.65rem); } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .dog-card a:hover .photo img, .gallery-image:hover img { transform: scale(1.035); }
}
