/* Pellegrinello · v5 layer
   Loaded after styles.css (and portfolio.css). It only adds or overrides:
   1. a graphite top bar, hero, stage band, downloads band and footer, in the
      tone of the one-pagers. The hexagon mosaic appears ONLY in the hero.
   2. a solid cream page; the cursor (UV-350 effect) reveals assets/mosaic-crema.webp, the same pattern that sits under the hero shade
   3. details taken from the one-pagers (pill chips, gold eyebrows, steps in Poiret One, fact cards)
   4. the "Saiba mais" panel of each service
   No hexagon animation. Motion is limited to soft fade-ins. */

:root {
  --dark: var(--grafite);
  --on-dark-1: var(--creme-claro);
  --on-dark-2: var(--rejunte);
  --on-dark-3: var(--salvia);
}

/* ---------- plain page: no mosaic behind the site ---------- */
body::before { display: none; }
.hero, #services, #clients, #contact, .uv-page, .uv-body { background: none; }
.about, .tool { background: var(--creme); }
.pillar-3::after { display: none; }

/* ---------- dark surfaces ---------- */
.dark { position: relative; background: var(--dark); color: var(--on-dark-1); }
.dark h1, .dark h2, .dark h3 { color: var(--on-dark-1); }
.dark .eyebrow { color: var(--ouro); }
.dark a { color: var(--ouro); }
.dark a:hover { color: var(--creme-claro); }
.dark p { color: var(--on-dark-2); }
.dark .btn-primary { background: var(--ouro); color: var(--grafite); box-shadow: none; }
.dark .btn-primary:hover { background: var(--creme-claro); color: var(--grafite); }
.dark .btn-ghost { color: var(--creme-claro); border-color: rgba(243,239,230,.5); }
.dark .btn-ghost:hover { background: rgba(243,239,230,.1); border-color: var(--creme-claro); color: var(--creme-claro); }

/* ---------- top bar ---------- */
.topbar { background: rgba(51,55,56,.95); border-bottom: 1px solid rgba(243,239,230,.12); }
.brandmark .tag { color: var(--on-dark-2); }
.brandmark.no-logo .logo-text { color: var(--creme-claro); }
.nav-links a { color: var(--creme-claro); }
.nav-links a:hover { color: var(--ouro); border-bottom-color: var(--ouro); }
.lang { background: rgba(243,239,230,.08); border-color: rgba(243,239,230,.2); }
.lang button { color: var(--on-dark-2); }
.lang button.active { background: var(--creme-claro); color: var(--grafite); box-shadow: none; }
.topbar .btn-primary { background: var(--ouro); color: var(--grafite); box-shadow: none; }
.topbar .btn-primary:hover { background: var(--creme-claro); color: var(--grafite); }
@media (max-width: 900px) { .nav-links { border-top-color: rgba(243,239,230,.14); justify-content: safe center; } }

/* the UV cursor stays legible over dark areas */
body.on-dark .uv-cursor .hex { stroke: var(--creme-claro); opacity: .85; }

/* ---------- hero: the mosaic under a flat graphite shade, hard edge ---------- */
/* The image is fixed to the viewport, exactly like the cursor-reveal layer, so the
   pattern continues unbroken from the hero into the cream area below. */
section.hero { background: none !important; padding: clamp(72px, 11vw, 132px) 0 clamp(56px, 8vw, 104px); }
section.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(51,55,56,.86), rgba(51,55,56,.86)),
    url("assets/mosaic-crema.webp") center / cover no-repeat fixed;
}
section.hero > .container { position: relative; }
section.hero .eyebrow {
  display: inline-block; margin-bottom: 28px; color: var(--creme-claro);
  border: 1px solid rgba(243,239,230,.45); border-radius: 999px; padding: 7px 16px;
  font-size: 12px; letter-spacing: .22em;
}
section.hero h1 { color: var(--creme-claro); }
section.hero .lead { color: var(--on-dark-2); }
section.hero .origin { color: var(--on-dark-3); }
section.hero .cta-row .textlink { color: var(--ouro); border-bottom-color: var(--ouro); }
section.hero .cta-row .textlink:hover { color: var(--creme-claro); border-color: var(--creme-claro); }
.hero .code-anim { color: var(--on-dark-3); opacity: .85; }
.hero .code-anim .prompt { color: var(--ouro); }
.hero .code-anim .caret { background: var(--ouro); }

