#strategy-insights,
.residence-case-teaser {
  scroll-margin-top: 155px;
}

.residence-case-teaser {
  margin-block: 0 24px;
}

.residence-case-teaser .business-case-card-cover {
  display: block;
}

.residence-body {
  background: #18382f;
}

.residence {
  --forest: #18382f;
  --sage: #819e85;
  --paper: #f5f3ed;
  --gold: #b5a58a;
  --graphite: #282d2b;
  --muted: #46584e;
  --rule: #c9cec2;
  --electric: #a1602b;
  --data: #317456;
  --compute: #79537c;
  background: var(--paper);
  color: var(--graphite);
  font-family: Inter, Arial, "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  line-height: 1.8;
}

.residence *,
.residence *::before,
.residence *::after {
  box-sizing: border-box;
}

.residence-shell {
  width: min(1320px, calc(100% - clamp(32px, 9vw, 136px)));
  margin-inline: auto;
}

.residence h1,
.residence h2,
.residence h3,
.residence p,
.residence figure,
.residence dl,
.residence dd {
  margin: 0;
}

.residence h1,
.residence h2,
.residence h3 {
  color: var(--forest);
  line-height: 1.26;
  text-wrap: balance;
}

.residence h1 {
  font-size: clamp(2rem, 5.1vw, 5rem);
  font-weight: 650;
  letter-spacing: -.042em;
}

.residence h2 {
  font-size: clamp(1.65rem, 3.7vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -.032em;
}

.residence h3 {
  font-size: clamp(1.14rem, 2vw, 1.48rem);
  font-weight: 650;
}

.residence p,
.residence dd {
  overflow-wrap: anywhere;
}

.residence img {
  display: block;
  width: 100%;
  height: auto;
}

.residence a:focus-visible,
.residence summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.residence section[id],
.residence details[id] {
  scroll-margin-top: 84px;
}

.residence-back {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: .65em;
  color: inherit;
  font-size: .9rem;
  text-decoration: none;
}

.residence-back:hover {
  text-decoration: underline;
  text-underline-offset: .3em;
}

.residence-masthead {
  padding-block: clamp(14px, 2.2vw, 36px) clamp(24px, 4vw, 60px);
}

.residence-masthead-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .42fr);
  gap: clamp(16px, 3.4vw, 48px);
  align-items: end;
  margin-top: clamp(18px, 3vw, 43px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(20px, 3.1vw, 45px);
}

.residence-hero-en,
.residence-closing-en {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.residence .residence-hero-en {
  font-size: clamp(1.22rem, 2.5vw, 2.28rem);
  color: var(--muted);
  line-height: 1.24;
  margin-top: .45em;
}

.residence-deck {
  font-size: clamp(.99rem, 1.6vw, 1.2rem);
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: 1.1em;
}

.residence-hero-image > img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: #c3c8b9;
}

.residence-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 28px;
  padding-block: 15px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: .86rem;
}

.residence-section {
  padding-block: clamp(58px, 8vw, 122px);
}

.residence-heading {
  margin-bottom: clamp(28px, 4vw, 58px);
}

.residence-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  gap: 16px clamp(28px, 6vw, 88px);
  align-items: end;
}

.residence-heading > p,
.residence-copy > p {
  font-size: clamp(1rem, 1.65vw, 1.16rem);
}

.residence p.residence-label {
  color: #42614e;
  font: 600 .79rem/1.45 Inter, Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.residence-utilities {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  border-block: 1px solid var(--rule);
}

.residence-utilities li {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 22px 1px;
  min-height: 112px;
  border-inline-end: 1px solid var(--rule);
  color: var(--forest);
  font-weight: 650;
}

.residence-utilities svg {
  width: clamp(27px, 4vw, 46px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.residence-utilities .residence-utility-compute {
  background: var(--forest);
  color: var(--paper);
  border-inline-end: 0;
}

.residence p.residence-note {
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.65;
  margin-top: 16px;
}

.residence-architecture {
  background: #e8ece3;
}

.residence-architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3.3vw, 46px);
}

.residence-diagram {
  position: relative;
  background: #e6e6dc;
}

.residence-flow-map,
.residence-hotspots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.residence-flow-map {
  fill: none;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  pointer-events: none;
}

.residence-flow-map path {
  vector-effect: non-scaling-stroke;
}

.residence-flow-electric {
  stroke: var(--electric);
}

.residence-flow-data {
  stroke: var(--data);
  stroke-dasharray: 7 4;
}

.residence-flow-compute {
  stroke: var(--compute);
  stroke-dasharray: 2 5;
}

.residence-pin {
  position: absolute;
  inset-inline-start: var(--pin-x);
  inset-block-start: var(--pin-y);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--paper);
  font: 650 .77rem/1 Inter, Arial, sans-serif;
  text-decoration: none;
  isolation: isolate;
}

