/* VIPRO public site */
/* Fonts are served from this website (faster, and no visitor data goes to Google) */
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/archivo-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/archivo-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/source-sans-3-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/source-sans-3-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --ground: #0A1416; --surface: #0E1B1E; --surface-2: #102227; --line: #23393F; --line-2: #3A5359;
  --text: #EEF3F4; --muted: #A9BCC1; --soft: #C9D6D9; --accent: #9CCAD6; --brand: #4E7A83;
  --display: 'Archivo', system-ui, sans-serif; --body: 'Source Sans 3', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--text); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: #D6ECF1; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
@media (max-width: 720px) { .wrap { padding-left: 16px; padding-right: 16px; } body { font-size: 17px; } }
.section { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 720px) { .section { padding-top: 64px; padding-bottom: 64px; } }
.page-top { padding-top: 48px; }
.band { background: var(--surface); border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 12px; font: 600 14px var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.eyebrow a { color: inherit; text-decoration: none; }
.narrow { max-width: 760px; margin-bottom: 48px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ground); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; background: var(--accent); color: var(--ground) !important; border: 1px solid var(--accent); border-radius: 2px; font: 600 16px var(--display); text-decoration: none; cursor: pointer; }
.btn:hover { background: #BFE0E8; }
.btn.ghost { background: transparent; color: var(--text) !important; }
.btn.ghost:hover { background: rgba(156, 202, 214, 0.12); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; transition: background .3s, box-shadow .3s, transform .35s ease; }
.site-header.scrolled { background: rgba(10,20,22,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .header-row { padding-top: 12px; padding-bottom: 12px; }
.site-header.away { transform: translateY(-100%); }
.header-row { transition: padding .3s; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
#nav { display: flex; align-items: center; gap: 30px; font: 15px var(--display); letter-spacing: 0.04em; }
#nav a:not(.btn) { color: var(--text); text-decoration: none; position: relative; }
#nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--accent); transition: right .25s ease; }
#nav a:not(.btn):hover::after, #nav a[aria-current]::after { right: 0; }
#nav a[aria-current] { color: var(--accent); }
.menu-btn { display: none; background: none; color: var(--text); border: 1px solid var(--line-2); padding: 10px 16px; min-height: 44px; font: 600 15px var(--display); border-radius: 2px; }
@media (max-width: 900px) {
  .menu-btn { display: block; position: relative; z-index: 2; }
  .logo { position: relative; z-index: 2; }
  #nav { display: flex; position: fixed; inset: 0; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; background: var(--ground); padding: 96px 24px 32px; font-size: 26px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  #nav.open { opacity: 1; visibility: visible; }
  #nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); transform: translateY(12px); transition: transform .35s ease; }
  #nav.open a { transform: none; }
  #nav a:not(.btn)::after { display: none; }
  #nav .btn { margin-top: 24px; border-bottom: 0; font-size: 18px; }
  /* A blurred or moved header traps a fixed menu inside it, so drop both while the menu is open */
  body.menu-open .wa-float { display: none; }
  body.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; transition: none; background: var(--ground); }
}
body:not(:has(.hero)):not(:has(.case-hero)) main { padding-top: 96px; }

/* Hero */
.hero { position: relative; background: radial-gradient(ellipse at 70% 30%, #183C44, #0A1416 70%); min-height: min(92vh, 860px); min-height: min(92svh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media, .hero-media .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .slide { opacity: 0; transition: opacity 1.2s ease; }
.hero-media .slide.on { opacity: 0.6; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,22,.85) 0%, rgba(10,20,22,.1) 35%, rgba(10,20,22,.96) 100%); }
.hero-text { position: relative; z-index: 1; width: 100%; padding-bottom: 88px; }
.hero h1 { font-weight: 300; font-size: clamp(44px, 7vw, 88px); max-width: 920px; }
.hero h1 strong { font-weight: 700; }
.lead { max-width: 620px; font-size: 21px; color: var(--soft); margin: 24px 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.slide-count { position: absolute; right: 40px; bottom: 92px; font: 15px var(--display); color: var(--muted); letter-spacing: 0.1em; }
.slide-count .cur { color: var(--text); }
@media (max-width: 720px) { .slide-count { display: none; } .hero-text { padding-bottom: 56px; } }

.ticker { border-block: 1px solid var(--line); background: var(--surface); }
.ticker .wrap { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 20px; padding-bottom: 20px; font: 14px var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 24px; }
.facts b { display: block; font: 300 56px/1 var(--display); }
.facts span { display: block; margin-top: 10px; color: var(--muted); }

/* Work */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h1, .section-head h2 { margin: 0; }
.more { font: 600 17px var(--display); }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); background: var(--surface-2); color: var(--text); text-decoration: none; margin-bottom: 24px; }
.feature img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.feature > div { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
@media (max-width: 720px) { .feature > div { padding: 28px 20px; } .feature img { min-height: 240px; } }
.feature h3 { font-size: 34px; margin: 0; }
.feature p { margin: 0; color: var(--soft); }
.meta { font: 13px var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.link { font: 600 16px var(--display); color: var(--accent); }
.grid.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 32px 24px; }
.project-card { display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; }
.project-card img, .img-missing { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; background: var(--surface-2); transition: opacity .2s; }
.project-card:hover img { opacity: 0.85; }
.project-card .title { font: 600 21px/1.25 var(--display); }
.project-card[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { background: transparent; color: var(--text); border: 1px solid var(--line-2); padding: 10px 18px; min-height: 44px; font: 600 15px var(--display); border-radius: 2px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ground); border-color: var(--text); }
.count { color: var(--muted); margin: -16px 0 8px; }
.hint-line { color: var(--muted); font-size: 15px; margin: 0 0 24px; }

/* Services, process, about */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services > div { background: var(--surface); padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; }
.services span { font: 15px var(--display); color: var(--accent); }
.services h3, .services p { margin: 0; }
.services p { color: var(--soft); font-size: 17px; }
.services a { margin-top: auto; font: 600 15px var(--display); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.steps li { border-top: 2px solid var(--brand); padding-top: 24px; }
.steps li:first-child { border-color: var(--accent); }
.steps b { font: 300 40px var(--display); color: var(--accent); }
.steps h3 { margin: 8px 0; }
.steps p { margin: 0; color: var(--soft); font-size: 17px; }
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; }
.about p { color: var(--soft); }
blockquote { margin: 0 0 32px; padding: 24px 28px; background: var(--surface-2); font: 20px/1.5 var(--display); }
blockquote p { margin: 0; color: var(--text) !important; }
blockquote footer { margin-top: 12px; font-size: 15px; color: var(--muted); }
.clients { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px 28px; font: 600 18px var(--display); color: var(--text); }
.partner { color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 16px; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; }
.contact h2 em { font-style: normal; color: var(--accent); }
.contact dl { display: grid; grid-template-columns: 90px 1fr; gap: 10px 16px; margin: 32px 0 0; }
.contact dt { color: var(--muted); font: 600 14px var(--display); text-transform: uppercase; letter-spacing: .12em; padding-top: 3px; }
.contact dd { margin: 0; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--soft); }
.form input, .form textarea { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); padding: 12px 14px; font: 17px var(--body); border-radius: 2px; }
.form .hp { position: absolute; left: -9999px; }
.notice { background: #143A2A; border: 1px solid #2D7A55; padding: 12px 16px; margin: 0; }
.notice.err { background: #3A1A14; border-color: #8A3B2D; }

/* Case study */
.case-hero { position: relative; min-height: 70vh; min-height: 70svh; display: flex; align-items: flex-end; overflow: hidden; }
.case-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.case-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,22,.8) 0%, rgba(10,20,22,0) 40%, rgba(10,20,22,.95) 100%); }
.case-hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 56px; }
.case-hero h1 { max-width: 980px; }
.case { display: grid; grid-template-columns: 300px 1fr; gap: 64px; padding-top: 64px; padding-bottom: 48px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 32px; } }
.facts-list dl { margin: 0 0 28px; }
.facts-list dt { font: 600 13px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.facts-list dd { margin: 4px 0 0; }
.prose { max-width: 760px; color: var(--soft); }
.prose h2 { font-size: 26px; color: var(--text); margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; padding-bottom: 64px; }
.gallery figure { margin: 0; }
.gallery img, .gallery video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption { color: var(--muted); font-size: 15px; margin-top: 6px; }
.video { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; }
.next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 32px; padding-bottom: 32px; font: 600 20px var(--display); }
.next span { color: var(--muted); font-weight: 400; }
.narrow-col { max-width: 860px; }
.article-img { width: 100%; margin: 24px 0 32px; }

