:root {
  --ink: #080808;
  --ink-2: #151515;
  --paper: #fbfaf6;
  --paper-2: #f0ece3;
  --gold: #b58b2a;
  --gold-2: #d9b45c;
  --muted: #6b675f;
  --line: rgba(181, 139, 42, 0.24);
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(8, 8, 8, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid rgba(217, 180, 92, 0.24);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.brand.small img {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a,
.header-action {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold-2);
}

.header-action {
  padding: 9px 17px;
  border: 1px solid rgba(217, 180, 92, 0.42);
  border-radius: 4px;
  color: var(--gold-2);
  font-weight: 700;
  font-size: 13px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  padding: 130px clamp(18px, 5vw, 72px) 80px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.72)),
    radial-gradient(circle at 78% 30%, rgba(181, 139, 42, 0.28), transparent 34%),
    var(--ink);
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
}

.hero-lead,
.section-intro p,
.dashboard-copy p,
.about-copy li,
.contact-info p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.75;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 34px;
}

.hero-actions,
.hero-metrics,
.progress-head,
.panel-top,
.panel-footer {
  display: flex;
  align-items: center;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.primary:hover {
  background: var(--gold-2);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.button.wide {
  width: 100%;
}

.hero-metrics {
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metrics strong {
  display: block;
  color: var(--gold-2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.hero-panel,
.calculator,
.quote-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(18px);
}

.panel-top,
.progress-head,
.panel-footer {
  justify-content: space-between;
  gap: 20px;
}

.panel-kicker,
.status-pill,
.client-strip span,
.panel-footer span,
.calc-result span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-top h2 {
  margin-top: 4px;
  font-size: 28px;
}

.status-pill {
  padding: 7px 12px;
  color: #7cf2b0;
  background: rgba(124, 242, 176, 0.1);
  border: 1px solid rgba(124, 242, 176, 0.28);
  border-radius: 999px;
}

.client-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(181, 139, 42, 0.12);
  border: 1px solid rgba(217, 180, 92, 0.18);
  border-radius: 6px;
}

.client-strip strong {
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.progress-card {
  margin: 26px 0 18px;
  padding: 22px;
  background: rgba(8, 8, 8, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.progress-head strong {
  color: var(--gold-2);
}

.progress-track {
  height: 8px;
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.progress-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  text-align: left;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  cursor: pointer;
}

.task.active {
  border-color: rgba(217, 180, 92, 0.5);
  background: rgba(181, 139, 42, 0.16);
}

.task span {
  color: var(--gold-2);
  font-weight: 800;
}

.task em {
  color: rgba(255, 255, 255, 0.5);
  font-style: normal;
  font-size: 12px;
}

.panel-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.panel-controls button {
  min-height: 40px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.panel-controls button:hover {
  color: var(--gold-2);
  border-color: rgba(217, 180, 92, 0.42);
}

section {
  padding: 96px clamp(18px, 5vw, 72px);
}

.services {
  background: var(--white);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-intro h2,
.dashboard-copy h2,
.about-copy h2,
.contact-info h2 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
}

.section-intro p,
.dashboard-copy p,
.about-copy li,
.contact-info p {
  color: var(--muted);
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card,
.process-grid article {
  min-height: 220px;
  padding: 30px;
  background: var(--white);
  transition: background 180ms ease, color 180ms ease;
}

.service-card:hover {
  color: var(--white);
  background: var(--ink);
}

.service-card h3,
.process-grid h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.service-card p,
.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.62);
}

.icon,
.process-grid span {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
}

.dashboard-section,
.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.dashboard-section {
  background: var(--paper-2);
}

.calculator,
.contact-form {
  padding: 28px;
  background: var(--white);
}

label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid rgba(8, 8, 8, 0.12);
  border-radius: 4px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(181, 139, 42, 0.3);
  border-color: var(--gold);
}

.calc-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.calc-result div {
  padding: 18px;
  background: var(--ink);
  border-radius: 6px;
}

.calc-result strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-2);
}

.about {
  color: var(--white);
  background: var(--ink);
}

.quote-card {
  padding: 42px;
  background: linear-gradient(145deg, rgba(181, 139, 42, 0.18), rgba(255, 255, 255, 0.04));
}

.quote-card p {
  margin: 0 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.quote-card span {
  color: var(--gold-2);
  font-weight: 800;
}

.about-copy h2,
.contact-info h2 {
  color: var(--white);
}

.about-copy ul {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.about-copy li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.about-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 9px;
  height: 9px;
  background: var(--gold-2);
  border-radius: 50%;
}

.process {
  background: var(--white);
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article:last-child {
  background: var(--ink);
  color: var(--white);
}

.process-grid article:last-child p {
  color: rgba(255, 255, 255, 0.66);
}

.testimonials {
  background: var(--paper-2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.testimonial-grid p {
  margin: 0;
  color: var(--ink);
  line-height: 1.75;
}

.testimonial-grid strong {
  margin-top: 24px;
  color: var(--gold);
}

.contact {
  color: var(--white);
  background: var(--ink-2);
}

.contact-form {
  box-shadow: none;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.48);
  background: #050505;
  border-top: 1px solid rgba(217, 180, 92, 0.18);
}

@media (max-width: 980px) {
  .hero,
  .dashboard-section,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
    min-height: 70px;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-panel,
  .calculator,
  .quote-card,
  .contact-form {
    padding: 20px;
  }

  .task {
    grid-template-columns: 34px 1fr;
  }

  .task em {
    grid-column: 2;
  }

  .service-grid,
  .process-grid,
  .testimonial-grid,
  .calc-result,
  .form-row {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
