/* Jean Gedean — editorial portfolio for brand direction and performance. */
:root {
  --paper: #f6f6f5; --white: #fff; --ink: #151515; --text: #252525;
  --graphite: #151515; --muted: #636363; --slate: #747474; --stone: #969696;
  --line: #d7d7d5; --ember: #c92721; --radius: 2px; --max: 1440px;
  --shadow: none;
  --display-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ui-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.6 var(--ui-font); -webkit-font-smoothing: antialiased; }
body, button, input, textarea { letter-spacing: -.015em; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ember); outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display-font); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; color: var(--ink); }
p { color: var(--muted); }
.wrap { width: min(calc(100% - 96px),var(--max)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 20px; padding: 12px 20px; background: var(--ink); color: white; z-index: 100; }
.skip:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow, .mini-label, .tile-category, .category { font-size: .875rem; line-height: 1.5; letter-spacing: .015em; }
.eyebrow { color: var(--muted); }

/* A centered signature, restrained navigation and an open search field. */
.nav-shell { position: sticky; top: 0; z-index: 30; height: 96px; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.nav.wrap { width: min(calc(100% - 64px),1504px); }
.nav-links { display: flex; justify-self: start; align-items: center; gap: 22px; font-size: .875rem; }
.nav-links a { position: relative; padding-block: 10px; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 4px; width: 0; height: 1px; background: var(--ink); transition: width .2s; }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { width: 100%; }
.brand-logo { display: inline-flex; align-items: center; justify-content: center; justify-self: center; min-width: 68px; min-height: 68px; }
.brand-symbol { display: block; position: relative; width: 57px; height: 64px; overflow: hidden; filter: grayscale(1) invert(1) contrast(3); mix-blend-mode: multiply; }
.brand-symbol img { display: block; width: 100%; height: 100%; max-width: none; }
.nav-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
.social-links { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 44px; }
.social-link:hover { color: var(--ember); }
.social-link svg { display: block; }
.menu-toggle { display: none; padding: 8px 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: .875rem; min-height: 44px; }
.site-search { display: flex; align-items: center; position: relative; width: 190px; min-width: 130px; height: 44px; border-bottom: 1px solid var(--line); }
.site-search:focus-within { border-color: var(--ink); }
.site-search input { width: 100%; min-width: 0; padding: 10px 0; border: 0; background: transparent; color: var(--ink); font-size: .875rem; outline: none; }
.site-search input::placeholder { color: var(--muted); opacity: 1; }
.search-submit { display: flex; justify-content: center; align-items: center; flex-shrink: 0; width: 40px; height: 44px; border: 0; background: transparent; color: var(--ink); }
.search-submit:hover { color: var(--ember); }
.search-results { position: absolute; top: calc(100% + 18px); right: 0; width: min(430px,calc(100vw - 40px)); max-height: min(560px,calc(100svh - 180px)); overflow: auto; padding: 24px; background: var(--white); border: 1px solid var(--line); z-index: 35; box-shadow: 0 12px 36px #00000015; }
.search-results[hidden] { display: none; }
#search-status { font-size: .875rem; margin-bottom: 12px; }
#search-result-list { list-style: none; padding: 0; margin: 0; }
#search-result-list a { display: flex; flex-direction: column; gap: 5px; padding: 16px 0; border-top: 1px solid var(--line); }
#search-result-list a:hover, #search-result-list a:focus-visible { color: var(--ember); }
#search-result-list strong { font-size: 1rem; font-weight: 500; }
.search-result-category, .search-result-description { font-size: .875rem; color: var(--muted); }

/* Two deliberate columns: an oversized discipline statement and an author portrait. */
.hero { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-block: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: var(--ink); font-size: 1.125rem; font-weight: 500; }
.hero-role { font-size: .875rem; margin-top: 4px; }
.hero h1 { margin: 36px 0 28px; font-size: clamp(2.75rem,6.6vw,6.8rem); line-height: .99; letter-spacing: -.065em; text-wrap: normal; overflow-wrap: anywhere; }
.hero h1 .muted { color: #696969; }
.ember-period { color: var(--ember); }
.typewriter-line { display: grid; width: fit-content; max-width: 100%; }
.typewriter-reserve, .typewriter-output { grid-area: 1 / 1; }
.typewriter-reserve { visibility: hidden; }
.typewriter-output { text-align: left; }
.typewriter-output.is-typing::after { content: '|'; display: inline-block; width: 0; font-weight: 400; animation: typewriter-caret .8s steps(1,end) infinite; }
@keyframes typewriter-caret { 0%,49% { opacity: .85; } 50%,100% { opacity: 0; } }
.hero-intro { max-width: 420px; font-size: 1.0625rem; line-height: 1.65; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 13px 24px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: white; font-size: .9375rem; font-weight: 500; transition: background .2s, color .2s; }
.btn:hover { background: var(--ember); border-color: var(--ember); }
.btn-light { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-light:hover { color: white; }
.text-link { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: .9375rem; font-weight: 500; }
.text-link:hover { color: var(--ember); }
.hero-experience { display: flex; align-items: center; gap: 20px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-experience > strong { display: flex; align-items: baseline; gap: 6px; font-size: 3.25rem; font-weight: 500; letter-spacing: -.06em; line-height: 1; white-space: nowrap; }
.hero-experience strong span { font-size: .875rem; letter-spacing: 0; font-weight: 400; }
.hero-experience p { font-size: .875rem; line-height: 1.45; }
.hero-years { margin-left: auto; font-size: .875rem; color: var(--muted); white-space: nowrap; }
.hero-photo { position: relative; height: clamp(500px,46vw,680px); overflow: hidden; background: #2c0b0b; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-photo::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,#000b); pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 1; bottom: 30px; left: 30px; right: 30px; display: flex; justify-content: space-between; align-items: end; gap: 20px; color: white; }
.hero-photo figcaption span:first-child { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.03em; }
.hero-photo figcaption span:last-child { font-size: .875rem; line-height: 1.5; text-align: right; color: #dedede; }
.specialties { display: flex; justify-content: space-between; gap: 32px; padding-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .875rem; }
.specialties .lead { color: var(--muted); }
.specialties .labels { display: flex; gap: 36px; flex-wrap: wrap; }

/* The projects are editorial spreads rather than small service cards. */
.section { padding-block: 112px; }
.preview-head, .section-head { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 64px; margin-bottom: 52px; }
.section h2, .preview-head h2 { font-size: clamp(2.5rem,4.5vw,4.5rem); max-width: 900px; margin-top: 22px; }
.preview-head > a, .section-head > p { justify-self: end; }
.section-head > p { max-width: 320px; font-size: 1.0625rem; }
.portfolio-cards { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px 32px; }
.project-tile { display: flex; flex-direction: column; min-width: 0; }
.tile-photo { height: 490px; overflow: hidden; background: #ededeb; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.project-tile:hover .tile-photo img { transform: scale(1.035); }
.tile-vinicius, .tile-alan { background: var(--ink); }
.tile-vinicius img { object-position: center 18%; }
.tile-alan img { object-fit: contain; }
.tile-sante img { object-fit: cover; }
.tile-copy { display: flex; flex-direction: column; align-items: start; padding-top: 24px; border-top: 1px solid var(--ink); margin-top: 16px; }
.tile-category { color: var(--muted); margin-bottom: 14px; }
.tile-copy h3 { font-size: clamp(2rem,2.9vw,2.75rem); margin-bottom: 16px; }
.tile-copy > p:not(.tile-category) { max-width: 510px; font-size: 1rem; }
.tile-action { display: inline-block; margin-top: 24px; border-bottom: 1px solid currentColor; font-size: .875rem; padding-bottom: 3px; }
.project-tile:hover .tile-action { color: var(--ember); }
.home .portfolio-cards { grid-template-columns: 1.25fr 1fr; }
.home .tile-photo { height: 530px; }
.home .case-brand .tile-photo { background: #eae8e4; }
.home .case-brand .tile-photo img { object-fit: contain; }
.home-case-evidence { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding-top: 20px; width: 100%; border-top: 1px solid var(--line); }
.home-case-evidence strong { font-size: 2.6rem; font-weight: 500; line-height: 1.1; letter-spacing: -.05em; white-space: nowrap; }
.home-case-evidence span { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.home .case-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #ececeb; }
.home .case-wide .tile-photo { height: 430px; }
.home .case-wide .tile-copy { margin: 0; padding: 48px; border: 0; justify-content: center; }
.home .case-wide h3 { font-size: clamp(2.5rem,3.8vw,3.75rem); }

/* The director's point of view has its own, dark chapter. */
.director-section { background: var(--ink); color: white; }
.about { display: grid; grid-template-columns: .75fr 1.5fr; gap: 100px; }
.director-section .eyebrow { color: #aaa; }
.director-section h2 { color: white; font-size: clamp(3rem,5vw,5rem); margin-top: 34px; }
.director-section p { color: #b9b9b9; }
.about-body .large { color: white; font-size: clamp(2rem,3.2vw,3rem); line-height: 1.15; letter-spacing: -.045em; margin-bottom: 30px; }
.about-body > p:not(.large) { max-width: 690px; font-size: 1.0625rem; margin-bottom: 18px; }
.about-meta { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 28px; margin-top: 38px; border-top: 1px solid #444; color: #aaa; font-size: .875rem; }
.about-meta strong { display: block; margin-bottom: 6px; color: white; font-weight: 500; }
.method { margin-top: 88px; padding-top: 28px; border-top: 1px solid #444; }
.method-head { font-size: .875rem; margin-bottom: 32px; }
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
.method-item { padding-top: 24px; border-top: 1px solid #444; }
.method-item > span { font-size: .875rem; color: #aaa; }
.method-item h3 { color: white; font-size: 1.75rem; margin: 28px 0 16px; letter-spacing: -.04em; }
.method-item p { font-size: 1rem; max-width: 320px; }

/* Large typographic service rows and an understated certification register. */
#servicos { padding-block: 112px; }
.services { border-top: 1px solid var(--ink); }
.service { border-bottom: 1px solid var(--line); }
.service summary { list-style: none; display: grid; grid-template-columns: 44px 1.3fr 1fr 32px; align-items: center; gap: 28px; padding: 32px 0; }
.service summary::-webkit-details-marker { display: none; }
.service-num { color: var(--muted); font-size: .875rem; align-self: start; padding-top: 5px; }
.service h3 { font-size: clamp(1.5rem,2.4vw,2.125rem); line-height: 1.15; letter-spacing: -.035em; }
.service-short { font-size: .9375rem; color: var(--muted); max-width: 300px; }
.plus { font-size: 2rem; font-weight: 300; text-align: right; transition: transform .2s; }
.service[open] .plus { transform: rotate(45deg); }
.service[open] h3 { color: var(--ember); }
.service-detail { padding: 0 48px 32px 72px; max-width: 880px; }
.service-detail ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.service-detail li { border: 1px solid var(--line); padding: 7px 12px; font-size: .875rem; }
.network-certifications { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.network-certifications h3 { font-size: 1.25rem; letter-spacing: -.025em; margin-bottom: 36px; }
.certification-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.certification-brand { min-width: 0; padding: 0 16px 0 0; border-right: 1px solid var(--line); }
.certification-brand:last-child { border-right: 0; }
.certification-logo { display: flex; align-items: center; justify-content: flex-start; gap: 8px; height: 80px; margin-bottom: 12px; }
.certification-logo img { max-width: min(130px,100%); max-height: 50px; width: auto; height: auto; object-fit: contain; }
.certification-logo-pair, .certification-logo-meta { align-items: flex-start; flex-direction: column; justify-content: center; }
.certification-logo-pair img { max-width: min(114px,100%); max-height: 26px; }
.certification-logo-meta img:first-child { max-width: min(110px,100%); max-height: 42px; }
.certification-logo-meta img:last-child { width: 20px; height: 20px; }
.certification-brand > span { color: var(--muted); font-size: .875rem; }
.process-preview { display: grid; grid-template-columns: 1.35fr 1fr; gap: 80px; align-items: center; padding-bottom: 112px; }
.process-image { overflow: hidden; }
.process-image img { width: 100%; height: 390px; object-fit: cover; }
.process-copy h2 { font-size: clamp(2rem,3.5vw,3.3rem); margin: 24px 0; }
.process-copy > p:not(.eyebrow) { max-width: 350px; }
.process-copy .text-link { margin-top: 28px; }

/* Case studies use the same scale, rules and generous image surfaces. */
.page-intro { padding: 64px 0 56px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; font-size: .875rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--ember); }
.page-intro h1 { margin: 20px 0 26px; max-width: 1100px; font-size: clamp(3rem,7.5vw,7rem); line-height: .99; text-wrap: balance; }
.page-intro > p:not(.eyebrow) { max-width: 630px; font-size: 1.1875rem; line-height: 1.5; }
.portfolio-category { padding: 0 0 80px; }
.portfolio-category h2 { font-size: 2rem; margin-bottom: 16px; }
.portfolio-category > p { max-width: 550px; margin-bottom: 36px; }
.portfolio-category + .portfolio-category { padding-top: 48px; border-top: 1px solid var(--line); }
.portfolio-category .portfolio-cards { grid-template-columns: 1fr 1fr; }
.project-detail { padding-bottom: 80px; }
.detail-article { padding: 0; margin: 0; }
.case-card { display: grid; grid-template-columns: 1.15fr 1fr; background: #ececeb; }
.case-image { position: relative; height: 580px; overflow: hidden; }
.case-image > img { width: 100%; height: 100%; object-fit: cover; }
.vinicius-feature { background: var(--ink); }
.vinicius-feature img { object-position: center 18%; }
.alan-feature { background: var(--ink); }
.alan-feature img { object-fit: contain; }
.sante-feature { background: #eae8e4; }
.sante-feature img { object-fit: contain; }
.image-tag { position: absolute; top: 22px; left: 22px; max-width: calc(100% - 44px); padding: 8px 12px; background: var(--paper); color: var(--ink); font-size: .875rem; }
.case-intro { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.case-intro .category { color: var(--muted); }
.case-intro h3 { font-size: clamp(2rem,3.2vw,3rem); margin: 20px 0; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.case-tags span { border: 1px solid #c7c7c5; padding: 6px 10px; font-size: .875rem; }
.case-status { align-self: flex-start; padding-bottom: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.alan-role { padding-top: 24px; margin-top: 32px; border-top: 1px solid #c7c7c5; font-size: .875rem; }
.alan-role strong { display: block; margin-bottom: 8px; font-weight: 500; }
.alan-story, .sante-story { max-width: 900px; margin: 48px 0; font-size: 1.125rem; }
.alan-story p + p { margin-top: 20px; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; padding: 48px 0 26px; }
.metric { border-left: 1px solid var(--line); padding-left: 32px; }
.metric:first-child { padding-left: 0; border: 0; }
.metric strong { font-size: clamp(2.5rem,4.5vw,4rem); font-weight: 500; letter-spacing: -.055em; line-height: 1; }
.metric p { margin-top: 14px; }
.metrics-note { font-size: .875rem; max-width: 850px; margin-bottom: 40px; }
.case-explore { border-top: 1px solid var(--line); padding-top: 32px; }
.tabs { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 48px; }
.tab { border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 1rem; padding: 12px 0; }
.tab[aria-selected='true'] { color: var(--ink); border-color: var(--ember); }
.panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.panel[hidden] { display: none; }
.panel h3 { font-size: 2.5rem; margin-bottom: 24px; }
.panel p { margin-bottom: 18px; }
.panel .mini-label { margin-bottom: 20px; }
.panel-art { height: 430px; display: flex; justify-content: center; align-items: center; background: #eaeae8; overflow: hidden; }
.brand-art { background: var(--ink); }
.brand-art img { max-height: 100%; width: auto; object-fit: contain; }
.content-art { gap: 32px; padding: 32px; }
.content-art figure { min-width: 0; max-width: 150px; }
.content-art img { height: 320px; width: auto; object-fit: contain; }
.content-art figcaption { margin-top: 12px; color: var(--muted); font-size: .875rem; }
.performance-art img { width: 100%; height: 100%; padding: 28px; object-fit: contain; }
.case-foot, .project-end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 32px; margin-top: 48px; border-top: 1px solid var(--line); }
.case-foot p { font-size: .9375rem; }
.vs-result { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; margin: 64px 0; }
.vs-result .makingof-open img { height: 540px; aspect-ratio: auto; object-fit: contain; background: var(--ink); }
.vs-result figcaption { padding: 0; }
.vs-result h4 { font-size: 2.5rem; margin-bottom: 24px; }
.sante-foundations { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.sante-foundations h4 { font-size: 1.375rem; margin-bottom: 24px; }
.sante-palette { display: flex; flex-wrap: wrap; gap: 20px; }
.sante-color { text-align: center; }
.sante-color span { display: block; width: 64px; height: 64px; background: var(--swatch); border: 1px solid var(--line); }
.sante-color figcaption { color: var(--muted); font-size: .875rem; margin-top: 10px; }
.sante-type p { color: var(--ink); font-size: 1.75rem; }
.sante-type small { display: block; margin-top: 12px; color: var(--muted); font-size: .875rem; }

/* Production images, project folders and the image viewer. */
.makingof-project { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.makingof-project h3 { font-size: 1.75rem; }
.makingof-project p { font-size: .875rem; }
.makingof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.makingof-card { min-width: 0; }
.makingof-open { display: block; position: relative; width: 100%; padding: 0; border: 0; overflow: hidden; background: #eaeae8; color: var(--ink); }
.makingof-open img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .35s; }
.makingof-open:hover img { transform: scale(1.025); }
.expand-label { position: absolute; bottom: 16px; right: 16px; padding: 8px 14px; background: var(--paper); color: var(--ink); font-size: .875rem; }
.makingof-card figcaption { padding-top: 24px; }
.makingof-card h4 { margin-bottom: 12px; font-size: 1.5rem; letter-spacing: -.035em; }
.makingof-card p { font-size: 1rem; }
.makingof-credit { margin-top: 28px; font-size: .875rem; }
.alan-materials, .alan-backstage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.alan-materials .makingof-open { background: var(--ink); }
.alan-materials .makingof-open img { height: 540px; aspect-ratio: auto; object-fit: contain; }
.alan-backstage-grid .makingof-open img { height: 480px; aspect-ratio: auto; object-fit: contain; }
.makingof-video { display: block; width: 100%; height: 480px; object-fit: contain; background: var(--ink); }
.video-fallback { display: inline-block; margin-top: 12px; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.sante-materials .makingof-open img { height: 350px; aspect-ratio: auto; object-fit: contain; }
.sante-materials .makingof-card:first-child .makingof-open { background: var(--ink); }
.backstage-page { padding-bottom: 80px; }
.backstage-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.backstage-links a { padding: 10px 16px; border: 1px solid var(--line); font-size: .875rem; }
.backstage-links a:hover { border-color: var(--ink); }
.backstage-folder { margin-bottom: 20px; border-top: 1px solid var(--ink); background: transparent; overflow: hidden; scroll-margin-top: 120px; }
.backstage-folder > summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; list-style: none; padding: 32px 0; }
.backstage-folder > summary::-webkit-details-marker { display: none; }
.folder-title { display: block; font-family: var(--display-font); font-size: 2rem; font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.folder-meta { display: block; margin-top: 12px; color: var(--muted); font-size: .875rem; }
.folder-plus { font-size: 2rem; }
.backstage-folder[open] .folder-plus { transform: rotate(45deg); }
.folder-content { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.folder-content article { margin: 0; padding: 0; border: 0; }
.folder-content .makingof-project { display: none; }
.folder-content .makingof-grid:not(.course-grid) { grid-template-columns: 1fr 1fr; }
.folder-content .makingof-open img { max-height: 480px; object-fit: contain; background: #eaeae8; }
.course-intro { max-width: 690px; margin-bottom: 32px; }
.course-grid { grid-template-columns: 1.6fr 1fr 1fr; }
.folder-content .course-grid .makingof-open img { height: 360px; aspect-ratio: auto; object-fit: cover; }
.makingof-lightbox { width: min(1000px,calc(100% - 40px)); max-height: 94svh; margin: auto; padding: 32px; border: 0; overflow: auto; background: var(--paper); color: var(--ink); }
.makingof-lightbox::backdrop { background: #151515e8; }
.lightbox-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.lightbox-header h3 { font-size: 1.5rem; letter-spacing: -.025em; }
.lightbox-close, .lightbox-nav button { padding: 10px 16px; min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: .875rem; }
.lightbox-close:hover, .lightbox-nav button:hover { border-color: var(--ink); }
.lightbox-figure img { width: 100%; height: calc(78svh - 160px); min-height: 200px; object-fit: contain; background: #eaeae8; }
.lightbox-figure figcaption { margin-top: 16px; font-size: 1rem; color: var(--muted); }
.lightbox-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.lightbox-count { font-size: .875rem; color: var(--muted); }

/* A clear invitation, with direct contacts and a message form. */
.contact-section { padding-block: 112px; background: var(--ink); color: white; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; align-items: start; }
.contact-info .eyebrow { color: #aaa; }
.contact-info h2 { color: white; margin: 28px 0; font-size: clamp(2.5rem,4.8vw,4.75rem); line-height: 1.06; }
.contact-info > p:not(.eyebrow) { max-width: 430px; color: #b9b9b9; }
.contact-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; font-style: normal; }
.contact-directory a { display: flex; flex-direction: column; gap: 10px; min-width: 0; border-top: 1px solid #444; padding-top: 16px; }
.contact-directory span { color: #aaa; font-size: .875rem; }
.contact-directory strong { color: white; font-size: 1rem; font-weight: 400; overflow-wrap: anywhere; }
.contact-directory a:hover strong { text-decoration: underline; text-underline-offset: 5px; }
.contact-form { display: flex; flex-direction: column; gap: 24px; padding-top: 6px; }
.contact-form h3 { color: white; font-size: 1.75rem; margin-bottom: 10px; letter-spacing: -.035em; }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field label { color: #dedede; font-size: .875rem; }
.contact-field label span { color: #aaa; }
.contact-field input, .contact-field textarea { width: 100%; min-width: 0; padding: 12px 0; border: 0; border-bottom: 1px solid #666; border-radius: 0; background: transparent; color: white; font-size: 1rem; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #aaa; opacity: 1; }
.contact-field input:focus, .contact-field textarea:focus { outline: 1px solid #bbb; outline-offset: 5px; border-color: white; }
.contact-field textarea { min-height: 130px; resize: vertical; }
.contact-form .contact-form-note, .contact-form .contact-form-status, .contact-form noscript p { font-size: .875rem; color: #aaa; }
.contact-form .btn { width: 100%; background: var(--paper); border-color: var(--paper); color: var(--ink); }
.contact-form .btn:hover { background: white; border-color: white; }
.contact-form-status a, .contact-form noscript a { text-decoration: underline; text-underline-offset: 3px; }
footer { padding: 44px 0 28px; }
.footer-signature { font-size: clamp(3.25rem,10.5vw,10rem); letter-spacing: -.075em; line-height: 1.1; padding-bottom: 36px; color: var(--ink); }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer .brand-logo { min-width: 52px; min-height: 58px; background: transparent; }
.footer .brand-symbol { transform: scale(.8); transform-origin: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a:hover { color: var(--ember); }

/* Every chapter keeps its hierarchy on smaller screens. */
@media (min-width: 1800px) { .hero h1 { font-size: 7rem; } }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  .hero h1 { font-size: clamp(2.75rem,6.5vw,6rem); }
  .hero-years { display: none; }
  .hero-experience { margin-top: 36px; }
  .hero-photo figcaption { left: 24px; right: 24px; bottom: 24px; }
  .hero-photo figcaption span:last-child { display: none; }
  .home .tile-photo { height: 450px; }
  .about, .contact-layout { gap: 64px; }
  .panel, .vs-result, .process-preview { gap: 48px; }
  .case-intro { padding: 32px; }
  .case-image { height: 520px; }
  .service summary { gap: 20px; }
}
@media (max-width: 1000px) {
  .nav-links { gap: 15px; }
  .nav-tools { gap: 8px; }
  .site-search { width: 150px; }
  .home .case-wide .tile-copy { padding: 32px; }
  .certification-grid { gap: 16px; }
  .certification-logo img { max-width: min(112px,100%); }
  .contact-directory { grid-template-columns: 1fr; gap: 20px; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .course-grid .makingof-card:first-child { grid-column: 1 / -1; }
  .folder-content .course-grid .makingof-card:first-child img { height: auto; aspect-ratio: 16/9; }
}
@media (max-width: 950px) {
  html { scroll-padding-top: 158px; }
  .nav-shell { height: 142px; }
  .nav.wrap { width: calc(100% - 40px); }
  .nav { grid-template-columns: 1fr auto 1fr; grid-template-rows: 76px 50px; gap: 0 12px; align-content: start; }
  .nav > .menu-toggle { display: block; grid-column: 1; grid-row: 1; justify-self: start; }
  .nav > .brand-logo { grid-column: 2; grid-row: 1; }
  .nav-tools { display: contents; }
  .social-links { grid-column: 3; grid-row: 1; justify-self: end; }
  .social-link { width: 32px; }
  .site-search { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 42px; }
  .nav-links { display: none; position: absolute; top: 142px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .search-results { right: 0; width: 100%; max-height: calc(100svh - 180px); }
  .backstage-folder { scroll-margin-top: 158px; }
  .hero { gap: 24px; }
  .hero-intro { font-size: 1rem; }
  .hero-experience { gap: 16px; }
  .hero-experience > strong { font-size: 2.75rem; }
  .hero-photo { height: 540px; }
  .hero .actions { gap: 18px; }
  .hero .btn { padding-inline: 18px; }
  .specialties { flex-direction: column; gap: 14px; }
  .specialties .labels { justify-content: space-between; gap: 16px; }
  .about { grid-template-columns: .7fr 1.3fr; gap: 40px; }
  .method-grid { gap: 28px; }
  .preview-head, .section-head { gap: 40px; }
  .service summary { grid-template-columns: 32px 1fr 28px; gap: 20px; }
  .service-short { grid-column: 2; grid-row: 2; max-width: none; }
  .plus { grid-column: 3; grid-row: 1 / 3; }
  .service-detail { padding-left: 52px; }
  .process-preview { grid-template-columns: 1.2fr 1fr; gap: 32px; }
  .process-image img { height: 340px; }
  .case-card { grid-template-columns: 1fr 1fr; }
  .panel h3 { font-size: 2rem; }
  .panel-art { height: 380px; }
  .certification-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
  .certification-brand { border-right: 0; }
}
@media (max-width: 800px) {
  .section, #servicos, .contact-section { padding-block: 80px; }
  .hero { grid-template-columns: 1fr; padding-block: 36px; gap: 36px; }
  .hero h1 { font-size: clamp(2.75rem,10vw,5.5rem); margin-block: 28px; }
  .hero-intro { max-width: 490px; }
  .hero-experience { max-width: 550px; margin-top: 36px; }
  .hero-years { display: block; }
  .hero-photo { height: 580px; }
  .hero-photo figcaption span:last-child { display: block; }
  .preview-head, .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .preview-head > a, .section-head > p { justify-self: start; }
  .section-head > p { max-width: 450px; }
  .home .portfolio-cards, .portfolio-cards, .portfolio-category .portfolio-cards { grid-template-columns: 1fr; gap: 48px; }
  .home .tile-photo, .tile-photo { height: 560px; }
  .home .case-wide { grid-column: auto; grid-template-columns: 1fr; background: transparent; }
  .home .case-wide .tile-photo { height: 560px; }
  .home .case-wide .tile-copy { padding: 24px 0 0; margin-top: 16px; border-top: 1px solid var(--ink); }
  .home .case-wide h3 { font-size: 2.5rem; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .method { margin-top: 56px; }
  .method-grid { grid-template-columns: 1fr; gap: 32px; }
  .method-item { display: grid; grid-template-columns: 32px 1fr; gap: 12px 24px; }
  .method-item span { grid-row: 1 / 3; }
  .method-item h3 { margin: 0; }
  .method-item p { grid-column: 2; max-width: 500px; }
  .process-preview { grid-template-columns: 1fr; padding-bottom: 80px; gap: 32px; }
  .process-image img { height: auto; aspect-ratio: 16/10; }
  .process-copy h2 { max-width: 540px; }
  .process-copy > p:not(.eyebrow) { max-width: 490px; }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
  .contact-directory { grid-template-columns: 1fr 1fr; }
  .contact-form { padding-top: 32px; border-top: 1px solid #444; }
  .case-card { grid-template-columns: 1fr; }
  .case-image { height: 560px; }
  .case-intro { padding: 40px; }
  .panel, .vs-result { grid-template-columns: 1fr; gap: 32px; }
  .panel-art { height: 450px; }
  .sante-foundations { grid-template-columns: 1fr; }
  .sante-materials { grid-template-columns: 1fr; }
  .sante-materials .makingof-open img { height: auto; max-height: 540px; }
  .footer > p { width: 100%; order: 3; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .hero h1 { font-size: clamp(2.65rem,10.7vw,4rem); }
  .hero-photo { height: 470px; }
  .hero-photo figcaption { left: 20px; right: 20px; bottom: 24px; }
  .hero-photo figcaption span:first-child { font-size: 1.375rem; }
  .hero-photo figcaption span:last-child { max-width: 120px; }
  .hero-experience { gap: 16px; }
  .hero-years { display: none; }
  .specialties .labels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .section h2, .preview-head h2 { font-size: 2.625rem; margin-top: 18px; }
  .home .tile-photo, .home .case-wide .tile-photo, .tile-photo { height: 420px; }
  .tile-copy h3 { font-size: 2.25rem; }
  .home-case-evidence { gap: 18px; }
  .home-case-evidence strong { font-size: 2.25rem; }
  .about-body .large { font-size: 2rem; }
  .about-meta { gap: 28px; }
  .method-item { gap: 12px 18px; }
  .method-item h3 { font-size: 1.5rem; }
  .service summary { padding-block: 28px; gap: 14px; grid-template-columns: 24px 1fr 24px; }
  .service h3 { font-size: 1.5rem; }
  .service-detail { padding: 0 0 28px 38px; }
  .certification-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .network-certifications { margin-top: 48px; }
  .network-certifications h3 { max-width: 280px; }
  .process-copy h2 { font-size: 2.25rem; }
  .page-intro { padding: 36px 0 44px; }
  .breadcrumb { margin-bottom: 36px; }
  .page-intro h1 { font-size: clamp(2.75rem,12vw,4.25rem); overflow-wrap: anywhere; }
  .page-intro > p:not(.eyebrow) { font-size: 1.0625rem; }
  .portfolio-category h2 { font-size: 1.75rem; }
  .case-image { height: 470px; }
  .case-intro { padding: 28px 24px; }
  .case-intro h3 { font-size: 2.25rem; }
  .metric-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .metric, .metric:first-child { border: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
  .metric strong { font-size: 3rem; }
  .metric p { margin-top: 8px; }
  .tabs { gap: 18px; }
  .tab { font-size: .9375rem; }
  .panel h3 { font-size: 2rem; }
  .panel-art { height: 360px; }
  .content-art { padding: 20px; gap: 20px; }
  .content-art img { height: 270px; }
  .case-foot, .project-end { align-items: start; flex-direction: column; }
  .vs-result .makingof-open img { height: 480px; }
  .vs-result h4 { font-size: 2rem; }
  .sante-color span { width: 48px; height: 48px; }
  .sante-palette { gap: 18px; }
  .alan-materials, .alan-backstage-grid, .makingof-grid, .folder-content .makingof-grid:not(.course-grid), .course-grid { grid-template-columns: 1fr; }
  .alan-materials .makingof-open img { height: 470px; }
  .folder-title { font-size: 1.625rem; }
  .folder-content .course-grid .makingof-card:first-child { grid-column: auto; }
  .folder-content .course-grid .makingof-open img { height: auto; max-height: 480px; aspect-ratio: auto; object-fit: contain; }
  .makingof-lightbox { width: calc(100% - 24px); padding: 20px; }
  .lightbox-header { gap: 16px; }
  .lightbox-header h3 { font-size: 1.1875rem; }
  .lightbox-figure img { height: calc(76svh - 160px); }
  .lightbox-close, .lightbox-nav button { padding-inline: 12px; }
  .contact-info h2 { font-size: 2.75rem; }
  .contact-directory { gap: 24px; }
  .footer-links { gap: 20px; }
  .footer-signature { padding-bottom: 28px; }
}
@media (max-width: 380px) {
  .social-links { gap: 0; }
  .social-link { width: 28px; }
  .nav > .menu-toggle { padding-inline: 10px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-experience p { font-size: .875rem; }
  .hero-photo figcaption span:last-child { display: none; }
  .home .tile-photo, .home .case-wide .tile-photo, .tile-photo { height: 370px; }
  .home-case-evidence { gap: 12px; }
  .home-case-evidence strong { font-size: 2rem; }
  .contact-directory { grid-template-columns: 1fr; }
  .contact-info h2 { font-size: 2.4rem; }
  .sante-palette { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .typewriter-output.is-typing::after { display: none; animation: none; }
}