.residence-pin::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 32px;
  height: 32px;
  background: var(--forest);
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 1px 5px #192c2888;
}

.residence-pin:is(:hover, [aria-expanded="true"]) {
  color: var(--graphite);
}

.residence-pin:is(:hover, [aria-expanded="true"])::before {
  background: #e9d3a6;
  border-color: var(--forest);
}

.residence-pin:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 0;
  border-radius: 50%;
}

.residence-pin:nth-child(1) { --pin-x: 63.75%; --pin-y: 14.56%; }
.residence-pin:nth-child(2) { --pin-x: 30.88%; --pin-y: 75%; }
.residence-pin:nth-child(3) { --pin-x: 61%; --pin-y: 73.33%; }
.residence-pin:nth-child(4) { --pin-x: 46.63%; --pin-y: 53.89%; }
.residence-pin:nth-child(5) { --pin-x: 62.81%; --pin-y: 46.67%; }
.residence-pin:nth-child(6) { --pin-x: 86.25%; --pin-y: 19%; }

.residence-diagram-caption,
.residence-figure > figcaption {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 10px;
}

.residence-flow-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 7px;
  color: var(--graphite);
  font-weight: 650;
}

.residence-flow-legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.residence-flow-legend span {
  display: block;
  inline-size: 21px;
  border-top: 3px solid var(--electric);
}

.residence-flow-legend .residence-key-data {
  border-top: 3px dashed var(--data);
}

.residence-flow-legend .residence-key-compute {
  border-top: 3px dotted var(--compute);
}

.residence-system {
  border-top: 1px solid #a5b3a4;
}

.residence-system details {
  border-bottom: 1px solid #a5b3a4;
}

.residence-system summary {
  display: grid;
  grid-template-columns: 1.65rem 1fr .85rem;
  gap: .55rem;
  align-items: center;
  min-height: 47px;
  padding: 7px 3px;
  color: var(--forest);
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.35;
  scroll-margin-top: 86px;
  cursor: pointer;
  list-style: none;
}

.residence-system summary::-webkit-details-marker {
  display: none;
}

.residence-system summary::after {
  content: "";
  justify-self: end;
  width: .54rem;
  height: .54rem;
  margin-inline-end: .15rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.residence-system details[open] summary::after {
  transform: rotate(225deg);
}

.residence-system-index {
  color: #4d6655;
  font: 600 .74rem/1 Inter, Arial, sans-serif;
  letter-spacing: .04em;
}

.residence-system details p {
  padding: 0 8px 12px 2.4rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: .89rem;
}

.residence-media-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 26px clamp(24px, 6vw, 93px);
}

.residence-copy h2 {
  margin-bottom: 16px;
}

.residence-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #d5d6cc;
}

.residence-priorities,
.residence-rule-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.residence-priorities {
  counter-reset: priority;
}

.residence-priorities li,
.residence-rule-list li {
  min-height: 41px;
  display: flex;
  align-items: baseline;
  gap: .7em;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.55;
}

.residence-priorities li::before {
  counter-increment: priority;
  content: counter(priority, decimal-leading-zero);
  color: #4d6655;
  font: 600 .77rem/1.55 Inter, Arial, sans-serif;
}

.residence-gpu {
  background: var(--forest);
  color: var(--paper);
  --rule: var(--sage);
  --muted: #d1dfd0;
}

.residence-gpu h2,
.residence-gpu p.residence-label {
  color: var(--paper);
}

