/* ============================================================
   Orchid City Software — ocsph.com
   Plain CSS, responsive, no frameworks
   ============================================================ */

:root {
  --purple-900: #1F1235;
  --purple-700: #4A1659;
  --purple-600: #6A1B7A;
  --purple-500: #8A2BBE;
  --purple-100: #F5EEF8;
  --purple-50:  #FBF7FD;
  --accent:     #C9356E;
  --gold:       #F2C94C;

  --ink:        #1A1226;
  --text:       #2A1F3A;
  --muted:      #6B6478;
  --faint:      #B7B0C2;
  --line:       #E5DCEC;

  --bg:         #FFFFFF;
  --surface:    #FAF7FC;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;

  --shadow-sm:  0 1px 2px rgba(31, 18, 53, 0.06);
  --shadow:     0 6px 18px rgba(31, 18, 53, 0.08);
  --shadow-lg:  0 18px 40px rgba(31, 18, 53, 0.10);

  --container:  1140px;

  --font-body:  'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono:  'JetBrains Mono', Menlo, Consolas, 'Courier New', monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--purple-600); text-decoration: none; }
a:hover { color: var(--purple-700); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--surface { background: var(--surface); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.075rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 12px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav__brand:hover { text-decoration: none; }
.nav__brand img { height: 40px; width: auto; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-text .top   { font-size: 0.95rem; color: var(--ink); }
.nav__brand-text .bot   { font-size: 0.95rem; color: var(--purple-600); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  display: inline-block;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 500;
  border-radius: 8px;
}
.nav__links a:hover { background: var(--purple-100); color: var(--purple-700); text-decoration: none; }
.nav__links a.is-active { color: var(--purple-700); background: var(--purple-100); }

.nav__cta {
  background: var(--purple-600);
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.nav__cta:hover { background: var(--purple-700) !important; }

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
  transition: transform .2s ease;
}
.nav__toggle span::before,
.nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top:  7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(1100px 500px at 90% -10%, var(--purple-100), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, var(--purple-50), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__title { margin-bottom: 18px; }
.hero__title .accent { color: var(--purple-600); }
.hero__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 520px;
}
.hero__meta .stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.hero__meta .stat strong { display: block; font-size: 1.35rem; color: var(--ink); }
.hero__meta .stat span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

.hero__art {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, color .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--purple-600); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--purple-700); color: #fff; }
.btn--ghost { background: #fff; color: var(--purple-700); border-color: var(--line); }
.btn--ghost:hover { background: var(--purple-50); border-color: var(--purple-100); }

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #DDC9EA; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple-100); color: var(--purple-700);
  margin-bottom: 14px;
}
.card__icon svg { width: 22px; height: 22px; }

/* ---------- Service list (homepage) ---------- */
.services-list { margin-top: 8px; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.member:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* Photo (image-based avatar) */
.member__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: var(--purple-50);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px rgba(31,18,53,0.08);
  position: relative;
  flex: 0 0 auto;
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.member__photo--owner { box-shadow: 0 0 0 2px var(--purple-600), 0 8px 24px rgba(106,27,122,0.25); }

/* Legacy initials avatar (kept for fallback) */
.avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.5px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.25);
}
.avatar--owner { background: linear-gradient(135deg, #6A1B7A, #C9356E); }

.member .name { font-weight: 700; color: var(--ink); margin: 4px 0 2px; font-size: 1.05rem; }
.member .role { color: var(--purple-700); font-size: 0.88rem; font-weight: 600; margin-bottom: 10px; }
.member .about {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 8px 0 0;
  text-align: center;
}
.member__divider {
  width: 40px;
  height: 2px;
  background: var(--purple-100);
  border-radius: 2px;
  margin: 4px auto 10px;
}
.badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--purple-100);
  color: var(--purple-700);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-bottom: 14px; }
.contact-card .row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.contact-card .row svg { flex: 0 0 auto; color: var(--purple-600); }
.contact-card .row div small { display: block; color: var(--muted); font-size: 0.8rem; }
.contact-card .row a { word-break: break-word; }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(138, 43, 190, 0.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.form__status { margin-top: 10px; font-size: 0.9rem; color: var(--purple-700); min-height: 1.2em; }

/* ---------- About highlights ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value h3 { color: var(--purple-700); }
.value p  { color: var(--muted); margin: 0; }

/* ---------- Quote / CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}
.cta-strip h2 { color: #fff; margin: 0; }
.cta-strip p  { color: rgba(255,255,255,0.85); margin: 6px 0 0; }
.cta-strip .btn--primary { background: #fff; color: var(--purple-700); }
.cta-strip .btn--primary:hover { background: var(--gold); color: var(--purple-900); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-900);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
  margin-top: 32px;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer__brand img { height: 44px; margin-bottom: 10px; filter: brightness(0) invert(1); }
.footer__brand p { color: rgba(255,255,255,0.65); margin: 8px 0 0; font-size: 0.92rem; }
.footer__col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 8px; font-size: 0.95rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__art { order: -1; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 640px) {
  .nav__links {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .grid--3, .grid--4, .grid--2, .team-grid { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
  .section { padding: 56px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