/* ---------- details borrowed from the one-pagers ---------- */
.eyebrow { color: var(--ouro-tinta); font-weight: 500; }
.svc-card { background: var(--creme); }
.svc-card .code {                          /* the chip: "Create" */
  align-self: flex-start; border: 1px solid var(--ouro); border-radius: 999px;
  padding: 5px 12px; font-size: 11.5px; letter-spacing: .2em;
}
.svc-card .nature { font-weight: 500; color: var(--ouro-tinta); letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; }
.svc-card .svc-link { font-weight: 500; }
.svc-card .svc-more { align-self: flex-start; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---------- stage band: Discover · Plan · Create · Operate · Measure ---------- */
#services .section-head { margin-bottom: 36px; }
.journey { padding: clamp(40px, 5vw, 60px) 0; margin: 8px 0 44px; }
.jr-track { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.jr-track::before { content: ""; position: absolute; top: 33px; left: 10%; right: 10%; height: 1px; background: rgba(191,159,109,.55); }
.jr-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 6px; }
.jr-hex { position: relative; width: 58px; height: 66px; display: grid; place-items: center; }
.jr-hex svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jr-hex path { fill: var(--ouro); stroke: var(--ouro); stroke-width: 1.2; }
.jr-hex b { position: relative; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1; color: var(--grafite); -webkit-text-stroke: .5px currentColor; }
.jr-name { font-family: var(--display); text-transform: uppercase; letter-spacing: .22em; font-size: 15px; color: var(--ouro); -webkit-text-stroke: .5px currentColor; }
.jr-list { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; color: var(--on-dark-2); }
.jr-list a { color: var(--creme-claro); border-bottom: 1px solid rgba(191,159,109,.7); align-self: center; }
.jr-list a:hover { color: var(--ouro); }
@media (max-width: 760px) {                      /* vertical path on phones */
  .jr-track { grid-template-columns: 1fr; gap: 26px; padding-left: 4px; }
  .jr-track::before { top: 30px; bottom: 30px; left: 33px; right: auto; width: 1px; height: auto; }
  .jr-step { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; gap: 4px 18px; padding: 0; }
  .jr-hex { flex: 0 0 58px; }
  .jr-name { flex: 1 1 calc(100% - 80px); }
  .jr-list { flex: 1 1 100%; padding-left: 76px; margin-top: -10px; }
  .jr-list a { align-self: flex-start; }
}

/* ---------- soft fade-in on scroll ---------- */
.js .reveal:not(.in) { opacity: 0; transform: translateY(16px); }
.reveal { transition: opacity .6s ease, transform .6s ease, box-shadow .2s ease, border-color .2s ease; transition-delay: calc(var(--i, 0) * .07s); }
.reveal.in { opacity: 1; }
.svc-card.reveal.in:hover { transition-delay: 0s; }

/* ---------- downloads band and footer: plain graphite ---------- */
.give.dark { background: var(--dark); }
.give.dark .dl-card { background: rgba(90,100,89,.22); }
body > .wrap > footer { background: var(--dark); color: var(--on-dark-1); border-top: 0; }
footer .fnote { color: var(--on-dark-2); }
footer .fbrand.no-logo .flogo-text { color: var(--creme-claro); }

/* ============================================================
   "Saiba mais": service detail panel
   ============================================================ */
body.modal-open { overflow: hidden; }
.svc-modal, .svc-modal * { cursor: auto !important; }
.svc-modal button, .svc-modal a { cursor: pointer !important; }
.svc-modal {
  width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  margin: auto; padding: 0; border: 0; border-radius: 24px; overflow: auto; overscroll-behavior: contain;
  background: var(--creme-claro); color: var(--ink);
  box-shadow: 0 30px 100px rgba(20,22,22,.45);
}
.svc-modal::backdrop { background: rgba(31,34,34,.62); backdrop-filter: blur(3px); }
.svc-modal[open] { animation: sm-in .28s ease; }
@keyframes sm-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sm-close {
  position: absolute; top: 14px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(243,239,230,.4); background: rgba(51,55,56,.5); color: var(--creme-claro);
  font-size: 26px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px;
}
.sm-close:hover { background: var(--ouro); color: var(--grafite); border-color: var(--ouro); }
.sm-head { background: var(--dark); color: var(--on-dark-1); padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 52px); }
.sm-chip {
  display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid rgba(243,239,230,.45); border-radius: 999px; padding: 6px 15px; margin-bottom: 22px;
}
.sm-head h2 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1; letter-spacing: .06em; color: var(--creme-claro); padding-right: 40px; }
.sm-tag { margin-top: 14px; font-size: clamp(16px, 1.8vw, 19px); font-weight: 300; line-height: 1.5; color: var(--on-dark-2); max-width: 58ch; }
.sm-body { padding: clamp(24px, 4vw, 40px) clamp(24px, 5vw, 52px) 8px; }
.sm-body .eyebrow { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .22em; }
.sm-problem { font-size: 18px; line-height: 1.6; max-width: 66ch; margin-bottom: 28px; }
.sm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: -2px 0 30px; }
.sm-cell, .sm-facts > div { background: var(--creme); border-radius: 16px; padding: 18px 22px; }
.sm-cell h3 { font-size: 18px; margin-bottom: 4px; }
.sm-cell p { font-size: 15px; line-height: 1.5; }
.sm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 52px); }
.sm-list, .sm-steps { list-style: none; }
.sm-list li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--rejunte); font-size: 15.5px; line-height: 1.45; }
.sm-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--ouro); }
.sm-steps li { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rejunte); }
.sm-steps .n { flex: 0 0 24px; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--ouro-tinta); -webkit-text-stroke: .03em var(--ouro-tinta); }
.sm-steps b { display: block; font-weight: 500; font-size: 16px; }
.sm-steps div > span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--taupe); }
.sm-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.sm-facts small { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro-tinta); font-weight: 500; margin-bottom: 6px; }
.sm-facts span { font-size: 16px; font-weight: 500; line-height: 1.35; }
.sm-proof { margin: 24px 0 18px; font-size: 17px; font-style: italic; color: var(--ultravioleta); line-height: 1.55; max-width: 70ch; }
.sm-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px clamp(24px, 5vw, 52px) 28px; border-top: 1px solid var(--rejunte); margin: 0 clamp(24px, 5vw, 52px); padding-left: 0; padding-right: 0; }
.sm-pdflang { opacity: .7; letter-spacing: .06em; }
@media (max-width: 720px) {
  .svc-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .sm-split, .sm-cols, .sm-facts { grid-template-columns: 1fr; }
  .sm-foot .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .svc-modal[open] { animation: none; }
}

