/* ═══════════════════════════════════════════════════════════
   文艺复兴建筑风格 · 个人主页样式
   Paletta: 羊皮纸 / 大理石 / 古铜 / 金箔 / 赭陶
   ═══════════════════════════════════════════════════════════ */

:root {
  --gold:        #b18b34;
  --gold-bright: #d6b15c;
  --gold-deep:   #7c5c1c;
  --gold-pale:   #e4d1a0;
  --gold-ink:    #5c4414;
  --gold-dim:    #6f5517;
  --brass:       #9a7a34;
  --ink:         #2b2118;
  --ink-soft:    #4a3a26;
  --parchment:   #f6f1e6;
  --parchment-2: #efe7d4;
  --card:        #fdf9ef;
  --terracotta:  #a54f2a;
  --olive:       #5f7d5a;
  --night:       #1c150e;
  --night-2:     #241a10;
  --stone:       #e7dcc0;
  --font-display: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --font-body:    "Cormorant Garamond", Georgia, "Songti SC", "STSong", serif;
  --ease-arch:    cubic-bezier(.22, .61, .36, 1);
  /* 做旧金属纹理（Wikimedia Commons, CC0, User:Sisters）与颗粒噪点 */
  --tex-gold: url("assets/tex-gold.jpg");
  --tex-aged: url("assets/tex-aged.jpg");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ── 基础 ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }

::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--parchment-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  border-radius: 8px;
  border: 2px solid var(--parchment-2);
}

.container { width: min(1120px, 92vw); margin-inline: auto; }

