/* e.vestor communications - site styles
   All-navy design (Cory, Nov 3): three navy tones mark sections, gold hairlines divide them,
   off-white text (never pure white for body copy). */
:root {
  --bg: #0b1428;          /* base */
  --bg-2: #101c37;        /* alternate sections */
  --line: rgba(210,174,109,.22);   /* gold hairline */
  --line-soft: rgba(255,255,255,.09);
  --text: #e4e8ef;        /* body copy: off-white */
  --text-soft: #a9b5c7;
  --head: #f6f3ec;        /* headings */
  --gold: #d2ae6d;
  --gold-soft: #e3c48d;
  --serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--head); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--head); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.label { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.muted { color: var(--text-soft); }

/* Header */
.site-header { background: #0f1a36; border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; gap: 40px; }
.nav a { color: var(--text); text-decoration: none; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-soft); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

/* Buttons: gold outline throughout */
.btn {
  display: inline-block; padding: 16px 30px; border-radius: 4px; text-decoration: none;
  font: 500 16px/1 var(--sans); color: var(--head);
  border: 1px solid var(--gold); background: rgba(10,18,38,.55);
}
.btn .arr { color: var(--gold-soft); margin-left: 10px; transition: margin .2s; }
.btn:hover { background: rgba(210,174,109,.12); color: var(--head); }
.btn:hover .arr { margin-left: 14px; }

/* Sections: base tone, alternate tone, gold hairline between */
section { padding: 84px 0; border-top: 1px solid var(--line); }
main > section:first-child { border-top: 0; }
.alt { background: var(--bg-2); }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 96px 0 104px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .45 0 0 0 0 .7 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 70% 10%, #18264a 0%, transparent 60%),
    linear-gradient(170deg, #0f1a36 0%, #0a1226 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.flare {
  position: absolute; left: -60px; bottom: -40px; width: 460px; height: 380px; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 44%, rgba(255,240,215,.20) 49%, transparent 54%),
    linear-gradient(62deg, transparent 44%, rgba(255,240,215,.16) 49%, transparent 55%),
    linear-gradient(90deg, transparent 47%, rgba(255,240,215,.12) 50%, transparent 53%),
    radial-gradient(circle at 34% 62%, rgba(255,236,200,.30), transparent 42%);
  filter: blur(3px); opacity: .9;
}
.eyebrow { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: 1.55rem; margin-bottom: .5em; }
.hero .lead { font-size: 1.12rem; color: #cfd8e3; max-width: 34em; margin-top: 18px; }
.proof { font-size: .95rem; color: var(--text-soft); border-top: 1px solid var(--line-soft); padding-top: 16px; margin: 24px 0 28px; }
.proof span + span::before { content: "\00b7"; margin: 0 .6em; color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 22px; }

/* Glass surfaces: conference panel, cards, case studies, services */
.panel, .card, .case, .service {
  background: linear-gradient(160deg, rgba(120,140,190,.12), rgba(20,32,64,.30));
  border: 1px solid rgba(255,255,255,.12);
}
.panel { border-radius: 18px; padding: 32px 34px 26px; backdrop-filter: blur(6px); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.panel-head { display: flex; align-items: center; gap: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); margin-bottom: 22px; }
.panel-icon { flex: none; width: 66px; height: 66px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: var(--text); }
.panel-title { font-family: var(--serif); font-style: italic; font-size: 2.1rem; color: var(--gold-soft); line-height: 1.1; }
.panel-sub { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.panel table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.panel th { text-align: left; font-weight: 500; color: var(--gold); padding: 8px 10px 8px 0; }
.panel td { padding: 13px 10px 13px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); vertical-align: top; }
.panel tr:last-child td { border-bottom: 0; }
.panel td:first-child { color: var(--gold-soft); white-space: nowrap; }
.panel-more { display: inline-block; margin-top: 16px; color: var(--gold-soft); text-decoration: none; }

/* Home sections */
.intro h2 { max-width: 20em; }
.intro p { max-width: 40em; font-size: 1.1rem; color: var(--text-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo { border-radius: 6px; overflow: hidden; border: 1px solid var(--line-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-home { aspect-ratio: 4 / 3; }
.photo-home img { object-position: 50% 42%; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border-radius: 12px; border-top: 2px solid var(--gold); padding: 30px; }
.card p { color: var(--text-soft); margin: 0; font-size: 16px; }

.quote { max-width: 44em; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0 0 18px; color: var(--head); font: italic 400 clamp(1.5rem, 2.8vw, 2rem)/1.4 var(--serif); }
.quote cite { font-style: normal; font-size: 15px; color: var(--gold); letter-spacing: .04em; }

/* Closing band: canopy at 1 Toronto Street (placeholder until Cory's own shot) */
.closer {
  position: relative; text-align: center; padding: 200px 0; overflow: hidden;
  background:
    radial-gradient(ellipse 75% 85% at 50% 55%, rgba(10,18,38,0) 0%, rgba(10,18,38,.15) 45%, rgba(10,18,38,.85) 85%, var(--bg) 100%),
    linear-gradient(180deg, rgba(10,18,38,.85) 0%, rgba(10,18,38,.05) 22%, rgba(10,18,38,.05) 70%, rgba(10,18,38,.7) 100%),
    linear-gradient(rgba(20,45,110,.38), rgba(20,45,110,.38)),
    url("../img/canopy-placeholder.jpg") center 45% / cover no-repeat,
    linear-gradient(180deg, #0f1a36, #0a1226);
}
.closer h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.2; margin-bottom: 36px; text-shadow: 0 2px 18px rgba(0,0,0,.75), 0 0 40px rgba(10,18,38,.6); }
.closer .sub { color: var(--head); }
.closer .btn { background: rgba(10,18,38,.8); }

/* Footer */
.site-footer { background: #070e1e; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 14px; padding: 40px 0; }
.site-footer .tag { font-family: var(--serif); font-style: italic; color: var(--head); font-size: 1.15rem; margin-bottom: 10px; }
.site-footer a { color: var(--text-soft); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .dot::before { content: "\00b7"; margin: 0 .5em; color: var(--gold); }

/* Inner pages */
.page-head {
  padding: 72px 0 64px;
  background: radial-gradient(ellipse at 75% 0%, #18264a 0%, transparent 60%), linear-gradient(170deg, #0f1a36 0%, #0a1226 100%);
}
.page-head p { color: #cfd8e3; max-width: 40em; font-size: 1.12rem; margin: 0; }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

.services { display: grid; gap: 16px; }
.service { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 28px 30px; border-radius: 12px; }
.service .num { font: 400 2.2rem/1 var(--serif); color: var(--gold); }
.service h3 { margin-bottom: .4em; }
.service p { margin: 0; color: var(--text-soft); }
.footnote { font-size: 14.5px; color: var(--text-soft); margin-top: 26px; }

.cases { display: grid; gap: 18px; }
.case { padding: 30px 32px; border-radius: 12px; border-left: 2px solid var(--gold); }
.case p { color: var(--text-soft); }
.case .results { color: var(--text); margin: 0; }
.case .results strong { color: var(--gold-soft); font-weight: 600; }

.leader { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.leader .photo { aspect-ratio: 4 / 5; }
.leader .name { font: 500 1.6rem/1.2 var(--serif); color: var(--head); margin-bottom: 2px; }
.leader .role { color: var(--gold); font-size: 15px; margin-bottom: 18px; }
.pull { font: italic 400 1.3rem/1.4 var(--serif); color: var(--head); border-left: 2px solid var(--gold); padding-left: 18px; margin: 22px 0 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--gold); }

/* Conferences page */
.conf-month { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding: 34px 0 12px; }
.conf-month:first-child { padding-top: 0; }
.conf { display: grid; grid-template-columns: 120px 1fr 200px; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.conf .when { font-weight: 600; color: var(--gold-soft); }
.conf .what h3 { font-size: 1.25rem; margin: 0 0 4px; }
.conf .meta { font-size: 14.5px; color: var(--text-soft); }
.conf .where { font-size: 15px; color: var(--text); }
.conf .links { font-size: 14px; margin-top: 6px; }
.conf .links a { margin-right: 14px; }
.empty { color: var(--text-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.details p { margin-bottom: .5em; }
.details strong { color: var(--head); font-weight: 600; }
.note { font-size: 15px; color: var(--text-soft); margin-top: 18px; }
form label { display: block; font-size: 14.5px; margin: 0 0 6px; color: var(--text); }
form label span { color: var(--text-soft); font-size: 13px; }
form input, form textarea {
  width: 100%; font: inherit; padding: 12px 14px; margin-bottom: 18px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: var(--head);
}
form textarea { min-height: 150px; resize: vertical; }
form input:focus, form textarea:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
form button { cursor: pointer; }
.form-msg { font-size: 15px; color: var(--gold-soft); margin-top: 12px; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--text-soft); margin-top: 10px; }
.lobby { margin-top: 56px; }
.lobby img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 6px; border: 1px solid var(--line-soft); }

/* Phone */
@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero .wrap, .split, .contact-grid, .leader { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .leader .photo { max-width: 300px; }
  .conf { grid-template-columns: 1fr; gap: 4px; }
  .ticks { grid-template-columns: 1fr; }
  .lobby img { aspect-ratio: 3 / 2; }
  .flare { width: 300px; height: 260px; }
  .panel { padding: 24px 20px 18px; border-radius: 14px; }
  .panel-head { gap: 14px; }
  .panel-icon { width: 48px; height: 48px; }
  .panel-icon svg { width: 24px; height: 24px; }
  .panel-title { font-size: 1.6rem; }
  .closer { padding: 130px 0; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .site-header { position: relative; }
  .site-header .wrap { height: 64px; }
  .brand img { height: 17px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #0f1a36; flex-direction: column; gap: 0; padding: 8px 16px 16px; z-index: 10; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .eyebrow { font-size: 1.3rem; }
  .actions { gap: 12px; }
  .actions .btn { flex: 1 1 100%; text-align: center; padding: 14px 20px; }
  .service { grid-template-columns: 1fr; gap: 6px; padding: 24px 22px; }
  .case { padding: 24px 22px; }
  .page-head { padding: 48px 0 44px; }
}

/* Nov 3 additions */
.intro-sub { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.4em; color: var(--gold-soft); max-width: 24em; }
.closer-tag { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: clamp(1.2rem, 2.2vw, 1.55rem); margin-bottom: 18px; text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.panel-note { font-size: 14px; color: var(--text-soft); margin: 16px 0 0; }
.form-head { margin-bottom: .3em; }
.team-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.team-fig svg { width: 100%; max-width: 340px; height: auto; margin: 0 auto; display: block; }
@media (max-width: 860px) {
  .team-split { grid-template-columns: 1fr; gap: 28px; }
  .team-fig svg { max-width: 260px; }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 4px 0 18px; }

/* Contact: form card over the lobby (you enter through the canopy, now you are inside) */
.lobby-hero {
  position: relative; border-top: 0; padding: 48px 0 56px; min-height: calc(100vh - 76px);
  background:
    linear-gradient(90deg, rgba(10,18,38,.35) 0%, rgba(10,18,38,.20) 45%, rgba(10,18,38,.70) 100%),
    linear-gradient(rgba(20,40,90,.35), rgba(20,40,90,.35)),
    url("../img/lobby-placeholder.jpg") 22% 100% / cover no-repeat, var(--bg);
}
.lobby-wrap { display: flex; justify-content: flex-end; }
.contact-card {
  width: min(500px, 100%); padding: 40px 42px 32px; border-radius: 14px;
  background: rgba(16,30,62,.82); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px); box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.contact-card h1 { font-size: clamp(2.4rem, 4vw, 3.2rem); margin-bottom: .2em; }
.contact-card .lead-sm { color: var(--text); font-size: 1.1rem; margin-bottom: .8em; }
.contact-card .addr { color: var(--text); margin-bottom: 24px; }
.contact-card .note { font-size: 13.5px; margin: 18px 0 0; }
.lobby-caption { position: absolute; left: 24px; bottom: 18px; font-size: 13px; color: rgba(228,232,239,.75); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
@media (max-width: 860px) {
  .lobby-hero { min-height: 0; padding: 220px 0 40px; background-position: 0 0, 0 0, 20% 0; background-size: 100% 340px, 100% 340px, auto 340px; background-repeat: no-repeat; background-color: var(--bg);
    background-image: linear-gradient(180deg, rgba(10,18,38,.1) 0%, rgba(10,18,38,.4) 60%, var(--bg) 340px), linear-gradient(rgba(20,40,90,.3), rgba(20,40,90,.3)), url("../img/lobby-placeholder.jpg"); }
  .lobby-wrap { justify-content: center; }
  .contact-card { padding: 28px 22px 24px; }
  .lobby-caption { display: none; }
}
.contact-card textarea { min-height: 110px; }
.contact-card input { padding: 10px 14px; margin-bottom: 14px; }

/* Nov 3: tagline framed top-left of the canopy band; wider Home photo (less face, more boardroom) */
.closer-tag { position: absolute; top: 34px; left: max(24px, calc((100% - 1120px) / 2 + 24px)); margin: 0; text-align: left; }
.photo-home { aspect-ratio: 1400 / 1939; max-height: 640px; }
.photo-home img { object-position: 50% 30%; }
@media (max-width: 860px) {
  .closer-tag { position: static; text-align: center; margin-bottom: 18px; }
  .photo-home { aspect-ratio: 4 / 5; max-height: none; }
}

/* Brand volume bars (from the master logo) */
.bars-hero { display: block; height: 46px; width: auto; margin-bottom: 18px; opacity: .9; }
.bars-foot { height: 19px; width: auto; vertical-align: -1px; margin-right: 10px; opacity: .75; }
@media (max-width: 640px) { .bars-hero { height: 36px; } }

/* About: photo mosaic */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 10px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 6px; border: 1px solid var(--line-soft); background: #0a1226; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 9px; font-size: 13px; color: #e4e8ef; background: linear-gradient(transparent, rgba(7,14,30,.85)); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* Services: how an engagement starts */
.engage { margin-top: 48px; }
.engage h2 { margin-bottom: 18px; }
.engage-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.engage-steps li { border-top: 2px solid var(--gold); padding: 16px 4px 0; color: var(--text-soft); }
.engage-steps .when { display: block; font: italic 400 1.25rem/1.3 var(--serif); color: var(--gold-soft); margin-bottom: 8px; }
@media (max-width: 760px) { .engage-steps { grid-template-columns: 1fr; } }

/* Header: volume bars + rising swoosh to the left of the wordmark */
.brand { display: inline-flex; align-items: flex-end; gap: 9px; }
.brand img.brand-mark { height: 30px; width: auto; margin-bottom: -1px; }
@media (max-width: 640px) { .brand img.brand-mark { height: 23px; } }

.site-footer img.bars-foot { display: inline-block; vertical-align: -3px; }

/* About: narrower Nasdaq (cols 1-2), wider TMX podium (col 4) */
.gallery-street { grid-template-columns: .8fr .8fr 1.3fr 1.1fr; }
@media (max-width: 760px) { .gallery-street { grid-template-columns: repeat(2, 1fr); } }

/* Sticky header: menu stays in reach on long pages; faint shadow once scrolled */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 18px rgba(0,0,0,.35); }
@media (max-width: 760px) { .site-header { position: sticky; } }
