@font-face {
  font-family: "Gracio";
  src: url("/fonts/gracio.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #334d42;
  --pink: #eb7b87;
  --ink: #1d2b25;
  --bg: #ffffff;
  --muted: #f4f1ee;
  --max: 1200px;
  --text: 1.3125rem; /* 21px, as on the original site */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--green);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: var(--text);
  line-height: 1.4;
}

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

a { color: var(--ink); text-underline-offset: 0.15em; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--green); color: #fff; padding: 0.5rem 1rem; border-radius: 4px;
  font-size: 1rem;
}
.skip-link:focus { top: 1rem; color: #fff; }

h1, h2 {
  font-family: "Gracio", "Montserrat", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.25rem;
}
.site-header .logo img { width: 150px; }
.home .site-header .wrap { justify-content: flex-end; padding-bottom: 0; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.site-nav a {
  font-size: 1rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--green); padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--pink); color: var(--green); }

.menu-toggle { display: none; }

@media (max-width: 640px) {
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: #fff; color: var(--ink); box-shadow: 0 1px 6px rgba(0,0,0,.25); cursor: pointer;
  }
  .js .site-nav ul {
    display: none; position: absolute; right: 1rem; top: 4.5rem; z-index: 5;
    flex-direction: column; gap: 0; background: #fff; border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,.18); padding: 0.5rem 0; min-width: 12rem;
  }
  .js .site-nav.open ul { display: flex; }
  .js .site-nav a { display: block; padding: 0.75rem 1.25rem; border: 0; }
  .site-nav ul { gap: 1rem; flex-wrap: wrap; }
  .site-header .logo img { width: 110px; }
  :root { --text: 1.125rem; }
}
.site-nav { position: relative; display: flex; align-items: center; }
.no-js .menu-toggle { display: none; }

/* Home hero */
.hero { text-align: center; padding-bottom: 2rem; }
.hero .hero-logo { width: min(460px, 75vw); margin: -1.5rem auto 2rem; }
.tagline {
  font-family: "Gracio", "Montserrat", sans-serif; text-transform: uppercase;
  font-size: clamp(2rem, 4.3vw, 3.675rem); line-height: 1.2; margin: 0;
}

/* Gallery */
.gallery { padding-block: 2rem 1rem; }
.gallery-grid {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
  max-width: 1150px;
}
.gallery-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--muted); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-nav { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.6rem; }
.gallery-nav button {
  width: 44px; height: 44px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--ink); color: #fff; display: grid; place-items: center;
}
.gallery-nav button .icon { width: 1.5rem; height: 1.5rem; }
.gallery-nav button:hover { background: var(--green); }
.gallery-nav button:disabled { opacity: .35; cursor: default; }
.gallery-nav[hidden] { display: none; }
.gallery-follow { text-align: center; font-size: 1rem; margin: 0.75rem 0 0; }

/* Body copy */
.prose { width: min(100% - 2rem, 1100px); margin-inline: auto; padding-block: 2rem; }
.prose p { margin: 0 0 1.25em; }
.home .prose { text-align: center; }
.lead { font-weight: 700; font-style: italic; }

.page-title { font-size: clamp(3rem, 9vw, 7.5rem); padding-top: 0.5rem; }

/* Contact */
.contact { text-align: center; padding-block: 2rem 4rem; }
.contact h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
.contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; justify-items: center; }
.contact a { display: inline-flex; align-items: center; gap: 0.4rem; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

.site-footer {
  border-top: 1px solid var(--muted); text-align: center; font-size: 0.875rem;
  padding: 1.5rem 1rem 2rem; color: var(--green);
}
.site-footer p { margin: 0; }

@media (max-width: 640px) {
  .gallery-grid { gap: 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
