/* Navy Gold — Advisory Agency. Warm ivory paper, deep navy and brass gold; Playfair + DM Sans; people-first. */
.hv-agency { --bg: #f7f4ee; --ink: #0a1a3c; --muted: #5d6578; --navy: #0a1a3c; --gold: #b8873b; --gold-2: #d9ad62; --line: #e4ddcf; --card: #fff;
  --accent: #0a1a3c; --accent-ink: #fff; --accent-text: #0a1a3c; --font-head: 'Playfair Display', Georgia, serif; --font-body: 'DM Sans', system-ui, sans-serif;
  --r-btn: 6px; --r-input: 6px; --r-card: 10px; --focus: #b8873b; }
.ag-wrap { width: min(1240px, 100% - 2 * clamp(16px, 3.5vw, 40px)); margin-inline: auto; }
.ag-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ag-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 6px; background: var(--gold); color: #1b1407; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ag-btn:hover { background: var(--gold-2); }
.ag-link { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.ag-top { background: var(--navy); color: #c8cfe0; font-size: .8rem; }
.ag-top .ag-wrap { display: flex; justify-content: space-between; gap: 14px; min-height: 36px; align-items: center; }
.ag-top a { color: #fff; text-decoration: none; font-weight: 700; }
.ag-header { position: sticky; top: 0; z-index: 900; background: rgba(247, 244, 238, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.ag-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(10,26,60,.5); }
.ag-header-in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.ag-logo img { width: 168px; height: auto; }
.ag-nav { display: flex; gap: 2px; margin: 0 auto; }
.ag-nav a { padding: 10px 12px; text-decoration: none; font-weight: 500; font-size: .94rem; color: var(--ink); position: relative; }
.ag-nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.ag-nav a:hover::after { transform: none; }
.ag-menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; place-items: center; font-size: 1.15rem; }

/* hero: intent + founder portrait */
.ag-hero { padding: clamp(40px, 6vw, 80px) 0 0; overflow-x: clip; }
.ag-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.ag-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 600; line-height: 1.04; margin: 16px 0 18px; }
.ag-hero h1 em { color: var(--gold); }
.ag-lead { font-size: 1.1rem; color: var(--muted); }
.ag-intents { display: inline-flex; gap: 6px; padding: 6px; margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.ag-intents button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 7px; background: none; font-weight: 700; color: var(--muted); }
.ag-intents button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.ag-intent-panel { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; max-width: 560px; }
.ag-intent-panel p { flex: 1 1 100%; }
.ag-portrait { position: relative; justify-self: end; width: min(460px, 100%); }
.ag-portrait img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: top; border-radius: 220px 220px 12px 12px; background: #e9e2d4; }
.ag-portrait::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold); border-radius: 220px 220px 12px 12px; z-index: -1; }
.ag-portrait figcaption { position: absolute; left: -30px; bottom: 34px; padding: 14px 18px; background: #fff; border-radius: 10px; box-shadow: 0 18px 40px -20px rgba(10,26,60,.45); display: grid; }
.ag-portrait figcaption b { font-family: var(--font-head); font-size: 1.15rem; } .ag-portrait figcaption span { font-size: .82rem; color: var(--muted); }
.ag-play { position: absolute; right: 16px; top: 46%; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 8px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; }
.ag-play .ic { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--gold); color: var(--navy); }
.ag-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 70px); background: var(--navy); color: #fff; border-radius: 12px; overflow: hidden; }
.ag-stats li { padding: 26px 24px; display: grid; gap: 4px; }
.ag-stats li + li { border-left: 1px solid rgba(255,255,255,.12); }
.ag-stats strong { font-family: var(--font-head); font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--gold-2); line-height: 1; }
.ag-stats span { color: #c8cfe0; font-size: .88rem; }

/* services */
.ag-services { padding: clamp(60px, 9vw, 120px) 0; }
.ag-services-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.ag-services h2, .ag-process h2, .ag-row-head h2, .ag-book h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; margin: 10px 0 14px; }
.ag-services-grid > div > p:not(.ag-eyebrow) { color: var(--muted); }
.ag-sv-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ag-sv-list li:first-child { border-top: 1px solid var(--line); }
.ag-sv-list .ic { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--navy); color: var(--gold-2); }
.ag-sv-list h3 { font-size: 1.35rem; font-weight: 600; } .ag-sv-list p { color: var(--muted); margin-top: 4px; }

