/* usihp.com, built by build.py. Dark char and paper, USI blue, the flyer's light Avenir headlines (Nunito Sans) and
   Arno body (EB Garamond, regular only: no italics anywhere). */
:root {
  --char: #1c1c1e; --deep: #0f0e0d; --char-2: #26272b;
  --paper: #f5f5f3; --white: #ffffff; --band: #ebedef;
  --blue: #00539b; --blue-deep: #003f78; --blue-sub: #5074b1; --soft-blue: #c8d7ea; --sky: #9fc1e6;
  --ink: #3d3f42; --grey: #6d6e71; --grey-dark: #545456; --hair: #cdd1d5;
  --on-dark: #eeeff1; --on-dark-mute: #a9adb4; --line-dark: rgba(255, 255, 255, .16);
  --sans: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --serif: "EB Garamond", "Arno Pro", Garamond, Georgia, serif;
  --wrap: 1120px; --gutter: max(24px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--grey-dark); font: 400 18px/1.6 var(--serif); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 300; letter-spacing: -0.005em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
h3 { font-size: 21px; font-weight: 600; line-height: 1.3; }
em { font-style: normal; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.label { display: block; font: 900 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.label-soft { color: var(--sky); }
.sub { font: 400 17px/1.6 var(--sans); color: var(--grey); }
.lead { font: 300 20px/1.55 var(--sans); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 15px 22px; border-radius: 3px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, box-shadow .2s, transform .08s; }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 10px 14px; font-size: 14px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); box-shadow: 0 8px 20px rgba(0, 83, 155, .28); }
.btn-white { background: #fff; color: var(--char); }
.btn-white:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--char); }
.btn-line { border-color: var(--blue); color: var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }
.light .btn-ghost, .paper .btn-ghost { border-color: var(--blue); color: var(--blue); }
.light .btn-ghost:hover, .paper .btn-ghost:hover { background: var(--blue); color: #fff; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: var(--char); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 30px; width: auto; background: #fff; padding: 3px 5px; border-radius: 2px; }
.brand span { font: 300 16px var(--sans); color: var(--on-dark); padding-left: 12px; border-left: 1px solid var(--line-dark); }
.links { display: flex; align-items: center; gap: 26px; }
.links a, .dd > button { font: 400 15px var(--sans); color: var(--on-dark); text-decoration: none; padding: 6px 0; border: 0; background: none; cursor: pointer; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.links a:hover, .dd > button:hover, .links a[aria-current="page"] { border-bottom-color: var(--sky); }
.dd { position: relative; }
.dd > button::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.dd-menu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 240px; background: var(--char-2); border: 1px solid var(--line-dark); border-radius: 6px; padding: 8px; display: none; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 4px; border-bottom: 0; }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: rgba(255, 255, 255, .08); border-bottom: 0; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: block; }
.actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.menu-btn span { width: 22px; height: 2px; background: var(--on-dark); transition: transform .2s, opacity .2s; }
.mnav { display: none; background: var(--char-2); border-top: 1px solid var(--line-dark); }
.mnav .wrap { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 20px; }
.mnav .label { margin: 14px 0 4px; }
.mnav a { font: 400 18px var(--sans); color: var(--on-dark); text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line-dark); }
html.nav-open .mnav { display: block; }
html.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
html.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero: a moving visual, four photos that drift and cross-fade */
.hero { position: relative; background: var(--char); color: var(--on-dark); overflow: hidden; min-height: 620px; display: flex; align-items: center; }
.hero-sm { min-height: 460px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: drift 28s linear infinite; will-change: opacity, transform; }
@keyframes drift { 0% { opacity: 0; transform: scale(1.02); } 8% { opacity: 1; } 29% { opacity: 1; } 37% { opacity: 0; transform: scale(1.15); } 100% { opacity: 0; transform: scale(1.15); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 21, 24, .94) 0%, rgba(20, 21, 24, .78) 42%, rgba(20, 21, 24, .3) 100%), linear-gradient(180deg, rgba(20, 21, 24, .35), rgba(20, 21, 24, 0) 30%, rgba(20, 21, 24, .55) 100%); }
.hero-in { position: relative; padding-top: 72px; padding-bottom: 80px; width: 100%; }
.hero h1 { color: #fff; margin-top: 16px; max-width: 13em; }
.hero .lead { color: #dfe3e8; max-width: 32em; margin: 22px 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* sections */
.sec { padding-top: 96px; padding-bottom: 96px; }
.sec.light { background: var(--white); }
.sec.paper { background: var(--paper); }
.sec.dark { background: var(--char); color: var(--on-dark); }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark .sub { color: var(--on-dark-mute); }
.sec.dark .label { color: var(--sky); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.head h2 { margin-top: 12px; }
.head .sub { margin-top: 14px; max-width: 36em; }
.prose { max-width: 46em; }
.prose a { color: var(--blue); }

/* tiles: fully clickable */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; background: var(--paper); text-decoration: none; color: var(--grey-dark); border-radius: 4px; overflow: hidden; transition: transform .2s, box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(28, 28, 30, .16); }
.tile .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--char); }
.tile .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover .pic img { transform: scale(1.05); }
.tbody { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.tbody b { font: 600 18px/1.25 var(--sans); color: var(--ink); }
.tbody > span { font-size: 16px; line-height: 1.5; }
.more { margin-top: auto; padding-top: 10px; font: 600 14px var(--sans); color: var(--blue); }
.more::after { content: " \2192"; }

/* cards, columns, coverage grid, checklist, steps */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--paper); border-top: 3px solid var(--blue); padding: 28px 26px 30px; transition: transform .2s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 28, 30, .1); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 17px; }
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--grey); }
.cols > div { padding: 22px 22px 6px 0; }
.cols > div + div { padding-left: 22px; border-left: 1px solid var(--hair); }
.cols h3 { font-size: 18px; color: var(--blue-sub); font-weight: 800; margin-bottom: 8px; }
.cols p { font-size: 17px; }
.cols:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cov { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.cov > div { padding: 24px 22px 28px 0; border-bottom: 1px solid var(--line-dark); transition: background .2s, padding .2s; }
.cov > div:hover { background: rgba(255, 255, 255, .04); padding-left: 10px; }
.cov b { display: block; font: 600 16px/1.3 var(--sans); color: #fff; margin-bottom: 6px; }
.cov span { font-size: 16.5px; color: var(--on-dark-mute); line-height: 1.5; }
.check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.check li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--hair); position: relative; font-size: 18px; }
.check li::before { content: ""; position: absolute; left: 0; top: 19px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M4.5 9.3l3 3 6-6.2' fill='none' stroke='white' stroke-width='2'/></svg>") center / 18px no-repeat; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--paper); padding: 30px 28px 32px; border-top: 3px solid var(--blue); transition: transform .2s, box-shadow .25s; }
.step:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 83, 155, .1); }
.step .num { display: block; font: 300 46px/1 var(--sans); color: var(--blue); }
.step h3 { margin: 16px 0 10px; }
.step p { font-size: 17px; }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--grey); }
.timeline div { padding: 16px 12px 0 0; position: relative; }
.timeline div::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.timeline b { display: block; font: 300 24px var(--sans); color: var(--ink); }
.timeline span { display: block; font-size: 16px; color: var(--grey); margin-top: 4px; }

