:root {
  --black: #111111;
  --white: #ffffff;
  --accent: #c28bf5;
  --accent-light: #a067dc;
  --muted: #c9c9c9;
  --line-dark: rgba(255,255,255,.25);
  --line-light: rgba(17,17,17,.2);
  --container: min(1400px, calc(100% - 112px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; background: var(--black); color: var(--white); font: 400 16px/1.5 "Onest", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
::selection { background: var(--accent); color: var(--black); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.container { width: var(--container); margin-inline: auto; }
.serif { font-family: "Prata", Georgia, serif; font-weight: 400; letter-spacing: -.05em; }
.handwritten { font-family: "Marck Script", cursive; }
.accent { color: var(--accent-light); }
.light-section { background: var(--white); color: var(--black); }
.section-label { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 13px; line-height: 1.4; text-transform: uppercase; letter-spacing: .14em; }
.section-label::after { content: ""; width: 54px; height: 1px; background: currentColor; opacity: .45; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px 18px; background: white; color: black; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 105px; }
.logo { display: block; width: 218px; flex-shrink: 0; }
.logo-crop { display: block; position: relative; width: 100%; aspect-ratio: 1010 / 370; overflow: hidden; }
.logo-crop img { position: absolute; width: 143.3664%; max-width: none; left: -27.7228%; top: -93.2432%; }
.logo-on-dark img { filter: brightness(0) invert(1); }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #dcc4f5; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.main-nav a:hover { color: white; text-decoration: underline; text-underline-offset: 5px; }
.main-nav .mobile-contact { display: none; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 8px 9px 8px 25px; border: 1px solid var(--accent); border-radius: 50px; font-size: 15px; line-height: 1.3; }
.button-solid { color: var(--black); background: linear-gradient(110deg,#d8afff,#bd80ee); }
.button-outline { color: var(--white); background: rgba(17,17,17,.25); }
.button:hover { border-color: currentColor; }
.button-icon { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font: 400 25px/1 Arial,sans-serif; }
.header-contact { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; min-height: 48px; }
.header-contact .button-icon { background: var(--white); color: #8653b6; border-color: var(--white); }
.menu-button { display: none; padding: 12px; width: 46px; height: 46px; border: 0; background: transparent; color: white; }
.menu-button span { display: block; width: 22px; height: 1px; margin: 5px 0; background: currentColor; }

.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 78% 20%,#242026 0,transparent 47%),var(--black); }
.hero-grid { position: relative; display: grid; grid-template-columns: 58% 42%; min-height: 680px; padding: 137px 0 46px; }
.hero-heading, .hero-detail { position: relative; z-index: 3; grid-column: 1; }
.hero-heading { align-self: end; }
.eyebrow { margin: 0 0 18px; color: #d6b0f5; font-size: 14px; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(3.4rem, 6.05vw, 6.8rem); line-height: 1.04; }
.hero h1 span { color: var(--accent); }
.hero-detail { margin-top: 18px; }
.hero-description { max-width: 535px; margin: 0; color: #e4e4e4; font-size: 17px; line-height: 1.4; }
.hero-services { margin: 24px 0 20px; max-width: 650px; color: #d6b0f5; font-size: 12px; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .button { min-width: 220px; }
.hero-portrait { position: absolute; z-index: 2; right: 2%; bottom: 0; width: min(38vw,540px); }
.portrait-crop { position: relative; width: 100%; aspect-ratio: 550 / 660; overflow: hidden; }
.portrait-crop img { position: absolute; width: 226.9091%; max-width: none; left: -29.0909%; top: -3.6364%; }
.hero-gesture { position: absolute; z-index: 1; right: -5%; top: 48px; width: 76%; height: calc(100% - 30px); object-fit: fill; opacity: .75; }
.hero-notes { position: absolute; z-index: 4; right: -22px; top: 225px; margin: 0; color: #c8c4ca; font-size: 25px; line-height: 1.05; transform: rotate(-8deg); opacity: .7; }
.hero-notes span { padding-left: 24px; }

.about { padding: 38px 0 44px; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr .7fr; gap: 48px; align-items: center; }
.about h2 { margin: 0; font-size: clamp(1.9rem, 2.95vw, 2.9rem); line-height: 1.18; }
.about-description { padding-left: 36px; border-left: 1px solid var(--line-light); }
.about-description p { margin: 0 0 18px; font-size: 16px; line-height: 1.5; }
.about-description p:last-child { margin-bottom: 0; }
.about-signature { width: 100%; max-width: 250px; }

.cases { padding: 34px 0 36px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 26px; }
.section-top .section-label { margin-bottom: 12px; }
.section-top h2 { margin: 0; font-size: clamp(2rem,3.15vw,3.05rem); line-height: 1.12; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; border-bottom: 1px solid var(--accent); color: #d8b0fb; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { font-size: 22px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.project-card { display: block; min-width: 0; }
.project-image { overflow: hidden; background: #202020; aspect-ratio: 16 / 9; }
.project-image img { height: 100%; object-fit: cover; }
.project-image picture { display: block; height: 100%; }
.project-caption { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 14px; }
.project-caption h3 { margin: 0 0 3px; font-size: 17px; line-height: 1.4; font-weight: 500; }
.project-caption p { margin: 0; color: #d4d4d4; font-size: 14px; }
.project-arrow { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font: 22px/1 Arial,sans-serif; }
.project-format { display: block; margin-top: 10px; color: #d8b0fb; font-size: 13px; }
.project-card:hover h3, .project-card:hover .project-format { text-decoration: underline; text-underline-offset: 4px; }
.upcoming-projects { margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--line-dark); color: #a9a9a9; font-size: 13px; }
.upcoming-projects span { color: #d4d4d4; }

.case-category-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.case-category-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--line-dark); border-radius: 50px; font-size: 14px; }
.case-category-links a:hover { border-color: var(--accent); color: var(--accent); }
.case-category-links a[href="#naming"] { border-color: var(--accent); color: #d8b0fb; }
.case-category-links span { color: var(--black); background: var(--accent); border-radius: 50px; padding: 1px 7px; font-size: 12px; }
.naming-section { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--accent); scroll-margin-top: 24px; }
.naming-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 26px; }
.naming-section-head .section-label { color: #d8b0fb; margin-bottom: 12px; }
.naming-section-head h3 { margin: 0; color: #d8b0fb; font-size: clamp(2rem,3.15vw,3.05rem); line-height: 1.2; }
.naming-section-head > p { max-width: 400px; margin: 0; color: #d4d4d4; font-size: 15px; }
.naming-card .project-image { aspect-ratio: auto; background: white; }
.naming-card .project-image picture { height: auto; }
.naming-card .project-image img { height: auto; object-fit: contain; }
.naming-card h4 { margin: 0 0 3px; font-size: 17px; line-height: 1.4; font-weight: 500; }
.naming-card:hover h4 { text-decoration: underline; text-underline-offset: 4px; }
.naming-viewer { width: min(1100px,calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; background: white; color: var(--black); overflow: auto; }
.naming-viewer::backdrop { background: rgba(0,0,0,.85); }
.naming-viewer-panel { padding: 18px 20px; }
.naming-viewer-header { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 16px; }
.naming-viewer-header h2 { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.3; }
.naming-viewer-header p { margin: 4px 0 0; color: #666; font-size: 14px; }
.naming-viewer-image { width: 100%; height: auto; }
.naming-viewer button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line-light); border-radius: 50%; background: white; color: var(--black); cursor: pointer; font-size: 22px; }
.naming-viewer .naming-viewer-close { font-size: 28px; }
.naming-viewer button:hover { background: #f3e8ff; }
.naming-viewer-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.naming-viewer-navigation { display: flex; align-items: center; gap: 12px; }
.naming-viewer-count { min-width: 52px; text-align: center; font-size: 14px; }
.naming-original-link { display: inline-flex; align-items: center; min-height: 44px; color: #75449e; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
html.naming-viewer-open { overflow: hidden; }
@media (max-width: 700px) {
  .naming-section { margin-top: 34px; padding-top: 28px; }
  .naming-section-head { display: block; }
  .naming-section-head > p { margin-top: 16px; font-size: 14px; }
  .naming-card h4 { font-size: 18px; }
  .naming-viewer { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .naming-viewer-panel { padding: 14px 12px; }
  .naming-viewer-header h2 { font-size: 20px; }
}

.approach { padding: 40px 0; }
.approach-grid { display: grid; grid-template-columns: 1.05fr 1.65fr; gap: 42px; }
.approach h2 { margin: 0; font-size: clamp(1.8rem,2.7vw,2.7rem); line-height: 1.17; }
.approach-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 10px; }
.step { padding: 0 22px; border-left: 1px solid var(--line-light); }
.step:last-child { padding-right: 0; }
.step-number { display: block; margin-bottom: 17px; color: var(--accent-light); font-size: 25px; line-height: 1.2; }
.step h3 { margin: 0 0 14px; font-size: 24px; line-height: 1.2; }
.step p { margin: 0; color: #555; font-size: 15px; line-height: 1.5; }

.numbers { position: relative; isolation: isolate; overflow: hidden; padding: 27px 0 30px; background: #19101f; }
.numbers::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url("assets/portrait.png") no-repeat -450px -1000px/3000px auto; }
.numbers::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(13,8,18,.78),rgba(16,8,24,.61)); }
.numbers .section-label { margin-bottom: 18px; }
.numbers-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1fr; align-items: center; gap: 28px; }
.number { border-right: 1px solid rgba(241,218,255,.5); padding-right: 28px; }
.number:nth-child(3) { border-right: 0; }
.number strong { display: block; color: #deb2ff; font-size: clamp(2.7rem,4.5vw,4.6rem); line-height: 1.1; white-space: nowrap; }
.number small { font-size: .37em; letter-spacing: -.015em; }
.number p { margin: 4px 0 0; max-width: 280px; color: #f1eaf7; font-size: 16px; line-height: 1.35; }
.numbers-note { margin: 0; color: #ddbbf6; font-size: 12px; line-height: 1.8; letter-spacing: .12em; text-transform: uppercase; }

.contact { position: relative; overflow: hidden; padding: 34px 0 40px; }
.contact-grid { display: grid; grid-template-columns: .55fr 2fr .85fr; gap: 36px; align-items: start; }
.contact .section-label { margin-top: 7px; }
.contact h2 { margin: 0; text-align: center; font-size: clamp(1.9rem,3.1vw,3.1rem); line-height: 1.22; }
.contact .button { width: 100%; }
.contact-action p { margin: 12px 0 0; color: #626262; font-size: 14px; line-height: 1.4; }

.case-page { background: var(--white); color: var(--black); }
.case-page .site-header { position: relative; background: var(--black); color: white; }
.case-page .header-inner { min-height: 96px; }
.back-link { display: flex; align-items: center; min-height: 44px; color: #e0c3fc; font-size: 14px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.case-intro { padding: 50px 0 32px; }
.case-intro .section-label { margin-bottom: 20px; }
.case-intro h1 { margin: 0 0 20px; font-size: clamp(3rem,6.5vw,6rem); line-height: 1.15; }
.case-summary { max-width: 720px; margin: 0; font-size: 18px; line-height: 1.6; }
.case-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 25px; }
.case-controls .button { min-width: 220px; }
.download-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid #8653b6; font-size: 14px; }
.pdf-meta { color: #666; font-size: 13px; }
.case-gallery { padding-bottom: 48px; }
.case-gallery figure { margin: 0 0 20px; background: #f2f2f2; }
.case-gallery img { width: 100%; height: auto; }
.case-gallery a { display: block; }
.case-gallery-note { margin-block: 0 20px; color: #666; font-size: 14px; }
.case-page .contact-grid { grid-template-columns: .55fr 2fr .85fr; border-top: 1px solid var(--line-light); padding-top: 32px; }

@media (min-width: 1600px) { .hero-grid { min-height: 760px; } .hero-portrait { width: 585px; } }
@media (max-width: 1150px) {
  :root { --container: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .logo { width: 188px; }
  .main-nav { gap: 22px; }
  .header-contact { padding-left: 18px; gap: 12px; }
  .hero-grid { min-height: 640px; }
  .hero h1 { font-size: 6.25vw; }
  .hero-description { max-width: 470px; font-size: 16px; }
  .hero-actions .button { min-width: 194px; padding-left: 18px; gap: 12px; font-size: 14px; }
  .hero-portrait { width: 45vw; right: -2%; bottom: 0; }
  .hero-notes { display: none; }
  .about-grid { grid-template-columns: 1.35fr 1fr; gap: 34px; }
  .about-signature { display: none; }
  .approach-grid { grid-template-columns: 1fr; gap: 28px; }
  .approach-intro { max-width: 620px; }
  .step:first-child { border-left: 0; padding-left: 0; }
  .numbers-grid { grid-template-columns: 1fr 1fr 1.5fr; }
  .numbers-note { display: none; }
  .contact-grid, .case-page .contact-grid { grid-template-columns: 1.8fr 1fr; gap: 24px; }
  .contact .section-label { grid-column: 1 / -1; margin: 0; }
  .contact h2 { text-align: left; }
}
@media (max-width: 850px) {
  .header-contact { display: none; }
  .hero-grid { min-height: 625px; padding-top: 122px; }
  .hero h1 { font-size: 6.7vw; }
  .hero-detail { max-width: 470px; }
  .hero-description { max-width: 370px; }
  .hero-actions { flex-direction: column; align-items: start; }
  .hero-actions .button { min-width: 205px; }
  .hero-portrait { bottom: -30px; width: 46vw; right: -4%; }
  .hero-services { max-width: 320px; }
  .about h2 { font-size: 30px; }
  .about-description { padding-left: 25px; }
  .numbers-grid { gap: 20px; }
  .number { padding-right: 20px; }
  .number strong { font-size: 44px; }
  .number p { font-size: 14px; }
}
@media (max-width: 700px) {
  :root { --container: calc(100% - 40px); }
  html { scroll-padding-top: 20px; }
  .header-inner { min-height: 92px; gap: 16px; }
  .logo { width: 172px; }
  .menu-button { display: block; }
  .main-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
  .js .main-nav { display: none; position: absolute; top: 85px; left: 0; right: 0; padding: 18px 20px 24px; background: var(--black); border-bottom: 1px solid var(--line-dark); }
  .js .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .main-nav a { min-height: 44px; font-size: 14px; }
  .main-nav .mobile-contact { display: inline-flex; color: white; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 16px; }
  html:not(.js) .main-nav { order: 3; width: 100%; }
  html:not(.js) .menu-button { display: none; }
  html:not(.js) .hero-grid { padding-top: 196px; }
  .hero-grid { grid-template-columns: 55% 45%; min-height: 0; padding: 114px 0 36px; }
  .hero-heading { grid-column: 1 / -1; }
  .eyebrow { margin-bottom: 18px; font-size: 12px; line-height: 1.55; }
  .hero h1 { font-size: clamp(2rem,8.8vw,3.5rem); line-height: 1.13; letter-spacing: -.055em; }
  .hero-detail { grid-column: 1; margin-top: 24px; padding-bottom: 4px; }
  .hero-description { font-size: 16px; line-height: 1.45; }
  .hero-services { margin: 20px 0 18px; font-size: 12px; letter-spacing: .05em; line-height: 1.65; }
  .hero-services br { display: none; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; min-width: 0; padding: 7px 6px 7px 11px; gap: 5px; font-size: 14px; min-height: 46px; }
  .hero-actions .button-icon { width: 26px; height: 26px; font-size: 20px; }
  .hero-portrait { position: relative; align-self: end; grid-column: 2; grid-row: 2; width: max(230px,57vw); right: auto; bottom: -36px; margin-left: -6px; pointer-events: none; }
  .portrait-crop { aspect-ratio: 550 / 808; }
  .portrait-crop img { top: -2.9703%; }
  .hero-gesture { right: -60%; top: 120px; width: 150%; height: calc(100% - 120px); opacity: .5; }
  .about { padding: 34px 0 38px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about h2 { max-width: 580px; font-size: clamp(1.7rem,5.6vw,2.35rem); line-height: 1.25; }
  .about-description { padding-left: 0; border-left: 0; }
  .about-description p { font-size: 16px; }
  .section-label { margin-bottom: 20px; font-size: 12px; }
  .cases { padding: 32px 0; }
  .section-top { display: block; margin-bottom: 24px; }
  .section-top h2 { font-size: clamp(1.75rem,6.2vw,2.5rem); line-height: 1.22; }
  .section-top .text-link { margin-top: 16px; font-size: 12px; }
  .project-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-caption h3 { font-size: 18px; }
  .project-caption p { font-size: 14px; }
  .upcoming-projects { font-size: 13px; }
  .approach { padding: 34px 0 38px; }
  .approach-grid { gap: 24px; }
  .approach h2 { font-size: clamp(1.7rem,5.5vw,2.2rem); line-height: 1.25; }
  .approach-steps { grid-template-columns: 1fr; padding: 0; }
  .step, .step:first-child, .step:last-child { display: grid; grid-template-columns: 38px 1fr; gap: 8px 16px; border-left: 0; border-top: 1px solid var(--line-light); padding: 22px 0; }
  .step:last-child { padding-bottom: 0; }
  .step-number { grid-row: 1 / 3; margin: 0; font-size: 22px; }
  .step h3 { margin: 0; font-size: 23px; }
  .step p { grid-column: 2; font-size: 16px; }
  .numbers { padding: 30px 0; }
  .numbers::before { background-position: -300px -860px; background-size: 2600px auto; }
  .numbers-grid { grid-template-columns: 1fr; gap: 0; }
  .number { display: grid; grid-template-columns: 135px 1fr; gap: 15px; align-items: center; border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 20px 0; }
  .number:last-of-type { border-bottom: 0; }
  .number strong { font-size: 44px; }
  .number p { margin: 0; font-size: 15px; }
  .number small { display: block; font-size: 14px; margin-bottom: 4px; }
  .contact { padding: 34px 0 38px; }
  .contact-grid, .case-page .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact h2 { font-size: clamp(1.75rem,6vw,2.5rem); line-height: 1.28; }
  .contact h2 br { display: none; }
  .contact-action { max-width: 340px; }
  .contact-action p { font-size: 14px; }
  .case-page .header-inner { min-height: 86px; }
  .case-page .logo { width: 145px; }
  .back-link { font-size: 13px; }
  .case-intro { padding: 34px 0 28px; }
  .case-intro h1 { font-size: clamp(2.75rem,12vw,4rem); }
  .case-summary { font-size: 16px; }
  .case-controls { gap: 16px; }
  .case-gallery { padding-bottom: 12px; }
  .case-gallery figure { margin-bottom: 12px; }
}
@media (max-width: 360px) {
  .hero-grid { grid-template-columns: 56% 44%; }
  .hero-actions .button { font-size: 14px; padding-left: 8px; }
  .hero-actions .button-icon { width: 22px; height: 22px; }
  .hero-portrait { margin-left: 4px; width: 218px; }
  .number { grid-template-columns: 120px 1fr; gap: 12px; }
  .number strong { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
