/* ============================================================
   KOUZO 果碩國際設計行銷 — v3
   Bold brand-colour system: saturated Kouzo green, serif headlines,
   pill buttons, organic blob-masked images, pinned scroll-driven hero.
   ============================================================ */

:root {
  --brand: #1b1e23;      /* ink graphite — main dark surface */
  --brand-2: #262a30;
  --deep: #111317;
  --lime: #8dc63f;
  --lime-2: #c9c3b5;     /* warm stone-grey for labels on dark */
  --mint: #e9e5db;       /* warm stone */
  --paper: #f6f4ef;      /* warm ivory */
  --ink: #15171a;
  --ink-2: #55585c;
  --line-d: rgba(21, 23, 26, .16);
  --line-l: rgba(255, 255, 255, .22);

  --serif: 'Source Serif 4', 'Noto Serif TC', Georgia, serif;
  --sans: 'Inclusive Sans', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;

  --pad: clamp(20px, 4vw, 56px);
  --sec: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-padding-top: 90px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
body.lock { overflow: hidden; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }
.u { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.u:hover { text-decoration-color: var(--lime); }

/* ---- Type ---- */
.eyebrow { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.2rem; }
.h-xl { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4.2vw, 4rem); line-height: 1.18; letter-spacing: .01em; margin-bottom: 1.6rem; }
.h-lg { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1.45; }

/* ---- Pills ---- */
.pill { display: inline-flex; align-items: center; gap: .55rem; border-radius: 999px; padding: .55rem 1.05rem; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill--light { background: #fff; color: var(--brand); }
.pill--light:hover { background: var(--lime); color: var(--ink); }
.pill--solid { background: var(--brand); color: #fff; }
.pill--solid:hover { background: var(--lime); color: var(--ink); }
.pill--brand { background: var(--brand); color: #fff; }
.pill--brand:hover { background: var(--ink); }
.pill--lg { padding: .85rem 1.6rem; font-size: 13.5px; }
.pills { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }

/* ---- Header ---- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: flex-start; justify-content: space-between; padding: 18px var(--pad); pointer-events: none; }
.hdr > * { pointer-events: auto; }
.hdr__logo { display: block; border-radius: 999px; padding: 6px 14px; margin: -6px -14px; transition: background .4s var(--ease), padding .4s var(--ease); }
.hdr__logo img { height: 46px; width: auto; transition: height .4s var(--ease); }
.hdr.is-compact .hdr__logo { background: var(--brand); }
.hdr.is-compact .hdr__logo img { height: 34px; }
.hdr__nav { display: flex; gap: clamp(2rem, 4vw, 4.5rem); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hdr__nav li { line-height: 2.1; }
.hdr__nav a { position: relative; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__pills { position: absolute; right: var(--pad); top: 18px; display: flex; gap: .5rem; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hdr.is-compact .hdr__nav { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.hdr.is-compact .hdr__pills { opacity: 1; transform: none; pointer-events: auto; }
.burger { display: inline-grid; gap: 3px; width: 14px; }
.burger i { height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-open .burger i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
@media (max-width: 860px) {
  .hdr__nav { display: none; }
  .hdr__pills { opacity: 1; transform: none; pointer-events: auto; }
  .hdr__logo img { height: 36px; }
  .hdr.is-compact .hdr__logo img { height: 30px; }
  .hdr__pills .pill:last-child { display: none; }
}

/* ---- Menu overlay ---- */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--deep); color: #fff; clip-path: circle(0% at calc(100% - 70px) 40px); transition: clip-path .9s var(--ease-io); visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 70px) 40px); visibility: visible; }
.menu__inner { height: 100%; display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: end; padding: 120px var(--pad) 56px; max-width: 1400px; margin: 0 auto; }
.menu__main a { display: flex; align-items: baseline; gap: 1.2rem; font-family: var(--serif); font-size: clamp(2rem, 5.4vw, 4.4rem); line-height: 1.25; transition: color .3s, padding-left .5s var(--ease); }
.menu__main a span { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--lime); letter-spacing: .1em; }
.menu__main a:hover { color: var(--lime-2); padding-left: .4em; }
.menu__main li { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .menu__main li { opacity: 1; transform: none; }
.menu-open .menu__main li:nth-child(1) { transition-delay: .25s; } .menu-open .menu__main li:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__main li:nth-child(3) { transition-delay: .35s; } .menu-open .menu__main li:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__main li:nth-child(5) { transition-delay: .45s; } .menu-open .menu__main li:nth-child(6) { transition-delay: .5s; }
.menu__side { display: grid; gap: 1rem; justify-items: start; color: rgba(255,255,255,.75); font-size: 15px; }
@media (max-width: 760px) { .menu__inner { grid-template-columns: 1fr; align-content: end; padding-bottom: 40px; } }

/* ============================================================
   HERO — pinned, scroll-driven
   ============================================================ */
.hero { position: relative; height: 420vh; background: var(--brand); }
.hero__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(90% 80% at 0% 100%, rgba(201,195,181,.17), transparent 60%),
  radial-gradient(70% 70% at 100% 0%, rgba(0,0,0,.5), transparent 70%),
  linear-gradient(135deg, #2b2f36 0%, #1d2026 50%, #131519 100%); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, #181b20, #0b0c0f); opacity: var(--p, 0); }
.hero__shapes { position: absolute; left: 50%; top: 50%; width: 150vmax; height: 150vmax; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.shape { transform-box: view-box; transform-origin: 500px 500px; will-change: transform; }
.shape--ring path { fill: var(--lime); }
.shape--ring { mix-blend-mode: screen; opacity: .38; }
.shape--hook path { stroke: var(--lime-2); }
.shape--hook { mix-blend-mode: screen; opacity: .3; }
.shape--dot circle { fill: var(--lime); }
.hero__rule { position: absolute; left: 50%; top: 0; width: 1px; height: 46%; background: var(--line-l); transform-origin: top; transform: scaleY(calc(1 - var(--p, 0) * 4)); }

.stage { position: absolute; inset: 0; padding: 120px var(--pad) clamp(28px, 5vh, 56px); visibility: hidden; }
.stage.is-active { visibility: visible; }
.stage .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.stage .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.stage.is-active .ln > span { transform: none; }
.stage.is-active .ln:nth-child(2) > span { transition-delay: .08s; }
.stage.is-active .ln:nth-child(3) > span { transition-delay: .16s; }
.stage__intro, .stage__pills, .stage__text > *, .stage__media { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.stage.is-active .stage__intro, .stage.is-active .stage__pills, .stage.is-active .stage__text > *, .stage.is-active .stage__media { opacity: 1; transform: none; }
.stage.is-active .stage__pills { transition-delay: .3s; }
.stage.is-active .stage__text > :nth-child(2) { transition-delay: .08s; }
.stage.is-active .stage__text > :nth-child(3) { transition-delay: .16s; }

.stage--intro .stage__intro { position: absolute; left: calc(50% + clamp(24px, 3vw, 48px)); top: 34%; max-width: 21em; font-size: clamp(1.1rem, 1.5vw, 1.45rem); line-height: 1.55; }
.stage__intro a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.stage__intro a:hover { text-decoration-color: var(--lime); }
.stage__title-wrap { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 6vh, 64px); display: flex; align-items: flex-end; gap: clamp(1rem, 3vw, 2.4rem); flex-wrap: wrap; }
.stage__title { font-family: 'Noto Serif TC', var(--serif); font-weight: 500; font-size: clamp(3.2rem, 8.6vw, 8.8rem); line-height: 1.08; letter-spacing: .02em; }
.stage__pills { display: grid; gap: .55rem; margin-bottom: .9em; }

.stage--belief { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 110px); }
.stage__media { justify-self: center; width: min(36vw, 520px); }
.stage--belief .stage__media { transform: translateY(24px) scale(.9) rotate(-4deg); }
.stage--belief.is-active .stage__media { transform: none; transition-duration: 1.2s; }
.stage__text { max-width: 34em; }
.stage__text .eyebrow { color: var(--lime-2); }
.stage__text h2 { font-family: "Noto Serif TC", var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.5vw, 3.5rem); line-height: 1.25; margin-bottom: 1.4rem; }
.stage__text p { font-size: clamp(1rem, 1.2vw, 1.15rem); color: rgba(255,255,255,.86); }

.hero__dots { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.hero__dots li { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); transition: background .3s, transform .3s; }
.hero__dots li.is-active { background: #fff; transform: scale(1.25); }
.hero__hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: calc(1 - var(--p, 0) * 6); }

@media (max-width: 860px) {
  .hero { height: 360vh; }
  .hero__rule { display: none; }
  .stage { padding-top: 96px; }
  .stage--intro .stage__intro { left: var(--pad); right: var(--pad); top: 22%; }
  .stage__title-wrap { flex-direction: column; align-items: flex-start; }
  .stage__pills { display: flex; gap: .55rem; margin: 0; }
  .stage--belief { grid-template-columns: 1fr; align-content: center; gap: 28px; }
  .stage__media { width: min(64vw, 340px); justify-self: start; }
  .hero__dots { top: auto; bottom: 24px; transform: none; grid-auto-flow: column; }
  .hero__hint { display: none; }
}
@media (max-width: 860px) and (max-height: 700px) { .stage__media { width: min(46vw, 240px); } }

/* ---- Blobs (organic image masks) ---- */
.blob { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; animation: morph 14s ease-in-out infinite alternate; isolation: isolate; }
.blob img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
@keyframes morph {
  0%   { border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; }
  50%  { border-radius: 40% 60% 62% 38% / 56% 40% 60% 44%; }
  100% { border-radius: 52% 48% 36% 64% / 38% 62% 42% 58%; }
}
.blob[data-morph] { animation: none; }

/* ---- Sections ---- */
section { position: relative; }
.sec--brand { background: var(--brand); color: #fff; padding: var(--sec) 0; }
.sec--deep { background: var(--deep); color: #fff; padding: var(--sec) 0; }
.sec--paper { background: var(--paper); color: var(--ink); padding: var(--sec) 0; }
.sec--mint { background: var(--mint); color: var(--ink); padding: var(--sec) 0; }
.sec--paper .eyebrow, .sec--mint .eyebrow { color: var(--brand); }
.sec--brand .eyebrow, .sec--deep .eyebrow { color: var(--lime-2); }

/* About */
.about { border-top: 1px solid rgba(255,255,255,.08); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--rev { grid-template-columns: .9fr 1.1fr; margin-top: clamp(80px, 10vw, 150px); }
.split__text p { color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.15vw, 1.1rem); text-align: justify; }
.split__text .h-lg { color: #fff; text-align: left; }
.split__media .blob { width: 100%; max-width: 560px; margin-left: auto; }
.split--rev .split__media .blob { margin: 0 auto 0 0; aspect-ratio: 1 / 1; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(1.6rem, 4vw, 3.6rem); margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-l); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--lime-2); }
.facts dd { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.1; }
@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 2; }
  .split__media .blob { max-width: 420px; margin: 0 auto; }
}

/* Two-column (sticky head + content) */
.two { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.two__head { position: sticky; top: 110px; }
.two__head p { color: var(--ink-2); max-width: 30em; }
.two__head strong { color: var(--ink); font-weight: 700; }
@media (max-width: 960px) { .two { grid-template-columns: 1fr; } .two__head { position: static; } }

/* Process rows (accordion) */
.rows { border-top: 1px solid var(--line-d); }
.row { border-bottom: 1px solid var(--line-d); }
.row__head { width: 100%; display: grid; grid-template-columns: 3.4rem 1fr 32px; align-items: center; gap: 1rem; padding: clamp(1.2rem, 2.4vw, 2rem) 0; text-align: left; color: var(--brand); transition: color .3s; }
.row__head:hover { color: var(--ink); }
.row__num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); }
.row__title { font-family: 'Noto Serif TC', var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 500; letter-spacing: .06em; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; line-height: 1.3; }
.row__title em { font-family: var(--sans); font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.row__icon { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); position: relative; justify-self: end; transition: transform .5s var(--ease), background .3s; }
.row__icon::before, .row__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); }
.row__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.row.is-open .row__icon, .qa[open] .row__icon { transform: rotate(45deg); background: var(--ink); }
.row__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.row__body > p { overflow: hidden; color: var(--ink-2); padding-left: 4.4rem; padding-right: 3rem; }
.row.is-open .row__body { grid-template-rows: 1fr; }
.row.is-open .row__body > p { padding-bottom: 1.8rem; }
@media (max-width: 560px) { .row__body > p { padding-left: 0; padding-right: 0; } .row__head { grid-template-columns: 2.4rem 1fr 28px; } }

