@charset "UTF-8";

:root {
  --ink: #34263d;
  --ink-soft: #6d6075;
  --purple-950: #392342;
  --purple-900: #493055;
  --purple-800: #5d3c6d;
  --purple-700: #72508e;
  --purple-600: #8661a5;
  --purple-500: #9c75bb;
  --purple-400: #b594cd;
  --purple-300: #ceb7df;
  --purple-200: #e3d5ee;
  --purple-100: #f1e9f8;
  --purple-50: #faf7fd;
  --rose: #cc84a8;
  --rose-soft: #f4dce7;
  --cream: #fffdfb;
  --white: #fff;
  --line-green: #06c755;
  --shadow-sm: 0 12px 35px rgba(72, 45, 86, 0.08);
  --shadow-md: 0 24px 70px rgba(72, 45, 86, 0.14);
  --shadow-photo: 0 28px 70px rgba(64, 40, 78, 0.2);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --shell: min(1180px, calc(100% - 40px));
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(134, 97, 165, 0.45);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 20px;
  top: -100px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--purple-900);
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--cream);
  border-color: rgba(114, 80, 142, 0.12);
  box-shadow: 0 8px 30px rgba(72, 45, 86, 0.07);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-symbol {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--purple-700), var(--rose));
  border-radius: 50% 50% 48% 52% / 42% 48% 52% 58%;
  box-shadow: 0 10px 26px rgba(114, 80, 142, 0.22);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  transform: rotate(-5deg);
}

.brand-symbol::first-letter {
  transform: rotate(5deg);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.16em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #51445a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--purple-600);
  border-radius: 99px;
  transition: left 0.2s ease, width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  left: 0;
  width: 100%;
}

