/* Traci Martin websites — light ivory, charcoal type, muted gold */
:root {
  --ivory: #F7F3EA;
  --ivory-deep: #EFE8D8;
  --cream: #FBF8F1;
  --paper: #FFFcf6;
  --text: #1C1814;
  --text-soft: #3A342C;
  --text-mute: #5C554B;
  --gold: #C9A35A;
  --gold-hi: #D4B06A;
  --gold-dk: #8A6420;
  --gold-line: rgba(154, 112, 32, 0.35);
  --gold-line-soft: rgba(154, 112, 32, 0.18);
  --charcoal: #1C1814;
  --charcoal-deep: #0D0B09;
  --charcoal-mid: #241F1A;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --content: 72rem;
  --header-h: 4.35rem;
  --banner-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background-color: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.has-preview-banner { --banner-h: 2.25rem; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dk); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--gold-dk); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 0.8rem;
  top: -4rem;
  background: var(--gold);
  color: var(--charcoal);
  padding: 0.4rem 0.7rem;
  z-index: 100;
  font-weight: 600;
}
.skip:focus { top: 0.8rem; }

.preview-banner {
  display: none;
  background: #E8D7A8;
  color: var(--charcoal);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.45rem 1rem;
  position: sticky;
  top: 0;
  z-index: 60;
  line-height: 1.35;
  border-bottom: 1px solid var(--gold-line);
}
body.has-preview-banner .preview-banner { display: block; }
.preview-banner strong { letter-spacing: 0.1em; }

.wrap {
  width: min(var(--content), calc(100% - 2rem));
  margin-inline: auto;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: var(--banner-h);
  z-index: 50;
  background: rgba(247, 243, 234, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex-shrink: 0;
}
.brand img.seal { width: 2.55rem; height: 2.55rem; flex-shrink: 0; }
.brand .name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.15;
  color: var(--text);
}
.brand .sub {
  margin: 0.12rem 0 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dk);
  font-weight: 600;
}

/* Real estate site: slim charcoal bar so official white HH logos stay readable */
.site-homes header.site {
  background: var(--charcoal);
  border-bottom: 1px solid rgba(201, 163, 90, 0.35);
}
.site-homes .brand-hh {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.site-homes .brand-hh img.hh-header {
  width: 11.4rem;
  height: auto;
  flex-shrink: 0;
}
.site-homes .brand-hh .name-block .name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.15;
  color: var(--ivory);
}
.site-homes .brand-hh .name-block .sub {
  margin: 0.1rem 0 0;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.site-homes .nav-toggle {
  border-color: rgba(201, 163, 90, 0.55);
  color: var(--ivory);
}
.site-homes .nav-toggle:hover { border-color: var(--gold); color: var(--gold-hi); }
.site-homes nav.primary a { color: rgba(247, 243, 234, 0.88); }
.site-homes nav.primary a:hover,
.site-homes nav.primary a[aria-current="page"] { color: var(--gold-hi); }

nav.primary { display: flex; align-items: center; }
nav.primary ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.primary a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] { color: var(--gold-dk); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-line);
  color: var(--text);
  border-radius: 0.3rem;
  padding: 0.38rem 0.6rem;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--gold-dk); color: var(--gold-dk); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  nav.primary {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--gold-line);
    display: none;
    padding: 0.4rem 1rem 0.9rem;
  }
  .site-homes nav.primary { background: var(--charcoal-mid); }
  header.site.is-open nav.primary { display: block; }
  nav.primary ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.primary a {
    display: block;
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid var(--gold-line-soft);
    white-space: normal;
  }
  .site-homes .brand-hh img.hh-header { width: 9.2rem; }
  .site-homes .brand-hh .name-block { display: none; }
}

