:root {
  --paper: #fdfaf4;
  --ink: #2b2926;
  --muted: #746e66;
  --line: rgba(43, 41, 38, 0.12);
  --violet: #6f8b7a;
  --lime: #e4d3ae;
  --coral: #c9714f;
  --sky: #cfd9d2;
  --pink: #e6cdb9;
  --radius: 28px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("assets/stone-texture.jpg");
  background-size: 1000px 1000px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(540px 540px at 88% 4%, rgba(111, 139, 122, 0.16), transparent 70%),
    radial-gradient(420px 420px at 4% 44%, rgba(228, 211, 174, 0.28), transparent 70%),
    radial-gradient(460px 460px at 96% 78%, rgba(201, 113, 79, 0.12), transparent 70%);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: 110px 0; }

h1, h2, h3, p { margin-top: 0; }

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

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 18px 0;
}

.nav-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(253, 250, 244, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(43, 41, 38, 0.06);
}

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

.brand-mark-img { display: block; width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }

.brand-words { display: flex; flex-direction: column; gap: 2px; }
.brand-words strong { font-size: 20px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); white-space: nowrap; }
.brand-words small { font-size: 10px; font-weight: 800; letter-spacing: 0.22em; color: #a8842c; line-height: 1; }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links > a:not(.nav-cta) {
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #5a544c;
  transition: background 0.2s, color 0.2s;
}

.nav-links > a:not(.nav-cta):hover { background: #edf1ea; color: var(--violet); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(43, 41, 38, 0.22); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding-top: 170px; padding-bottom: 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #27c98a;
  box-shadow: 0 0 0 4px rgba(39, 201, 138, 0.16);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(39, 201, 138, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(39, 201, 138, 0.04); }
}

.hero-kicker { margin: 28px 0 10px; font-size: 18px; font-weight: 600; color: var(--muted); }
.hero-kicker strong { color: var(--ink); }

.hero h1 {
  font-size: clamp(52px, 6.2vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 900;
  margin-bottom: 24px;
}

.highlight {
  background: linear-gradient(105deg, #6f8b7a 8%, #b0895f 52%, #c9714f 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.period { color: var(--coral); }

.hero-lead {
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 30px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 24px rgba(43, 41, 38, 0.18);
}

.btn-ghost { background: rgba(255, 255, 255, 0.8); border-color: var(--line); }
.btn-ghost:hover { background: #fff; box-shadow: 0 12px 24px rgba(43, 41, 38, 0.08); }

.hero-stats { display: flex; gap: 34px; margin-top: 46px; }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-size: 34px; line-height: 1; letter-spacing: -0.04em; }
.stat strong span { font-size: 16px; color: var(--violet); }
.stat > span { font-size: 13px; color: var(--muted); }

.hero-art { position: relative; min-height: 510px; display: grid; place-items: center; }

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(111, 139, 122, 0.3);
  animation: spin 40s linear infinite;
}

.orbit-one { width: 480px; height: 480px; }
.orbit-two { width: 370px; height: 370px; border-color: rgba(201, 113, 79, 0.24); animation-direction: reverse; animation-duration: 32s; }

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

.art-card {
  position: relative;
  width: 350px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(43, 41, 38, 0.16);
  transform: rotate(-4deg);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-14px); }
}

.art-card-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(43, 41, 38, 0.07);
}

.bar-dot { width: 9px; height: 9px; border-radius: 50%; }
.bar-dot-a { background: var(--coral); }
.bar-dot-b { background: #d9c39a; }
.bar-dot-c { background: #9bb59e; }
.bar-title { margin-left: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--muted); }

.art-canvas {
  position: relative;
  height: 290px;
  background: #ece6d9;
  overflow: hidden;
}

.canvas-circle {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--violet);
  top: -50px;
  left: -45px;
}

.canvas-blob {
  position: absolute;
  width: 170px;
  height: 170px;
  background: var(--lime);
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
  right: -30px;
  bottom: -40px;
  transform: rotate(24deg);
}

