.about-page {
  --about-blue: #385e76;
  --about-blue-deep: #2e536b;
  --about-text: #ffffff;
  --about-soft: rgba(255, 255, 255, 0.84);

  width: 100%;
  overflow: hidden;
  background: var(--about-blue);
  color: var(--about-text);
  font-family: inherit;
}

.about-section {
  position: relative;
  width: 100%;
}

.about-mid-content h2,
.about-ocean-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 0.04em;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.about-mid-content p,
.about-ocean-en {
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(16px, 1.55vw, 24px);
  font-weight: 800;
}

.about-story-copy p,
.about-renewal-grid p,
.about-glass-card p {
  margin: 0 0 16px;
  color: var(--about-soft);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.95;
  letter-spacing: 0.03em;
}

.about-story-image img,
.about-memory-photo img,
.about-renewal-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   Hero
========================= */

.about-hero {
  position: relative;
  height: 45vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(42, 147, 215, 0.08) 0%,
      rgba(38, 111, 154, 0.18) 45%,
      rgba(40, 83, 105, 0.35) 100%
    );
}

.about-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 190px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(56, 94, 118, 0) 0%,
    rgba(56, 94, 118, 0.42) 42%,
    rgba(56, 94, 118, 1) 100%
  );
}

.about-hero-bg {
  z-index: 0;
}

.about-hero-overlay {
  z-index: 1;
}

.about-hero-content {
  z-index: 4;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  text-align: center;
}

.about-en {
  margin-bottom: 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.about-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
}

/* =========================
   Middle Hero
   用於「過去的所在」與「造船廠歲月」
========================= */

.about-mid-hero {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--about-blue);
}

.about-mid-hero::before,
.about-mid-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}

.about-mid-hero::before {
  top: -1px;
  height: 190px;
  background: linear-gradient(
    to bottom,
    rgba(56, 94, 118, 1) 0%,
    rgba(56, 94, 118, 0.72) 38%,
    rgba(56, 94, 118, 0.28) 70%,
    rgba(56, 94, 118, 0) 100%
  );
}

.about-mid-hero::after {
  bottom: -1px;
  height: 210px;
  background: linear-gradient(
    to bottom,
    rgba(56, 94, 118, 0) 0%,
    rgba(56, 94, 118, 0.42) 38%,
    rgba(56, 94, 118, 0.78) 72%,
    rgba(56, 94, 118, 1) 100%
  );
}

.about-mid-bg {
  position: absolute;
  inset: -42px 0;
  z-index: 0;
  width: 100%;
  height: calc(100% + 84px);
  object-fit: cover;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 13%,
    #000 87%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 13%,
    #000 87%,
    transparent 100%
  );
}

.about-mid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(38, 78, 101, 0.18) 0%,
      rgba(33, 73, 96, 0.58) 50%,
      rgba(38, 78, 101, 0.18) 100%
    );
}

.about-mid-content {
  position: relative;
  z-index: 4;
  text-align: center;
}

.about-mid-title-stagger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  line-height: 1.08;
}

.about-mid-title-stagger span {
  display: block;
}

.about-mid-title-stagger span:first-child {
  transform: translateX(-64px);
}

.about-mid-title-stagger span:last-child {
  transform: translateX(64px);
}

/* =========================
   Shared content background
   01+02 與 03+04 共用
========================= */

.about-history,
.about-renewal {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(56, 94, 118, 0.74), rgba(48, 82, 104, 0.84)),
    url("../img/about/bg-3.png") center top / cover repeat-y;
}

.about-history {
  padding: 0;
}

.about-renewal {
  padding: 150px 0 180px;
}

.about-history-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: calc(100% - 96px);
  margin: 0 auto;
  padding: 128px 0 230px;
}

/* =========================
   Wave decoration
========================= */

.about-wave {
  position: absolute;
  left: 50%;
  width: 100vw;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  opacity: 1;
  z-index: 3;
}

/*
  調整 wave 上下位置：
  top 數字越小越往上，數字越大越往下。
*/
.about-wave-history {
  top: 420px;
}

.about-wave-renewal {
  top: 420px;
}

/* =========================
   01. Shipyard Memory
========================= */

.about-story-block {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0 auto;
}

.about-story-01 {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 46px;
  align-items: start;
  padding-top: 78px;
}

.about-story-01-visual {
  position: relative;
  z-index: 2;
}

.about-story-image-large {
  position: relative;
  z-index: 2;
  height: 540px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.about-story-title-box {
  position: absolute;
  top: -78px;
  right: -455px;
  z-index: 5;
  width: 760px;
  padding: 34px 30px 28px 34px;
  background: transparent;
}

.about-story-title-box h3 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
}