/* ---------- Hero: personal site ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 3.2rem 0 3.4rem;
  overflow: hidden;
  background: var(--ivory);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--ivory);
  background-image: url("swirls_gold_light.png");
  background-repeat: no-repeat;
  background-size: 1100px auto;
  background-position: right -80px top -40px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

/* ---------- Hero: real estate home (photo + light copy) ---------- */
.hero-listing {
  padding: 0;
  background: var(--ivory);
}
.hero-listing .hero-split {
  display: grid;
  grid-template-columns: minmax(20rem, 0.95fr) 1.15fr;
  min-height: 36rem;
  align-items: stretch;
}
.hero-listing .copy {
  padding: 3.1rem 2.4rem 3.1rem clamp(1.1rem, 6vw, 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-listing .copy-inner { width: min(36rem, 100%); }
.hero-photo {
  min-height: 22rem;
  background: #d9d1c3 center/cover no-repeat;
  background-image: url("hero-dayton-home.jpg");
}
.hh-plaque {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  border-radius: 0.7rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1.15rem;
}
.hh-plaque img { width: 11.5rem; height: auto; display: block; }
.hero-listing .hh-plaque img { width: 13.25rem; }

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dk);
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  line-height: 1.16;
  margin: 0 0 0.85rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
h1.tagline {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-dk);
}
.gold-rule {
  width: 4.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), transparent);
  margin: 0.15rem 0 1.15rem;
  border: 0;
}
.gold-rule.center {
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 36rem;
  margin: 0 0 1.35rem;
}
.signature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.2rem 0 1.5rem;
}
.signature .signed {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-dk);
  margin: 0;
}
.signature img { width: 3.1rem; height: 3.1rem; }
.hero-ctas, .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.portrait-wrap { justify-self: center; width: min(100%, 28rem); }
.portrait-wrap img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(28, 24, 20, 0.18));
}
.cred-lines {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.cred-lines .line1 { color: var(--text); font-weight: 600; letter-spacing: 0.04em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.78rem 1.15rem;
  border-radius: 0.35rem;
  border: 1px solid var(--gold-dk);
  color: var(--text);
  background: var(--paper);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--ivory-deep); color: var(--gold-dk); }
.btn-gold {
  background: linear-gradient(180deg, #E8B85C, #C9A35A 60%, #B08A3E);
  color: #1C1814;
  border-color: #C9A35A;
}
.btn-gold:hover { background: linear-gradient(180deg, #F0C56A, #D4AE62); color: #0D0B09; }

/* ---------- Sections ---------- */
section.block { padding: 3.3rem 0 3.5rem; background: var(--ivory); }
section.block.alt {
  background: var(--cream);
  border-top: 1px solid var(--gold-line-soft);
  border-bottom: 1px solid var(--gold-line-soft);
}
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-head.center { text-align: center; margin-inline: auto; }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.section-head p, .prose p { color: var(--text-soft); margin: 0.7rem 0 0; }
.prose p { margin: 0 0 1rem; max-width: 40rem; }
.prose p:last-child { margin-bottom: 0; }

.page-hero { padding: 2.4rem 0 0; position: relative; overflow: hidden; }
.page-hero .hero-bg { opacity: 0.28; background-position: right -220px bottom -60px; background-size: 820px auto; }
.page-hero + .block { padding-top: 1.35rem; }

.role-list { display: grid; gap: 1rem; }
article.role, .card, .service-card, .placeholder, .optional-note {
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1.3rem 1.45rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(28, 24, 20, 0.04);
}
article.role::before {
  content: "";
  position: absolute;
  left: 0; top: 1.1rem; bottom: 1.1rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-dk));
}
.role-top { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 0.25rem; }
.role-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-dk);
  font-size: 1.3rem;
  font-weight: 500;
  min-width: 1.7rem;
}
.role-title {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dk);
  font-weight: 600;
}
article.role h3, .service-card h3, .card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.3;
  margin: 0 0 0.6rem;
  color: var(--text);
}
article.role p, .service-card p, .card p { margin: 0; color: var(--text-soft); }
.org-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dk);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.1rem;
}
.org-link:hover { color: var(--text); border-bottom-color: var(--text); }

.service-grid, .tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.placeholder {
  border-style: dashed;
  border-color: rgba(154, 112, 32, 0.55);
  text-align: center;
  padding: 1.4rem 1.1rem;
}
.placeholder .ph-label,
.optional-note .ph-label,
.confirm-label {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1C1814;
  background: var(--gold-hi);
  border-radius: 0.25rem;
  padding: 0.16rem 0.42rem;
  margin-bottom: 0.7rem;
}
.confirm-label { margin: 0 0 0 0.4rem; vertical-align: middle; }
.placeholder p, .optional-note p { color: var(--text-soft); margin: 0; }
.ph-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.optional-note { margin-top: 1.2rem; max-width: 40rem; border-style: dashed; }

