:root {
  --cream: #f8f5ef;
  --ocean: #dcecf2;
  --sand: #d8b98a;
  --ink: #1f2a30;
  --slate: #6d7477;
  --soft: #8a8a8a;
  --white: #ffffff;
  --shadow-soft: 0 28px 90px rgba(31, 42, 48, 0.13);
  --shadow-card: 0 18px 55px rgba(31, 42, 48, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(216, 185, 138, 0.4);
}

.container {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(248, 245, 239, 0.76);
  backdrop-filter: blur(20px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
  padding: 16px 0;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 48, 0.1);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(31, 42, 48, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg);
}

.brand-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: min(74vw, 720px);
  overflow-x: auto;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 8px 24px rgba(31, 42, 48, 0.06);
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--slate);
  font-size: 14px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
  background: var(--ink);
}

.section,
.section-hero {
  position: relative;
  overflow: hidden;
}

.section {
  padding-block: clamp(96px, 9vw, 144px);
}

.cream {
  background: var(--cream);
}

.white {
  background: #fff;
}

.soft-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(220, 236, 242, 0.9), transparent 26%),
    radial-gradient(circle at 78% 12%, rgba(216, 185, 138, 0.25), transparent 22%),
    radial-gradient(circle at 70% 84%, rgba(220, 236, 242, 0.7), transparent 32%);
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.32'/%3E%3C/svg%3E");
}

.hero {
  min-height: 100vh;
  padding-top: 96px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 48px;
  padding-block: clamp(64px, 7vw, 96px) 80px;
}

.decor-circle {
  position: absolute;
  left: 7%;
  top: 128px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 1px solid rgba(216, 185, 138, 0.3);
}