/* ── 全局质感：纸张噪点 ──────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 页面金框 ─────────────────────────────────────────── */
.page-frame {
  position: fixed;
  inset: 12px;
  z-index: 1100;
  pointer-events: none;
  border: 1px solid rgba(150, 120, 52, .4);
  box-shadow: 0 0 2px rgba(92, 68, 20, .18);
}
.page-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(150, 120, 52, .16);
}
.corner { position: absolute; width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .28)); }
.corner::before {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  background-image: var(--tex-aged), var(--grain), linear-gradient(135deg, #caa94e, #8a6a2c 55%, #5c4414);
  background-size: 200px, 140px, auto;
  background-blend-mode: overlay, soft-light, normal;
  transform: rotate(45deg);
  box-shadow: inset 0 1px 1px rgba(255, 244, 205, .4), inset 0 -2px 3px rgba(43, 33, 18, .5), 0 1px 2px rgba(0, 0, 0, .3);
}
.corner::after {
  content: "";
  position: absolute;
  width: 3px; height: 3px;
  background: #e8d5a0;
  transform: rotate(45deg);
  box-shadow: 0 0 2px rgba(232, 213, 160, .7);
}
.corner.tl { top: -2px; left: -2px;  border-top: 3px solid var(--gold); border-left: 3px solid var(--gold); }
.corner.tl::before { top: -6px; left: -6px; }
.corner.tl::after  { top: -3px; left: -3px; }
.corner.tr { top: -2px; right: -2px; border-top: 3px solid var(--gold); border-right: 3px solid var(--gold); }
.corner.tr::before { top: -6px; right: -6px; }
.corner.tr::after  { top: -3px; right: -3px; }
.corner.bl { bottom: -2px; left: -2px; border-bottom: 3px solid var(--gold); border-left: 3px solid var(--gold); }
.corner.bl::before { bottom: -6px; left: -6px; }
.corner.bl::after  { bottom: -3px; left: -3px; }
.corner.br { bottom: -2px; right: -2px; border-bottom: 3px solid var(--gold); border-right: 3px solid var(--gold); }
.corner.br::before { bottom: -6px; right: -6px; }
.corner.br::after  { bottom: -3px; right: -3px; }

/* ── 顶栏 ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(246, 241, 230, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .4s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(43, 33, 24, .14); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-diamond {
  width: 40px; height: 40px;
  transform: rotate(45deg);
  border: 1.6px solid #9a7a34;
  display: grid; place-items: center;
  background-image: var(--tex-gold), var(--grain), linear-gradient(180deg, rgba(214, 177, 92, .24), rgba(124, 92, 28, .06));
  background-size: 160px, 140px, auto;
  background-blend-mode: overlay, soft-light, normal;
  box-shadow: inset 0 0 0 3px var(--parchment), inset 0 0 0 3.6px rgba(154, 122, 52, .5), inset 0 2px 5px rgba(74, 55, 20, .28), 0 1px 2px rgba(0, 0, 0, .16);
  transition: transform .5s var(--ease-arch), box-shadow .5s ease;
}
.brand:hover .brand-diamond { transform: rotate(225deg); box-shadow: inset 0 0 0 3px var(--parchment), inset 0 0 0 3.6px var(--gold); }
.brand-diamond::before {
  content: "LR";
  transform: rotate(-45deg);
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold-deep);
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink);
  line-height: 1.15;
}
.brand-text em { font-style: normal; font-size: .8em; opacity: .75; }
.brand-text small {
  display: block;
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .42em;
  color: var(--gold-deep);
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav-links a {
  position: relative;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--ink-soft);
  padding: 6px 2px;
  transition: color .3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1.6px;
  background: linear-gradient(90deg, transparent, #b18b34 40%, #8a6a2c 60%, transparent);
  transform: translateX(-50%);
  transition: width .35s var(--ease-arch);
}
.nav-links a:hover, .nav-links a.active { color: #8a6a2c; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .nav-cta {
  border: 1px solid #9a7a34;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 205, .25), inset 0 -2px 4px rgba(74, 55, 20, .18);
  padding: 8px 18px;
  letter-spacing: .3em;
}
.nav-links .nav-cta:hover { background: rgba(154, 122, 52, .14); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  padding: 9px;
}
.nav-toggle span { height: 2px; background: var(--gold-deep); transition: transform .35s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 齿饰带（檐口）——做旧：双色齿 + 噪点 + 斜面高光 */
.dentil-band {
  height: 10px;
  border-bottom: 2px solid #5c4414;
  background-image: var(--grain),
    repeating-linear-gradient(90deg, #caa94e 0 7px, #8a6a2c 7px 9px, transparent 9px 18px);
  background-size: 140px, auto;
  background-blend-mode: soft-light, normal;
  box-shadow: inset 0 1px 0 rgba(255, 242, 205, .4), inset 0 -1px 1px rgba(43, 33, 18, .35), 0 1px 3px rgba(43, 33, 24, .18);
}

/* ── 按钮 ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding: .9em 2em;
  border: 1px solid #8a6a2c;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 205, .18), 0 1px 2px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: transform .3s var(--ease-arch), box-shadow .3s ease, background .3s ease, color .3s ease;
}
.btn-gold {
  background-image: var(--tex-gold), var(--grain), linear-gradient(180deg,
    #c9a84e 0%, #b8914a 16%, #8a6a2c 38%, #c9a43f 56%, #a8852e 74%, #6f5517 100%);
  background-size: 260px, 140px, auto;
  background-blend-mode: overlay, soft-light, normal;
  color: #241a0e;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 205, .5),
    inset 0 -3px 6px rgba(43, 33, 18, .4),
    inset 0 0 0 1px rgba(74, 52, 14, .5),
    0 6px 16px rgba(70, 52, 18, .3);
}
.btn-gold:hover {
  transform: translateY(-3px);
  background-image: var(--tex-gold), var(--grain), linear-gradient(180deg,
    #d6b15c 0%, #c9a43f 18%, #9a7a34 40%, #d8b45c 58%, #b8914a 76%, #7c5c1c 100%);
  background-size: 260px, 140px, auto;
  background-blend-mode: overlay, soft-light, normal;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 222, .6),
    inset 0 -3px 6px rgba(43, 33, 18, .35),
    inset 0 0 0 1px rgba(74, 52, 14, .45),
    0 12px 26px rgba(70, 52, 18, .38);
}
.btn-ghost { background: transparent; color: var(--gold-pale); border-color: rgba(177, 139, 52, .7); }
.btn-ghost:hover {
  background: linear-gradient(180deg, rgba(177, 139, 52, .14), rgba(124, 92, 28, .08));
  box-shadow: inset 0 0 0 1px rgba(214, 177, 92, .45), 0 4px 14px rgba(124, 92, 28, .2);
  color: #f4e6ba;
  transform: translateY(-3px);
}
.btn:active { transform: translateY(-1px); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }

/* ── 壹 · 门面 Hero ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 20px 110px;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 50% -8%, rgba(154, 122, 52, .30), transparent 62%),
    radial-gradient(900px 620px at 50% 116%, rgba(0, 0, 0, .6), transparent 66%),
    linear-gradient(180deg, var(--night-2), var(--night));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 96px, rgba(214, 177, 92, .035) 96px 97px),
    repeating-linear-gradient(0deg,  transparent 0 96px, rgba(214, 177, 92, .035) 96px 97px);
  pointer-events: none;
}

.hero-facade {
  position: relative;
  z-index: 2;
  width: min(880px, 94vw);
  margin-inline: auto;
  will-change: transform;
}
.hero-embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-facade::before {
  content: "";
  position: absolute;
  left: 50%; top: -70px;
  width: 640px; height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(154, 122, 52, .22), transparent);
  pointer-events: none;
}

.pediment-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .5));
}

.frieze {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(180deg, var(--stone), #dccba4);
  border-top: 1px solid rgba(124, 92, 28, .5);
  border-bottom: 1px solid var(--gold-deep);
  padding: 10px 12px;
}
.frieze-text {
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .42em;
  color: var(--gold-deep);
  white-space: nowrap;
}
.frieze-glyph { color: var(--gold); font-size: .6rem; }

.architrave {
  height: 11px;
  background: linear-gradient(180deg, #dccba4, #c3ae7d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 0 rgba(0, 0, 0, .25);
}

.facade-stage {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(8px, 3.5vw, 44px);
  padding-top: 6px;
}

.col {
  width: clamp(52px, 7.5vw, 84px);
  display: flex;
  flex-direction: column;
}
.col .cap, .col .base {
  width: 100%;
  height: auto;
  flex: none;
  display: block;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .6)) drop-shadow(0 0 10px rgba(177, 139, 52, .2));
}
.shaft {
  flex: 1;
  min-height: 150px;
  background:
    repeating-linear-gradient(90deg,
      rgba(84, 60, 22, .16) 0 2px,
      transparent 2px 9px,
      rgba(255, 255, 255, .26) 9px 11px,
      transparent 11px 19px),
    linear-gradient(90deg, #d3c195, #efe5c9 28%, #c6b083 52%, #eddfbe 78%, #bda87b);
  box-shadow: inset -12px 0 18px rgba(0, 0, 0, .22), inset 10px 0 14px rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(154, 122, 52, .25);
}

.hero-inscription {
  flex: 1;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(20px, 4.5vh, 46px) 12px;
  color: #f4ecd8;
}
.kicker {
  font-family: var(--font-display);
  font-size: clamp(.62rem, 1.5vw, .78rem);
  letter-spacing: .5em;
  color: var(--gold);
  text-indent: .5em;
  margin-bottom: 18px;
}
.kicker .star { font-size: .8em; margin: 0 .4em; vertical-align: .1em; }

.hero-inscription h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7.2vw, 4.4rem);
  letter-spacing: .05em;
  line-height: 1.1;
  color: #f2e6c4;
  text-shadow: 0 0 30px rgba(177, 139, 52, .3), 0 1px 0 rgba(255, 248, 222, .22), 0 4px 18px rgba(0, 0, 0, .55);
}
.hero-inscription h1 em {
  font-style: normal;
  font-size: .5em;
  font-weight: 500;
  opacity: .82;
  vertical-align: .14em;
}

.subtitle {
  margin-top: 16px;
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  font-weight: 500;
  letter-spacing: .22em;
  color: #d8c9a6;
}
.motto {
  margin-top: 14px;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.18rem);
  letter-spacing: .1em;
  color: #c9a87a;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 34px; }

.stylobate { width: 100%; margin-top: 10px; }
.stylobate span {
  display: block;
  margin-inline: auto;
  background: linear-gradient(180deg, #dccba4, #b7a376);
  border: 1px solid rgba(124, 92, 28, .55);
}
.stylobate span:nth-child(1) { width: 100%; height: 9px; }
.stylobate span:nth-child(2) { width: 86%; height: 9px; border-top: 0; }
.stylobate span:nth-child(3) { width: 70%; height: 11px; border-top: 0; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  width: 26px; height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 1.4px solid rgba(154, 122, 52, .55);
  border-radius: 14px;
}
.chev {
  width: 8px; height: 8px;
  margin-top: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: chevDrop 1.8s ease-in-out infinite;
}
@keyframes chevDrop {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .9; }
  50%      { transform: rotate(45deg) translate(4px, 4px); opacity: .35; }
}

/* ── 通用分区 ─────────────────────────────────────────── */
.section {
  padding: clamp(76px, 11vh, 128px) 0;
  position: relative;
}
.section:nth-of-type(even) { background: linear-gradient(180deg, var(--parchment-2), var(--parchment)); }
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 122, 52, .4), transparent);
}

