/* ==========================================================================
   Shiloh Theme — Main Stylesheet
   Color scheme (swap these later when applying the real theme via Elementor)
   ========================================================================== */

:root {
  --color-dark: #0B003A;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-placeholder: #FF0000; /* temporary red placeholder for logo/images/backgrounds */
  --font-display: "Geomini", sans-serif;
  --font-body: "Geomini", sans-serif;
  --container-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-branding .site-logo,
.site-branding .site-title-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--color-black);
}

.site-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-placeholder);
  display: inline-block;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-navigation a {
  font-size: 15px;
  color: var(--color-black);
  opacity: 0.85;
}

.main-navigation a:hover {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header-cta:hover {
  opacity: 0.85;
}

/* ==========================================================================
   Universal pill button with circular arrow icon
   Used across hero, sections, cards, footer, contact form.
   ========================================================================== */

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.btn-arrow:hover {
  transform: translateY(-2px);
}

.btn-arrow .btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Dark pill (white text on dark bg, white circle w/ dark arrow) */
.btn-arrow-dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.btn-arrow-dark .btn-arrow-circle {
  background: var(--color-white);
  color: var(--color-dark);
}

/* Light pill (dark text, dark circle w/ white arrow) — used on dark section backgrounds */
.btn-arrow-light {
  background: var(--color-white);
  color: var(--color-black);
}
.btn-arrow-light .btn-arrow-circle {
  background: var(--color-dark);
  color: var(--color-white);
}

/* Outline pill (transparent bg, border, used in hero) */
.btn-arrow-outline {
  background: transparent;
  color: var(--color-black);
  border: 1px solid rgba(0,0,0,0.15);
  padding: 6px 6px 6px 22px;
}
.btn-arrow-outline .btn-arrow-circle {
  background: var(--color-black);
  color: var(--color-white);
}

/* Outline pill for dark backgrounds */
.btn-arrow-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 6px 6px 22px;
}
.btn-arrow-outline-light .btn-arrow-circle {
  background: var(--color-white);
  color: var(--color-dark);
}

.header-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}

.mobile-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-black);
  left: 0;
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 22px; }

/* ==========================================================================
   Hero Section — absolute-positioned layout matching reference
   ========================================================================== */

.hero {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
  min-height: 560px;
  padding: 40px 40px 0;
}

.hero-copy {
  position: absolute;
  top: 30px;
  left: 40px;
  max-width: 380px;
  z-index: 2;
}

.hero-copy h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 28px;
  font-weight: 500;
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  left: 42%;
  width: 27%;
  min-width: 260px;
  aspect-ratio: 3/4;
  background: var(--color-placeholder);
  border-radius: 4px;
  overflow: hidden;
  z-index: 1;
}

.hero-desc-wrap {
  position: absolute;
  top: 46%;
  right: 40px;
  width: 26%;
  min-width: 220px;
  text-align: right;
}

.hero-founder {
  position: absolute;
  bottom: 40px;
  left: 40px;
  max-width: 320px;
}

.hero-founder-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}

.hero-founder-title {
  font-size: 13px;
  opacity: 0.6;
  margin: 0;
}

.hero-desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0;
}

/* ==========================================================================
   About / Statement section — curved glow background
   ========================================================================== */

