* {
  box-sizing: border-box;
}

:root {
  --red: #b9142c;
  --red-dark: #8f0f22;
  --gold: #c89a25;
  --ink: #22232a;
  --muted: #6f7180;
  --line: rgba(91, 82, 77, 0.12);
  --page: #f8f5f3;
  --white: #ffffff;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body {
  background:
    radial-gradient(
      circle at 10% 8%,
      rgba(215, 157, 169, 0.18),
      transparent 27%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(224, 193, 123, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 70% 88%,
      rgba(157, 184, 173, 0.13),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      #fbf8f6 0%,
      #f5f3f7 52%,
      #f8f4ef 100%
    );
}

a {
  color: inherit;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(116, 91, 82, 0.1);
  background: rgba(255, 252, 250, 0.84);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  width: min(1180px, calc(100% - 28px));
  min-height: 58px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-brand {
  color: #241e1d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.7vw, 35px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-chinese {
  color: var(--red);
}

.brand-dotcom {
  color: var(--gold);
  font-size: 0.64em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: #49434a;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--red);
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #c61734,
    #a60f28
  );
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(185, 20, 44, 0.2);
}

/* Page */

.profile-page {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 58px;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: #655f68;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.back-link:hover {
  color: var(--red);
}

.profile-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 248, 245, 0.78)
    );
  box-shadow: 0 22px 55px rgba(65, 46, 39, 0.1);
  backdrop-filter: blur(14px);
}

/* Gallery */

.profile-gallery {
  width: 250px;
  min-width: 0;
}

.main-photo-frame {
  position: relative;
  overflow: hidden;
  width: 250px;
  height: 300px;
  border-radius: 19px;
  background: #eceff2;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.48),
    0 14px 34px rgba(54, 38, 33, 0.11);
}

.main-photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(
    transparent,
    rgba(21, 16, 15, 0.11)
  );
  pointer-events: none;
}

.main-profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewed-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(30, 24, 25, 0.68);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.photo-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.photo-thumbnail {
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #eee;
  cursor: pointer;
}

.photo-thumbnail.is-active {
  border-color: var(--red);
}

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

/* Summary */

.profile-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.profile-kicker,
.section-kicker {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-heading h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.profile-heading h1 span {
  color: var(--red);
}

.profile-location {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.profile-trust {
  display: flex;
  margin: 22px 0;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-trust span {
  padding: 7px 10px;
  border: 1px solid rgba(111, 87, 78, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #5b5660;
  font-size: 10px;
  font-weight: 780;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
}

.profile-facts > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(111, 87, 78, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.profile-facts dt {
  margin-bottom: 4px;
  color: #817982;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 0;
  color: #39343c;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
}

.profile-action-card {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(185, 20, 44, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 247, 247, 0.9),
      rgba(250, 241, 230, 0.82)
    );
}

.profile-action-card p {
  margin: 0 0 12px;
  color: #5f5861;
  font-size: 13px;
  line-height: 1.5;
}

.profile-action-card > a,
.profile-action-card button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #c61835,
    #a60f28
  );
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(185, 20, 44, 0.2);
}

.profile-action-card button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.profile-action-card span {
  display: block;
  margin-top: 10px;
  color: #7b747d;
  font-size: 11px;
  text-align: center;
}

.profile-action-card span a {
  color: var(--red);
  font-weight: 800;
}

/* Story cards */

.profile-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  margin-top: 22px;
}

.profile-story-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 249, 246, 0.78)
    );
  box-shadow: 0 14px 36px rgba(65, 46, 39, 0.07);
  backdrop-filter: blur(12px);
}

.profile-story-card.accent-card {
  background:
    linear-gradient(
      145deg,
      rgba(251, 250, 255, 0.9),
      rgba(242, 236, 248, 0.78)
    );
}

.profile-story-card h2 {
  margin: 0 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.profile-copy {
  color: #514b54;
  font-size: 15px;
  line-height: 1.75;
}

.profile-safety-note {
  display: flex;
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px solid rgba(104, 89, 82, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  align-items: center;
  gap: 10px;
  color: #6f6871;
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.profile-safety-note strong {
  color: #3c373e;
}

/* State card */

.profile-state-card {
  max-width: 620px;
  margin: 50px auto;
  padding: 44px 30px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  box-shadow: 0 18px 45px rgba(65, 46, 39, 0.08);
  backdrop-filter: blur(12px);
}

.profile-state-card h1 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
}

.profile-state-card p {
  color: var(--muted);
}

.profile-state-card a {
  color: var(--red);
  font-weight: 800;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(110, 88, 80, 0.1);
  background: rgba(255, 252, 250, 0.76);
  backdrop-filter: blur(12px);
}

.site-footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 28px));
  min-height: 64px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #77717a;
  font-size: 11px;
}

/* Responsive */

@media (max-width: 900px) {
  .profile-shell {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 20px;
  }

  .profile-facts {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-header-inner {
    display: block;
    padding: 11px 0;
    text-align: center;
  }

  .site-nav {
    margin-top: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-page {
    width: min(100% - 18px, 1180px);
    padding-top: 16px;
  }

  .profile-shell {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .profile-gallery {
    width: 250px;
    margin: 0 auto;
  }

  .main-photo-frame {
    width: 250px;
    height: 300px;
  }

  .profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-content-grid {
    gap: 14px;
    margin-top: 14px;
  }

  .profile-story-card {
    padding: 20px;
  }

  .profile-safety-note {
    display: block;
  }

  .profile-safety-note strong {
    display: block;
    margin-bottom: 5px;
  }

  .site-footer-inner {
    display: block;
    padding: 18px 0;
    text-align: center;
  }

  .site-footer-inner span {
    display: block;
    margin: 4px 0;
  }
}

@media (max-width: 450px) {
  .profile-facts {
    grid-template-columns: 1fr;
  }

  .profile-heading h1 {
    font-size: 42px;
  }

  .profile-story-card h2 {
    font-size: 26px;
  }
}