.canvas-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(43, 41, 38, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(43, 41, 38, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 65%);
}

.canvas-word {
  position: absolute;
  left: 26px;
  bottom: 28px;
  z-index: 2;
  font-size: 35px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  text-shadow: 0 3px 18px rgba(43, 41, 38, 0.18);
}

.canvas-word em { font-style: normal; color: var(--ink); }

.art-card-info { padding: 16px 20px 20px; }
.mini-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--violet); margin-bottom: 4px; }
.art-card-info strong { font-size: 17px; }

.sticker {
  position: absolute;
  z-index: 3;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(23, 20, 37, 0.14);
}

.sticker-lime { background: var(--lime); top: 76px; right: 0; transform: rotate(8deg); }
.sticker-violet { background: var(--violet); color: #fff; bottom: 70px; left: -10px; transform: rotate(-7deg); }
.squiggle { position: absolute; width: 160px; color: var(--coral); right: 10px; bottom: 6px; }

.marquee {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(240, 235, 222, 0.8);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; font-size: 20px; font-weight: 900; letter-spacing: -0.02em; white-space: nowrap; }
.marquee-track i { width: 9px; height: 9px; margin: 0 28px; border-radius: 50%; background: var(--coral); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.section-about { background: rgba(245, 241, 232, 0.72); }

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 96px; align-items: center; }

.portrait-wrap { position: relative; max-width: 440px; }

.portrait {
  position: relative;
  aspect-ratio: 4 / 4.3;
  border-radius: 36px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #d8c5a6 0%, #b08d72 48%, #6f8b7a 100%);
  box-shadow: 0 30px 70px rgba(43, 41, 38, 0.2);
}

.portrait-shape-one {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  top: -70px;
  right: -60px;
}

.portrait-shape-two {
  position: absolute;
  width: 320px;
  height: 210px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.65;
  bottom: -80px;
  left: -70px;
  transform: rotate(-18deg);
}

.portrait-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 82%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(23, 20, 37, 0.24));
}

.portrait-caption {
  position: absolute;
  z-index: 3;
  left: 22px;
  bottom: 22px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
}

.float-chip {
  position: absolute;
  z-index: 4;
  padding: 12px 20px;
  border-radius: 16px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(23, 20, 37, 0.14);
}

.chip-top { top: 44px; right: -28px; transform: rotate(8deg); }
.chip-bottom { bottom: 58px; left: -30px; transform: rotate(-7deg); background: var(--lime); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--violet);
}

.section-label::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }

.about-copy h2, .section-head h2, .contact-head-text h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  margin: 18px 0 22px;
}

.about-copy p, .section-head p, .contact-head-text > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.underline-scribble { position: relative; white-space: nowrap; }
.underline-scribble::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  z-index: -1;
  transform: rotate(-1.5deg);
}

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.about-tags span { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 650; }

.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 2px solid var(--violet); font-weight: 700; font-size: 15px; transition: gap 0.2s; }
.text-link:hover { gap: 16px; }

/* ---------- services ---------- */
.section-head { max-width: 640px; }
.section-head p { margin-bottom: 0; }

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

.service-card {
  position: relative;
  min-height: 306px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s;
}

.service-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 26px 50px rgba(23, 20, 37, 0.12); }

