:root {
  --teal: #67C3BF;
  --light-teal: #E0F3F2;
  --bg: #FFF;
  /*--text: #F00;#1f1f1f;*/
  --text: #444;
  --large-text-color: #4d4d4d;
  --muted: #555;
  --nav-height: 72px;
  /* --zoom-font-size: 0.7; */
  --zoom-font-size: 0.6; /* 1280 基底使用*/
  --minimal-font-size: 14px;
  --page-section-min-height: 800px;
  --default-line-height: 1.3;

  /* 基礎文字大小 */
  --basic-text-fs: clamp(var(--minimal-font-size), calc(25px * var(--zoom-font-size)), 999px);
  --text-fs: clamp(var(--minimal-font-size), calc(24px * var(--zoom-font-size)), 999px);


  /* 內頁等級1標籤 */
  --section-kicker-fs: calc(58px * var(--zoom-font-size));
  --section-heading1-fs: calc(76px * var(--zoom-font-size));
  --section-highlight1-fs: calc(36px * var(--zoom-font-size));
  --section-description1-fs: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);

  /* 內頁等級2標籤 */
  --section-heading2-fs: calc(38px * var(--zoom-font-size));
  /*--section-description2-fs: clamp(var(--minimal-font-size), calc(25px * var(--zoom-font-size)), 999px);*/


  /* 敘述頁面 */

}

@media screen and (min-width:1601px) {
  :root {
    --zoom-font-size: 0.8;
    --minimal-font-size: 16px;
  }
}

@media screen and (min-width:1281px) and (max-width:1600px) {
  :root {
    --zoom-font-size: 0.7;
    --minimal-font-size: 14px;
  }

}

/* 螢幕區域很矮 */
@media screen and (min-width:1281px)
  and (max-width:1600px)
  and (max-height:800px) {
  :root {
    --zoom-font-size: 0.6;
    --minimal-font-size: 14px;
  }
}

@media screen and (max-width:768px) {
  :root {
    --zoom-font-size: 0.54;
    --minimal-font-size: 14px;
  }
}

.inter-tight-800 {
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

/* 電腦版本css */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Roboto, 'PingFang TC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.hd-title {
  display: none;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-40 {
    margin-top: 40px!important;
    margin-bottom: 40px!important;
}
.text-light {
  font-weight: 200;
}

.d-none {display: none!important;}

.page-container {
  overflow-x: clip;
}

.for-phone {
  display: none;
}

.my-italic {
  display: inline-block;
  transform: skewX(-10deg);
  letter-spacing: -0.01em;
}

.bg-white {
  background-color: #FFF;
}

.section-container.container-wide,
.container-wide {
  width: min(980px, 90vw);
  margin: 0 auto;
}

@media (min-width:1441px) {

  .section-container.container-wide,
  .container-wide {
    width: min(1200px, 90vw);
  }
}

.topbar {
  /* position: sticky; */
  position: fixed;
  width: 100vw;
  width: 100dvw;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
  background: var(--teal);
}
main {
  padding-top: var(--nav-height);
}

.topbar-container {
  display: flex;
  height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}
.brand > * + * { margin-left: 16px; }

.brand-text {
  color: #fff;
  line-height: 1;
}

.brand-name {
  letter-spacing: 0.24em;
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 5px;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  /* gap: 60px; */
}
.nav > * + * {
  margin-left: 60px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  /* font-size: 18px; */
  /* font-size: calc(24px * var(--zoom-font-size)); */
  font-size: clamp(var(--minimal-font-size), calc(24px * var(--zoom-font-size)), 999px);
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.82;
}

.nav-logo {
  display: block;
  width: clamp(200px, 20vw, 300px);
  height: var(--nav-height);
  padding: 14px 0px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: left center;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* .page-container 原本的 overflow-y / scroll-snap 已移除，避免破壞 position: sticky */

.page-view {
  position: relative;
  /* min-height: calc(100svh - var(--nav-height)); */
  height: calc(100svh - var(--nav-height));
  min-height: calc(900px * var(--zoom-font-size));
  scroll-snap-align: start;
  background: var(--bg);
}
#page-1,
#page-2,
#page-3 {
  min-height: max(550px, calc(100lvh - var(--nav-height)));
}
@supports not (height: 100svh) {
  /* 針對不支援 svh 的瀏覽器（如 Safari）提供 fallback */

  .page-view { height: calc(100vh - var(--nav-height)); box-sizing: border-box; }
  /* #page-2 { padding-top: 80px; box-sizing: border-box; } */
}
/* 直向優化 */
@media screen and (max-aspect-ratio: 1) {
  #page-1,#page-2,#page-3 {
    min-height: unset;
  }
}

.hero-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy {
  position: relative;
  vertical-align: top;
}

.social {
  position: absolute;
  /* left: 62%; */
  /* top: -17px; */
  /* left: calc(80% * var(--zoom-font-size)); */
  left: calc(1000px * var(--zoom-font-size));
  top: 0px;
  /* font-size: calc(32px * var(--zoom-font-size)); */
  font-size: clamp(var(--minimal-font-size), calc(32px * var(--zoom-font-size)), 999px);
  letter-spacing: 0.02em;
}

.social sup {
  top: -0.35em;
  position: relative;
}

.social a {
  color: #808080;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.social a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #767676;
  transition: width 0.4s ease;
}

.social a:hover {
  transform: translateY(-3px);
}

.social a:hover::after {
  width: 100%;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: calc(100px * var(--zoom-font-size));
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.045em;
}


.signature-kicker {
  margin: 0;
  color: var(--teal);
  font-size: calc(70px * var(--zoom-font-size));
  font-weight: 300;
  line-height: 1.02;
}

.hero-page .h1 {
  margin: 0;
  color: var(--large-text-color);
  font-size: calc(200px * var(--zoom-font-size));
  font-weight: 900;
  line-height: 0.95;
  margin-left: 3vw;
}

#page-1 .eyebrow {
  padding-top:20px;
}

.signature-heading h2 {
  margin: 0;
  color: var(--large-text-color);
  font-size: calc(100px * var(--zoom-font-size));
  transform: skewX(-10deg);
  font-weight: 800;
  margin-left: 3vw;
}

.intro-card {
  display: flex;
  align-items: stretch;
  /* gap: 50px; */
}
/* gap fallback... old safari flex-gap not work */
.intro-card > * + * {
  margin-left: 50px;
}


.first-intro {
  margin-top: 72px;
  margin-left: 14vw;
}

.intro-line {
  width: 2px;
  background: rgba(35, 35, 35, 0.55);
  flex: 0 0 2px;
}

.intro-content h3 {
  margin: 0 0 26px;
  font-size: calc(38px * var(--zoom-font-size));
  font-weight: 600;
  line-height: var(--default-line-height);
  letter-spacing: 0%;
}

.intro-content p {
  margin: 0 0 22px;
  font-size: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  font-weight: 300;
  line-height: var(--default-line-height);
}

.scroll-indicator {
  position: absolute;
  right: 24px;
  top: calc(100vh - 128px);
  top: calc(100svh - 128px);
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0px;
  background: #4c4c4c;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.scroll-indicator.fixed-btn {
  position: fixed;
}

.scroll-indicator.is-visible {
  opacity: 1;
}

.scroll-indicator img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  pointer-events: none;
}

.signature-page,
.policy-page {
  display: flex;
  align-items: center;
}