.about-story-title-box h4 {
  margin: 18px 0 0;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.12;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
}

.about-story-copy {
  color: #fff;
}

.about-story-copy-body {
  padding-top: 190px;
}

.about-story-copy h3,
.about-renewal-heading h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.about-story-copy h4,
.about-renewal-heading h4 {
  margin: 12px 0 28px;
  color: #fff;
  font-size: clamp(19px, 1.8vw, 28px);
  font-weight: 900;
  line-height: 1.14;
}

/* =========================
   02. Living with the Sea
========================= */

.about-story-02 {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: start;
  margin-top: 220px;
}

.about-story-copy-left {
  padding-top: 150px;
}

.about-story-copy-left h3 {
  font-size: clamp(58px, 4.8vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
}

.about-story-copy-left h4 {
  margin-top: 16px;
  font-size: clamp(34px, 2.8vw, 42px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
}

.about-memory-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  grid-template-areas:
    "photo1 photo2"
    "photo3 photo4";
  column-gap: 30px;
  row-gap: 28px;
  align-items: start;
}

.about-memory-photo {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.about-memory-photo-1 {
  grid-area: photo1;
  aspect-ratio: 4 / 5;
}

.about-memory-photo-2 {
  grid-area: photo2;
  aspect-ratio: 3 / 4;
}

.about-memory-photo-3 {
  grid-area: photo3;
  aspect-ratio: auto;
  height: 220px;
}

.about-memory-photo-4 {
  grid-area: photo4;
  aspect-ratio: auto;
  height: 220px;
}

/* =========================
   03 + 04 Renewal
========================= */

.about-renewal-grid {
  position: relative;
  z-index: 5;
  width: min(1120px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 70px;
}

.about-renewal-left,
.about-renewal-right {
  min-width: 0;
}

.about-renewal-heading h3 {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.06;
}

.about-renewal-heading h4 {
  margin-top: 12px;
  font-size: clamp(21px, 2vw, 31px);
  line-height: 1.13;
}

.about-renewal-photo-main {
  height: 340px;
  margin-top: 60px;
}

.about-renewal-photo-small {
  width: 260px;
  height: 260px;
  margin: 0 auto 56px;
}

.about-renewal-right p {
  max-width: 440px;
}

.about-renewal-04 {
  margin-top: 210px;
  align-items: start;
}

.about-renewal-left-bottom p {
  max-width: 520px;
}

.about-renewal-photo-room {
  height: 270px;
  margin-bottom: 40px;
}

.about-renewal-right-bottom {
  padding-top: 70px;
}

.about-renewal-right-bottom .about-renewal-heading h3 {
  font-size: clamp(36px, 4.1vw, 60px);
}

.about-renewal-right-bottom .about-renewal-heading h4 {
  font-size: clamp(21px, 2.05vw, 32px);
}

.about-renewal-photo-night {
  height: 280px;
  margin-top: 38px;
}

/* =========================
   Founding + Future
========================= */

.about-ocean-section {
  position: relative;
  min-height: 1450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--about-blue);
}

.about-ocean-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-ocean-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(28, 76, 106, 0.18) 0%,
      rgba(42, 99, 132, 0.18) 48%,
      rgba(38, 87, 116, 0.2) 100%
    );
}

.about-ocean-content {
  position: relative;
  z-index: 2;
  width: min(1050px, calc(100% - 72px));
  text-align: center;
}

.about-ocean-content-top {
  padding-top: 145px;
}

.about-ocean-content-bottom {
  padding-top: 330px;
}

.about-ocean-en {
  margin-top: 6px;
}

