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

body {
  margin: 0;
  padding: 16px;
  font-weight: 400;
  background-color: #FCFCFE;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 759px) {
  body {
    padding: 10px;
  }
}

.site-root {
  font-family: 'OpeningHoursSans', sans-serif;
  color: #110E0E;
  background-color: #FCFCFE;
  min-height: 100vh;
}

/* --- VIDEO SYSTEM --- */

[data-src] {
  width: 100%;
  display: block;
}

[data-src] video {
  width: 100%;
  height: auto;
  display: block;
}

/* --- FONTS --- */

@font-face {
  font-family: 'OpeningHoursSans';
  src: url('fonts/OpeningHoursSans-Regular.woff2') format('woff2'),
       url('fonts/OpeningHoursSans-Regular.woff') format('woff'),
       url('fonts/OpeningHoursSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  font-stretch: normal;
}

* {
  font-weight: inherit;
}

/* --- LAYOUT --- */

.main-container {
  max-width: 1660px;
  margin: 0 auto;
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
  background-color: #FCFCFE;
}

.section-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-top: 1px solid #CCCCCC;
  margin-top: -1px;
}

.section-row:first-of-type {
  margin-top: 0;
}

@media (max-width: 1439px) and (min-width: 1240px) {
  .section-row {
    grid-template-columns: minmax(180px, 240px) 1fr;
  }
}

.section-row:last-child {
  border-bottom: 1px solid #CCCCCC;
}

.col-left {
  padding: 16px 20px;
  border-right: 1px solid #CCCCCC;
}

.col-right {
  padding: 16px 20px 52px 20px;
}