.header-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--purple-800);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(73, 48, 85, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-line span {
  color: #dcffe9;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.header-line:hover {
  background: var(--purple-700);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle-lines {
  display: grid;
  gap: 5px;
  place-items: center;
}

.nav-toggle-lines i {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 790px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 138px 0 90px;
  background:
    radial-gradient(circle at 17% 20%, rgba(255, 255, 255, 0.95) 0 9%, transparent 28%),
    linear-gradient(135deg, #fbf8fd 0%, #f3eafa 56%, #eee0f3 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -240px 32%;
  height: 390px;
  background: rgba(255, 255, 255, 0.62);
  border-radius: 50% 0 0 0;
  transform: rotate(-5deg);
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 120px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(134, 97, 165, 0.2);
  border-radius: 50%;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  left: -90px;
  bottom: 70px;
  width: 220px;
  height: 220px;
  background: rgba(222, 193, 236, 0.4);
}

.hero-glow-two {
  right: 27%;
  top: 18%;
  width: 110px;
  height: 110px;
  background: rgba(244, 220, 231, 0.55);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: var(--purple-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.eyebrow > span {
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.contact h2,
.principle-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.03em;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(43px, 5.2vw, 72px);
}

.hero h1 em {
  position: relative;
  color: var(--purple-700);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 10px;
  background: rgba(204, 132, 168, 0.18);
  border-radius: 50%;
  transform: rotate(-1deg);
}

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  box-shadow: 0 16px 34px rgba(93, 60, 109, 0.23);
}

.button-primary:hover {
  box-shadow: 0 20px 40px rgba(93, 60, 109, 0.3);
}

.button-secondary {
  color: var(--purple-800);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(114, 80, 142, 0.2);
}

.button-secondary:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  color: #65566d;
  list-style: none;
  font-size: 13px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-points span {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  color: var(--purple-700);
  background: var(--white);
  border-radius: 50%;
  font-size: 10px;
  box-shadow: 0 5px 16px rgba(72, 45, 86, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-visual figure {
  margin: 0;
  overflow: hidden;
  background: var(--purple-100);
  box-shadow: var(--shadow-photo);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-main {
  position: absolute;
  top: 38px;
  right: 34px;
  width: min(420px, 70%);
  height: 480px;
  border: 10px solid rgba(255, 255, 255, 0.76);
  border-radius: 190px 190px 34px 34px;
}

.hero-photo-main img {
  object-position: 52% center;
}

.hero-photo-small {
  position: absolute;
  z-index: 2;
  border: 7px solid rgba(255, 255, 255, 0.88);
}

.hero-photo-left {
  left: 4px;
  top: 102px;
  width: 184px;
  height: 242px;
  border-radius: 92px 92px 22px 22px;
}

.hero-photo-right {
  right: -16px;
  bottom: 2px;
  width: 218px;
  height: 164px;
  border-radius: 26px 26px 82px 26px;
}

.hero-note {
  position: absolute;
  z-index: 3;
  left: 35px;
  bottom: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px 13px 13px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero-note-heart {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--rose), var(--purple-600));
  border-radius: 50%;
  font-size: 25px;
}

.hero-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.hero-note strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
}

.hero-orbit {
  position: absolute;
  left: 135px;
  top: 25px;
  width: 110px;
  height: 110px;
  border: 1px dashed rgba(114, 80, 142, 0.32);
  border-radius: 50%;
  animation: orbit-spin 22s linear infinite;
}

.hero-orbit span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--rose);
  border-radius: 50%;
}

.hero-orbit span:first-child { left: 9px; top: 21px; }
.hero-orbit span:nth-child(2) { right: -2px; top: 52px; width: 5px; height: 5px; }
.hero-orbit span:last-child { left: 52px; bottom: -4px; width: 6px; height: 6px; }

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -26px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(114, 80, 142, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.trust-grid > div {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 112px;
  padding: 23px 25px;
}

.trust-grid > div + div {
  border-left: 1px solid var(--purple-100);
}

.trust-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--purple-600);
  background: var(--purple-100);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
}

.trust-grid p {
  display: grid;
  margin: 0;
  line-height: 1.45;
}

.trust-grid strong {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.05em;
}

.trust-grid small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 11px;
}

.section {
  padding: 120px 0;
}

.section-heading h2,
.contact h2,
.principle-card h2 {
  font-size: clamp(34px, 4vw, 51px);
}

.section-heading > p:not(.eyebrow),
.section-heading.split > p {
  color: var(--ink-soft);
}

.section-heading.centered {
  max-width: 720px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered > p:last-child {
  max-width: 640px;
  margin: 20px auto 0;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 54px;
}

.section-heading.split > p {
  margin: 0 0 7px;
}

.about {
  padding-top: 150px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 100px;
}

.about-copy {
  position: relative;
  padding-left: 38px;
  border-left: 1px solid var(--purple-200);
}

.about-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.about-copy p + p {
  margin-top: 20px;
}

.about-copy .about-lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.9;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--purple-100);
}

.about-signature > span {
  color: var(--rose);
  font-size: 28px;
}

.about-signature p {
  display: grid;
}

.about-signature strong {
  color: var(--purple-800);
  font-family: var(--serif);
  font-size: 16px;
}

.about-signature small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
}

.services {
  position: relative;
  overflow: hidden;
  background: var(--purple-50);
}

.services::before,
.services::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(134, 97, 165, 0.12);
  border-radius: 50%;
}

.services::before {
  width: 430px;
  height: 430px;
  left: -230px;
  top: -170px;
}

.services::after {
  width: 240px;
  height: 240px;
  right: -100px;
  bottom: 80px;
}

.service-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(114, 80, 142, 0.1);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(114, 80, 142, 0.22);
  box-shadow: var(--shadow-md);
}

.service-card.featured {
  color: var(--white);
  background: linear-gradient(155deg, var(--purple-800), var(--purple-600));
  border-color: transparent;
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(93, 60, 109, 0.22);
}

.service-card.featured:hover {
  transform: translateY(-18px);
}

.service-card.featured::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -62px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.service-number {
  position: absolute;
  right: 24px;
  top: 18px;
  color: var(--purple-200);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.7;
}

.featured .service-number {
  color: rgba(255, 255, 255, 0.18);
}

.service-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 60px;
  color: var(--purple-700);
  background: var(--purple-100);
  border-radius: 18px;
  font-size: 25px;
}

