/* Top Dog VA's - site styles */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("../fonts/josefin-sans-latin.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }

:root {
  --navy: #1B2438;
  --navy-deep: #131a2a;
  --navy-soft: #24304a;
  --cream: #F2EEE6;
  --cream-deep: #E7E1D5;
  --gold: #B8A88A;
  --gold-dark: #7d6e52;
  --red: #E4424D;
  --red-button: #C9323D;   /* darker red so white button text passes contrast */
  --ink: #1B2438;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Josefin Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--cream); font-family: var(--sans); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--cream); color: var(--navy); padding: 8px 14px; z-index: 10; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Small caps label with a gold rule */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.light .eyebrow { color: var(--gold-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px 13px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--red-button); color: #fff; }
.btn-primary:hover { background: #b02a34; }
.btn-ghost { border-color: var(--gold); color: var(--cream); }
.btn-ghost:hover { background: var(--gold); color: var(--navy); }
.light .btn-ghost { color: var(--navy); border-color: var(--gold-dark); }
.light .btn-ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(27, 36, 56, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(184, 168, 138, .25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 21px; letter-spacing: .04em; line-height: 1.1; }
.brand-tag { display: block; font-family: var(--sans); font-weight: 300; font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: #fff; }
.nav .btn { padding: 11px 20px 9px; border-bottom: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); }
.hero h1 em { font-style: normal; color: var(--gold); display: block; font-size: .62em; letter-spacing: .06em; margin-top: 10px; }
.hero .lede { font-size: 20px; font-weight: 300; max-width: 34em; margin-top: 26px; color: rgba(242, 238, 230, .88); }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; left: -12%; right: -12%; top: 50%; height: 1px; background: var(--gold); opacity: .55; }
.hero-media video, .hero-media img { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy);
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 60% 75% at 50% 50%, #000 60%, transparent 100%); }
.hero-media .still { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-media video { display: none; } .hero-media .still { display: block; } html { scroll-behavior: auto; } }

/* Page intro (inner pages) */
.page-intro { padding: 80px 0 64px; text-align: center; border-bottom: 1px solid rgba(184, 168, 138, .2); }
.page-intro h1 { font-size: clamp(38px, 5vw, 60px); }
.page-intro p { max-width: 38em; margin: 22px auto 0; font-weight: 300; font-size: 20px; color: rgba(242, 238, 230, .88); }
.page-intro .eyebrow { justify-content: center; }
.page-intro .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }

/* Sections */
section { padding: 96px 0; }
.light { background: var(--cream); color: var(--ink); }
.deep { background: var(--navy-deep); }
.section-head { max-width: 40em; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { margin-top: 18px; font-size: 19px; font-weight: 300; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.split h2 { font-size: clamp(30px, 3.6vw, 44px); }
.split .body p { font-size: 20px; font-weight: 300; }
.tasks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.tasks li { font-size: 14px; letter-spacing: .08em; padding: 7px 14px 5px; border: 1px solid var(--gold-dark); }

/* Pull quote */
.quote { text-align: center; max-width: 820px; margin: 0 auto 72px; }
.quote p.setup { font-size: 20px; font-weight: 300; }
.quote blockquote { margin: 26px 0; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; color: #fff; }
.quote blockquote::before, .quote blockquote::after { color: var(--gold); }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote .answer { font-size: 20px; color: var(--gold); letter-spacing: .04em; }

/* Reasons */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: rgba(184, 168, 138, .3); border: 1px solid rgba(184, 168, 138, .3); }
.reason { background: var(--navy); padding: 38px 34px; }
.deep .reason { background: var(--navy-deep); }
.reason .num { font-family: var(--serif); color: var(--gold); font-size: 15px; letter-spacing: .2em; }
.reason h3 { font-size: 22px; margin: 14px 0 12px; }
.reason p { font-weight: 300; margin: 0; color: rgba(242, 238, 230, .85); }

/* Service groups */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.group { background: #fff; border: 1px solid var(--cream-deep); padding: 28px 28px 30px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
a.group:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(27, 36, 56, .45); }
.group img { width: 100%; height: auto; margin: 0 auto 20px; aspect-ratio: 1; object-fit: contain; }
.group h3 { font-size: 21px; padding-bottom: 14px; border-bottom: 1px solid var(--gold); }
.group p { margin: 14px 0 0; font-size: 16px; font-weight: 300; }
.group ul { list-style: none; margin: 16px 0 0; padding: 0; }
.group li { padding: 9px 0 7px; border-bottom: 1px dotted rgba(125, 110, 82, .45); font-size: 17px; }
.group li:last-child { border-bottom: 0; }
.and-more { text-align: center; margin-top: 54px; font-family: var(--serif); font-size: 26px; }
.and-more span { display: block; font-family: var(--sans); font-size: 18px; font-weight: 300; margin-top: 8px; }

/* Call to action band */
.cta { text-align: center; position: relative; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); max-width: 18em; margin: 0 auto; }
.cta p { font-size: 20px; font-weight: 300; margin-top: 18px; }
.cta .actions { justify-content: center; }
.cta .phone { display: block; margin-top: 26px; color: var(--gold); letter-spacing: .1em; text-decoration: none; font-size: 19px; }

/* Calling card (contact) */
.card-wrap { display: flex; justify-content: center; padding: 30px 0 10px; }
.calling-card { position: relative; width: min(640px, 100%); background: var(--cream); color: var(--ink); padding: 54px 56px 48px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.calling-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(125, 110, 82, .45); pointer-events: none; }
.calling-card .card-top { display: flex; align-items: center; gap: 22px; padding-bottom: 26px; border-bottom: 1px solid var(--gold-dark); }
.calling-card .card-top img { width: 86px; }
.calling-card .card-name { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.calling-card .card-tag { display: block; font-weight: 300; font-size: 14px; letter-spacing: .2em; color: var(--gold-dark); margin-top: 6px; }
.calling-card dl { margin: 28px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 16px 28px; align-items: baseline; }
.calling-card dt { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); }
.calling-card dd { margin: 0; font-size: 21px; }
.calling-card dd a { text-decoration: none; border-bottom: 1px solid rgba(201, 50, 61, .5); }
.calling-card dd a:hover { border-bottom-color: var(--red-button); }
.calling-card .actions { margin-top: 36px; }

/* Footer */
.site-footer { background: var(--navy-deep); padding: 56px 0 40px; border-top: 1px solid rgba(184, 168, 138, .25); font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: rgba(242, 238, 230, .85); }
.site-footer a:hover { color: #fff; }
.site-footer .legal { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(184, 168, 138, .18); color: rgba(242, 238, 230, .5); font-size: 13px; letter-spacing: .06em; }

/* Gentle entrance */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; } .rise.d3 { animation-delay: .36s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Responsive */
@media (max-width: 880px) {
  body { font-size: 17px; }
  .site-header { position: static; }
  .hero { padding-top: 28px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { order: -1; }
  .nav { gap: 18px; flex-wrap: wrap; }
  .nav .btn { display: none; }
  section { padding: 72px 0; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .calling-card { padding: 40px 28px 34px; }
  .calling-card dl { grid-template-columns: 1fr; gap: 4px; }
  .calling-card dd { margin-bottom: 14px; }
}
