/* ===== Plinth Financials — styles ===== */

:root {
  --ink: #122536;
  --ink-deep: #0c1a27;
  --stone: #f6f2ea;
  --stone-dark: #ece5d8;
  --white: #ffffff;
  --brass: #b08d57;
  --brass-dark: #96753f;
  --text: #2c3a46;
  --text-muted: #5f6f7d;
  --line: rgba(18, 37, 54, 0.12);
  --radius: 14px;
  --shadow: 0 18px 45px rgba(12, 26, 39, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9rem;
}

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-sub { margin-top: 1rem; color: var(--text-muted); font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--brass);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(176, 141, 87, 0.35);
}
.btn-primary:hover { background: var(--brass-dark); transform: translateY(-2px); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-block { width: 100%; border: none; font-family: var(--font-body); }

.text-link {
  display: inline-block;
  margin-top: auto;
  font-weight: 600;
  color: var(--brass-dark);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ===== Header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark { width: 30px; height: 30px; }
.brand-mark rect { fill: var(--ink); }
.brand-mark rect:first-child { fill: var(--brass); }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.brand-name em { font-style: normal; color: var(--brass); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--brass-dark); }

.nav-cta {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white) !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--ink-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(176, 141, 87, 0.14), transparent 60%),
    var(--stone);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.lede {
  margin-top: 1.3rem;
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.panel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.panel-row span { color: var(--text-muted); }
.panel-row strong { color: var(--ink); font-weight: 600; }

.panel-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 110px;
  margin-top: 1.4rem;
}
.panel-bars .bar {
  flex: 1;
  height: var(--h);
  background: var(--stone-dark);
  border-radius: 6px 6px 2px 2px;
}
.panel-bars .bar.accent { background: var(--brass); }

.panel-caption {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}
.trust-item span { font-size: 0.88rem; color: var(--text-muted); }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.service-photo {
  width: calc(100% + 2 * clamp(1.8rem, 3vw, 2.6rem));
  margin: calc(-1 * clamp(1.8rem, 3vw, 2.6rem)) calc(-1 * clamp(1.8rem, 3vw, 2.6rem)) 0.4rem;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--brass);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card > p { color: var(--text-muted); }

.service-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.2rem;
  margin: 0.4rem 0 1.2rem;
}
.service-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.93rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brass);
}

/* ===== Approach (dark) ===== */
.section-dark {
  background: var(--ink);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--brass); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brass);
  margin-bottom: 0.8rem;
}

.step p { color: rgba(246, 242, 234, 0.72); font-size: 0.95rem; margin-top: 0.5rem; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.about-copy p { margin-bottom: 1.1rem; color: var(--text-muted); }
.about-copy h2 { margin-bottom: 1.2rem; }
.about-copy .btn { margin-top: 0.6rem; }

.about-values {
  display: grid;
  gap: 1.2rem;
}

.about-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value {
  border-left: 3px solid var(--brass);
  background: var(--stone);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.5rem;
}
.value p { color: var(--text-muted); font-size: 0.93rem; margin-top: 0.3rem; }

/* ===== Contact ===== */
.section-contact { background: var(--stone); border-top: 1px solid var(--line); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-copy h2 { margin-bottom: 1.1rem; }
.contact-copy p { color: var(--text-muted); }

.contact-details {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.7rem;
}
.contact-details strong {
  display: inline-block;
  width: 4.5rem;
  color: var(--ink);
}
.contact-details li { display: flex; align-items: baseline; }
.contact-details strong { flex-shrink: 0; }
.contact-details a { color: var(--brass-dark); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.1rem;
}

.field { display: grid; gap: 0.35rem; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.15s ease;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
}

.honeypot-field { position: absolute; left: -9999px; opacity: 0; }

.form-status {
  font-size: 0.9rem;
  color: var(--brass-dark);
  min-height: 1.2em;
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink-deep);
  color: rgba(246, 242, 234, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-footer .brand-name { color: var(--white); }
.footer-tag { margin-top: 0.8rem; font-size: 0.9rem; }

.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-nav a {
  color: rgba(246, 242, 234, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--brass); }

.footer-bottom { padding-top: 1.4rem; font-size: 0.85rem; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid,
  .services-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero-panel { max-width: 460px; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 4%;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0; width: 100%; }
  .nav-cta { margin: 0.5rem 0 0.8rem; text-align: center; }

  .trust-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card ul { grid-template-columns: 1fr; }
}
