/* Matches the original Lovable design (Tailwind slate/blue palette, Inter + Montserrat). */
:root {
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cbd5e1;
  --slate-400: #94a3b8; --slate-500: #64748b; --slate-600: #475569; --slate-700: #334155;
  --slate-800: #1e293b; --slate-900: #0f172a;
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-400: #60a5fa; --blue-600: #2563eb;
  --blue-700: #1d4ed8; --blue-800: #1e40af;
  --green-50: #f0fdf4; --green-100: #dcfce7; --green-800: #166534;
  --purple-100: #f3e8ff; --purple-800: #6b21a8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: #fff; color: var(--slate-600);
  font: 16px/1.6 Inter, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-600); }
h1, h2, h3 { color: var(--slate-800); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: 1216px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 800px; }
.center { text-align: center; }

/* header */
header.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--slate-200); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 48px; height: 48px; }
.wordmark { font-family: Montserrat, Inter, sans-serif; font-weight: 700; font-size: 20px; color: var(--slate-900); letter-spacing: -.01em; white-space: nowrap; }
.wordmark span { color: var(--blue-600); }
nav.main { display: flex; gap: 32px; flex-wrap: wrap; }
nav.main a { color: var(--slate-600); text-decoration: none; font-weight: 500; font-size: 15px; }
nav.main a:hover { color: var(--blue-600); }
@media (max-width: 760px) {
  header.top .wrap { padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  nav.main { gap: 16px; width: 100%; }
  nav.main a { font-size: 14px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn svg { width: 20px; height: 20px; }
.btn.primary { background: var(--blue-600); color: #fff; }
.btn.primary:hover { background: var(--blue-700); }
.btn.outline { background: #fff; color: var(--slate-800); border-color: var(--slate-300); }
.btn.outline:hover { background: var(--slate-50); }

/* hero */
.hero { background: linear-gradient(to bottom right, var(--slate-50), var(--blue-50)); padding: 80px 0 96px; overflow-x: clip; }
.hero .wrap { display: grid; gap: 56px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .hero .wrap { grid-template-columns: 1fr 1fr; } }
.pill { display: inline-block; background: var(--blue-100); color: var(--blue-800); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--blue-600); }
.hero p { font-size: 1.2rem; color: var(--slate-600); max-width: 640px; }
.buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-art { position: relative; max-width: 448px; width: 100%; margin: 0 auto; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, var(--blue-600), var(--slate-800)); border-radius: 16px; transform: rotate(6deg) scale(1.05); }
.hero-art img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 448 / 384; object-fit: cover; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }

/* sections */
section.block { padding: 80px 0; }
section.alt { background: var(--slate-50); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 20px; }
.section-head p { font-size: 1.2rem; margin: 0; }

.card { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.cards3 { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.cards3 .card { padding: 32px; text-align: center; }
.cards3 .icon { width: 48px; height: 48px; color: var(--blue-600); margin: 0 auto 16px; display: block; }
.cards3 h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.cards3 p { margin: 0; }

.career { display: grid; gap: 32px; }
.career .card { padding: 32px; display: flex; gap: 16px; align-items: flex-start; }
.career .icon { width: 32px; height: 32px; color: var(--blue-600); flex: none; margin-top: 2px; }
.career h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.career .sub { color: var(--blue-600); font-weight: 500; margin-bottom: 12px; }
.career .stat { background: var(--green-50); color: var(--green-800); font-weight: 600; padding: 12px 16px; border-radius: 6px; margin: 16px 0 0; display: flex; gap: 8px; align-items: center; }
.career .stat svg { width: 16px; height: 16px; flex: none; }

.profile { max-width: 896px; margin: 0 auto; background: var(--slate-50); border-radius: 16px; padding: 32px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .profile { padding: 48px; grid-template-columns: 160px 1fr; } }
.profile img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin: 0 auto; display: block; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tags span { font-size: 14px; font-weight: 500; padding: 4px 12px; border-radius: 999px; }
.tags .t1 { background: var(--blue-100); color: var(--blue-800); }
.tags .t2 { background: var(--green-100); color: var(--green-800); }
.tags .t3 { background: var(--purple-100); color: var(--purple-800); }
.profile h3 { font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.profile .bio { font-size: 1.1rem; line-height: 1.7; }
.profile blockquote { margin: 0 0 16px; font-style: italic; color: var(--slate-500); font-size: 15px; }
.profile .facts { font-size: 15px; margin: 0; }
.profile .facts strong { color: var(--slate-700); }

.portfolio { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .portfolio { grid-template-columns: 1fr 1fr; } }
.portfolio h3 { font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.portfolio ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.portfolio li { position: relative; padding-left: 24px; }
.portfolio li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); }
.portfolio li strong { display: block; color: var(--slate-800); font-weight: 600; }

/* contact */
.contact { background: var(--slate-800); color: var(--slate-300); padding: 80px 0; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: var(--slate-300); }
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; text-align: center; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid .icon { width: 32px; height: 32px; color: var(--blue-400); margin: 0 auto 16px; display: block; }
.contact-grid h3 { color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.contact-grid p { margin: 0 0 6px; }
.contact-grid a.plain { color: var(--slate-300); }
.contact-grid .btn { margin-top: 12px; }

/* footer */
footer { background: var(--slate-900); color: var(--slate-400); padding: 48px 0; text-align: center; font-size: 15px; }
footer .flogo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
footer .flogo img { width: 56px; height: 56px; }
footer .wordmark { color: #fff; font-size: 24px; display: block; text-align: left; line-height: 1.1; }
footer .wordmark span { color: var(--blue-400); }
footer .tag { display: block; font-family: Montserrat, Inter, sans-serif; font-weight: 500; font-size: 11px; letter-spacing: .12em; color: var(--slate-300); text-align: left; margin-top: 2px; }
footer .tagline { margin: 24px 0; }
footer hr { border: 0; border-top: 1px solid var(--slate-700); margin: 0 0 24px; }
footer .links { display: flex; gap: 24px; justify-content: center; margin-bottom: 12px; font-size: 14px; }
footer .links a { color: var(--slate-300); text-decoration: none; }
footer .links a:hover { color: #fff; }
footer .copy { color: var(--slate-500); margin: 0; }

/* legal pages */
.legal { padding: 56px 0 80px; color: var(--slate-600); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .45em; }
.effective { color: var(--slate-500); margin-bottom: 1.5em; }
.consent-box { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: 18px 20px; margin: 16px 0; }

form.optin { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: 24px; margin: 20px 0 8px; max-width: 620px; }
form.optin label { display: block; font-weight: 600; color: var(--slate-800); margin-bottom: 14px; font-size: 15px; }
form.optin input[type=text], form.optin input[type=email], form.optin input[type=tel], form.optin textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; font-weight: 400;
  border: 1px solid var(--slate-300); border-radius: 6px; background: #fff; color: var(--slate-900);
}
form.optin label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--slate-600); font-size: 14px; line-height: 1.55; }
form.optin label.check input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.optional { font-weight: 400; color: var(--slate-500); }

/* paper consent form */
.paper { border: 1px solid var(--slate-300); border-radius: 8px; padding: 28px; margin: 20px 0; background: #fff; }
.paper p { margin-bottom: 1.2em; }
.paper .line { display: inline-block; min-width: 260px; width: 55%; border-bottom: 1px solid var(--slate-500); height: 1.1em; vertical-align: bottom; }
.paper .line.short { width: 40%; min-width: 180px; }
.paper .line.tiny { width: 20%; min-width: 100px; }
.paper .box { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 6px; padding: 14px 16px; }
.paper .tick { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--slate-700); vertical-align: -2px; margin-right: 6px; }
@media print {
  header.top, footer, .noprint { display: none !important; }
  .legal { padding: 0; }
  .paper { border: 0; padding: 0; }
}
.contact .tenants { max-width: 760px; margin: 48px auto 0; text-align: center; font-size: 15px; color: var(--slate-300); border-top: 1px solid var(--slate-700); padding-top: 28px; }
.contact .tenants a { color: var(--blue-400); }
footer .copy a { color: var(--slate-400); }
footer .copy + .copy { margin-top: 4px; }