/* ---------- UV-350: new reference image, ONLY on the uv350.html page ---------- */
/* The other pages keep the v4 reveal layer (mosaic-veil, opacity .6).
   The new image is dark, so on this page it stays soft to keep text readable. */
body.page-uv .uv-layer { background-image: url("assets/mosaic-uv.webp"); }
body.page-uv.uv-on .uv-layer { opacity: .4; }
body.page-uv .uv-cursor .hex { stroke: var(--grafite); opacity: .85; }

/* ---------- cursor reveal on the cream pages: the single cream mosaic ---------- */
.uv-layer { background-image: url("assets/mosaic-crema.webp"); }
body.uv-on .uv-layer { opacity: .85; }
body.page-uv .uv-layer { background-image: url("assets/mosaic-uv.webp"); }
body.page-uv.uv-on .uv-layer { opacity: .4; }

/* ============================================================
   La Nostra Tradizione: name + blazon + coat of arms in one block,
   a timeline for the dates and a map for the places
   ============================================================ */
.tradizione .container { display: block; }
.tradizione .fixed-title { margin-bottom: 30px; }

.trad-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 5vw, 64px);
  background: var(--creme-claro); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 52px);
}
.tc-text p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 56ch; }
.tc-text .blason { margin-top: 26px; padding-left: 20px; border-left: 2px solid var(--gold); color: var(--taupe); font-size: 17px; }
.tc-crest { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tc-crest .crest { display: block; width: min(100%, 420px); height: auto; user-select: none; }
.crest-more {
  background: none; border: 0; border-bottom: 1px solid var(--ouro); padding: 0 0 3px; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ouro-tinta);
  transition: color .18s ease, border-color .18s ease;
}
.crest-more:hover { color: var(--ink); border-color: var(--ink); }

