/* VerLee design system: Gabarito type, flat brand blocks, square corners, marker scribbles. */
:root {
  --yellow: #fce27a;
  --teal: #1b6a8a;
  --orange: #d6672f;
  --charcoal: #383838;
  --black: #000000;
  --white: #ffffff;
  --font: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.vl { margin: 0; background: var(--white); color: var(--black); font-family: var(--font); }
.vl-root { position: relative; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, 4vw); padding-right: max(24px, 4vw); box-sizing: border-box; }
.narrow { max-width: 800px; }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: multiply; opacity: .35; }
.rel { position: relative; }
.caps { text-transform: uppercase; }
.eyebrow { font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--charcoal); }
.vl a.tlink { color: var(--teal); font-weight: 800; font-size: 18px; text-decoration: none; }
.vl a.tlink:hover { color: var(--black); text-decoration: underline; }
.vl :focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Buttons */
.vl .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; box-sizing: border-box; padding: 12px 22px; border-radius: 6px; font-weight: 800; font-size: 18px; text-decoration: none; border: 2px solid transparent; }
.vl .btn-black { background: var(--black); color: var(--white); }
.vl .btn-teal { background: var(--teal); color: var(--yellow); }
.vl .btn-yellow { background: var(--yellow); color: var(--teal); }
.vl .btn-outline { border-color: var(--black); color: var(--black); }
.vl .btn:hover { filter: brightness(1.1); }

/* Header + menu */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; }
.vl .wordmark { font-weight: 900; font-size: 26px; letter-spacing: .02em; text-transform: uppercase; color: var(--black); text-decoration: none; }
.navlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 17px; font-weight: 800; }
.vl .navlinks a { color: var(--black); text-decoration: none; }
.vl .navlinks a:hover { color: var(--teal); }
.vl .navlinks a.btn { color: var(--white); }
.menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.menu-btn, .m-only, .menu-btn .x { display: none; }
/* Pages that open on a color block: the header sits on the color, no white bar. */
.site-header.over-hero { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }

@media (max-width: 760px) {
  .m-only { display: block; }
  .menu-btn { display: inline-flex; position: relative; z-index: 2; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; border: 2px solid var(--black); border-radius: 6px; box-sizing: border-box; }
  .navlinks { display: none; position: absolute; top: 0; left: 0; right: 0; z-index: 1; background: var(--white); padding: 88px max(24px, 4vw) 24px; border-bottom: 3px solid var(--black); flex-direction: column; align-items: stretch; gap: 0; font-size: 26px; font-weight: 900; text-transform: uppercase; }
  .vl .navlinks a { padding: 18px 0; border-bottom: 1px solid var(--charcoal); }
  .vl .navlinks a.btn { margin-top: 20px; border-bottom: 0; text-transform: none; font-size: 20px; }
  .menu-toggle:checked ~ .navlinks { display: flex; }
  .menu-toggle:checked + .menu-btn .bars { display: none; }
  .menu-toggle:checked + .menu-btn .x { display: block; }
  .menu-toggle:focus-visible + .menu-btn { outline: 3px solid var(--teal); outline-offset: 2px; }
  .site-header { position: relative; }
  /* Pages that open on a color block: no bar, menu button sits on the color. */
  .site-header.over-hero { position: absolute; top: 0; left: 0; right: 0; z-index: 20; padding-top: 16px; padding-bottom: 0; justify-content: flex-end; }
  .site-header.over-hero .wordmark { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--yellow); }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; padding-top: 168px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 72px; }
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(56px, 8.6vw, 128px); line-height: .92; letter-spacing: -.01em; text-transform: uppercase; color: var(--teal); text-wrap: balance; }
.hero .lede { margin: 0; max-width: 34ch; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; color: var(--charcoal); }
.circled { position: relative; display: inline-block; }
.circled svg { position: absolute; left: -9%; top: -26%; width: 118%; height: 150%; overflow: visible; pointer-events: none; }
.hero-face { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; position: relative; padding-bottom: 72px; }
.hero-face img { width: min(360px, 100%); height: auto; display: block; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .hero-inner { flex-direction: column; align-items: stretch; gap: 0; }
  .hero-face { order: -1; flex: none; justify-content: flex-end; }
  .hero-face img { width: 200px; margin-bottom: 0; }
  .hero-inner { padding-top: 72px; }
  .hero-face { padding-bottom: 0; }
  .hero-copy { margin-top: -44px; position: relative; padding-bottom: 56px; gap: 22px; }
}

