/* ============================================================
   Arc · 萌想坞唔（上海）科技有限公司 — 官网样式
   克制的高级感：暖白底 · 墨黑文字 · 暮紫强调 · 细线分隔
   ============================================================ */

:root {
  /* 色板 */
  --bg:        #F7F5F2;   /* 暖白 / 象牙 */
  --bg-deep:   #EFEBE4;   /* 浅区块 */
  --ink:       #141311;   /* 墨黑 */
  --ink-2:     #4A463F;   /* 正文 */
  --ink-3:     #8A857C;   /* 辅助文字 */
  --line:      #E5E1DA;   /* 细分隔线 */
  --dark:      #10131A;   /* 深蓝黑 */
  --dark-2:    #161A26;   /* 深区块抬升（带蓝调） */
  --dark-line: rgba(255,255,255,.09);
  --accent:    #2E5AA8;   /* 品牌深蓝（呼应酒韵天成 Logo） */
  --accent-deep: #1F4172;
  --accent-soft: #6C9BE0; /* 深底上的亮蓝 */
  --gold:      #A98B5F;   /* 低饱和金铜 */
  --ivory:     #F4F1EC;   /* 深底文字 */

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "STSong", SimSun, Georgia, serif;
  --font-sans:  Inter, "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;

  /* 度量 */
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 36px);
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(107,75,163,.18); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  padding: 10px 18px; background: var(--dark); color: var(--ivory);
  font-size: 13px; transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- 通用排版 ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .32em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-dark { color: var(--gold); }

