/* ---------------------------------------------
   Driftwood Equity — landing page styles
   Palette:
     --sand        #EDE7DF  background
     --sand-deep   #E2D9CB  alt section background
     --navy        #17314A  headlines / brand
     --ink         #3B4A57  body copy
     --bronze      #8A7A5C  accent / dividers
     --white       #FBF9F5  card surfaces
--------------------------------------------- */

:root{
  --sand: #EDE7DF;
  --sand-deep: #E2D9CB;
  --navy: #17314A;
  --ink: #3B4A57;
  --bronze: #8A7A5C;
  --white: #FBF9F5;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

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

h1, h2, h3{
  font-family: var(--display);
  color: var(--navy);
  margin: 0 0 0.4em;
  font-weight: 500;
}

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

/* ---------------- header ---------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(237, 231, 223, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(23, 49, 68, 0.08);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
}

.brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}

.brand-name{
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  font-weight: 600;
}

.brand-sub{
  font-family: var(--body);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--bronze);
  margin-top: 4px;
}

.site-nav{
  display: flex;
  gap: 36px;
}

.site-nav a{
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s ease;
}

.site-nav a:hover{ color: var(--bronze); }

/* ---------------- hero ---------------- */
.hero{
  position: relative;
  padding: 130px 0 150px;
  overflow: hidden;
  background: var(--sand);
}

.hero-bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(138,122,92,0.14), transparent 65%);
  pointer-events: none;
}

.hero-inner{
  position: relative;
  text-align: center;
  max-width: 760px;
}

.hero-logo{
  width: 280px;
  max-width: 60%;
  height: auto;
  margin: 0 auto 32px;
  display: block;
}

.eyebrow{
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 22px;
}

.eyebrow.center{ text-align: center; }

.hero h1{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 26px;
}

.hero-sub{
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-sub strong{ color: var(--navy); }

.btn{
  display: inline-block;
  padding: 14px 34px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.horizon{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  fill: var(--sand-deep);
}

/* ---------------- sections ---------------- */
.section{
  padding: 96px 0;
}

.center{ text-align: center; }

/* divider */
.divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 36px;
}

.divider .line{
  height: 1px;
  width: 90px;
  background: var(--bronze);
  opacity: 0.6;
}

.divider .diamond{
  width: 8px;
  height: 8px;
  background: var(--bronze);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* track record */
.track-record{
  background: var(--sand-deep);
}

.track-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-block{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.stat-number{
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 6.5rem);
  color: var(--navy);
  font-weight: 600;
  line-height: 1;
}

.stat-label{
  margin-top: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
}

.track-copy{
  max-width: 620px;
  font-size: 1.02rem;
  color: var(--ink);
}

/* approach */
.approach h2{
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
}

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

.pillar h3{
  font-size: 1.3rem;
  margin-bottom: 12px;
  position: relative;
  padding-top: 20px;
}

.pillar h3::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--bronze);
}

.pillar p{
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
}

/* contact */
.contact{
  background: var(--sand-deep);
}

.contact-inner{
  text-align: center;
}

.contact h2{
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.contact-sub{
  max-width: 460px;
  margin: 0 auto 34px;
  color: var(--ink);
}

.contact-links{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.contact-links a{
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-links a:hover{
  color: var(--bronze);
  border-color: var(--bronze);
}

/* ---------------- footer ---------------- */
.site-footer{
  background: var(--navy);
  color: rgba(251, 249, 245, 0.75);
  padding: 28px 0;
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

/* ---------------- responsive ---------------- */
@media (max-width: 780px){
  .header-inner{ height: 66px; }
  .site-nav{ gap: 20px; }
  .site-nav a{ font-size: 0.72rem; }
  .hero{ padding: 90px 0 110px; }
  .section{ padding: 72px 0; }
  .pillars{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-inner{
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

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