/* Lightbox */

/* Footer: drawing-board feel, hairlines, numbered columns, large outlined wordmark */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted);
  background:
    linear-gradient(var(--surface), rgba(14,27,30,.9) 60%, var(--surface)),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(156,202,214,.05) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(156,202,214,.05) 47px 48px),
    var(--surface); }
.site-footer a { color: var(--soft); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.foot-cta { padding-top: 88px; padding-bottom: 72px; }
.foot-cta, .footer-base { --gut: 80px; }
.foot-cta { background: linear-gradient(var(--line), var(--line)) bottom center / calc(100% - var(--gut)) 1px no-repeat; }
@media (max-width: 720px) { .foot-cta, .footer-base { --gut: 32px; } }
.foot-cta h2 { font-size: clamp(36px, 5.5vw, 72px); font-weight: 300; letter-spacing: -0.02em; max-width: 900px; margin-bottom: 32px; color: var(--text); }
.foot-cta h2 em { font-style: normal; font-weight: 600; color: var(--accent); }
.foot-cta .actions { align-items: center; gap: 28px; }
.foot-mail { font: 600 18px var(--display); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.foot-brand p { margin: 0 0 14px; max-width: 360px; line-height: 1.6; }
.foot-partner { font-size: 14px; letter-spacing: .02em; border-top: 1px solid var(--line); padding-top: 14px; }
.foot-col h3 { display: flex; align-items: baseline; gap: 10px; font: 600 13px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--text); margin: 6px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.foot-col h3 span { color: var(--accent); font-weight: 400; letter-spacing: .08em; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col address { font-style: normal; line-height: 1.7; margin-bottom: 12px; color: var(--soft); }
.foot-link { font: 600 15px var(--display); color: var(--accent) !important; }
.foot-mark { font: 700 clamp(80px, 19vw, 300px)/0.8 var(--display); letter-spacing: 0.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(156,202,214,.16); user-select: none; margin: 8px 0 -0.08em; white-space: nowrap; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; font-size: 14px; position: relative; background: linear-gradient(var(--line), var(--line)) top center / calc(100% - var(--gut)) 1px no-repeat, var(--surface); }
.footer-base a { color: var(--muted); }
.foot-tag { margin-left: 8px; letter-spacing: .08em; opacity: .8; }
.ver { opacity: .6; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; } .foot-cta { padding-top: 64px; padding-bottom: 56px; } .foot-cta .actions .btn { flex: 1 1 100%; } .foot-tag { display: block; margin: 4px 0 0; } }

/* Gallery viewer */
.lightbox { position: fixed; inset: 0; background: rgba(5,10,11,.97); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 64px 72px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 160px); max-width: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; text-align: center; }
.lightbox button { position: absolute; background: var(--text); color: var(--ground); border: 0; min-height: 44px; min-width: 44px; padding: 10px 16px; font: 600 15px var(--display); cursor: pointer; }
.lightbox button:focus-visible { outline: 2px solid var(--accent, #fff); outline-offset: 3px; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-nav { top: 50%; transform: translateY(-50%); font-size: 22px; padding: 10px 14px; background: rgba(255,255,255,.12); color: var(--text); }
.lightbox .lb-nav:hover { background: var(--text); color: var(--ground); }
.lightbox .lb-prev { left: 12px; }
.lightbox .lb-next { right: 12px; }
.lightbox .lb-count { position: absolute; top: 16px; left: 16px; margin: 0; color: var(--muted); font: 600 15px var(--display); min-height: 44px; display: flex; align-items: center; }
@media (max-width: 700px) {
  .lightbox { padding: 64px 8px 84px; }
  .lightbox img { max-height: calc(100vh - 200px); }
  .lightbox .lb-nav { top: auto; bottom: 16px; transform: none; }
  .lightbox .lb-prev { left: calc(50% - 56px); }
  .lightbox .lb-next { right: calc(50% - 56px); }
}

/* WhatsApp button and form */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.wa-float:hover { background: #1EBE5A; }
.wa-dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: 4px; padding: 28px; }
.wa-dialog::backdrop { background: rgba(5,10,11,.8); }
.wa-dialog h2 { margin: 0; font: 600 24px var(--display); }
.wa-dialog .muted { color: var(--muted); margin: 0; font-size: 16px; }
.wa-dialog .row-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 700px) { .wa-dialog { padding: 20px; } .wa-float { right: 14px; bottom: 14px; } }

/* Motion: slow zoom on hero pictures, entrance of the headline, reveal on scroll */
.hero-media .slide.on { animation: kenburns 7s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.case-hero img { animation: kenburns 10s ease-out both; }
.hero-text > *, .case-hero .wrap > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > :nth-child(2), .case-hero .wrap > :nth-child(2) { animation-delay: .12s; }
.hero-text > :nth-child(3) { animation-delay: .24s; }
.hero-text > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Project cards and feature: picture zooms gently on hover */
.project-card .ph { display: block; overflow: hidden; margin-bottom: 10px; background: var(--surface-2); }
.project-card .ph img, .project-card .ph .img-missing { margin-bottom: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.project-card:hover .ph img { transform: scale(1.05); opacity: 1; }
.project-card .title { transition: color .2s; }
.project-card:hover .title { color: var(--accent); }
.feature { overflow: hidden; }
.feature img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.feature:hover img { transform: scale(1.04); }
.services > div { transition: background .3s; }
.services > div:hover { background: var(--surface-2); }
.btn { transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.gallery a.zoom { display: block; overflow: hidden; cursor: zoom-in; }
.gallery a.zoom img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gallery a.zoom:hover img { transform: scale(1.04); }
.lightbox img { animation: fadein .3s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* Phones */
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .lead { font-size: 18px; margin: 16px 0 28px; }
  .actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 48px; }
  .facts b { font-size: 40px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: 0 0 auto; }
  .grid.cards { gap: 28px; }
  .case-hero .wrap { padding-bottom: 36px; }
  .gallery { grid-template-columns: 1fr; }
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 12px; }
  .next { font-size: 18px; }
  .site-footer { padding-bottom: 72px; }
}

/* Photo protection: no saving by drag, long-press or right-click */
.protect img { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* Moving ticker */
.ticker { overflow: hidden; }
.ticker .wrap.marquee { max-width: none; flex-wrap: nowrap; width: max-content; padding-left: 0; padding-right: 0; animation: marquee 40s linear infinite; }
.ticker .wrap.marquee span { white-space: nowrap; }
.ticker:hover .wrap.marquee { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker .wrap.marquee { gap: 0; }
.ticker .wrap.marquee span { padding-right: 40px; }

/* Related projects, call to action, small print */
.related { padding-top: 24px; padding-bottom: 48px; }
.related h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 28px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 48px; padding-top: 40px; padding-bottom: 40px; background: linear-gradient(120deg, var(--surface-2), #183C44); border: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--soft); max-width: 560px; }
.fine { font-size: 14px; color: var(--muted); margin: 0; }
.fine a { color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.form select { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); padding: 12px 14px; font: 17px var(--body); border-radius: 2px; min-height: 50px; }
@media (max-width: 720px) { .cta-band { margin-inline: 16px; padding-inline: 20px; } .cta-band .actions .btn { flex: 1 1 100%; } }

/* Logo: emblem + sharp wordmark, as in the VIPRO artwork (VI strong, PRO light) */
.brand { display: inline-flex; align-items: flex-end; gap: 14px; color: #fff; text-decoration: none; line-height: 1; }
.brand:hover { color: #fff; }
.brand-mark { height: 56px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); transition: height .3s; }
.brand-text { display: flex; flex-direction: column; padding-bottom: 1px; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.brand-name { font: 300 31px/0.9 var(--display); letter-spacing: .3em; margin-right: -.3em; transition: font-size .3s; }
.brand-name b { font-weight: 700; }
.brand-tag { font: 500 10px/1 var(--display); letter-spacing: .26em; color: var(--soft); margin-top: 9px; white-space: nowrap; }
.site-header.scrolled .brand-mark { height: 44px; }
.site-header.scrolled .brand-name { font-size: 25px; }
.site-header.scrolled .brand-tag { font-size: 9px; margin-top: 7px; }
.foot-brand .brand { margin-bottom: 24px; }
@media (max-width: 720px) {
  .brand { gap: 11px; }
  .brand-mark { height: 46px; }
  .brand-name { font-size: 25px; }
  .brand-tag { font-size: 8.5px; letter-spacing: .22em; margin-top: 7px; }
}

/* 1.7: the hero text always starts below the header, even on short phone screens */
.hero-text { padding-top: 132px; }
.case-hero .wrap { padding-top: 132px; }
@media (max-width: 720px) { .hero-text, .case-hero .wrap { padding-top: 112px; } .hero-text { padding-bottom: 64px; } }

/* 1.7: phone header and menu that never overlap.
   On phones the header is never blurred or moved with transform (both trap a full-screen menu
   inside the header on iPhone browsers); it slides away by its top position instead. */
@media (max-width: 900px) {
  .site-header { transition: top .35s ease, background .3s, box-shadow .3s; }
  .site-header.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10,20,22,.97); }
  .site-header.away { transform: none; top: -140px; }
  #nav { height: 100vh; height: 100dvh; justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 108px 24px 40px; }
  #nav > :first-child { margin-top: auto; }
  #nav > :last-child { margin-bottom: auto; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { top: 0; box-shadow: none; }
  .brand-mark { filter: none; }
}
.partner p { margin: 0 0 6px; }
.partner strong { color: var(--text); font-weight: 600; }
.partner a, .foot-partner a { color: var(--accent); }
.partners { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 14px; }
.partners .eyebrow { margin: 0; }
.partners .partner { border-top: 0; padding-top: 0; color: var(--muted) !important; }
/* Project partners: a heading like "Clients include", one partner per line */
.partner-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; color: var(--muted); font-size: 17px; }
.partner-list strong { font: 600 18px var(--display); color: var(--text); }
.partner-list a, .foot-partner a { color: var(--accent); }
.foot-partner { display: grid; gap: 6px; }
.foot-partner strong { color: var(--text); font-weight: 600; }
.foot-partner-label { font: 600 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.clients a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.clients a:hover { color: var(--accent); }