.section-head { text-align: center; margin-bottom: clamp(42px, 7vh, 68px); }
.section-head .kicker { color: var(--terracotta); margin-bottom: 12px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.2vw, 2.6rem);
  letter-spacing: .12em;
  color: var(--ink);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}
.divider span { width: clamp(60px, 13vw, 150px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider span:last-child { transform: scaleX(-1); }
.divider .fleur {
  width: clamp(120px, 22vw, 190px);
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(74, 55, 20, .18));
}

/* ── 贰 · 简介 ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: minmax(270px, 380px) 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.portrait {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 200 / 260;
  margin-inline: auto;
}
.portrait .arch { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.portrait-inner {
  position: absolute;
  inset: 25% 13% 15%;
  z-index: 1;
  border-radius: 999px 999px 0 0 / 36% 36% 0 0;
  overflow: hidden;
  background:
    radial-gradient(130% 70% at 50% 0%, #43321a, #241a0e 58%, #150f08);
  box-shadow: inset 0 -22px 44px rgba(0, 0, 0, .55), inset 0 6px 18px rgba(214, 177, 92, .12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.08) contrast(1.02);
}
.portrait-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--gold-pale);
  line-height: 1.7;
  padding: 12px 8px 14px;
  background: linear-gradient(180deg, transparent, rgba(20, 14, 6, .85));
}
.portrait-caption span { font-family: var(--font-body); font-style: italic; font-weight: 500; letter-spacing: .12em; color: #c9a87a; font-size: .92em; }

.about-text p { color: var(--ink-soft); margin-bottom: 1.05em; font-size: 1.16rem; }
.about-text .lead { color: var(--ink); }
.about-text .lead::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.3em;
  line-height: .82;
  float: left;
  padding: .06em .14em 0 0;
  color: var(--terracotta);
}
.about-text em { font-style: italic; color: var(--gold-deep); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(154, 122, 52, .4);
}
.stats div { text-align: center; }
.stats dd { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; color: var(--gold-deep); line-height: 1.1; }
.stats dt {
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--terracotta);
  margin-top: 6px;
}

/* ── 叁 · 技艺 ────────────────────────────────────────── */
.orders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 34px);
}
.order-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(154, 122, 52, .38);
  text-align: center;
  padding: 42px 28px 38px;
  transition: transform .45s var(--ease-arch), box-shadow .45s ease, border-color .45s ease;
}
.order-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 18%; right: 18%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.order-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 22px 44px rgba(124, 92, 28, .18);
}
.order-card:hover::before { opacity: 1; }
.order-card-featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffaf0, #f6ecd2);
  box-shadow: 0 18px 40px rgba(124, 92, 28, .16);
  transform: translateY(-10px);
}
.order-card-featured:hover { transform: translateY(-16px); }
.order-card-featured::before { opacity: 1; }