/* timeline */
.timeline { list-style: none; margin: 48px 0 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 59px; height: 1px; background: var(--gold); opacity: .65; }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.tl-yr { height: 40px; line-height: 40px; font-family: var(--display); font-size: clamp(26px, 3vw, 36px); letter-spacing: .08em; color: var(--ink); -webkit-text-stroke: .03em currentColor; }
.tl-node { position: relative; z-index: 1; width: 20px; height: 22px; margin: 8px 0 14px; background: var(--gold);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.tl-place { font-weight: 500; font-size: 17px; color: var(--ink); }
.tl-txt { margin-top: 4px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* geography */
.geo { margin-top: 56px; border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.geo-maps { display: grid; grid-template-columns: minmax(0, 3fr) auto minmax(0, 1.1fr); align-items: center; gap: clamp(16px, 3vw, 40px); }
.geo figure { margin: 0; }
.geo svg { display: block; width: 100%; height: auto; }
.geo figcaption { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }
.geo figcaption b { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: 15px; color: var(--ouro); -webkit-text-stroke: .03em currentColor; margin-right: 6px; }
.geo-br figcaption { text-align: center; }
.g-land { fill: rgba(243,239,230,.05); stroke: rgba(243,239,230,.16); stroke-width: 1; }
.g-italy { fill: rgba(243,239,230,.11); stroke: rgba(243,239,230,.38); stroke-width: 1; stroke-linejoin: round; }
.g-veneto { fill: rgba(191,159,109,.30); stroke: var(--ouro); stroke-width: 1.4; stroke-linejoin: round; }
.g-hex { fill: var(--ouro); stroke: var(--grafite); stroke-width: 2; }
.g-dot { fill: var(--creme-claro); stroke: var(--grafite); stroke-width: 1.5; }
.g-year { font-family: var(--display); font-size: 24px; letter-spacing: .06em; fill: var(--ouro); stroke: var(--ouro); stroke-width: .6px; paint-order: stroke fill; }
.g-name { font-family: var(--sans); font-size: 17px; font-weight: 400; fill: var(--creme-claro); }
.g-name.minor { fill: var(--on-dark-2); font-size: 16px; }
.geo-link { position: relative; width: clamp(72px, 9vw, 120px); height: 44px; }
.geo-link::before { content: ""; position: absolute; left: 0; right: 4px; top: 50%; height: 1px; background: var(--ouro); }
.geo-link::after { content: ""; position: absolute; right: 3px; top: calc(50% - 4px); width: 8px; height: 8px;
  border-top: 1px solid var(--ouro); border-right: 1px solid var(--ouro); transform: rotate(45deg); }
.geo-chip { position: absolute; left: 50%; top: -4px; transform: translateX(-50%); font-family: var(--display); font-size: 22px; letter-spacing: .08em; color: var(--ouro); -webkit-text-stroke: .03em currentColor; }
.geo-bridge { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(243,239,230,.18); max-width: 66ch; font-size: 17px; line-height: 1.65; color: var(--on-dark-1) !important; }
.tradizione .essence { margin-top: 48px; }

@media (max-width: 900px) {
  .trad-card { grid-template-columns: 1fr; }
  .tc-crest { order: -1; }
  .tc-crest .crest { width: min(100%, 320px); }
}
@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; row-gap: 26px; margin-top: 36px; }
  .timeline::before { left: 10px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 22px 1fr; column-gap: 18px; align-items: start; }
  .tl-node { grid-column: 1; grid-row: 1 / span 3; margin: 6px 0 0; }
  .tl-yr, .tl-place, .tl-txt { grid-column: 2; }
  .tl-yr { height: auto; line-height: 1.2; }
  .geo-maps { grid-template-columns: 1fr; }
  .geo-link { width: 44px; height: 84px; justify-self: center; }
  .geo-link::before { left: 50%; right: auto; top: 0; bottom: 4px; width: 1px; height: auto; }
  .geo-link::after { left: calc(50% - 4px); right: auto; top: auto; bottom: 3px; transform: rotate(135deg); }
  .geo-chip { left: 58%; top: 50%; transform: translateY(-50%); }
  .g-name { font-size: 28px; } .g-year { font-size: 38px; } .g-name.minor { display: none; }
  .geo-br { max-width: 300px; justify-self: center; width: 100%; }
}

/* ---------- "Saber más": coat-of-arms window ---------- */
.crest-modal { overflow: hidden; height: min(760px, calc(100dvh - 40px)); }
.crest-modal[open] { display: flex; flex-direction: column; }
.crest-modal .sm-head { flex: 0 0 auto; padding: 24px clamp(24px, 5vw, 52px) 26px; }
.crest-modal .sm-chip { margin-bottom: 12px; }
.cm-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); }
.cm-crest { margin: 0; padding: 28px; background: var(--creme); display: flex; align-items: center; justify-content: center; }
.cm-crest img { display: block; width: 100%; max-width: 360px; height: auto; }
.cm-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 30px clamp(24px, 4vw, 48px) 36px; }
.cm-scroll:focus-visible { outline: 2px solid var(--ouro); outline-offset: -2px; }
.cm-scroll p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: var(--ink); }
.cm-scroll .eyebrow { display: block; margin: 28px 0 8px; font-size: 12px; letter-spacing: .22em; }
.cm-scroll .cm-blazon { font-style: italic; padding-left: 18px; border-left: 2px solid var(--gold); color: var(--taupe); }
.cm-scroll .cm-small { font-size: 13.5px; line-height: 1.55; color: var(--taupe); margin-bottom: 10px; }
@media (max-width: 720px) {
  .crest-modal { height: 100dvh; }
  .crest-modal .sm-head { padding: 18px 22px 20px; }
  .crest-modal .sm-head h2 { font-size: 26px; }
  .cm-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .cm-crest { padding: 14px; }
  .cm-crest img { max-width: 150px; }
  .cm-scroll { padding: 22px 22px 32px; }
}