/* dark call to action */
.band .band-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.band .lead { color: var(--on-dark-mute); margin-top: 14px; max-width: 30em; }
.band .contact { margin-top: 18px; font: 400 15px var(--sans); color: var(--on-dark-mute); }
.band .contact a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.band .contact a:hover { border-bottom-color: #fff; }
.band .cta { justify-content: flex-end; }

/* questions */
.faq { max-width: 860px; }
details { border-bottom: 1px solid var(--hair); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font: 600 17px/1.4 var(--sans); color: var(--ink); transition: color .15s, padding .15s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--blue); padding-left: 10px; }
summary::after { content: ""; flex: 0 0 9px; height: 9px; border-right: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(45deg); margin-right: 6px; transition: transform .2s; }
details[open] summary::after { transform: rotate(225deg); }
details p { padding: 0 4px 22px; max-width: 46em; }

/* glossary page */
.gh { margin: 56px 0 20px; }
.gh:first-child { margin-top: 0; }
.gloss { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g { background: var(--paper); padding: 22px 22px 24px; border-top: 3px solid var(--blue); scroll-margin-top: 90px; }
.g h3 { font-size: 18px; margin-bottom: 8px; }
.g p { font-size: 16.5px; }

/* about, book */
.about { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.about p + p { margin-top: 14px; }
.about .sub { margin-bottom: 18px; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; font: 400 16px var(--sans); }
.contact-lines a { color: var(--blue); text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.book .calendly-inline-widget { border: 1px solid var(--hair); border-radius: 4px; overflow: hidden; }
.book-alt { margin-top: 14px; }
.book-alt a { color: var(--blue); }
.book-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.book-contact .label { margin-bottom: 10px; }
.book-contact .big { font: 300 26px/1.4 var(--sans); }
.book-contact a { color: var(--blue); text-decoration: none; }
.book-contact a:hover { text-decoration: underline; }

/* a term with a definition: dotted underline, hover or tap */
.term { cursor: help; border-bottom: 1px dotted var(--blue); color: inherit; transition: background .15s; border-radius: 2px; }
.term:hover, .term:focus-visible, .term.on { background: rgba(0, 83, 155, .1); }
.sec.dark .term { border-bottom-color: var(--sky); }
.sec.dark .term:hover, .sec.dark .term:focus-visible, .sec.dark .term.on { background: rgba(159, 193, 230, .16); }
.tip { position: absolute; z-index: 40; background: var(--char); color: var(--on-dark); border-top: 3px solid var(--blue); border-radius: 4px; padding: 14px 16px 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font: 400 15px/1.5 var(--sans); pointer-events: none; }
.tip b { display: block; font-weight: 800; color: #fff; margin-bottom: 4px; }
.tip p { margin: 0; color: #d5d8dd; }

/* footer */
footer { background: var(--deep); color: var(--on-dark-mute); padding: 64px 0 32px; font: 400 15px/1.7 var(--sans); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot img { height: 30px; width: auto; background: #fff; padding: 3px 5px; border-radius: 2px; margin-bottom: 14px; }
.foot b { display: block; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: #fff; margin-bottom: 8px; }
.foot a { display: block; color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.fine { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.fine a { color: var(--on-dark); }

@media (max-width: 980px) {
  .links, .actions .btn { display: none; }
  .menu-btn { display: flex; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols, .cols:has(> :nth-child(3):last-child) { grid-template-columns: 1fr 1fr; }
  .cols > div + div { padding-left: 0; border-left: 0; }
  .cols > div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--hair); }
  .cov { grid-template-columns: 1fr 1fr; }
  .cards, .steps, .gloss, .book-contact { grid-template-columns: 1fr; }
  .head { flex-direction: column; align-items: flex-start; }
  .band .band-in, .about { grid-template-columns: 1fr; }
  .band .cta { justify-content: flex-start; }
  .check { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .hero { min-height: 560px; }
  .hero-sm { min-height: 420px; }
}
@media (max-width: 600px) {
  :root { --gutter: max(16px, env(safe-area-inset-left, 0px)); }
  .wrap { padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  body { font-size: 17px; }
  .tiles, .cov, .foot, .cols, .cols:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
  .cols > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .timeline { grid-template-columns: 1fr; border-top: 0; }
  .timeline div { border-left: 1px solid var(--grey); padding: 0 0 18px 18px; }
  .timeline div::before { left: -6px; top: 6px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(20, 21, 24, .72), rgba(20, 21, 24, .86)); }
  .hero-in { padding-top: 56px; padding-bottom: 60px; }
  .hero { min-height: 0; }
  .btn { width: 100%; }
  .actions .btn-white { display: inline-flex; width: auto; }
  .sec { padding-top: 60px; padding-bottom: 60px; }
  .head { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .hero-bg img { animation: none !important; opacity: 0; }
  .hero-bg img:first-child { opacity: 1; }
}