.order-column-wrap {
  position: relative;
  display: block;
  width: clamp(84px, 12vw, 104px);
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 4px;
}
.order-column {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(74, 55, 20, .28));
}
.order-column-wrap::after {
  content: "";
  position: absolute;
  top: -12%; bottom: -12%;
  width: 55%; left: -85%;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 205, .62), transparent);
  transform: skewX(-18deg);
  transition: left .95s var(--ease-arch);
  pointer-events: none;
}
.order-card:hover .order-column-wrap::after { left: 140%; }
.order-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: .1em; color: var(--ink); }
.order-card h3 em {
  display: block;
  font-style: normal;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .4em;
  color: var(--gold-deep);
  margin-top: 6px;
}
.order-tag {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .32em;
  color: var(--terracotta);
  margin: 16px 0 12px;
}
.order-card p:last-child { color: var(--ink-soft); font-size: 1.08rem; }

/* ── 肆 · 作品（混合窗立面） ─────────────────────────── */
.works-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  grid-auto-flow: dense;
  gap: 20px 18px;
}
.w-villa    { grid-area: 1 / 1 / span 4 / span 4; }
.w-rosone   { grid-area: 1 / 5 / span 4 / span 2; }
.w-loggia   { grid-area: 5 / 1 / span 4 / span 2; }
.w-cupola   { grid-area: 5 / 3 / span 4 / span 2; }
.w-teatro   { grid-area: 5 / 5 / span 4 / span 2; }
.w-chiostro { grid-area: 9 / 1 / span 3 / span 6; }

