/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/font-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/font-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }
:root { --ink: #1c1c1e; --muted: #646468; --paper: #fafafa; --line: #dedee0; --accent: #d84a22; --ease: cubic-bezier(.16, 1, .3, 1); --gutter: clamp(24px, 5.3vw, 88px); }
html { scroll-behavior: smooth; scroll-padding-top: 105px; scrollbar-color: #9b9b9f var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font), sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--paper); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; }
button, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
button:disabled { opacity: .45; cursor: default; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
address { font-style: normal; }
.wrap { max-width: 1440px; padding-inline: var(--gutter); margin-inline: auto; }
.display { font-weight: 600; line-height: 1.07; letter-spacing: -.04em; text-wrap: balance; }
.display > span { display: block; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 93%, transparent); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; height: 88px; gap: 48px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 142px; height: 64px; object-fit: contain; }
.desktop-nav { display: flex; gap: 30px; margin-left: auto; font-size: 13px; font-weight: 500; }
.desktop-nav a, .header-contact { transition: color 180ms ease; }
.desktop-nav a:hover, .header-contact:hover { color: var(--accent); }
.header-end { display: flex; align-items: center; gap: 38px; }
.header-contact { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.header-contact svg { width: 15px; height: 15px; }
.languages { display: flex; align-items: center; font-size: 12px; font-weight: 600; }
.languages a { display: grid; place-items: center; min-width: 34px; min-height: 44px; color: var(--muted); }
.languages a[aria-current] { color: var(--ink); }
.languages a:hover { color: var(--accent); }
.languages > span { color: #aaa; font-weight: 400; }
.button { display: inline-flex; align-items: center; gap: 22px; min-height: 51px; padding: 13px 25px; background: var(--ink); color: var(--paper); border-radius: 40px; font-size: 13px; font-weight: 600; transition: background 180ms ease, transform 300ms var(--ease); }
.button:hover { background: #3b3b3d; transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-weight: 500; font-size: 15px; }
.text-link svg { transition: transform 350ms var(--ease); }
.text-link:hover svg { transform: translateX(5px); }
.text-link:hover { text-decoration: underline; }
.about-copy p { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; max-width: 50ch; }
.about-copy p + p { margin-top: 23px; color: var(--muted); }
.contact-section { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 70px; padding-block: 130px; }
.contact-intro h2 { font-size: clamp(38px, 4.7vw, 64px); }
.contact-intro > p { margin-top: 24px; color: var(--muted); font-size: 15px; }
.contact-address { justify-self: end; min-width: 275px; }
.contact-city { font-size: 14px; margin-bottom: 18px; }
.contact-address address { color: var(--muted); font-size: 15px; line-height: 1.9; }
.contact-address address strong { color: var(--ink); font-weight: 500; }
.contact-address .text-link { margin-top: 20px; font-size: 14px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-top { padding-block: 45px 38px; display: flex; justify-content: space-between; gap: 60px; }
.footer-brand img { width: 145px; }
.footer-top > div:first-child > p { font-size: 12px; color: var(--muted); }
.legal-details { max-width: 600px; font-size: 10px; line-height: 1.9; color: var(--muted); }
.legal-details p:first-child { color: var(--ink); font-size: 11px; margin-bottom: 7px; }
.legal-details a { display: inline-flex; align-items: center; gap: 6px; padding-top: 5px; text-decoration: underline; }
.legal-details a svg { width: 12px; height: 12px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 17px 24px; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--muted); font-size: 10px; }
.footer-bottom > div { display: flex; gap: 28px; align-items: center; }
.motion-toggle { display: flex; align-items: center; gap: 8px; padding: 9px 0; border: 0; background: none; font-size: 10px; }
.motion-symbol { width: 7px; height: 9px; border-inline: 2px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-symbol { border: 0; width: 9px; clip-path: polygon(0 0, 100% 50%, 0 100%); background: currentColor; }
.back-top { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; }
.back-top svg { width: 14px; height: 14px; transform: rotate(-90deg); }
[data-reveal].is-revealing { animation: heading-reveal 1000ms var(--ease) both; }
@keyframes heading-reveal { from { transform: translateY(20px); opacity: .65; } to { transform: translateY(0); opacity: 1; } }
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
@media (max-width: 900px) {
  .header-inner { gap: 24px; }
  .header-end { gap: 22px; }
  .desktop-nav { gap: 20px; }
  .contact-section { gap: 35px; }
  .contact-address { min-width: 220px; }
  .footer-top { gap: 35px; }
}
@media (max-width: 640px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 90px; }
  .header-inner { height: 76px; gap: 18px; }
  .brand img { width: 118px; height: 59px; }
  .desktop-nav { display: none; }
  .header-end { margin-left: auto; gap: 12px; }
  .header-contact { font-size: 12px; }
  .header-contact svg { display: none; }
  .languages a { min-width: 30px; }
  .contact-section { grid-template-columns: 1fr; padding-block: 80px; gap: 38px; }
  .contact-address { justify-self: start; }
  .contact-intro > p { font-size: 14px; max-width: 30ch; }
  .footer-top { flex-direction: column; gap: 26px; padding-block: 26px 32px; }
  .legal-details { font-size: 10px; max-width: 100%; }
  .legal-details p { overflow-wrap: anywhere; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .footer-bottom > div { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.project-phone-status { height: 30px; display: flex; align-items: center; justify-content: space-between; padding-inline: 20px; color: #f2f1e7; background: #101c15; font-size: 8px; font-weight: 700; position: relative; }
.project-phone-island { position: absolute; width: 62px; height: 16px; border-radius: 15px; background: #080c09; top: 6px; left: calc(50% - 31px); }
.project-phone-signal { display: flex; align-items: end; gap: 2px; height: 8px; }
.project-phone-signal i { width: 2px; height: 4px; background: currentColor; }
.project-phone-signal i:nth-child(2) { height: 6px; }
.project-phone-signal i:nth-child(3) { height: 8px; }
.project-phone-signal b { width: 13px; height: 7px; margin-left: 4px; border: 1px solid currentColor; border-radius: 2px; }
.project-app-screen { display: block; width: 100%; height: auto; aspect-ratio: 39 / 76; }
.project-phone-home { position: absolute; bottom: 5px; left: 34%; width: 32%; height: 3px; border-radius: 3px; background: #f2f1e7; }

.szmata { --font: 'DM Sans'; --paper: #f6f4ef; --ink: #262521; --muted: #6b6963; --line: #d8d5cd; --accent: #b52622; }
.szmata [hidden] { display: none !important; }
.szmata .brand img { width: 136px; }
.szmata .display { font-weight: 500; }
.szmata .site-header { background: #f6f4eff2; }
.szmata .text-link { gap: 22px; }
.szmata .text-link svg { border: 1px solid currentColor; border-radius: 50%; width: 34px; height: 34px; padding: 7px; }
.szmata-hero { --p: 0; --pointer-x: 0; --pointer-y: 0; background: #e9e2d6; overflow: clip; }
.hero-sticky { padding-top: 32px; padding-bottom: 22px; }
.textile-hero-copy { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 80px; position: relative; z-index: 4; }
.textile-hero-copy h1 { font-size: clamp(60px, 7.05vw, 96px); line-height: 1.02; }
.textile-hero-copy h1 span:last-child { color: #a73722; }
.textile-hero-copy > div { max-width: 315px; justify-self: end; padding-bottom: 6px; }
.textile-hero-copy p { font-size: 16px; line-height: 1.65; color: #645d53; }
.textile-hero-copy .text-link { margin-top: 14px; font-size: 13px; }
.apps-hero-link { display: flex; align-items: center; gap: 8px; width: fit-content; min-height: 35px; margin-top: 1px; font-size: 12px; color: #645d53; }
.apps-hero-link svg { width: 13px; height: 13px; }
.apps-hero-link:hover { color: var(--accent); text-decoration: underline; }
.hero-stage { position: relative; height: clamp(350px, 34vw, 480px); margin-top: 12px; isolation: isolate; }
.hero-brand { position: absolute; width: 76%; height: 100%; object-fit: contain; left: 12%; top: 3%; opacity: .075; transform: translateY(calc(var(--p) * -40px)) scale(calc(1 + var(--p) * .08)); pointer-events: none; }
.hero-shirt { --x: 0px; --y: 0px; --r: 0deg; position: absolute; width: min(37vw, 470px); left: 50%; top: 0; margin-left: max(-18.5vw, -235px); transform: translate3d(calc(var(--x) + var(--pointer-x) * 15px), calc(var(--y) + var(--pointer-y) * 10px), 0) rotate(var(--r)); }
.hero-shirt-0 { --x: calc(-210px - var(--p) * 155px); --y: calc(30px - var(--p) * 35px); --r: calc(-16deg + var(--p) * 12deg); z-index: 1; }
.hero-shirt-1 { --y: calc(0px + var(--p) * 7px); --r: calc(4deg - var(--p) * 4deg); z-index: 3; }
.hero-shirt-2 { --x: calc(215px + var(--p) * 150px); --y: calc(25px - var(--p) * 20px); --r: calc(15deg - var(--p) * 11deg); z-index: 2; }
.hero-shirt a { display: block; outline-offset: -8px; }
.hero-shirt img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(6px 22px 14px #3a302726); transition: transform 450ms var(--ease); }
.hero-shirt figcaption { text-align: center; margin-top: -5px; font-size: 11px; color: #62574a; opacity: calc(.55 + var(--p) * .45); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 22px; position: relative; font-size: 11px; color: #62574a; z-index: 4; }
.scroll-cue { display: flex; align-items: center; gap: 12px; min-height: 34px; }
.scroll-cue svg { width: 17px; height: 17px; transform: rotate(90deg); transition: transform 300ms var(--ease); }
.scroll-cue:hover svg { transform: translateY(4px) rotate(90deg); }
.hero-seam { position: absolute; bottom: -22px; height: 3px; width: calc(100% * var(--p)); background: #a73722; left: 0; }
.moving-type { --p: .5; overflow: hidden; padding-block: 40px 35px; background: #b53b24; color: #fff7e9; }
.moving-type > div { display: flex; width: max-content; align-items: center; gap: 48px; transform: translateX(calc(-260px * var(--p))); }
.moving-type span { font-weight: 500; font-size: clamp(48px, 6.5vw, 90px); line-height: 1.1; letter-spacing: -.04em; white-space: nowrap; }
.moving-type span:nth-child(3n + 2) { font-style: italic; }
.textile-about { display: grid; grid-template-columns: 1.35fr 1fr; gap: 100px; padding-block: 115px 110px; }
.textile-about h2 { font-size: clamp(38px, 4.2vw, 60px); }
.textile-about .about-copy { max-width: 430px; }
.textile-about .about-copy p { font-size: 16px; }
.products-section { padding-bottom: 110px; }
.collection { margin-bottom: 75px; }
.collection-copy { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; padding-bottom: 38px; }
.collection-copy h2 { font-size: clamp(43px, 5vw, 68px); }
.collection-copy > div { max-width: 38ch; justify-self: end; }
.collection-copy p { color: var(--muted); font-size: 15px; }
.collection-copy .collection-credit { font-size: 11px; margin-top: 18px; }
.collection-stage { background: #e9e5dc; padding: 38px 26px; }
.collection-shirts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.collection-panel { min-width: 0; }
.collection-images { position: relative; aspect-ratio: 1; display: grid; align-items: center; }
.garment-photos { display: grid; grid-template-columns: 1fr 1fr; }
.collection-images img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.garment-canvas { display: none; width: 100%; height: 100%; position: absolute; inset: 0; }
.collection-panel[data-ready] .garment-canvas { display: block; }
.collection-panel[data-ready] .garment-photos { visibility: hidden; }
.collection-panel[data-ready] .collection-images { user-select: none; -webkit-user-select: none; }
.collection-panel figcaption { display: flex; align-items: baseline; justify-content: center; gap: 9px; padding-top: 13px; }
.garment-name { font-size: clamp(17px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.025em; }
.garment-side { font-size: 10px; color: #625d53; min-width: 30px; }
.product { border-top: 1px solid var(--line); }
.product:last-child { border-bottom: 1px solid var(--line); }
.product summary { list-style: none; display: grid; grid-template-columns: 1.2fr 1fr 40px; gap: 24px; align-items: center; padding-block: 30px; cursor: pointer; }
.product summary::-webkit-details-marker { display: none; }
.product h3 { font-size: clamp(29px, 3.9vw, 53px); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; transition: transform 400ms var(--ease), color 250ms ease; }
.product-note { font-size: 13px; color: var(--muted); }
.product-toggle { justify-self: end; width: 34px; height: 34px; border: 1px solid #a7a299; border-radius: 50%; position: relative; transition: background 200ms ease, transform 400ms var(--ease); }
.product-toggle::before, .product-toggle::after { content: ''; position: absolute; top: 15px; left: 10px; width: 12px; height: 1px; background: var(--ink); }
.product-toggle::after { transform: rotate(90deg); transition: transform 300ms var(--ease); }
.product[open] .product-toggle::after { transform: rotate(0); }
.product summary:hover h3 { transform: translateX(10px); color: var(--accent); }
.product summary:hover .product-toggle { background: var(--ink); border-color: var(--ink); }
.product summary:hover .product-toggle::before, .product summary:hover .product-toggle::after { background: var(--paper); }
.product-description { padding: 0 64px 29px 0; width: 53%; margin-left: auto; }
.product-description p { font-size: 15px; color: var(--muted); max-width: 47ch; }
.product[open] .product-description { animation: product-open 350ms var(--ease) both; }
@keyframes product-open { from { transform: translateY(-8px); } to { transform: translateY(0); } }
.detail-section { --p: .5; display: grid; grid-template-columns: .9fr 1.1fr; background: #272b24; color: #f4f1e8; overflow: clip; }
.detail-copy { padding: 80px max(50px, calc((100vw - 1440px) / 2 + 76px)); padding-right: 55px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; transform: translateY(calc(42px - var(--p) * 84px)); }
.detail-copy h2 { font-size: clamp(40px, 4.4vw, 64px); }
.detail-copy > p { font-size: 16px; color: #c2c3b9; margin-top: 28px; max-width: 31ch; }
.fabric-label { display: block; background: #b62521; color: #fff2e6; font-size: 12px; font-weight: 700; line-height: 1; padding: 25px 10px 8px; margin-top: 41px; transform: rotate(calc(-10deg + var(--p) * 20deg)); transform-origin: 50% 0; }
.detail-section figure { position: relative; min-height: 700px; overflow: clip; background: #cfbfa4; display: flex; flex-direction: column; justify-content: center; padding: 56px 28px 25px; isolation: isolate; }
.detail-section figure img { position: relative; z-index: 1; width: 100%; height: auto; object-fit: contain; transform: translateY(calc(60px - var(--p) * 120px)) rotate(calc(-6deg + var(--p) * 12deg)) scale(calc(1.1 - var(--p) * .1)); }
.everest-word { position: absolute; left: 5%; bottom: 7%; width: 90%; text-align: center; color: #74674f; font-size: clamp(54px, 6.5vw, 96px); font-weight: 700; letter-spacing: -.04em; transform: translateY(calc(-20px + var(--p) * 40px)); }
.detail-section figcaption { position: relative; z-index: 2; text-align: right; margin-top: 24px; font-size: 11px; color: #514735; }
.szmata .contact-section { padding-block: 130px 118px; }
.szmata .contact-intro h2 { font-size: clamp(38px, 4.5vw, 62px); }
@media (hover: hover) and (pointer: fine) {
  .hero-shirt a:hover img { transform: translateY(-12px) scale(1.035); }
}
@media (min-width: 900px) and (min-height: 760px) {
  html[data-motion='on'] .szmata-hero { height: calc(100svh + 460px); }
  html[data-motion='on'] .hero-sticky { position: sticky; top: 88px; }
  .hero-stage { height: clamp(350px, calc(100svh - 405px), 480px); }
  .hero-shirt { width: min(37vw, calc(100svh - 405px), 470px); margin-left: max(-18.5vw, calc((405px - 100svh) / 2), -235px); }
}
@media (max-width: 1050px) {
  .textile-hero-copy { gap: 40px; grid-template-columns: 1.3fr 1fr; }
  .textile-hero-copy h1 { font-size: clamp(54px, 7.7vw, 80px); }
  .hero-shirt-0 { --x: calc(-150px - var(--p) * 90px); }
  .hero-shirt-2 { --x: calc(155px + var(--p) * 85px); }
  .textile-about { gap: 45px; }
  .detail-copy { padding: 65px 40px; }
  .detail-section figure { min-height: 590px; }
  .product summary { grid-template-columns: 1.2fr .8fr 36px; }
}
@media (max-width: 640px) {
  .szmata .brand img { width: 114px; }
  .hero-sticky { padding-top: 28px; padding-bottom: 18px; }
  .textile-hero-copy { grid-template-columns: 1fr; gap: 22px; }
  .textile-hero-copy h1 { font-size: clamp(44px, 12.8vw, 76px); }
  .textile-hero-copy > div { justify-self: start; max-width: 33ch; padding-bottom: 0; }
  .textile-hero-copy p { font-size: 14px; line-height: 1.7; }
  .textile-hero-copy .text-link { margin-top: 12px; font-size: 12px; }
  .apps-hero-link { display: inline-flex; margin-left: 14px; font-size: 11px; }
  .hero-stage { height: 79vw; max-height: 490px; margin-top: 26px; margin-inline: -24px; }
  .hero-brand { width: 108%; left: -4%; top: 1%; }
  .hero-shirt { width: 64vw; margin-left: -32vw; top: 0; }
  .hero-shirt-0 { --x: calc(-65px - var(--p) * 42px); --y: calc(20px + var(--p) * 12px); --r: calc(-16deg + var(--p) * 8deg); }
  .hero-shirt-1 { --y: calc(0px - var(--p) * 15px); --r: calc(5deg - var(--p) * 8deg); }
  .hero-shirt-2 { --x: calc(65px + var(--p) * 42px); --y: calc(20px + var(--p) * 4px); --r: calc(16deg - var(--p) * 8deg); }
  .hero-shirt figcaption { font-size: 9px; margin-top: 3px; }
  .hero-shirt img { filter: drop-shadow(4px 14px 10px #3a302726); }
  .hero-bottom { gap: 20px; font-size: 9px; line-height: 1.5; padding-top: 0; }
  .hero-bottom > p { max-width: 17ch; }
  .scroll-cue { gap: 7px; max-width: 16ch; }
  .hero-seam { bottom: -18px; }
  .moving-type { padding-block: 27px; }
  .moving-type > div { gap: 28px; transform: translateX(calc(-150px * var(--p))); }
  .moving-type span { font-size: 48px; }
  .textile-about { grid-template-columns: 1fr; gap: 28px; padding-block: 75px 65px; }
  .textile-about h2 { font-size: clamp(34px, 8.8vw, 48px); }
  .textile-about .about-copy p { font-size: 14px; }
  .products-section { padding-bottom: 75px; }
  .collection { margin-bottom: 55px; }
  .collection-copy { grid-template-columns: 1fr; gap: 22px; padding-bottom: 27px; }
  .collection-copy h2 { font-size: 43px; }
  .collection-copy > div { justify-self: start; max-width: 34ch; }
  .collection-copy p { font-size: 14px; }
  .collection-copy .collection-credit { margin-top: 14px; font-size: 10px; }
  .collection-stage { padding: 10px 18px 28px; }
  .collection-shirts { grid-template-columns: 1fr; gap: 22px; }
  .collection-panel { padding-bottom: 24px; border-bottom: 1px solid #cfc9bd; }
  .collection-panel:last-child { border: 0; padding-bottom: 0; }
  .collection-images { max-width: 350px; width: 100%; margin-inline: auto; }
  .garment-name { font-size: 22px; }
  .collection-panel figcaption { padding-top: 0; }
  .product summary { grid-template-columns: 1fr 34px; gap: 12px; padding-block: 24px; }
  .product h3 { font-size: 32px; }
  .product-note { display: none; }
  .product-description { width: 100%; padding: 0 30px 23px 0; }
  .product-description p { font-size: 14px; }
  .detail-section { grid-template-columns: 1fr; }
  .detail-copy { padding: 65px var(--gutter); transform: none; }
  .detail-copy h2 { font-size: 46px; }
  .detail-copy > p { font-size: 15px; margin-top: 25px; max-width: 30ch; }
  .fabric-label { margin-top: 30px; }
  .detail-section figure { min-height: 460px; padding: 40px 18px 18px; }
  .detail-section figure img { transform: translateY(calc(35px - var(--p) * 70px)) rotate(calc(-5deg + var(--p) * 10deg)); }
  .everest-word { font-size: clamp(54px, 17vw, 96px); }
  .szmata .contact-section { padding-block: 80px; }
  .szmata .contact-intro h2 { font-size: clamp(34px, 9vw, 48px); }
}
@media (max-width: 360px) {
  .apps-hero-link { display: flex; margin-left: 0; margin-top: 4px; }
}
html[data-motion='off'] .szmata-hero { --p: 1; }
html[data-motion='off'] .hero-shirt img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .szmata-hero { --p: 1; }
  .hero-shirt img { transform: none !important; }
}

.portfolio { --portfolio-gap: clamp(56px, 7vw, 100px); }
.portfolio-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-block: 65px 36px; }
.portfolio-intro h2 { font-size: clamp(34px, 4vw, 52px); }
.portfolio-intro > p { color: var(--muted); font-size: 14px; }
.work-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 35px; }
.work-tabs button { display: grid; grid-template-columns: 1fr auto; text-align: left; gap: 3px 16px; padding: 18px 0; border: 0; border-top: 2px solid var(--line); background: none; transition: border-color 200ms ease, color 200ms ease; }
.work-tabs button > span { font-size: 22px; letter-spacing: -.03em; }
.work-tabs button > small { grid-column: 1; font-size: 12px; color: var(--muted); }
.work-tabs button > svg { grid-column: 2; grid-row: 1 / 3; align-self: center; transform: rotate(-45deg); }
.work-tabs button[aria-selected="true"] { border-color: var(--accent); }
.work-tabs button[aria-selected="true"] > span { color: var(--ink); }
.work-tabs button:hover > span { color: var(--ink); }
.work-tabs[hidden], .format-tabs[hidden], [data-work-panel][hidden], [data-format-panel][hidden] { display: none; }
.project-case { --portfolio-progress: .5; --ink: #f2f1e7; --muted: #bdcabb; --accent: #c0ed79; color: var(--ink); background: #101c15; overflow: clip; padding-block: 58px 28px; }
.project-mobile-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 60px; }
.project-mobile-heading h3 { font-size: clamp(60px, 6vw, 80px); }
.project-tagline { font-size: clamp(20px, 2.1vw, 27px); letter-spacing: -.03em; margin-top: 12px; }
.project-mobile-heading > div:last-child > p { max-width: 43ch; color: var(--muted); font-size: 15px; }
.project-visit { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 14px; color: var(--accent); font-size: 13px; }
.project-visit svg { width: 16px; height: 16px; transform: rotate(-45deg); }
.project-visit:hover { text-decoration: underline; }
.format-tabs { display: flex; gap: 25px; margin-top: 28px; }
.format-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 10px 3px; background: none; color: var(--muted); font-size: 15px; min-width: 65px; }
.format-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--accent); }
.project-web { padding-top: 30px; }
.mobile-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; gap: clamp(28px, 4vw, 60px); padding: 42px max(var(--gutter), calc((100vw - 1288px) / 2)) 25px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #667d62 #101c15; }
.mobile-track:focus-visible { outline: 2px solid #c0ed79; outline-offset: -4px; }
.portfolio-phone-figure { flex: 0 0 252px; scroll-snap-align: center; }
.portfolio-phone { padding: 6px; border-radius: 41px; background: #4d574f; box-shadow: 0 35px 45px -24px #02050380; }
.portfolio-phone-figure .portfolio-phone { transform: translateY(calc((var(--portfolio-progress) - .5) * (1 + var(--phone-index)) * -8px)) rotate(calc((var(--portfolio-progress) - .5) * (var(--phone-index) - 2.5) * 2deg)); }
.portfolio-phone-inner { border-radius: 35px; overflow: hidden; position: relative; background: #101c15; }
.portfolio-phone .project-phone-status { height: 28px; }
.portfolio-phone-figure figcaption { margin-top: 35px; }
.portfolio-phone-figure h4 { margin: 0 0 5px; font-size: 16px; letter-spacing: -.025em; font-weight: 500; }
.portfolio-phone-figure figcaption p { font-size: 12px; color: var(--muted); max-width: 28ch; }
.mobile-gallery-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.mobile-gallery-footer > p { color: var(--muted); font-size: 12px; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls[hidden], .gallery-controls[hidden] { display: none; }
.rail-controls button { width: 46px; height: 46px; display: grid; place-items: center; background: #273a2c; color: #f2f1e7; border: 0; border-radius: 50%; transition: background 180ms ease; }
.rail-controls button:hover { background: #3d5541; }
.rail-controls button:first-child svg { transform: rotate(180deg); }
.portfolio-demo { font-size: 11px; color: var(--muted); }
.project-case > .portfolio-demo { margin-top: 26px; }
.gallery-controls { margin-bottom: 22px; }
.gallery-notice { color: var(--muted); font-size: 12px; }
.gallery-notice:not(:empty) { margin-block: -10px 18px; }
.gallery-options { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.gallery-options button { border: 0; border-bottom: 2px solid transparent; padding: 10px 3px; background: transparent; font-size: 13px; color: var(--muted); transition: color 180ms ease, border-color 180ms ease; }
.gallery-options button[aria-pressed="true"] { color: var(--ink); border-color: var(--accent); }
.gallery-options button:hover { color: var(--ink); }
.gallery-screen { margin: 0; }
.gallery-screen + .gallery-screen { margin-top: 35px; }
.portfolio-gallery[data-enhanced] .gallery-screen { margin-top: 0; }
.gallery-screen[hidden] { display: none; }
.browser-frame { overflow: hidden; border-radius: 13px; background: #e4e4e6; box-shadow: 0 30px 60px -36px #1b1b2759; }
.browser-bar { display: grid; grid-template-columns: 1fr 2fr 1fr; height: 34px; align-items: center; padding-inline: 16px; font-size: 10px; color: #64646a; background: #eaeaec; text-align: center; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 7px; height: 7px; border-radius: 50%; background: #b5b5bc; }
.browser-frame > img { width: 100%; aspect-ratio: 8 / 5; height: auto; }
.gallery-screen figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 15px; color: var(--muted); font-size: 11px; }
.gallery-screen figcaption a { display: inline-flex; gap: 9px; align-items: center; min-height: 36px; }
.gallery-screen figcaption a:hover { color: var(--ink); text-decoration: underline; }
.gallery-screen figcaption svg { width: 15px; height: 15px; transform: rotate(-45deg); }
.business-project { padding-block: 28px 70px; }
.business-project + .business-project { border-top: 1px solid var(--line); }
.work-selector[data-enhanced] .business-project { border-top: 0; }
.business-project-copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px 60px; margin-bottom: 28px; }
.business-project-copy h3 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.business-project-copy p { font-size: 15px; max-width: 65ch; color: var(--muted); }
.business-project-copy .project-kind { margin-top: 14px; font-size: 12px; }
.business-project-copy ul { grid-column: 2; display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 8px 24px; font-size: 12px; }
.business-project-copy li { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.business-project > .portfolio-demo { margin-top: 25px; }
.laptop { position: relative; padding-inline: 4%; padding-bottom: 2%; }
.laptop-display { position: relative; padding: 16px 7px 8px; background: #303238; border-radius: 16px 16px 5px 5px; box-shadow: 0 24px 50px -27px #20202366; }
.laptop-display > img { width: 100%; aspect-ratio: 8 / 5; }
.laptop-camera { position: absolute; top: 6px; left: calc(50% - 2px); width: 4px; height: 4px; background: #6a6e76; border-radius: 50%; }
.laptop-base { height: 16px; width: 100%; position: absolute; left: 0; bottom: 0; background: linear-gradient(#d5d7db, #989ba3); border-radius: 2px 2px 55% 55%; box-shadow: 0 25px 28px -12px #28293347; }
.laptop-base > span { position: absolute; top: 0; left: 42%; width: 16%; height: 5px; border-radius: 0 0 7px 7px; background: #969aa3; }
.work-montage { --portfolio-progress: .5; max-width: 1280px; margin-top: 25px; padding-bottom: 30px; }
.work-devices { position: relative; height: 405px; }
.work-preview { display: block; position: absolute; transition: filter 250ms ease; }
.work-preview:hover { filter: brightness(1.07); }
.work-preview-p30 { width: 180px; top: 0; left: 5%; z-index: 3; transform: translateY(calc((.5 - var(--portfolio-progress)) * 38px)) rotate(-7deg); }
.work-preview-p30 .portfolio-phone { padding: 5px; border-radius: 29px; background: #b9bdc3; }
.work-preview-p30 .portfolio-phone-inner { border-radius: 24px; }
.work-preview-p30 .project-phone-status { height: 21px; font-size: 6px; padding-inline: 13px; }
.work-preview-p30 .project-phone-island { height: 11px; width: 43px; left: calc(50% - 21.5px); top: 4px; }
.work-preview-warehouse { width: 52%; left: 25%; top: 38px; z-index: 2; transform: translateY(calc((.5 - var(--portfolio-progress)) * -18px)); }
.work-preview-management { width: 38%; right: 0; top: -9px; z-index: 1; transform: translateY(calc((.5 - var(--portfolio-progress)) * -35px)) rotate(5deg); }
.work-preview-management .browser-bar { font-size: 7px; height: 23px; padding-inline: 10px; }
.work-preview-management .browser-dots i { width: 5px; height: 5px; }
.work-preview-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 24px; }
.work-preview-links a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 8px; border-top: 1px solid var(--line); padding-top: 14px; min-height: 62px; }
.work-preview-links a > span { font-size: 15px; font-weight: 500; }
.work-preview-links small { font-size: 11px; color: var(--muted); grid-column: 1; }
.work-preview-links svg { grid-column: 2; grid-row: 1 / 3; width: 17px; height: 17px; transform: rotate(-45deg); }
.work-preview-links a:hover { color: var(--accent); }
.commerce-portfolio { --portfolio-progress: .5; --muted: #626456; padding-block: 85px 45px; background: #e6e7dd; overflow: clip; }
.commerce-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: end; margin-bottom: 70px; }
.commerce-intro h2 { font-size: clamp(42px, 5.3vw, 74px); }
.commerce-intro h2 span:last-child { color: var(--accent); }
.commerce-intro > p { color: var(--muted); max-width: 43ch; font-size: 16px; }
.commerce-project-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.commerce-project-heading h3 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; font-weight: 500; }
.commerce-project-heading > p { font-size: 14px; max-width: 54ch; color: var(--muted); }
.commerce-stage { position: relative; padding-block: 35px 40px; }
.commerce-desktop { width: 78%; margin-inline: auto; transform: translateY(calc((.5 - var(--portfolio-progress)) * -24px)); }
.commerce-desktop .gallery-controls { margin-left: 4%; }
.commerce-desktop .gallery-screen figcaption { padding-inline: 4%; }
.commerce-phone { position: absolute; z-index: 2; width: 18%; }
.commerce-phone .portfolio-phone { padding: 5px; border-radius: 34px; background: #494a40; }
.commerce-phone .portfolio-phone-inner { border-radius: 29px; }
.commerce-phone figcaption { font-size: 11px; text-align: center; margin-top: 15px; }
.commerce-phone-catalog { left: 0; top: 100px; transform: translateY(calc((.5 - var(--portfolio-progress)) * 60px)) rotate(-7deg); }
.commerce-phone-product { right: 0; top: 180px; transform: translateY(calc((.5 - var(--portfolio-progress)) * -50px)) rotate(7deg); }
.commerce-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 24px; }
.commerce-footer ul { display: flex; gap: 12px 28px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; font-size: 13px; }
.commerce-footer li { border-bottom: 1px solid #b8bcad; padding-bottom: 10px; }
.commerce-project > .portfolio-demo { margin-top: 25px; }
html[data-motion="off"] .portfolio-phone, html[data-motion="off"] .work-preview, html[data-motion="off"] .commerce-phone, html[data-motion="off"] .commerce-desktop { transform: none; }
@media (max-width: 1050px) {
  .work-devices { height: 340px; }
  .work-preview-p30 { width: 145px; }
  .work-preview-warehouse { left: 19%; width: 60%; }
  .commerce-stage { padding-bottom: 90px; }
  .commerce-phone { width: 19%; }
  .commerce-phone-product { top: 130px; }
}
@media (max-width: 640px) {
  .portfolio-intro { flex-direction: column; align-items: start; gap: 15px; padding-block: 40px 24px; }
  .portfolio-intro h2 { font-size: 35px; }
  .portfolio-intro > p { font-size: 13px; }
  .work-tabs { gap: 15px; padding-bottom: 25px; }
  .work-tabs button { padding-block: 12px; display: block; }
  .work-tabs button > span { font-size: 14px; line-height: 1.35; display: block; min-height: 38px; }
  .work-tabs button > small { font-size: 10px; display: block; margin-top: 6px; }
  .work-tabs button > svg { display: none; }
  .project-case { padding-top: 35px; }
  .project-mobile-heading { grid-template-columns: 1fr; gap: 22px; }
  .project-mobile-heading h3 { font-size: 54px; }
  .project-tagline { font-size: 21px; margin-top: 13px; }
  .project-mobile-heading > div:last-child > p { font-size: 14px; }
  .format-tabs { margin-top: 18px; }
  .mobile-track { gap: 26px; padding-top: 32px; padding-bottom: 20px; }
  .portfolio-phone-figure { flex-basis: 252px; }
  .portfolio-phone-figure .portfolio-phone { transform: none; }
  .portfolio-phone-figure figcaption { margin-top: 24px; }
  .mobile-gallery-footer { margin-top: 20px; }
  .gallery-options { gap: 6px 20px; }
  .gallery-controls { margin-bottom: 18px; }
  .gallery-options button { font-size: 12px; min-height: 44px; }
  .browser-frame { border-radius: 7px; }
  .browser-bar { height: 24px; padding-inline: 9px; font-size: 7px; }
  .browser-dots { gap: 3px; }
  .browser-dots i { width: 4px; height: 4px; }
  .gallery-screen figcaption { padding-top: 10px; font-size: 10px; }
  .business-project-copy { grid-template-columns: 1fr; gap: 18px; margin-bottom: 24px; }
  .business-project-copy p { font-size: 14px; }
  .business-project-copy ul { grid-column: 1; font-size: 11px; gap: 8px 15px; }
  .business-project { padding-block: 18px 45px; }
  .laptop { padding-bottom: 3%; }
  .laptop-display { border-radius: 8px 8px 2px 2px; padding: 8px 4px 4px; }
  .laptop-camera { top: 3px; width: 2px; height: 2px; }
  .laptop-base { height: 8px; }
  .laptop-base > span { height: 3px; }
  .work-montage { margin-top: 25px; padding-bottom: 10px; }
  .work-devices { height: 270px; }
  .work-preview-p30 { width: 29%; left: 0; top: 45px; }
  .work-preview-p30 .portfolio-phone { padding: 3px; border-radius: 17px; }
  .work-preview-p30 .portfolio-phone-inner { border-radius: 14px; }
  .work-preview-p30 .project-phone-status { height: 11px; padding-inline: 6px; font-size: 3px; }
  .work-preview-p30 .project-phone-island { width: 23px; height: 6px; top: 2px; left: calc(50% - 11.5px); }
  .work-preview-p30 .project-phone-signal { transform: scale(.55); transform-origin: right center; }
  .work-preview-warehouse { width: 74%; left: 22%; top: 85px; }
  .work-preview-management { width: 55%; right: 1%; top: 7px; }
  .work-preview-management .browser-bar { font-size: 4px; height: 13px; padding-inline: 5px; }
  .work-preview-management .browser-dots i { width: 3px; height: 3px; }
  .work-preview-links { gap: 14px; margin-top: 0; }
  .work-preview-links a { display: block; padding-top: 12px; }
  .work-preview-links a > span { font-size: 12px; display: block; min-height: 34px; line-height: 1.4; }
  .work-preview-links small { display: block; font-size: 9px; margin-top: 4px; }
  .work-preview-links svg { display: none; }
  .commerce-portfolio { padding-block: 55px 35px; }
  .commerce-intro { grid-template-columns: 1fr; gap: 25px; margin-bottom: 38px; }
  .commerce-intro h2 { font-size: 45px; }
  .commerce-intro > p { font-size: 14px; }
  .commerce-project-heading { grid-template-columns: 1fr; gap: 15px; }
  .commerce-project-heading h3 { font-size: 30px; }
  .commerce-project-heading > p { font-size: 14px; }
  .commerce-stage { padding-block: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 25px; }
  .commerce-desktop { width: 100%; grid-column: 1 / -1; transform: none; }
  .commerce-phone { position: static; width: 100%; transform: none; }
  .commerce-phone .portfolio-phone { padding: 4px; border-radius: 25px; }
  .commerce-phone .portfolio-phone-inner { border-radius: 21px; }
  .commerce-phone .project-phone-status { height: 21px; padding-inline: 12px; font-size: 6px; }
  .commerce-phone .project-phone-island { width: 43px; height: 12px; left: calc(50% - 21.5px); top: 4px; }
  .commerce-phone figcaption { font-size: 10px; margin-top: 13px; }
  .commerce-footer { flex-direction: column; align-items: start; gap: 20px; margin-top: 32px; }
  .commerce-footer ul { gap: 10px 16px; font-size: 11px; }
}
@media (max-width: 360px) {
  .work-devices { height: 235px; }
  .work-preview-warehouse { top: 78px; }
  .work-preview-p30 { top: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-phone, .work-preview, .commerce-phone, .commerce-desktop { transform: none !important; }
}
