/* DESIGN (8).md — Dub's border-first composition, adapted to Jean's red. */
:root {
  --color-canvas-white: #ffffff; --color-paper-mist: #f5f5f5; --color-ash: #e5e5e5;
  --color-smoke: #d4d4d4; --color-midnight-ink: #0a0a0a; --color-charcoal: #171717;
  --color-graphite: #262626; --color-steel: #525252; --color-fog: #737373;
  --color-brand-red: #bf0110; --color-red-soft: #fff1f2; --color-red-hover: #97000c;
  --paper: #fff; --white: #fff; --ink: #171717; --text: #171717; --graphite: #171717;
  --muted: #525252; --slate: #737373; --line: #e5e5e5; --ember: #bf0110;
  --radius: 12px; --max: 1200px; --shadow: none;
  --display-font: 'Satoshi', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui-font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html { scroll-padding-top: 24px; }
body { font-size: 1rem; line-height: 1.5; letter-spacing: 0; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.02em; line-height: 1.11; }
p { line-height: 1.5; }
.eyebrow, .mini-label, .category, .tile-category { letter-spacing: 0; }
.nav-shell { position: relative; top: auto; height: 88px; background: white; border-bottom: 1px solid #e5e5e5; }
.nav.wrap { width: min(calc(100% - 64px),1400px); }
.nav { gap: 24px; }
.nav .brand-symbol { transform: scale(.75); }
.nav-links { gap: 16px; }
.nav-links a { padding: 10px 8px; border-radius: 9999px; white-space: nowrap; }
.nav-links a::after { display: none; }
.nav-links a:hover, .nav-links a[aria-current='page'] { background: #f5f5f5; color: #171717; }
.site-search { height: 40px; border: 1px solid #171717; border-radius: 6px; background: white; }
.site-search input { padding-left: 12px; font-size: .875rem; }
.search-submit { height: 40px; }
.search-results { border: 1px solid #e5e5e5; border-radius: 12px; background: white; box-shadow: none; padding: 16px; }
#search-result-list a { padding: 12px; border: 0; border-radius: 8px; }
#search-result-list a:hover { background: #f5f5f5; color: #171717; }
#search-result-list strong { font-weight: 500; }
.social-link:hover { color: #bf0110; }
.menu-toggle { border-radius: 8px; border-color: #e5e5e5; }
.btn { border-radius: 8px; min-height: 44px; padding: 12px 20px; background: #0a0a0a; color: white; border: 1px solid #0a0a0a; font-size: .875rem; font-weight: 500; box-shadow: 0 1px 2px #0000000d; }
.btn:hover { background: #262626; border-color: #262626; }
.btn-light { background: white; border-color: #e5e5e5; color: #171717; box-shadow: none; }
.btn-light:hover { color: #171717; background: #f5f5f5; border-color: #d4d4d4; }
.text-link, .tile-action { color: #bf0110; border: 0; font-size: .9375rem; font-weight: 500; padding: 0; }
.text-link:hover, .project-tile:hover .tile-action { color: #97000c; text-decoration: underline; text-underline-offset: 4px; }

/* A full-width studio opening, followed by the director's introduction. */
.hero { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 0 0 40px; text-align: center; }
.home .hero.wrap { width: 100%; }
.hero-copy { width: 100%; max-width: 1304px; padding: 64px 32px 0; }
.hero .eyebrow { color: #171717; font-size: 1.5rem; font-weight: 600; }
.hero-role { color: #525252; font-size: 1.125rem; margin-top: 8px; font-weight: 500; }
.hero-feature-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.hero-feature-tags a { padding: 8px 16px; background: white; color: #bf0110; border: 1px solid #e5e5e5; border-radius: 9999px; font-size: .875rem; font-weight: 500; }
.hero-feature-tags a:hover { background: #fff1f2; border-color: #efc6c9; }
.hero h1 { max-width: 1240px; margin: 28px auto 24px; font-size: clamp(3rem,4.4vw,4.75rem); line-height: 1.08; font-weight: 500; letter-spacing: -.02em; }
.hero h1 .muted { color: #171717; }
.typewriter-line { margin-inline: auto; }
.typewriter-output { text-align: center; }
.hero-intro { max-width: 900px; margin-inline: auto; color: #525252; font-size: 1.375rem; line-height: 1.56; }
.hero .actions { justify-content: center; gap: 24px; margin-top: 24px; }
.hero-photo { position: relative; width: 100%; height: clamp(480px,calc(100svh - 88px),1080px); aspect-ratio: auto; border: 0; border-radius: 0; background: #3d0707; box-shadow: none; }
.hero-photo img { object-position: center 22%; }
.hero-photo::after { display: block; inset: 65% 0 0; background: linear-gradient(transparent,#0009); }
.hero-photo .hero-photo-actions { inset: auto 32px 40px; justify-content: center; align-items: center; }
.hero-photo-actions .actions { justify-content: center; margin: 0; gap: 16px; }
.hero-photo-actions .btn { min-height: 48px; padding: 14px 24px; border-color: #fff4; }
.hero-photo-actions .text-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; background: white; border: 1px solid #e5e5e5; border-radius: 8px; color: #bf0110; font-size: .875rem; }
.hero-photo-actions .text-link:hover { background: #fff1f2; color: #97000c; }
.hero-copy .hero-experience { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid #e5e5e5; color: #171717; max-width: 620px; text-align: left; }
.hero-experience > strong { font-size: 2.75rem; font-weight: 600; letter-spacing: -.02em; color: #bf0110; }
.hero-copy .hero-experience strong span { display: inline; font-size: .875rem; line-height: 1.2; color: #bf0110; letter-spacing: 0; text-align: left; }
.hero-copy .hero-experience p { font-size: 1rem; line-height: 1.43; color: #525252; }
.hero-copy .hero-experience .hero-years { margin-left: 0; display: block; }
.specialties { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; padding: 24px 0 40px; border: 0; }
.specialties .lead { display: none; }
.specialties .labels { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 24px; font-size: .875rem; }
.specialties a:hover { color: #bf0110; }

/* Information is grouped with hairlines, compact spacing and a steady hierarchy. */
.section, #servicos, .contact-section { padding-block: 64px; }
.preview-head, .section-head { gap: 40px; margin-bottom: 32px; }
.section h2, .preview-head h2 { font-size: clamp(2rem,3.3vw,2.5rem); font-weight: 500; line-height: 1.11; margin-top: 12px; }
.eyebrow, .mini-label { color: #bf0110; font-size: .875rem; font-weight: 600; }
.section-head > p { max-width: 380px; font-size: 1rem; }
.portfolio-preview { background: #f5f5f5; border-block: 1px solid #e5e5e5; }
.portfolio-cards, .home .portfolio-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; overflow: visible; }
.project-tile, .home .case-wide { display: flex; flex-direction: column; min-width: 0; grid-column: auto; background: white; border: 1px solid #e5e5e5; border-radius: 12px; overflow: hidden; box-shadow: none; }
.tile-copy, .home .case-wide .tile-copy { order: 0; padding: 24px; border: 0; margin: 0; flex: 1; justify-content: start; }
.tile-copy h3, .home .case-wide h3 { font-size: 1.5rem; line-height: 1.25; font-family: var(--ui-font); font-weight: 500; margin-bottom: 12px; }
.tile-category { color: #525252; font-size: .875rem; margin-bottom: 12px; font-weight: 500; }
.tile-copy > p:not(.tile-category) { font-size: 1rem; }
.tile-action { margin-top: 20px; font-size: .875rem; }
.tile-photo, .home .tile-photo, .home .case-wide .tile-photo { order: 1; height: 340px; flex-shrink: 0; border-top: 1px solid #e5e5e5; }
.home .case-brand .tile-photo { background: white; }
.home .case-brand .tile-photo img { object-fit: contain; }
.home-case-evidence { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px; border: 1px solid #f2d3d5; border-radius: 8px; background: #fff1f2; margin-top: 20px; }
.home-case-evidence strong { color: #bf0110; font-size: 1.875rem; font-weight: 600; }
.home-case-evidence span { color: #404040; font-size: .875rem; }

.director-section { background: white; color: #171717; }
.about { grid-template-columns: 1fr 1.3fr; gap: 64px; }
.director-section h2 { color: #171717; font-size: clamp(2rem,3.3vw,2.5rem); }
.director-section .eyebrow { color: #bf0110; }
.director-section p { color: #525252; }
.about-body .large { color: #171717; font-size: 1.875rem; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.about-body > p:not(.large) { font-size: 1rem; }
.about-meta { border-color: #e5e5e5; gap: 32px; padding-top: 24px; margin-top: 24px; }
.about-meta strong { color: #171717; font-weight: 600; }
.method { border: 0; padding: 0; margin-top: 48px; }
.method-head { margin-bottom: 24px; font-size: 1rem; }
.method-grid { gap: 16px; }
.method-item { display: block; padding: 24px; border: 1px solid #e5e5e5; border-radius: 12px; background: white; }
.method-item > span { color: #bf0110; font-weight: 500; }
.method-item h3 { color: #171717; font-family: var(--ui-font); font-size: 1.25rem; font-weight: 500; margin: 20px 0 12px; }
.method-item p { font-size: 1rem; }
.service summary { padding-block: 24px; gap: 24px; }
.service h3 { font-family: var(--ui-font); font-size: 1.375rem; line-height: 1.35; font-weight: 500; }
.service-short { color: #525252; font-size: 1rem; }
.service[open] h3, .service-num { color: #bf0110; }
.service-detail li { border: 1px solid #e5e5e5; border-radius: 9999px; background: white; padding: 8px 12px; }
.network-certifications { background: #f5f5f5; border: 1px solid #e5e5e5; border-radius: 12px; padding: 24px; margin-top: 40px; }
.network-certifications h3 { font-family: var(--ui-font); font-size: 1.25rem; font-weight: 500; }
.certification-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.certification-brand { padding: 0; border: 0; text-align: center; }
.certification-logo, .certification-logo-meta, .certification-logo-pair { align-items: center; justify-content: center; }
.certification-logo img { filter: grayscale(1); }
.process-preview { gap: 64px; padding-bottom: 64px; }
.process-image { border-radius: 16px; border: 1px solid #e5e5e5; overflow: hidden; }
.process-copy h2 { font-size: clamp(2rem,3.3vw,2.5rem); }

/* Cases and production use the same card edges and neutral surfaces. */
.page-intro { padding-block: 40px 48px; }
.page-intro h1 { font-size: clamp(2.5rem,5vw,3rem); font-weight: 500; line-height: 1.11; margin-block: 16px 24px; }
.page-intro > p:not(.eyebrow) { font-size: 1.125rem; }
.breadcrumb { margin-bottom: 32px; }
.portfolio-category h2 { font-size: 1.875rem; font-family: var(--ui-font); font-weight: 500; }
.portfolio-category .portfolio-cards { grid-template-columns: 1fr 1fr; }
.case-card { border: 1px solid #e5e5e5; border-radius: 16px; background: white; overflow: hidden; }
.case-intro { padding: 32px; }
.case-intro h3 { font-family: var(--ui-font); font-size: 1.875rem; font-weight: 500; }
.case-tags span { background: #f5f5f5; border: 1px solid #e5e5e5; padding: 6px 12px; border-radius: 9999px; }
.case-status { color: #525252; border: 0; }
.alan-role { border-color: #e5e5e5; padding-top: 20px; margin-top: 24px; }
.alan-role strong { color: #171717; font-weight: 600; }
.alan-role p { color: #171717; font-size: 1rem; font-weight: 500; }
.image-tag { border: 1px solid #e5e5e5; background: white; border-radius: 9999px; }
.metric-grid { background: #f5f5f5; border: 1px solid #e5e5e5; border-radius: 12px; padding: 24px; margin-block: 32px 20px; }
.metric, .metric:first-child { border: 0; padding: 0; }
.metric strong { color: #bf0110; font-size: clamp(2rem,3.5vw,2.5rem); font-weight: 600; letter-spacing: -.02em; }
.metric p { color: #404040; font-size: 1rem; }
.case-explore { border: 0; }
.tabs { gap: 8px; margin-bottom: 32px; }
.tab { padding: 10px 16px; border: 1px solid #e5e5e5; border-radius: 8px; background: white; color: #171717; font-size: .875rem; }
.tab[aria-selected='true'] { background: #fff1f2; color: #bf0110; border-color: #f2d3d5; }
.panel h3 { font-family: var(--ui-font); font-size: 1.875rem; font-weight: 500; }
.panel-art, .makingof-open, .makingof-video { border-radius: 12px; }
.panel-art { background: #f5f5f5; border: 1px solid #e5e5e5; }
.brand-art { background: #171717; }
.expand-label { border: 1px solid #e5e5e5; border-radius: 8px; background: white; }
.sante-color span { border-radius: 6px; }
.backstage-links a { padding: 10px 16px; border: 1px solid #e5e5e5; border-radius: 8px; background: white; }
.backstage-folder { border: 1px solid #e5e5e5; border-radius: 12px; background: white; margin-bottom: 16px; }
.backstage-folder > summary { padding: 24px; }
.folder-title { font-size: 1.5rem; font-family: var(--ui-font); font-weight: 500; }
.folder-content { margin-inline: 24px; padding-block: 24px; }
.makingof-lightbox { border: 1px solid #e5e5e5; border-radius: 12px; background: white; }
.lightbox-close, .lightbox-nav button { border-radius: 8px; }
.lightbox-figure img { border-radius: 12px; background: #f5f5f5; }

.contact-section { background: #f5f5f5; border-top: 1px solid #e5e5e5; color: #171717; }
.contact-layout { gap: 64px; }
.contact-info .eyebrow { color: #bf0110; }
.contact-info h2 { color: #171717; font-size: clamp(2rem,3.3vw,2.5rem); font-weight: 500; }
.contact-info > p:not(.eyebrow) { color: #525252; }
.contact-directory { gap: 24px; }
.contact-directory a { border-color: #e5e5e5; }
.contact-directory span { color: #525252; }
.contact-directory strong { color: #171717; font-weight: 500; }
.contact-form { background: white; padding: 24px; border: 1px solid #e5e5e5; border-radius: 12px; gap: 20px; }
.contact-form h3 { font-family: var(--ui-font); color: #171717; font-size: 1.25rem; font-weight: 500; }
.contact-field label { color: #171717; font-weight: 500; }
.contact-field label span { color: #525252; }
.contact-field input, .contact-field textarea { border: 1px solid #171717; border-radius: 6px; background: white; color: #171717; padding: 12px; font-size: 1rem; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #737373; }
.contact-field input:focus, .contact-field textarea:focus { outline: 2px solid #bf0110; outline-offset: 2px; border-color: #bf0110; }
.contact-form .contact-form-note, .contact-form .contact-form-status, .contact-form noscript p { color: #525252; }
.contact-form .btn { background: #0a0a0a; border-color: #0a0a0a; color: white; }
.contact-form .btn:hover { background: #262626; border-color: #262626; color: white; }
footer { background: white; padding-block: 24px; }
.footer { border-color: #e5e5e5; padding-top: 24px; }
.footer .brand-logo { background: transparent; }

@media (max-width: 1150px) {
  .hero h1 { font-size: 3rem; }
  .about, .process-preview, .contact-layout { gap: 40px; }
}
@media (max-width: 950px) {
  .certification-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .nav-shell { height: 142px; }
  .nav-links { background: white; border-bottom: 1px solid #e5e5e5; }
  .hero-copy { padding: 48px 24px 0; }
  .hero-intro { max-width: 720px; font-size: 1.125rem; }
  .hero h1 { font-size: 2.75rem; }
  .hero-photo { height: clamp(440px,calc(100svh - 142px),1080px); }
  .hero .actions { gap: 24px; }
  .service summary { gap: 20px; }
}
@media (max-width: 900px) { .home .portfolio-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 800px) {
  .section, #servicos, .contact-section { padding-block: 64px; }
  .hero h1 { font-size: 2.5rem; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-item { display: block; }
  .process-preview { padding-bottom: 64px; gap: 32px; }
  .process-copy h2 { font-size: 2.25rem; }
  .portfolio-category .portfolio-cards { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; border: 1px solid #e5e5e5; }
  .metric-grid { padding: 24px; }
}
@media (max-width: 600px) {
  .certification-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-copy { padding: 40px 16px 0; }
  .hero .eyebrow { font-size: 1.125rem; }
  .hero h1 { font-size: 2.25rem; margin-block: 20px; }
  .hero-role { font-size: .9375rem; }
  .hero-intro { font-size: 1rem; }
  .hero-photo { height: clamp(420px,calc(100svh - 142px),760px); }
  .hero-photo .hero-photo-actions { inset: auto 16px 24px; }
  .hero-photo-actions .actions { gap: 12px; }
  .hero-photo-actions .btn, .hero-photo-actions .text-link { padding-inline: 16px; }
  .hero-copy .hero-experience { gap: 16px; }
  .hero-experience > strong { font-size: 1.75rem; }
  .hero-copy .hero-experience p { font-size: .875rem; }
  .section h2, .preview-head h2, .director-section h2, .contact-info h2 { font-size: 2rem; }
  .home .portfolio-cards { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .tile-copy, .home .case-wide .tile-copy { padding: 24px; }
  .tile-copy h3, .home .case-wide h3 { font-size: 1.5rem; }
  .home-case-evidence { gap: 8px 12px; padding: 12px; }
  .method-item { padding: 24px; }
  .service summary { gap: 12px; }
  .service h3 { font-size: 1.25rem; }
  .network-certifications { padding: 20px; }
  .network-certifications h3 { font-size: 1.25rem; }
  .process-copy h2 { font-size: 2rem; }
  .case-intro { padding: 24px; }
  .case-intro h3 { font-size: 1.75rem; }
  .metric-grid { gap: 24px; }
  .metric, .metric:first-child { border: 0; padding: 0; }
  .tabs { gap: 8px; }
  .tab { padding: 10px 12px; }
  .folder-content { margin-inline: 20px; }
  .backstage-folder > summary { padding: 20px; }
  .contact-directory { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2rem; }
  .hero-copy .hero-experience { gap: 12px; }
}

/* Le Roc */
.leroc-feature { background: #0e0f13; }
.leroc-feature img { object-fit: contain; }
.leroc-story { max-width: 900px; margin: 48px 0; font-size: 1.125rem; }
.leroc-story p + p { margin-top: 20px; }
.leroc-video-card { margin: 0 0 56px; }
.leroc-video { height: auto; aspect-ratio: 16 / 9; background: #f4f4f2; border: 1px solid #e5e5e5; }
.leroc-video-card figcaption { padding-top: 24px; max-width: 720px; }
.leroc-video-card h4 { margin-bottom: 12px; font-size: 1.5rem; letter-spacing: -.035em; }
.leroc-materials { grid-template-columns: 1fr 1fr; }
.leroc-materials .makingof-open { background: #f4f4f2; border: 1px solid #e5e5e5; }
.leroc-materials .makingof-open img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tile-leroc { background: #0e0f13; }
.tile-leroc img { object-fit: cover; object-position: 50% 62%; }
@media (max-width: 700px) { .leroc-materials { grid-template-columns: 1fr; } }
@media (min-width: 1200px) { .home .portfolio-cards { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 901px) and (max-width: 1199px) { .home .portfolio-cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.leroc-feature .image-tag { top: auto; bottom: 22px; }
@media (max-width: 900px) { .leroc-feature { height: auto; aspect-ratio: 16 / 9; } }