.work-item {
  position: relative;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.work-item figcaption { flex: none; padding-top: 12px; }
.work-item figcaption h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); transition: color .3s ease; }
.work-item:hover figcaption h3 { color: var(--terracotta); }
.work-item figcaption h3 span {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: .92em;
  letter-spacing: .04em;
  color: var(--gold-deep);
  margin-top: 3px;
}
.work-item figcaption p {
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .28em;
  color: #8a7448;
  margin-top: 6px;
}

/* 窗框基础：光影跟随 + 3D 微倾斜 */
.window {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--card);
  transform-style: preserve-3d;
  transition: transform .45s var(--ease-arch), box-shadow .45s ease;
  will-change: transform;
}
.work-item:hover .window {
  transform: perspective(950px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-7px);
  box-shadow: 0 34px 60px rgba(74, 55, 20, .3), 0 0 0 1px rgba(154, 122, 52, .55), inset 0 1px 0 rgba(255, 244, 205, .28);
}
.window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(64px 64px at calc(var(--mx, 50%) + 16%) calc(var(--my, 30%) - 12%), rgba(255, 242, 205, .4), transparent 72%),
    radial-gradient(320px circle at var(--mx, 50%) var(--my, 30%), rgba(177, 139, 52, .15), transparent 62%);
  opacity: 0;
  transition: opacity .45s ease;
}
.work-item:hover .window::after { opacity: 1; }
.window .work-art {
  filter: sepia(.14) saturate(.92) contrast(1.06);
  transition: transform 1s var(--ease-arch), filter .55s ease;
}
.work-item:hover .window .work-art {
  transform: scale(1.06);
  filter: sepia(.06) saturate(1.02) contrast(1.05) brightness(1.08);
}

/* 矩形画框窗（别墅 / 回廊）：做旧金框 + 羊皮纸衬边 */
.window-rect {
  border: 1px solid #9a7a34;
  outline: 1px solid rgba(154, 122, 52, .3);
  outline-offset: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 205, .25), inset 0 0 14px rgba(74, 55, 20, .14), 0 26px 50px rgba(74, 55, 20, .18);
  padding: 7px;
  background: linear-gradient(180deg, #f6ecd2, #ecdfbd);
}
.window-rect .work-art {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  object-fit: cover;
}

/* 高拱窗（敞廊 / 穹顶 / 剧场）：圆券 + 做旧拱心石 */
.window-arch {
  border: 5px solid #8a6a2c;
  border-bottom-width: 4px;
  border-radius: 999px 999px 0 0 / 46% 46% 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 244, 205, .32), inset 0 0 0 1px rgba(74, 52, 14, .45), 0 26px 50px rgba(74, 55, 20, .22);
}
.window-arch::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 27px;
  background-image: var(--tex-aged), var(--grain), linear-gradient(180deg, #c9a84e, #8a6a2c 60%, #5c4414);
  background-size: 200px, 140px, auto;
  background-blend-mode: overlay, soft-light, normal;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  z-index: 5;
  box-shadow: inset 0 1px 0 rgba(255, 244, 205, .45), inset 0 -2px 4px rgba(43, 33, 18, .5), 0 2px 5px rgba(0, 0, 0, .35);
}
.window-arch .work-art {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: cover;
  border-radius: 999px 999px 0 0 / 45% 45% 0 0;
}