/* Works */
.works-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.works-head .h-xl { margin-bottom: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.tab { border-radius: 999px; padding: .6rem 1.1rem; font-size: 13px; font-weight: 700; letter-spacing: .06em; border: 1px solid rgba(255,255,255,.35); color: #fff; transition: background .3s, color .3s, border-color .3s; }
.tab:hover { border-color: #fff; }
.tab.is-active { background: #fff; color: var(--brand); border-color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 64px) clamp(20px, 2.4vw, 36px); }
.grid[hidden] { display: none; }
.tile { position: relative; display: block; cursor: zoom-in; }
.tile__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.06); transition: border-radius .7s var(--ease); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .tile__img { border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; }
.tile:hover .tile__img img { transform: scale(1.06); }
.tile__num { display: block; margin-top: 1.1rem; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--lime-2); }
.tile h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.35; margin: .3rem 0 .4rem; }
.tile p { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.6; }
.tile__arrow { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font-weight: 700; opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s var(--ease); }
.tile:hover .tile__arrow { opacity: 1; transform: none; }
.grid--logo .tile:not(.tile--photo) .tile__img { background: #fff; }
.grid--logo .tile:not(.tile--photo) .tile__img img { object-fit: contain; padding: 12%; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* Services */
.svc { border-top: 1px solid var(--line-d); }
.svc__item { border-bottom: 1px solid var(--line-d); padding: clamp(1.4rem, 2.6vw, 2.2rem) 0; }
.svc__item h3 { font-family: 'Noto Serif TC', var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.2rem); color: var(--brand); display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; letter-spacing: .05em; }
.svc__item h3 em { font-family: var(--sans); font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.svc__item p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.tags li { font-size: 13px; font-weight: 700; color: var(--brand); background: var(--mint); border-radius: 999px; padding: .4rem .95rem; transition: background .3s, color .3s; }
.tags li:hover { background: var(--brand); color: #fff; }

/* FAQ */
.qa-list { border-top: 1px solid var(--line-d); }
.qa { border-bottom: 1px solid var(--line-d); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 3.4rem 1fr 32px; align-items: center; gap: 1rem; padding: 1.4rem 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa__num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); }
.qa__q { font-family: 'Noto Serif TC', var(--serif); font-weight: 500; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--brand); line-height: 1.5; }
.qa p { padding: 0 3rem 1.6rem 4.4rem; color: var(--ink-2); }
@media (max-width: 560px) { .qa p { padding: 0 0 1.4rem; } .qa summary { grid-template-columns: 2.4rem 1fr 28px; } }

/* News */
.news__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; transition: border-radius .7s var(--ease); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img { border-radius: 52% 48% 44% 56% / 46% 52% 48% 54%; }
.card:hover .card__img img { transform: scale(1.05); }
.card time { display: block; margin-top: 1.2rem; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--lime-2); }
.card h3 { font-family: 'Noto Serif TC', var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.8rem); margin: .3rem 0 .5rem; }
.card p { color: rgba(255,255,255,.82); }
@media (max-width: 760px) { .news__grid { grid-template-columns: 1fr; } }