.awards {
  margin: 1.5rem 0 0;
  max-width: 40rem;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: 1rem;
  padding: 1.15rem 1.35rem 1.2rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(28, 24, 20, 0.04);
}
.awards::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05rem; bottom: 1.05rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-dk));
}
.awards .role-title { margin-bottom: 0.45rem; }
.awards ul { list-style: none; margin: 0; padding: 0; }
.awards li {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin: 0.2rem 0 0;
}


.re-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--gold-line);
  border-radius: 1rem;
  padding: 1.8rem 1.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin: 0 0 1rem; color: var(--text-soft); }
.contact-list .k {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dk);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--gold-dk); }
.socials { display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem; margin-top: 0.4rem; }

.signature-band {
  text-align: center;
  padding: 2.6rem 1rem 2.8rem;
  background: var(--cream);
  border-top: 1px solid var(--gold-line-soft);
}
.signature-band .signature { justify-content: center; margin: 0.85rem 0 0; }
.signature-band .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: var(--gold-dk);
  margin: 0;
  line-height: 1.3;
}

/* Footer: the one major charcoal band */
footer.site {
  padding: 2.2rem 0 2.4rem;
  border-top: 0;
  text-align: center;
  background: var(--charcoal-deep);
  color: #F4EEE2;
}
footer.site a { color: #E8B85C; }
footer.site a:hover { color: #F4EEE2; }
footer.site .hh-footer {
  width: min(16rem, 80%);
  height: auto;
  margin: 0 auto 0.9rem;
}
footer.site .foot-seal { width: 3.4rem; height: 3.4rem; margin: 0 auto 0.7rem; }
.footer-id, .footer-legal, .copyright {
  margin: 0.35rem auto 0;
  max-width: 44rem;
  color: rgba(244, 238, 226, 0.82);
  font-size: 0.88rem;
}
.eho {
  margin: 1.2rem auto 0;
  max-width: 46rem;
  color: var(--text-mute);
  font-size: 0.78rem;
  line-height: 1.55;
}
.eho-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  color: var(--text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
footer.site .eho { color: rgba(244, 238, 226, 0.7); }
footer.site .eho-mark { color: rgba(244, 238, 226, 0.88); }
.eho-mark svg { flex-shrink: 0; }
.preview-foot {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 238, 226, 0.5);
}

@media (max-width: 800px) {
  .hero-listing .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-listing .copy { padding: 1.25rem 1rem 1.8rem; text-align: center; }
  .hero-listing .hh-plaque, .hero-listing .gold-rule { margin-left: auto; margin-right: auto; }
  .hero-listing .hh-plaque { margin-bottom: 0.7rem; padding: 0.65rem 0.8rem; }
  .hero-listing .hh-plaque img { width: 10.75rem; }
  .hero-listing .hero-ctas, .hero-listing .signature { justify-content: center; }
  .hero-listing h1 { font-size: 1.85rem; margin-bottom: 0.45rem; }
  .hero-listing .cred-lines { margin-bottom: 0.65rem; }
  .hero-listing .lead { margin-bottom: 0.95rem; font-size: 1rem; }
  .hero-photo { order: -1; min-height: 13.25rem; }
  .service-grid, .tools, .ph-row, .contact-grid { grid-template-columns: 1fr; }
  .re-panel { grid-template-columns: 1fr; text-align: center; }
  .re-panel .hh-plaque { margin-inline: auto; }
  .re-panel .cta-row { justify-content: center; flex-direction: column; align-items: stretch; }
  .re-panel .btn { width: 100%; }
}
@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }
  .hero { padding: 1.45rem 0 2.2rem; }
  .lead, .section-head, .prose p { margin-left: auto; margin-right: auto; }
  .gold-rule { margin-left: auto; margin-right: auto; }
  .signature, .hero-ctas, .cta-row { justify-content: center; }
  .portrait-wrap { width: min(68vw, 17.25rem); order: -1; }
  .hero-grid .copy { order: 1; }
  h1 { font-size: 2.05rem; }
  .hero-bg { background-position: center top; opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