/* 圆形花窗（玫瑰窗）：做旧金环 + 羊皮纸光环（保持正圆） */
.w-rosone .window {
  flex: none;
  aspect-ratio: 1;
  width: 100%;
  margin-block: auto;
}
.window-round {
  border-radius: 50%;
  border: 6px solid #8a6a2c;
  box-shadow: inset 0 1px 0 rgba(255, 244, 205, .3), inset 0 -3px 6px rgba(43, 33, 18, .3), 0 0 0 2px rgba(124, 92, 28, .35), 0 0 0 8px rgba(243, 234, 210, .95), 0 0 0 9px rgba(154, 122, 52, .45), 0 26px 50px rgba(74, 55, 20, .24);
}
.window-round .work-art {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  border-radius: 50%;
}

/* ── 伍 · 年表 ────────────────────────────────────────── */
.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%; top: 6px; bottom: 6px;
  width: 2px;
  transform: translateX(-50%);
  background-image: var(--grain), linear-gradient(180deg, transparent, #b18b34 12%, #8a6a2c 88%, transparent);
  background-size: 140px, auto;
  background-blend-mode: soft-light, normal;
  box-shadow: 0 0 4px rgba(154, 122, 52, .3);
}
.tl-item { position: relative; width: calc(50% - 34px); margin-bottom: 46px; }
.tl-item:nth-child(odd)  { margin-right: auto; text-align: right; }
.tl-item:nth-child(even) { margin-left: auto;  text-align: left; }
.tl-item:last-child { margin-bottom: 0; }

.tl-marker {
  position: absolute;
  top: 8px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1.6px solid #9a7a34;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 5px var(--parchment), 0 0 0 6.5px rgba(154, 122, 52, .35), inset 0 1px 2px rgba(74, 55, 20, .22);
}
.tl-item:nth-child(odd)  .tl-marker { right: -47px; }
.tl-item:nth-child(even) .tl-marker { left: -47px; }
.tl-marker svg { width: 13px; height: 13px; color: var(--gold-deep); }
.tl-marker svg use { transition: none; }
.tl-item:hover .tl-marker {
  box-shadow: 0 0 0 5px var(--parchment), 0 0 0 6.5px #9a7a34, 0 0 16px rgba(154, 122, 52, .5), inset 0 1px 2px rgba(74, 55, 20, .18);
}

.tl-item time {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .3em;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.tl-card {
  display: inline-block;
  background: var(--card);
  border: 1px solid rgba(154, 122, 52, .38);
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  text-align: left;
  max-width: 100%;
  transition: transform .4s var(--ease-arch), box-shadow .4s ease, border-color .4s ease;
}
.tl-item:nth-child(even) .tl-card { border-left-color: transparent; border-right: 3px solid var(--gold); }
.tl-item:hover .tl-card {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(124, 92, 28, .16);
}
.tl-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.22rem; color: var(--ink); }
.tl-card p { color: var(--ink-soft); font-size: 1.02rem; margin-top: 4px; }

/* ── 陆 · 铭文 ────────────────────────────────────────── */
.section.motto-band {
  background:
    radial-gradient(760px 320px at 50% -20%, rgba(154, 122, 52, .24), transparent 70%),
    linear-gradient(180deg, var(--night-2), var(--night));
  text-align: center;
  padding: clamp(70px, 11vh, 120px) 0;
  border-top: 3px solid var(--gold-deep);
  border-bottom: 3px solid var(--gold-deep);
}
.motto-latin {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.4vw, 2.7rem);
  letter-spacing: .34em;
  text-indent: .34em;
  background-image: var(--tex-gold), var(--grain), linear-gradient(110deg,
    #8a6a2c 0%, #caa94e 20%, #a8852e 42%, #d6b15c 58%, #8a6a2c 80%, #6f5517 100%);
  background-size: 320px, 140px, 240% auto;
  background-blend-mode: overlay, soft-light, normal;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(124, 92, 28, .4));
  animation: goldShimmer 10s linear infinite;
}
@keyframes goldShimmer { to { background-position: 0 0, 0 0, 240% center; } }
.motto-cn {
  margin-top: 14px;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  letter-spacing: .16em;
  color: #c9a87a;
}
.motto-rule { display: flex; justify-content: center; margin-top: 26px; }
.motto-rule .fleur { width: clamp(150px, 26vw, 220px); height: auto; filter: drop-shadow(0 0 16px rgba(154, 122, 52, .35)); }