.statement-section {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.statement-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px;
  height: 1400px;
  background: radial-gradient(circle, rgba(11,0,58,0.28) 0%, rgba(11,0,58,0.05) 55%, rgba(11,0,58,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.statement-section p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.6;
  color: var(--color-black);
}

.statement-mark {
  position: absolute;
  left: 40px;
  bottom: 40px;
  width: 28px;
  height: 28px;
  background: var(--color-placeholder);
  z-index: 1;
}

/* ==========================================================================
   Mission Section — huge full-width heading, absolute positioned
   ========================================================================== */

.mission-section {
  position: relative;
  height: 320px;
  max-width: var(--container-width);
  margin: 0 auto;
  overflow: hidden;
}

.mission-heading {
  position: absolute;
  bottom: -20px;
  left: 40px;
  right: 40px;
  font-size: 15vw;
  line-height: 0.85;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0;
  white-space: nowrap;
}

.mission-quote {
  position: absolute;
  top: 20px;
  right: 40px;
  max-width: 340px;
  text-align: right;
  font-size: 16px;
  line-height: 1.5;
  font-style: italic;
  color: var(--color-black);
  z-index: 2;
}

/* ==========================================================================
   How We Work (dark section)
   ========================================================================== */

.how-we-work {
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 24px;
  max-width: var(--container-width);
  margin: 0 auto 80px;
  padding: 64px 56px;
}

.how-we-work-head h2 {
  font-size: 28px;
  margin: 0 0 16px;
  font-weight: 500;
}

.how-we-work-head p {
  max-width: 520px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.65;
  margin: 0 0 56px;
}

.how-we-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.how-we-work-item .step-number {
  font-size: 13px;
  opacity: 0.5;
  margin-bottom: 20px;
  display: block;
}

.how-we-work-item h3 {
  font-size: 17px;
  margin: 0 0 12px;
  font-weight: 600;
}

.how-we-work-item p {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.65;
  margin: 0;
}

.how-we-work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.how-we-work-footer p {
  font-size: 15px;
  margin: 0;
}

/* ==========================================================================
   What We're Looking For (gradient section, placeholder for future bg image)
   ========================================================================== */

.looking-for {
  position: relative;
  background: linear-gradient(180deg, var(--color-black) 0%, var(--color-dark) 40%, #6b5fd6 100%);
  color: var(--color-white);
  padding: 100px 40px;
  text-align: center;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Placeholder for a future background image — swap background-color for background-image */
.looking-for-bg-placeholder {
  position: absolute;
  inset: 0;
  background: var(--color-placeholder);
  opacity: 0.15;
  z-index: 0;
}

.looking-for > .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.looking-for h2 {
  font-size: 40px;
  margin: 0 0 20px;
  font-weight: 500;
}

.looking-for > .container > p {
  max-width: 620px;
  margin: 0 auto 60px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.75;
}

.criteria-table {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.criteria-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 16px;
}

.criteria-row span:first-child {
  opacity: 0.6;
}

/* ==========================================================================
   Feature cards (3-up, placeholders for future bg images)
   ========================================================================== */

.feature-cards {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.feature-card {
  position: relative;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Placeholder layer for a future card background image */
.feature-card-bg-placeholder {
  position: absolute;
  inset: 0;
  background: var(--color-placeholder);
  opacity: 0.1;
  z-index: 0;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 20px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.75;
  margin: 0;
}

.feature-card .card-mark {
  width: 28px;
  height: 28px;
  background: var(--color-placeholder);
  margin-top: 24px;
}

.feature-card .btn-arrow {
  margin-top: 24px;
  align-self: flex-start;
}

/* ==========================================================================
   Get in touch (contact page)
   ========================================================================== */

.contact-hero {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 100px 40px 60px;
}

.contact-hero h1 {
  font-size: 56px;
  font-weight: 500;
  margin: 0 0 24px;
}

.contact-hero > p {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.75;
  margin: 0 0 64px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}

.contact-info-block {
  margin-bottom: 40px;
}

.contact-info-block .label {
  font-size: 14px;
  opacity: 0.55;
  margin: 0 0 8px;
}

.contact-info-block .value {
  font-size: 18px;
  color: var(--color-dark);
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 24px;
  font-size: 15px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #F1F1F1;
  border: none;
  border-radius: 6px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 24px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form button.btn-pill {
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background: var(--color-white);
  padding: 80px 40px 40px;
  position: relative;
  overflow: hidden;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-label {
  font-size: 15px;
  opacity: 0.6;
  margin: 0 0 12px;
}

.footer-email {
  font-size: 44px;
  font-weight: 500;
  margin: 0 0 48px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 32px;
}

.footer-nav a {
  font-size: 15px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  background: var(--color-placeholder);
  margin-top: 60px;
}

.footer-bg-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(180deg, rgba(11,0,58,0) 0%, rgba(107,95,214,0.35) 100%);
  z-index: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero {
    min-height: 620px;
  }
  .hero-copy {
    max-width: 300px;
  }
  .hero-image-wrap {
    left: 38%;
    width: 32%;
  }
  .hero-desc-wrap {
    top: 40%;
    width: 30%;
  }
  .mission-heading {
    font-size: 17vw;
  }
  .how-we-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-cards {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .main-navigation {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .site-header {
    padding: 14px 20px;
  }
  .hero {
    position: static;
    min-height: 0;
    padding: 32px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .hero-copy,
  .hero-image-wrap,
  .hero-desc-wrap,
  .hero-founder {
    position: static;
    width: 100%;
    max-width: none;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .hero-image-wrap {
    aspect-ratio: 4/5;
  }
  .hero-desc-wrap {
    text-align: left;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .statement-section {
    height: auto;
    padding: 60px 20px 100px;
  }
  .statement-section p {
    font-size: 18px;
  }
  .statement-glow {
    width: 900px;
    height: 900px;
  }
  .mission-section {
    height: 160px;
  }
  .mission-heading {
    font-size: 22vw;
    bottom: 0;
    left: 20px;
    right: 20px;
  }
  .mission-quote {
    position: static;
    max-width: none;
    text-align: left;
    margin-bottom: 12px;
  }
  .how-we-work {
    padding: 40px 24px;
    border-radius: 16px;
  }
  .how-we-work-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .how-we-work-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .looking-for {
    padding: 60px 20px;
    min-height: 0;
  }
  .looking-for h2 {
    font-size: 28px;
  }
  .criteria-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .feature-cards {
    padding: 48px 20px;
  }
  .contact-hero {
    padding: 60px 20px 40px;
  }
  .contact-hero h1 {
    font-size: 36px;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding: 60px 20px 30px;
  }
  .footer-email {
    font-size: 26px;
  }
  .container {
    padding: 0 20px;
  }
}