@media (max-width: 1269px) {
  .section-row .col-left {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

@media (max-width: 1239px) {
  .section-row {
    grid-template-columns: 1fr;
  }

  .col-left {
    border-right: none;
    border-bottom: 1px solid #CCCCCC;
    padding: 16px 20px;
  }

  .col-right {
    padding: 16px 20px 52px 20px;
  }
}

/* --- INTRO SECTION --- */

.intro-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-top: 1px solid #CCCCCC;
}

.intro-section .col-left {
  cursor: pointer;
  transition: background 0.2s;
}

.intro-section .col-left:hover {
  background: linear-gradient(181.53deg, #FFD900 74.54%, #A9FF28 99.8%);
}

@media (max-width: 1439px) and (min-width: 1240px) {
  .intro-section {
    grid-template-columns: minmax(180px, 240px) 1fr;
  }
}

@media (max-width: 1269px) and (min-width: 760px) {
  .intro-section {
    grid-template-columns: 240px 1fr;
  }
  .intro-section .col-left {
    border-right: 1px solid #CCCCCC;
    padding-bottom: 16px;
  }
  .intro-section + .section-row {
    margin-top: -1px;
  }
}

@media (max-width: 759px) {
  .intro-section {
    grid-template-columns: 1fr;
  }
  .intro-section .col-left {
    border-right: none;
    border-bottom: none;
  }
}

.intro-right {
  padding: 16px 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.intro-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 270px;
}

.intro-top a {
  text-decoration: none;
  color: #110E0E;
}

.intro-top a:hover {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}

.intro-text-wrapper {
  max-width: 680px;
}

.intro-home-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* --- HIDE/SHOW UTILITIES --- */

.hide-desktop {
  display: none;
}

@media (max-width: 759px) {
  .intro-top {
    justify-content: flex-start;
    margin-bottom: 32px;
  }

  .col-left,
  .col-right {
    padding: 16px 20px;
  }

  .hide-mobile {
    display: none !important;
  }

  .hide-desktop {
    display: inline-block !important;
    margin-top: 0 !important;
    margin-left: auto;
  }

  .intro-section .col-left > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
}

/* --- EMAIL / HOVER --- */

.hover-email {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.email-tooltip {
  display: none;
}

.hover-email-copy {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.hover-email-copy:hover .original-text {
  display: none;
}

.hover-email-copy:hover .email-display {
  display: inline;
}

.hover-email-copy:hover .copy-email-tooltip {
  display: block;
}

.email-display {
  display: none;
}

.copy-email-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #110E0E;
  color: white;
  padding: 4px 8px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 10;
  min-width: 70px;
  text-align: center;
}

/* --- GRIDS --- */

.image-full-width {
  display: grid;
  grid-template-columns: 1fr;
}

.image-full-width img {
  width: 100%;
  height: auto;
  display: block;
}

.image-grid-2x1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  align-items: start;
}

/* Same row height for both columns; explainer at bottom (media uncropped) */
.image-grid-2x1.image-grid-2x1--equal-height {
  align-items: stretch;
}

.image-grid-2x1.image-grid-2x1--equal-height > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.image-grid-2x1.image-grid-2x1--equal-height > div > .explainer-row {
  margin-top: auto;
  padding-top: 16px;
}

/* Two columns at full width; media keeps natural aspect ratio (no height crop) */
.image-grid-2x1.image-grid-2x1--equal-media {
  align-items: start;
}

.image-grid-2x1.image-grid-2x1--equal-media > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.image-grid-2x1.image-grid-2x1--equal-media > div > div:first-child {
  width: 100%;
}

.image-grid-2x1.image-grid-2x1--equal-media > div > div:first-child [data-src] {
  width: 100%;
  display: block;
}

.image-grid-2x1.image-grid-2x1--equal-media > div > div:first-child [data-src] video {
  width: 100%;
  height: auto;
  display: block;
}

.image-grid-2x1.image-grid-2x1--equal-media > div > div:first-child img {
  width: 100%;
  height: auto;
  display: block;
}

.image-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  align-items: start;
}

@media (max-width: 759px) {
  .image-grid-2x1,
  .image-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

/* --- EXPLAINER BLOCK --- */

.image-grid-2x1 > div > .explainer-row {
  margin-top: 16px;
}

.explainer {
  padding: 16px;
  color: #000;
  font-size: 13px;
}

.explainer-top {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: bold;
}

.explainer-top img {
  width: 24px;
  height: 24px;
}

.explainer-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 24px;
}

.explainer-text .title {
  font-weight: bold;
  font-size: 13px;
}

.explainer-text p {
  margin: 8px 0 0 0;
  font-size: 13px;
}

.explainer p {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.4;
}

@media (max-width: 569px) {
  .image-grid-2x1 {
    gap: 24px;
  }

  /* Keep tighter spacing for image-only stacks on small mobile */
  .image-grid-2x1:not(:has(.explainer-row)) {
    gap: 7px;
  }
}

@media (min-width: 570px) {
  .image-grid-2x1 .explainer-row {
    width: 60%;
  }
}

/* Full-span rows: 60% of grid was 2× half-column explainers; match one column */
@media (min-width: 760px) {
  .image-grid-2x1 > div[style*="grid-column:1/-1"] > .explainer-row {
    width: calc((100% - 7px) * 0.3);
  }
}

/* --- TYPOGRAPHY --- */

.text-42 {
  font-size: 42px;
  line-height: 1.2;
}

.text-32 {
  font-size: 32px;
  line-height: 1.3;
}

.text-18 {
  font-size: 16px;
  line-height: 1.4;
}

.text-16 {
  font-size: 14px;
  line-height: 1.5;
}

.section-copy {
  max-width: 670px;
  margin-top: 16px;
}

.section-title {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 32px 0;
  text-transform: none;
}

.section-description {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.section-description-large {
  font-size: 20px;
  line-height: 28px;
  margin: 0;
}


@media (max-width: 759px) {
  .text-42 {
    font-size: 28px;
  }
  .text-32 {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .hover-email-copy {
    font-size: 22px !important;
  }

  .pg-email span {
    font-size: 22px !important;
  }
}

@media (max-width: 540px) {
  .intro-main-text {
    font-size: 28px !important;
  }
}

/* --- MISC --- */

.time-colon {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.btn-learn-more {
  border: none;
  padding: 16px 20px;
  font-size: 12px;
  font-family: 'OpeningHoursSans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #E8E8EA;
  color: rgba(18, 14, 14, 1);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  display: inline-block;
  width: fit-content;
  margin-top: 16px;
}

.btn-learn-more:hover {
  background: #E8E8EA;
}

.links {
  color: #191818;
  font-weight: 400;
  text-decoration: underline;
}

.links:hover {
  text-decoration: none;
  text-underline-offset: 3px;
}

/* --- CONTACT SECTION --- */

.pg-contact-section {
  margin-top: 0;
  margin-left: -1px;
  margin-right: -1px;
}

.pg-contact-grid {
  border: 1px solid #CCCCCC;
  display: grid;
  grid-template-columns: 550px 1fr;
  min-height: 500px;
}

.pg-left {
  border-right: 1px solid #CCCCCC;
  display: flex;
  flex-direction: column;
}

.pg-title {
  padding: 16px 20px;
  border-bottom: 1px solid #CCCCCC;
  height: 90px;
  display: flex;
  align-items: center;
}

.pg-content {
  padding: 16px 20px;
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #CCCCCC;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: #110E0E;
}

.pg-content:hover {
  background: #FFD900;
}

.pg-content > div:first-child {
  width: 140px;
  height: 140px;
  flex: 0 0 140px;
}

.pg-content-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  font-family: 'OpeningHoursSans', sans-serif;
  color: rgba(18, 14, 14, 1);
}

.pg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-spacer {
  flex: 1;
}

.pg-right {
  display: flex;
  flex-direction: column;
}

.pg-email {
  padding: 16px 20px;
  border-bottom: 1px solid #CCCCCC;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.pg-email:hover {
  background: #FFD900;
}

.pg-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #CCCCCC;
}

.pg-link {
  padding: 12px 20px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.pg-link:first-child {
  border-right: 1px solid #CCCCCC;
}

.pg-link:hover {
  background: #FFDD00;
}

.pg-about {
  flex: 1;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.pg-about-link {
  cursor: pointer;
  color: #999;
  text-decoration: none;
  transition: opacity 0.3s;
}

.pg-about-link:hover {
  color: #110E0E;
}

.pg-about-link.hidden {
  opacity: 0;
  pointer-events: none;
}

.pg-about-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  max-width: calc(100% - 40px);
  padding: 16px;
  z-index: 10;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  font-size: 14px;
  font-family: 'OpeningHoursSans', sans-serif;
  color: rgba(18, 14, 14, 1);
}

.pg-about-text.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1439px) and (min-width: 1240px) {
  .pg-contact-grid {
    grid-template-columns: 450px 1fr;
  }
}

@media (max-width: 1239px) and (min-width: 760px) {
  .pg-contact-grid {
    grid-template-columns: minmax(300px, 450px) 1fr;
  }
  .pg-left {
    border-right: 1px solid #CCCCCC;
  }
  .pg-spacer {
    flex: 1;
  }
  .pg-content > div:first-child {
    width: 140px;
    height: 140px;
    min-width: 140px;
    max-width: 140px;
    flex: 0 0 140px;
  }
}

@media (max-width: 759px) {
  .pg-contact-section {
    margin-top: 0;
  }
  .pg-contact-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pg-left {
    display: none;
  }
  .pg-about {
    display: none;
  }
  .pg-links {
    border-bottom: none;
  }
  .pg-right {
    min-height: auto;
  }
}

/* --- PAGE VARIANTS --- */

.page-nothing .intro-section .col-left:hover {
  background: linear-gradient(181.53deg, #FFD900 90.69%, #A9FF28 99.8%);
}

.page-nothing .pg-email:hover {
  background: #ffd900;
}