
:root {
  --red: #e60012;
  --ink: #222;
  --muted: #444;
  --content-width: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
   line-height: 1.8;
}

img { 
display: block; width: 100%; 

}

.story-heading__nowrap3 {
 letter-spacing: -1px;
}



.founder-hero__photo picture {
  display: block;
}

.founder-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
}


.photo-shadow {
    box-shadow: 0 12px 35px rgba(0, 0, 0,0.25);
}

.founder-page { overflow: hidden; }

.founder-section {
    position: relative;
    overflow: hidden;
    padding: 100px 20px 120px;
    background: #fffefd;
}


.founder-hero {
  position: relative;
  max-width: 1500px;
  margin: 0 auto clamp(70px, 9vw, 140px);
  padding-right: clamp(24px, 4vw, 64px);
}

.founder-hero__photo { width: 72%; }

.founder-hero__photo img {
  width: 100%;
  height: auto;
}

.founder-hero__content {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 65%;
  width: min(49%, 690px);
  min-height: 64%;
  padding: clamp(36px, 5vw, 76px);
  color: #fff;
  background: var(--red);
  transform: translateY(-50%);
  overflow: hidden;
}

.founder-hero__content h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.2;
}

.founder-hero__content p {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  font-size: 18px;
}

.founder-hero__brand {
  position: absolute;
  right: -10px;
  bottom: -4%;
  z-index: 0;
  width: min(82%, 570px);
  height: auto;
  opacity: .17;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.story-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 62px);
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto clamp(54px, 7vw, 100px);
  padding: clamp(30px, 4vw, 54px);
  color: inherit;
  background: #f5f5f5;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(230,0,18,0);
  transition: transform .4s ease, background-color .4s ease, box-shadow .4s ease;
}

.story-title > .story-title__label {
  position: relative;
  z-index: 1;
  color: #111;
  font-size: clamp(27px, 2.2vw, 34px);
  font-weight: 800;
  white-space: nowrap;
}

.story-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}

.story-title .story-title__bg {
  position: absolute;
  z-index: 0;
  left: clamp(26px, 9vw, 138px);
  bottom: -0.17em;
  color: rgba(120,120,120,.055);
  font-size: clamp(58px, 8vw, 124px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  transition: color .45s ease, transform .55s cubic-bezier(.22,1,.36,1);
}

.story-title > div {
  position: relative;
  z-index: 1;
}

.story-title__arrow {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  color: var(--red);
  font-size: clamp(27px, 2.4vw, 38px);
  line-height: 1;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}

@media (hover: hover) {
  .story-title:hover {
    background: #fffafa;
    box-shadow: 0 18px 44px rgba(95,18,24,.12);
    transform: translateY(-6px);
  }

  .story-title:hover::after { transform: scaleX(1); }

  .story-title:hover .story-title__bg {
    color: rgba(230,0,18,.09);
    transform: translateX(12px);
  }

  .story-title:hover .story-title__arrow { transform: translateX(10px); }
}

.story-title:focus-visible {
  outline: 3px solid rgba(230,0,18,.35);
  outline-offset: 5px;
}

.story-title h2 {
  margin: 0;
  color: #777;
  font-size: clamp(22px, 2.35vw,28px);
  line-height: 1.2;
}

.story-title p {
    margin: 2px 0 0;
    color: #333;
    letter-spacing:4.3px;
    font-size: 18px;
    font-weight: 400;
}

.founder-stories {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.story-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr);
  align-items: center;
  gap: 0;
  margin-bottom: clamp(64px, 9vw, 140px);
}

/*
 * 點點底圖以整個圖文列為高度基準：上下各內縮 10%。
 * 透過 100vw 與 50% 位移突破置中的內容容器，
 * 讓底紋延伸至瀏覽器視窗左右兩側；照片會自然覆蓋在底紋上方。
 */
.story-row::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image: radial-gradient(circle, rgba(50,50,50,.23) 1px, transparent 1.2px);
  background-size: 14px 14px;
}

.story-row--photo-first {
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
}

/* 每張照片比例不同，三列分別設定欄寬，避免以直式照片規格硬套橫式照片。 */
.story-row--career {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr);
}

.story-row--quality {
  grid-template-columns: minmax(420px, .98fr) minmax(0, 1.02fr);
}

.story-row--spirit {
  grid-template-columns: minmax(0, .98fr) minmax(460px, 1.02fr);
}

/* 最後一張橫式照片主導整列高度，點點底紋保持上下各縮入 10%。 */
.story-row--spirit .story-copy {
  padding-top: 6%;
  padding-bottom: 6%;
}

.story-photo {
  position: relative;
  z-index: 1;
  margin: 0;
}

.story-photo img {
  width: 100%;
  height: auto;
}

.story-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 10% clamp(30px, 5vw, 76px);
}

.story-copy__inner { width: 100%; }

.story-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.story-heading h2 {
  margin: 0;
  font-size: clamp(27px, 2.45vw, 30px);
  line-height: 1.27;
}

/* 指定的標題句在平板以上維持單行，避免中文字被拆成兩行。 */
.story-heading__nowrap { white-space: nowrap; }

.story-heading--paired {
  display: block;
}

