/* =========================================================
   Nicole McClellan — site styles
   Colors and fonts live at the top so they're easy to change.
   ========================================================= */
:root {
  --cream: #f8f6f2;        /* warm white – page background */
  --paper: #ffffff;
  --ink: #161412;          /* soft black – main text */
  --ink-soft: #6b645d;
  --clay: #a8875a;         /* champagne gold – accent */
  --clay-dark: #8a6d45;
  --sage: #8c857d;
  --gold: #c8ab7e;
  --line: #e7e1d8;
  --radius: 4px;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Jost", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--clay-dark); }
a:hover { color: var(--clay); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -0.005em; margin: 0 0 .5em; }
h1 { font-size: clamp(3rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.6rem; font-weight: 500; }
body { font-weight: 400; letter-spacing: .005em; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 14px; display: inline-block;
}
.italic { font-style: italic; color: var(--clay); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 16px 30px; border-radius: 0; border: 0;
  font: 500 .78rem var(--body); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--clay); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 242, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { text-decoration: none; color: var(--ink); line-height: 1.1; }
.logo .name { font-family: var(--display); font-size: 1.45rem; font-weight: 600; display: block; }
.logo .brokerage { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.logo .name { letter-spacing: .02em; font-weight: 500 !important; font-size: 1.6rem !important; }
.nav a:hover, .nav a.active { color: var(--clay); }
.nav .btn { padding: 10px 20px; color: var(--paper); }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; font: 700 .9rem var(--body); color: var(--ink); cursor: pointer; padding: 8px; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 24px 22px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; width: auto; border-bottom: 0; padding: 12px 22px; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.portrait { position: relative; }
.portrait img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 260px 260px 0 0;
  background: #e9dccb;
}
.portrait .badge {
  position: absolute; left: -26px; bottom: 34px;
  background: var(--paper); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: 0 12px 30px rgba(43, 29, 22, .12); font-size: .88rem; line-height: 1.35;
}
.portrait .badge strong { font-family: var(--display); font-size: 1.15rem; display: block; }
@media (max-width: 820px) {
  .hero { padding: 40px 0 60px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 380px; }
  .portrait .badge { left: 12px; }
}

/* ---------- Sections ---------- */
section { padding: 110px 0; }
@media (max-width: 820px) { section { padding: 72px 0; } }
.service { border-radius: 0 !important; background: var(--paper) !important; padding: 36px 28px !important; }
.service .num { font-size: 1.4rem !important; }
.filters button, .choices label { border-radius: 0 !important; }
.filters button { font-weight: 500 !important; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem !important; padding: 11px 20px !important; }
.eyebrow { font-weight: 500 !important; letter-spacing: .28em !important; }
.card .meta, .article .meta { font-weight: 500 !important; letter-spacing: .18em !important; }
form.client { border-radius: 0 !important; }
input[type=text], input[type=email], input[type=tel], select, textarea { border-radius: 0 !important; }
.choices label:has(input:checked) { background: #f5efe5 !important; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(168, 135, 90, .18) !important; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { max-width: 32em; color: var(--ink-soft); margin: 0; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--ink); color: var(--cream); }
.dark h2, .dark h3 { color: var(--cream); }
.dark p { color: #d9cbbb; }
.dark .eyebrow { color: var(--gold); }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
}
.service .num { font-family: var(--display); font-style: italic; color: var(--clay); font-size: 1.1rem; }
.service h3 { margin: 10px 0 8px; font-size: 1.3rem; }
.service p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 5/4; object-fit: cover; width: 100%; background: #e9dccb; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card img { aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; background: #e9dccb; transition: transform .3s; }
.card:hover img { transform: scale(1.015); }
.card .meta { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.card .meta .tag { color: var(--clay); }
.card h3 { margin-bottom: 8px; }
.card:hover h3 { color: var(--clay); }
.card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button {
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font: 700 .88rem var(--body); color: var(--ink); cursor: pointer;
}
.filters button.active, .filters button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Page header ---------- */
.page-head { padding: 64px 0 24px; }
.page-head p { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }

/* ---------- Article ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 56px 24px 40px; }
.article .meta { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.article .meta .tag { color: var(--clay); }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.article .cover { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; margin: 28px 0 36px; background: #e9dccb; }
.article h2 { font-size: 1.8rem; margin-top: 1.6em; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--clay);
  font-family: var(--display); font-size: 1.35rem; font-style: italic; line-height: 1.4;
}
.article .back { display: inline-block; margin-top: 30px; font-weight: 700; text-decoration: none; }
.post-cta {
  max-width: 720px; margin: 20px auto 80px; padding: 32px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.post-cta p { margin: 0; font-family: var(--display); font-size: 1.3rem; }
@media (max-width: 760px) { .post-cta { margin: 20px 16px 60px; } }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; padding-bottom: 90px; }
.form-wrap aside { position: sticky; top: 110px; }
.form-wrap aside ul { padding-left: 1.1em; color: var(--ink-soft); }
form.client {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px;
}
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { font-family: var(--display); font-size: 1.4rem; margin-bottom: 16px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
label .opt { font-weight: 500; color: var(--ink-soft); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; font: 500 1rem var(--body); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(181, 85, 58, .15); }
textarea { min-height: 120px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label {
  font-weight: 600; margin: 0; display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; background: #fff; cursor: pointer;
}
.choices input { accent-color: var(--clay); }
.choices label:has(input:checked) { border-color: var(--clay); background: #fbeee8; }
.fine { font-size: .85rem; color: var(--ink-soft); }
.hidden { display: none; }
@media (max-width: 860px) {
  .form-wrap { grid-template-columns: 1fr; gap: 24px; }
  .form-wrap aside { position: static; }
  form.client { padding: 24px 18px; }
  .row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Photos ---------- */
.portrait img { object-position: 50% 18%; background: #efedea; }
.about-photo { object-position: 55% 30%; }
.topics .service { padding-top: 0 !important; overflow: hidden; }
.topic-img {
  display: block; width: calc(100% + 56px); max-width: none; margin: 0 -28px 24px;
  aspect-ratio: 4/3; object-fit: cover; background: #e9dccb;
}
/* Cinematic Austin backdrop: plays images/austin-skyline.mp4 if present, otherwise the still with a slow drift */
.cinema { position: relative; overflow: hidden; padding: 170px 0; isolation: isolate; }
.cinema-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; z-index: -2; transform-origin: 60% 40%;
  animation: drift 28s ease-in-out infinite alternate;
}
.cinema::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22,20,18,.9) 0%, rgba(22,20,18,.62) 55%, rgba(22,20,18,.35) 100%);
}
@keyframes drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.14) translateX(-2%); } }
@media (prefers-reduced-motion: reduce) { .cinema-bg { animation: none; transform: scale(1.04); } }
@media (max-width: 820px) {
  .cinema { padding: 110px 0; }
  .cinema::before { background: rgba(22,20,18,.74); }
}
.connect .portrait-arch { object-position: 50% 15%; }