/* ---------- the two founders: photo next to the name ---------- */
.tradizione .essence { max-width: none; }
.tradizione .essence > p:first-child { max-width: 60ch; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 8px; }
.person-head { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.person-photo { flex: 0 0 104px; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); box-shadow: 0 6px 20px rgba(51,55,56,.14); }
.person-who { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.person-who strong { font-family: var(--sans); font-weight: 600; font-size: 24px; line-height: 1.1; color: var(--ink); }
.person-who .role { display: inline-block; padding: 4px 12px; border: 1px solid var(--gold); border-radius: 999px; font-size: 12px; letter-spacing: .18em; color: var(--gold-text); }
.person p { margin: 0 !important; font-size: 17px; color: var(--muted); max-width: 52ch; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }

/* ---------- UV-350 page: approach, Revenue Operations map, cycle, how we work ---------- */
.uv-claim { margin-top: 26px; font-family: var(--sans); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: var(--ink); max-width: 30em; }
.uv-claim #uvp-claim1 { display: block; font-weight: 500; }
.uv-claim #uvp-claim2 { display: block; color: var(--ouro-tinta); }
.uv-support { margin-top: 16px; font-size: 19px; line-height: 1.55; color: var(--taupe); max-width: 46ch; }
.uv-page .uv-cells { margin: 34px 0 6px; }
.uv-bee { margin-top: 8px; padding-bottom: 28px; }
.uv-bee p { font-size: 18px; color: var(--taupe); max-width: 62ch; margin-top: 18px; line-height: 1.66; }
.uv-bee p.lead-p { font-size: 21px; color: var(--ink); }

.uv-sec { padding: 72px 0; }
.uv-sec.uv-alt { background: var(--creme); }
.uv-sec h2 { margin-top: 14px; font-size: clamp(26px, 3.4vw, 40px); }
.uv-sec .eyebrow { display: block; color: var(--ouro-tinta); }
.uv-ap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--col-gap); margin-top: 34px; align-items: start; }
.uv-ap-text p { font-size: 18px; line-height: 1.66; color: var(--taupe); margin-top: 18px; max-width: 54ch; }
.uv-ap-text p:first-child { margin-top: 0; color: var(--ink); }