.story-heading--paired h2 { width: 100%; }

.story-heading__first-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.story-heading__first-line .story-tag { margin: 0; }

.story-tag--mobile { display: none; }

.story-tag {
  flex: 0 0 auto;
  margin-bottom: 4px;
  padding: 3px 14px;
  color: #fff;
  background: var(--red);
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
}

.story-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
}

.story-copy strong {
  display: inline-block;
  margin-right: 8px;
  padding: 0 7px;
  color: #fff;
  background: #222;
}

.story-copy b { color: #3b3b3b; }

@media (max-width: 1100px) {
  .story-row,
  .story-row--photo-first { grid-template-columns: 1fr 42%; }

  .story-row--photo-first { grid-template-columns: 42% 1fr; }
  .story-row--career { grid-template-columns: 1fr 40%; }
  .story-row--quality { grid-template-columns: 47% 1fr; }
  .story-row--spirit { grid-template-columns: 1fr 49%; }
  .story-heading { display: block; }
  .story-tag { display: inline-block; margin-top: 14px; }
  .story-tag--mobile { display: none; }
  .story-copy { padding-right: 32px; padding-left: 32px; }
  .story-heading__nowrap { font-size: clamp(23px, 2.55vw, 28px); }
}

@media (max-width: 767px) {
  .page-heading { padding-top: 40px; }

  .founder-hero {
    display: flex;
    flex-direction: column;
    margin-bottom: 64px;
    padding: 0px;
  }

  .founder-hero__photo { width: 100%; }
  .founder-hero__photo img {
    width: 100%;
    height: auto;
  }

  .founder-hero__content {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 0px);
    min-height: 0;
    margin: 0px 0 0 auto;
    padding: 32px 26px 44px;
    transform: none;
  }
	
	.founder-hero__content h2 {
   
    letter-spacing: 1px;
}
	

  .founder-hero__brand {
    right: -8%;
    bottom: -1%;
    width: 96%;
  }

  .story-title {
    display: block;
    width: calc(100% - 0px);
    padding: 28px 24px;
  }

  .story-title > .story-title__label { display: block; margin-bottom: 12px; }
  .story-title .story-title__bg {
    left: 10px;
    bottom: 5px;
    margin: 0;
    font-size: 62px;
  }

  .story-title__arrow {
    position: absolute;
    right: 22px;
    bottom: 24px;
    margin: 0;
  }
  .story-title p { letter-spacing: .06em; }

  .founder-stories { width: 100%; }

  .story-row,
  .story-row--photo-first {
    display: flex;
    flex-direction: column;
    margin-bottom: 64px;
  }

  .story-row--text-first .story-photo { order: 1; }
  .story-row--text-first .story-copy { order: 2; }

  .story-photo { width: calc(100% - 0px); margin: 0 auto; }
  .story-photo img {
    width: 100%;
    height: auto;
  }

  .story-copy {
    margin-top: -18px;
    padding-top: 62px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 48px;
  }
	
	.story-row--spirit .story-copy {
    padding-top: 62px;
}

  /* 手機仍維持滿版寬度，改以固定留白避免單欄內容讓背景過度縮短。 */
  .story-row::before { top: 28px; bottom: 20px; }

  .story-heading h2 { font-size: 27px; }
  .story-heading__nowrap {
    font-size: inherit;
    white-space: normal;
  }

  /* 手機三則標籤統一放在完整大標題下方。 */
  .story-heading,
  .story-heading--paired {
    display: block;
  }

  .story-heading__first-line { display: block; }
  .story-tag--desktop { display: none; }

  .story-heading--paired .story-tag--mobile {
    display: inline-block;
    margin: 14px 0 0;
  }
  .story-copy p { 
	  font-size: 18px;
	    letter-spacing: 0px;
	}
	
.founder-hero__content p {
  font-size: 18px;
  letter-spacing: 0px;
}

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ========================================
  創辦人故事標題
======================================== */

.story-heading--en {
  display: block;
}

.story-heading--en h2 {
  display: block;
  margin: 0;
}

.story-heading--en .story-tag {
  display: block;
  width: fit-content;
  margin-top: 16px;
}

/* ========================================
   英文版文字溢出修正
======================================== */

/* Grid 內容允許縮小 */
.story-copy,
.story-copy__inner,
.story-heading,
.story-heading h2 {
  min-width: 0;
  max-width: 100%;
}

/* 英文副標允許自然換行 */
.story-heading--en .story-tag {
  width: auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* 英文標題正常斷行 */
.story-heading h2 {
  white-space: normal;
  overflow-wrap: break-word;
}

/* 內文避免意外超出 */
.story-copy p {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 767px) {

  .story-copy {
    padding-right: 0px;
    padding-left: 0px;
  }

  .story-heading h2 {
    font-size: clamp(23px, 6.5vw, 27px);
    line-height: 1.35;
  }

  .story-heading--en .story-tag {
    display: inline-block;
    width: auto;
    max-width: 100%;
    padding: 7px 12px;
    line-height: 1.45;
    white-space: normal;
  }
}
/* 英文版紅色小標：底色跟著文字寬度 */
.story-heading--en .story-tag {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 6px 14px;
  white-space: normal;
}