/* Shared design foundations. Header/footer rules remain in the original files. */
@font-face { font-family: Ubuntu-Medium; src: url('../fonts/Ubuntu-M.ttf') format('truetype'); font-display: swap; }
:root {
  --brand-blue: #0a9ed9;
  --page: #fcfcff;
  --surface: #fff;
  --surface-soft: #f2f6ff;
  --surface-cyan: #eefcff;
  --text-primary: #111;
  --text-secondary: #687386;
  --action: #007ea8;
  --action-hover: #006b91;
  --button-primary: var(--brand-blue);
  --button-primary-hover: #078cc1;
  --radius-card: 24px;
  --section-heading-size: 52px;
  --section-heading-line: 56px;
  --display-size: 64px;
  --display-line: 76px;
}
/* Override the legacy font faces without changing the original stylesheets. */
@font-face { font-family: Ubuntu; src: url('../fonts/Ubuntu-R.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Ubuntu-Bold; src: url('../fonts/Ubuntu-B.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Ubuntu-Light; src: url('../fonts/Ubuntu-L.ttf') format('truetype'); font-display: swap; }
.gallery-action { display: flex; justify-content: center; margin-top: 32px; }
.show-more { min-width: 160px; min-height: 48px; padding: 12px 24px; border: 1px solid #dfeaff; border-radius: 8px; background: var(--surface-soft); color: var(--text-primary); font: 16px/24px Ubuntu-Bold, sans-serif; cursor: pointer; }
.show-more:hover { border-color: #a8aeb6; background: #e8effb; }
.project-page a.click { background: var(--brand-blue); }
.project-page a.click:hover { background: var(--button-primary-hover); }
.gallery-zoom { display: block; cursor: zoom-in; border-radius: 24px; }
.image-viewer { position: fixed; inset: 0; margin: auto; padding: 64px 16px 16px; border: 0; border-radius: 16px; max-width: 96vw; max-height: 94dvh; width: fit-content; background: var(--surface); overflow: auto; }
.image-viewer::backdrop { background: #111c; }
.image-viewer img { display: block; width: auto; height: auto; max-width: min(1400px, 88vw); border-radius: 8px; }
.image-viewer-toolbar { position: sticky; top: 0; left: 0; display: flex; justify-content: flex-end; gap: 8px; margin-top: -56px; margin-bottom: 12px; z-index: 1; }
.image-viewer-close { min-height: 44px; padding: 10px 16px; border: 1px solid #dfeaff; border-radius: 8px; background: var(--surface-soft); color: var(--text-primary); font: 16px/24px Ubuntu-Bold, sans-serif; cursor: pointer; }
.image-viewer-close:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
body.image-viewer-open { overflow: hidden; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.web-body .contact-status { font-size: 16px; line-height: 24px; text-align: left; }
.contact-status[data-state="error"] { color: #a32d35; }
.contact-status[data-state="success"] { color: #246a47; }
.click:disabled { opacity: .65; cursor: wait; }
nav .close-button { border: 0; background: transparent; cursor: pointer; }
@media (max-width: 480px) { .gallery-action { margin-top: 28px; } }
.web-body { gap: 0; margin-top: 0; }
.web-body > .container { width: 100%; max-width: 1280px; padding: 0 80px; }
.web-body > .container > .row { margin: 0; }
.web-body h1 { font-size: var(--display-size); line-height: var(--display-line); }
.web-body h2 { font-size: var(--section-heading-size); line-height: var(--section-heading-line); }
.web-body p { font-size: 18px; line-height: 28px; }
.web-body .heading { gap: 0; }
.web-body .click { display: inline-flex; align-items: center; justify-content: center; background: var(--button-primary); line-height: 24px; min-height: 48px; text-align: center; }
.web-body .click:hover { background: var(--button-primary-hover); }
.web-body :is(a, button, input, textarea):focus-visible { outline: 3px solid var(--action); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-section { padding: 32px 0 56px; min-height: 520px; gap: 56px; }
.hero-section .hero-right { min-width: 0; text-align: left; padding: 0; }
.hero-section .hero-left { min-width: 0; }
.hero-section .hero-left .protected { width: 100%; max-width: 480px; }
.hero-section .blue-text { font-size: 32px; line-height: 40px; }
.hero-section .hero-summary { color: var(--text-secondary); }
.hero-section .click { align-self: flex-start; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.work-shortcut { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 0; color: var(--action); font: 16px/24px Ubuntu-Bold, sans-serif; }
.work-shortcut:hover { text-decoration: underline; text-underline-offset: 5px; }
.selected-work, .testimonials-section, .contact-section { padding: 64px 0; }
.selected-work { text-align: left; }
.work-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.work-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.work-filters button { appearance: none; border: 0; border-radius: 8px; padding: 12px 16px; min-height: 48px; background: var(--surface-soft); color: var(--text-secondary); font: 16px/24px Ubuntu-Bold, sans-serif; cursor: pointer; }
.work-filters button[aria-pressed="true"] { background: var(--button-primary); color: #fff; }
.work-filters button:hover { box-shadow: inset 0 0 0 1px var(--action); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.work-card { padding: 24px; border-radius: var(--radius-card); background: var(--surface-soft); display: flex; flex-direction: column; gap: 16px; color: var(--text-primary); text-align: center; }
.work-card:hover, .related-card:hover { box-shadow: 0 8px 24px #99aeda33; }
.work-artwork { height: 216px; min-width: 0; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.work-artwork img { width: 100%; height: 100%; object-fit: contain; display: block; }
.work-card--ui .work-artwork, .work-card--logo .work-artwork { border-radius: 8px; }
.work-card--ui .work-artwork img { object-fit: cover; object-position: left top; }
.work-card--logo .work-artwork img { object-fit: cover; width: 170%; max-width: none; flex: 0 0 170%; transform: translateX(19.56%); }
.work-labels { min-width: 0; }
.web-body .work-labels h3 { font-size: 24px; line-height: 32px; overflow-wrap: anywhere; }
.web-body .work-labels p { font-size: 16px; line-height: 24px; color: var(--text-secondary); margin-top: 2px; }
.testimonials { align-items: center; }
.testimonials .clients { width: 393px; flex: 0 0 393px; }
.testimonials .client { align-items: center; text-align: left; }
.testimonials .client .avatar { flex: 0 0 60px; }
.testimonials .client .bold { font-size: 16px; line-height: 22px; }
.testimonials .client .country { font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.testimonials .testimonial-content { min-height: 400px; }
.testimonials-section { position: relative; }
.why-section { margin: 64px 0; padding: 60px 56px; }
.why-card-section { width: 100%; }
.why-card { min-width: 0; padding: 60px 32px; gap: 32px; }
.why-card .number { font-size: 64px; line-height: 76px; }
.why-card .bold { font-family: Ubuntu-Medium, Ubuntu, sans-serif; font-size: 18px; line-height: 28px; }
.why-card .light { font-family: Ubuntu, sans-serif; font-size: 16px; line-height: 24px; }
.contact-section { margin-bottom: 0; }
.contact-text { min-width: 0; text-align: left; }
.contact-text h3 { width: 100%; }
.contact-text p { width: 100%; }
.form-section form { min-width: 0; }
.form-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Project layout: the original decorative SVG, header and footer are retained. */
.project-page .web-body { text-align: left; }
.hero-project-section { min-height: 0; padding: 64px 0 40px; gap: 0; --circles-offset-y: 0px; }
.hero-project-top { width: 100%; gap: 32px; padding: 0; }
.hero-headline { width: 100%; text-align: center; gap: 32px; }
.hero-headline .blue-text { font-size: 32px; line-height: 40px; }
.project-stage { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr) 160px; gap: 36px; align-items: center; width: 100%; }
.hero-project-section { overflow: clip; scroll-snap-align: none; }
.project-stage .hero-circles { width: min(976px, 160%); height: auto; aspect-ratio: 976 / 712; left: 50%; top: 256px; transform: translate(-45.7%, -63.34%); overflow: visible; }
.project-stage .project-hero { position: relative; z-index: 1; }
.project-stage .project-nav { position: relative; z-index: 2; }
.project-stage .project-hero { min-width: 0; margin: 0; grid-column: 2; grid-row: 1; }
.project-stage .project-hero .protected { height: 512px; max-height: none; }
.project-stage .project-hero .protected img { max-width: 100%; max-height: 480px; height: auto; width: auto; object-fit: contain; }
.project-nav { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--text-secondary); font-size: 14px; line-height: 20px; min-height: 88px; }
.project-nav--previous { grid-column: 1; grid-row: 1; }
.project-nav--next { grid-column: 3; grid-row: 1; }
.project-nav-arrow { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-soft); }
.project-nav-arrow img { width: 24px; height: 24px; }
.project-nav:hover .project-nav-arrow { box-shadow: inset 0 0 0 1px var(--action); }
.has-wide-artwork .project-stage { grid-template-columns: 120px minmax(0, 1fr) 120px; gap: 20px; }
.has-wide-artwork .project-stage .project-hero .protected img { width: 100%; max-height: 512px; }
.project-description { background: transparent; padding: 48px 0; gap: 32px; border-radius: 0; }
.decirption { gap: 24px; }
.decirption p { white-space: pre-line; }
.decirption strong { font-weight: normal; }
.deliverables { gap: 20px; }
.deliverables h3 { font-size: 24px; line-height: 32px; }
.badges { flex-wrap: wrap; gap: 16px; }
.project-description .pill { background: var(--surface-soft); font: 16px/24px Ubuntu-Bold, sans-serif; padding: 8px 20px; }
.project-gallery-section { padding: 48px 0; gap: 24px; }
.project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-gallery--single { grid-template-columns: minmax(0, 1fr); }
.gallery-item { min-width: 0; margin: 0; }
.gallery-item--wide { grid-column: 1 / -1; }
.project-gallery .gallery-item--wide img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: center top; border-radius: 24px; }
.asset-credit { margin-top: 24px; color: var(--text-secondary); font-size: 14px; line-height: 20px; }
.asset-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.related-section { padding: 48px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.related-card { border-radius: 20px; padding: 20px; display: flex; align-items: center; gap: 20px; min-width: 0; background: var(--surface-soft); color: var(--text-primary); }
.related-card .work-artwork { width: 108px; height: 108px; flex: 0 0 108px; }
.related-card .work-labels h3 { font-family: Ubuntu-Medium, Ubuntu, sans-serif; font-size: 18px; line-height: 28px; }
.related-card .work-labels p { font-size: 14px; line-height: 20px; }
.project-callout { border-radius: 24px; background: var(--surface-cyan); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.project-callout p { color: var(--text-secondary); margin-top: 12px; }
.project-callout .click { white-space: nowrap; flex: 0 0 auto; align-self: center; }
.project-bottom { margin-top: 0; }
@media (min-width: 1101px) {
  .project-nav--previous { transform: translateX(80px); }
  .project-nav--next { transform: translateX(-80px); }
  .has-wide-artwork .project-nav { transform: none; }
}
@media (max-width: 1100px) {
  :root { --display-size: 48px; --display-line: 56px; --section-heading-size: 40px; --section-heading-line: 48px; }
  .web-body > .container { padding: 0 40px; }
  .work-heading { flex-direction: column; align-items: flex-start; }
  .testimonials .clients { width: 300px; flex-basis: 300px; }
  .why-section { padding: 48px 32px; }
  .why-card-section { gap: 24px; }
  .why-card { padding: 40px 20px; }
  .related-card { gap: 12px; padding: 16px; }
  .related-card .work-artwork { width: 72px; height: 72px; flex-basis: 72px; }
  .project-stage, .has-wide-artwork .project-stage { grid-template-columns: 100px minmax(0, 1fr) 100px; gap: 16px; }
  .project-callout { padding: 32px; }
}
@media (max-width: 900px) {
  .hero-section { flex-direction: column; padding-top: 36px; gap: 40px; }
  .hero-section .hero-left { width: min(100%, 480px); }
  .hero-section img { width: 100%; }
  .hero-section .hero-right { width: 100%; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonials-section, .contact-section, .project-gallery-section { padding-left: 0; padding-right: 0; }
  .testimonials { flex-direction: column; gap: 32px; align-items: stretch; }
  .testimonials .clients { width: 100%; flex-basis: auto; }
  .testimonials .testimonial-content { min-height: 0; }
  .why-card-section { flex-direction: column; align-items: stretch; }
  .why-card { padding: 40px 32px; }
  .why-card:nth-child(2) { order: -1; }
  .form-section { flex-direction: column; }
  .form-section { grid-template-columns: minmax(0, 1fr); }
  .form-section form { padding: 0; }
  .contact-text { align-items: flex-start; }
  .contact-text img { align-self: center; max-width: 352px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card .work-artwork { width: 88px; height: 88px; flex-basis: 88px; }
  .project-callout { align-items: flex-start; flex-direction: column; }
  .project-callout .click { align-self: flex-start; }
  .project-stage, .has-wide-artwork .project-stage { grid-template-columns: 1fr 1fr; gap: 28px 22px; }
  .project-stage .project-hero { grid-column: 1 / -1; grid-row: 1; }
  .project-nav { flex-direction: row; min-height: 48px; border-radius: 12px; background: var(--surface-soft); padding: 8px; color: var(--action); gap: 8px; }
  .project-nav--previous { grid-column: 1; grid-row: 2; }
  .project-nav--next { grid-column: 2; grid-row: 2; flex-direction: row-reverse; }
  .project-nav-arrow { width: 24px; height: 24px; background: transparent; flex: 0 0 24px; }
  .project-nav:hover { box-shadow: inset 0 0 0 1px var(--action); }
  .project-nav:hover .project-nav-arrow { box-shadow: none; }
  .project-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --display-size: 40px; --display-line: 48px; --section-heading-size: 32px; --section-heading-line: 40px; }
  .web-body > .container { padding: 0 24px; }
  .web-body p { font-size: 16px; line-height: 24px; }
  .web-body h3 { font-size: 24px; line-height: 32px; }
  .hero-section { gap: 32px; padding: 32px 0 48px; }
  .hero-text h1 { max-width: none; }
  .hero-section .blue-text { font-size: 20px; line-height: 28px; }
  .selected-work, .testimonials-section, .contact-section { padding: 40px 0; }
  .work-heading { gap: 24px; margin-bottom: 24px; }
  .work-heading { width: 100%; min-width: 0; }
  .work-filters { gap: 8px; flex-wrap: nowrap; overflow-x: auto; width: 100%; padding: 5px 0; margin: -5px 0; scrollbar-width: none; }
  .work-filters::-webkit-scrollbar { display: none; }
  .work-filters button { padding: 12px 16px; font-size: 16px; line-height: 24px; min-height: 48px; flex: 0 0 auto; white-space: nowrap; }
  .work-grid { gap: 16px; }
  .work-card { padding: 12px; gap: 12px; min-height: 0; border-radius: 24px; }
  .work-artwork { height: 132px; }
  .web-body .work-labels h3 { font-size: 16px; line-height: 22px; }
  .work-card .work-labels h3 { min-height: 0; }
  .web-body .work-labels p { font-size: 14px; line-height: 20px; }
  .testimonials-section, .contact-section { gap: 32px; }
  .testimonials .client { padding: 16px 20px; gap: 20px; }
  .testimonials .client .avatar { width: 48px; height: 48px; flex-basis: 48px; font-size: 22px; }
  .why-section { padding: 32px 24px; margin: 40px 0; gap: 32px; }
  .why-card .number { font-size: 48px; line-height: 56px; }
  .why-card { gap: 24px; }
  .hero-project-section { padding: 48px 0 32px; }
  .hero-project-top { gap: 28px; }
  .hero-headline { gap: 24px; }
  .hero-headline .blue-text { font-size: 20px; line-height: 28px; }
  .project-stage .project-hero .protected { height: 310px; }
  .project-stage .hero-circles { top: 155px; }
  .project-stage .project-hero .protected img { max-height: 300px; max-width: 100%; }
  .project-description { padding: 32px 0; }
  .project-description .pill { font-size: 14px; line-height: 20px; padding: 8px 14px; }
  .badges { gap: 8px; }
  .project-gallery-section, .related-section { padding: 32px 0; }
  .project-gallery { padding: 0; }
  .project-gallery .gallery-item--wide img { aspect-ratio: 1.45 / 1; border-radius: 16px; }
  .asset-credit { margin-top: 16px; font-size: 12px; line-height: 18px; }
  .related-grid { margin-top: 24px; gap: 16px; }
  .related-card { padding: 16px; border-radius: 16px; gap: 20px; }
  .project-callout { padding: 28px 24px; margin-bottom: 32px; gap: 24px; }
  .project-nav { font-size: 14px; line-height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .web-body *, .web-body *::before, .web-body *::after { transition: none !important; animation: none !important; }
}