.featured .service-mark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.service-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
}

.service-card p {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.region-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 55px;
  margin-top: 66px;
  padding: 50px;
  color: var(--white);
  background: var(--purple-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.region-intro h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
}

.region-intro p:last-child {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.region-panel .eyebrow {
  color: var(--purple-300);
}

.region-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.region-list a {
  position: relative;
  display: grid;
  padding: 19px 54px 19px 22px;
  background: var(--purple-950);
  transition: background 0.2s ease;
}

.region-list a:hover {
  background: var(--purple-800);
}

.region-list span {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.region-list small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.region-list i {
  position: absolute;
  right: 20px;
  top: 50%;
  font-style: normal;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.region-list a:hover i {
  transform: translate(4px, -50%);
}

.process {
  background: var(--white);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: calc(16.666% - 12px);
  right: calc(16.666% - 12px);
  top: 43px;
  height: 1px;
  background: var(--purple-200);
}

.timeline li {
  position: relative;
  padding: 0 28px 24px;
  text-align: center;
}

.timeline li:nth-child(n + 4) {
  padding-top: 28px;
  border-top: 1px solid var(--purple-100);
}

.timeline li > span {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  color: var(--purple-700);
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 0 0 10px var(--white);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.timeline li:hover > span {
  color: var(--white);
  background: var(--purple-700);
  transform: scale(1.05);
}

.timeline small {
  color: var(--purple-500);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.timeline h3 {
  margin: 5px 0 9px;
  font-family: var(--serif);
  font-size: 21px;
}

.timeline p {
  max-width: 280px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 13px;
}

.profiles {
  background: linear-gradient(180deg, var(--purple-50), #fff 62%);
}

.profile-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
}

.profile-toolbar button {
  padding: 10px 19px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--purple-200);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.profile-toolbar button:hover,
.profile-toolbar button.is-active {
  color: var(--white);
  background: var(--purple-700);
  border-color: var(--purple-700);
  transform: translateY(-2px);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.profile-card {
  position: relative;
  min-height: 385px;
  overflow: hidden;
  background: var(--purple-100);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.profile-card:nth-child(4n + 2),
.profile-card:nth-child(4n + 4) {
  transform: translateY(22px);
}

.profile-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.profile-card:nth-child(4n + 2):hover,
.profile-card:nth-child(4n + 4):hover {
  transform: translateY(15px);
}

.profile-card.is-hidden {
  display: none;
}

.profile-card img {
  width: 100%;
  height: 100%;
  min-height: 385px;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.9) contrast(0.98);
  transition: transform 0.45s ease, filter 0.3s ease;
}

.profile-card:hover img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1);
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(48, 27, 58, 0.82));
  pointer-events: none;
}

.profile-card div {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: grid;
  color: var(--white);
}

.profile-card div span {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.profile-card div small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.stories {
  background: var(--white);
}

.story-gallery {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  grid-auto-rows: 250px;
  gap: 16px;
}

.story-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--purple-100);
  border-radius: var(--radius-sm);
}

.story-gallery .story-wide {
  grid-column: span 2;
}

.story-gallery .story-tall {
  grid-row: span 2;
}

.story-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.story-gallery figure:hover img {
  transform: scale(1.035);
  filter: brightness(0.82);
}

.story-gallery figure::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(44, 25, 51, 0.72));
}

.story-gallery figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 19px;
  display: grid;
  color: var(--white);
}

.story-gallery figcaption span {
  font-size: 10px;
  letter-spacing: 0.16em;
}

.story-gallery figcaption strong {
  font-family: var(--serif);
  font-size: 19px;
}

.principles {
  padding-top: 0;
}

.principle-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 100px;
  padding: 72px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-950), var(--purple-800));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.principle-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -95px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.02), 0 0 0 90px rgba(255, 255, 255, 0.02);
}

.principle-card .eyebrow {
  color: var(--purple-300);
}

.principle-quote {
  position: absolute;
  left: 38px;
  top: 15px;
  color: rgba(255, 255, 255, 0.07);
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
}

