@font-face {
  font-family: "Lexend";
  src: url("../fonts/Lexend-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --color-background: #ffffff;
  --color-text: #171717;
  --color-muted: #6a6a67;
  --font-sans: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-gutter: clamp(1rem, 3vw, 3rem);
  --gallery-gap: clamp(0.75rem, 1.2vw, 1rem);
  --content-max: 112.5rem;
  --focus-ring: 0 0 0 0.2rem #ffffff, 0 0 0 0.35rem #171717;
}

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

html { color-scheme: light; 
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-underline-offset: 0.22em; }
a[aria-disabled="true"] { color: var(--color-muted); cursor: default; text-decoration-style: dotted; }
button, a { font: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }
body.menu-open { overflow: hidden; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--color-text);
  color: var(--color-background);
  z-index: 1000;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: var(--color-background);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, calc(var(--content-max) + (2 * var(--page-gutter))));
  margin-inline: auto;
  padding: clamp(0.875rem, 1.8vw, 1.5rem) var(--page-gutter);
}

.brand { flex: 0 1 auto; width: clamp(10.5rem, 17.5vw, 15.25rem); }

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.2vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav a {
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
}

.desktop-nav a:hover, .desktop-nav a:focus-visible, .contact-links a:hover, .contact-links a:focus-visible {
  color: var(--color-text);
}

.menu-button { display: none; width: 2.75rem; height: 2.75rem; padding: 0.65rem; border: 0; background: transparent; color: var(--color-text); cursor: pointer; }
.menu-button__icon { display: grid; gap: 0.28rem; }
.menu-button__icon span { display: block; height: 1px; background: currentColor; }
.menu-overlay { position: fixed; inset: 0; z-index: 100; }
.menu-overlay[hidden] { display: none; }
.menu-overlay__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgb(0 0 0 / 35%); cursor: pointer; }
.menu-panel { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(88vw, 26rem); height: 100%; padding: 1rem clamp(1.25rem, 5vw, 2.5rem) 2.5rem; overflow-y: auto; background: var(--color-background); }
.menu-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; margin-block: auto; }
.menu-panel__close { align-self: flex-end; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: transparent; color: var(--color-text); font-size: 2rem; font-weight: 300; line-height: 1; cursor: pointer; }
.menu-panel a { display: block; padding: 0.35rem 0; font-size: clamp(1.5rem, 7vw, 2.25rem); text-decoration: none; }

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: clamp(4.5rem, 10vw, 9rem) var(--page-gutter);
    text-align: center;
}

.contact-links a {
    font-size: 0.9rem;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.social-icon {
    display: block;
    width: clamp(44px, 3.6vw, 56px);
    height: auto;
}

.gallery { width: min(100%, calc(var(--content-max) + (2 * var(--page-gutter)))); margin-inline: auto; padding: 0 var(--page-gutter); }
.gallery__grid { margin: 0; padding: 0; list-style: none; column-count: 1; column-gap: var(--gallery-gap); }
.gallery__grid > li { width: 100%; margin: 0 0 var(--gallery-gap); break-inside: avoid; page-break-inside: avoid; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; padding: clamp(4.5rem, 10vw, 9rem) var(--page-gutter); text-align: center; }
.contact-links a { font-size: 0.9rem; }
.text-page { width: min(100%, calc(46rem + (2 * var(--page-gutter)))); margin-inline: auto; padding: clamp(3rem, 7vw, 6rem) var(--page-gutter) clamp(5rem, 10vw, 9rem); }
.text-content h1 { margin: 0 0 clamp(2rem, 5vw, 3.5rem); font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.text-content h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 500; line-height: 1.25; }
.text-content h3 { margin: 2rem 0 0.75rem; font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
.text-content p, .text-content ul, .text-content ol { margin: 0 0 1.25rem; }
.text-content ul, .text-content ol { padding-left: 1.5rem; }
.text-content li + li { margin-top: 0.5rem; }
.editorial-page { width: min(100%, calc(72rem + (2 * var(--page-gutter)))); }
.editorial-text { width: min(100%, 46rem); margin-inline: auto; }
.editorial-media { width: 100%; margin: clamp(3rem, 7vw, 6rem) auto; }
.editorial-media img { width: 100%; height: auto; }
.editorial-media__placeholder { display: grid; min-height: clamp(16rem, 48vw, 38rem); place-items: center; padding: 2rem; background: #f1f1ef; color: var(--color-muted); text-align: center; }
.editorial-contact { padding-top: clamp(2.5rem, 6vw, 5rem); }
.editorial-contact__details { display: grid; gap: 1.5rem; }
.editorial-contact__details p { margin: 0; }
.editorial-contact__instagram { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.site-footer { display: flex; flex-direction: column; align-items: center; padding: 0 var(--page-gutter) clamp(2.5rem, 6vw, 5rem); color: var(--color-muted); text-align: center; }
.site-footer__logo { width: clamp(8rem, 14vw, 11rem); margin-bottom: 1.5rem; }
.site-footer p { margin: 0; font-size: 0.75rem; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.site-footer__nav a { font-size: 0.75rem; }

@media (min-width: 40rem) { .gallery__grid { column-count: 2; } }
@media (min-width: 64rem) { .gallery__grid { column-count: 3; } }
@media (min-width: 85.375rem) { .gallery__grid { column-count: 4; } }
@media (max-width: 56rem) { .desktop-nav { display: none; } .menu-button { display: block; } }
@media (min-width: 56.0625rem) { .menu-overlay { display: none; } }
@media (prefers-reduced-motion: no-preference) { .skip-link { transition: transform 150ms ease; } }

