/*
Theme Name: Elie Fouerti
Theme URI: https://eliefouerti.com
Author: Elie Fouerti
Description: Personal site for Elie Fouerti — real estate investor and co-principal of Fouerti Realty. Fast, SEO-ready, with a protected contact form.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: eliefouerti
*/

:root {
  --night: #0c1626;
  --navy: #13213a;
  --navy-2: #1b2d4d;
  --cobalt: #3b6cf6;
  --cobalt-light: #7fa0ff;
  --ice: #eef2f8;
  --white: #ffffff;
  --slate: #5b6678;
  --line: #dbe2ee;
  --text: #2f3a4c;
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--night); font-family: var(--font); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cobalt); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(12,22,38,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--cobalt); display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .02em; color: #fff; }
.nav { display: flex; gap: 8px; }
.nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 8px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a.cta { background: var(--cobalt); color: #fff; }
.nav a.cta:hover { background: #2f5be0; }

/* Hero */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; padding: 170px 0 110px; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(59,108,246,.35), rgba(59,108,246,0) 65%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.82); margin: 0 0 30px; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.15); }
.hero h1 { font-weight: 800; font-size: clamp(60px, 9.5vw, 136px); line-height: .95; letter-spacing: -.045em; margin: 0; }
.hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--cobalt-light); }
.hero .lead { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.55; color: rgba(255,255,255,.76); margin: 34px 0 40px; max-width: 600px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 10px; font-family: var(--font); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all .2s; }
.btn.primary { background: var(--cobalt); color: #fff; }
.btn.primary:hover { background: #2f5be0; transform: translateY(-1px); }
.btn.ghost { border-color: rgba(255,255,255,.22); color: #fff; background: transparent; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }

.id-card { position: relative; background: linear-gradient(160deg, var(--navy-2), var(--navy)); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 34px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.id-card .mono { width: 76px; height: 76px; border-radius: 18px; background: var(--cobalt); display: grid; place-items: center; font-weight: 800; font-size: 28px; letter-spacing: -.02em; margin-bottom: 26px; }
.id-card dl { margin: 0; display: grid; gap: 18px; }
.id-card dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt-light); }
.id-card dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; color: #fff; }
.id-card .rule { height: 1px; background: rgba(255,255,255,.08); }

/* Sections */
.section { padding: 130px 0; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cobalt); margin: 0 0 18px; }
h2 { font-weight: 800; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.035em; margin: 0; color: var(--night); }
h2 span { color: var(--cobalt); }

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: start; }
.about-copy h2 { margin-bottom: 34px; }
.about-copy .lede { font-size: clamp(21px, 2vw, 25px); line-height: 1.5; font-weight: 600; color: var(--night); margin: 0 0 24px; letter-spacing: -.01em; }
.about-copy p { margin: 0 0 20px; color: var(--text); }
.about-copy a { color: var(--cobalt); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(59,108,246,.25); }
.about-copy a:hover { border-color: var(--cobalt); }

.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 66px; }
.focus-item { background: var(--ice); border-radius: 16px; padding: 26px 24px; transition: transform .25s, background .25s; }
.focus-item:hover { transform: translateY(-3px); background: #e6ecf7; }
.focus-item .n { font-size: 13px; font-weight: 800; color: var(--cobalt); }
.focus-item h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 26px 0 6px; color: var(--night); }
.focus-item p { margin: 0; font-size: 15px; color: var(--slate); line-height: 1.55; }

/* Principles band */
.band { background: var(--navy); color: #fff; padding: 96px 0; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.band-item { padding: 0 40px; border-left: 1px solid rgba(255,255,255,.1); }
.band-item:first-child { padding-left: 0; border-left: 0; }
.band-item b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.band-item b span { color: var(--cobalt-light); }
.band-item p { margin: 0; color: rgba(255,255,255,.7); font-size: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-info p { color: var(--text); margin: 24px 0 0; max-width: 420px; }
.contact-info .meta { margin-top: 36px; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--night); }
.contact-info .meta svg { flex: none; }
.form-card { background: var(--ice); border-radius: 22px; padding: 42px; }
.af-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.af-form .full { grid-column: 1 / -1; }
.af-form label { display: block; font-size: 14px; font-weight: 700; color: var(--night); margin-bottom: 8px; }
.af-form input, .af-form textarea { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-family: var(--font); font-size: 16px; padding: 14px 16px; color: var(--night); outline: none; transition: border-color .2s, box-shadow .2s; }
.af-form textarea { min-height: 140px; resize: vertical; }
.af-form input:focus, .af-form textarea:focus { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(59,108,246,.14); }
.af-form .hp { position: absolute; left: -9999px; }
.af-form #af_captcha { max-width: 200px; }
.cf-turnstile { min-height: 65px; }
.form-note { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 15px; font-weight: 600; }
.form-note.ok { background: #dcfce7; color: #14532d; }
.form-note.err { background: #fee2e2; color: #7f1d1d; }

/* Footer */
.site-footer { background: var(--night); color: rgba(255,255,255,.6); padding: 64px 0 34px; font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-top .brand { font-size: 22px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; font-size: 14px; }

/* Other pages */
.page-body { padding: 170px 0 120px; }
.page-body .entry { max-width: 760px; }
.page-body .entry h1 { font-weight: 800; font-size: 52px; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 32px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 1000px) {
  .section { padding: 96px 0; }
  .hero { padding: 140px 0 90px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .id-card { max-width: 460px; }
  .focus { margin-top: 0; }
  .band-grid { grid-template-columns: 1fr; gap: 36px; }
  .band-item, .band-item:first-child { padding: 0; border-left: 0; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav a:not(.cta) { display: none; }
  .hero h1 span { -webkit-text-stroke-width: 1.5px; }
  .focus, .af-form { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}
