:root {
  --bg: #e5e3dd;
  --text: #303636;
  --muted: #6f6a60;
  --line: #d8d1c4;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 28px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Marcellus", serif;
}

a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}

a:hover {
  opacity: 0.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;

  padding: 20px 22px;

  background: rgba(229, 227, 221, 0.96);
  backdrop-filter: blur(8px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 0;
  text-decoration: none;
}

.menu-toggle {
  display: block;

  position: relative;
  z-index: 20;

  background: var(--bg);
  border: 1px solid var(--text);
  border-radius: 999px;

  padding: 8px 16px;

  font: inherit;
}

.nav {
  display: none;

  position: absolute;
  left: 0;
  right: 0;
  top: 67px;
  z-index: 15;

  flex-direction: column;
  align-items: flex-start;
  gap: 20px;

  padding: 22px;

  background: var(--bg);
  border-bottom: 1px solid var(--line);

  font-size: 18px;
}

.nav.open,
.nav.always-open {
  display: flex;
}

.nav.always-open {
  position: static;
  padding: 0;
  border: 0;
}

.nav a {
  border: 0;
  text-decoration: none;
}

/* =========================
   LANGUAGE
========================= */

.lang-switch{
  display:flex;
  gap:.6rem;
  margin-left:1rem;
}

.lang-switch a{
  opacity:.7;
  text-transform:uppercase;
}

.lang-switch a:hover{
  opacity:1;
}

.lang-switch .active{
  opacity:1;
  font-weight:600;
  cursor:default;
}

/* =========================
   HERO
========================= */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 24px 44px;
  text-align: left;
}

.hero h1 {
  margin: 0 0 36px;

  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 500;
  text-align: left;
}

.hero-layout {
  display: grid;
  gap: 42px;
}

.portrait {
  display: block;
  width: 100%;
}

blockquote {
  margin: 0;
}

blockquote {
  margin: 0;
}

/* =========================
   QUOTE
========================= */


blockquote p {
  margin: 0 0 22px;

  font-size: clamp(35px, 4vw, 35px);
  line-height: 1.12;
  font-weight: 500;
}

blockquote cite {
  font-size: 18px;
  font-style: normal;
  color: var(--muted);
}

/* =========================
   SECTIONS
========================= */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 24px;

  border-top: 1px solid var(--line);
}

.section.gallery {
  border-top: 0px solid var(--line);
}

.kicker {
  margin: 0 0 40px;

  font-family: "PT Serif", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
}

.section h2 {
  margin: 0 0 22px;

  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 500;
}

.services h2:not(:first-of-type) {
  margin-top: 70px;
}

.section-grid {
  display: grid;
  gap: 28px;
}

/* =========================
   BUTTONS
========================= */

.button {
  display: inline-block;

  margin: 12px 0;
  padding: 13px 24px;

  border: 1px solid var(--text);
  border-radius: 999px;

  font-size: 17px;
  text-decoration: none;
}

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

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 50px;

  border-top: 1px solid var(--line);
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.socials a {
  font-size: 15px;
  color: #b58d78;

  border: 0;

  text-decoration-thickness: 1px;
  text-underline-offset: 3px;

  transition: opacity 0.2s ease;
}

.socials a:hover {
  opacity: 0.7;
}

/* =========================
   DIRECTING PAGE
========================= */

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 24px 44px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(35px, 6vw, 68px);
  line-height: 1.02;
  font-weight: 500;
}

.section-main > p:first-child {
  margin-top: 0;
}

.film-gallery {
  display: grid;
  gap: 14px;
  margin: 0 0 42px;
}

.film-gallery img,
.film-still {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.film-meta {
  margin: 0 0 28px;
  font-family: "PT Serif", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
}

.film-text {
  margin-top: 0;
}

.film-still {
  margin-bottom:70px;
}

.work h2:not(:first-of-type) {
  margin-top: 70px;
}

.film-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}


/* =========================
   DESKTOP
========================= */

@media (min-width: 1000px) {

  .site-header {
    align-items: center;
    gap: 32px;
    padding: 28px 44px;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;

    position: static;
    z-index: auto;

    flex-direction: row;
    align-items: center;
    gap: 28px;

    padding: 0;

    background: transparent;
    border-bottom: 0;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: center;
    gap: 72px;
  }

  .portrait {
    width: 100%;
    max-width: 540px;

    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
  .hero {
    padding: 76px 44px 54px;
  }

  .section {
    padding: 70px 44px;
  }

  .section-grid {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }

  .section-side {
    position: sticky;
    top: 120px;
  }
  .kicker {
    margin-bottom: 40px;
    font-size: 18px;
  }

  blockquote cite {
    font-size: 18px;
  }

  .button {
    font-size: 18px;
  }

  .film-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

}