:root {
  --ink: #112a2d;
  --night: #071e24;
  --paper: #f4f7f4;
  --muted: #496065;
  --line: #c9d5d1;
  --mint: #a0f2d8;
  --teal: #006855;
  --width: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.75 "Inter", "PingFang TC", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.17; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.wrap { width: min(var(--width), 88%); margin-inline: auto; }
.skip { position: absolute; z-index: 5; padding: .65rem 1rem; background: var(--paper); transform: translateY(-120%); }
.skip:focus { transform: none; }
.mast { background: var(--night); color: white; border-bottom: 1px solid #304248; }
.mast-inner, .brand, .mast nav, .links, .foot-inner { display: flex; align-items: center; }
.mast-inner, .foot-inner { justify-content: space-between; gap: 1rem; }
.mast-inner { min-height: 74px; }
.brand { gap: .7rem; font-weight: 720; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 7px; }
.mast nav, .links { gap: clamp(.8rem, 3vw, 2.5rem); }
.mast nav a, .links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.mast nav a { position: relative; font-size: .94rem; }
.mast nav a::after {
  content: ""; position: absolute; inset: auto 0 5px; height: 2px; background: var(--mint);
  transform: scaleX(0); transform-origin: left;
}
.mast nav a:is(:hover, :focus-visible, [aria-current])::after { transform: scaleX(1); }
.feature { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: white; }
.feature-photo {
  position: absolute; inset: 0; z-index: -2;
  background: url("cinema-camera.webp") 65% 50% / cover no-repeat;
}
.feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, #05191fed 0%, #05191fa8 32%, transparent 70%),
              linear-gradient(0deg, #06191ee6 0%, transparent 25%);
}
.feature-inner { display: grid; align-content: center; min-height: clamp(370px, 36vw, 550px); padding-block: clamp(3rem, 5vw, 5rem); }
.feature-copy { max-width: 39rem; }
.eyebrow { display: flex; gap: .75rem; align-items: center; color: var(--mint); font-size: .9rem; letter-spacing: .09em; font-weight: 600; }
.rule { width: 2rem; height: 2px; background: currentColor; }
.feature .company-name {
  margin-top: .8rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -.035em;
}
.company-name span {
  display: block; margin-top: .3rem;
  font-size: .57em; letter-spacing: .025em; color: var(--mint);
}
.intro { max-width: 24em; margin: 1rem 0 1.5rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: #e5efeb; }
.button { display: inline-flex; align-items: center; min-height: 46px; padding: .5rem 1.3rem; color: var(--night); background: var(--mint); text-decoration: none; font-weight: 700; border-radius: 4px; }
.button:hover { background: #ceffed; }
.button:focus-visible { outline-color: white; }
.company-grid, .contact-inner, .article-layout { display: grid; gap: clamp(2rem, 7vw, 7rem); }
.company-grid { grid-template-columns: 1.1fr .9fr; padding-block: clamp(3rem, 5vw, 5.5rem); }
.company h2, .contact h2 { font-size: clamp(1.85rem, 3.2vw, 3.2rem); letter-spacing: -.035em; }
.company p, .contact p, .prose p { color: var(--muted); }
.company p { max-width: 36em; margin-top: 1.2rem; font-size: 1.06rem; }
.company .product-label { margin: 0 0 .55rem; }
.company .product-label, .directory h2, .contents > span { font-size: .9rem; font-weight: 650; color: var(--teal); letter-spacing: .09em; margin-bottom: .55rem; }
.directory a {
  display: flex; align-items: center; justify-content: space-between; padding-block: .65rem;
  min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600;
}
.directory a::after { content: ""; width: 7px; height: 7px; border: solid var(--teal); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin-right: .35rem; }
.directory a:hover, .links a:hover, .contents a:hover, .prose a { color: var(--teal); }
.contact { background: #e3ece7; border-block: 1px solid var(--line); }
.contact-inner { grid-template-columns: 1fr 2fr; align-items: center; padding-block: 2.3rem; }
.contact p { max-width: 38em; }
.foot-inner { padding-block: 1.2rem; flex-wrap: wrap; font-size: .94rem; color: var(--muted); }
.article-head { background: var(--night); color: white; padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.article-head h1 { margin-block: .65rem 1rem; font-size: clamp(2.8rem, 5.2vw, 5rem); letter-spacing: -.045em; }
.lead { max-width: 36em; color: #d4e6e0; }
.article-layout { grid-template-columns: minmax(150px, .36fr) 1fr; padding-block: clamp(2rem, 5vw, 5rem); }
.contents { align-self: start; position: sticky; top: 1.5rem; }
.contents > span { display: block; }
.contents a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; }
.prose { max-width: 44em; }
.prose section { border-bottom: 1px solid var(--line); padding: 0 0 1.5rem; margin: 0 0 1.5rem; }
.prose p + p { margin-top: .85rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: .7rem; }
@media (max-width: 700px) {
  .wrap { width: 90%; }
  .mast-inner { min-height: 64px; }
  .mast nav { gap: .75rem; }
  .brand { gap: .5rem; }
  .brand img { width: 34px; height: 34px; }
  .feature-inner { min-height: 435px; padding-top: 3rem; }
  .feature-photo { background-position: 68% center; }
  .feature::after { background: linear-gradient(90deg,#041a20ef,#041a2099 65%,#041a2040),linear-gradient(0deg,#041a20d9,transparent 35%); }
  .feature .company-name { font-size: clamp(3rem, 12vw, 5rem); }
  .intro { max-width: 18em; }
  .company-grid, .contact-inner, .article-layout { grid-template-columns: 1fr; }
  .contact-inner { gap: 1rem; }
  .contents { position: static; display: flex; flex-wrap: wrap; column-gap: .9rem; }
  .contents > span { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .brand span { display: none; }
  .mast nav { gap: .85rem; }
  .feature-inner { min-height: 385px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .feature-photo { animation: settle-frame 900ms var(--ease) both; }
  .feature-copy, .article-head > .wrap { animation: enter-copy 550ms var(--ease) both; }
  .mast nav a::after, .directory a::after, .button { transition: transform 200ms var(--ease), background-color 200ms ease; }
  .button:hover { transform: translateY(-2px); }
  .button:active { transform: translateY(0); }
  .directory a:hover::after { transform: translateX(3px) rotate(45deg); }
}
@keyframes settle-frame {
  from { transform: scale(1.035); opacity: .75; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes enter-copy {
  from { transform: translateY(10px); opacity: .7; }
  to { transform: translateY(0); opacity: 1; }
}