.signature-wrap {}

.signature-heading {
  margin-bottom: 72px;
}

.signature-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: center;
  column-gap: 30px;
}

.signature-card {}

.signature-content h3 {}

.signature-mark {
  margin: 0 auto;
  width: calc(120px * var(--zoom-font-size));
  height: calc(120px * var(--zoom-font-size));
}

.journey-left:not(.for-phone) .journey-flower {
  position: relative;
  width: 200px;
  height: 200px;
}

.logo-mark img,
.signature-mark img,
.journey-left:not(.for-phone) .journey-flower img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.for-phone .journey-flower img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.policy-wrap {
  padding-top: 16px;
  position: relative;
}

.policy-top {
  margin-bottom: 100px;
  /*padding-left: 100px;*/
  margin-top: 40px; /* new version */
  padding-left: 60px; /* new version */
}

.policy-title-block {
  display: flex;
  align-items: flex-start;
  /* gap: 36px; */
  position: relative;
}
/* gap fallback... old safari flex-gap not work */
.policy-title-block > * + * {
  margin-left: 36px;
}

.policy-title-lines {
  position: relative;
  color: #474747;
  /*font-size: calc(180px * var(--zoom-font-size));*/
  font-size: calc(100px * var(--zoom-font-size));
  margin-top:40px;
  line-height: 0.84;
  font-weight: 400;
  padding-left: 3vw;
  margin-left: 2vw;
}

.policy-title-lines:before {
  content: "";
  width: 1px;
  background-color: var(--teal);
  position: absolute;
  left: 0px;
  height: 2.7em;
}

.policy-title-lines:after {
  content: "";
  width: 40vw;
  background-color: var(--teal);
  position: absolute;
  right: 0;
  height: 1px;
  bottom: -45px;
}

.policy-title-lines  {

}

.policy-title-lines .bold {
  font-weight: 700;
}

.policy-title-row {
  margin-top: 40px;
  padding-bottom: 40px;
}
.policy-title-row+.policy-title-row {
  margin-top: 18px;
}

.policy-quote {
  font-size: clamp(var(--minimal-font-size), calc(25px * var(--zoom-font-size)), 999px);
  letter-spacing: -0.03em;
  position: absolute;
  right: 0;
  top: 0;
}

.policy-quote p {
  margin: 0 0 20px;
  font-weight: 300;
  line-height: var(--default-line-height);
  max-width: 460px;
}

.policy-quote.reveal-d1 {
  margin-top: 56px;
}
.policy-bottom {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: start;
  /* margin-top: 24px; */
  margin: 0 0 20px;
  font-weight: 300;
  line-height: var(--default-line-height);
}
.policy-left-copy {
  font-size: clamp(var(--minimal-font-size), calc(25px * var(--zoom-font-size)), 999px);
  line-height: var(--default-line-height);
  margin-top: 0px;
  /*margin-top: calc(90px * var(--zoom-font-size));*/
  /* line-height: 1.33; */
}

.policy-left-copy strong {
  font-weight: 800;
}

.policy-right-copy {
  display: flex;
  align-items: center;
  /*margin-left: 100px;*/
  margin-left: auto;
}


.policy-right-copy.for-phone {
  display: none;
}

.policy-arrow {
  display: inline-block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}

.policy-right-text {
  color: var(--teal);
  letter-spacing: -0.055em;
  line-height: 0.92;
  /*max-width: 460px;*/
}

.policy-right-top,
.policy-right-bottom {
  font-size: calc(90px * var(--zoom-font-size));
  font-weight: 300;
}

.policy-right-bottom {
  margin-left: 4vw;
  margin-top: 10px;
  margin-bottom: 50px;
}

.policy-right-top strong,
.policy-right-bottom strong {
  font-weight: 800;
}

.journey-page {
  min-height: calc(max(100vh - var(--nav-height), var(--page-section-min-height)) * 3);
  min-height: calc(max(100svh - var(--nav-height), var(--page-section-min-height)) * 3);
  scroll-snap-align: none;
}

.journey-sticky {
  position: sticky;
  top: 0;
  /* height: max(600px, calc(100svh - var(--nav-height))); */
  /*height: calc(100svh - var(--nav-height));*/
  height: 100vh;
  height: 100svh;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.journey-next-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  top: auto;
  opacity: 1;
}

.scroll-to-top {
  position: absolute;
  right: 24px;
  bottom: 80px;
  top: auto;
  opacity: 0;
}
#scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.journey-stage {
  position: relative;
  display: grid;
  grid-template-columns: calc(160px * var(--zoom-font-size)) minmax(0, 1fr);
  align-items: center;
  min-height: 78vh;
}

.journey-left.for-phone {
  display: none;
}

.journey-left:not(.for-phone) {
  position: relative;
  height: calc(550px * var(--zoom-font-size));
}

.journey-slides {
  position: relative;
  min-height: 520px;
}


.journey-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: calc(500px * var(--zoom-font-size)) minmax(0, 1fr);
  column-gap: 40px;
  align-items: top;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.journey-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.journey-title {
  color: #4c4c4c;
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-style: italic;
}

.journey-title-top,
.journey-title-bottom {
  font-size: calc(100px * var(--zoom-font-size));
  font-weight: 400;
}

.journey-title-bottom {
  font-weight: 800;
}

.journey-copy {
  letter-spacing: -0.035em;
}

.journey-copy h3 {
  margin: 0 0 28px;
  color: var(--teal);
  font-size: calc(38px * var(--zoom-font-size));
  line-height: 1.3;
  font-weight: 600;
}

.journey-copy p {
    margin: 0 0 22px;
    font-size: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
    font-weight: 300;
    line-height: 1.3;
}

/* 觸控裝置：journey 全部展開顯示 */
.is-touch-device #page-4 {
    padding-top: 15vh;
    margin-top: 15vh;
    margin-bottom: 10vh;

    padding-top: 15svh;
    margin-top: 15svh;
    margin-bottom: 10svh;
  }
.is-touch-device .journey-slide[data-step="0"] {
  padding-top:0px;
}
.is-touch-device .journey-page {
  min-height: auto;
  height: auto;
  padding-bottom: 24px;
}

.is-touch-device .journey-sticky {
  position: relative;
  height: auto;
  overflow: visible;
}

.is-touch-device .journey-stage {
  /* grid-template-columns: 1fr 60px; */
  grid-template-columns: 60px 1fr;
  row-gap: 0;
  min-height: auto;
  padding-top: 18px;
}

.is-touch-device .journey-left:not(.for-phone) {
  display: none;
}

.is-touch-device .journey-left.for-phone {
  display: none;
}

.is-touch-device .journey-slides {
  grid-column: 2;
  grid-row: 1;
  min-height: auto;
  display: grid;
  gap: 42px;
  align-self: stretch;
}

.is-touch-device .journey-slide {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 20px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.is-touch-device .journey-copy p {
  margin-bottom: 20px;
}

.is-touch-device .journey-mobile-rail {
    display: block;
    grid-column: 1;
    grid-row: 1;
    position: -webkit-sticky;
    position: sticky;
    height: 30vh;
    height: 30svh;
    top: 40vh;
    top: 40svh;
    align-self: start;
}

/* 手機/觸控版 journey 右側 sticky rail */
.journey-mobile-rail {
  display: none;
}

/* 手機/觸控版 journey 右側 sticky rail — 共用樣式，由 media query 和 .is-touch-device 啟用 */
.journey-mobile-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: rgba(99, 190, 188, 0.95);
  margin-top: 15px;
  margin-bottom: 15px;
}

