/* Building Empire Media */
:root {
  --bg: #0b0d11;
  --bg-raise: #12151c;
  --line: #23262e;
  --gold: #d4af37;
  --gold-light: #f3d876;
  --gold-deep: #9a7422;
  --cream: #f2ecd9;
  --cream-dim: #b9b19a;
  --max: 1100px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: "Playfair Display", Georgia, serif; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,13,17,0.92);
  backdrop-filter: blur(8px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand svg { flex: none; }
.logo-crop { width: 48px; height: 48px; overflow: hidden; position: relative; flex: none; }
.logo-crop img {
  position: absolute; width: 58px; max-width: none;
  left: -5px; top: -5px;
  mix-blend-mode: screen; /* melts the black square into the dark header */
}
.logo-foot {
  display: block; margin: 0 auto 20px; max-width: 170px;
  mix-blend-mode: screen;
}
.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--cream);
}
.brand-name span { color: var(--gold); }
nav.links { display: flex; gap: 30px; align-items: center; }
nav.links a {
  color: var(--cream-dim); font-size: 15px; letter-spacing: 0.4px;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
nav.links a:hover, nav.links a.active { color: var(--gold-light); border-color: var(--gold-deep); }
.nav-cta {
  border: 1px solid var(--gold-deep);
  color: var(--gold-light) !important;
  padding: 9px 18px; border-radius: 3px;
  font-size: 14px; letter-spacing: 0.6px;
  transition: background .18s, color .18s;
}
.nav-cta:hover { background: var(--gold); color: #14161d !important; border-color: var(--gold); }

/* hero */
.hero { padding: 110px 0 90px; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #191d26 0%, var(--bg) 70%); }
.hero.hero-img {
  background-size: cover; background-position: center 65%;
  position: relative;
}
.hero.hero-img .wrap { position: relative; z-index: 1; }
.hero.hero-img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,13,17,0.92) 0%, rgba(11,13,17,0.72) 55%, rgba(11,13,17,0.45) 100%);
}