/* Contact */
.info { display: grid; gap: 1.4rem; margin-top: 2.4rem; }
.info dt { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--brand); }
.info dd { font-size: 1.05rem; }
.info__line dd { display: flex; align-items: center; gap: 1rem; color: var(--ink-2); font-size: 14px; }
.info__line img { width: 104px; height: 104px; border-radius: 14px; background: #fff; padding: 6px; box-shadow: 0 0 0 1px var(--line-d); }
.form { background: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 52px); box-shadow: 0 1px 0 var(--line-d); }
.form h3 { font-family: 'Noto Serif TC', var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--brand); }
.form__sub { color: var(--ink-2); font-size: 14px; margin: .3rem 0 1.4rem; }
.field { display: block; border-bottom: 1.5px solid var(--line-d); padding: 1rem 0 .4rem; transition: border-color .3s; }
.field span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); }
.field input, .field textarea { width: 100%; padding: .35rem 0; font-size: 16px; outline: none; resize: vertical; }
.field:focus-within { border-color: var(--brand); }
.field.is-invalid { border-color: #c0392b; }
.form__note { min-height: 1.6em; margin: 1rem 0 .6rem; font-size: 14px; color: var(--ink-2); }
.form__note.is-error { color: #b03222; }
.form__note.is-ok { color: var(--brand); font-weight: 700; }
.map { margin-top: clamp(48px, 6vw, 88px); height: clamp(280px, 34vw, 440px); border-radius: 28px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.85) contrast(1.02); }

/* Footer */
.ftr { background: var(--mint); color: var(--brand); padding-top: clamp(64px, 8vw, 110px); }
.ftr__grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(48px, 6vw, 88px); }
.ftr__brand img { height: 64px; width: auto; }
.ftr__big { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; }
.ftr__big a { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.45; transition: color .3s; }
.ftr__big a:hover { color: var(--ink); }
.ftr__side h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: .6rem; }
.ftr__side li { font-size: 14px; line-height: 1.95; }
.ftr__side .pill { margin-top: 1.4rem; }
.ftr__bar { background: var(--brand); color: rgba(255,255,255,.85); font-size: 12.5px; }
.ftr__bar-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem; }
.ftr__bar a:hover { color: var(--lime-2); }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,16,19,.96); color: #fff; display: flex; align-items: center; justify-content: center; padding: 80px 72px 48px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.lightbox__figure { max-width: 1200px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__figure img { max-height: 76svh; width: auto; max-width: 100%; object-fit: contain; border-radius: 14px; }
.lightbox__figure figcaption { margin-top: 1rem; font-size: 15px; text-align: center; }
.lightbox__close { position: absolute; top: 20px; right: var(--pad); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 1.2rem; font-weight: 700; }
.lightbox__nav:hover { background: var(--lime); color: var(--ink); }
.lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
@media (max-width: 600px) {
  .lightbox { padding: 72px 16px 100px; }
  .lightbox__nav { top: auto; bottom: 28px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); }
}