.journey-mobile-flower {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  z-index: 2;
  transition: top 0.15s ease-out;
}

.journey-mobile-flower img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  position: relative;
}
.journey-mobile-flower:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 1px);
    background-color: #FFF;
    z-index: 0;
}

body.about-page-body {
  overflow: auto;
}

.about-page-body .page-container {
  height: auto;
  overflow: visible;
  scroll-snap-type: none;
}

.about-main {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
}

.about-section {
  position: relative;
}

.about-founder-section {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  /* padding: 30px 0 100px; */
  /*padding: 30px 0 calc(100px * var(--zoom-font-size));*/
  padding: 30px 0px;
}

.about-founder-wrap {
  margin: 0 auto;
}

.about-founder-header {
  padding: 0px 30px 0px 30px;
}

.about-founder-kicker {
  color: var(--teal);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.about-founder-title {
  margin: 4px 0 0;
  color: var(--large-text-color);
  font-style:italic;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.about-founder-card {
  display: flex;
  align-items: stretch;
  gap: 38px;
  margin-top: 16px;
  /* margin-left: 154px; */
  margin-left: calc(154px * var(--zoom-font-size));
  /* max-width: 1180px; */
}

.about-founder-card .intro-line {
  background: rgba(35, 35, 35, 0.5);
}

.about-founder-content {
  flex: 1;
  /* padding-top: 22px; */
  padding-top: 12px;
}

.about-founder-content p {
  /* margin: 0 0 28px;
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: -0.03em;
  color: #141414; */
  margin: 0 0 22px;
  font-size: clamp( var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  font-weight: 300;
  line-height: var(--default-line-height);
}

.about-founder-signoff {
  /* margin-top: 18px;
  text-align: right;
  font-style: italic;
  letter-spacing: -0.03em; */
  text-align: right;


    margin: 0 0 12px;
    /*font-size: calc(40px * var(--zoom-font-size));*/
    font-size: clamp( var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
    font-weight: 300;
    line-height: var(--default-line-height);
    letter-spacing: -0.03em;
    font-style: italic;
}

.about-roster-section {
  padding: 0px 0 90px;
}

.about-roster-wrap {
  /* width: min(1220px, calc(100vw - 160px)); */
  margin: 0 auto;
}

.about-roster-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  /* margin-bottom: 18px; */
  margin: 0 0 28px;
  color: var(--teal);
  font-size: var(--section-heading2-fs);
  line-height: var(--default-line-height);
  font-weight: 500;
}

.about-roster-heading::before,
.about-roster-heading::after {
  content: '';
  width: clamp(100px, 12vw, 260px);
  height: 2px;
  background: var(--teal);
}

.about-roster-heading h2 {
  margin: 0;
  color: var(--teal);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.about-roster-subtitle {
  margin: 0 auto 28px;
  max-width: 860px;
  text-align: center;
  line-height: var(--default-line-height);
  font-size: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);;
  font-weight: 300;
}

.about-roster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* gap: 60px 100px; */
  gap: 60px 30px;
  margin: 0 auto;
  justify-items: center;
  margin-left: 5vw; /* 照片位移 */
}

.about-roster-image-box {
  position: relative;
}

.about-roster-image-box img {
  width: 100%;
  display: block;
}

.roster-card {
  position: relative;
  padding: 0 12px 16px 0;
}

.roster-card::before {
    content: '';
    position: absolute;
    bottom: 0%;
    left: -7%;
    width: 55%;
    height: 90%;
    background-color: var(--light-teal);
    z-index: 0;
    pointer-events: none;
    transition: background-color 0.2s ease;
}
.detail-profile-card.roster-card::before {
    left: 0%;
}

a.roster-card:hover::before {
  background-color: var(--teal);
}

.roster-card .roster-card-photo {
  transition: transform 0.1s ease;
}

a.roster-card:hover .roster-card-photo {
  transform: translatey(-3px);
}

.roster-card-photo {
  position: relative;
  z-index: 1;
  /* overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 300px;
  background: #e8e8e8;
  margin-left: 12px; */
}

.roster-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.roster-card-info {
  position: absolute;
  right: -150px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.roster-card-name {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  padding: 6px 14px 5px;
  line-height: 1.2;
}

.roster-card-title {
  display: block;
  background: #fff;
  color: #222;
  font-weight: 800;
  padding: 4px 14px 3px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: left;
  width: fit-content;
}

.roster-card-title+.roster-card-title {
  margin-left: 2em;
}

.about-roster-top {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: 56px;
  height: 56px;
  border: 0;
  background: #4c4c4c;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.about-roster-top span {
  width: 18px;
  height: 18px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg) translate(2px, 2px);
}

.site-footer {
  background: var(--teal);
  color: #fff;
  padding: 18px 0;
  overflow-x: hidden;
}

.site-footer-inner {
  width: min(1460px, calc(100vw - 160px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer-copy {
  font-weight: 300;
  letter-spacing: 0.03em;
  font-size: clamp(var(--minimal-font-size), calc(20px * var(--zoom-font-size)), 999px);
}


.site-footer-flowers {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer-flowers img {
  width: clamp(20px, calc(40px * var(--zoom-font-size)), 99px);
  height: clamp(20px, calc(40px * var(--zoom-font-size)), 99px);

  object-fit: contain;
  opacity: 0.85;
}

body.detail-page-body {
  overflow: auto;
  background: var(--bg);
}

.roster-card-link {
  text-decoration: none;
  color: inherit;
}

.detail-main {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
}

.detail-profile-section {
  padding: 72px 0 0;
}

.detail-profile-wrap {
  margin: 0 auto;
}

.detail-breadcrumbs {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin: 22px 6px 28px 0;
  color: var(--text);
  font-weight: 300;
}

.detail-breadcrumbs a,
.detail-breadcrumbs span {
  color: var(--text);
}

.detail-breadcrumbs a {
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.detail-breadcrumbs a:hover {
  opacity: 0.8;
}

.detail-profile-grid {
  position: relative;
  display: grid;
  /* grid-template-columns: min(500px, 30vw) 1fr; */
  /* grid-template-columns: 600px 1fr; */
  grid-template-columns: calc(700px * var(--zoom-font-size)) 1fr;
  gap: 4vw;
  align-items: start;
  padding-bottom: 56px;
}

.detail-profile-card.roster-card {
  padding: 0 20px 20px 20px;
  ;
}

.detail-profile-card .roster-card-photo {
  max-width: 100%;
  /* aspect-ratio: 4 / 5; */
}

.detail-profile-card .roster-card-info {
  right: -160px;
  bottom: 40px;
}

.detail-profile-card .roster-card-name {
  padding: 8px 18px 7px;
}

.detail-profile-card .roster-card-title {
  padding: 5px 18px 4px;
  text-align: right;
}

.detail-profile-card:after {
    width: 40px;
    content: "";
    background-image: url(/assets/images/logo.svg);
    height: 40px;
    position: absolute;
    background-size: contain;
    /*right: 0;*/
    right: 20px;
    top: 0;
}

.detail-copy-top {
  display: flex;
  align-items: center;
  gap: 38px;
}

.detail-mini-mark {
  position: absolute;
  /* left: 36vw; */
  left: 30vw;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.detail-mini-mark img {
  width: 42px;
  height: 42px;
}

.detail-summary {
  /* color: #252525; */
  font-size: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  font-style: italic;
  font-weight: 300;
  /* line-height: 1.35; */
  line-height: var(--default-line-height);
  text-align: center;
}

.detail-quote {
  margin: 42px 0 0;
  color: var(--teal);
  font-weight: 300;
  /* line-height: 1.28; */
  line-height: var(--default-line-height);
  font-size: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  text-align: center;
}

.detail-divider {
  width: 50px;
  height: 0.5px;
  background: #3d3d3d;
  margin: 28px auto 34px;
}

.detail-section-copy {
  margin-bottom: 34px;
  max-width: 820px;
}

.detail-section-copy h2 {
  margin: 0 0 6px;
  /* color: #111; */
  font-weight: 800;
  /* line-height: 1.1; */
  line-height: var(--default-line-height);
}

.detail-section-copy p {
  margin: 0;
  font-weight: 300;
  /* line-height: 1.42; */
  line-height: var(--default-line-height);
  /*font-size: var(--text-fs);*/
  font-size: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  /* letter-spacing: -0.03em; */
}

.detail-back-link {
  display: block;
  width: fit-content;
  margin: 26px 0 0 auto;
  color: var(--teal);
  font-size: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  font-weight: 300;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: text-decoration-thickness 0.2s ease, opacity 0.2s ease;
}

.detail-back-link:hover {
  text-decoration-thickness: 3px;
  opacity: 0.8;
}

.detail-footer {
  background: var(--teal);
  padding: 28px 0 24px;
}

.detail-footer-inner {
  width: min(1460px, calc(100vw - 120px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.detail-footer-copy {
  color: #fff;
  font-weight: 400;
}

.detail-footer-marks {
  display: flex;
  align-items: center;
  gap: 18px;
}

.detail-footer-mark {
  width: 36px;
  height: 36px;
}

.detail-footer-mark span {
  border-color: rgba(255, 255, 255, 0.95);
}



.works-page-body {
  background: var(--bg);
  overflow-y: auto;
}

.works-main {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
}

.works-hero-section {
  padding: 92px 0 110px;
}
.works-hero-section .container-wide.cards {
  width: min(1440px, 90vw)
}

.works-wrap {
  margin: 0 auto;
}

.works-heading-block {
  margin-left: 136px;
}

.works-kicker {
  margin: 0;
  color: var(--teal);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.works-title {
  margin: 2px 0 0;
  color: var(--large-text-color);
  font-style: italic;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.works-intro-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 34px;
  margin-left: 285px;
  max-width: 1180px;
}

.works-intro-line {
  width: 2px;
  min-height: 142px;
  background: rgba(35, 35, 35, 0.55);
  flex: 0 0 2px;
}

.works-intro-copy {
  margin: 0;
  max-width: 1080px;
  color: #141414;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.036em;
}

.works-grid {
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 40px;
}

.works-card {
  min-height: 126px;
  background: #C5E8E6;
  /* color: #111; */
  color: var(--basic-text-fs);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 22px 10px;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.works-card-title {
  display: block;
  font-weight: 700;
  /* line-height: 1.18; */
  line-height: var(--default-line-height);
  font-size: clamp( calc(var(--minimal-font-size) + 2px), calc(25px * var(--zoom-font-size)), 999px);
  letter-spacing: -0.03em;
  margin: 0px;
}

.works-card-subtitle {
  display: block;
  margin-top: 8px;
  font-weight: 300;
  /* line-height: 1.2; */
  line-height: var(--default-line-height);
  font-size: clamp( var(--minimal-font-size), calc(20px * var(--zoom-font-size)), 999px);
  /* color: #000; */
}

.works-card.is-active,
.works-card:hover,
.works-card:focus-visible,
.works-card:active,
.works-card.is-touch-active {
  background: #50B9B4;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.works-card.is-active .works-card-subtitle,
.works-card:hover .works-card-subtitle,
.works-card:focus-visible .works-card-subtitle,
.works-card:active .works-card-subtitle,
.works-card.is-touch-active .works-card-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.works-card:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}



.works-detail-page-body {
  background: var(--bg);
  overflow-y: auto;
}

.works-detail-main {
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
}

.works-detail-section {
  padding: 56px 0 12px;
}

.works-detail-wrap {
  width: min(1240px, calc(100vw - 96px));
  margin: 0 auto;
}

.works-detail-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.works-detail-heading {
  min-width: 0;
}

.works-detail-kicker {
  margin: 0;
  color: var(--teal);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.works-detail-title {
  margin: -2px 0 0;
  color: var(--large-text-color);
  font-style: italic;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.works-detail-breadcrumbs {
  flex: 0 0 auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #5d5d5d;
}

.works-detail-breadcrumbs a,
.works-detail-breadcrumbs span {
  color: inherit;
}

.works-detail-divider {
  margin-top: 56px;
  height: 1px;
  background: rgba(35, 35, 35, 0.68);
}

.works-detail-content {
  padding: 54px 14px 0 14px;
}

.works-detail-copy-block+.works-detail-copy-block {
  margin-top: 34px;
}

.works-detail-copy-block h2 {
  margin: 0 0 8px;
  color: var(--teal);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.works-detail-copy-block p,
.works-detail-copy-block li {
  margin: 0;
  color: #121212;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.works-detail-copy-block strong {
  font-weight: 800;
}

.works-detail-copy-block ul {
  margin: 8px 0 0 1.45em;
  padding: 0;
}

.works-detail-copy-block li+li {
  margin-top: 6px;
}

.works-detail-quote {
  margin: 54px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--teal);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.works-detail-divider-bottom {
  margin-top: 46px;
}

.works-detail-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 10px;
}

.works-detail-pagination a {
  color: var(--teal);
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 2px;
}


#contact {
  overflow: hidden;
  scroll-margin-top: var(--nav-height);
}
.contact-page {
  height: auto;
  min-height: unset;
  background: var(--teal);
  color: #fff;
}

.contact-page-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 48px 0 0;
}

.contact-left-rail {
  position: absolute;
  left: calc(-120px * var(--zoom-font-size));
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.contact-flower {
  width: calc(60px * var(--zoom-font-size));
  height: calc(60px * var(--zoom-font-size));
  opacity: 1;
}

.contact-flower img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  box-sizing: border-box;
}

.contact-info-card {
  padding-top: 40px;
}

.contact-intro {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.contact-divider {
  margin-right: auto;
}

.contact-divider {
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  margin-top: 6px;
}

.contact-intro-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, calc(42px * var(--zoom-font-size)), 999px);
  line-height: 0.98;
}

.contact-address {
  margin: 0;
  font-size: clamp(var(--minimal-font-size), calc(26px * var(--zoom-font-size)), 999px);
  line-height: var(--default-line-height);
  font-weight: 300;
  color: rgba(255, 255, 255, 1);
}

.contact-links {
  margin-top: 34px;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: clamp(var(--minimal-font-size), calc(26px * var(--zoom-font-size)), 999px);
  font-weight: 300;
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
}

.contact-icon img {
  display: block;
}
.contact-icon.icon-phone img {
  height: 22px;
  width: auto;
}

.contact-icon.icon-email img {
    width: 22px;
    height: auto;
}
.contact-icon.icon-linkedin img {
    width: 20px;
    height: auto;
}

.contact-form-card {
  padding-top: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}
/* 舊 Safari (Monterey 以前) 不支援 flex gap，直接用 margin 模擬。
   @supports (gap) 無法偵測「gap 在 flex 下是否有效」——舊 Safari 的 grid 也有 gap，
   會誤判為 true，所以不採用 @supports 分支。 */
.contact-form > * + * {
  margin-top: 18px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  font-size: clamp(var(--minimal-font-size), calc(26px * var(--zoom-font-size)), 999px);
  line-height: 1.1;
  font-weight: 300;
}
.contact-field > * + * {
  margin-top: 10px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #FFF;
  color: #222;
  font-size: 18px;
  padding: 16px 18px;
  outline: none;
  box-shadow: none;
}

.contact-field input {
  height: 48px;
}

.contact-field textarea {
  min-height: 248px;
  resize: vertical;
  padding-top: 18px;
}

.contact-submit {
  margin-top: 8px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: calc(24px * var(--zoom-font-size));
  font-style: italic;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover,
.contact-submit:active {
  background: rgba(255, 255, 255, 0.36);
}

.contact-footer {
  padding: 20px 54px 30px;
}

.contact-footer-copy {
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}



.service-structure-section {
  padding: 92px 0 100px;
}

/* .section-container {
  width: min(1200px, calc(100% - 120px));
  margin: 0 auto;
} */

.section-heading {
  margin-bottom: 34px;
  /* margin-bottom: calc(40px * var(--zoom-font-size)); */
}

.section-kicker {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: calc(58px * var(--zoom-font-size));
  line-height: 1;
  font-weight: 200;
}

.section-heading .h1 {
  margin: 0;
  color: var(--large-text-color);
  /* font-size: 60px; */
  font-size: calc(76px * var(--zoom-font-size));
  line-height: 0.95;
  font-style: italic;
  font-weight: 800;
  padding-left: 20px;
}

.section-intro {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 28px;
  align-items: start;
  margin: 28px 0 110px 130px;
}

.section-intro-line {
  width: 2px;
  /* height: 108px; */
  height: 100%;
  background: #8d8d8d;
}

.section-intro p {
  margin: 0;
   /*font-size: 26px; */
  /*font-size: var(--section-highlight1-fs);*/
  font-size: clamp( var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  /*line-height: 1.28;*/
  line-height: var(--default-line-height);
  font-weight: 300;
}

.service-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 0 0 58px;
  margin-bottom: 68px;
  border-top: 2px solid #9f9f9f;
}

.service-step-left {
  padding-top: 14px;
}

.service-step-number {
  color: var(--teal);
  font-size: 60px;
  ;
  line-height: 0.9;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-step-left h2 {
  margin: 0;
  color: #555;
  font-size: clamp(28px, 2.8vw, 50px);
  line-height: 1.03;
  font-style: italic;
  font-weight: 800;
}

.service-step-right {
  padding-top: 22px;
}

.service-step-right ul {
  margin: 0;
  padding-left: 32px;
  /* color: #111; */
}

.service-step-right li {
  margin: 0 0 8px;
  /* font-size: clamp(18px, 1.8vw, 28px); */
  /* line-height: 1.22; */
  /*font-size: calc(35px * var(--zoom-font-size));*/
  font-size: clamp( var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  line-height: var(--default-line-height);
  font-weight: 300;
}

.service-step-last {
  margin-bottom: 0;
  padding-bottom: 0;
}



.case-detail-page-body,
.case-detail-page {
  min-height: 100%;
}

.case-detail-hero {
  padding: 58px 0 72px;
}

.case-detail-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.case-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
  font-size: 16px;
  color: #5a5a5a;
}

.case-detail-breadcrumb a,
.case-detail-breadcrumb span {
  color: #5a5a5a;
  text-decoration: underline;
}

.case-detail-breadcrumb span:last-child {
  text-decoration: underline;
}

.case-detail-divider {
  width: 100%;
  height: 2px;
  background: #9e9e9e;
  margin-bottom: 54px;
}
.case-detail-quote,
.case-detail-section {
  margin-bottom: 42px;
}

.case-detail-section h2 {
  margin: 0 0 6px;
  color: var(--large-text-color);
  font-weight: 800;
  /* line-height: 1.1; */
  line-height: var(--default-line-height);
  font-size: clamp(calc(var(--minimal-font-size) + 2px), calc(34px * var(--zoom-font-size)), 999px);
}

.case-detail-section p,
.case-detail-section li {
  /* color: #111; */
  /* font-size: 26px; */
  /* line-height: 1.36; */
  /* font-size: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 100%); */
  /*font-size: var(--text-fs);*/
  font-size: clamp( var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  line-height: var(--default-line-height);
  font-weight: 300;
}

.case-detail-section p {
  margin: 0;
}

.case-detail-section ul {
  margin: 8px 0 0;
  padding-left: 34px;
}

.case-detail-section li {
  margin-bottom: 6px;
}

.case-detail-quote {
  text-align: center;
}

.case-detail-quote p {
  margin: 0;
  display: inline;
  /* color: var(--teal); */
  font-size: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  /* line-height: 1.3; */
  /*font-size: 1.5em;*/
  line-height: var(--default-line-height);
  /* background-color: var(--teal); */
  /*background-color: #C5E8E6;*/
  background-color: var(--light-teal);
  font-style: italic;
  font-weight: 300;
  color: #000;
}

.case-detail-divider-bottom {
  margin: 18px 0 34px;
}

.case-detail-pagination {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.case-detail-pagination a {
  color: #000;
  /* font-size: clamp( var(--minimal-font-size), 1.2vw, 22px); */
  font-size: var(--text-fs);
  /* line-height: 1.2; */
  line-height: var(--default-line-height);
  text-decoration: underline;
  font-weight: 300;
  transition: color 0.2s ease;
}

.case-detail-pagination a:hover {
  color: var(--teal);
}

.reveal {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-up {
  transform: translateY(60px);
}

.reveal-left {
  transform: translateX(-80px);
}

.reveal-right {
  transform: translateX(80px);
}

.reveal-zoom {
  transform: scale(0.92);
}

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible>* {
  opacity: 1;
  transform: none;
}

.reveal-stagger.is-visible>*:nth-child(1) {
  transition-delay: 0s;
}

.reveal-stagger.is-visible>*:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-stagger.is-visible>*:nth-child(3) {
  transition-delay: 0.24s;
}

.reveal-stagger.is-visible>*:nth-child(4) {
  transition-delay: 0.36s;
}

.reveal-stagger.is-visible>*:nth-child(5) {
  transition-delay: 0.48s;
}

.reveal-line {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-line.is-visible {
  transform: scaleY(1);
}

.reveal-slow {
  transition-duration: 1.4s;
}

.reveal-d1 {
  transition-delay: 0.15s;
}

.reveal-d2 {
  transition-delay: 0.3s;
}

.reveal-d3 {
  transition-delay: 0.45s;
}

.reveal-d4 {
  transition-delay: 0.6s;
}

.journey-slide {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--teal);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.page-transition-overlay.is-leaving {
  opacity: 1;
}

.page-transition-overlay.is-entering {
  opacity: 1;
  animation: pt-reveal 0.5s ease 0.05s forwards;
}

@keyframes pt-reveal {
  to {
    opacity: 0;
  }
}
.logo-mark img,
.signature-mark img {
  opacity: 0;
  transform: scale(0) rotate(0deg);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.logo-mark.is-visible img,
.signature-mark.is-visible img {
  opacity: 1;
  /* transform: scale(1) rotate(180deg); */
  transform: scale(1) rotate(90deg);
}

.contact-links .contact-link {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

.contact-links.is-visible .contact-link {
  opacity: 1;
  transform: none;
}

.contact-links.is-visible .contact-link:nth-child(1) {
  transition-delay: 0.1s;
}

.contact-links.is-visible .contact-link:nth-child(2) {
  transition-delay: 0.25s;
}

.contact-links.is-visible .contact-link:nth-child(3) {
  transition-delay: 0.4s;
}

.policy-right-text .policy-right-top,
.policy-right-text .policy-right-bottom {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.policy-right-text .policy-right-top {
  transform: translateX(40px);
}

.policy-right-text .policy-right-bottom {
  transform: translateX(-40px);
}

.policy-right-copy.is-visible .policy-right-top,
.policy-right-copy.is-visible .policy-right-bottom {
  opacity: 1;
  transform: none;
}

.policy-right-copy.is-visible .policy-right-bottom {
  transition-delay: 0.2s;
}



.journey-left:not(.for-phone) .journey-rail {
  position: absolute;
  left: calc(62px * var(--zoom-font-size));
  height: calc(440px * var(--zoom-font-size));
  top: 50px;
  width: 3px;

  background: rgba(99, 190, 188, 0.95);
}

.journey-left:not(.for-phone) .journey-flower {
  position: absolute;
  left: 10px;
  top: 20px;
  width: calc(100px * var(--zoom-font-size));
  height: calc(100px * var(--zoom-font-size));
  transition: top 0.45s ease, opacity 0.45s ease;
}

.journey-left:not(.for-phone) .journey-flower img {
  position: relative;
  z-index: 1;
}

.journey-left:not(.for-phone) .journey-flower:after {
  content: "";
  width: 4px;
  height: calc(40px * var(--zoom-font-size));
  background-color: var(--bg);
  position: absolute;
  left: calc(48px * var(--zoom-font-size));
  top: clamp(var(--minimal-font-size), calc(30px * var(--zoom-font-size)), 999px);
  z-index: 0;
}

/* .journey-page.step-0 .journey-left:not(.for-phone) .journey-flower {
  top: 20px;
} */
.journey-slide[data-step="0"] {
  padding-top:170px;
}
.journey-slide[data-step="1"] {
  padding-top:170px;
}
.journey-slide[data-step="2"] {
  padding-top:170px;
}

.journey-page.step-1 .journey-left:not(.for-phone) .journey-flower {
    top: calc((100% - calc(100px * var(--zoom-font-size))) / 2);
}
.journey-page.step-2 .journey-left:not(.for-phone) .journey-flower {
    top: calc(100% - calc(100px * var(--zoom-font-size)));
}


/* 部分電腦格式調整 */
@media screen and (max-width: 1600px) {
  .policy-right-copy {
    /*margin-right: 130px;*/
  }

  .policy-quote.reveal-d1 {
    margin-top: 64px;
  }

}
@media (max-width:1440px) {

  .nav > * + * {
    margin-left: 28px; /* 導航間距縮小 */
  }

  .signature-grid {
    grid-template-columns: 14vw minmax(0, 1fr);
    grid-template-columns: 14dvw minmax(0, 1fr);
    column-gap: 64px;
  }

  .policy-top {
    margin-bottom: 60px;
  }

  .policy-bottom {
    grid-template-columns: 2fr 3fr;
  }

  .journey-stage {
    column-gap: 22px;
  }
}

@media screen and (max-width:1280px) {
  .first-intro {
    margin-top: 32px;
  }

  .policy-quote.reveal-d1 {
    margin-top: 88px;
  }
  .journey-left:not(.for-phone) .journey-flower { left: 9px;}
}
@media (max-width:1200px) {
  .about-founder-card {
    margin-left: 0;
    max-width: none;
  }

  .about-founder-arrow {
    right: 40px;
  }


  .policy-top {
    padding-left: 0px;
  }

  .detail-profile-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .detail-mini-mark {
    display: none;
  }

  .detail-profile-card.roster-card {
    margin: auto;
  }

  .detail-profile-card:after {
    display: none;
  }

  .detail-copy-top {
    align-items: flex-start;
  }

  .detail-summary,
  .detail-quote {
    text-align: left;
  }

  .detail-divider {
    margin-left: 0;
  }

  .detail-profile-card.roster-card {
    /* width: 400px; */
    max-width: 500px;
  }

  .works-heading-block {
    margin-left: 72px;
  }

  .works-intro-card {
    margin-left: 178px;
    max-width: 960px;
  }

  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  section.contact-info-card {
    padding-left: 80px;
  }

  .contact-left-rail {
    left: 0;
  }

  .contact-intro {
    gap: 10px;
  }

  .contact-links {
    margin-left: 30px;
  }

  .contact-content-grid {
    grid-template-columns: 3fr 2fr;
  }
}
@media (max-width:1024px) {
  .roster-card-info {
    right: -70px;
  }
}



@media (min-width:900px) and (max-width:1440px) {
  .policy-bottom {
    padding-top: 40px;
  }
}
@media (min-width:900px) and (max-width:920px) {
  /* 特殊處理 */
  .policy-quote.reveal-d1 {
    margin-right: -20px;
  }
}

@media (min-width:900px) {
  .policy-title-lines:after {
    left: 2em;
    /*width: 100%;*/
    width: calc(40vw + 200px);
  }
}

@media (max-width:899px) {
  .about-roster-grid {
    grid-template-columns: 1fr;
    max-width: 80%;
    margin-left: 25%;
  }
  .policy-title-lines:after {
        width: 70vw;
        left: 20vw;
        bottom: -30px;
    }
  .policy-quote.reveal-d1 {
      margin-top: 70px;
  }

  .policy-quote p {
    max-width: 350px;
  }
  .policy-right-copy {
        /*margin-right: 35px;*/
                font-size: 30px;
        margin-right: 0px;
        text-align: right;
    }
}


@media (min-width:768px) and (max-width:1024px) {
  /* .roster-card.roster-card-link {
    max-width: 300px;
  } */

  .journey-slide {
    column-gap: 0px;
  }
}

@media (max-width:767px) {
  :root {
    --zoom-font-size: 0.4;
  }
  .scroll-indicator:not(#scroll-to-top) {display: none;}
  /* 767下可直接訂死font-size*/
  .for-phone {
    display: block;
  }
  body {
    overflow: auto;
  }

  .topbar {
    height: var(--nav-height);
  }

  .topbar-container {
    height: var(--nav-height);
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .intro-card > * + * {
    margin-left: 10px;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--teal);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  .nav > * + * {
    margin-left: 0px;
  }

  .nav a {
      padding: 14px 0px;
        width: 100%;
  }
  .nav.is-open {
    display: flex;
    gap:0;
  }

  .brand {
    min-width: 0;
  }

  .page-container {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .page-view {
    overflow: visible;
    min-height: auto;
    height: auto;
  }

  .container-wide {
    width: calc(100vw - 40px);
  }
  .signature-wrap,
  .policy-wrap {
    /* padding-top: 60px; */
    padding-top: 10vh;
    padding-top: 10svh;
  }

  /* .signature-mark {
    width: 100px;
    height: 100px;
  } */

  #page-1 {
    overflow-y: hidden;
  }
  .hero-copy {
    margin-top: 42px;
  }

  .hero-page .h1 {
    line-height: 0.94;
    /*margin-top: 16px;*/
  }

  .first-intro,
  .signature-card {
    margin-top: 44px;
    margin-left: 0;
    gap: 18px;
  }

  .scroll-indicator {
    right: 20px;
    /* bottom: 20px; */
    bottom: calc(20px + env(safe-area-inset-bottom));
    top: unset;
    /* display: none; */
  }

  .signature-heading {
    margin-bottom: 40px;
  }

  .signature-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .policy-wrap {
    position: static;
  }

  .policy-top {
    margin-bottom: 32px;
    padding-left: 0px;
  }
  .policy-quote.reveal-d1 {
      margin-top: 0px;
  }
  .policy-title-block {
    gap: 18px;
  }

  .policy-title-lines {
    line-height: 0.9;
    padding-left: 5vw;
    margin-left: 0;
  }

  .policy-quote {
    position: static;
    /*margin-bottom: 32px;*/
    overflow: hidden;
  }

  .policy-quote p {
    margin-bottom: 20px;
  }

  .policy-bottom {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .policy-right-copy {
    gap: 18px;
    align-items: flex-start;
  }

  .policy-arrow {
    width: 18px;
    height: 18px;
  }

  .policy-right-top,
  .policy-right-bottom {
    line-height: 0.98;
  }

  .policy-right-bottom {
    margin-left: 8vw;
    margin-bottom: 0;
  }

  .policy-left-copy {
    margin-top: 0px;
  }
  #page-4 {
    padding-top: 15vh;
    padding-top: 15svh;
    margin-bottom: 10vh;
    margin-bottom: 10svh;
  }
  .journey-page {
    min-height: auto;
    padding-bottom: 24px;
  }

  .journey-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .journey-stage {
    grid-template-columns: 60px 1fr ;
    row-gap: 0;
    min-height: auto;
    padding-top: 18px;
  }

  .journey-left:not(.for-phone) {
    display: none;
  }

  .journey-left.for-phone {
    display: none;
  }

  .journey-slides {
    grid-column: 2;
    grid-row: 1;
    min-height: auto;
    display: grid;
    gap: 42px;
    align-self: stretch;
  }

  .journey-slide {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .journey-slide[data-step="0"] {
    padding-top:0px;
  }
  .journey-slide[data-step="1"],
  .journey-slide[data-step="2"] {
    padding-top:0px;
    margin-top:10vh;
    margin-top:10svh;
  }

  .journey-mobile-rail {
    display: block;
    grid-column: 1;
    grid-row: 1;
    position: -webkit-sticky;
    position: sticky;
    height: 30vh;
    height: 30svh;
    top: 40vh;
    top: 40svh;
    align-self: start;
  }

  .journey-copy p {
    margin-bottom: 20px;
  }

  .contact-left-rail {
    position: relative;
    flex-direction: row;
    top: 0;
    left: 0;
    width: 100%;
  }

  body.about-page-body {
    overflow: auto;
  }

  .about-founder-section,
  .about-roster-section {
    min-height: auto;
    /* padding: 48px 0 54px; */
  }

  .about-founder-wrap,
  .about-roster-wrap,
  .site-footer-inner {
    width: min(calc(100vw - 40px), 100%);
  }

  .about-founder-card {
    gap: 18px;
    margin-top: 22px;
  }

  .about-founder-content {
    padding-top: 6px;
  }

  .about-founder-content p {
    /* line-height: 1.55; */
    line-height: var(--default-line-height);
    margin-bottom: 18px;
  }

  .about-founder-arrow {
    position: static;
    margin: 16px 0 0 auto;
  }

  .about-roster-heading {
    gap: 14px;
  }

  .about-roster-heading::before,
  .about-roster-heading::after {
    width: 60px;
  }
/*
  .about-roster-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  } */

  .site-footer-inner {
    gap: 16px;
    flex-direction: column-reverse;
    align-items: center;
  }

  .site-footer-flowers {
    align-self: center;
  }

  .detail-profile-section {
    padding-top: 28px;
  }

  .detail-breadcrumbs {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .detail-copy-top {
    gap: 18px;
  }

  .detail-mini-mark {
    width: 30px;
    height: 30px;
  }

  .detail-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-footer-marks {
    margin-left: auto;
  }

  .works-page-body {
    overflow-y: auto;
  }

  .works-hero-section {
    padding: 44px 0 72px;
  }

  .works-wrap {
    width: min(calc(100vw - 36px), 100%);
  }

  .works-heading-block,
  .works-intro-card {
    margin-left: 0;
  }

  .works-intro-card {
    gap: 18px;
    margin-top: 24px;
  }

  .works-intro-line {
    min-height: 92px;
  }

  .works-grid {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .works-card {
    min-height: 112px;
    padding: 18px 14px;
  }

  .works-detail-section {
    padding: 34px 0 0;
  }

  .works-detail-wrap {
    width: min(calc(100vw - 36px), 100%);
  }

  .works-detail-topbar {
    flex-direction: column;
    gap: 18px;
  }

  .works-detail-breadcrumbs {
    padding-top: 0;
  }

  .works-detail-divider {
    margin-top: 28px;
  }

  .works-detail-content {
    padding: 28px 0 0;
  }

  .works-detail-copy-block p,
  .works-detail-copy-block li {
    line-height: 1.5;
  }

  .works-detail-copy-block ul {
    margin-left: 1.2em;
  }

  .works-detail-quote {
    margin-top: 34px;
  }

  .works-detail-divider-bottom {
    margin-top: 32px;
  }

  .works-detail-pagination {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 0;
  }

  .contact-page {
    min-height: auto;
    overflow-x: hidden;
  }

  .contact-page-inner {
    min-height: auto;
    padding-top: 28px;
  }

  .contact-left-rail {
    position: static;
    flex-direction: row;
    padding: 0 20px;
    margin-bottom: 20px;
  }


  .contact-flower {
    width: 42px;
    height: 42px;
  }

  .contact-content-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .contact-info-card,
  .contact-form-card {
    padding-top: 0;
    max-width: 100%;
  }

  .contact-form-card {
    padding-right: 0;
  }

  .contact-intro {
    grid-template-columns: 12px 1fr;
    gap: 18px;
  }

  .contact-divider {
    height: 92px;
  }

  .contact-links {
    margin-left: 30px;
    word-break: break-all;
  }

  .contact-field {
    /*font-size: 20px;*/
  }

  .contact-field input {
    height: 56px;
  }

  .contact-field textarea {
    min-height: 180px;
  }

  .contact-submit {
    height: 56px;
    font-size: 22px;
  }

  .contact-footer {
    padding: 18px 20px 28px;
  }

  .service-structure-section {
    padding: 36px 0 56px;
  }

  .section-container {
    width: calc(100% - 40px);
  }

  .section-intro {
    margin: 20px 0 60px;
    grid-template-columns: 12px 1fr;
    gap: 18px;
  }

  .section-intro-line {
    width: 1px;
  }

  .service-step {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 34px;
    margin-bottom: 42px;
  }

  .service-step-right {
    padding-top: 0;
  }

  .service-step-right ul {
    padding-left: 24px;
  }

  .case-detail-hero {
    padding: 32px 0 48px;
  }

  .case-detail-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-detail-breadcrumb {
    justify-content: flex-start;
    padding-top: 0;
    font-size: 14px;
  }

  .case-detail-divider {
    margin-bottom: 30px;
  }

  .case-detail-quote,
  .case-detail-section {
    margin-bottom: 28px;
  }

  .case-detail-section p,
  .case-detail-section li {
    /*font-size: 18px;*/
  }

  .case-detail-pagination {
    flex-direction: column;
    align-items: flex-start;
  }


  .container-wide {
    width: calc(100vw - 60px);
  }

  .intro-content h3 {
    font-size: 18px;
  }

  .intro-line {
    flex: 0 0 1px;
  }

  .signature-kicker {
    font-size: 24px;
  }

  .signature-heading h2 {
    font-size: 32px;
  }

  .logo-mark {
    width: 50px;
    height: 50px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .signature-grid .signature-mark {
    order: 1;
    width: 50px;
    height: 50px;
    margin: 40px auto;
  }

  .signature-card {
    margin-top: 0px;
  }

  .signature-grid {
    row-gap: 10px;
  }

  .policy-wrap {
    margin-top: 0px;
  }

  .policy-title-row {
    font-size: 50px;
  }

  .policy-title-row+.policy-title-row {
    margin-top: 5px;
  }

  .policy-title-lines:before {
    width: 1px;
    top: 0px;
    height: 100%;
  }

  .policy-title-lines {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .policy-title-lines:after {
    bottom: 7px;
    height: 1px;
    width: calc(100vw - 70%); /* 舊版本 */
    width: calc(100dvw - 70%);
    left: 30%;
  }

  .policy-right-copy {
    display: none;
  }

  .policy-right-copy.for-phone {
    display: block;
    margin-bottom: 20px;
  }

  .policy-right-top {
    font-size: 36px;
    margin-left: -10vw;
  }

  .policy-right-bottom {
    font-size: 36px;
    margin-top: 10px;
    padding-left: 10vw;
  }

  .policy-right-text {
    text-align: center;
  }

  /* .policy-quote p {
    font-size: 18px;
  } */

  /*.policy-left-copy {
    font-size: 18px;
  }*/

  [data-step="0"] .journey-left.for-phone .journey-rail {
    flex: 0;
  }

  [data-step="2"] .journey-left.for-phone::after {
    flex: 0;
  }

/*  .journey-title-top,
  .journey-title-bottom {
    font-size: 50px;
  }*/

/*  .journey-copy h3 {
    font-size: 24px;
  }*/

/*  .journey-copy p {
    font-size: 18px;
  }
*/
  .contact-flower {
    height: 30px;
    width: 30px;
  }

  .contact-content-grid {
    padding: 0px;
  }

/*  .contact-intro-copy h2 {
    font-size: 32px;
  }*/

  p.contact-address {
    /*font-size: 16px;*/
  }

  .contact-left-rail {
    /* padding: 0px 30px; */
    padding: 0px;
    margin-left: -15px;
  }

  .contact-divider {
    height: 100%;
  }

  .contact-links {
    margin-top: 0px;
    padding-left: 15px;
    margin-left: 0px;
    padding-top: 20px;
    border-left: 2px solid;
  }

  /* .contact-form-card {
    padding: 0px;
  } */
  .contact-form-card {
      margin-top: 20px;
      padding: 0px 45px;
  }

  .contact-field {
    /*font-size: 18px;*/
  }

  .contact-field input {
    height: 36px;
  }

  .contact-submit {
    height: 44px;
    font-size: 18px;
  }

  .contact-content-grid {
    grid-template-columns: 1fr;
  }

  section.contact-info-card {
    padding-left: 30px;
  }

  .section-kicker {
    font-size: 24px;
  }

  .section-heading .h1 {
    font-size: 32px;
  }

  .service-step-number {
    font-size: 32px;
  }

  .about-founder-header {
    padding: 0;
  }

  .about-roster-heading h2 {
    font-size: 32px;
  }

  .about-roster-heading::before,
  .about-roster-heading::after {
    width: calc(50vw - 140px);
  }


  .about-roster-section {
    padding-top: 16px;
  }

  .detail-profile-card .roster-card-photo {
    max-width: 400px;
  }

  .detail-summary {
    /*font-size: 24px;*/
  }

  blockquote.detail-quote {
    /*font-size: 20px;*/
    margin-top: 20px;
  }

  .detail-section-copy h2 {
    /*font-size: 24px;*/
  }

  .detail-section-copy p {
    /*font-size: 18px;*/
  }

  .section-intro p {
    /*font-size: 20px;*/
  }

  .service-step-left h2 br {
    display: inline-block;
    width: 20px;
  }

  .section-intro {
    margin-bottom: 40px;
  }

  .service-step {
    margin-bottom: 0px;
  }

  .case-detail-pagination a+a {
    margin-left: auto;
  }

  .roster-card-info {
    right: -20px;
  }

  .about-roster-heading h2 {
    /*font-size: 28px;*/
    text-align: center;
  }

  .about-roster-heading h2 .text-light {
    display: block;
  }

  .case-detail-quote {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .case-detail-quote,
  .case-detail-section {
    margin-bottom: 16px;
  }


  .detail-profile-card {
    max-width: 400px;
  }

  .detail-profile-card .roster-card-info {
    right: -80px;
  }

  .about-roster-grid {
    max-width: 90%;
  }

  /* .roster-card.roster-card-link {
    width: 80%;
    min-width: 250px;
    max-width: 350px;
  } */
  .journey-mobile-line {
    width: 2px;
  }

  .scroll-to-top {
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width:560px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:520px) {
  .roster-card-photo {
    margin-left: 0px;
  }

  .social {
    left: 200px;
  }
  .hero-page h2.eyebrow {
    font-size: 24px;
  }
  .hero-page .h1 {
    font-size: 50px;
  }

  .intro-card > * + * {
    margin-left: 0px;
  }
  .detail-profile-card.roster-card {
    /* width: 280px; */
    max-width: 100%;
    /* margin-left: 10%; */
    padding-right: 0px;
  }

  .detail-profile-card .roster-card-info {
    right: 0px;
    bottom: 0px;
  }
      .contact-intro-copy h2 {
        /*font-size: 24px;*/
    }
        section.contact-info-card {
        padding-left: 0px;
    }
      .about-roster-grid {
    max-width: 100%;
    margin-left: 0;
    right: -30px;
    position: relative;
  }
  .site-footer-flowers img {
    /* width: 30px; */
    /* height: 30px; */
  }
  .contact-form-card {
    padding: 0px;
  }
}



/* 直向手機優化 */
@media screen and (max-width: 768px) and (max-aspect-ratio: 10/16) {
  /* 比 9:16 更長（更高的螢幕，例如某些手機） */
    #page-1 {
        min-height: auto;
    }
    .signature-wrap, .policy-wrap {
        padding-top: 0px;
    }
    .policy-title-lines {
        padding-top: 0px;
        padding-bottom: 0px;
        margin-top: 0px;
    }
    .policy-top {padding-top: 0px;margin-top: 0px;}
    .policy-page + .logo-mark {margin-top: 0px;}
    .is-touch-device #page-4 {
        padding-top: 0px;
        margin-top: 0px;
    }
    .signature-grid .signature-mark {margin: 0px auto;}
    .journey-slide[data-step="1"], .journey-slide[data-step="2"] {margin-top: 0px;}
}