/* ── 柒 · 联络 ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}
.contact-note {
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.contact-list { margin-bottom: 30px; }
.contact-list div {
  display: flex;
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(154, 122, 52, .45);
}
.contact-list dt {
  flex: none;
  width: 5.5em;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--gold-deep);
  padding-top: 5px;
}
.contact-list dd { color: var(--ink-soft); }
.contact-list dd span { font-style: italic; color: #8a7448; }

.social { display: flex; gap: 12px; }
.social a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #9a7a34;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold-deep);
  background-image: var(--tex-gold), var(--grain), linear-gradient(180deg, #fdf9ef, #f1e7cf);
  background-size: 200px, 140px, auto;
  background-blend-mode: overlay, soft-light, normal;
  box-shadow: inset 0 0 0 2px rgba(246, 241, 230, .75), inset 0 1px 3px rgba(74, 55, 20, .2), 0 1px 2px rgba(0, 0, 0, .12);
  transition: background .3s ease, color .3s ease, transform .3s var(--ease-arch), box-shadow .3s ease;
}
.social a:hover {
  background-image: var(--tex-gold), var(--grain), linear-gradient(180deg, #caa94e, #8a6a2c);
  background-size: 200px, 140px, auto;
  background-blend-mode: overlay, soft-light, normal;
  color: var(--night);
  transform: translateY(-3px);
  box-shadow: 0 0 0 4px rgba(154, 122, 52, .22), inset 0 0 0 1px rgba(43, 33, 24, .4), inset 0 1px 0 rgba(255, 244, 205, .4), 0 8px 18px rgba(124, 92, 28, .3);
}

.contact-form {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(154, 122, 52, .42);
  padding: 36px 34px 30px;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: -1px; left: 12%; right: 12%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  color: #6b5330;
  margin-bottom: 8px;
}
.field label em { font-family: var(--font-body); font-style: italic; font-weight: 500; letter-spacing: .08em; color: #a58a52; text-transform: none; }
.field input, .field textarea {
  width: 100%;
  background: linear-gradient(180deg, #f1e8d2, #faf4e4);
  border: 1px solid #cbb98f;
  box-shadow: inset 0 1px 3px rgba(74, 55, 20, .12), inset 0 0 0 1px rgba(246, 241, 230, .65);
  border-radius: 0;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--ink);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #b39c6d; font-style: italic; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: inset 0 1px 3px rgba(74, 55, 20, .08), 0 0 0 3px rgba(154, 122, 52, .16), inset 0 0 0 1px rgba(214, 177, 92, .4);
}
.form-note { font-style: italic; font-size: .95rem; color: var(--gold-deep); margin: 4px 0 18px; }
.form-status { min-height: 1.5em; margin-top: 14px; font-style: italic; font-size: 1.02rem; }
.form-status.ok  { color: #3f6b45; }
.form-status.err { color: #a02f20; }

/* ── 页脚 ─────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--night-2), #120d07);
  color: #cbb98f;
  padding-bottom: 34px;
}
.footer-pediment { height: 30px; }
.footer-pediment span {
  display: block;
  width: min(520px, 70vw);
  height: 100%;
  margin-inline: auto;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background-image: var(--tex-gold), var(--grain), linear-gradient(180deg, #caa94e, #8a6a2c 55%, #5c4414);
  background-size: 260px, 140px, auto;
  background-blend-mode: overlay, soft-light, normal;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
  opacity: .9;
}
.footer-pediment::before {
  content: "";
  display: block;
  width: min(520px, 70vw);
  height: 6px;
  margin: -6px auto 0;
  background: repeating-linear-gradient(90deg, #b18b34 0 7px, #6f5517 7px 9px, transparent 9px 16px);
  opacity: .7;
}
.footer-inner { text-align: center; padding: 42px 0 0; }
.brand-footer .brand-diamond { width: 52px; height: 52px; margin: 0 auto 18px; }
.footer-colophon {
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: .08em;
  color: #b89a5e;
}
.footer-colophon span { font-family: var(--font-display); font-style: normal; font-size: .78rem; letter-spacing: .3em; }
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 26px;
}
.footer-nav a {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .28em;
  color: #cbb98f;
  transition: color .3s ease;
}
.footer-nav a:hover { color: var(--gold-bright); }
.footer-copy { margin-top: 24px; font-size: .85rem; letter-spacing: .14em; color: #7d6a45; }
.footer-credits { margin-top: 6px; font-size: .78rem; letter-spacing: .06em; color: #5f5138; }

/* ── 交互动效 ─────────────────────────────────────────── */