/* Reveal */
.up { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.up.is-in { opacity: 1; transform: none; }
.no-js .up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .up { opacity: 1; transform: none; }
}

/* Header pills: dark green so they read on both brand-green and light sections */
.hdr__pills .pill--solid { background: var(--deep); }
.hdr__pills .pill--solid:hover { background: var(--lime); color: var(--ink); }
.two__head .h-xl { font-size: clamp(2rem, 3.3vw, 3.3rem); }

/* Logo sits directly on the page (no pill); swaps to the dark logo over light sections */
.hdr__logo, .hdr.is-compact .hdr__logo { background: none; padding: 0; margin: 0; position: relative; }
.hdr__logo img { transition: height .4s var(--ease), opacity .35s var(--ease); }
.hdr__logo .logo-dark { position: absolute; left: 0; top: 0; opacity: 0; }
.hdr.on-light .hdr__logo .logo-light { opacity: 0; }
.hdr.on-light .hdr__logo .logo-dark { opacity: 1; }
.menu-open .hdr__logo .logo-light { opacity: 1; }
.menu-open .hdr__logo .logo-dark { opacity: 0; }

/* All image masks are perfect circles (no organic morphing) */
.blob, .blob[data-morph] { aspect-ratio: 1 / 1 !important; border-radius: 50% !important; animation: none !important; }
.tile:hover .tile__img { border-radius: 32px; }
.card:hover .card__img { border-radius: 36px; }

