@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #202326;
  --muted: #62676b;
  --paper: #f7f4ee;
  --surface: #fffdf8;
  --line: #ded6ca;
  --wine: #762432;
  --wine-dark: #521822;
  --gold: #ae8748;
  --sage: #75806a;
  --charcoal: #151719;
  --shadow: 0 20px 50px rgba(32, 35, 38, 0.08);
  --serif: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --sans: Inter, "Source Sans 3", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid rgba(222, 214, 202, 0.8);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 170px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--wine-dark);
}

.brand span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #393d40;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--wine);
  border-bottom-color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--wine);
  border-radius: 8px;
  background: var(--wine);
  color: white;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--wine);
}

.button.secondary:hover {
  background: rgba(118, 36, 50, 0.08);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
}

.hero .button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  color: white;
}

.hero.short {
  min-height: 430px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 23, 25, 0.93) 0%, rgba(21, 23, 25, 0.78) 42%, rgba(21, 23, 25, 0.2) 100%),
    url("assets/hero-transaction-room.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 96px;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.02;
}

h1 {
  max-width: 850px;
  font-size: clamp(46px, 7vw, 86px);
}

.hero.short h1 {
  font-size: clamp(42px, 6vw, 72px);
}

h2 {
  font-size: clamp(34px, 4.8vw, 58px);
}

h3 {
  font-size: 28px;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-strip {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: -44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 98px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}

.trust-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
}

.section.compact {
  padding: 64px 0;
}

.section.dark {
  background: var(--charcoal);
  color: white;
}

.section.white {
  background: var(--surface);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.56fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.dark .section-head p,
.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.panel,
.service-card,
.proof-card,
.timeline-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel,
.service-card,
.proof-card {
  padding: 28px;
}

.panel h3,
.service-card h3,
.proof-card h3 {
  margin-bottom: 14px;
  color: var(--wine-dark);
}

.panel p,
.service-card p,
.proof-card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  min-height: 230px;
}

.service-card .number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.dark .panel,
.dark .service-card,
.dark .proof-card,
.dark .timeline-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.dark .panel h3,
.dark .service-card h3,
.dark .proof-card h3 {
  color: white;
}

.dark .panel p,
.dark .service-card p,
.dark .proof-card p {
  color: rgba(255, 255, 255, 0.7);
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
  align-items: start;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.text-block p {
  margin: 0 0 18px;
  color: var(--muted);
}

.text-block p:last-child {
  margin-bottom: 0;
}

.metric-list {
  display: grid;
  gap: 12px;
}

.metric {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: #484d50;
  font-size: 13px;
  font-weight: 700;
}

.dark .pill {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.dark .feature-list li {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  padding: 24px;
}

.timeline-item .step {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.timeline-item h3 {
  margin-bottom: 8px;
  color: var(--wine-dark);
  font-size: 25px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: 56px;
  align-items: start;
}

.portrait {
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(118, 36, 50, 0.08), rgba(174, 135, 72, 0.12)),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  text-align: center;
}

.portrait-initials {
  width: 190px;
  height: 190px;
  border: 1px solid rgba(118, 36, 50, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 70px;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-simple {
  max-width: 780px;
}

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

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
}

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

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.checkbox input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.document {
  max-width: 820px;
  margin: 0 auto;
}

.document h2 {
  margin: 42px 0 14px;
  color: var(--wine-dark);
  font-size: 32px;
}

.document p {
  margin: 0 0 18px;
  color: var(--muted);
}

.cta-band {
  background: var(--wine-dark);
  color: white;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-inner p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer {
  background: var(--charcoal);
  color: white;
  padding: 48px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
}

.footer-inner p {
  max-width: 470px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: white;
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-actions .button {
    display: none;
  }

  .trust-strip,
  .grid.four,
  .grid.three,
  .grid.two,
  .section-head,
  .split,
  .founder-layout,
  .contact-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .hero-inner,
  .trust-strip,
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .hero.short {
    min-height: 0;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(21, 23, 25, 0.96) 0%, rgba(21, 23, 25, 0.82) 100%),
      url("assets/hero-transaction-room.png") center right / cover no-repeat;
  }

  .hero-inner {
    padding: 68px 0 74px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 35px;
  }

  .section {
    padding: 70px 0;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Custom 404 page */
.error-page .hero-inner {
  text-align: center;
}

.error-page .hero-inner h1,
.error-page .hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.error-page .hero-actions {
  justify-content: center;
}

.error-code {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--serif);
  font-size: clamp(88px, 17vw, 190px);
  font-weight: 700;
  line-height: 0.72;
}


/* Founder portrait photograph */
.founder-portrait {
  width: 100%;
  max-width: 460px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  justify-self: center;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.founder-portrait picture {
  display: block;
  width: 100%;
}

.founder-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 1600;
  object-fit: cover;
  object-position: center 18%;
}
