/* Grapeline — copied from the Squarespace code blocks, minus the Squarespace overrides */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #F7F4EE; color: #000; }

/* ---------- Splash (home) ---------- */
.splash-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.splash-main {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  width: 100%;
}
.brand-icon-wrapper { display: flex; justify-content: center; align-items: center; margin-bottom: 2rem; width: 100%; }
.brand-icon { width: clamp(80px, 15vw, 180px); height: auto; display: block; image-rendering: pixelated; }
.brand-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  line-height: 1;
  text-transform: uppercase;
}
.subtitle {
  font-family: 'Cormorant', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.splash-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  font-family: 'Cormorant', serif;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-links { margin-bottom: 0.5rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; }
.footer-links a { color: #000; text-decoration: none; transition: opacity 0.3s ease; padding: 0.25rem 0.5rem; }
.footer-links a:hover { opacity: 0.6; }
.separator { opacity: 0.5; }
.company-info { opacity: 0.7; margin: 0; }

/* ---------- Legal pages ---------- */
.doc-container { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 3rem 1rem; }
.doc-content { max-width: 800px; margin: 0 auto; width: 100%; padding: 0 1rem; }
.doc-header { text-align: center; margin-bottom: 3rem; padding-top: 2rem; }
.doc-logo {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: #000;
  line-height: 1.2;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s ease;
}
.doc-logo:hover { opacity: 0.6; }
.doc-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 1rem;
}
.doc-body { font-family: 'Cormorant', serif; font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.8; }
.doc-intro { margin-bottom: 2.5rem; }
.doc-section { margin-bottom: 2.5rem; }
.doc-section-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.doc-section p { margin: 0 0 1rem; overflow-wrap: break-word; }
.doc-section p:last-child { margin-bottom: 0; }
.doc-section ul { margin: 0.5rem 0; padding-left: 1.5rem; }
.doc-section li { margin-bottom: 0.5rem; }
.doc-method { margin-bottom: 1.5rem; }
.doc-method-title { font-weight: 600; margin-bottom: 0.5rem !important; }
.doc-email { color: #000; text-decoration: underline; word-break: break-all; }
.doc-email:hover { opacity: 0.6; }
.doc-footer { text-align: center; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(0, 0, 0, 0.2); }
.doc-back-link { font-family: 'Cormorant', serif; font-size: 1rem; color: #000; text-decoration: none; display: inline-block; margin-bottom: 1rem; }
.doc-back-link:hover { opacity: 0.6; }
.doc-company { font-family: 'Cormorant', serif; font-size: 0.9rem; opacity: 0.7; }

/* ---------- Mobile menu ---------- */
.mobile-menu-button {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 10001;
  background: #000; color: #fff; border: none; width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); -webkit-tap-highlight-color: transparent;
}
.mobile-menu-button:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
.mobile-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.95);
  z-index: 10000; opacity: 0; visibility: hidden; transition: all 0.3s ease; overflow-y: auto;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-content { position: relative; width: 100%; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem 1rem; }
.mobile-menu-close {
  position: absolute; top: 1.5rem; right: 1.5rem; background: transparent; color: #fff; border: none;
  font-size: 2.5rem; cursor: pointer; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease; -webkit-tap-highlight-color: transparent;
}
.mobile-menu-close:hover { transform: rotate(90deg); }
.mobile-nav { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-nav a {
  font-family: 'Archivo Black', sans-serif; font-size: clamp(1.5rem, 5vw, 2.5rem); color: #fff;
  text-decoration: none; letter-spacing: 0.05em; transition: opacity 0.3s ease; padding: 0.5rem;
}
.mobile-nav a:hover { opacity: 0.6; }

@media (max-width: 768px) {
  .splash-main { padding-top: 4rem; }
  .footer-links { font-size: 0.75rem; flex-direction: column; }
  .separator { display: none; }
  .footer-links a { display: block; width: 100%; padding: 0.5rem; }
  .company-info { font-size: 0.75rem; }
  .doc-container { padding: 2rem 0.75rem; }
  .doc-content { padding: 0; }
  .doc-header { margin-bottom: 2rem; }
  .doc-section, .doc-intro { margin-bottom: 2rem; }
  .doc-section-title { line-height: 1.3; margin-bottom: 0.75rem; }
  .doc-body { line-height: 1.7; }
  .doc-section ul { padding-left: 1.2rem; }
}
@media (max-width: 375px) {
  .doc-container { padding: 1.5rem 0.5rem; }
  .doc-section-title { font-size: 1rem; }
  .doc-body { font-size: 0.95rem; }
  .doc-section ul { padding-left: 1rem; }
}
@media (min-width: 769px) { .mobile-menu-button { display: none; } }
