/* ARC Funding Group - shared stylesheet */

:root {
  --black: #12100f;
  --near-black: #1a1817;
  --red: #c8202f;
  --red-dark: #9c1723;
  --white: #ffffff;
  --off-white: #f7f6f5;
  --gray-100: #eeecea;
  --gray-300: #cfccc9;
  --gray-600: #6b6663;
  --gray-800: #322f2d;
  --radius: 10px;
  --max-width: 1180px;
  --shadow: 0 10px 30px rgba(18, 16, 15, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--near-black);
  background: var(--white);
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 8px;
}

.main-nav a {
  color: var(--gray-300);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--black);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a {
    padding: 14px 12px;
    border-radius: 8px;
  }
  .menu-toggle {
    display: block;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18, 16, 15, 0.94) 0%, rgba(18, 16, 15, 0.86) 45%, rgba(18, 16, 15, 0.7) 100%);
}

/* Subtle full-bleed texture band, used behind the About page timeline -
   a quieter home for the blueprint image than a text-bearing hero. */
.texture-band {
  position: relative;
  background-image: url("images/hero-home.jpg");
  background-size: cover;
  background-position: center;
}

.texture-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 246, 245, 0.94);
}

.texture-band > .wrap {
  position: relative;
  z-index: 2;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(200, 32, 47, 0.14);
  border: 1px solid rgba(200, 32, 47, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 780px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 620px;
  margin: 0 0 34px;
}

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

.small-hero {
  padding: 84px 0 64px;
}

.small-hero h1 {
  max-width: 100%;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
  border-color: var(--near-black);
  color: var(--near-black);
}

.btn-outline-dark:hover {
  background: var(--near-black);
  color: var(--white);
}

/* ---------- Stats strip ---------- */

.stats {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 24px;
  text-align: center;
}

.stats .stat b {
  display: block;
  font-size: 1.9rem;
  color: var(--black);
}

.stats .stat span {
  font-size: 0.88rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .stats .wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- Sections ---------- */

section {
  padding: 84px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head .eyebrow {
  color: var(--red-dark);
  background: rgba(200, 32, 47, 0.08);
  border-color: rgba(200, 32, 47, 0.25);
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 12px;
}

.section-head p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin: 0;
}

.alt-bg {
  background: var(--off-white);
}

/* ---------- Service cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(200, 32, 47, 0.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card .icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ---------- Property type tags ---------- */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--near-black);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 20px 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, transform 0.12s ease;
}

.tag:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.tag svg {
  width: 17px;
  height: 17px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  transition: stroke 0.15s ease;
}

.tag:hover svg {
  stroke: var(--white);
}

/* ---------- Transactions ---------- */

.deal-category {
  margin-bottom: 52px;
}

.deal-category h3 {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
  padding-bottom: 6px;
  margin: 0 0 20px;
}

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

@media (max-width: 700px) {
  .deal-list {
    grid-template-columns: 1fr;
  }
}

.deal {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.deal .deal-photo {
  height: 160px;
  width: 100%;
  object-fit: cover;
  background: var(--gray-100);
}

.deal .deal-body {
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  flex: 1;
}

.deal.no-photo .deal-body {
  border-left: 4px solid var(--red);
}

.deal-photo-placeholder {
  height: 160px;
  width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 14px),
    linear-gradient(135deg, var(--near-black), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
}

.deal-photo-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.deal .amount {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: 4px;
}

.deal .detail {
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* ---------- About / values ---------- */

.timeline {
  border-left: 3px solid var(--red);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline .item .year {
  font-weight: 800;
  color: var(--red-dark);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.timeline .item h4 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

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

.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 700px) {
  .value-list {
    grid-template-columns: 1fr;
  }
}

.value-list li {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.value-list li strong {
  display: block;
  margin-bottom: 6px;
  color: var(--black);
}

.value-list li span {
  color: var(--gray-600);
  font-size: 0.94rem;
}

/* ---------- Leadership ---------- */

.leader-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--near-black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px 32px;
}

.leader-card .avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  flex: none;
}

.leader-card h4 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.leader-card span {
  color: var(--gray-300);
  font-size: 0.92rem;
}

/* Clickable but not styled like an obvious link - inherits surrounding
   text color, only reveals itself as a link on hover. */
.quiet-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.quiet-link:hover {
  border-bottom-color: currentColor;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info .row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info .row .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(200, 32, 47, 0.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-weight: 800;
}

.contact-info .row a,
.contact-info .row div {
  font-weight: 600;
}

.contact-info .row small {
  display: block;
  color: var(--gray-600);
  font-weight: 400;
  font-size: 0.85rem;
  margin-top: 2px;
}

form.contact-form {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form.contact-form label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  display: block;
  margin-bottom: 6px;
}

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}

form.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

form.contact-form button {
  align-self: flex-start;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 14px;
}

.cta-band p {
  color: var(--gray-300);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 36px;
}

.footer-brand span {
  color: var(--white);
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-300);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--gray-600);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
