:root {
  --bg-ivory: #f8efe6;
  --brand-dark: #0f3f38;
  --muted: #9b8f86;
  --accent: #efe6db;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: #fff;
}

/* The centered page frame (rounded, shadowed) */
.frame {
  /* choose the desired visible size (keeps the page not-scrollable) */
  width: min(12000px, 95vw);
  min-height: (820px, 100vh);
  margin: auto;
  margin-top: calc(
    (100vh - min(820px, 95vh)) / 2
  ); /* vertically center on large screens */
  background: #b08d57;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(20, 20, 20, 0.12);
  display: flex;
  flex-direction: column;
}
.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 20px;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(15, 63, 56, 0.04);
}
.brand {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--brand-dark);
  letter-spacing: 1px;
  font-weight: 600;
}

.brand .muted {
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
  font-weight: 400;
}

/* =========================
 NAV
========================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: #6e645e;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  padding: 8px 6px;
}
.nav-link.active {
  color: #1e3b34;
  font-weight: 600;
}

/* =========================
   PHONE PILL
========================= */

.phone-pill {
  border-radius: 28px;
  padding: 10px 20px;
  border: 1px solid rgba(15, 63, 56, 0.15);
  background: #efe0c8;
  font-size: 13px;
  color: #1e3b34;
  cursor: pointer;
}
/* =========================
   ABOUT SECTION
========================= */
.about-section {
  padding: 40px 60px 90px;
  background: var(--bg-ivory);
  color: var(--brand-dark);
}

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

.about-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.about-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 10px;
}

.about-header p {
  color: var(--muted);
  font-size: 15px;
}

/* =========================
   REUSEBLE CARD
========================= */

.about-card {
  background: #fff;
  border-radius: 8px;
  padding: 50px;
  box-shadow: 0 20px 40px rgba(20, 20, 20, 0.08);
  margin-bottom: 90px;
}

/* =========================
   FOUNDER SECTION
========================= */
.founder {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.founder-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #5f4633;
  margin-bottom: 15px;
}

.founder-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 36px;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

/* =========================
   PROFILE
========================= */
.founder-profile {
  display: flex;
  gap: 30px;
  align-items: center;
}

.founder-profile img {
  width: 210px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.founder-profile blockquote {
  background: var(--accent);
  padding: 24px;
  font-style: italic;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #5e5e5e;
}

.founder-profile blockquote span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

/* =========================
   EXPERIENCE + MAP
========================= */
.experience {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

.experience-info h3 {
  font-family: "Playfair Display", serif;
  color: #5f4633;
  font-size: 26px;
  margin-bottom: 25px;
}

.experience-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-info li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.experience-info li strong {
  display: block;
  font-size: 14px;
}

.experience-info li span {
  font-size: 13px;
  color: var(--muted);
}
ul li img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: 12px;
}

/* =========================
  MAP
========================= */
.map-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #fff;
  color: var(--brand-dark);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* =========================
   FOOTER INFO
========================= */
.about-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-footer h4 {
  font-family: "Playfair Display", serif;
  color: #5f4633;
  font-size: 22px;
  margin-bottom: 10px;
}

.about-footer p {
  font-size: 14px;
  color: #5e5e5e;
  line-height: 1.6;
}

.contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.contact p img {
  display: inline-block; /* inline but size-controllable */
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle; /* aligns with text baseline */
  margin-right: 12px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--brand-dark);
}
@media (max-width: 768px) {
  .frame {
    overflow: visible;
  }
  .menu-toggle {
    display: block;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;

    width: 80%;
    max-width: 280px;
    height: 100vh;

    background: #fff;
    padding: 80px 20px;

    display: flex;
    flex-direction: column; /* 1×1 layout */
    gap: 20px;

    transform: translateX(-100%);
    transition: transform 0.3s ease;

    z-index: 1000;
  }

  .main-nav.open {
    transform: translateX(0);
  }
  .phone-pill {
    display: none;
  }
  .nav-link {
    font-size: 16px;
    padding: 12px 0;
    text-align: left;
  }
  html,
  body {
    height: auto;
    overflow-y: auto;
  }

  /* Frame becomes full-width */
  .frame {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  /* Header spacing */
  .site-header {
    padding: 16px 20px;
    height: auto;
  }

  .brand {
    font-size: 18px;
  }

  .brand .muted {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  /* ABOUT SECTION */
  .about-section {
    padding: 32px 20px 60px;
  }

  /* Header text */
  .about-header h2 {
    font-size: 30px;
  }

  .about-header p {
    font-size: 14px;
  }

  /* Cards */
  .about-card {
    padding: 28px 22px;
    margin-bottom: 50px;
  }

  /* FOUNDER SECTION → STACK */
  .founder {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  .founder-text h3 {
    font-size: 22px;
  }

  .founder-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .founder-profile img {
    width: 100%;
    height: auto;
    max-width: 320px;
  }
  .prev,
  .next {
    font-size: 28px;
  }

  .close {
    font-size: 30px;
    top: 50px;
    right: 30px;
  }

  /* EXPERIENCE SECTION → STACK */
  .experience {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .experience-info h3 {
    font-size: 22px;
  }

  .experience-info li {
    padding-bottom: 12px;
  }

  /* Make icons inline with text */
  .experience-info li img {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 6px;
  }

  /* MAP */
  .map-box {
    height: 260px;
  }

  .map-btn {
    font-size: 12px;
    padding: 8px 14px;
  }

  /* FOOTER INFO → STACK */
  .about-footer {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-footer h4 {
    font-size: 20px;
  }

  .about-footer p {
    font-size: 13px;
  }

  /* Contact icons smaller */
  .contact p img {
    width: 22px;
    height: 22px;
  }
}