/* ---------- Personal-brand additions ---------- */
a.service { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
a.service:hover { border-color: var(--clay); transform: translateY(-2px); }
a.service:hover h3 { color: var(--clay); }
.dark-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.dark-actions .btn { white-space: normal; text-align: left; line-height: 1.5; max-width: 100%; }
.btn.ghost.light { color: var(--cream); box-shadow: inset 0 0 0 1px var(--gold); }
.btn.ghost.light:hover { background: var(--gold); color: var(--ink); }
.form-msg { margin-top: 16px; padding: 12px 16px; background: #f5efe5; border-left: 3px solid var(--clay); font-size: .92rem; }
.empty { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--ink-soft); padding: 30px 0; }
.link-btn { line-height: 1.5; }

/* ---------- Connect page (link-in-bio) ---------- */
.connect { max-width: 520px; margin: 0 auto; padding: 64px 24px 80px; text-align: center; }
.monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 168px; height: 140px; border: 1.5px solid var(--clay); padding: 0 10px;
  font-family: var(--display); font-size: 1rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); line-height: 1.3; margin-bottom: 40px; text-decoration: none;
}
.connect h1 { font-family: var(--body); font-weight: 500; font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.45; margin-bottom: 14px; }
.connect .sub { font-family: var(--display); font-size: 1.25rem; font-style: italic; color: var(--ink-soft); margin-bottom: 30px; }
.quick { text-align: center; }
.quick input {
  width: 100%; border: 0 !important; border-bottom: 1px solid #9c948b !important; background: transparent !important;
  text-align: center; padding: 16px 8px 10px !important; margin-bottom: 6px;
  font: 400 .82rem var(--body) !important; letter-spacing: .2em; text-transform: uppercase;
}
.quick input:focus { box-shadow: none !important; border-bottom-color: var(--clay) !important; }
.quick input::placeholder { color: #6b645d; }
.quick .btn { margin-top: 26px; }
.connect .portrait-arch {
  width: 100%; max-width: 420px; aspect-ratio: 4/5; object-fit: cover; margin: 60px auto 50px;
  border-radius: 0 0 220px 220px; background: #e9dccb;
}
.explore h2 { font-family: var(--body); font-weight: 500; font-size: 1.15rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; }
.links { display: flex; flex-direction: column; gap: 12px; max-width: 460px; margin: 0 auto; }
.link-btn {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 1px solid var(--ink); padding: 17px 20px; background: var(--paper);
  color: var(--ink); text-decoration: none; text-align: left;
  font: 500 .78rem var(--body); letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.link-btn:hover { background: var(--ink); color: var(--paper); }
.link-btn .arrow { color: var(--clay); }
.connect .signoff { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); margin-top: 40px; }
.form-explore { border-top: 1px solid var(--line); padding: 80px 24px 90px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,.08); background: var(--ink); color: #d9cbbb; padding: 64px 0 32px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--cream); margin: 0 0 12px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.legal { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
/* TREC requires these links on the homepage in at least 10-point type. 15px ≈ 11pt. Don't make them smaller. */
.trec-links { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.trec-links a { text-decoration: underline; text-underline-offset: 3px; }
.legal .small { font-size: .85rem; color: #b8a796; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; gap: 28px; } }