/* 顶栏滚动进度金线 */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0%;
  background-image: var(--grain), linear-gradient(90deg, #7c5c1c, #b18b34 40%, #d6b15c 65%, #8a6a2c);
  background-size: 140px, auto;
  background-blend-mode: soft-light, normal;
  box-shadow: 0 0 6px rgba(177, 139, 52, .5);
  z-index: 3;
}

/* 时间线金线随滚动描画 */
.timeline::before {
  transform: translateX(-50%) scaleY(var(--tlp, 1));
  transform-origin: top;
}

/* 分隔符金线描画 */
.js .section-head .divider span {
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 1s var(--ease-arch) .2s;
}
.js .section-head .divider span:last-child { transform-origin: left center; }
.js .section-head.in .divider span { transform: scaleX(1); }
.js .section-head.in .divider span:last-child { transform: scaleX(-1); }

/* ── 灯箱 ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  background: rgba(18, 12, 4, .88);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .35s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-frame {
  max-width: min(88vw, 1080px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #2c2010, #191009);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(154, 122, 52, .16), 0 0 0 7px rgba(154, 122, 52, .4), 0 44px 100px rgba(0, 0, 0, .65);
  padding: 14px 14px 8px;
  transform: translateY(20px) scale(.96);
  transition: transform .45s var(--ease-arch);
}
.lightbox.open .lb-frame { transform: none; }
.lb-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: 2px;
}
.lb-caption { text-align: center; padding: 14px 12px 10px; }
.lb-title { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; color: #f2e6c4; font-size: 1.05rem; }
.lb-sub { display: block; font-family: var(--font-display); font-size: .68rem; letter-spacing: .3em; color: var(--gold); margin-top: 7px; }
.lb-credit { display: block; font-style: italic; font-size: .85rem; color: #b89a5e; margin-top: 9px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none;
  border: 1px solid rgba(154, 122, 52, .6);
  color: #e8d5a0;
  font-size: 1.15rem;
  line-height: 1;
  width: 46px; height: 46px;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--night); border-color: var(--gold); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; }

/* ── 滚动显现 ─────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s var(--ease-arch);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

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

/* ── 响应式 ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .works-grid { grid-auto-rows: 112px; gap: 16px; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { width: min(340px, 80%); }
  .contact-grid { grid-template-columns: 1fr; }
  .orders-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(246, 241, 230, .98);
    border-bottom: 2px solid var(--gold-deep);
    padding: 10px 6vw 22px;
    box-shadow: 0 26px 40px rgba(43, 33, 24, .18);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .3s ease, transform .35s var(--ease-arch);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links li { border-bottom: 1px dashed rgba(154, 122, 52, .35); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 14px 4px; text-align: center; }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { border: 0; }
}

@media (max-width: 820px) {
  .orders-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .order-card-featured { transform: none; }
  .order-card-featured:hover { transform: translateY(-8px); }

  /* 作品窗：改为纵向画廊，各窗保持自身比例 */
  .works-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 460px;
    margin-inline: auto;
  }
  .work-item { height: auto; }
  .w-villa    .window { aspect-ratio: 1.72; }
  .w-rosone   .window { aspect-ratio: 1; width: min(82%, 340px); margin-inline: auto; }
  .w-loggia   .window { aspect-ratio: 0.82; }
  .w-cupola   .window { aspect-ratio: 0.82; }
  .w-teatro   .window { aspect-ratio: 0.82; }
  .w-chiostro .window { aspect-ratio: 2.7; }
  .work-item figcaption { padding-top: 16px; }
}

@media (max-width: 720px) {
  .hero { padding: 128px 16px 96px; }
  .col { display: none; }
  .frieze-text { font-size: .56rem; letter-spacing: .3em; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }

  .timeline::before { left: 16px; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    padding-left: 54px;
  }
  .tl-item:nth-child(odd) .tl-marker,
  .tl-item:nth-child(even) .tl-marker { left: 1px; right: auto; }
  .tl-item:nth-child(even) .tl-card { border-left: 3px solid var(--gold); border-right: 0; }
  .tl-item:last-child { margin-bottom: 8px; }
}