/* photos */
.photo {
  border: 1px solid var(--line); border-radius: 4px;
  width: 100%; height: auto;
}
.photo-band { margin-top: 48px; }
.hero .eyebrow {
  color: var(--gold); font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.12; letter-spacing: -0.5px;
  max-width: 17ch; margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lede { font-size: 19px; color: var(--cream-dim); max-width: 52ch; margin-bottom: 38px; }

/* buttons */
.btn-gold {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #14161d; font-weight: 600; font-size: 16px;
  padding: 15px 30px; border-radius: 3px; border: none; cursor: pointer;
  letter-spacing: 0.3px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 0 0 rgba(212,175,55,0);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(212,175,55,0.25); color: #14161d; }
.btn-gold:active { transform: translateY(0) scale(0.98); }
.btn-line {
  display: inline-block; border: 1px solid var(--line); color: var(--cream);
  padding: 14px 26px; border-radius: 3px; font-size: 15px;
  transition: border-color .18s, color .18s;
}
.btn-line:hover { border-color: var(--gold-deep); color: var(--gold-light); }

/* sections */
section { padding: 84px 0; }
section + section { border-top: 1px solid var(--line); }
.kicker { color: var(--gold); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; margin-bottom: 18px; }
.sub { color: var(--cream-dim); max-width: 60ch; margin-bottom: 44px; }

/* service rows */
.svc-row {
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  padding: 30px 0; border-top: 1px solid var(--line);
  align-items: baseline;
}
.svc-row:last-of-type { border-bottom: 1px solid var(--line); }
.svc-row h3 { font-size: 22px; margin-bottom: 8px; }
.svc-row p { color: var(--cream-dim); font-size: 16px; max-width: 58ch; }
.price { font-family: "Playfair Display", Georgia, serif; color: var(--gold-light); font-size: 22px; white-space: nowrap; }
.price small { display: block; font-family: "Inter", sans-serif; color: var(--cream-dim); font-size: 13px; text-align: right; }

/* cards for blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post-card {
  border: 1px solid var(--line); border-radius: 4px; padding: 30px;
  background: var(--bg-raise);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s, transform .2s;
}
.post-card:hover { border-color: var(--gold-deep); transform: translateY(-3px); }
.post-card .date { color: var(--gold); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; }
.post-card h3 { font-size: 21px; line-height: 1.3; }
.post-card h3 a { color: var(--cream); }
.post-card h3 a:hover { color: var(--gold-light); }
.post-card p { color: var(--cream-dim); font-size: 15.5px; }
.read-more { color: var(--gold-light); font-size: 14.5px; letter-spacing: 0.5px; margin-top: auto; }

/* article */
.article { max-width: 720px; margin: 0 auto; padding: 90px 24px; }
.article h1 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.18; margin-bottom: 14px; }
.article .meta { color: var(--gold); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 40px; }
.article h2 { font-size: 26px; margin: 42px 0 14px; }
.article p { margin-bottom: 20px; color: #ded7c3; }
.article ul { margin: 0 0 20px 22px; color: #ded7c3; }
.article li { margin-bottom: 10px; }

/* testimonials */
.t-feature {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 30px;
  margin: 40px 0 34px;
}
.t-quote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 2.6vw, 27px);
  font-style: italic; line-height: 1.5; color: var(--gold-light);
  max-width: 26em;
}
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.t-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.t-card {
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--bg-raise); padding: 26px 28px;
  transition: border-color .2s;
}
.t-card:hover { border-color: var(--gold-deep); }
.t-quote-sm { font-style: italic; color: #ded7c3; margin-bottom: 14px; }
.t-name { color: var(--gold); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 12px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.quote-block {
  border-left: 2px solid var(--gold);
  padding: 24px 0 24px 28px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px; font-style: italic; line-height: 1.45; color: var(--gold-light);
}
.fact { border-top: 1px solid var(--line); padding: 18px 0; }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact .k { color: var(--gold); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
form label { display: block; font-size: 14px; letter-spacing: 0.5px; color: var(--cream); margin: 0 0 7px; }
form input, form textarea {
  width: 100%; background: var(--bg-raise); border: 1px solid var(--line);
  color: var(--cream); border-radius: 3px; padding: 13px 14px; font-size: 16px;
  font-family: inherit; margin-bottom: 22px;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--gold); }
.contact-line { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-line:last-of-type { border-bottom: 1px solid var(--line); }
.contact-line .k { color: var(--gold); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; min-width: 70px; }

/* CTA band */
.cta-band { text-align: center; padding: 90px 24px;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, #1a1610 0%, var(--bg) 70%); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--cream-dim); margin-bottom: 32px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 54px 0 40px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.tagline {
  width: 100%; text-align: center;
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  color: var(--gold); font-size: 18px; margin-bottom: 34px;
}
.foot-meta { color: var(--cream-dim); font-size: 14px; }
.foot-links { display: flex; gap: 22px; font-size: 14px; }
.foot-links a { color: var(--cream-dim); }
.foot-links a:hover { color: var(--gold-light); }

/* divider ornament */
.orn { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 0 auto 26px; max-width: 320px; }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: var(--gold-deep); }
.orn .d { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }

@media (max-width: 820px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  nav.links { gap: 18px; }
  nav.links a.hide-m { display: none; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .price small { text-align: left; }
  .hero { padding: 80px 0 64px; }
}
/* ===== animations ===== */

/* hero entrance (on load) */
.hero .eyebrow, .hero h1, .hero p.lede, .hero .btn-gold {
  opacity: 0; transform: translateY(16px);
  animation: bem-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero h1 { animation-delay: 0.12s; }
.hero p.lede { animation-delay: 0.26s; }
.hero .btn-gold { animation-delay: 0.4s; }
@keyframes bem-rise {
  to { opacity: 1; transform: none; }
}

/* slow drift on the hero photo */
.hero.hero-img {
  animation: bem-drift 26s ease-in-out infinite alternate;
}
@keyframes bem-drift {
  from { background-position: center 68%; }
  to { background-position: center 55%; }
}

/* scroll reveals (added by site.js) */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-property: opacity, transform;
}
[data-reveal].bem-in { opacity: 1; transform: none; }

/* header shadow once scrolled */
header { transition: box-shadow 0.25s; }
header.bem-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45); }

/* gold shimmer sweep on primary buttons */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-gold:hover::after { left: 130%; }

/* nav underline slide */
nav.links a { position: relative; }
nav.links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
nav.links a:not(.nav-cta):hover::after,
nav.links a.active:not(.nav-cta)::after { transform: scaleX(1); }

/* gentle glow pulse on the footer diamond ornament */
.orn .d { animation: bem-glow 3.2s ease-in-out infinite; }
@keyframes bem-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(212,175,55, 0); }
  50% { box-shadow: 0 0 14px rgba(212,175,55, 0.8); }
}

/* photo hover */
.photo { transition: transform 0.4s ease, border-color 0.4s ease; }
.photo:hover { transform: scale(1.015); border-color: var(--gold-deep); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .hero .eyebrow, .hero h1, .hero p.lede, .hero .btn-gold, [data-reveal] { opacity: 1; transform: none; }
}
