:root {
  --paper: #f3f0e9;
  --paper-2: #e8e2d7;
  --ink: #11110f;
  --ink-soft: #5c5a54;
  --orange: #ff4f0a;
  --green: #4f765e;
  --line: rgba(17, 17, 15, 0.16);
  --white: #fff;
  --max: 1440px;
  --gutter: clamp(22px, 5vw, 76px);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--white); background: var(--orange); }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; color: #fff; background: #111; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.grain { position: fixed; inset: -100%; z-index: 100; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); animation: grain 7s steps(8) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(3%,-2%)} 40%{transform:translate(-4%,3%)} 60%{transform:translate(5%,2%)} 80%{transform:translate(-2%,-4%)} 100%{transform:translate(0,0)} }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding: 0 var(--gutter); background: rgba(243, 240, 233, .86); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: height .25s, border-color .25s, background .25s; }
.site-header.is-scrolled { height: 70px; border-color: var(--line); background: rgba(243, 240, 233, .94); }
.wordmark { display: inline-block; width: max-content; font-size: 34px; font-weight: 850; letter-spacing: -.08em; line-height: 1; }
.wordmark > span { position: relative; }
.wordmark > span::before { content: ""; position: absolute; width: .26em; aspect-ratio: 1; top: -.05em; right: .03em; border-radius: 50%; background: var(--orange); }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3.5vw, 54px); font-size: 15px; letter-spacing: .02em; }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--orange); transition: right .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-cta { justify-self: end; padding: 11px 21px; border-radius: 999px; color: #fff; background: var(--orange); font-size: 14px; font-weight: 650; transition: transform .25s, box-shadow .25s; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 79, 10, .22); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 15px; }
.language-toggle { min-width: 42px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.36); font-size: 12px; font-weight: 720; letter-spacing: .04em; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.language-toggle:hover, .language-toggle:focus-visible { color: var(--orange); border-color: rgba(255,79,10,.5); background: rgba(255,255,255,.72); }
.menu-button { display: none; }

.hero { position: relative; min-height: 100svh; max-width: var(--max); margin: 0 auto; padding: 150px var(--gutter) 90px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr); align-items: center; gap: clamp(36px, 5vw, 92px); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -18%; bottom: -35%; z-index: -1; width: 68%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,79,10,.11), rgba(255,79,10,0) 65%); }
.hero-copy { position: relative; z-index: 3; }
.hero h1 { margin: 0; max-width: 10ch; font-family: var(--sans); font-size: clamp(58px, 5.75vw, 94px); font-weight: 780; line-height: .99; letter-spacing: -.075em; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 i { color: var(--orange); font-style: normal; }
body[data-lang="en"] .hero h1 { max-width: 10.5ch; font-size: clamp(58px, 6vw, 98px); line-height: .94; letter-spacing: -.07em; }
body[data-lang="en"] .hero-copy > p { max-width: 28em; }
.hero-copy > p { margin: 32px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 22px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font-weight: 650; transition: transform .25s, box-shadow .25s, color .25s, background .25s; }
.button svg { width: 22px; fill: currentColor; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 16px 42px rgba(255,79,10,.18); }
.button-primary:hover { box-shadow: 0 20px 48px rgba(255,79,10,.28); }
.text-link, .dark-link { display: inline-flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid currentColor; font-weight: 620; }
.hero-copy .availability { margin-top: 22px; font-size: 12px; line-height: 1.4; letter-spacing: .06em; opacity: .72; }
.hero-visual { position: relative; align-self: stretch; min-height: 680px; }
.phone { position: relative; overflow: hidden; border: 9px solid #171715; border-radius: clamp(34px, 4vw, 62px); background: #111; box-shadow: 0 34px 70px rgba(22,18,12,.22), inset 0 0 0 1px rgba(255,255,255,.25); }
.phone::before { content: ""; position: absolute; z-index: 4; top: 8px; left: 50%; width: 30%; height: 24px; border-radius: 999px; background: #111; transform: translateX(-50%); }
.phone > img { width: 100%; height: 100%; object-fit: cover; }
.phone-hero { position: absolute; z-index: 4; top: 0; left: 50%; width: min(67%, 430px); height: 92%; transform: translateX(-46%) rotate(1.5deg); }
.photo-card { position: absolute; z-index: 2; overflow: hidden; padding: 10px 10px 48px; background: #f6f1e7; box-shadow: 0 24px 55px rgba(27,20,13,.18); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card-left { top: 9%; left: -3%; width: 32%; height: 44%; transform: rotate(-8deg); }
.photo-card-left img { object-position: 48% 56%; }
.photo-card-right { top: 16%; right: -3%; width: 32%; height: 52%; transform: rotate(7deg); }
.photo-card-right img { object-position: 61% 31%; }
.photo-card-right span { position: absolute; right: 17px; bottom: 12px; color: #736b5d; font-family: var(--serif); font-size: 12px; font-style: italic; line-height: 1.25; transform: rotate(-3deg); }
.film-strip { position: absolute; z-index: 3; left: 10%; right: -10%; bottom: 8%; height: 82px; border-top: 14px dotted rgba(22,22,20,.9); border-bottom: 14px dotted rgba(22,22,20,.9); background: linear-gradient(90deg, rgba(65,41,24,.85), rgba(21,20,17,.9), rgba(118,62,25,.8)); transform: rotate(-4deg); opacity: .9; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #777268; font-size: 9px; letter-spacing: .32em; transform: translateX(-50%); }
.scroll-cue i { display: block; width: 1px; height: 32px; background: linear-gradient(var(--orange), transparent); }

.section-index { margin: 0 0 24px; color: var(--orange); font-size: 12px; font-weight: 650; letter-spacing: .23em; }
.styles-section { position: relative; padding: 128px var(--gutter) 70px; color: #f5f2ea; background: #121311; overflow: hidden; }
.styles-section::before { content: "ROLI"; position: absolute; top: 2%; right: -2%; color: rgba(255,255,255,.025); font-size: min(33vw, 480px); font-weight: 900; line-height: 1; letter-spacing: -.1em; }
.styles-heading { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.styles-heading h2, .features-section h2, .ai-section h2, .gallery-section h2, .about-section h2 { margin: 0; font-size: clamp(46px, 5.5vw, 88px); line-height: 1.08; letter-spacing: -.05em; }
.styles-intro { max-width: 520px; color: #bbb9b1; font-size: 18px; }
.styles-intro p { margin: 0 0 28px; }
.dark-link { color: var(--orange); }
.styles-stage { position: relative; max-width: var(--max); height: 560px; margin: 60px auto 0; }
.phone-style { position: absolute; z-index: 2; left: 53%; top: 0; width: 330px; height: 560px; transform: translateX(-50%) rotate(-1deg); }
.style-note { position: absolute; right: 5%; top: 16%; margin: 0; color: rgba(102,141,112,.68); font-family: var(--serif); font-size: 34px; font-style: italic; line-height: 1.45; transform: rotate(-8deg); }
.camera-rail { position: relative; z-index: 3; max-width: var(--max); margin: -160px auto 0; padding: 34px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; border-top: 1px solid rgba(255,255,255,.14); }
.camera-rail li { min-width: 0; padding-right: 18px; border-right: 1px solid rgba(255,255,255,.13); }
.camera-rail li:last-child { border-right: 0; }
.camera-number { display: block; margin-bottom: 10px; color: #7e7e78; font-size: 12px; }
.camera-thumb { display: block; height: 238px; margin-bottom: 16px; overflow: hidden; background: #222; filter: saturate(.82); transition: filter .3s, transform .3s; }
.camera-rail li:hover .camera-thumb { filter: saturate(1.05); transform: translateY(-5px); }
.camera-thumb img { width: 100%; height: 100%; object-fit: cover; }
.camera-thumb-ccd img { object-position: 50% 45%; }
.camera-thumb-film img { object-position: 50% 35%; }
.camera-thumb-inst img { object-position: 52% 21%; }
.camera-thumb-toy img { object-position: 55% 77%; }
.camera-thumb-bw { filter: grayscale(1) contrast(1.1); }
.camera-thumb-bw img { object-position: 42% 48%; }
.camera-rail strong { display: block; font-size: 16px; letter-spacing: .04em; }
.camera-rail small { display: block; margin-top: 4px; color: #80817c; font-size: 12px; }

.features-section { position: relative; max-width: var(--max); margin: 0 auto; padding: 140px var(--gutter); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.features-section h2 span { color: var(--orange); }
.section-index-dark { color: #8e887c; }
.feature-lede { max-width: 470px; margin: 28px 0 42px; color: var(--ink-soft); font-size: 19px; }
.feature-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); cursor: default; }
.feature-list li > span { grid-row: 1 / 3; color: #8d887d; font-size: 12px; letter-spacing: .1em; }
.feature-list strong { font-size: 21px; font-weight: 650; }
.feature-list p { max-height: 0; margin: 0; color: var(--ink-soft); font-size: 14px; opacity: 0; overflow: hidden; transition: max-height .3s, margin .3s, opacity .3s; }
.feature-list li:hover p, .feature-list .is-active p { max-height: 42px; margin-top: 5px; opacity: 1; }
.feature-list li:hover strong, .feature-list .is-active strong { color: var(--orange); }
.features-devices { position: relative; min-height: 680px; }
.phone-main { position: absolute; z-index: 2; left: 2%; top: 0; width: 49%; height: 650px; }
.phone-ai { position: absolute; z-index: 3; right: 1%; bottom: 0; width: 45%; height: 570px; transform: rotate(2.5deg); }
.hand-note { position: absolute; z-index: 4; right: -4%; top: 4%; color: #8f877a; font-family: var(--serif); font-size: 26px; font-style: italic; line-height: 1.4; transform: rotate(-8deg); }

.ai-section { min-height: 780px; display: grid; grid-template-columns: 1fr 1fr; background: #dfe8dd; }
.ai-visual { position: relative; overflow: hidden; min-height: 780px; background: #cbd6c7; }
.ai-visual img { position: absolute; left: 50%; top: 4%; width: 430px; max-width: 72%; transform: translateX(-50%) rotate(-2deg); box-shadow: 0 35px 70px rgba(27,50,33,.23); }
.ai-copy { align-self: center; max-width: 640px; padding: 90px clamp(34px, 7vw, 110px); }
.ai-copy h2 { max-width: 9ch; }
.ai-copy > p:not(.section-index) { max-width: 460px; margin: 28px 0 36px; color: #4f5a4e; font-size: 19px; }
.button-outline { border-color: rgba(17,17,15,.4); }
.button-outline:hover { color: #fff; background: var(--ink); }

.gallery-section { position: relative; min-height: 900px; padding: 120px var(--gutter); display: grid; grid-template-columns: .62fr 1.38fr; gap: 40px; color: #f8f5ee; background: #141310; overflow: hidden; }
.gallery-section::before, .gallery-section::after { content: ""; position: absolute; border-radius: 50%; filter: blur(75px); opacity: .65; }
.gallery-section::before { left: -11%; bottom: -22%; width: 38%; height: 42%; background: rgba(255,79,10,.55); }
.gallery-section::after { right: -10%; top: 15%; width: 34%; height: 40%; background: rgba(255,126,33,.3); }
.gallery-copy { position: relative; z-index: 3; align-self: center; max-width: 450px; }
.gallery-copy h2 { font-family: var(--serif); }
.gallery-copy > p:not(.section-index) { margin: 30px 0 38px; color: #b7b2a9; font-size: 18px; }
.button-dark { color: #fff; border-color: rgba(255,255,255,.56); }
.button-dark:hover { color: #151411; background: #fff; }
.gallery-collage { position: relative; z-index: 2; min-height: 680px; }
.print { position: absolute; overflow: hidden; padding: 12px 12px 54px; background: #f7f4ed; box-shadow: 0 26px 62px rgba(0,0,0,.38); }
.print img { width: 100%; height: 100%; object-fit: cover; }
.print-one { z-index: 3; left: 0; top: 2%; width: 36%; height: 58%; transform: rotate(-6deg); }
.print-one img { object-position: 50% 25%; }
.print-two { z-index: 2; right: 2%; top: 4%; width: 43%; height: 66%; transform: rotate(5deg); }
.print-two img { object-position: 53% 58%; }
.print-three { z-index: 4; left: 31%; bottom: -2%; width: 42%; height: 54%; transform: rotate(-1.5deg); }
.print-three img { object-position: 50% 52%; }
.gallery-stamp { position: absolute; right: 0; bottom: 2%; color: rgba(255,255,255,.45); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 1.8; letter-spacing: .16em; text-align: right; }

.about-section { max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 150px); align-items: start; }
.about-intro h2 { font-size: clamp(40px, 4.2vw, 66px); }
.wordmark-inline { display: inline-block; font-family: var(--sans); font-size: .78em; }
.about-intro p { max-width: 520px; margin: 28px 0 0; color: var(--ink-soft); font-size: 19px; }
.company-card { display: flex; flex-direction: column; gap: 10px; padding-left: clamp(32px, 5vw, 76px); border-left: 1px solid var(--line); font-style: normal; }
.company-card strong { font-size: 20px; }
.company-card span { color: var(--ink-soft); }
.company-card a { width: max-content; margin-top: 12px; color: var(--orange); border-bottom: 1px solid var(--orange); }
.site-footer { min-height: 110px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 28px var(--gutter); border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 29px; }
.site-footer p { margin: 0; color: #777268; font-size: 11px; letter-spacing: .08em; text-align: center; }
.site-footer nav { justify-self: end; display: flex; gap: 26px; font-size: 13px; }
.site-footer nav a:hover { color: var(--orange); }

.reveal { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .hero { grid-template-columns: .85fr 1.15fr; }
  .hero-visual { min-height: 590px; }
  .camera-rail { grid-template-columns: repeat(5, minmax(160px, 1fr)); overflow-x: auto; padding-bottom: 20px; }
  .features-section { gap: 40px; }
  .features-devices { min-height: 600px; }
  .phone-main { height: 570px; }
  .phone-ai { height: 490px; }
  .gallery-section { grid-template-columns: .75fr 1.25fr; }
}

@media (max-width: 820px) {
  .site-header { height: 72px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .site-header .wordmark { font-size: 30px; }
  .header-cta { display: none; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .language-toggle { min-width: 44px; height: 38px; background: rgba(243,240,233,.82); }
  .menu-button { position: relative; z-index: 91; grid-column: 3; grid-row: 1; justify-self: end; display: grid; gap: 6px; width: 42px; height: 42px; padding: 11px; border: 0; background: transparent; }
  .menu-button span { width: 22px; height: 1px; background: var(--ink); transition: transform .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: 80px var(--gutter); background: var(--paper); font-family: var(--serif); font-size: 38px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .site-nav.is-open { transform: translateX(0); }
  .hero { min-height: auto; padding-top: 122px; grid-template-columns: 1fr; gap: 52px; }
  .hero h1 { max-width: 11ch; font-size: clamp(48px, 12.2vw, 72px); line-height: 1; }
  body[data-lang="en"] .hero h1 { max-width: 10ch; font-size: clamp(50px, 13vw, 76px); }
  .hero-visual { min-height: 640px; }
  .phone-hero { width: 56%; transform: translateX(-50%); }
  .photo-card-left, .photo-card-right { width: 30%; }
  .scroll-cue { display: none; }
  .styles-heading { grid-template-columns: 1fr; gap: 36px; }
  .styles-stage { height: 520px; }
  .camera-rail { margin-top: -120px; }
  .features-section { grid-template-columns: 1fr; }
  .features-copy { max-width: 620px; }
  .features-devices { min-height: 660px; }
  .ai-section { grid-template-columns: 1fr; }
  .ai-visual { min-height: 680px; }
  .ai-copy { max-width: none; order: -1; }
  .gallery-section { grid-template-columns: 1fr; min-height: 1230px; }
  .gallery-copy { max-width: 600px; }
  .gallery-collage { min-height: 760px; }
  .about-section { grid-template-columns: 1fr; }
  .company-card { padding: 34px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .hero { padding-bottom: 64px; }
  .hero h1 { font-size: clamp(45px, 12vw, 62px); letter-spacing: -.07em; }
  body[data-lang="en"] .hero h1 { font-size: clamp(48px, 13vw, 66px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .button { min-height: 52px; padding: 0 22px; }
  .hero-visual { min-height: 520px; margin: 0 -10px; }
  .phone { border-width: 6px; border-radius: 36px; }
  .phone::before { height: 17px; top: 6px; }
  .phone-hero { width: 65%; height: 96%; }
  .photo-card { padding: 7px 7px 34px; }
  .photo-card-left { top: 15%; left: -5%; width: 31%; height: 40%; }
  .photo-card-right { top: 17%; right: -5%; width: 31%; height: 46%; }
  .film-strip { bottom: 5%; height: 58px; border-width: 9px 0; border-style: dotted; }
  .styles-section { padding-top: 92px; }
  .styles-heading h2, .features-section h2, .ai-section h2, .gallery-section h2 { font-size: 46px; }
  .styles-intro { font-size: 16px; }
  .styles-stage { height: 450px; margin-top: 34px; }
  .phone-style { width: 250px; height: 440px; left: 55%; }
  .style-note { right: -4%; font-size: 23px; }
  .camera-rail { margin-top: -56px; grid-template-columns: repeat(5, 150px); }
  .camera-thumb { height: 195px; }
  .features-section { padding-top: 94px; padding-bottom: 100px; }
  .feature-lede { font-size: 16px; }
  .features-devices { min-height: 520px; margin: 0 -6px; }
  .phone-main { width: 56%; height: 490px; }
  .phone-ai { width: 50%; height: 410px; }
  .hand-note { display: none; }
  .ai-visual { min-height: 590px; }
  .ai-visual img { width: 330px; max-width: 84%; }
  .ai-copy { padding: 80px 20px; }
  .gallery-section { min-height: 1080px; padding-top: 90px; }
  .gallery-collage { min-height: 590px; margin-top: 10px; }
  .print { padding: 7px 7px 32px; }
  .print-one { width: 43%; height: 52%; }
  .print-two { width: 47%; height: 58%; }
  .print-three { left: 22%; width: 53%; height: 48%; }
  .gallery-stamp { display: none; }
  .about-section { padding-top: 86px; padding-bottom: 86px; }
  .about-intro p { font-size: 16px; }
  .company-card { font-size: 14px; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer nav { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
