/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #14172b;
  --ink-soft: #4a5072;
  --muted: #9aa0bf;
  --line: #e6e2d8;
  --brand: #1e2a4a;          /* deep midnight navy */
  --brand-2: #4a5fa5;        /* mid blue */
  --accent: #e07a5f;         /* warm terracotta */
  --accent-2: #f2cc8f;       /* soft sand */
  --danger: #b91c1c;
  --ok: #15803d;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 6px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .18);
  --radius: 14px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-2); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--brand);
  color: #e8ecf5;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 24px;
  justify-content: center;
}
.topbar a { color: #e8ecf5; }
.topbar a:hover { color: var(--accent-2); }
.topbar .dot { opacity: .5; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
}
.brand-text small {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.brand-light, .brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #cbd5e1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Buttons ---------- */
.btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-2); color: #fff; box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-ghost {
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: #ede5d6; }

.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 90% -10%, rgba(224,122,95,.20), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(30,42,74,.12), transparent 60%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 24px 90px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: rgba(74,95,165,.10);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero-text h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-text .grad {
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--brand);
}
.hero-stats span { color: var(--ink-soft); font-size: 13.5px; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.hero-card-inner { display: grid; gap: 18px; }
.hc-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  background: #fdf2ea;
}
.hc-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--accent-2);
  border-radius: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.hc-row strong { display: block; font-size: 15px; }
.hc-row small { color: var(--ink-soft); font-size: 13px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: #f3ecdf; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-bottom: 12px;
}
.section-sub { color: var(--ink-soft); font-size: 16px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ---------- About ---------- */
.check-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--brand);
  color: var(--accent-2);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  top: 4px;
}

.about-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
}
.art-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.art-card strong {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--brand);
}
.art-card span { color: var(--ink-soft); font-size: 14px; }
.art-1 { background: linear-gradient(135deg, #fbe2d3, #fff); }
.art-2 { background: linear-gradient(135deg, #e3e8f5, #fff); }
.art-3 { background: linear-gradient(135deg, #fff, #f3ecdf); }
.art-4 { background: linear-gradient(135deg, #fff, #e3e8f5); }

/* ---------- Services grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(30,42,74,.25);
}
.svc-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--accent-2);
  font-size: 22px;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 6px; right: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 70px;
  color: var(--accent);
  opacity: .35;
  line-height: 1;
}
.testimonial blockquote {
  font-size: 15.5px;
  color: var(--ink);
  font-style: italic;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testimonial figcaption strong { display: block; font-size: 14.5px; }
.testimonial figcaption small { color: var(--ink-soft); font-size: 13px; }

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Contact ---------- */
.contact-info {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}
.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ci-icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(30,42,74,.08);
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}
.ci-row strong { display: block; font-size: 14px; color: var(--ink); }
.ci-row p { color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }
.ci-row a { color: var(--ink-soft); }
.ci-row a:hover { color: var(--brand); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.contact-form h3 { font-size: 22px; margin-bottom: 4px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.contact-form input,
.contact-form textarea,
.modal-form input,
.modal-form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.modal-form input:focus,
.modal-form textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(74,95,165,.18);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-note {
  font-size: 13px;
  margin-top: 4px;
  min-height: 18px;
}
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--danger); }

/* ---------- Footer ---------- */
.footer {
  background: #161c34;
  color: #cbd5e1;
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #fff;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: #cbd5e1; font-size: 14px; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-blurb { margin-top: 14px; font-size: 14px; max-width: 320px; }
.footer address { font-style: normal; font-size: 14px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: 13px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
  animation: fadeIn .18s ease;
}
.modal-dialog {
  position: relative;
  background: var(--surface);
  border-radius: 18px;
  width: 100%;
  max-width: 460px;
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-lg);
  animation: pop .22s cubic-bezier(.2,.9,.3,1.2);
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: none;
  background: #ede5d6;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.modal-close:hover { background: #dccfb3; }
.modal-dialog h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.modal-sub {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 20px;
}
.modal-form {
  display: grid;
  gap: 14px;
}
.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.modal-form label.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.modal-form label.check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.modal-form label.check span {
  flex: 1;
  min-width: 0;
  display: block;
}
.modal-form label.check a {
  color: var(--brand-2);
  font-weight: 600;
  white-space: nowrap;
}
.modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.link { color: var(--brand-2); font-weight: 500; }
.link:hover { color: var(--brand); }
.modal-footer-text {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
}
.modal-footer-text a { color: var(--brand-2); font-weight: 600; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

body.no-scroll { overflow: hidden; }

/* ---------- Legal pages ---------- */
.legal-hero {
  background:
    radial-gradient(700px 400px at 100% -10%, rgba(224,122,95,.20), transparent 60%),
    var(--bg);
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 10px;
}
.legal-hero p { color: var(--ink-soft); }

.legal-body {
  padding: 60px 0 90px;
}
.legal-body .container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.legal-toc h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.legal-toc ul { list-style: none; display: grid; gap: 6px; }
.legal-toc a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.legal-toc a:hover { background: #ede5d6; color: var(--ink); }

.legal-content article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}
.legal-content h2 {
  font-size: 24px;
  margin: 28px 0 10px;
  scroll-margin-top: 80px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 10px;
}
.legal-content ul { padding-left: 22px; }
.legal-content .updated {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 10px;
  background: #ede5d6;
  color: var(--ink-soft);
  font-size: 12px;
  border-radius: 999px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 70px; }
  .hero-card { transform: none; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-body .container { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 720px) {
  .topbar-inner { font-size: 12px; }
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px; right: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 8px; border-bottom: none; }
  .nav-links a.active { background: #ede5d6; border-radius: 8px; }
  .nav-cta { margin-left: 0; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav-cta .btn { flex: 1; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .section { padding: 70px 0; }
  .legal-content article { padding: 26px 22px; }
}
