/* RIKORA — company vision, September 2026. */
:root {
  color-scheme: light;
  --paper: #faf8f4;
  --white: #fffefb;
  --ink: #252522;
  --muted: #66645f;
  --line: #dfdcd5;
  --red: #c9162b;
  --red-dark: #a70f21;
  --night: #202621;
  --width: 1240px;
  --gutter: clamp(24px, 5.2vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
::selection { background: #eed2d2; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 18px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.section-inner, .hero-stage, .footer-inner, .footer-bottom { width: min(var(--width), 100%); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 32px; height: 88px; padding-inline: max(var(--gutter), calc((100% - var(--width)) / 2)); border-bottom: 1px solid transparent; background: rgba(250,248,244,.96); transition: border-color .2s, box-shadow .2s; }
.site-header[data-scrolled] { border-color: var(--line); box-shadow: 0 4px 20px #25252206; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 138px; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2vw, 30px); margin-left: auto; color: #51524d; font-size: 13px; font-weight: 500; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; transition: color .2s; }
.site-nav a:hover, .footer-links a:hover { color: var(--red); }
.header-action { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 4px; font-size: 12px; font-weight: 600; transition: color .2s, background .2s; }
.header-action:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; }
.hero { position: relative; padding: 0 var(--gutter); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); align-items: center; gap: 14px; padding: 64px 0 60px; min-height: 620px; }
.hero-copy { position: relative; z-index: 1; padding: 20px 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--red); font-size: 11px; font-weight: 650; letter-spacing: .12em; }
.eyebrow > span:last-child { padding-left: 2px; color: var(--muted); letter-spacing: .1em; font-size: 12px; font-weight: 400; }
.eyebrow-line { width: 22px; height: 1px; background: var(--red); }
.hero h1 { margin-top: 28px; font-size: clamp(36px, 4.12vw, 59px); font-weight: 600; line-height: 1.48; letter-spacing: -.045em; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 em { color: var(--red); font-style: normal; }
.vision-explanation { max-width: 570px; margin-top: 27px; color: var(--muted); font-size: 15px; line-height: 1.95; text-align: justify; }
.vision-explanation strong { display: block; margin-bottom: 9px; color: #41433d; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 600; transition: background .2s, border-color .2s, transform .2s; }
.button.primary { background: var(--red); color: white; }
.button.primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.button.secondary { border-color: #cbc8bf; }
.button.secondary:hover { border-color: var(--ink); background: var(--white); }
.button > span { font-size: 18px; font-weight: 400; }
.vision-art { position: relative; align-self: center; width: 100%; max-width: 460px; margin: -14px auto 0; }
.vision-art svg { display: block; width: 100%; overflow: visible; }
.art-caption { display: flex; justify-content: space-between; padding-inline: 38px; margin-top: -12px; color: #7e756c; font-size: 10px; letter-spacing: .13em; }
.hero-footnote { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0 26px; border-top: 1px solid var(--line); }
.hero-footnote p { display: flex; align-items: center; gap: 24px; }
.hero-footnote strong { font-size: 12px; font-weight: 550; letter-spacing: .03em; }
.hero-footnote p span { color: var(--muted); font-size: 11px; }
.hero-footnote > a { display: inline-flex; align-items: center; gap: 30px; min-height: 44px; color: #4a4d45; font-size: 11px; white-space: nowrap; }
.hero-footnote > a:hover { color: var(--red); }
.hero-footnote > a span { font-size: 20px; }
.section { padding: 110px var(--gutter); scroll-margin-top: 0; }
.section-light { background: var(--white); }
.section-kicker, .dialog-kicker { color: var(--red); font-size: 12px; font-weight: 600; letter-spacing: .13em; }
.section-kicker::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 12px; vertical-align: middle; background: currentColor; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 100px; }
.section h2 { margin-top: 20px; font-size: clamp(30px, 3.05vw, 42px); font-weight: 550; line-height: 1.5; letter-spacing: -.035em; text-wrap: pretty; }
.section-heading > p { padding-bottom: 4px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 60px; }
.principle-card { position: relative; padding: 26px 0 0; border-top: 1px solid var(--line); }
.principle-card > span { color: var(--red); font-size: 12px; font-variant-numeric: tabular-nums; }
.principle-card h3 { margin-top: 21px; font-size: 21px; font-weight: 550; }
.principle-card p { margin-top: 11px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.product-section { background: var(--night); color: #f9f8f2; overflow: hidden; }
.product-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); align-items: center; gap: 65px; }
.product-section .section-kicker { color: #e6a9a8; }
.product-brandline { margin-top: 40px; color: #a8b2a6; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.product-section h2 { margin-top: 10px; font-size: clamp(37px, 3.45vw, 48px); line-height: 1.4; white-space: nowrap; font-weight: 500; letter-spacing: -.03em; }
.product-section h2 span { display: block; margin-top: 2px; color: #f2eeea; font-size: 28px; font-weight: 450; letter-spacing: .1em; }
.product-description { max-width: 400px; margin-top: 22px; color: #c5ccc0; font-size: 15px; line-height: 1.9; }
.product-capabilities { display: grid; gap: 9px; padding: 0; margin: 24px 0 0; list-style: none; }
.product-capabilities li { color: #d2d9cf; font-size: 13px; }
.product-capabilities li::before { content: "↗"; margin-right: 13px; color: #d59396; }
.text-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px; min-height: 44px; margin-top: 28px; border-bottom: 1px solid #9fa99a; color: #f9f8f2; font-size: 12px; }
.text-link:hover { color: #edb0b3; border-color: #edb0b3; }
.product-shot { padding: 10px; border: 1px solid #62685f; border-radius: 10px; background: #f4f4f0; box-shadow: 0 24px 50px #090e0933; transform: perspective(1800px) rotateY(-5deg) rotateX(2deg); }
.product-window { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 8px 12px; color: #777a73; font-size: 9px; }
.product-window > span:first-child { display: flex; gap: 4px; }
.product-window i { display: block; width: 5px; height: 5px; border-radius: 100%; background: #c8ccc4; }
.product-window i:first-child { background: #bf8c8b; }
.product-shot img { width: 100%; border-radius: 3px; }
.team-section { background: #eeeae3; }
.team-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 110px; align-items: center; }
.founder-photo { position: relative; overflow: hidden; width: 100%; max-width: 370px; aspect-ratio: 4 / 5; background: #d5d1c6; border-radius: 3px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; }
.team-copy h2 { max-width: 580px; }
.founder-title { display: flex; align-items: baseline; gap: 20px; margin-top: 28px; }
.founder-title strong { font-size: 23px; font-weight: 550; }
.founder-title span { color: var(--muted); font-size: 12px; }
.team-copy > p:not(.section-kicker):not(.team-note) { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.team-note { margin-top: 24px; padding: 15px 0 0; border-top: 1px solid #d2cdc3; color: #68695f; font-size: 12px; }
.news-section { background: var(--white); }
.section-heading.compact { align-items: end; }
.news-list { margin-top: 44px; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.news-item time { padding-top: 5px; color: var(--red); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.news-item h3 { font-size: 19px; font-weight: 500; line-height: 1.7; }
.news-item p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.connect-section { border-top: 1px solid var(--line); background: var(--paper); }
.connect-heading { max-width: 820px; }
.connect-heading > p:last-child { margin-top: 19px; color: var(--muted); font-size: 15px; }
.connect-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.connect-card { display: flex; flex-direction: column; align-items: start; padding: 28px; min-height: 290px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); transition: border-color .2s, transform .2s; }
.connect-card:hover { transform: translateY(-3px); border-color: #c4b0a9; }
.connect-card > span { color: var(--red); font-size: 11px; letter-spacing: .1em; }
.connect-card h3 { margin-top: 24px; font-size: 19px; font-weight: 550; line-height: 1.6; }
.connect-card p { margin: 12px 0 22px; color: var(--muted); font-size: 13px; }
.connect-card a, .connect-card button { display: inline-flex; align-items: center; margin-top: auto; min-height: 44px; border-bottom: 1px solid #cbc5b9; font-size: 13px; font-weight: 500; }
.connect-card a:hover, .connect-card button:hover { color: var(--red); border-color: var(--red); }
.site-footer { padding: 52px var(--gutter) 26px; background: #eae6de; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand strong { display: block; font-size: 13px; font-weight: 550; }
.footer-brand span { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; align-content: start; color: #5b5e54; font-size: 12px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid #d1cdc3; color: #66675e; font-size: 10px; }
.footer-bottom > span { margin-right: auto; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-bottom a:hover { color: var(--red); }
.contact-dialog { width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.contact-dialog::backdrop { background: #181c18aa; backdrop-filter: blur(5px); }
.contact-card { position: relative; padding: 38px; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #eeebe4; font-size: 25px; line-height: 1; }
.dialog-close:hover { color: var(--red); }
.contact-card h2 { margin-top: 13px; font-size: 32px; font-weight: 550; }
.dialog-summary { margin-top: 10px; color: var(--muted); font-size: 14px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 24px; margin-top: 26px; }
.wechat-qr { width: 100%; max-height: 280px; object-fit: contain; background: white; }
.contact-info { display: grid; gap: 12px; }
.contact-info a { display: grid; gap: 5px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info a:hover strong { color: var(--red); }
.contact-info span { color: var(--muted); font-size: 11px; }
.contact-info strong { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
@media (min-width: 1500px) {
  .hero-grid { min-height: 690px; padding-block: 80px; }
}
@media (max-width: 1150px) {
  .site-header { gap: 24px; }
  .site-nav { gap: 16px; font-size: 12px; }
  .brand img { width: 124px; }
  .header-action { padding-inline: 12px; font-size: 11px; }
  .hero-grid { min-height: 570px; }
  .hero h1 { font-size: 4.05vw; }
  .vision-explanation { font-size: 14px; }
  .section-heading { gap: 50px; }
  .team-layout { gap: 65px; }
  .product-layout { gap: 45px; }
}
@media (max-width: 1040px) {
  .site-header { height: 76px; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 4px; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 76px; left: var(--gutter); right: var(--gutter); display: none; padding: 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); box-shadow: 0 15px 35px #25252214; font-size: 14px; }
  .site-nav[data-open] { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 12px 18px; }
  .site-nav a:hover { background: var(--paper); }
  .hero-grid { padding-block: 42px; min-height: 540px; }
  .hero h1 { font-size: 4.1vw; }
  .art-caption { flex-direction: column; align-items: center; gap: 5px; padding: 0; }
  .section { padding-block: 85px; }
  .product-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 38px; }
  .product-section h2 { font-size: 36px; }
  .connect-grid { gap: 16px; }
  .connect-card { padding: 23px; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; padding-top: 36px; padding-bottom: 28px; }
  .hero-copy { padding: 10px 0 0; }
  .hero h1 { margin-top: 23px; font-size: clamp(29px, 5.8vw, 43px); letter-spacing: -.055em; line-height: 1.58; }
  .vision-explanation { margin-top: 22px; max-width: 620px; font-size: 15px; line-height: 1.95; }
  .vision-explanation strong { margin-bottom: 10px; }
  .hero-actions { margin-top: 25px; }
  .vision-art { width: min(76%, 320px); margin: 0 auto; }
  .art-caption { flex-direction: row; justify-content: center; gap: 22px; margin-top: -18px; font-size: 9px; letter-spacing: .06em; }
  .hero-footnote { padding-block: 18px; }
  .hero-footnote p { display: grid; gap: 4px; }
  .hero-footnote p span { max-width: 310px; font-size: 10px; }
  .hero-footnote > a { gap: 12px; font-size: 10px; }
  .section { padding-block: 68px; }
  .section-heading, .product-layout, .team-layout { grid-template-columns: 1fr; gap: 24px; }
  .section h2 { margin-top: 16px; max-width: 560px; font-size: 31px; line-height: 1.5; }
  .section-heading > p { max-width: 580px; font-size: 14px; }
  .principle-grid { gap: 24px; margin-top: 38px; }
  .principle-card h3 { margin-top: 16px; font-size: 18px; }
  .principle-card p { font-size: 13px; }
  .product-brandline { margin-top: 26px; }
  .product-section h2 { max-width: none; font-size: 40px; }
  .product-section h2 span { display: inline; margin-left: 12px; font-size: 27px; }
  .product-description { max-width: 560px; font-size: 15px; }
  .product-capabilities { display: flex; flex-wrap: wrap; gap: 12px 22px; }
  .product-shot { margin-top: 12px; transform: none; }
  .team-layout { gap: 36px; }
  .founder-photo { max-width: 330px; }
  .news-item { grid-template-columns: 90px minmax(0, 1fr); gap: 22px; padding-block: 25px; }
  .news-item h3 { font-size: 17px; }
  .connect-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .connect-card { min-height: 0; padding: 26px; }
  .connect-card h3 { margin-top: 12px; }
  .connect-card p { margin-bottom: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; }
  .footer-links { max-width: 520px; }
  .footer-bottom { margin-top: 24px; gap: 0 20px; }
  .footer-bottom > span { width: 100%; margin-bottom: 10px; }
}
@media (max-width: 480px) {
  :root { --gutter: 22px; }
  .site-header { height: 70px; gap: 14px; }
  .brand img { width: 125px; }
  .header-action { display: none; }
  .site-nav { top: 70px; }
  .hero-grid { padding-top: 24px; }
  .hero h1 { font-size: clamp(25px, 7.9vw, 36px); }
  .eyebrow { font-size: 10px; gap: 10px; }
  .eyebrow > span:last-child { font-size: 11px; }
  .vision-explanation { font-size: 14px; }
  .hero-actions { gap: 10px; }
  .button { padding-inline: 17px; gap: 18px; font-size: 12px; min-height: 48px; }
  .vision-art { width: min(78%, 295px); margin-top: 0; }
  .art-caption { gap: 16px; font-size: 8px; }
  .hero-footnote { align-items: start; gap: 14px; }
  .hero-footnote strong { font-size: 11px; }
  .hero-footnote p span { max-width: 230px; }
  .hero-footnote > a { gap: 8px; }
  .section { padding-block: 56px; }
  .section h2 { font-size: 28px; }
  .principle-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .principle-card { padding-top: 20px; }
  .principle-card h3 { margin-top: 12px; font-size: 20px; }
  .principle-card p { font-size: 14px; }
  .product-section h2 { font-size: 34px; }
  .product-section h2 span { font-size: 24px; margin-left: 5px; }
  .product-capabilities { display: grid; gap: 8px; }
  .product-shot { padding: 7px; border-radius: 7px; }
  .product-window { padding-inline: 3px; font-size: 8px; }
  .founder-photo { width: 84%; }
  .founder-title { gap: 16px; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-item time { padding: 0; font-size: 12px; }
  .news-list { margin-top: 32px; }
  .connect-card { padding: 24px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { padding: 28px 24px; }
  .contact-card h2 { font-size: 28px; }
  .contact-layout { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .wechat-qr { max-height: 230px; }
  .contact-info { gap: 0; }
  .contact-info a { padding-block: 11px; }
}
@media (max-width: 350px) {
  :root { --gutter: 18px; }
  .button { padding-inline: 13px; gap: 13px; }
  .product-section h2 { font-size: 29px; }
  .product-section h2 span { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
