/* FERLAND site styles */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@125,700;125,800&display=swap");

:root {
  --black: #000;
  --white: #fff;
  --field: #f0f1f5;
  --button: #253551;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* Display type (matches the wide bold headline look) */
.display, h1, h2, h3, .logo, .btn {
  font-family: var(--display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 40px 4vw;
}
.logo {
  grid-column: 2;
  font-size: 21px;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-inline {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  gap: 22px;
}
.nav-inline a {
  text-decoration: none;
  font-size: 14.7px;
}
.nav-inline a:hover, .nav-inline a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.burger {
  display: none;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: 34px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 0;
  width: 34px;
  height: 1px;
  background: var(--black);
  transition: transform .25s ease, top .25s ease;
}
.burger span:nth-child(1) { top: 8px; }
.burger span:nth-child(2) { top: 16px; }
.menu-open .burger span:nth-child(1) { top: 12px; transform: rotate(45deg); width: 26px; left: 4px; }
.menu-open .burger span:nth-child(2) { top: 12px; transform: rotate(-45deg); width: 26px; left: 4px; }

/* Full screen mobile menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-overlay a {
  font-size: 34px;
  text-decoration: none;
  font-family: var(--body);
}

@media (max-width: 767px) {
  .nav-inline { display: none; }
  .burger { display: block; }
  .site-header { padding: 34px 6vw; }
}

/* Main content */
main {
  padding: 40px 6vw 80px;
  max-width: 1500px;
  margin: 0 auto;
}
.center { text-align: center; }
.stack { display: flex; flex-direction: column; align-items: center; }

h1 { font-size: clamp(30px, 4vw, 52px); line-height: 1.1; margin: 0 0 18px; text-transform: uppercase; }
h2 { font-size: clamp(22px, 2.8vw, 38px); line-height: 1.15; margin: 0 0 18px; text-transform: uppercase; }
h3 { font-size: clamp(15px, 1.6vw, 22px); line-height: 1.25; margin: 0 0 14px; text-transform: uppercase; }

.feature-img { width: min(593px, 100%); margin: 0 auto; }
.wide-img { width: min(900px, 100%); margin: 0 auto; }

.btn {
  display: inline-block;
  font-size: 13px;
  text-decoration: none;
  text-transform: capitalize;
  cursor: pointer;
}
.btn-outline {
  border: 1px solid var(--black);
  padding: 4px 0;
  width: min(390px, 80%);
  text-align: center;
  font-family: var(--body);
  font-weight: 600;
  font-stretch: normal;
  font-variation-settings: normal;
  margin-top: 12px;
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-solid {
  background: var(--button);
  color: var(--white);
  border: 0;
  padding: 19px 29px;
}
.btn-solid:hover { opacity: .85; }

/* Art slideshow */
.slideshow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  user-select: none;
}
.slideshow .slide {
  max-height: 78vh;
  width: auto;
  max-width: calc(100% - 90px);
  object-fit: contain;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  padding: 20px 10px;
  cursor: pointer;
  font-size: 0;
}
.slide-btn svg { width: 14px; height: 26px; stroke: var(--black); stroke-width: 1.4; fill: none; }
.slide-btn.prev { left: 0; }
.slide-btn.next { right: 0; }
.slide-count { text-align: center; font-size: 12px; margin-top: 16px; color: #555; }

/* Duration gallery */
.video {
  position: relative;
  width: min(900px, 100%);
  margin: 0 auto 80px;
  aspect-ratio: 16 / 9;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 22px;
  width: min(1100px, 100%);
  margin: 0 auto;
}
.grid figure { margin: 0; }
.grid img { width: 100%; cursor: zoom-in; }
.grid figcaption { font-size: 13px; margin-top: 10px; }

.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  display: none; align-items: center; justify-content: center;
  padding: 4vw; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 100%; object-fit: contain; }

/* About */
.about-title { width: min(1100px, 100%); margin: 14px auto 0; text-align: left; }

/* Contact form */
form { width: min(720px, 100%); margin: 30px auto 0; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.legend, label { display: block; font-size: 12px; margin-bottom: 6px; }
label .req { color: #777; margin-left: 4px; }
input, textarea, select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  background: var(--field);
  border: 1px solid transparent;
  border-radius: 0;
  padding: 10px 20px;
  min-height: 44px;
  color: var(--black);
}
textarea { min-height: 100px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--black); }
.form-status { margin-top: 18px; font-size: 14px; }
.hidden { display: none; }

/* Footer */
.site-footer {
  text-align: center;
  font-size: 14px;
  padding: 30px 6vw 60px;
}
.site-footer p { margin: 0 0 14px; }
