@font-face {
  font-family: "Smiley Sans";
  src: url("assets/fonts/smiley-sans-display.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --paper: #fdfdfd;
  --milk: #f3f6f7;
  --navy: #0a2a51;
  --ink: #0e203e;
  --steel: #536879;
  --cyan: #7ce4ef;
  --line: rgba(10, 42, 81, 0.18);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body::selection { background: var(--cyan); color: var(--navy); }
a { color: inherit; text-underline-offset: 0.25em; }
img { display: block; width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--milk); }
::-webkit-scrollbar-thumb { background: var(--navy); border: 2px solid var(--milk); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  background: var(--navy);
  color: white;
  padding: 10px 16px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4.5vw, 72px);
  background: rgba(253, 253, 253, 0.96);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; color: var(--navy); flex: none; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-family: "Smiley Sans", sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 0.03em; }
.brand small { margin-top: 4px; color: var(--steel); font-size: 9px; letter-spacing: 0.2em; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.site-nav a { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--ink); font-size: 14px; text-decoration: none; }
.site-nav a:hover { color: #126070; }
.site-nav .nav-cta { padding: 10px 22px; background: var(--navy); color: white; }
.site-nav .nav-cta:hover { background: #123e70; color: white; }
.menu-toggle { display: none; }

main { overflow: hidden; }
.hero { min-height: calc(100svh - 74px); padding: clamp(50px, 6vw, 82px) clamp(20px, 4.5vw, 72px) 0; }
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
h1, h2, h3 { margin: 0; font-family: "Smiley Sans", sans-serif; font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h1 { max-width: 11em; color: var(--navy); font-size: clamp(3.25rem, 5.55vw, 5rem); }
.hero-copy > p { max-width: 37em; margin: 26px 0 34px; color: #42536a; font-size: clamp(17px, 1.4vw, 20px); }
.primary-action {
  display: inline-flex;
  min-width: 260px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 12px 18px;
  background: var(--navy);
  color: white;
  text-decoration: none;
}
.primary-action:hover { background: #123e70; }
.hero > .primary-action { margin-top: 0; }
.hero-mechanism { position: relative; margin: clamp(28px, 3.4vw, 48px) calc(clamp(20px, 4.5vw, 72px) * -1) 0; background: var(--navy); overflow: hidden; }
.hero-mechanism img { height: clamp(360px, 45svh, 500px); object-fit: cover; }
.hero-mechanism figcaption { position: absolute; right: clamp(20px, 4.5vw, 72px); bottom: 18px; color: white; font-size: 12px; letter-spacing: 0.18em; }
.flow-line { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--cyan); }
.motion-ready .flow-line { width: 0; }
.motion-ready .hero-mechanism.flow-active .flow-line { animation: line-flow 1.15s cubic-bezier(.16, 1, .3, 1) 180ms forwards; }
@keyframes line-flow { to { width: 100%; } }

.company-band { display: grid; grid-template-columns: 1.15fr .75fr .72fr; max-width: var(--max); margin: 0 auto; border-bottom: 1px solid var(--line); }
.company-statement { padding: clamp(72px, 8vw, 124px) clamp(20px, 5vw, 84px); }
.company-statement h2, .section-heading h2, .manufacturing h2, .quality-section h2, .development h2, .contact h2 { color: var(--navy); font-size: clamp(2.25rem, 4vw, 4rem); }
.company-statement p, .section-heading p { max-width: 42em; margin: 26px 0 0; color: #526176; }
.batch-figure { margin: 0; min-height: 100%; overflow: hidden; }
.batch-figure img { height: 100%; object-fit: cover; }
.location-ledger { margin: 0; padding: clamp(72px, 8vw, 124px) clamp(20px, 4vw, 60px); background: var(--navy); color: white; }
.location-ledger div { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.location-ledger div:first-child { padding-top: 0; }
.location-ledger dt { color: #b9d9e1; font-size: 12px; letter-spacing: .14em; }
.location-ledger dd { margin: 5px 0 0; font-size: 17px; }

.products { max-width: var(--max); margin: 0 auto; padding: clamp(82px, 10vw, 150px) clamp(20px, 5vw, 84px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 8vw; align-items: end; }
.package-family { margin: 64px 0 0; height: clamp(260px, 34vw, 500px); overflow: hidden; }
.package-family img { height: 100%; object-fit: cover; object-position: center 58%; }
.product-row { display: grid; grid-template-columns: .78fr 1.22fr; align-items: stretch; border-bottom: 1px solid var(--line); }
.product-row-reverse { grid-template-columns: 1.22fr .78fr; }
.product-row-reverse .product-copy { order: 2; }
.product-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 7vw, 100px) clamp(24px, 6vw, 86px) clamp(44px, 7vw, 100px) 0; }
.product-row-reverse .product-copy { padding-right: 0; padding-left: clamp(24px, 6vw, 86px); }
.product-copy h3 { color: var(--navy); font-size: clamp(2.25rem, 3.5vw, 3.75rem); }
.product-copy p { max-width: 37em; margin: 22px 0 34px; color: #526176; }
.product-copy a, .text-link { display: inline-flex; min-height: 44px; align-items: center; align-self: flex-start; color: var(--navy); font-weight: 700; text-decoration-thickness: 1px; }
.product-row figure { margin: 0; min-height: 420px; overflow: hidden; }
.product-row img { height: 100%; object-fit: cover; }

.manufacturing { display: grid; grid-template-columns: .84fr 1.16fr; background: var(--navy); color: white; }
.manufacturing-copy { padding: clamp(78px, 9vw, 136px) clamp(20px, 5vw, 84px); }
.manufacturing h2 { color: white; }
.manufacturing-copy > p { max-width: 37em; margin: 28px 0 50px; color: #c9d7e3; }
.manufacturing ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.manufacturing li { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.manufacturing li span { color: #a9ccd7; font-size: 13px; }
.manufacturing li strong { font-weight: 500; }
.manufacturing figure { margin: 0; min-height: 620px; }
.manufacturing img { height: 100%; object-fit: cover; }

.quality-section { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(84px, 10vw, 156px) clamp(20px, 5vw, 84px); }
.quality-section figure { margin: 0; height: clamp(380px, 47vw, 680px); }
.quality-section img { height: 100%; object-fit: cover; }
.quality-section > div { padding-left: clamp(36px, 7vw, 110px); }
.quality-section p { max-width: 34em; margin: 28px 0 34px; color: #526176; }

.development { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--milk); }
.development-copy { padding: clamp(76px, 9vw, 136px) clamp(20px, 5vw, 84px); }
.development-copy > p { max-width: 42em; margin: 28px 0 54px; color: #526176; }
.project-timeline { margin: 0; border-top: 1px solid var(--line); }
.project-timeline div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.project-timeline dt { color: var(--navy); font-family: "Smiley Sans", sans-serif; font-size: 26px; font-variant-numeric: tabular-nums; }
.project-timeline dd { margin: 2px 0 0; color: #526176; }
.development figure { margin: 0; min-height: 620px; }
.development img { height: 100%; object-fit: cover; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 150px); max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 170px) clamp(20px, 5vw, 84px); }
.contact-intro > p { max-width: 33em; margin: 28px 0 0; color: #526176; }
.contact-place { padding-top: 30px; border-top: 1px solid var(--line); }
#inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px; align-content: start; }
#inquiry-form label { display: grid; gap: 8px; color: var(--steel); font-size: 13px; }
#inquiry-form input, #inquiry-form textarea { width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; background: transparent; color: var(--ink); padding: 10px 0; resize: vertical; }
#inquiry-form input:focus, #inquiry-form textarea:focus { border-bottom-color: #0d8792; box-shadow: 0 2px 0 #0d8792; }
.full-field { grid-column: 1 / -1; }
#inquiry-form button { grid-column: 1 / -1; display: flex; justify-content: space-between; min-height: 56px; padding: 14px 18px; border: 0; border-radius: 0; background: var(--navy); color: white; cursor: pointer; }
#inquiry-form button:hover { background: #123e70; }
#inquiry-form button:disabled { background: #596d83; cursor: wait; }
.form-status { grid-column: 1 / -1; min-height: 28px; margin: -16px 0 0; color: #8b2f2f; font-size: 14px; }

footer { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 32px; min-height: 130px; padding: 28px clamp(20px, 4.5vw, 72px); background: var(--navy); color: white; }
footer .brand-mark { color: white; }
footer .brand small { color: #b9d9e1; }
footer p { margin: 0; font-size: 12px; color: #c9d7e3; }

@media (max-width: 980px) {
  .site-header { min-height: 68px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
  .menu-toggle i, .menu-toggle i::before { display: block; width: 24px; height: 1px; background: currentColor; content: ""; transition: transform .2s ease; }
  .menu-toggle i::before { transform: translateY(7px); }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::before { transform: rotate(-90deg); }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; align-items: stretch; padding: 18px 20px 26px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: grid; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { justify-content: center; margin-top: 10px; border: 0; }
  .hero { min-height: auto; padding-top: 76px; }
  .company-band { grid-template-columns: 1fr 1fr; }
  .company-statement { grid-column: 1 / -1; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .manufacturing, .development { grid-template-columns: 1fr; }
  .manufacturing figure, .development figure { min-height: 440px; }
  .contact { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 68px; }
  body { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand strong { font-size: 18px; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(3rem, 13vw, 3.25rem); }
  .hero-copy > p { margin-top: 20px; }
  .primary-action { width: 100%; min-width: 0; }
  .hero-mechanism { margin-top: 38px; }
  .hero-mechanism img { height: clamp(270px, 45svh, 380px); min-height: 270px; object-position: center; }
  .hero-mechanism figcaption { left: 20px; right: auto; bottom: 12px; }
  .company-band { grid-template-columns: 1fr; }
  .company-statement { grid-column: auto; padding-top: 76px; padding-bottom: 76px; }
  .batch-figure { height: 330px; }
  .location-ledger { padding-top: 60px; padding-bottom: 60px; }
  .products { padding-top: 84px; padding-bottom: 90px; }
  .package-family { margin-top: 42px; height: 300px; }
  .product-row, .product-row-reverse { grid-template-columns: 1fr; }
  .product-row-reverse .product-copy { order: initial; }
  .product-copy, .product-row-reverse .product-copy { padding: 58px 0 42px; }
  .product-row figure { min-height: 300px; }
  .manufacturing-copy, .development-copy { padding-top: 78px; padding-bottom: 78px; }
  .manufacturing figure, .development figure { min-height: 320px; }
  .manufacturing li { grid-template-columns: 94px 1fr; }
  .quality-section { grid-template-columns: 1fr; }
  .quality-section figure { height: 350px; }
  .quality-section > div { padding: 54px 0 0; }
  .project-timeline div { grid-template-columns: 105px 1fr; gap: 16px; }
  .contact { gap: 58px; }
  #inquiry-form { grid-template-columns: 1fr; }
  .full-field, #inquiry-form button, .form-status { grid-column: auto; }
  footer { grid-template-columns: 1fr; align-items: start; gap: 14px; padding-top: 46px; padding-bottom: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .flow-line { width: 100%; }
}
