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

:root {
  --orange: #D94910;
  --beige: #ECE9E3;
  --gray: #AFA9A3;
  --white: #FFFFFE;
  --black: #0D0D0D;
  --gutter: clamp(20px, 4vw, 64px);
}

html { background: var(--white); }
body {
  font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Urbanist', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(28px, 4.2vw, 44px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 4px; }
h3 { font-size: clamp(20px, 2.6vw, 28px); }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
strong { font-weight: 600; }
.text-lg { font-size: 1.15em; }

/* ── Nav ── */
#site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  background: var(--white);
  position: relative;
  z-index: 100;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-menu { position: relative; text-align: right; }
.nav-toggle {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  padding: 2px 0;
  color: var(--black);
}
.nav-arrow { display: inline-block; transition: transform 0.2s; margin-left: 4px; }
.nav-toggle[aria-expanded="true"] .nav-arrow { transform: rotate(180deg); }
.nav-dropdown {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 16px;
  padding: 12px 0;
  min-width: 260px;
}
.nav-dropdown.open { display: flex; }
.nav-dropdown a {
  font-size: 15px;
  text-decoration: none;
  color: var(--black);
}
.nav-dropdown a:first-child { text-decoration: underline; }
.nav-dropdown a:hover { color: var(--orange); }

/* ── Sections ── */
.page-section { width: 100%; }
.section-inner { padding: 48px var(--gutter); }
.section-inner.single { padding: 0; }
.block-img { width: 100%; height: auto; display: block; }

/* info + hero (project page header pattern) */
.info-hero { display: flex; gap: 5vw; align-items: flex-start; }
.info-hero .info-col {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
}
.info-hero .hero-col { flex: 1; min-width: 0; }
.info-hero .hero-col img,
.info-hero .hero-col video { width: 100%; height: auto; display: block; }
.info-hero .hero-col .click-video { width: 100%; }
@media (max-width: 900px) {
  .info-hero { flex-direction: column; gap: 32px; }
  .info-hero .info-col { flex: none; width: 100%; padding-top: 0; }
}

/* freeform: rows bucketed by vertical overlap, flexed horizontally within a row */
.freeform-rows { display: flex; flex-direction: column; gap: 32px; padding: 48px var(--gutter); }
.fr-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.fr-item { flex: 0 1 auto; min-width: 180px; }
.fr-item img, .fr-item video { width: 100%; height: auto; display: block; }
.fr-item .click-video, .fr-item .bg-video { width: 100%; }

/* single hero image full width */
.single .gallery-grid, .single .carousel-wrap { padding: 0; }

/* ── Accordion ── */
.accordion { display: flex; flex-direction: column; }
.accordion-item {
  border-top: 1px solid currentColor;
  opacity: 0.85;
}
.accordion-item:last-child { border-bottom: 1px solid currentColor; }
.accordion-item summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--orange);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--black);
  margin-left: 12px;
}
.accordion-item[open] summary::after { content: '\\2212'; }
.accordion-body { padding: 0 0 18px; font-size: 14px; }

/* ── Gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
  padding: 24px var(--gutter);
}
.gallery-grid img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.single .gallery-grid { padding: 0; }

/* ── Carousel ── */
.carousel-wrap { position: relative; padding: 40px var(--gutter); }
.carousel-heading {
  text-align: center;
  color: var(--orange);
  margin-bottom: 28px;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 clamp(220px, 26vw, 320px);
  scroll-snap-align: start;
}
.carousel-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.carousel-title { margin-top: 10px; font-size: 13px; text-align: center; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-10px);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

/* ── Video ── */
.bg-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.click-video { position: relative; cursor: pointer; }
.click-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.click-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--black);
  font-size: 20px;
  cursor: pointer;
}

/* ── Footer ── */
#site-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 24px;
  padding: 40px var(--gutter) 60px;
  font-size: 13px;
  background: var(--white);
  color: var(--black);
}
#site-footer strong { display: block; margin-bottom: 4px; }
#site-footer a { text-decoration: underline; color: var(--orange); }
@media (max-width: 700px) {
  #site-footer { grid-template-columns: repeat(2, 1fr); }
}