.principle-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.principle-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 23px;
  color: var(--purple-200);
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.faq {
  background: var(--purple-50);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
}

.faq .section-heading > p:last-child {
  max-width: 360px;
  margin-top: 20px;
}

.faq-list {
  border-top: 1px solid var(--purple-200);
}

.faq-list details {
  border-bottom: 1px solid var(--purple-200);
}

.faq-list summary {
  position: relative;
  padding: 23px 52px 23px 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  content: "";
  background: var(--purple-700);
  transition: transform 0.2s ease;
}

.faq-list summary span {
  right: 10px;
  top: 50%;
  width: 18px;
  height: 2px;
}

.faq-list summary span::after {
  left: 8px;
  top: -8px;
  width: 2px;
  height: 18px;
}

.faq-list details[open] summary span::after {
  transform: scaleY(0);
}

.faq-list details p {
  margin: -4px 52px 22px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 105px 0;
  color: var(--white);
  background: linear-gradient(125deg, #6f4c86 0%, #8a62a2 58%, #a8779a 100%);
}

.contact::before {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -75%;
  width: 55%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.contact .eyebrow.light {
  color: var(--purple-100);
}

.contact-copy > p:last-child {
  max-width: 570px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.73);
}

.line-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(47, 28, 56, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.line-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(47, 28, 56, 0.27);
}

.line-wordmark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--line-green);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.line-card > span:nth-child(2) {
  display: grid;
}

.line-card small {
  color: var(--ink-soft);
  font-size: 11px;
}

.line-card strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 22px;
}

.line-card > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--purple-700);
  background: var(--purple-100);
  border-radius: 50%;
  font-style: normal;
  transition: transform 0.2s ease;
}

.line-card:hover > i {
  transform: translateX(4px);
}

.contact-rings {
  position: absolute;
  right: 0;
  top: 0;
}

.contact-rings i {
  position: absolute;
  right: -70px;
  top: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.contact-rings i:nth-child(2) { right: -25px; top: -105px; width: 270px; height: 270px; }
.contact-rings i:nth-child(3) { right: 20px; top: -60px; width: 180px; height: 180px; }

.site-footer {
  padding: 75px 0 22px;
  color: rgba(255, 255, 255, 0.72);
  background: #2f2135;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.72fr 0.85fr;
  gap: 80px;
}

.brand-light .brand-copy strong {
  color: var(--white);
}

.brand-light .brand-copy small {
  color: rgba(255, 255, 255, 0.48);
}

.footer-brand > p {
  max-width: 470px;
  margin: 22px 0 0;
  font-size: 13px;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 13px;
}

.footer-nav strong,
.footer-contact strong {
  margin-bottom: 7px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  margin-top: 5px;
  color: var(--purple-300);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:last-child {
  max-width: 700px;
  text-align: right;
}

.floating-line {
  position: fixed;
  z-index: 800;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px 10px 10px;
  color: var(--white);
  background: var(--line-green);
  border: 3px solid var(--white);
  border-radius: 99px;
  box-shadow: 0 12px 32px rgba(0, 90, 37, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-line:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0, 90, 37, 0.32);
}

.floating-line span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--line-green);
  background: var(--white);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
}