/* process */
.ag-process { padding: clamp(60px, 8vw, 110px) 0; background: var(--navy); color: #fff; }
.ag-process h2 { color: #fff; }
.ag-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 40px; counter-reset: s; }
.ag-steps li { position: relative; padding: 0 22px 0 0; display: grid; gap: 10px; align-content: start; }
.ag-steps li::before { content: ''; position: absolute; top: 26px; left: 56px; right: 0; height: 1px; background: rgba(217,173,98,.4); }
.ag-steps li:last-child::before { display: none; }
.ag-step-n { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold-2); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.4rem; color: var(--gold-2); background: var(--navy); position: relative; }
.ag-steps h3 { font-size: 1.2rem; font-weight: 600; margin-top: 6px; } .ag-steps p { color: #c8cfe0; font-size: .92rem; }

/* team */
.ag-team, .ag-listings, .ag-voices { padding: clamp(60px, 8vw, 110px) 0; }
.ag-row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.ag-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ag-team-grid li { display: grid; gap: 4px; align-content: start; }
.ag-team-grid img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: top; border-radius: 10px; background: #e9e2d4; margin-bottom: 10px; filter: saturate(.9); }
.ag-team-grid h3 { font-size: 1.3rem; font-weight: 600; }
.ag-role { color: var(--gold); font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; }
.ag-team-grid p:last-child { color: var(--muted); font-size: .9rem; }
.ag-listings { background: #fff; border-block: 1px solid var(--line); }
.ag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .ag-grid { grid-template-columns: 1fr; } }
.hv-agency .hv-card { border-color: var(--line); }
.hv-agency .hv-card h3 { font-weight: 600; font-size: 1.3rem; }

/* testimonials */
.ag-arrow { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; display: inline-grid; place-items: center; margin-left: 6px; }
.ag-arrow:first-child .ic { transform: rotate(180deg); }
.ag-voice-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 48%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ag-voice-track::-webkit-scrollbar { display: none; }
.ag-voice-track li { scroll-snap-align: start; padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 18px; align-content: space-between; }
.ag-voice-track blockquote { font-family: var(--font-head); font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.4; }
.ag-voice-track blockquote::before { content: '“'; display: block; font-size: 3.4rem; line-height: .6; color: var(--gold); }
.ag-voice-track p { display: grid; } .ag-voice-track span { color: var(--muted); font-size: .88rem; }

.ag-devs { padding: 36px 0; border-block: 1px solid var(--line); }
.ag-devs .ag-wrap { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.ag-devs p { font-weight: 700; color: var(--muted); }
.ag-devs ul { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.ag-devs img { height: 32px; width: auto; filter: grayscale(1); opacity: .75; }

/* booking */
.ag-book { padding: clamp(60px, 8vw, 110px) 0; }
.ag-book-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.ag-book-copy p:not(.ag-eyebrow) { color: var(--muted); }
.ag-book-copy address { margin-top: 26px; padding: 20px; border-left: 3px solid var(--gold); background: #fff; display: grid; gap: 4px; font-size: .94rem; }
.ag-book-copy address a { color: var(--navy); }
.ag-book-form { padding: clamp(20px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.ag-book-form fieldset { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; min-width: 0; }
.ag-book-form legend { font-weight: 700; font-size: .84rem; margin-bottom: 8px; }
.ag-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ag-day { display: grid; justify-items: center; padding: 8px 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; line-height: 1.15; }
.ag-day span, .ag-day em { font-size: .7rem; font-style: normal; color: var(--muted); } .ag-day b { font-size: 1.15rem; }
.ag-day[aria-pressed="true"], .ag-slot[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ag-day[aria-pressed="true"] span, .ag-day[aria-pressed="true"] em { color: var(--gold-2); }
.ag-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ag-slot { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: .84rem; font-weight: 600; }
.hv-agency .hv-submit { background: var(--gold); color: #1b1407; }

/* footer */
.ag-footer { background: var(--navy); color: #c8cfe0; padding: 56px 0 24px; font-size: .92rem; }
.ag-footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 30px; }
.ag-footer img { margin-bottom: 14px; }
.ag-footer h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 10px; }
.ag-footer li + li { margin-top: 6px; }
.ag-footer a { color: #fff; text-decoration: none; } .ag-footer a:hover { color: var(--gold-2); }
.ag-social { display: flex; gap: 8px; margin-top: 14px; }
.ag-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; }
.ag-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.ag-story .hv-modal-box p + p { margin-top: 12px; }
.ag-story .hv-modal-box > p { opacity: 1; }

@media (max-width: 1100px) { .ag-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; } .ag-steps li:nth-child(3)::before { display: none; } }
@media (max-width: 1023px) {
  .ag-nav { position: fixed; inset: 112px 0 auto; flex-direction: column; background: var(--bg); padding: 10px 16px 20px; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .3s; margin: 0; }
  .ag-nav.is-open { transform: none; }
  .ag-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .ag-menu { display: inline-grid; }
  .ag-header-in > .ag-btn { margin-left: auto; }
  .ag-hero-grid, .ag-services-grid, .ag-book-grid { grid-template-columns: 1fr; }
  .ag-portrait { justify-self: center; }
  .ag-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-stats li:nth-child(3) { border-left: 0; }
  .ag-stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .ag-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ag-top span { display: none; } .ag-top .ag-wrap { justify-content: center; }
  .ag-header-in > .ag-btn { display: none; } .ag-menu { margin-left: auto; }
  .ag-intents { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .ag-intents button { justify-content: center; padding: 0 8px; }
  .ag-portrait figcaption { left: 10px; }
  .ag-steps { grid-template-columns: 1fr; } .ag-steps li::before { display: none; }
  .ag-steps li { grid-template-columns: 52px 1fr; column-gap: 16px; } .ag-steps li .ag-step-n { grid-row: span 2; } .ag-steps h3 { margin: 0; align-self: end; }
  .ag-voice-track { grid-auto-columns: 88%; }
  .ag-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ag-slots { grid-template-columns: 1fr 1fr; }
  .ag-footer-grid { grid-template-columns: 1fr; }
}