.card-violet { background: #edf1ea; }
.card-lime { background: #f6f0e2; }
.card-coral { background: #f8ece2; }
.card-sky { background: #e9efeb; }

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(23, 20, 37, 0.06);
}

.service-icon svg { width: 27px; height: 27px; }

.service-num { position: absolute; top: 28px; right: 26px; font-size: 13px; font-weight: 800; opacity: 0.42; }
.service-card h3 { margin: 34px 0 10px; font-size: 24px; letter-spacing: -0.03em; }
.service-card p { color: #5a544c; font-size: 14px; line-height: 1.75; min-height: 74px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.service-tags span { padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); font-size: 12px; font-weight: 650; }

/* ---------- works ---------- */
.section-works {
  color: #fff;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(43, 41, 38, 0.9), rgba(43, 41, 38, 0.9)), url("assets/stone-texture.jpg");
  background-size: auto, 900px 900px;
}
.section-works .section-label { color: var(--lime); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: none; }
.section-head-row h2 { margin-bottom: 0; }
.section-side-note { max-width: 260px; color: rgba(255, 255, 255, 0.55); font-size: 14px; line-height: 1.7; margin-bottom: 4px; }

.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 50px; }

.work-card {
  display: block;
  grid-column: span 2;
  background: #fff;
  color: var(--ink);
  border-radius: 26px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:nth-child(4), .work-card:nth-child(5) { grid-column: span 3; }

.work-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28); }

.work-visual { position: relative; height: 320px; overflow: hidden; background: #e9e3d6; }
.work-visual img { display: block; width: 100%; height: 100%; padding: 10px; object-fit: contain; transition: transform 0.5s ease; }
.work-card:hover .work-visual img { transform: scale(1.04); }
.zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(43, 41, 38, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
  cursor: zoom-in;
}
.work-card:hover .zoom-hint, .zoom-hint:focus-visible { opacity: 1; transform: none; }

.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 26px; }
.work-meta h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; }
.work-meta p { margin-bottom: 0; font-size: 13px; color: var(--muted); }
.work-arrow { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; font-size: 17px; transition: background 0.2s, color 0.2s; }
.work-card:hover .work-arrow { background: var(--violet); color: #fff; }

/* ---------- craft / 彩雕浮雕 ---------- */
.section-craft {
  background: linear-gradient(180deg, rgba(246, 240, 227, 0.86), rgba(250, 246, 237, 0.9));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-craft .section-side-note { color: var(--muted); }
.section-craft h2 { margin-bottom: 0; }

.craft-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }

.craft-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px rgba(43, 41, 38, 0.08);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s;
}
.craft-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(43, 41, 38, 0.15); }

.craft-card-visual { position: relative; height: 400px; padding: 14px; background: #ece6d9; }
.craft-card-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.craft-card-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(43, 41, 38, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.craft-card-body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.craft-card-body h3 { font-size: 27px; letter-spacing: -0.03em; margin-bottom: 14px; }
.craft-card-body h3 span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--violet); letter-spacing: 0; }
.craft-card-body > p { color: var(--muted); font-size: 15px; line-height: 1.85; margin-bottom: 18px; }

.craft-feature-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.craft-feature-list li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.6; color: #4b463f; }
.craft-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(111, 139, 122, 0.4);
}

.craft-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.craft-tags span { padding: 7px 13px; border-radius: 999px; background: #f3efe6; font-size: 12px; font-weight: 700; }

.craft-process {
  margin-top: 68px;
  padding: 48px 46px 44px;
  border-radius: 30px;
  color: #fff;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(43, 41, 38, 0.94), rgba(43, 41, 38, 0.94)), url("assets/stone-texture.jpg");
  background-size: auto, 840px 840px;
}
.craft-process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.craft-process .section-label { color: var(--lime); }
.craft-process-head h3 { margin: 14px 0 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; }
.craft-process-head p { max-width: 300px; margin: 0; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, 0.62); }

.craft-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.craft-step {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}
.craft-step-num { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 800; color: var(--lime); margin-bottom: 12px; }
.craft-step strong { display: block; font-size: 18px; margin-bottom: 8px; }
.craft-step p { margin: 0; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }

.craft-standards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.craft-standard { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.82); }
.craft-standard-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 13px; background: #f3efe6; color: #a8842c; font-size: 18px; font-weight: 900; }
.craft-standard strong { display: block; font-size: 16px; margin-bottom: 3px; }
.craft-standard small { display: block; font-size: 12.5px; color: var(--muted); }

.craft-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 24px;
  padding: 30px 34px;
  border: 1px solid rgba(111, 139, 122, 0.22);
  border-radius: 24px;
  background: #eef3eb;
}
.craft-cta strong { font-size: 21px; letter-spacing: -0.02em; }
.craft-cta p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.craft-cta .btn { flex: 0 0 auto; }

