/* Verification Labs site stylesheet. One file, no frameworks. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/inter-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/inter-tight-latin-var.woff2") format("woff2"); }

:root {
  --black: #000;
  --white: #fff;
  --soft: #dfe6f5;
  --grey: #a3acbd;
  --dim: #6b7486;
  --rule: rgba(255, 255, 255, 0.16);
  --blue: #024fc2;
  --blue-lit: #2f7dff;
  --cyan: #00abf6;
  --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 1.25rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; padding-bottom: 3.75rem; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, label:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.display { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.9; text-wrap: balance; }
.label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em; color: var(--grey); }
.skip { position: absolute; left: -999rem; top: 0; z-index: 100; padding: 0.75rem 1rem; background: var(--white); color: var(--black); }
.skip:focus { left: 0; }

/* Photography. Every image is pulled into the brand blue; .natural keeps real colour. */
.ph { position: relative; overflow: hidden; background: #020b22; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); transition: transform 1.2s var(--ease), filter 0.8s var(--ease); }
.ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #2a6fe0, #022a78); mix-blend-mode: color; transition: opacity 0.8s var(--ease); }
.ph::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.9) 100%); }
.ph > .over { position: relative; z-index: 3; }
.ph.natural { background: #0a0a0a; }
.ph.natural img { filter: brightness(0.8) contrast(1.06) saturate(0.92); }
.ph.natural::before { display: none; }
.ph.natural::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; height: 3.25rem; padding: 0 1.5rem; font-weight: 600; font-size: 0.95rem; white-space: nowrap; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { background: var(--blue-lit); color: var(--white); }
.btn-line { border: 1px solid rgba(255, 255, 255, 0.55); }
.btn-line:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.plus { position: relative; width: 0.7rem; height: 0.7rem; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 4.25rem; padding-inline: var(--gutter); background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0)); }
.wordmark { display: flex; align-items: baseline; gap: 0.35em; font: 600 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.wordmark span { font-weight: 500; color: var(--soft); }
.nav-links { display: none; gap: 2.25rem; font-size: 0.95rem; font-weight: 500; }
.nav-links a { opacity: 0.82; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; font-size: 0.95rem; font-weight: 500; }
.nav-right .tel, .nav-right .btn { display: none; }
.nav-right .btn { height: 2.5rem; padding: 0 1.1rem; font-size: 0.88rem; }
#menu { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: 0.95rem; font-weight: 500; }
.burger .plus { transition: transform 0.3s var(--ease); }
.overlay { position: fixed; inset: 0; z-index: 40; display: none; flex-direction: column; justify-content: flex-end; padding: 6rem var(--gutter) 5.5rem; background: var(--black); overflow-y: auto; }
#menu:checked ~ .overlay { display: flex; }
#menu:checked ~ .nav .burger .plus { transform: rotate(45deg); }
.overlay a { display: block; padding: 0.55rem 0; border-top: 1px solid var(--rule); font: 600 clamp(1.6rem, 7.4vw, 2.6rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: -0.03em; }
.overlay a:last-child { border-bottom: 1px solid var(--rule); }
.overlay small { display: block; margin-top: 0.3rem; font: 400 0.85rem var(--body); letter-spacing: 0; text-transform: none; color: var(--grey); }

/* Home hero */
.hero { min-height: min(100svh, 62rem); display: flex; flex-direction: column; justify-content: flex-end; }
.hero.ph img { animation: drift 24s ease-out both; }
@keyframes drift { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero .over { padding: 7rem var(--gutter) 0; }
.hero h1 { font-size: clamp(3.2rem, 15vw, 6.5rem); }
.hero h1 span { display: block; }
.hero-foot { margin-top: 2rem; display: grid; gap: 1.75rem; padding-bottom: 2rem; }
.hero-foot p { max-width: 31rem; font-size: 1.1rem; color: var(--soft); }
.strip { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.strip li { padding: 1rem 0.75rem 1rem 0; font-size: 0.82rem; line-height: 1.35; color: var(--grey); }
.strip li:nth-child(n+3) { border-top: 1px solid var(--rule); }
.strip b { display: block; font-weight: 600; color: var(--white); }

/* Inner page hero */
.page-hero { min-height: min(78svh, 46rem); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero .over { padding: 7rem var(--gutter) 2.25rem; }
.page-hero .label { color: var(--soft); }
.page-hero h1 { margin-top: 1rem; font-size: clamp(2.7rem, 11.5vw, 8rem); max-width: 13ch; }
.page-hero.plain { min-height: 0; background: var(--black); }
.page-hero.plain .over { padding-top: 8.5rem; }
.page-hero.plain::before, .page-hero.plain::after { display: none; }
.crumbs { display: flex; gap: 0.5rem; }
.crumbs a { color: var(--grey); }
.crumbs a:hover { color: var(--white); }

/* Statement */
.statement { padding: 5rem var(--gutter); display: grid; gap: 2rem; }
.statement .big { font: 500 clamp(1.7rem, 4.6vw, 3.6rem)/1.1 var(--display); letter-spacing: -0.03em; max-width: 25ch; text-wrap: balance; }
.statement .big em { font-style: normal; color: var(--dim); }

/* Section scaffolding */
.sec { padding: 5rem var(--gutter); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter) 1.5rem; }
.sec-head h2, .sec > h2 { font-size: clamp(2.4rem, 8vw, 6rem); }
.sec > h2 { margin-bottom: 2.5rem; }
.sec > .intro { margin: -1rem 0 2.5rem; max-width: 38rem; font-size: 1.12rem; color: var(--grey); }

/* Service panels */
.panels { display: grid; gap: 0.5rem; padding-inline: 0.5rem; }
.panel { display: flex; min-height: 30rem; }
.panel .over { display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding: 1.25rem; }
.panel-top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.8rem; font-weight: 500; }
.go { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255, 255, 255, 0.5); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.panel h3 { font-size: clamp(2rem, 7vw, 3.4rem); max-width: 12ch; }
.panel p { margin-top: 1rem; max-width: 27rem; color: var(--soft); }
.panel:hover img { transform: scale(1.05); filter: grayscale(0.25) contrast(1.05); }
.panel:hover::before { opacity: 0.25; }
.panel:hover .go { background: var(--white); color: var(--black); }
.tag-new { margin-left: 0.6rem; padding: 0.15rem 0.45rem; background: var(--blue-lit); color: var(--white); }

/* Track record */
.record { padding: 5rem var(--gutter) 0; }
.record ul { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.record li { padding: 1.5rem 0.75rem 2.25rem 0; border-bottom: 1px solid var(--rule); }
.record strong { display: block; font: 500 clamp(2.6rem, 9vw, 6.5rem)/0.95 var(--display); letter-spacing: -0.045em; }
.record span { display: block; margin-top: 0.75rem; font-size: 0.9rem; color: var(--grey); max-width: 15rem; }
.trained { padding: 2rem var(--gutter) 0; display: grid; gap: 1rem; }
.trained ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; font: 500 clamp(1.15rem, 2.6vw, 1.7rem)/1.2 var(--display); letter-spacing: -0.015em; }

/* Founder block and portrait splits */
.founder { margin-top: 5rem; display: grid; }
.founder .ph { min-height: 30rem; }
.founder .ph img { object-position: 30% 20%; }
.founder-copy { padding: 3rem var(--gutter); display: flex; flex-direction: column; gap: 1.5rem; }
.founder-copy h2, .founder-copy h1 { font-size: clamp(2.6rem, 9vw, 6.5rem); }
.founder-copy blockquote { font: 500 clamp(1.35rem, 2.6vw, 2rem)/1.2 var(--display); letter-spacing: -0.02em; max-width: 26ch; }
.founder-copy p { max-width: 34rem; color: var(--grey); }
.founder-copy .lede { font-size: 1.15rem; color: var(--soft); }
.certs { font-size: 0.82rem; color: var(--dim); letter-spacing: 0.04em; }
.founder.top { margin-top: 0; padding: 6.5rem var(--gutter) 0; gap: 2rem; }
.founder.top .ph { min-height: 0; aspect-ratio: 4 / 5; width: min(100%, 16rem); }
.founder.top .founder-copy { padding: 0 0 1rem; }

/* Numbered method */
.method ol { border-top: 1px solid var(--rule); counter-reset: m; }
.method li { counter-increment: m; display: grid; gap: 0.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.method li::before { content: "0" counter(m); font-size: 0.8rem; font-weight: 500; color: var(--blue-lit); }
.method h3, .rows h3 { font: 600 clamp(1.5rem, 3.2vw, 2.4rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: -0.03em; }
.method p, .rows p { color: var(--grey); max-width: 36rem; }
.method li > span { font-size: 0.85rem; color: var(--dim); }

/* Ruled rows: scope, deliverables, topics */
.rows { border-top: 1px solid var(--rule); }
.rows > li { display: grid; gap: 0.6rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.rows a.inline, .prose a, .tbl a, .faq a { text-decoration: underline; text-decoration-color: var(--blue-lit); text-underline-offset: 0.2em; }
.rows a.inline:hover, .prose a:hover, .tbl a:hover, .faq a:hover { color: var(--cyan); }

/* Three-up notes */
.trio { display: grid; gap: 2rem; border-top: 1px solid var(--rule); padding-top: 2rem; }
.trio h3 { font: 600 1.35rem/1.1 var(--display); letter-spacing: -0.02em; }
.trio p { margin-top: 0.75rem; color: var(--grey); }

/* Prose split: label left, text right */
.split { padding: 5rem var(--gutter); display: grid; gap: 1.5rem; }
.split + .split { padding-top: 0; }
.prose { display: grid; gap: 1.1rem; max-width: 44rem; }
.prose h2 { font: 600 clamp(1.8rem, 4vw, 3rem)/1 var(--display); text-transform: uppercase; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.prose p { color: var(--soft); }
.prose p.lede { font: 500 clamp(1.4rem, 2.8vw, 2.1rem)/1.18 var(--display); letter-spacing: -0.02em; color: var(--white); }
.prose ul { display: grid; gap: 0.6rem; }
.prose ul li { padding-left: 1.4rem; position: relative; color: var(--soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.6rem; height: 1.5px; background: var(--blue-lit); }
.prose .actions { margin-top: 1rem; }
.kv { border-top: 1px solid var(--rule); }
.kv div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.kv dt { font-weight: 600; }
.kv dd { color: var(--grey); }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; font: 500 clamp(1.15rem, 2.2vw, 1.5rem)/1.2 var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { transition: transform 0.3s var(--ease); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.6rem; max-width: 44rem; color: var(--grey); }

/* Talks table */
.tbl { width: 100%; border-collapse: collapse; border-top: 1px solid var(--rule); font-size: 0.98rem; }
.tbl th { text-align: left; font-size: 0.8rem; font-weight: 500; color: var(--dim); padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--rule); }
.tbl td { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--grey); }
.tbl td:first-child { color: var(--white); font-weight: 500; }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; white-space: nowrap; text-align: right; }

.actions.after { margin-top: 2rem; }
.year { font-size: clamp(2.4rem, 6vw, 4.5rem); color: var(--dim); }
@media (max-width: 47.99rem) { .tbl.wide th:nth-child(3), .tbl.wide td:nth-child(3) { display: none; } }

/* Talk pages */
.talk { padding: 0 var(--gutter) 4rem; display: grid; gap: 2.5rem; }
.slide { display: block; border: 1px solid var(--rule); background: #05070c; transition: border-color 0.3s var(--ease); }
.slide:hover { border-color: var(--white); }
.slide img { width: 100%; height: auto; }
.slide > span { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 600; font-size: 0.95rem; border-top: 1px solid var(--rule); }
.links { border-top: 1px solid var(--rule); }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); font: 500 clamp(1.1rem, 2.2vw, 1.4rem)/1.2 var(--display); letter-spacing: -0.015em; transition: padding 0.3s var(--ease), color 0.3s var(--ease); }
.links a:hover { padding-left: 0.75rem; color: var(--cyan); }
.links small { display: block; margin-top: 0.25rem; font: 400 0.88rem var(--body); letter-spacing: 0; color: var(--grey); }

/* Closing call to action */
.close { min-height: min(88svh, 54rem); display: flex; align-items: flex-end; }
.close .over { width: 100%; padding: 4rem var(--gutter) 3rem; }
.close h2 { font-size: clamp(3.2rem, 11vw, 10rem); max-width: 12ch; }
.close-foot { margin-top: 2rem; display: grid; gap: 1.5rem; }
.close-foot p { max-width: 28rem; font-size: 1.1rem; color: var(--soft); }
.close.short { min-height: min(60svh, 34rem); }
.close.short h2 { font-size: clamp(2.6rem, 8vw, 6.5rem); max-width: 14ch; }

/* Footer */
footer { padding: 3.5rem var(--gutter) 2rem; font-size: 0.92rem; }
.foot { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
.foot-logo { grid-column: 1 / -1; }
.foot-logo img { height: 4.5rem; width: auto; filter: grayscale(1) brightness(1.75) contrast(1.1); }
.foot h3 { font-size: 0.8rem; font-weight: 500; color: var(--dim); margin-bottom: 1rem; }
.foot li + li { margin-top: 0.55rem; }
.foot a { color: var(--grey); transition: color 0.2s; }
.foot a:hover { color: var(--white); }
.legal { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.8rem; color: var(--dim); }

/* Phone action bar */
.dock { position: fixed; inset: auto 0 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 2fr; }
.dock .btn { height: 3.75rem; }
.dock .btn-line { background: var(--black); border-width: 1px 0 0 0; border-color: var(--rule); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
  .hero h1 { font-size: min(8.7vw, 11rem); }
  .hero h1 span { white-space: nowrap; }
  .nav-right .btn { display: inline-flex; }
  .foot-logo img { height: 6.5rem; }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .strip li { border-top: 0 !important; padding-block: 1.25rem; }
  .hero-foot, .close-foot { grid-template-columns: 1fr auto; align-items: end; }
  .page-hero h1 { font-size: clamp(4rem, 8.4vw, 9rem); }
  .panels { grid-template-columns: 1fr 1fr; }
  .panel.lead { grid-column: 1 / -1; min-height: 38rem; }
  .panels:has(> .lead) > .panel:last-child:nth-child(even) { grid-column: 1 / -1; }
  .panel { min-height: 34rem; }
  .panel .over { padding: 2rem; }
  .record ul { grid-template-columns: repeat(4, 1fr); }
  .record li + li { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
  .method li { grid-template-columns: 4rem 1fr 1.4fr 8rem; align-items: baseline; gap: 2rem; padding: 2rem 0; }
  .method li > span { text-align: right; }
  .rows > li { grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: baseline; padding: 2rem 0; }
  .trio { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .talk { grid-template-columns: 1.5fr 1fr; align-items: start; gap: 3rem; }
  .foot { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot-logo { grid-column: auto; }
}

@media (min-width: 64rem) {
  body { padding-bottom: 0; }
  .dock, .burger { display: none; }
  .nav-links { display: flex; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-right .tel { display: inline; }
  .wordmark { font-size: 1.2rem; }
  .statement { grid-template-columns: 1fr 3fr; padding-block: 9rem; }
  .sec { padding-block: 8rem; }
  .split { grid-template-columns: 1fr 3fr; padding-block: 8rem; }
  .panel.lead { min-height: 44rem; }
  .panel.lead h3 { font-size: clamp(3.4rem, 6vw, 6rem); max-width: 14ch; }
  .record { padding-top: 9rem; }
  .trained { grid-template-columns: 1fr 3fr; padding-top: 3rem; }
  .founder { grid-template-columns: 1fr 1fr; margin-top: 9rem; }
  .founder .ph { min-height: 52rem; }
  .founder-copy { padding: 4rem 4rem 4rem 5rem; justify-content: flex-end; }
  .founder.top { margin-top: 0; grid-template-columns: 22rem 1fr; gap: 4.5rem; align-items: end; padding-top: 9rem; }
  .founder.top .ph { min-height: 0; width: 100%; }
  .founder.top .founder-copy { padding: 0; }
}
