:root {
  --red: #294636;
  --text: #20342a;
  --muted: #45594d;
  --cream: #ece8db;
  --line: #dcd8ca;
  --paper: #f9f7ef;
  --heading: Georgia, "Times New Roman", serif;
}
body { background: var(--paper); font-family: "Segoe UI", system-ui, sans-serif; }
a { color: #304f39; }
a:hover { color: #583924; }
h1, h2, h3 { font-family: var(--heading); }
h1 { font-size: clamp(2.6rem, 5.8vw, 5rem); font-weight: 500; line-height: 1; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 500; }
.top { background: var(--paper); }
.top-inner { padding-block: 16px; }
.logo img { width: 140px; }
nav { gap: 6px 18px; }
nav a[aria-current="page"] { text-underline-offset: .45em; }
.menu > div { border-radius: 12px; }
.nav-toggle { display: none; }
.main { padding-block: clamp(2rem, 5vw, 4rem); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-label { font-size: .78rem; font-weight: 750; letter-spacing: .14em; color: #715037; }
.hero h1 { margin-block: .6rem 1.3rem; }
.hero-lead { max-width: 43ch; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); }
.hero .actions { margin-top: 1.5rem; }
.button { border: 1px solid var(--red); border-radius: 999px; padding: .65rem 1.15rem; font-weight: 650; }
.button:hover { background: #183327; }
.button.secondary { background: transparent; }
.button.secondary:hover { background: var(--cream); }
.banners figure { margin: 0; background: var(--cream); border-radius: 22px; overflow: hidden; }
.banners figure:not([hidden]) + figure:not([hidden]) { margin-top: .75rem; }
.banners img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slider-controls { margin-top: .75rem; font-variant-numeric: tabular-nums; }
.slider-controls button { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--text); }
.slider-controls button:hover { background: var(--cream); }
.breeds { margin-top: clamp(2rem, 5vw, 4rem); }
.breed-grid { gap: clamp(.7rem, 1.6vw, 1.2rem); }
.breed-grid article, .collab-grid figure, .breed-pictures figure, .service, .article-gallery .image-link {
  border-radius: 16px;
  background: #fffdf7;
}
.breed-grid article { padding: 0; overflow: hidden; text-align: left; }
.breed-grid img { aspect-ratio: 5 / 4; object-fit: cover; background: var(--cream); }
.breed-grid h2 { font-size: clamp(1.05rem, 2vw, 1.35rem); margin: 0; padding: .8rem .9rem 1rem; }
.breed-grid a:focus-visible { outline-offset: -4px; }
.breed-grid h2 a:focus-visible { outline-offset: 3px; }
.home-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2.5rem; }
.home-links a { display: flex; justify-content: space-between; gap: .6rem; padding: 1.1rem; background: var(--cream); border-radius: 12px; }
.prose, .service { font-size: 1.04rem; }
.bottom { background: #23392e; padding-block: 2rem; }
.footer-brand { font-family: var(--heading); font-size: 1.55rem; }
.footer-brand span, .footer-caption { color: #e4dbc8; }
.footer-caption { font-size: .85rem; }
.footer-links { margin-top: .75rem; }
@media(max-width: 950px) {
  .top-inner { justify-content: space-between; }
  .nav-toggle:not([hidden]) {
    display: inline-flex; gap: .6rem; align-items: center; min-height: 44px;
    padding-inline: .9rem; color: var(--text); background: transparent; border: 1px solid var(--line);
    border-radius: 999px; font: inherit; font-weight: 650; cursor: pointer;
  }
  nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  nav a, nav summary { padding-block: .65rem; }
  .nav-toggle[aria-expanded="false"] + nav.collapsible { display: none; }
  .menu > div { position: static; box-shadow: none; background: transparent; }
  .hero { grid-template-columns: 1fr; }
  .banners img { aspect-ratio: 16 / 10; }
}
@media(max-width: 550px) {
  .home-links { grid-template-columns: 1fr; }
}

:root {
  --red: #294637;
  --text: #20362b;
  --paper: #f7f3e8;
  --cream: #ebe4d4;
  --line: #d8cfba;
  --heading: "Baskerville", "Palatino Linotype", Georgia, serif;
}
.top { border-bottom-color: #d6ccb5; }
.top-inner { padding-block: 12px; }
.top nav a:hover, .top nav summary:hover { color: #8b4229; }
.panorama figure { margin: 0; }
.panorama img { width: 100%; height: auto; animation: banner-in .65s ease both; }
.panorama-copy { padding-bottom: clamp(2rem, 5vw, 4rem); }
.panorama-copy p { color: #715037; font-size: .77rem; font-weight: 750; letter-spacing: .15em; }
.panorama-copy h1 { margin: .7rem 0 1.6rem; }
.panorama-copy h1 em { color: #835036; font-weight: inherit; }
.panorama-copy .button span { margin-left: .35rem; }
@keyframes banner-in { from { opacity: .55; } to { opacity: 1; } }
.home-content { padding-block: clamp(.85rem, 2vw, 1.5rem) clamp(2.8rem, 6vw, 5rem); }
.home-intro { display: grid; grid-template-columns: minmax(0, 570px) minmax(0, 380px); justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; border-bottom: 1px solid var(--line); padding-bottom: clamp(2.4rem, 5vw, 4rem); }
.home-intro h2, .section-head h2 { margin: 0; }
.home-intro p { max-width: 54ch; font-size: 1.15rem; margin-block: 1.35rem; }
.home-intro a, .section-head > a { font-weight: 650; }
.home-intro h2, .breeds > h2, .section-head h2 { font-size: clamp(2.35rem, 4.9vw, 4rem); line-height: 1.05; letter-spacing: -.035em; }
.breed-grid h3 { font-size: clamp(1.12rem, 2vw, 1.45rem); font-weight: 500; margin: 0; padding: .85rem 1rem 1rem; }
.breed-grid a { text-decoration: none; }
.breed-grid a:hover { text-decoration: underline; }
.archive-feature { margin-top: clamp(3rem, 7vw, 6rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1rem; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.archive-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fffdf7; }
.archive-grid img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.archive-grid h3 { font-size: clamp(1.25rem, 2.7vw, 2rem); font-weight: 500; margin: 0; padding: 1rem; }
.archive-grid a { display: block; text-decoration: none; }
.archive-grid a:hover { text-decoration: underline; }
.archive-grid a:focus-visible { outline-offset: -4px; }
@media (max-width: 700px) {
  .home-intro { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 490px) {
  .archive-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .panorama img { animation: none; }
}



.breed-grid article { background: #fffaf0; }
.breed-portrait {
  display: block;
  padding: 10px 13px 6px;
  border-bottom: 1px solid #e4dac6;
}
.breed-portrait img {
  aspect-ratio: 1.18;
  object-fit: contain;
  background: transparent;
}
.breed-grid h3 { text-align: center; }

.future-photo { width: 100%; max-width: 380px; justify-self: center; }
.future-photo img { width: 100%; height: auto; border-radius: 18px; }

@media (min-width: 701px) {
  .home-intro { align-items: start; }
}



.panorama-lead { max-width: 998px; margin-inline: auto; padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.panorama-lead .panorama-copy { padding-bottom: 0; }
.panorama-logo { width: min(100%, 310px); height: auto; justify-self: center; }
@media (max-width: 700px) {

  .panorama-logo { width: min(55vw, 220px); }
}



.panorama-logo { display: flex; flex-direction: column; align-items: center; }
.panorama-logo img { width: min(72%, 210px); height: auto; }
.panorama-logo span {
  color: #294637;
  font-family: var(--heading);
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: .12em;
  padding-inline-start: .12em;
}

.panorama-logo {
  flex-direction: row;
  justify-content: center;
  gap: clamp(.4rem, 1.2vw, .8rem);
  container-type: inline-size;
}
.panorama-logo img { width: 30%; height: auto; flex: none; }
.panorama-logo span {
  color: #26352c;
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: clamp(1rem, 13cqi, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .035em;
  padding-inline-start: 0;
  white-space: nowrap;
}

.home-content > .panorama-logo {
  width: min(100%, 780px);
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}
.home-content > .panorama-logo img { width: 27%; }
.home-content > .panorama-logo span { font-size: clamp(1.5rem, 12.5cqi, 6.25rem); }



.home-content > .panorama-logo { margin-bottom: .75rem; }
.brand-description {
  max-width: 66ch;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  text-align: center;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.breed-pictures .breed-portrait { border-radius: 10px; }

.photo-viewer {
  position: fixed;
  border: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 48px);
}
.photo-viewer::backdrop { background: rgb(13 23 18 / .84); }
.photo-viewer img {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  object-fit: contain;
  border-radius: 12px;
}
.photo-viewer form { position: absolute; top: .6rem; right: .6rem; margin: 0; }
.photo-viewer button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #20362b;
  color: white;
  font: 1.6rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.breed-portrait, .photo-viewer[open] {
  background: radial-gradient(ellipse at 50% 37%, #fffdf7, #f0e7d5 92%);
}
.photo-viewer { border-radius: 12px; isolation: isolate; }
.breed-portrait img, .photo-viewer img {
  mix-blend-mode: multiply;
  filter: contrast(1.025) saturate(1.035) brightness(1.02);
}
.photo-viewer form { z-index: 1; }

.main:has(> .breed-pictures) > h1 { text-align: center; }
.breed-pictures { justify-content: center; }
.breed-pictures + .prose {
  margin-inline: auto;
  text-align: center;
}
.breed-pictures + .prose p { text-align: justify; }
.breed-pictures + .prose :is(ul, ol, table) { text-align: start; }


.breed-pictures + .prose :is(.breed-description-title, .breed-history-title, .breed-geography-title) {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  text-align: center;
}

.news-story > h1 { max-width: 24ch; margin-inline: auto; text-align: center; }
.news-story > .prose { margin-inline: auto; text-align: justify; }
.news-story .article-gallery { width: min(100%, 440px); margin-inline: auto; }

.services-page { padding: 0; }
.services-page section { padding-block: clamp(2.25rem, 6vw, 4.5rem); }
.services-page h1, .services-page h2 { text-align: center; margin: 0 auto 1.5rem; }
.services-page h1 { max-width: 21ch; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.services-page h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.services-page .image-link { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.services-page img { border-radius: 14px; }
.services-banner, .services-delivery { background: var(--cream); }
.services-farm {
  background: linear-gradient(rgb(247 243 232 / .76), rgb(247 243 232 / .87)), url("fotos/1281ed-fons.jpg") center / cover;
}
.services-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 4vw, 3rem); max-width: 960px; margin-inline: auto; }
.services-columns > div { padding: clamp(.8rem, 2vw, 1.4rem); border: 1px solid var(--line); border-radius: 18px; background: #fffaf0; }
.services-columns p { margin: 1rem 0 0; }
.services-delivery p { max-width: 60ch; text-align: center; margin: 0 auto 1.5rem; }
@media (max-width: 650px) {
  .services-columns { grid-template-columns: 1fr; }
}

.footer-with-socials { display: flex; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.footer-socials h2 { font-size: 1.25rem; margin: 0 0 .6rem; }
.footer-socials ul { display: flex; gap: .5rem 1rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-socials a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.footer-socials svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

.top-inner { column-gap: .75rem; }
.header-brand { display: flex; flex: 1 0 auto; align-items: center; gap: .75rem; }
.header-socials { display: flex; flex: 1; align-items: center; justify-content: center; }
.header-socials a { display: grid; place-items: center; width: 44px; height: 44px; }
.header-socials svg { width: 28px; height: 28px; fill: currentColor; }


@media (max-width: 950px) { .header-brand { flex: 1 1 auto; min-width: 0; } .header-brand .logo img { width: clamp(78px, 26vw, 140px); } .header-socials a { width: clamp(30px, 10vw, 44px); } .header-socials svg { width: 26px; height: 26px; } }

@media (min-width: 781px) {
  .top-inner { flex-wrap: nowrap; }
}

.top-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: .75rem; }
.header-brand { display: contents; }
.header-socials { justify-self: center; }
@media (max-width: 950px) {
  .top-inner > nav { grid-column: 1 / -1; }
  .top-inner { column-gap: .4rem; }
  .header-socials a { width: clamp(29px, 9vw, 44px); }
}


.collab-grid { max-width: 1000px; margin-inline: auto; }
.collab-grid figure { padding: 12px; display: grid; place-items: center; }
.collab-grid .image-link { display: block; width: 100%; }
.collab-grid img { width: 100%; aspect-ratio: 300 / 169; object-fit: contain; }
.main:has(> .collab-grid) > h1 { text-align: center; }

.photo-trigger { display: block; padding: 0; border: 0; background: none; max-width: 100%; }
.photo-trigger, main a[aria-haspopup="dialog"] { cursor: zoom-in; }
.panorama .photo-trigger, .archive-grid .photo-trigger, .panorama-logo .photo-trigger { width: 100%; }
.panorama-logo .photo-trigger { width: 27%; flex: none; }
.panorama-logo .photo-trigger img { width: 100%; }
.archive-grid article img { display: block; }

.collab-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.collab-entry {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  padding: clamp(.85rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.collab-entry h2 { margin: 0 0 .5rem; }
.collab-entry p { margin: 0 0 .55rem; }
@media (max-width: 600px) {
  .collab-entry { grid-template-columns: minmax(0, 1fr); }
  .collab-entry figure { width: min(100%, 230px); justify-self: center; }
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  max-width: 1000px;
  margin-inline: auto;
}
.news-story > h1:has(+ .bio-layout) { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.bio-layout .prose { text-align: justify; }
.bio-portrait img { width: 100%; height: auto; border-radius: 14px; }
@media (max-width: 760px) {
  .bio-layout { grid-template-columns: 1fr; }
  .bio-portrait { width: min(100%, 360px); justify-self: center; }
}


.contact-page { max-width: 900px; }
.contact-page > h1, .contact-intro { text-align: center; }
.contact-intro { max-width: 58ch; margin: 0 auto 2rem; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.contact-cards > section { padding: 1.25rem; background: #fffaf0; border: 1px solid var(--line); border-radius: 16px; }
.contact-cards h2 { margin-top: 0; }
.contact-cards address { font-style: normal; margin-bottom: .75rem; }
@media (max-width: 600px) {
  .contact-cards { grid-template-columns: 1fr; }
}