.residence-home-image img {
  aspect-ratio: 16 / 9;
  background: #d5d6cc;
}

.residence-equipment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.residence-equipment li {
  color: var(--forest);
  font-weight: 620;
  border-bottom: 1px solid var(--rule);
  padding: 10px 10px 10px 0;
  font-size: .93rem;
}

.residence-living,
.residence-business {
  background: #e9ece3;
}

.residence-scenarios,
.residence-products,
.residence-local dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(18px, 3.6vw, 52px);
}

.residence-scenarios > div,
.residence-local dl > div {
  border-top: 1px solid #a5b3a4;
  padding: 16px 0 20px;
}

.residence-scenarios dt,
.residence-local dt {
  color: var(--forest);
  font-size: 1.08rem;
  font-weight: 650;
}

.residence-scenarios dd,
.residence-local dd {
  color: var(--muted);
  margin-top: 5px;
}

.residence-products > div {
  padding: 20px 0 25px;
  border-block: 1px solid var(--rule);
}

.residence-products dt {
  display: grid;
  gap: .3em;
  padding-bottom: 12px;
  color: var(--forest);
  font-weight: 650;
  line-height: 1.35;
}

.residence-products dt [lang="en"] {
  font: 400 clamp(1.25rem, 2.7vw, 2.22rem)/1.2 Georgia, "Times New Roman", serif;
}

.residence-business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px clamp(24px, 7vw, 95px);
}

.residence-local {
  padding-top: clamp(26px, 5vw, 58px);
  margin-top: clamp(10px, 2vw, 30px);
}

.residence-local dl {
  margin-top: 12px;
}

.residence-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: .85rem;
}

.residence-source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: .22em;
}

.residence-closing {
  display: grid;
  align-items: end;
  min-height: clamp(410px, 43vw, 690px);
  position: relative;
  isolation: isolate;
  background: var(--forest);
  color: var(--paper);
}

.residence-closing > img,
.residence-closing::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.residence-closing > img {
  z-index: -2;
  object-fit: cover;
  object-position: 58% center;
}

.residence-closing::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #101e18f5, #101e18c4 40%, #15251e26 78%), linear-gradient(0deg, #13231c76, transparent 65%);
}

.residence-closing-copy {
  padding-block: clamp(39px, 7vw, 108px);
}

.residence-closing h2,
.residence-closing p.residence-label {
  color: var(--paper);
}

.residence-closing h2 {
  max-width: 14em;
}

.residence-closing h2 span {
  display: inline-block;
  white-space: nowrap;
}

.residence-closing h2 + p {
  max-width: 32em;
  margin-top: 15px;
}

.residence .residence-closing-en {
  margin-block: 13px 16px;
  font-size: clamp(1.08rem, 2.12vw, 1.53rem);
  line-height: 1.4;
}

.residence-closing .residence-back {
  border-bottom: 1px solid var(--gold);
}

@media (max-width: 979px) {
  .residence-architecture-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #strategy-insights,
  .residence-case-teaser {
    scroll-margin-top: 132px;
  }

  .residence-masthead-title,
  .residence-split,
  .residence-media-split,
  .residence-business-grid {
    grid-template-columns: 1fr;
  }

  .residence-gpu .residence-copy {
    grid-row: 1;
  }

  .residence-hero-image > img {
    aspect-ratio: 16 / 9;
  }

  .residence-utilities li {
    min-height: 79px;
    padding-block: 12px;
    font-size: .86rem;
  }

  .residence-equipment,
  .residence-scenarios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .residence-products,
  .residence-local dl {
    grid-template-columns: 1fr;
  }

  .residence-products > div + div {
    border-top: 0;
  }

  .residence-closing {
    align-items: end;
  }

  .residence-closing::before {
    background: linear-gradient(0deg, #101e18f5 14%, #101e18b3 72%, #101e1855);
  }
}

@media (max-width: 360px) {
  .residence-utilities svg {
    width: 24px;
  }

  .residence-pin::before {
    width: 26px;
    height: 26px;
  }

  .residence-pin {
    font-size: .68rem;
  }
}