/* Sections */
.section { padding-top: 104px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head h2, .page-title h1 { margin: 0; font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.why { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.why h2 { flex: 1 1 300px; min-width: 0; margin: 0; font-weight: 800; font-size: 40px; line-height: 44px; text-wrap: balance; }
.why .body { flex: 2 1 480px; min-width: 0; max-width: 65ch; display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 28px; }
.why p { margin: 0; }

/* Color blocks */
.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.vl a.block { position: relative; overflow: hidden; text-decoration: none; padding: 48px max(24px, 3vw); display: flex; flex-direction: column; gap: 16px; min-height: 340px; box-sizing: border-box; }
.block > *:not(.grain) { position: relative; }
.block > svg:not(.grain) { width: 56px; height: 56px; flex: none; }
.block h3 { margin: 0; font-weight: 900; font-size: 44px; line-height: .95; text-transform: uppercase; }
.block p { margin: 0; font-size: 18px; line-height: 26px; flex-grow: 1; }
.block .go { font-weight: 800; font-size: 18px; transition: transform .2s; display: inline-block; }
.block:hover .go { transform: translateX(6px); }
.vl a.block-teal { background: var(--teal); color: var(--yellow); }
.block-teal p { color: var(--white); }
.vl a.block-orange { background: var(--orange); color: var(--black); }
.block-orange h3 { color: var(--yellow); }
.vl a.block-yellow { background: var(--yellow); color: var(--charcoal); }
.block-yellow h3, .block-yellow .go { color: var(--teal); }
.block img { width: 56px; height: auto; filter: brightness(0) invert(1); }

/* Article cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px 48px; }
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vl .card a { display: flex; flex-direction: column; gap: 14px; color: var(--black); text-decoration: none; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.card h3 { margin: 0; font-weight: 800; font-size: 30px; line-height: 34px; text-wrap: balance; }
.vl .card a:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.card p { margin: 0; font-size: 18px; line-height: 28px; color: var(--charcoal); }

/* Project list */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); column-gap: 48px; border-top: 3px solid var(--black); margin: 0; padding: 0; list-style: none; }
.vl .project a { display: flex; gap: 24px; align-items: flex-start; padding: 32px 0; color: var(--black); text-decoration: none; border-bottom: 3px solid var(--black); height: 100%; box-sizing: border-box; }
.project .logo { flex: none; width: 72px; height: 72px; background: var(--white); border: 1px solid #d4d4d4; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.project .logo img { width: 56px; height: 56px; object-fit: contain; }
.project .txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.project .name { font-weight: 800; font-size: 28px; line-height: 32px; }
.vl .project a:hover .name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.project .summary { font-size: 18px; line-height: 28px; color: var(--charcoal); }
.project .url { font-size: 15px; font-weight: 800; color: var(--teal); }

/* Simple page title */
.page-title { padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.page-title p { margin: 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; color: var(--charcoal); max-width: 40ch; }

/* Article page */
.post-hero { position: relative; overflow: hidden; background: var(--orange); }
.post-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
.post-hero .eyebrow { color: var(--black); }
.post-hero h1 { margin: 0; font-weight: 900; font-size: clamp(44px, 7vw, 104px); line-height: .94; text-transform: uppercase; color: var(--yellow); max-width: 14ch; text-wrap: balance; }
.post-hero p { margin: 0; max-width: 42ch; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; color: var(--black); }
.post-body { padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.post-body .feature { width: 100%; max-width: 860px; height: auto; display: block; }
article.prose { width: 100%; max-width: 68ch; font-size: 19px; line-height: 30px; color: var(--black); }
article.prose p, article.prose li, article.prose ul, article.prose ol, article.prose blockquote, article.prose a { font-size: inherit; line-height: inherit; }
article.prose h1, article.prose h2 { font-family: var(--font); font-weight: 800; font-size: 32px; line-height: 38px; margin: 48px 0 16px; color: var(--black); text-wrap: balance; }
article.prose h3 { font-weight: 800; font-size: 24px; line-height: 30px; margin: 36px 0 12px; }
article.prose a { color: var(--teal); font-weight: 800; }
article.prose a:hover { color: var(--black); }
article.prose blockquote { border-left: 0; padding: 24px 28px; background: var(--yellow); color: var(--black); }
article.prose blockquote p:last-child { margin-bottom: 0; }
article.prose img { max-width: 100%; height: auto; }

/* Bands + footer */
.band { position: relative; overflow: hidden; background: var(--teal); }
.band .wrap { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.band p { margin: 0; font-weight: 900; font-size: clamp(36px, 4.5vw, 56px); line-height: .95; text-transform: uppercase; color: var(--yellow); max-width: 16ch; }
.site-footer { background: var(--black); color: var(--white); margin-top: 96px; }
.band + .site-footer { margin-top: 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-top: 72px; padding-bottom: 48px; }
.site-footer .big { margin: 0; font-weight: 900; font-size: clamp(40px, 5vw, 64px); line-height: .95; text-transform: uppercase; color: var(--yellow); max-width: 12ch; }
.site-footer .small { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 20px; }
.vl .site-footer a { color: var(--white); }

@media (prefers-reduced-motion: reduce) { .block .go { transition: none; } }

/* Article photos with captions */
article.prose figure { margin: 40px 0; }
article.prose figure img { width: 100%; height: auto; display: block; margin: 0; }
article.prose figcaption { margin-top: 10px; font-size: 15px; line-height: 22px; color: #555; }