.section { padding: clamp(84px, 11vw, 148px) 0; scroll-margin-top: var(--header-h); position: relative; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head-note { max-width: 400px; font-size: 14.5px; color: var(--ink-3); }

h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3;
  letter-spacing: .01em; color: var(--ink);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 34px; font-size: 14px; font-weight: 500;
  letter-spacing: .14em; border-radius: 2px;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn-primary { background: var(--accent); color: #F8F6F2; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid rgba(244,241,236,.32); color: var(--ivory);
}
.btn-ghost:hover { border-color: var(--ivory); background: rgba(255,255,255,.05); transform: translateY(-1px); }

/* ============================================================
   顶栏
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--ivory);
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247,245,242,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: transparent; overflow: hidden;
}
.brand-mark img { width: 40px; height: 40px; object-fit: contain; }
.brand-mark svg { width: 19px; height: 19px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 21px; letter-spacing: .02em; color: inherit; }
.brand-sub { font-size: 10.5px; letter-spacing: .12em; color: inherit; opacity: .62; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  position: relative; font-size: 14px; letter-spacing: .08em; color: inherit; opacity: .82;
  padding: 8px 0; transition: opacity .25s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover { opacity: 1; }
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav .nav-cta {
  padding: 9px 22px; border: 1px solid currentColor; border-radius: 2px; opacity: 1;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #F8F6F2; }

.nav-toggle {
  display: none; width: 42px; height: 42px; position: relative; z-index: 130;
}
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 1.6px; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(16,16,16,.45);
  opacity: 0; transition: opacity .3s var(--ease);
}
.nav-backdrop.is-open { opacity: 1; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--dark);
  color: var(--ivory);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden; overflow-x: clip;
  padding-top: var(--header-h);
}

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(130% 105% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(130% 105% at 50% 0%, #000 30%, transparent 78%);
}
.hero-grid-dark { opacity: .55; }

.hero-noise {
  position: absolute; inset: 0; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute; top: 6%; right: -6%; width: min(680px, 60vw); height: min(680px, 60vw);
  pointer-events: none;
  background: radial-gradient(circle, rgba(44,90,168,.30), transparent 64%);
}

.hero-inner {
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 40px; padding-bottom: 60px;
  max-width: calc(var(--container) + var(--gutter) * 2);
}

.hero-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(40px, 6.4vw, 74px);
  line-height: 1.16; letter-spacing: .015em;
  color: var(--ivory); margin-bottom: 30px;
}
.hero-title .hl { color: var(--accent-soft); font-style: italic; }

.hero-sub {
  max-width: 620px; font-size: 16.5px; line-height: 1.95;
  color: rgba(244,241,236,.68); margin-bottom: 46px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.hero-foot {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 34px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px; letter-spacing: .05em; color: rgba(244,241,236,.52);
}

/* ============================================================
   关于我们
   ============================================================ */
.about { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(48px, 7vw, 100px); align-items: start;
}
.about-intro p:not(.eyebrow) { margin-top: 22px; max-width: 58ch; color: var(--ink-2); }
.about-intro h2 { margin-bottom: 8px; }

.about-principles {
  border-top: 1px solid var(--line);
}
.principle {
  display: grid; grid-template-columns: 52px 1fr;
  column-gap: 18px; row-gap: 6px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
}
.principle-idx {
  grid-row: 1 / 3;
  font-family: var(--font-serif); font-size: 15px; letter-spacing: .1em;
  color: var(--accent); padding-top: 2px;
}
.principle-label {
  font-family: var(--font-serif); font-weight: 600; font-size: 17px;
  color: var(--ink); letter-spacing: .08em;
}
.principle-desc { font-size: 13.5px; color: var(--ink-3); }

/* ============================================================
   业务领域
   ============================================================ */
.business { background: var(--bg-deep); }

.biz-list { border-top: 1px solid var(--line); }
.biz-item {
  display: grid; grid-template-columns: 64px 1.15fr 1.35fr auto;
  align-items: center; gap: 28px;
  padding: 32px 4px; border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.biz-item:hover { padding-left: 18px; }
.biz-idx {
  font-family: var(--font-serif); font-size: 17px; letter-spacing: .1em;
  color: var(--ink-3);
}
.biz-title {
  font-family: var(--font-serif); font-weight: 600; font-size: 22px;
  color: var(--ink); letter-spacing: .02em;
  transition: color .3s var(--ease);
}
.biz-item:hover .biz-title { color: var(--accent); }
.biz-desc { font-size: 14.5px; color: var(--ink-3); max-width: 52ch; }
.biz-arrow {
  color: var(--ink-3); opacity: .45;
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.biz-arrow svg { width: 22px; height: 22px; }
.biz-item:hover .biz-arrow { opacity: 1; color: var(--accent); transform: translateX(6px); }

/* ============================================================
   企业文化（深色宣言区）
   ============================================================ */
.vision {
  background: var(--dark); color: var(--ivory);
  overflow: hidden; text-align: center;
}
.vision .hero-noise { opacity: .04; }
.vision .hero-glow {
  left: 50%; right: auto; top: -18%;
  transform: translateX(-50%);
  width: min(880px, 90vw); height: min(880px, 90vw);
  opacity: .9;
}

.vision-inner { position: relative; }

.vision .eyebrow { justify-content: center; }
.vision .eyebrow::before { display: none; }

.vision-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.28; letter-spacing: .03em;
  color: var(--ivory);
}
.vision-title .hl { color: var(--accent-soft); }

.vision-sub {
  margin-top: 30px;
  font-family: var(--font-serif); font-size: clamp(19px, 2.6vw, 27px);
  letter-spacing: .16em; color: rgba(244,241,236,.82);
}

.vision-line {
  width: 56px; height: 1px; margin: 44px auto;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}

.vision-note {
  max-width: 560px; margin: 0 auto;
  font-size: 15px; line-height: 2; color: rgba(244,241,236,.55);
}

/* ============================================================
   联系我们
   ============================================================ */
.contact { background: var(--bg); }

.contact-list { border-top: 1px solid var(--line); }
.contact-item {
  display: grid; grid-template-columns: 44px 130px 1fr;
  align-items: center; gap: 20px;
  padding: 30px 4px; border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.contact-item:hover { padding-left: 16px; }
.contact-icon { color: var(--accent); }
.contact-icon svg { width: 21px; height: 21px; }
.contact-label { font-size: 13px; letter-spacing: .2em; color: var(--ink-3); }
.contact-value { font-size: 16px; color: var(--ink); }
.contact-value a {
  border-bottom: 1px solid rgba(20,19,17,.28);
  transition: border-color .25s, color .25s;
}
.contact-value a:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: var(--dark); color: rgba(244,241,236,.6); padding: 84px 0 34px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.brand-footer { color: var(--ivory); }
.footer-tagline { margin-top: 22px; font-size: 13.5px; letter-spacing: .08em; color: rgba(244,241,236,.45); max-width: 30ch; }

.footer-h {
  font-family: var(--font-serif); font-size: 15px; font-weight: 600;
  letter-spacing: .22em; color: var(--ivory); margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 13px; }
.footer-links a, .footer-links li { font-size: 14px; color: rgba(244,241,236,.55); transition: color .25s; }
.footer-links a:hover { color: var(--accent-soft); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-top: 28px;
  font-size: 12.5px; letter-spacing: .06em; color: rgba(244,241,236,.4);
}

/* ============================================================
   入场动效（仅 .js 启用）
   ============================================================ */
.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in-view { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
    width: min(320px, 86vw);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 6px; padding: calc(var(--header-h) + 18px) 34px 40px;
    background: #14130F; color: var(--ivory);
    transform: translateX(102%);
    transition: transform .35s var(--ease);
    box-shadow: -30px 0 70px rgba(0,0,0,.4);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a {
    font-size: 19px; font-family: var(--font-serif); padding: 12px 0;
    opacity: 1; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .site-nav .nav-cta { border: 0; padding: 12px 0; font-family: inherit; }
  .site-nav .nav-cta:hover { background: none; color: var(--accent-soft); }
  .site-header.scrolled { background: rgba(247,245,242,.97); }

  .hero-title { font-size: clamp(34px, 9.6vw, 46px); }
  .hero-sub { font-size: 15px; }
  .hero-foot { gap: 8px 0; flex-direction: column; align-items: flex-start; }

  .biz-item {
    grid-template-columns: 44px 1fr auto;
    row-gap: 10px; padding: 26px 2px;
  }
  .biz-desc { grid-column: 2 / -1; }

  .contact-item {
    grid-template-columns: 40px 1fr;
    row-gap: 8px; padding: 26px 2px;
  }
  .contact-label { grid-column: 2; }
  .contact-value { grid-column: 2; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   动效降级
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
