:root {
  --olive: #9fac6d;
  --olive-dark: #3f5c44;
  --cream: #f0ddaf;
  --ink: #000000;
  --paper: #ffffff;
  --accent: #ffa52d;
  --logo-h: 106px;
  --drop-down-color: #ffffff;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 95%;
}

body {
  font-family: "Hanken Grotesk", sans-serif;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.theme-olive {
  background: var(--olive);
  color: var(--ink);
}

body.theme-cream {
  background: var(--cream);
}

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

a {
  color: inherit;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Header + burger (Portfoliobox hidden3) ===== */
.site-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px 2vw;
  position: relative;
  z-index: 5;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  height: var(--logo-h);
  width: auto;
  max-width: min(320px, 62vw);
  object-fit: contain;
}

.hamburger {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.hamburger span {
  display: block;
  width: 32px;
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease, width 0.2s ease;
  transform-origin: center;
}

.hamburger.open {
  z-index: 8;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(14.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-14.5px) rotate(-45deg);
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  flex-direction: column;
  z-index: 7;
  background-color: var(--drop-down-color);
  opacity: 0.91;
  align-items: center;
  justify-content: center;
}

.menu-overlay.open {
  display: flex;
}

.menu-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 2em;
  font-size: 1.71em;
  font-weight: 300;
  text-align: center;
}

.menu-overlay a {
  text-decoration: none;
  color: #111;
  padding: 0.15em 0.6em;
  transition: color 0.2s ease;
}

.menu-overlay a:hover,
.menu-overlay a.active {
  color: var(--olive);
}

body.menu-open {
  overflow: hidden;
}

/* ===== Sections ===== */
.section {
  padding: 7vh 7vw;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.section.tight {
  padding-top: 0;
  padding-bottom: 0;
}

.section.gallery-section {
  padding: 4vh 5%;
  min-height: 0;
  display: block;
  background: var(--cream);
}

.section.home {
  background: var(--olive);
  color: #000;
}

.section.cream {
  background: var(--cream);
}

.split {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
  gap: 4vw 5vw;
  align-items: center;
}

.split.image-left {
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
}

.split.image-right {
  grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.9fr);
}

.split.image-small {
  grid-template-columns: minmax(180px, 340px) 1fr;
}

.split.home-hero {
  grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1.15fr);
}

.visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual img,
.visual video {
  width: 100%;
  max-width: 520px;
  object-fit: contain;
  display: block;
}

.visual.mascot img,
.visual.mascot video {
  max-width: 560px;
}

.visual.mascot video {
  background: transparent;
}

.visual.peek img {
  max-width: 640px;
}

.visual.half img {
  max-width: 560px;
}

.visual.small img {
  max-width: 340px;
}

.copy {
  max-width: 1000px;
}

.copy.center {
  text-align: center;
  margin-inline: auto;
}

h1,
.Header,
h2.Header2 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.3em;
  text-transform: none;
  line-height: 1.05;
}

h1 {
  font-size: 2.8em;
}

h2.Header2 {
  font-size: 2.51em;
  margin-bottom: 0.1em;
}

.home-title {
  color: var(--cream);
  text-shadow: 0 0.05em 0.1em rgba(0, 0, 0, 0.2);
  text-align: center;
}

.longtext {
  font-family: "Oswald", sans-serif;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.7em;
  margin: 0 0 1.1em;
}

.home-text {
  color: #fff;
  text-align: center;
  font-size: 1.2em;
}

.home-text .lead {
  font-size: x-large;
  letter-spacing: 0.02em;
}

.home-text .spaced {
  letter-spacing: 0.06rem;
}

.contact-kicker {
  font-size: 0.96em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.7em;
  font-weight: 600;
}

.contact-copy {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1em;
  line-height: 1.7em;
  font-weight: 300;
  max-width: 470px;
}

.contact-copy a {
  color: #ffa52d;
  text-decoration: none;
}

.contact-copy a:hover {
  text-decoration: underline;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  color: #111;
  font-size: 1.21em;
  text-decoration: none;
  margin-top: 0.4em;
}

.mail-link:hover {
  color: var(--olive);
}

.btn {
  display: inline-block;
  background: var(--olive);
  color: #fff;
  border: 1px solid var(--olive);
  border-radius: 0.5em;
  font-size: 1.1em;
  text-decoration: none;
  letter-spacing: 0;
  padding: 0.45em 1.25em;
  align-self: center;
  margin-bottom: 0.7em;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  color: #fff;
}

/* ===== Gallery ===== */
.gallery-wrap h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.8em;
  font-weight: 400;
  margin: 0 0 0.7em;
  max-width: 800px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1em;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  background: #e6d29a;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.gallery-grid a:hover img {
  opacity: 0.82;
  transform: scale(1.03);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 20;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 2.2rem;
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 1;
}

/* ===== Footer ===== */
.site-footer {
  padding: 2vh 2vw;
  text-align: center;
  font-size: 0.9em;
}

body.theme-olive .site-footer {
  color: #1a1a1a;
}

/* ===== Motion ===== */
.fade-in {
  animation: fadeIn 0.85s ease both;
}

.slide-right {
  animation: slideRight 0.9s ease both;
}

.fade-up {
  animation: fadeUp 0.9s ease both;
}

.zoom-in {
  animation: zoomIn 0.8s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .hamburger {
    margin-right: 0;
    align-self: center;
  }

  .split,
  .split.image-left,
  .split.image-right,
  .split.image-small,
  .split.home-hero {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .split.image-left .visual,
  .split.image-small .visual {
    order: -1;
  }

  .visual img,
  .visual video,
  .visual.mascot img,
  .visual.mascot video,
  .visual.peek img,
  .visual.half img {
    max-width: 420px;
    margin-inline: auto;
  }

  h1 {
    font-size: 2.2em;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 220px;
  }

  .menu-overlay nav {
    font-size: 1.35em;
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 78px;
  }

  .section {
    padding: 5vh 6vw 6vh;
    min-height: auto;
  }

  .longtext,
  .home-text {
    font-size: 1.05em;
  }
}