.about-glass-card {
  max-width: 980px;
  margin: 62px auto 0;
  padding: 42px 52px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 20px;
  background: rgba(206, 226, 238, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 20px 50px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-glass-card p {
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  font-size: 18px;
  line-height: 2.1;
}

.about-glass-card p:last-child {
  margin-bottom: 0;
}

/* =========================
   RWD
========================= */

@media (max-width: 1024px) {
  .about-history-inner,
  .about-renewal-grid {
    width: min(860px, calc(100% - 56px));
  }

  .about-history-inner {
    padding-top: 110px;
    padding-bottom: 170px;
  }

  .about-story-01,
  .about-story-02,
  .about-renewal-grid {
    gap: 42px;
  }

  .about-story-image-large {
    height: 380px;
  }

  .about-story-title-box {
    right: -365px;
    width: 650px;
  }

  .about-story-title-box h3 {
    font-size: 42px;
  }

  .about-story-title-box h4 {
    font-size: 27px;
  }

  .about-story-copy-body {
    padding-top: 165px;
  }

  .about-wave-history {
    top: 590px;
  }

  .about-wave-renewal {
    top: 590px;
  }

  .about-memory-photo-3,
  .about-memory-photo-4 {
    height: 190px;
  }

  .about-story-copy-left h3 {
    font-size: 46px;
  }

  .about-story-copy-left h4 {
    font-size: 30px;
  }

  .about-renewal-photo-main {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .about-hero::after {
    height: 130px;
  }

  .about-mid-hero::before {
    height: 140px;
  }

  .about-mid-hero::after {
    height: 150px;
  }

  .about-hero {
    height: 380px;
    min-height: 380px;
  }

  .about-hero-content {
    padding-top: 76px;
  }

  .about-en {
    font-size: 15px;
  }

  .about-history-inner,
  .about-renewal-grid,
  .about-ocean-content {
    width: calc(100% - 36px);
  }

  .about-history-inner {
    padding-top: 90px;
    padding-bottom: 120px;
  }

  .about-story-01,
  .about-story-02,
  .about-renewal-grid,
  .about-renewal-04 {
    display: block;
  }

  .about-story-01 {
    padding-top: 0;
  }

  .about-story-01-visual {
    margin-bottom: 28px;
  }

  .about-story-image-large {
    height: 250px;
    margin-bottom: 34px;
  }

  .about-story-title-box {
    top: -18px;
    left: 18px;
    right: 18px;
    width: auto;
    padding: 18px 18px 16px;
  }

  .about-story-title-box h3,
  .about-story-copy h3,
  .about-renewal-heading h3 {
    font-size: 28px;
    line-height: 1.12;
  }

  .about-story-title-box h4,
  .about-story-copy h4,
  .about-renewal-heading h4 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.18;
  }

  .about-story-copy-body {
    padding-top: 0;
  }

  .about-story-copy p,
  .about-renewal-grid p {
    font-size: 14px;
    line-height: 1.85;
  }

  .about-story-02 {
    margin-top: 135px;
  }

  .about-story-copy-left {
    padding-top: 0;
    margin-bottom: 28px;
  }

  .about-story-copy-left h3 {
    font-size: 34px;
    line-height: 1.08;
  }

  .about-story-copy-left h4 {
    font-size: 22px;
    line-height: 1.12;
  }

  .about-memory-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photo1 photo2"
      "photo3 photo4";
    column-gap: 12px;
    row-gap: 12px;
  }

  .about-wave {
    opacity: 0.9;
  }

  .about-wave-history {
    top: 650px;
  }

  .about-mid-hero {
    height: 430px;
  }

  .about-mid-title-stagger span:first-child {
    transform: translateX(-26px);
  }

  .about-mid-title-stagger span:last-child {
    transform: translateX(26px);
  }

  .about-renewal {
    padding: 95px 0 115px;
  }

  .about-wave-renewal {
    top: 760px;
  }

  .about-renewal-04 {
    margin-top: 150px;
  }

  .about-renewal-photo-main,
  .about-renewal-photo-small,
  .about-renewal-photo-room,
  .about-renewal-photo-night {
    width: 100%;
    height: 230px;
    margin: 28px 0;
  }

  .about-renewal-right-bottom {
    padding-top: 50px;
  }

  .about-ocean-section {
    min-height: 1250px;
  }

  .about-ocean-content-top {
    padding-top: 105px;
  }

  .about-ocean-content-bottom {
    padding-top: 230px;
  }

  .about-glass-card {
    margin-top: 42px;
    padding: 26px 22px;
    border-radius: 18px;
  }

  .about-glass-card p {
    font-size: 13px;
    line-height: 1.95;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 44px;
  }

  .about-mid-content h2,
  .about-ocean-content h2 {
    font-size: 38px;
  }

  .about-mid-content p,
  .about-ocean-en {
    font-size: 14px;
  }

  .about-history-inner {
    width: calc(100% - 32px);
  }

  .about-wave-history {
    top: 690px;
  }

  .about-wave-renewal {
    top: 800px;
  }

  .about-memory-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo1"
      "photo2"
      "photo3"
      "photo4";
  }

  .about-memory-photo {
    aspect-ratio: auto;
    height: 190px;
  }

  .about-story-title-box h3,
  .about-story-copy h3,
  .about-renewal-heading h3 {
    font-size: 25px;
  }

  .about-story-copy-left h3 {
    font-size: 30px;
  }

  .about-story-copy-left h4 {
    font-size: 19px;
  }

  .about-mid-title-stagger span:first-child {
    transform: translateX(-18px);
  }

  .about-mid-title-stagger span:last-child {
    transform: translateX(18px);
  }
}
