/* =========================
   FONTS
========================= */

/* @font-face {
  font-family: 'Kleukens-Egyptienne';
  src: url('../fonts/Kleukens-EgyptienneMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Kleukens-Egyptienne';
  src: url('../fonts/Kleukens-EgyptienneBookItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
} */

/* =========================
   RESET / BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-feature-settings: "liga" 1, "calt" 1;

  --padding: 1.5rem;

  --color-text: var(--color-oak);
  --background: var(--color-offwhite);

  --color-sunflower: #f3c36a;
  --color-oak: #212C02;
  --color-oak-05: rgba(33, 44, 2, 0.5);
  --color-sage: #3f7740;
  --color-sky: #D5F5FF;
  --color-offwhite: #FBF9EF;
  --color-offwhite-05: rgba(251, 249, 239, 0.5);

  --color-text-grey: rgba(76, 64, 44, 0.5);
  --color-light: rgba(76, 64, 44, 0.05);
  --color-black: #000;
  --color-white: #fff;

  --space-xxs: 0.225rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-base: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-xxl: 8rem;

  --page-gutters: 1rem;
  
  --type-xxs: 0.5rem;
  --type-xs: 0.75rem;
  --type-sm: 0.9rem;
  --type-base: 1rem;
  --type-md: 1.25rem;
  --type-lg: 2rem;

  --line-base: 125%;
  --line-mid: 110%;
  --line-tight: 100%;

  --radius-small: 0.225rem;

  --width-sm: 600px;
  --width-md: 1024px;
  --width-bg: 1920px;
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: 'Helvetica Neue', sans-serif;
      font-optical-sizing: auto;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
  }
}

html {
  font-size: 24px;
  color: var(--color-text);
  background: var(--background);
}

h1 {
  font-family: "Montagu Slab", serif;
  font-weight: normal;
  letter-spacing: 0;
}

@media (max-width: 767.98px) {
  html {
    font-size: 20px;
  }
}

body {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

h1 {
  font-size: var(--type-base);
  font-weight: 600;
  color: var(--color-sage);
  margin-bottom: var(--space-base);
}

h2 {
  font-size: var(--type-base);
  font-weight: 400;
  margin-bottom: var(--space-base);
}

p, figure {
  margin-bottom: var(--space-base);
}

li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-sage);
  transition: text-decoration 0.25s ease;
}

a:hover {
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}

strong,
b {
  font-weight: 600;
}

section {
  padding: 0 var(--space-base);
  margin-bottom: var(--space-base);

}

.section-hero {
  padding: 0;
  overflow: hidden;
  height: 100vh;
  height: 100svh;
  position: relative;
}

.section-hero img {
  width: 100%;
  height: auto;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
}

.section-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-title {
  position: absolute;
  bottom: var(--space-base);
  left: var(--space-base);
  right: var(--space-base);
  z-index: 1;
}

.hero-title h1, .hero-title p {
  color: var(--color-offwhite);
  font-size: var(--type-lg);
  font-weight: normal;
  margin-bottom: 0;
}

.section-text {
  max-width: 80ch;
}

.dog-section {
  margin-top: var(--space-md);
}

.section-content {
  margin-top: 7rem;
}

.content-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 991.98px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .content-layout__aside { display: none; }
}



/* =========================
   GRID
========================= */

.grid {
  display: block;
  columns: 4;
  column-gap: var(--space-base);
  list-style: none;
  padding: 0;
}

.grid .column {
  break-inside: avoid;
  margin-bottom: var(--space-base);
}

.grid .column img {
  display: block;
  width: 100%;
  height: auto;
}

.grid p {
  margin-bottom: 0;
}

.grid a {
  text-decoration: none;
}

@media (max-width: 1199.98px) {
  .grid {
    columns: 3;
  }
}

@media (max-width: 991.98px) {
  .grid {
    columns: 2;
  }
}

@media (max-width: 767.98px) {
  .grid {
    columns: 1;
  }
}

.column a figure img {
  margin-bottom: var(--space-sm);
}

/* =========================
   HEADER
========================= */

header {
  width: 100%;
  padding: var(--space-base) var(--space-base) 0 var(--space-base);
  color: var(--color-oak);
  display: flex;
  justify-content: space-between;
  position: fixed;
  align-items: flex-start;
  z-index: 900;
}

header.header--light {
  color: var(--color-offwhite);
}

.logo {
  position: relative;
  z-index: 9999;
  width: 5rem;
}

.logo__light { display: none; }
.logo__dark  { display: block; }

/* light logo on home page */
.header--light .logo__light { display: block; }
.header--light .logo__dark  { display: none; }

/* light logo + button when menu is open */
body.menu-is-open .logo__light { display: block; }
body.menu-is-open .logo__dark  { display: none; }
body.menu-is-open .menu-toggle { color: var(--color-offwhite); }

/* layer 1: background */
.menu-bg {
  position: fixed;
  inset: 0;
  background: var(--color-sage);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.menu-is-open .menu-bg {
  opacity: 1;
  pointer-events: all;
}

/* layer 3: nav links (above header) */
.menu-nav {
  position: fixed;
  top: var(--space-lg);
  left: var(--space-base);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: var(--line-base);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.menu-is-open .menu-nav {
  opacity: 1;
  pointer-events: all;
}

.menu-nav a {
  color: var(--color-offwhite);
  text-decoration: none;
  transition: opacity 0.15s;
}

.menu-nav a:hover,
.menu-nav a[aria-current="page"] {
  opacity: 0.5;
}

/* =========================
   FOOTER
========================= */

footer {
  display: flex;
  justify-content: space-between;
  gap: var(--space-base);
  padding: var(--space-sm) var(--space-base);
  background-color: var(--color-sage);
  color: var(--color-offwhite);
  justify-self: end;
}

footer p {
  margin-bottom: 0;
}

footer .column {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
}

footer .column:last-of-type {
  text-align: right;
}

/* =========================
   BREADCRUMBS
========================= */

.breadcrumbs {
  display: flex;
  flex-direction: row;
  gap: var(--space-sm);
  align-items: flex-start;
  color: var(--color-sage);
}

.breadcrumbs a {
  text-decoration: none;
}


.gallery {
  /* margin-top: var(--space-md); */
  margin-bottom: var(--space-md);
}

.gallery figcaption {
  max-width: 80ch;
  margin-bottom: var(--space-base);
}

.nav {
  z-index: 9999;
}

.grid li {
  margin-bottom: var(--space-base);
}

figure {
  break-inside: avoid;
}

figure figcaption {
  font-size: var(--type-xs);
  margin-top: var(--space-xs);
  color: var(--color-oak-05);
  width: 100%;
}