/* Works section: medium-dark grey (not too deep) */
#our-work.sec--deep { background: #383b40; }
#our-work .tile__img { background: rgba(255,255,255,.08); }
#our-work .tile p { color: rgba(255,255,255,.78); }

/* Logo size +50% (46→69, 34→51; mobile 36→54, 30→45) */
.hdr__logo img { height: 69px; }
.hdr.is-compact .hdr__logo img { height: 51px; }
@media (max-width: 860px) {
  .hdr__logo img { height: 54px; }
  .hdr.is-compact .hdr__logo img { height: 45px; }
}

/* ============================================================
   Premium palette (2026-11): ink graphite + warm ivory + stone,
   Kouzo lime kept only as a single spot accent.
   The previous green version is saved as css/style-green-backup.css
   ============================================================ */
.shape--ring path { fill: #ffffff; }
.shape--ring { mix-blend-mode: normal; opacity: .055; }
.shape--hook path { stroke: #c9c3b5; }
.shape--hook { mix-blend-mode: normal; opacity: .1; }
.shape--dot circle { fill: var(--lime); }
.stage__text .eyebrow, .sec--brand .eyebrow, .sec--deep .eyebrow { color: var(--lime); }
.tile__num, .card time, .facts dt { color: var(--lime-2); }
.menu__main a:hover { color: #fff; }
.pill--brand:hover, .pill--solid:hover { background: var(--lime); color: var(--ink); }
.sec--paper .eyebrow, .sec--mint .eyebrow { color: var(--ink-2); }
.row__num, .qa__num { color: var(--ink-2); }
.info dt { color: var(--ink-2); }
.form__note.is-ok { color: #2f7d1e; }
.tags li { background: var(--mint); color: var(--ink); }
.sec--mint .tags li { background: #fff; }
.ftr { color: var(--ink); }
.ftr__big a:hover { color: var(--ink-2); }