.floating-line strong {
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.26s; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .header-line { display: none; }
  .hero-grid { grid-template-columns: 0.96fr 1.04fr; gap: 32px; }
  .hero-photo-main { right: 10px; }
  .hero-photo-right { right: -8px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { transform: none; }
  .service-card.featured:hover { transform: translateY(-8px); }
  .profile-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-card:nth-child(4n + 2),
  .profile-card:nth-child(4n + 4) { transform: none; }
  .profile-card:hover { transform: translateY(-7px); }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 760px); }
  .site-header,
  .site-header.is-scrolled,
  body.nav-open .site-header {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header-inner { min-height: 74px; }
  .site-nav {
    position: fixed;
    inset: 74px 0 0;
    z-index: 1001;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    padding: 26px max(22px, calc((100vw - 760px) / 2));
    min-height: calc(100vh - 74px);
    min-height: calc(100dvh - 74px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--cream);
    background-image: linear-gradient(180deg, var(--cream) 0%, var(--purple-50) 100%);
    box-shadow: inset 0 1px 0 var(--purple-100);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav a { padding: 18px 4px; border-bottom: 1px solid var(--purple-100); font-family: var(--serif); font-size: 20px; }
  .site-nav a::after { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .hero { padding-top: 116px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-points { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { width: min(100%, 640px); margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--purple-100); }
  .trust-grid > div:nth-child(4) { border-top: 1px solid var(--purple-100); }
  .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-copy { padding-left: 0; border-left: 0; }
  .section-heading.split { grid-template-columns: 1fr; gap: 18px; }
  .region-panel { grid-template-columns: 1fr; gap: 35px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .timeline li, .timeline li:nth-child(n + 4) { padding: 22px; border-top: 0; }
  .timeline li { border: 1px solid var(--purple-100); border-radius: var(--radius); }
  .timeline li > span { box-shadow: none; }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .story-gallery { grid-template-columns: 1fr 1fr; }
  .story-gallery .story-wide { grid-column: span 1; }
  .story-gallery .story-tall { grid-row: span 1; }
  .principle-card { grid-template-columns: 1fr; gap: 36px; padding: 52px; }
  .principle-copy { padding: 30px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr; gap: 50px; }
  .footer-contact { grid-column: span 2; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  html { scroll-padding-top: 76px; }
  .brand-symbol { width: 43px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { font-size: 9px; }
  .section { padding: 86px 0; }
  .hero { min-height: auto; padding: 112px 0 68px; }
  .hero h1 { font-size: clamp(38px, 12.5vw, 52px); }
  .hero-lead { font-size: 15px; line-height: 1.9; }
  .hero-actions { display: grid; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
  .hero-visual { min-height: 445px; }
  .hero-photo-main { top: 18px; right: 7%; width: 72%; height: 370px; border-width: 7px; }
  .hero-photo-left { left: -3%; top: 86px; width: 132px; height: 180px; border-width: 5px; }
  .hero-photo-right { right: -2%; bottom: 0; width: 166px; height: 126px; border-width: 5px; }
  .hero-note { left: 4%; bottom: 38px; padding: 9px 12px 9px 9px; }
  .hero-note-heart { width: 36px; height: 36px; }
  .hero-orbit { display: none; }
  .trust-strip { margin-top: 0; background: var(--white); }
  .trust-grid { grid-template-columns: 1fr; border-radius: 0; border-inline: 0; box-shadow: none; }
  .trust-grid > div { min-height: 88px; padding: 17px 10px; }
  .trust-grid > div + div, .trust-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--purple-100); }
  .about { padding-top: 90px; }
  .section-heading h2, .contact h2, .principle-card h2 { font-size: 34px; }
  .about-copy .about-lead { font-size: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-mark { margin-bottom: 40px; }
  .region-panel { padding: 31px 24px; border-radius: 24px; }
  .region-list { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 13px; }
  .timeline li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; text-align: left; }
  .timeline li > span { width: 64px; height: 64px; margin: 0; }
  .timeline p { max-width: none; }
  .profile-toolbar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .profile-toolbar::-webkit-scrollbar { display: none; }
  .profile-toolbar button { flex: 0 0 auto; }
  .profile-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .profile-card, .profile-card img { min-height: 280px; }
  .profile-card div { left: 13px; right: 13px; bottom: 12px; }
  .profile-card div span { font-size: 15px; }
  .story-gallery { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .principle-card { padding: 38px 26px; border-radius: 24px; }
  .faq-list summary { font-size: 16px; }
  .contact { padding: 78px 0; }
  .line-card { padding: 19px; gap: 13px; }
  .line-wordmark { width: 52px; height: 52px; border-radius: 17px; font-size: 11px; }
  .line-card strong { font-size: 18px; }
  .line-card > i { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { display: grid; }
  .footer-bottom p:last-child { text-align: left; }
  .floating-line { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