/* ---------- heritage ---------- */
.section-heritage { background: rgba(245, 241, 232, 0.72); }
.section-heritage .section-side-note { color: var(--muted); }
.section-heritage h2 { margin-bottom: 0; }

.heritage-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; margin-top: 56px; }

.heritage-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border: 1px solid rgba(201, 113, 79, 0.3);
  border-radius: 18px;
  background: #fff;
}
.heritage-badge-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.heritage-badge strong { display: block; font-size: 17px; }
.heritage-badge small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.heritage-facts { display: grid; gap: 0; margin: 30px 0 24px; border-top: 1px solid var(--line); }
.heritage-fact {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}
.heritage-fact small { font-size: 13px; color: var(--muted); }
.heritage-fact span { font-size: 15px; font-weight: 700; line-height: 1.5; }

.heritage-note { color: var(--muted); font-size: 14px; line-height: 1.85; margin-bottom: 0; }

.heritage-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.heritage-figure { margin: 0; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #ece6d9; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(43, 41, 38, 0.1); }
.heritage-figure img { display: block; width: 100%; height: 380px; object-fit: contain; object-position: center; padding: 12px; background: #fff; transition: transform 0.5s ease; }
.heritage-figure-craft img { object-position: center; }
.heritage-figure-doc figcaption { margin-top: auto; }
.heritage-figure:hover img { transform: scale(1.03); }
.heritage-figure figcaption {
  position: relative;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
}
.heritage-figure .zoom-hint { position: static; opacity: 1; transform: none; float: right; background: #efe9dc; color: var(--ink); margin-top: -3px; }

/* ---------- contact ---------- */
.contact-head {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: end;
}
.contact-head-text h2 { margin-bottom: 20px; }
.contact-head-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 8px; }
.contact-head-hint { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.availability { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #eef3eb; font-size: 13px; font-weight: 700; color: #4f705a; }

.contact-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.contact-list .contact-item { grid-column: span 2; }
.contact-list .contact-item:nth-child(4), .contact-list .contact-item:nth-child(5) { grid-column: span 3; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(43, 41, 38, 0.1); }

.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; background: var(--violet); color: #fff; font-weight: 800; font-size: 17px; }
.contact-item small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.contact-item a, .contact-item span:not(.contact-icon) { font-size: 15px; font-weight: 700; word-break: break-all; }
.contact-item a:hover { color: var(--violet); }
.copy-btn { margin-left: auto; flex: 0 0 auto; padding: 8px 12px; border: 0; border-radius: 10px; background: #efe9dc; color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.copy-btn:hover { background: var(--lime); }

/* ---------- footer ---------- */
.site-footer {
  color: #fff;
  padding: 76px 0 30px;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(43, 41, 38, 0.92), rgba(43, 41, 38, 0.92)), url("assets/stone-texture.jpg");
  background-size: auto, 900px 900px;
}
.footer-mark { display: block; width: 54px; height: 54px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-inner > div:first-child p { margin: 16px 0 0; color: rgba(255, 255, 255, 0.6); }
.footer-big { margin: 36px 0 26px; font-size: clamp(64px, 12.5vw, 150px); line-height: 0.95; font-weight: 900; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.42); }
.footer-period { color: var(--lime); -webkit-text-stroke: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.55); font-size: 13px; }
.footer-bottom a { color: #fff; font-weight: 700; }

/* ---------- map ---------- */
.map-block { margin-top: 72px; }

.map-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.map-head h3 {
  margin: 14px 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
}

.map-head p { margin: 0; color: var(--muted); font-size: 15px; }

.map-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.map-nav-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(43, 41, 38, 0.2); }

.map-frame {
  position: relative;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: #ece6d9;
}

#store-map { width: 100%; height: 100%; }

.map-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 30px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.map-overlay {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 5;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(253, 250, 244, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(43, 41, 38, 0.16);
  pointer-events: none;
}

.map-pin { font-size: 15px; font-weight: 800; }
.map-address { font-size: 13px; color: var(--muted); }

@media (max-width: 720px) {
  .map-head { display: block; }
  .map-nav-btn { margin-top: 18px; }
  .map-frame { height: 320px; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(28, 26, 23, 0.9);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(900px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 12px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45); }
.lightbox figcaption { margin-top: 16px; color: rgba(255, 255, 255, 0.86); font-size: 15px; font-weight: 650; }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------- toast / reveal ---------- */
.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  max-width: min(360px, calc(100% - 40px));
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 18px 40px rgba(23, 20, 37, 0.28);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.toast.show { opacity: 1; transform: translateY(0); }

html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

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

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .hero-copy { max-width: 640px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .portrait-wrap { max-width: 400px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card, .work-card:nth-child(4), .work-card:nth-child(5) { grid-column: span 1; }
  .contact-head { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .contact-list { grid-template-columns: repeat(2, 1fr); }
  .contact-list .contact-item, .contact-list .contact-item:nth-child(4), .contact-list .contact-item:nth-child(5) { grid-column: span 1; }
  .craft-card-visual { height: 340px; }
  .craft-process { padding: 38px 32px; }
  .craft-standards { grid-template-columns: repeat(2, 1fr); }
  .heritage-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .container, .nav-wrap { width: min(100% - 32px, 1180px); }
  .section { padding: 80px 0; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fdfaf4;
    box-shadow: 0 20px 50px rgba(23, 20, 37, 0.14);
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.nav-cta) { padding: 13px 16px; }
  .nav-cta { margin: 6px 0 0; justify-content: center; }
  .hero { padding-top: 130px; }
  .hero h1 { font-size: clamp(46px, 12vw, 64px); }
  .hero-stats { gap: 22px; }
  .stat strong { font-size: 28px; }
  .hero-art { min-height: 430px; }
  .orbit-one { width: 360px; height: 360px; }
  .orbit-two { width: 280px; height: 280px; }
  .art-card { width: 300px; }
  .art-canvas { height: 240px; }
  .canvas-word { font-size: 29px; }
  .sticker-lime { right: -6px; top: 56px; }
  .sticker-violet { left: -4px; }
  .marquee { margin-top: 60px; }
  .about-copy h2, .section-head h2, .contact-head-text h2 { font-size: clamp(34px, 8.5vw, 46px); }
  .service-grid, .work-grid { grid-template-columns: 1fr; }
  .zoom-hint { opacity: 1; transform: none; }
  .work-visual { height: 300px; }
  .service-card { min-height: 0; }
  .section-head-row { display: block; }
  .section-side-note { margin-top: 20px; }
  .craft-duo { grid-template-columns: 1fr; margin-top: 36px; }
  .craft-card-visual { height: 380px; }
  .craft-card-body { padding: 26px 24px 28px; }
  .craft-process { margin-top: 44px; padding: 32px 24px; border-radius: 24px; }
  .craft-process-head { display: block; }
  .craft-process-head p { margin-top: 18px; }
  .craft-steps { grid-template-columns: 1fr; margin-top: 28px; }
  .craft-standards { grid-template-columns: 1fr; }
  .craft-cta { display: block; padding: 26px 24px; }
  .craft-cta .btn { width: 100%; margin-top: 22px; }
  .heritage-gallery { grid-template-columns: 1fr; }
  .heritage-figure img { height: 420px; }
  .heritage-fact { grid-template-columns: 78px 1fr; gap: 12px; }
  .contact-list { grid-template-columns: 1fr; margin-top: 36px; }
  .contact-list .contact-item, .contact-list .contact-item:nth-child(4), .contact-list .contact-item:nth-child(5) { grid-column: span 1; }
  .footer-big { font-size: clamp(58px, 16vw, 100px); }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 460px) {
  .hero-stats { flex-wrap: wrap; row-gap: 18px; }
  .hero-actions .btn { width: 100%; }
  .portrait-logo { width: 92%; }
}