.decor-blur {
  position: absolute;
  right: 9%;
  bottom: 80px;
  width: 144px;
  height: 144px;
  border-radius: 999px;
  background: rgba(220, 236, 242, 0.72);
  filter: blur(42px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.42em;
}

.eyebrow.small {
  margin-bottom: 0;
  font-size: 11px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.chips span,
.tag-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 24px rgba(31, 42, 48, 0.06);
}

.chips span {
  padding: 9px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.hero h1,
.section-title h2,
.creative-map h3,
.skill-grid h3,
.strength-grid h3,
.gallery-card h3,
.lifestyle-tags h3,
.floating-note strong,
.motto strong,
.future h2 {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  font-size: clamp(92px, 14vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero-slogan {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.45;
}

.hero-desc,
.section-title p,
.body-text {
  color: var(--slate);
  font-size: 17px;
  line-height: 2;
}

.hero-desc {
  max-width: 600px;
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 18px 48px rgba(31, 42, 48, 0.16);
}

.button.secondary {
  border: 1px solid rgba(31, 42, 48, 0.1);
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
}

.hero-visual {
  position: relative;
}

.image-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-frame {
  padding: 12px;
  border-radius: 48px;
}

.hero-frame > img {
  height: min(74vh, 720px);
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  border-radius: 40px;
}

.floating-note {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.note-left {
  left: -24px;
  top: 64px;
  transform: rotate(-8deg);
  border-radius: 24px;
  padding: 18px 20px;
}

.floating-note strong {
  display: block;
  color: var(--ink);
  font-size: 32px;
}

.floating-note span {
  display: block;
  margin-top: 2px;
  color: var(--slate);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.note-bottom {
  right: 32px;
  bottom: -20px;
  border-radius: 24px;
  padding: 17px 20px;
  background: rgba(248, 245, 239, 0.92);
}

.note-bottom span {
  color: var(--sand);
  font-weight: 700;
}

.mini-polaroid {
  position: absolute;
  right: -16px;
  top: 36px;
  transform: rotate(6deg);
  width: 128px;
  border-radius: 28px;
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.mini-polaroid img {
  height: 144px;
  object-fit: cover;
  border-radius: 22px;
}

.about-grid,
.practice-grid,
.lifestyle-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.practice-grid,
.lifestyle-grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.about-images {
  position: relative;
}

.polaroid {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px 14px 20px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.rotate-left {
  transform: rotate(-2deg);
}

.rotate-right {
  transform: rotate(3deg);
}

.polaroid img {
  height: 620px;
  border-radius: 23px;
  object-fit: cover;
  object-position: center;
}

.polaroid figcaption {
  margin-top: 16px;
  color: var(--slate);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.small-card {
  position: absolute;
  right: 16px;
  bottom: -32px;
  width: 168px;
  padding: 12px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.small-card img {
  height: 176px;
  object-fit: cover;
  border-radius: 20px;
}

.section-title {
  max-width: 760px;
}

.section-title.centered {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-title p:not(.eyebrow) {
  margin: 22px 0 0;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.info-cards article,
.creative-map,
.skill-grid article,
.strength-grid article,
.timeline article,
.lifestyle-tags article,
.gallery-card {
  border: 1px solid rgba(31, 42, 48, 0.05);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 12px 30px rgba(31, 42, 48, 0.05);
}

.info-cards article {
  border-color: rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  padding: 20px;
  backdrop-filter: blur(16px);
}

.info-cards span {
  display: block;
  margin-bottom: 12px;
  color: var(--sand);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.info-cards strong {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 650;
}

.body-text {
  margin: 32px 0 0;
}

.section-float .container {
  position: relative;
  z-index: 2;
}

.blur-a,
.blur-b {
  position: absolute;
  border-radius: 999px;
  filter: blur(44px);
  pointer-events: none;
}

.blur-a {
  left: -80px;
  top: 96px;
  width: 288px;
  height: 288px;
  background: rgba(220, 236, 242, 0.62);
}

.blur-b {
  right: 40px;
  bottom: -96px;
  width: 288px;
  height: 288px;
  background: rgba(216, 185, 138, 0.2);
}

.skills-head {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: end;
}

.creative-map {
  border-radius: 40px;
  background: rgba(248, 245, 239, 0.82);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}

.creative-map h3 {
  margin: 0;
  font-size: 34px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tag-cloud span {
  padding: 12px 16px;
  color: var(--ink);
  font-size: 14px;
}

.skill-grid,
.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.skill-grid article {
  border-radius: 32px;
  background: #fff;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skill-grid article:hover,
.strength-grid article:hover,
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.skill-grid i {
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: 28px;
  background: var(--sand);
  transition: width 0.25s ease;
}

.skill-grid article:hover i {
  width: 80px;
}

.skill-grid h3 {
  margin: 0;
  font-size: 26px;
}

.skill-grid p,
.timeline p,
.strength-grid p:not(.eyebrow),
.gallery-card p,
.lifestyle-tags p {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.9;
}

.strength-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strength-grid article {
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.62);
  padding: 28px;
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.card-top span {
  border-radius: 999px;
  background: rgba(220, 236, 242, 0.8);
  padding: 8px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.card-top b {
  color: rgba(216, 185, 138, 0.5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  font-weight: 400;
}

.strength-grid h3 {
  margin: 12px 0 20px;
  font-size: 42px;
}

.strength-grid p:not(.eyebrow) {
  font-size: 16px;
  line-height: 2;
}

.timeline {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.timeline article {
  display: flex;
  gap: 20px;
  border-radius: 30px;
  background: rgba(248, 245, 239, 0.76);
  padding: 20px;
}

.timeline span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #fff;
  color: var(--sand);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.timeline h3 {
  margin: 0;
  font-size: 18px;
}

.timeline p {
  margin: 8px 0 0;
}

.practice-image,
.lifestyle-image {
  position: relative;
}

.practice-image > img,
.lifestyle-image > img {
  border-radius: 48px;
  box-shadow: var(--shadow-soft);
}

.practice-note {
  left: -20px;
  bottom: -24px;
  border-radius: 28px;
  padding: 20px;
}

.masonry {
  columns: 3 320px;
  column-gap: 24px;
  margin-top: 56px;
}

.gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 24px;
  overflow: hidden;
  break-inside: avoid;
  border-color: rgba(255, 255, 255, 0.76);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.62);
  padding: 12px;
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card img {
  height: 420px;
  object-fit: cover;
  border-radius: 30px;
  transition: transform 0.7s ease;
}

.gallery-card.tall img {
  height: 520px;
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-card div {
  padding: 20px 12px 8px;
}

.gallery-card h3 {
  margin: 0;
  font-size: 26px;
}

.gallery-card p {
  margin: 8px 0 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.lifestyle-image span {
  position: absolute;
  left: 24px;
  top: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 12px 20px;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  backdrop-filter: blur(14px);
}

.lifestyle-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.lifestyle-tags article {
  border-radius: 30px;
  background: rgba(248, 245, 239, 0.76);
  padding: 24px;
}

.lifestyle-tags h3 {
  margin: 0;
  font-size: 34px;
}

.lifestyle-tags p {
  margin: 12px 0 0;
  color: var(--sand);
  letter-spacing: 0.16em;
}

.future {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding-block: clamp(112px, 9vw, 144px);
  color: #fff;
  background: var(--ink);
}

.future > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.future-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink), rgba(31, 42, 48, 0.92), rgba(31, 42, 48, 0.48));
}

.future-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  text-align: center;
}

.future h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.15;
}

.future-inner > p:not(.eyebrow) {
  max-width: 780px;
  margin: 30px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 2;
}

.motto {
  margin-top: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.1);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.motto strong {
  display: block;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.55;
}

.motto span {
  display: block;
  margin-top: 22px;
  color: var(--sand);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.36em;
}

.footer {
  background: var(--cream);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(31, 42, 48, 0.1);
  padding-top: 32px;
  color: var(--slate);
  font-size: 14px;
}

.footer-inner p:last-child {
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .practice-grid,
  .lifestyle-grid,
  .skills-head {
    grid-template-columns: 1fr;
  }

  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame > img {
    height: 640px;
  }

  .about-images {
    order: 2;
  }
}

@media (max-width: 760px) {
  .container,
  .nav-shell {
    width: min(100% - 28px, 1280px);
  }

  .brand-text,
  .note-left,
  .mini-polaroid,
  .small-card,
  .decor-circle,
  .decor-blur {
    display: none;
  }

  .nav-shell {
    gap: 12px;
  }

  .nav-links {
    max-width: calc(100vw - 88px);
  }

  .nav-links a {
    padding: 9px 13px;
  }

  .hero {
    padding-top: 84px;
  }

  .hero-grid {
    gap: 38px;
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(86px, 28vw, 118px);
  }

  .hero-frame {
    border-radius: 34px;
  }

  .hero-frame > img {
    min-height: 0;
    height: 560px;
    border-radius: 27px;
  }

  .polaroid img {
    height: 520px;
  }

  .info-cards,
  .skill-grid,
  .lifestyle-tags {
    grid-template-columns: 1fr;
  }

  .masonry {
    columns: 1;
  }

  .gallery-card img,
  .gallery-card.tall img {
    height: auto;
    max-height: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .section {
    padding-block: 82px;
  }

  .chips span {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .hero-slogan {
    font-size: 28px;
  }

  .hero-frame > img,
  .polaroid img {
    height: 470px;
  }

  .section-title h2 {
    font-size: 34px;
  }

  .future h2 {
    font-size: 34px;
  }

  .motto strong {
    font-size: 28px;
  }
}

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

  *,
  .reveal,
  .reveal.is-visible {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
