/* ================================================
   INSINTO — Company Landing Page
   ================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-xl { padding: 20px 44px; font-size: 18px; }

.btn-primary { background: #1a1a1a; color: #fff; }
.btn-primary:hover { background: #333; }

.btn-ghost {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #ccc;
}
.btn-ghost:hover { background: #f5f5f5; border-color: #aaa; }

.btn-white { background: #fff; color: #1a1a1a; }
.btn-white:hover { background: #f0f0f0; }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.nav-links { display: flex; gap: 36px; }

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #666;
  transition: color 0.15s;
}
.nav-links a:hover { color: #1a1a1a; }

/* ---- Hero ---- */
.hero {
  padding: 180px 0 100px;
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-size: 20px;
  color: #555;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 14px; }

/* ---- Sections ---- */
.section { padding: 100px 0; }
.section-alt { background: #fafafa; }
.section-dark { background: #0a0a0a; color: #fff; }

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}

.label-muted { color: #555; }

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 48px;
}

/* ---- Big statement (thesis/mission) ---- */
.big-statement {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 860px;
}

.mission-detail {
  max-width: 640px;
}

.mission-detail p {
  font-size: 19px;
  color: #555;
  line-height: 1.75;
}

/* ---- Section actions ---- */
.section-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
}

/* ---- Pillars ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar-num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #bbb;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.pillar h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.pillar p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

/* ---- Freya section ---- */
.freya-block {
  text-align: center;
  margin-bottom: 64px;
}

.freya-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.freya-tagline {
  font-size: 19px;
  color: #999;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.freya-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #222;
  border-radius: 14px;
  overflow: hidden;
}

.freya-card {
  background: #111;
  padding: 40px 32px;
}

.freya-card h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.freya-card p {
  font-size: 15px;
  color: #888;
  line-height: 1.7;
}

/* ---- Values ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.value-card h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
}

/* ---- Company ---- */
.company-text-block {
  max-width: 680px;
}

.company-text-block p {
  font-size: 18px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 20px;
}

.company-text-block p:last-child { margin-bottom: 0; }

/* ---- CTA ---- */
.section-cta {
  padding: 120px 0;
  text-align: center;
}

.section-cta h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-cta > .container > p {
  font-size: 18px;
  color: #777;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ---- CTA extras ---- */
.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-email {
  font-size: 15px;
  color: #999;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-email:hover { color: #666; }

.btn-full { width: 100%; }

/* ---- Contact Panel ---- */
.panel-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.panel-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #fff;
  padding: 48px 36px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.panel-overlay.open .panel {
  transform: translateX(0);
}

.panel-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 4px;
}

.panel-close:hover { color: #333; }

.panel h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.panel-desc {
  font-size: 15px;
  color: #777;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  color: #1a1a1a;
  transition: border-color 0.15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1a1a1a;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
}

.form-note {
  font-size: 13px;
  color: #aaa;
  text-align: center;
  margin-top: 4px;
}

/* Success state */
.contact-success {
  text-align: center;
  padding: 60px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-success h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-success p {
  font-size: 15px;
  color: #777;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid #eee;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.footer-left p {
  font-size: 13px;
  color: #bbb;
  margin-top: 4px;
}

.footer-links { display: flex; gap: 28px; }

.footer-links a {
  font-size: 14px;
  color: #888;
  transition: color 0.15s;
}
.footer-links a:hover { color: #1a1a1a; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .pillars-grid,
  .freya-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .freya-grid { gap: 1px; }

  .hero-actions { flex-direction: column; }

  .nav-links { display: none; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  body { font-size: 16px; }

  .hero-sub { font-size: 18px; }

  .big-statement { font-size: 24px; }
}
