:root {
  --paper: #fcf7ee;
  --ink: #171a18;
  --muted: #5c615c;
  --line: #dfdfd5;
  --green: #22ce63;
  --green-hover: #19bd56;
  --radius: 24px;
  --phone-ratio: 430 / 932;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #087238; outline-offset: 6px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.container { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; padding: 12px; z-index: 5; background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; min-height: 108px; }
.wordmark { font-size: 28px; font-weight: 750; letter-spacing: -1.2px; line-height: 1.2; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; }
.site-nav a, .footer-bottom a, .email { text-decoration-thickness: 1px; text-underline-offset: 6px; }
.site-nav a:hover, .footer-bottom a:hover, .email:hover { text-decoration: underline; }
.language-button { background: none; border: 0; padding: 12px 0 12px 8px; font-size: 16px; min-width: 40px; min-height: 44px; }
.hero { display: grid; grid-template-columns: .39fr .61fr; gap: 40px; align-items: center; padding: 24px 0 48px; min-height: 682px; }
.hero-copy { padding: 12px 0 38px; min-width: 0; }
h1 { font-size: clamp(48px, 5.1vw, 78px); line-height: 1.27; letter-spacing: -2px; font-weight: 750; }
h1 span { display: block; white-space: nowrap; }
.hero-description { max-width: 380px; margin: 28px 0 34px; font-size: 18px; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 58px; padding: 14px 28px; border-radius: 40px; background: var(--green); border: 1px solid transparent; color: var(--ink); font-size: 17px; font-weight: 550; transition: background .15s ease; }
.button:hover { background: var(--green-hover); }
.button span:last-child { font-size: 22px; line-height: 1; }
.hero-media { min-width: 0; }
.portrait-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 36px; }
.portrait { border: 0; padding: 0; background: transparent; border-radius: var(--radius); overflow: hidden; aspect-ratio: var(--phone-ratio); transition: transform .22s ease; }
.portrait:nth-child(2) { transform: translateY(36px); }
.portrait:hover { transform: translateY(-6px); }
.portrait:nth-child(2):hover { transform: translateY(30px); }
.portrait img, .portrait video { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait:first-child img { object-position: 42% center; }
.portrait:nth-child(2) img { object-position: 58% center; }
.media-note { font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; margin-top: 20px; }
.media-caption { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.media-caption .media-note { margin: 0; }
.motion-button { border: none; background: none; font-size: 12px; padding: 8px 4px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.works-heading { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 62px 0 72px; }
.works-heading h2 { font-size: clamp(27px, 3.2vw, 44px); letter-spacing: -1px; line-height: 1.35; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 6px 0; background: none; border: 0; font-weight: 550; font-size: 17px; line-height: 1.4; }
.text-link span:first-child { border-bottom: 2px solid var(--green); padding: 4px 0; }
.text-link:hover span:first-child { border-color: var(--ink); }
.feature-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 64px; margin-bottom: 100px; }
.feature-row > *, .canvas-row > *, .footer-columns > * { min-width: 0; }
.feature-row-reverse { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1.78; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.showcase-video { display: block; width: 100%; height: 100%; object-fit: cover; }
#object .feature-media img { object-position: 50% 40%; }
#object .feature-media { aspect-ratio: 16 / 9; }
#object .showcase-video { object-fit: contain; }
.feature-media figcaption { position: absolute; bottom: 12px; left: 16px; padding: 4px 9px; border-radius: 4px; font-size: 12px; color: #fff; background: #171a18cc; }
.space-media img { object-position: center; }
.feature-copy h2, .canvas-row h2 { font-size: clamp(48px, 5.3vw, 76px); font-weight: 650; line-height: 1.12; letter-spacing: -2.5px; }
.feature-copy h3, .canvas-row h3 { margin-top: 18px; font-size: clamp(23px, 2.3vw, 31px); font-weight: 650; line-height: 1.45; letter-spacing: -.5px; }
.feature-copy p, .canvas-row p { font-size: 17px; line-height: 1.85; margin-top: 13px; max-width: 510px; }
.feature-copy .text-link { margin-top: 20px; }
.canvas-row { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 50px; align-items: center; padding: 0 0 70px; }
.canvas-row h3 { margin-top: 0; }
.canvas-row p { max-width: none; }
.album-media { position: relative; border-radius: var(--radius); overflow: hidden; background: #f6f2e9; }
.album-stage { --album-open-angle: 110deg; position: relative; aspect-ratio: .93; perspective: 2400px; perspective-origin: 36% 49.2%; }
.album-leaf { position: absolute; left: 36%; top: 12%; width: 60%; height: 74.4%; border-radius: 18px; object-fit: cover; border: 1px solid #fff; box-shadow: 0 8px 22px #171a181f; }
.album-back.back-far { transform: translate(22px, 13px) rotate(.5deg); }
.album-back.back-near { transform: translate(11px, 7px) rotate(.25deg); }
.album-previous { transform-origin: right center; transform: translateX(-100%) rotateY(calc(180deg - var(--album-open-angle))); opacity: .86; overflow: hidden; }
.album-previous img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.album-previous::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #00000029, #ffffff14 70%); pointer-events: none; }
.album-current { padding: 0; background: transparent; }
.album-current img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.album-curl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.album-curl[hidden] { display: none; }
.album-controls { display: flex; justify-content: center; align-items: center; gap: 24px; padding-bottom: 8px; }
.album-arrow { border: 0; background: none; font-size: 20px; min-width: 44px; min-height: 44px; }
.album-arrow:disabled { opacity: .35; cursor: default; }
.album-media figcaption { text-align: center; font-size: 12px; line-height: 1.6; color: var(--muted); padding: 0 10px 12px; }
.chat-row { border-top: 1px solid var(--line); padding-top: 48px; }
.chat-row .coming-soon { font-size: 13px; color: var(--muted); margin-top: 18px; }
.site-footer { border-top: 1px solid var(--ink); padding-top: 42px; padding-bottom: 28px; }
.footer-columns { display: grid; grid-template-columns: .9fr 1.25fr .7fr; gap: 48px; }
.footer-brand .wordmark { font-size: 40px; letter-spacing: -1.8px; }
.footer-brand p { margin-top: 16px; font-size: 19px; line-height: 1.5; }
.company, .contact { font-size: 14px; line-height: 1.65; }
.company h2, .contact h2 { font-size: 16px; font-weight: 650; margin-bottom: 10px; }
.company p { margin: 4px 0; }
.contact .button { min-height: 44px; font-size: 14px; padding: 8px 24px; margin-bottom: 12px; }
.contact .email { display: block; overflow-wrap: anywhere; }
.contact p { margin-top: 6px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 56px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.footer-bottom nav { display: flex; gap: 24px; }
.preview-dialog { background: var(--paper); border: none; color: var(--ink); border-radius: var(--radius); width: min(800px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; overscroll-behavior: contain; }
.preview-dialog::backdrop { background: #0d1712b8; }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.dialog-toolbar h2 { font-size: 22px; line-height: 1.3; }
.close-button { width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 28px; flex-shrink: 0; }
.preview-image { width: 100%; height: min(58dvh, 540px); object-fit: contain; border-radius: 12px; background: #ebe9e0; }
#preview-video:not([hidden]) { width: auto; max-width: 100%; aspect-ratio: var(--phone-ratio); object-fit: cover; margin-inline: auto; display: block; }
#preview-video:not([hidden])[data-layout="landscape"] { width: min(100%, calc(58dvh * 16 / 9)); height: auto; max-height: none; aspect-ratio: 16 / 9; object-fit: contain; }
.preview-image[hidden] { display: none; }
#preview-description { font-size: 15px; line-height: 1.75; margin-top: 20px; white-space: pre-line; }
.preview-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.preview-controls[hidden] { display: none; }
.preview-counter { font-size: 13px; color: var(--muted); }
.legal-main { max-width: 850px; padding-top: 38px; padding-bottom: 64px; }
.legal-main h1 { font-size: 48px; letter-spacing: -1px; margin-bottom: 16px; }
.legal-main h2 { font-size: 22px; margin: 32px 0 12px; line-height: 1.5; }
.legal-main p { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; margin-bottom: 16px; }
.legal-main a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #0a8940; }
.legal-meta { color: var(--muted); font-size: 14px !important; }
.legal-languages { display: flex; gap: 24px; margin: 24px 0; font-size: 15px; }
.legal-main article { padding-top: 16px; }
.legal-main article + article { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 48px; }
@media (min-width: 1700px) { .hero { min-height: 800px; } }
@media (min-width: 901px) { :lang(en) .hero h1 { font-size: clamp(38px, 4.6vw, 68px); } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 24px; grid-template-columns: .41fr .59fr; min-height: 590px; }
  h1 { font-size: 48px; letter-spacing: -1.5px; }
  .portrait-rail { gap: 10px; }
  .feature-row { gap: 40px; margin-bottom: 76px; }
  .footer-columns { gap: 28px; grid-template-columns: 1fr 1fr; }
  .contact { grid-column: 2; }
  .footer-brand { grid-row: span 2; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; }
  .hero-copy { padding-bottom: 0; }
  .hero-description { max-width: 520px; }
  .portrait-rail { max-width: 660px; margin: auto; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 122px; padding-top: 18px; padding-bottom: 12px; grid-template-columns: 1fr auto; gap: 10px; }
  .wordmark { font-size: 25px; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 12px; font-size: 14px; }
  .site-nav a { padding: 8px 0; }
  .language-button { grid-row: 1; grid-column: 2; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 26px 0 38px; min-height: 0; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(38px, 10.5vw, 65px); letter-spacing: -1px; line-height: 1.25; }
  .hero-description { font-size: 16px; margin: 20px 0 23px; max-width: 440px; }
  .button { min-height: 50px; font-size: 15px; padding: 12px 24px; gap: 12px; }
  .portrait-rail { gap: 10px; padding-bottom: 20px; }
  .portrait { border-radius: 16px; }
  .portrait:nth-child(2) { transform: translateY(20px); }
  .portrait:nth-child(2):hover { transform: translateY(14px); }
  .media-note { margin-top: 14px; font-size: 10px; }
  .media-caption { gap: 14px; margin-top: 6px; }
  .works-heading { padding: 32px 0 40px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .works-heading h2 { font-size: 27px; letter-spacing: -.8px; }
  .text-link { font-size: 15px; }
  .feature-row, .feature-row-reverse { grid-template-columns: 1fr; gap: 24px; margin-bottom: 54px; }
  .feature-row-reverse .feature-media { grid-row: 1; }
  .feature-media { border-radius: 18px; }
  .album-media { border-radius: 18px; }
  .album-leaf { border-radius: 12px; }
  .album-media figcaption { font-size: 10px; padding: 7px; }
  .feature-copy h2, .canvas-row h2 { font-size: 48px; letter-spacing: -1.8px; }
  .feature-copy h3, .canvas-row h3 { margin-top: 12px; font-size: 24px; }
  .feature-copy p, .canvas-row p { font-size: 16px; line-height: 1.8; }
  .feature-copy .text-link { margin-top: 12px; }
  .canvas-row { grid-template-columns: 1fr; gap: 14px; padding-bottom: 48px; }
  .canvas-row h3 { margin-top: 0; }
  .site-footer { padding-top: 30px; }
  .footer-columns { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-row: auto; }
  .footer-brand .wordmark { font-size: 36px; }
  .footer-brand p { font-size: 17px; margin-top: 10px; }
  .contact { grid-column: 1; }
  .footer-bottom { margin-top: 34px; gap: 18px; }
  .preview-dialog { padding: 18px; border-radius: 18px; }
  .preview-image { height: 46dvh; }
  .dialog-toolbar h2 { font-size: 19px; }
  .legal-main { padding-top: 24px; }
  .legal-main h1 { font-size: 34px; }
  .legal-main h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Shared language picker: native language names, keyboard access, stored preference. */
.language-picker { position: relative; justify-self: end; z-index: 10; }
.language-button { display: grid; place-items: center; padding: 10px; border-radius: 50%; width: 44px; }
.language-button:hover { background: #171a1809; }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; width: 228px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 12px 40px #171a181f; max-height: min(520px, 75vh); overflow-y: auto; }
.language-options[hidden] { display: none; }
.language-options button { display: block; width: 100%; min-height: 44px; padding: 10px 14px; text-align: left; border: 0; background: transparent; border-radius: 10px; font-size: 15px; }
.language-options button:hover, .language-options button[aria-pressed="true"] { background: #22ce631a; }
.language-options button[aria-pressed="true"] { font-weight: 700; }
.language-options button:focus-visible { outline-offset: -3px; }
h1 span { white-space: normal; overflow-wrap: anywhere; }
.hero h1 { font-size: clamp(38px, 4.6vw, 68px); }
.site-nav { flex-wrap: wrap; }
.legal-main { overflow-wrap: anywhere; }
#legal-language-notice { color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 760px) { .language-picker { grid-row: 1; grid-column: 2; } }
.footer-bottom nav { flex-wrap: wrap; }
