/* ==========================================================================
   Seido Studio — Shared Stylesheet
   Used by: index.html, seido-index.html, hired-gun.html,
            marketing-support.html, resume.html

   Fully standardised: every page uses one set of values for wrap,
   hero, headings, buttons, sections, cards/grids, contact and modal.
   No per-page overrides.
   ========================================================================== */

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0B0E2E;
  color: #E4E6F1;
  line-height: 1.6;
}

/* ---------- Layout wrapper ---------- */

.wrap,
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Links ---------- */

a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #22C55E;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* ---------- Typography ---------- */

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  max-width: 720px;
  margin-bottom: 30px;
}

h1 .accent {
  color: #22C55E;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.section-intro {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 15px;
}

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  background-color: #22C55E;
  color: #0B0E2E;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-trigger {
  background: none;
  border: none;
  padding: 0 0 2px;
  font: inherit;
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #22C55E;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-trigger:hover {
  opacity: 0.8;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0;
}

.hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---------- Sections ---------- */

section {
  padding: 64px 0;
  border-top: 1px solid rgba(228, 230, 241, 0.08);
}

/* Alternating tinted section backgrounds. Applied per-section via this
   class rather than by id, so each page controls its own alternation
   regardless of what ids or content it has. */
.section-tint {
  background-color: rgba(228, 230, 241, 0.04);
}

#logos h2,
#testimonials h2 {
  text-align: center;
}

/* ---------- Plain list (bullet) ---------- */

.plain-list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 1.02rem;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22C55E;
}

/* ---------- Grids ---------- */

.offer-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

/* ---------- Cards (shared box treatment) ---------- */

.offer-card,
.info-card,
.method-step {
  background-color: #0B0E2E;
  display: 1px solid rgba(228, 230, 241, 0.12);
  border: solid 1px #22C55E;
  border-radius: 10px;
  padding: 32px 28px;
}

.offer-card {
  display: flex;
  flex-direction: column;
}

.offer-card h3,
.info-card h3,
.method-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.offer-card p,
.info-card p,
.method-step p {
  font-size: 0.98rem;
  color: #E4E6F1;
  margin-bottom: 20px;
}

.offer-card p {
  flex-grow: 1;
}

.offer-card .btn-primary {
  align-self: flex-start;
  padding: 10px 22px;
  font-size: 0.9rem;
}

.method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #22C55E;
  color: #0B0E2E;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ---------- Logos ---------- */

.logo-placeholder {
  background-color: rgba(228, 230, 241, 0.06);
  border: 1px dashed rgba(228, 230, 241, 0.25);
  border-radius: 8px;
  padding: 22px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(228, 230, 241, 0.85);
}

.logo-item {
  background-color: #F5F5F5;
  border-radius: 8px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}

/* Logos designed as light-on-dark artwork: keep them on the page's own
   dark background instead of the light tile, or the wordmark disappears. */
.logo-item.on-dark {
  background-color: rgba(228, 230, 241, 0.06);
  border: 1px solid rgba(228, 230, 241, 0.12);
}

.logo-item img {
  height: 32px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.logo-note {
  font-size: 0.85rem;
  color: rgba(228, 230, 241, 0.55);
  margin-top: 16px;
}

/* ---------- Testimonials ---------- */

.testimonial-card {
  background-color: rgba(228, 230, 241, 0.04);
  border: solid 1px #22C55E;
  border-radius: 10px;
  padding: 26px 24px;
}

.testimonial-card p.quote {
  font-size: 0.98rem;
  font-style: italic;
  color: rgba(228, 230, 241, 0.75);
  margin-bottom: 14px;
}

.testimonial-card p.attribution {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(228, 230, 241, 0.55);
  margin-bottom: 0;
}

/* ---------- Why Me ---------- */

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

.why-me-text {
  flex: 1;
}

.headshot,
.headshot-placeholder {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 28px;
}

/* ---------- Contact ---------- */

.contact {
  text-align: center;
}

.contact h2 {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact p {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* ---------- Nav (seido-index only, no cross-page duplicate) ---------- */

header {
  padding: 24px 0;
  background-color: rgba(228, 230, 241, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-weight: 700;
  font-size: 1.6rem;
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  letter-spacing: 0.02em;
}

.nav-cta {
  background-color: #22C55E;
  color: #0B0E2E;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

/* ---------- Signature / letter page (index.html only) ---------- */

body.letter-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.signoff {
  margin-top: 32px;
  margin-bottom: 4px;
}

.signature {
  font-family: 'Meow Script', cursive;
  font-size: 1.9rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-top: 24px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.cta {
  font-size: 1.05rem;
  font-weight: 400;
}

/* ---------- Resume header / footer (resume.html only) ---------- */

.intro {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 16px;
}

.availability {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.download-block {
  text-align: center;
  padding: 48px 0 56px;
}

footer {
  padding: 32px 0 48px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(228, 230, 241, 0.65);
}

footer a {
  border-bottom: 1px solid rgba(228, 230, 241, 0.3);
}

/* ---------- Modal / contact form ---------- */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(11, 14, 46, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background-color: #141736;
  border: 1px solid rgba(228, 230, 241, 0.12);
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px 32px;
  position: relative;
}

.modal h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #E4E6F1;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

.modal-close:hover {
  opacity: 0.7;
}

.modal-subtext {
  font-size: 0.95rem;
  margin-bottom: 24px;
  color: rgba(228, 230, 241, 0.75);
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background-color: #0B0E2E;
  border: 1px solid rgba(228, 230, 241, 0.2);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23E4E6F1' d='M5 7l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-field select option {
  background-color: #0B0E2E;
  color: #FFFFFF;
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(228, 230, 241, 0.4);
}

.modal .btn-primary {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  margin-top: 8px;
}

.modal .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  display: none;
  font-size: 0.85rem;
  color: #F87171;
  margin-bottom: 12px;
}

.form-error.open {
  display: block;
}

.modal-thankyou {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.modal-thankyou.open {
  display: block;
}

.modal-thankyou h2 {
  margin-bottom: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
  .offer-grid,
  .card-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .why-me {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .wrap,
  .container {
    padding: 0 20px;
  }

  section {
    padding: 48px 0;
  }

  .hero {
    padding: 40px 0;
  }

  .logo {
    font-size: 1.3rem;
  }

  body.letter-page {
    padding: 24px 20px;
  }

  .headshot,
  .headshot-placeholder {
    width: 120px;
    height: 120px;
  }

  /* Keep the mobile logo strip short: only the most recognisable marks. */
  .logo-item.mobile-hide {
    display: none;
  }
}