/* map of Revenue Operations */
.rev-map { margin: 0; display: grid; gap: 14px; }
.rm-cap { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro-tinta); font-weight: 500; }
.rm-team { position: relative; border: 1px solid var(--ouro); border-radius: 24px; padding: 34px 18px 18px; background: rgba(243,239,230,.7); }
.rm-team-label { position: absolute; top: -11px; left: 22px; padding: 0 12px; background: var(--creme-claro); font-family: var(--display); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; -webkit-text-stroke: .5px currentColor; color: var(--ouro-tinta); }
.rm-funcs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rm-fn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 20px 18px; min-height: 96px; background: var(--creme); border: 1px solid var(--rejunte); border-radius: 14px; }
.rm-fn b { font-weight: 500; font-size: 17px; color: var(--ink); }
.rm-fn span { font-size: 13.5px; line-height: 1.35; color: var(--taupe); }
/* the contribution card feeds each function: a short line with an arrow up */
.rm-fn::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 24px; background: var(--ouro); }
.rm-fn::before { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -4px; border: 4px solid transparent; border-top: 0; border-bottom-color: var(--ouro); z-index: 1; }
.rm-ours { margin-top: 24px; background: var(--grafite); border-radius: 16px; padding: 20px 22px 22px; }
.rm-ours-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.rm-ours-label { font-family: var(--display); font-size: 16px; letter-spacing: .16em; text-transform: uppercase; -webkit-text-stroke: .5px currentColor; color: var(--ouro); }
.rm-ours-lead { font-size: 14.5px; color: var(--rejunte); }
.rm-fronts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.rm-fronts li { display: grid; gap: 3px; border-top: 1px solid rgba(191,159,109,.4); padding-top: 10px; }
.rm-fronts b { font-weight: 500; font-size: 15.5px; color: var(--ouro); }
.rm-fronts span { font-size: 14px; line-height: 1.45; color: var(--creme-claro); }

/* cycle */
.cy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.cy-col { display: flex; flex-direction: column; }
.cy-head { border-top: 2px solid var(--grafite); padding-top: 14px; color: var(--ink); font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; -webkit-text-stroke: .5px currentColor; font-size: 19px; }
.cy-lead { margin-top: 18px; font-size: 18px; line-height: 1.45; color: var(--ouro-tinta); font-style: italic; }
.cy-list { list-style: none; padding: 0; margin: 14px 0 0; }
.cy-list li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--rejunte); font-size: 16px; line-height: 1.45; color: var(--ink); }
.cy-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--ouro); }
.cy-svcs { margin-top: auto; padding-top: 18px; min-height: 98px; display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; align-content: flex-start; }
.cy-svcs small { padding-top: 5px; }
.cy-svcs small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin-right: 4px; }
.cy-svcs span { font-size: 13px; border: 1px solid var(--ouro); border-radius: 99px; padding: 3px 11px; color: var(--ouro-tinta); }

/* how we work */
.hw-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.hw-step h3 { margin-top: 14px; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; -webkit-text-stroke: .5px currentColor; font-size: 16px; color: var(--ouro-tinta); }
.hw-step p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--taupe); }
.hw-hex { position: relative; display: inline-grid; place-items: center; width: 46px; height: 52px; }
.hw-hex svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hw-hex svg path { fill: none; stroke: var(--ouro); stroke-width: 1.4; }
.hw-hex b { position: relative; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ink); -webkit-text-stroke: .5px currentColor; }
.hw-modes { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hw-mode { background: var(--creme); border-radius: 16px; padding: 18px 22px; display: grid; gap: 4px; }
.hw-mode b { font-weight: 500; font-size: 17px; color: var(--ink); }
.hw-mode span { font-size: 15.5px; line-height: 1.5; color: var(--taupe); }

@media (max-width: 1000px) {
  .uv-ap { grid-template-columns: 1fr; }
  .hw-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .uv-sec { padding: 52px 0; }
  .rm-funcs { grid-template-columns: 1fr; }
  .rm-fn::before, .rm-fn::after { display: none; }
  .rm-ours { margin-top: 14px; }
  .rm-fronts { grid-template-columns: 1fr; }
  .hw-modes { grid-template-columns: 1fr; }
  .cy-grid { grid-template-columns: 1fr; }
  .hw-steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) { .cy-svcs { min-height: 0; margin-top: 4px; } }

.uv-page .uv-title { color: var(--ultravioleta); }
