:root {
  --warm-white: #f7f5f1;
  --paper: #eae4db;
  --wood: #c8b59b;
  --ink: #444444;
  --forest: #4d6652;
  --black: #20231f;
  --line: rgba(68, 68, 68, 0.2);
}

/* FarTrend PHP runtime additions */
.site-header{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:24px clamp(20px,4vw,64px);background:#f6f4ef;color:#20251f;border-bottom:1px solid rgba(32,37,31,.12)}
.site-header.is-dark{position:absolute;inset:0 0 auto;background:linear-gradient(180deg,rgba(0,0,0,.58),transparent);color:#fff;border:0}
.brand-mark{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none}.brand-mark img{width:42px;height:42px;object-fit:contain;background:#fff}.brand-mark span{display:flex;flex-direction:column}.brand-mark small{opacity:.7}.site-nav{display:flex;gap:20px;align-items:center}.site-nav a{font-size:14px;color:inherit;text-decoration:none}.menu-toggle{display:none;background:none;border:1px solid currentColor;color:inherit;padding:9px 12px}
.hero-backdrop{position:absolute;inset:0;background-size:cover;background-position:center;transition:opacity .5s ease}.hero{min-height:100svh;position:relative}.hero-content{position:relative;z-index:2}.hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.12))}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.project-card{display:block;color:inherit;text-decoration:none}.project-card figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:#ddd}.project-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.project-card:hover img{transform:scale(1.03)}.project-card h2{font-size:clamp(20px,2.2vw,30px);margin:8px 0}.project-card p{margin:4px 0}
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.cart-open,.add-cart,.viewer-add,.primary-button{border:0;background:#273b2c;color:#fff;padding:13px 20px;cursor:pointer}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.product-card{border-top:1px solid #aaa;padding-top:14px}.product-view{display:block;width:100%;padding:0;border:0;background:none;text-align:left;cursor:pointer}.product-view figure{aspect-ratio:1/1;margin:0 0 16px;overflow:hidden;background:#eee}.product-view img{width:100%;height:100%;object-fit:cover}.product-view h2{font-size:23px;margin:8px 0}.add-cart{width:100%;margin-top:10px}
dialog{border:0;padding:0;max-width:min(1100px,94vw);max-height:92vh;background:#f7f5ef;color:#20251f;box-shadow:0 24px 80px rgba(0,0,0,.3)}dialog::backdrop{background:rgba(12,16,13,.75)}.dialog-close{position:absolute;z-index:4;right:14px;top:10px;width:40px;height:40px;border:1px solid #aaa;background:#fff;font-size:25px;cursor:pointer}.viewer-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);min-height:620px}.viewer-main{position:relative;background:#e8e6df;display:flex;align-items:center;justify-content:center;height:520px}.viewer-main img{width:100%;height:100%;object-fit:contain}.viewer-main>button{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:54px;border:0;background:rgba(255,255,255,.86);font-size:30px}.photo-prev{left:10px}.photo-next{right:10px}.viewer-thumbs{display:flex;gap:8px;overflow:auto;padding:10px}.viewer-thumbs button{width:70px;height:70px;padding:2px;border:2px solid transparent;background:#fff;flex:0 0 auto}.viewer-thumbs button.is-active{border-color:#273b2c}.viewer-thumbs img{width:100%;height:100%;object-fit:cover}.viewer-copy{display:flex;flex-direction:column;padding:54px 34px 28px;overflow:auto}.viewer-copy h2{font-size:32px}.viewer-note{white-space:pre-line;line-height:1.8}.viewer-price{font-size:22px;margin-top:auto}.viewer-actions,.item-navigation{display:flex;gap:10px;margin-top:14px}.item-navigation button{flex:1;padding:11px;border:1px solid #999;background:transparent}
.cart-panel{width:min(760px,92vw);padding:54px 34px 34px;max-height:90vh;overflow:auto}.cart-line{display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #ccc}.cart-line img{width:72px;height:72px;object-fit:cover}.cart-line div{display:flex;flex-direction:column;gap:4px}.cart-line div:last-child{flex-direction:row;align-items:center}.cart-line button{width:34px;height:34px}.cart-total{font-size:20px;font-weight:700;padding:20px 0}.checkout-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkout-form h3,.checkout-form .checkout-note,.checkout-form button,.checkout-form .checkout-message,.checkout-form>label:has(textarea){grid-column:1/-1}.checkout-form label,.lookup-form label{display:flex;flex-direction:column;gap:6px}.checkout-form input,.checkout-form select,.checkout-form textarea,.lookup-form input{font:inherit;padding:11px;border:1px solid #aaa;background:#fff}.store-fields{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.store-fields label:last-child{grid-column:1/-1}.hp{position:absolute!important;left:-9999px!important}.checkout-message{line-height:1.7}.lookup-form{display:grid;gap:16px;max-width:620px;margin-top:36px}.lookup-result{padding-top:20px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.contact-grid a{display:block;font-size:24px;margin-bottom:12px;color:inherit}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.info-grid article{border-top:1px solid #888;padding-top:24px}.prose-section{max-width:900px}.prose-section p{font-size:18px;line-height:1.9}.prose-section blockquote{font-size:clamp(28px,4vw,50px);margin:60px 0 0}
@media(max-width:900px){.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#20251f;color:#fff;padding:20px;flex-direction:column;align-items:flex-start}.site-nav.is-open{display:flex}.project-grid,.product-grid,.info-grid{grid-template-columns:1fr 1fr}.viewer-layout{grid-template-columns:1fr;min-height:0}.viewer-main{height:48vh}.viewer-copy{max-height:38vh;padding-top:30px}.checkout-form{grid-template-columns:1fr}.checkout-form>*{grid-column:1!important}}
@media(max-width:600px){.project-grid,.product-grid,.info-grid,.contact-grid{grid-template-columns:1fr}.site-header{padding:16px 18px}.brand-mark span{display:none}.viewer-thumbs button{width:58px;height:58px}.cart-panel{padding:54px 18px 24px}.store-fields{grid-template-columns:1fr}.store-fields label{grid-column:1!important}}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 300;
}

body.intro-is-active {
  overflow: hidden;
}

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

button,
summary {
  font: inherit;
}

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

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  color: var(--warm-white);
  background: var(--black);
}

.hero-film,
.hero-frame,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-frame {
  background-position: center;
  background-size: cover;
  filter: saturate(0.72) contrast(0.92);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.35s ease;
}

.hero-frame.is-active {
  z-index: 1;
  opacity: 1;
  animation: film-drift 7.5s linear forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(26, 30, 25, 0.62), rgba(26, 30, 25, 0.1) 62%),
    linear-gradient(0deg, rgba(22, 26, 22, 0.52), transparent 44%);
}

@keyframes film-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

/* Black entrance sequence */
.home-intro {
  position: fixed;
  z-index: 500;
  inset: 0;
  overflow: hidden;
  color: rgba(247, 245, 241, 0.72);
  background: #050505;
  animation: intro-curtain 3.2s cubic-bezier(.7, 0, .2, 1) both;
  pointer-events: none;
}

.home-intro-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(190px, 24vw, 340px);
  display: grid;
  justify-items: center;
  gap: 18px;
  transform: translate(-50%, -50%);
  transform-origin: left top;
  animation: intro-logo-flight 3.2s cubic-bezier(.7, 0, .2, 1) both;
}

.home-intro-logo img {
  width: 100%;
  max-height: 96px;
  object-fit: contain;
  filter: grayscale(1) invert(1) contrast(1.35);
  mix-blend-mode: screen;
}

.home-intro-logo span {
  font-family: "Noto Serif TC", serif;
  font-size: 12px;
  letter-spacing: 0.34em;
}

.home-intro > p {
  position: absolute;
  left: 50%;
  bottom: 34px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: intro-caption 3.2s ease both;
}

@keyframes intro-logo-flight {
  0%, 38% {
    left: 50%;
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  72%, 90% {
    left: 4vw;
    top: 24px;
    opacity: 1;
    transform: translate(0, 0) scale(.46);
  }
  100% {
    left: 4vw;
    top: 24px;
    opacity: 0;
    transform: translate(0, 0) scale(.46);
  }
}

@keyframes intro-curtain {
  0%, 68% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes intro-caption {
  0%, 42% { opacity: 0; transform: translate(-50%, 8px); }
  52%, 66% { opacity: .72; transform: translate(-50%, 0); }
  78%, 100% { opacity: 0; transform: translate(-50%, -5px); }
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.site-header-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.24);
}

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

.brand-lockup > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-lockup strong {
  font-family: "Noto Serif TC", serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.brand-lockup small {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.7;
  text-transform: uppercase;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Noto Serif TC", serif;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 42px);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  border-bottom: 1px solid currentColor;
  transition: right 250ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.mobile-menu {
  display: none;
}

.hero-content {
  position: absolute;
  z-index: 3;
  left: 8vw;
  top: 50%;
  transform: translateY(-44%);
}

.hero-kicker,
.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(72px, 10vw, 158px);
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: -0.05em;
}

.hero-chinese {
  margin: 34px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.08em;
}

.hero-cta {
  margin-top: 44px;
  width: 166px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.04em;
}

/* First-version portfolio grid and project photo viewer */
body.project-viewer-is-open {
  overflow: hidden;
}

.home-project-showcase {
  padding: 130px 3vw 150px;
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 78px 1.8vw;
  align-items: start;
}

.home-project-card {
  min-width: 0;
}

.home-project-image-button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.home-project-image-button figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.home-project-image-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.76);
  transition: transform 650ms cubic-bezier(.2, .7, .2, 1), filter 450ms ease;
}

.home-project-image-button:hover img,
.home-project-image-button:focus-visible img {
  transform: scale(1.025);
  filter: saturate(0.94);
}

.home-project-image-button figure > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: white;
  background: rgba(31, 35, 31, 0.68);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.home-project-card-info {
  margin-top: 24px;
  display: block;
}

.home-project-card-info p,
.home-project-card-info h2 {
  margin: 0;
}

.home-project-card-info .home-project-card-category {
  color: rgba(68, 68, 68, 0.62);
  font-size: 14px;
  letter-spacing: 0.07em;
  line-height: 1.6;
}

.home-project-card-info h2 {
  margin-top: 7px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(20px, 1.45vw, 27px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0.02em;
}

.home-project-card-info .home-project-card-summary {
  margin-top: 12px;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(68, 68, 68, 0.58);
  font-size: 15px;
  letter-spacing: 0.035em;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-project-more {
  margin-top: 74px;
  display: flex;
  justify-content: flex-end;
}

.home-project-more a {
  min-width: 130px;
  padding: 0 0 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.project-viewer-backdrop {
  position: fixed;
  z-index: 350;
  inset: 0;
  padding: clamp(24px, 4vw, 68px);
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(28, 34, 30, 0.82);
  backdrop-filter: blur(7px);
  transition: opacity 260ms ease, visibility 260ms ease;
}

.project-viewer-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.project-viewer {
  position: relative;
  width: min(1160px, 92vw);
  height: min(780px, 88vh);
  max-height: min(780px, 88vh);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.78fr);
  color: var(--ink);
  background: var(--warm-white);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  transform: translateY(16px) scale(.985);
  transition: transform 340ms cubic-bezier(.2, .72, .18, 1);
}

.project-viewer-backdrop.is-open .project-viewer {
  transform: translateY(0) scale(1);
}

.project-viewer-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 20px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  color: var(--ink);
  background: rgba(247, 245, 241, 0.9);
  cursor: pointer;
}

.project-viewer-close span {
  font-size: 13px;
  letter-spacing: 0.1em;
}

.project-viewer-image {
  position: relative;
  min-height: 0;
  height: 100%;
  display: grid;
  place-items: center;
  background: #d8d1c5;
  overflow: hidden;
}

.project-viewer-image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  align-self: center;
}

.project-viewer-image > span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 7px 9px;
  color: white;
  background: rgba(31, 35, 31, 0.64);
  font-size: 9px;
}

.project-photo-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: white;
  background: rgba(36, 43, 37, 0.7);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.project-photo-arrow:hover,
.project-photo-arrow:focus-visible {
  background: var(--forest);
  transform: translateY(-50%) scale(1.06);
}

.project-photo-arrow-left { left: 18px; }
.project-photo-arrow-right { right: 18px; }

.project-viewer-details {
  min-height: 0;
  height: 100%;
  padding: 66px 38px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-viewer-category {
  margin: 0 0 18px;
  color: #a26d5d;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.project-viewer-details h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1.34;
}

.project-viewer-summary {
  min-height: 72px;
  margin: 18px 0 14px;
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 8px;
  font-size: 14px;
  line-height: 1.85;
  scrollbar-width: thin;
}

.project-viewer-details dl {
  margin: 0 0 16px;
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
}

.project-viewer-details dl > div {
  min-height: 42px;
  padding: 6px 0;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.project-viewer-details dt,
.project-viewer-details dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.project-viewer-details dt {
  color: rgba(68, 68, 68, 0.66);
}

.project-viewer-link {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--warm-white);
  background: var(--forest);
  font-size: 14px;
  letter-spacing: 0.09em;
}

@media (max-width: 900px) {
  .home-project-showcase {
    padding: 90px 24px 110px;
  }

  .home-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 58px 20px;
  }

  .project-viewer-backdrop {
    padding: 20px;
  }

  .project-viewer {
    width: min(760px, 95vw);
    height: auto;
    max-height: 92vh;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .project-viewer-image {
    height: auto;
    min-height: 50vh;
  }

  .project-viewer-image img {
    height: 100%;
    max-height: 54vh;
  }

  .project-viewer-details {
    min-height: auto;
    height: auto;
    padding: 50px 36px 34px;
    display: block;
    overflow: visible;
  }

  .project-viewer-summary {
    min-height: 0;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .hero-cta {
    width: 156px;
    font-size: 14px;
  }

  .home-project-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .home-project-showcase {
    padding: 75px 18px 90px;
  }

  .home-project-card-info {
    margin-top: 18px;
  }

  .project-viewer-backdrop {
    padding: 10px;
  }

  .project-viewer {
    width: 100%;
    max-height: 95vh;
  }

  .project-viewer-image {
    min-height: 42vh;
  }

  .project-viewer-image img {
    max-height: 46vh;
  }

  .project-viewer-details {
    padding: 45px 22px 28px;
  }

  .project-viewer-close {
    top: 10px;
    right: 12px;
  }

  .project-photo-arrow {
    top: 21vh;
    width: 40px;
    height: 40px;
  }

  .project-viewer-details h2 {
    font-size: 28px;
  }
}

.government-more-link {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 78px;
  border-top: 1px solid rgba(247, 245, 241, 0.2);
  transition: background 220ms ease, padding 220ms ease;
}

.government-more-link:hover,
.government-more-link:focus-visible {
  padding-left: 12px;
  background: rgba(247, 245, 241, 0.08);
}

.government-more-link span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
}

.government-more-link p {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(18px, 2vw, 28px);
}

.arrow {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  transition: transform 220ms ease;
}

a:hover .arrow,
a:focus-visible .arrow {
  transform: translate(4px, -4px);
}

a:hover .arrow-down,
a:focus-visible .arrow-down {
  transform: translateY(4px);
}

.hero-foot {
  position: absolute;
  z-index: 3;
  left: 4vw;
  right: 4vw;
  bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-film-label {
  justify-self: center;
  opacity: 0.65;
}

.hero-foot a {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-pad {
  padding: 140px 8vw;
}

.belief {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.belief-grid {
  margin-top: 76px;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 8vw;
  align-items: end;
}

.belief h2,
.section-heading h2,
.section-topline h2,
.government-title h2,
.procurement-teaser h2,
.footer-intro h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.belief-copy {
  padding-bottom: 12px;
}

.belief-copy > p {
  margin: 0 0 14px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(19px, 2vw, 29px);
  line-height: 1.7;
}

.text-link {
  margin-top: 40px;
  padding-bottom: 9px;
  display: inline-flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.practices-section {
  padding: 140px 8vw 160px;
  background: var(--paper);
}

.section-heading {
  max-width: none;
  margin-bottom: 88px;
}

.section-heading .eyebrow,
.section-topline .eyebrow,
.government-title .eyebrow,
.procurement-teaser .eyebrow,
.footer-intro .eyebrow {
  margin-bottom: 34px;
}

.practice-list {
  border-top: 1px solid var(--line);
}

.practice-row {
  min-height: 142px;
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  gap: 3vw;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, color 220ms ease;
}

.practice-row:hover {
  color: var(--forest);
  padding-left: 14px;
}

.practice-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
}

.practice-row h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 400;
  line-height: 0.9;
}

.practice-row > div p {
  margin: 10px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: 19px;
  letter-spacing: 0.16em;
}

.practice-copy {
  max-width: 360px;
  font-size: 17px;
  line-height: 2;
}

.section-topline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 74px;
}

.projects-section .section-topline h2 {
  font-size: clamp(72px, 10vw, 142px);
  line-height: 0.76;
  letter-spacing: -0.05em;
}

.projects-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.projects-title-en,
.projects-title-divider {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
}

.projects-title-divider {
  margin: 0 0.08em;
  font-size: 0.72em;
}

.projects-title-zh {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.48em;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 110px 5vw;
  align-items: start;
}

.project-card:nth-child(even) {
  margin-top: 160px;
}

.project-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.project-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.74);
  transition: transform 650ms cubic-bezier(.2,.7,.2,1), filter 450ms ease;
}

.project-card:nth-child(3) img {
  aspect-ratio: 16 / 10;
}

.project-card:hover img {
  transform: scale(1.025);
  filter: saturate(0.92);
}

.project-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 6px 8px;
  color: white;
  background: rgba(31, 35, 31, 0.66);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.project-info {
  display: grid;
  grid-template-columns: minmax(120px, 0.55fr) 1fr;
  gap: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.project-info p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.project-info h3 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(18px, 2vw, 29px);
  font-weight: 400;
  line-height: 1.5;
}

.government-feature {
  padding: 150px 8vw;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
  background: var(--forest);
  color: var(--warm-white);
}

.government-title h2 {
  font-size: clamp(40px, 5vw, 72px);
}

.government-title > p:not(.eyebrow) {
  max-width: 450px;
  margin: 40px 0 0;
  font-size: 14px;
  line-height: 2;
}

.light-link {
  color: var(--warm-white);
}

.government-list {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.government-list > div {
  min-height: 92px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.government-list span {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  opacity: 0.66;
}

.government-list p {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 15px;
  line-height: 1.7;
}

.capabilities-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10vw;
  align-items: start;
}

.section-heading.compact {
  margin: 0;
}

.section-heading.compact h2 {
  font-size: clamp(40px, 4.8vw, 67px);
}

.capability-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-cloud span {
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 2vw, 28px);
}

.process-preview {
  background: var(--paper);
}

.process-preview .section-topline h2,
.knowledge-preview .section-topline h2 {
  font-size: clamp(40px, 5vw, 70px);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
}

.process-line > div {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
}

.process-line > div:last-child {
  border-right: 0;
}

.process-line span {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
}

.process-line strong {
  margin-top: auto;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 400;
}

.process-line small {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.knowledge-card {
  min-height: 360px;
  position: relative;
  padding: 30px 32px 40px;
  border-right: 1px solid var(--line);
  transition: background 220ms ease;
}

.knowledge-card:last-child {
  border-right: 0;
}

.knowledge-card:hover {
  background: var(--paper);
}

.knowledge-card > span {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.knowledge-card h3 {
  margin: 90px 0 26px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.55;
}

.knowledge-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

.knowledge-card .arrow {
  position: absolute;
  right: 30px;
  bottom: 32px;
}

.procurement-teaser {
  padding: 110px 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8vw;
  background: var(--wood);
  color: var(--black);
}

.procurement-teaser h2 {
  font-size: clamp(36px, 4.5vw, 64px);
}

.round-link {
  flex: 0 0 190px;
  width: 190px;
  height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid rgba(32, 35, 31, 0.55);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  transition: background 250ms ease, color 250ms ease;
}

.round-link:hover {
  background: var(--forest);
  color: var(--warm-white);
}

.site-footer {
  padding: 130px 8vw 42px;
  background: var(--black);
  color: var(--warm-white);
}

.footer-intro {
  padding-bottom: 120px;
}

.footer-intro .eyebrow {
  font-size: 14px;
}

.footer-intro .text-link {
  font-size: 14px;
}

.footer-intro h2 {
  font-size: clamp(48px, 7vw, 94px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.9fr 1fr;
  gap: 5vw;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 15px;
  line-height: 2;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
}

.footer-grid p {
  margin: 0;
}

.footer-meta {
  text-align: right;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 78px;
    padding: 0 22px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    list-style: none;
    cursor: pointer;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu[open] nav {
    position: fixed;
    z-index: 100;
    inset: 78px 0 0;
    padding: 50px 24px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    background: var(--warm-white);
    color: var(--ink);
    font-family: "Noto Serif TC", serif;
    font-size: 24px;
  }

  .hero-content {
    left: 7vw;
    right: 7vw;
  }

  .hero h1 {
    font-size: clamp(62px, 19vw, 110px);
    line-height: 0.82;
  }

  .hero-foot {
    left: 22px;
    right: 22px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-film-label {
    display: none;
  }

  .section-pad,
  .practices-section,
  .government-feature {
    padding: 90px 24px;
  }

  .belief {
    min-height: auto;
  }

  .belief-grid,
  .government-feature,
  .capabilities-preview {
    grid-template-columns: 1fr;
  }

  .belief-grid {
    margin-top: 52px;
    gap: 46px;
  }

  .practice-row {
    min-height: 130px;
    grid-template-columns: 42px 1fr 26px;
  }

  .practice-copy {
    display: none;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .project-card:nth-child(even) {
    margin-top: 0;
  }

  .project-card img,
  .project-card:nth-child(3) img {
    aspect-ratio: 4 / 3;
  }

  .government-feature {
    gap: 70px;
  }

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

  .process-line > div:nth-child(2n) {
    border-right: 0;
  }

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

  .knowledge-card {
    min-height: 310px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .procurement-teaser {
    padding: 80px 24px;
  }

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

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .brand-lockup strong {
    font-size: 12px;
  }

  .hero-chinese {
    max-width: 240px;
    line-height: 1.7;
  }

  .hero-foot {
    font-size: 12px;
  }

  .section-topline {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .practice-row h3 {
    font-size: 37px;
  }

  .project-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-line > div {
    min-height: 135px;
  }

  .procurement-teaser {
    align-items: flex-start;
    flex-direction: column;
  }

  .round-link {
    align-self: flex-end;
    flex-basis: 150px;
    width: 150px;
    height: 150px;
  }

  .site-footer {
    padding: 90px 24px 34px;
  }

  .footer-intro {
    padding-bottom: 86px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    font-size: 14px;
  }
}

/* Formal commerce and order tracking */
.checkout-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.checkout-delivery-fields {
  margin: -10px 0 26px;
  padding: 20px;
  display: grid;
  gap: 16px;
  background: var(--paper);
}

.checkout-delivery-fields label,
.checkout-note-field {
  display: grid;
  gap: 8px;
  font-size: 23px;
}

.checkout-note-field {
  font-size: 17px;
}

.checkout-delivery-fields input,
.checkout-note-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: white;
  font: inherit;
}

.checkout-note-field textarea { resize: vertical; line-height: 1.7; }
.checkout-payment-note { margin: 8px 0 0; font-size: 10px; line-height: 1.7; opacity: .7; }
.seven-store-lookup { min-height: 58px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--forest); border-radius: 0; color: var(--forest); background: rgba(255,255,255,.5); font-size: 17px; text-align: left; cursor: pointer; }
.seven-store-lookup { width: 100%; font-family: inherit; }
.seven-store-lookup b { font-size: 16px; font-weight: 400; white-space: nowrap; }
.seven-store-help { margin: -4px 0 0; font-size: 21px; line-height: 1.8; opacity: .78; }
.seven-store-selected { padding: 18px; display: grid; gap: 8px; color: var(--ink); background: #edf3ed; font-size: 16px; line-height: 1.7; }
.seven-store-selected strong { margin-bottom: 2px; color: var(--forest); font-family: "Noto Serif TC", serif; font-size: 19px; font-weight: 400; }
.checkout-payment-details { margin: 10px 0 0; padding: 14px 16px; display: grid; gap: 6px; background: var(--paper); font-size: 10px; line-height: 1.7; }
.checkout-payment-details strong { font-family: "Noto Serif TC", serif; font-size: 12px; font-weight: 400; }
.checkout-shipping-note { margin: -12px 0 24px; padding: 14px 16px; color: var(--forest); background: #e8eee8; font-size: 16px; line-height: 1.8; }
.checkout-error { margin: 14px 0; padding: 12px 14px; color: #832f2f; background: #f5e5e2; font-size: 11px; line-height: 1.7; }
.checkout-final-total { margin: 2px 0 16px; font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 30px; font-weight: 500; }
.checkout-complete-link { width: 100%; min-height: 50px; display: grid; place-items: center; color: var(--warm-white); background: var(--forest); font-size: 12px; }

.order-lookup-section { background: var(--paper); }
.order-lookup-shell { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: .72fr 1.28fr; gap: 4vw; align-items: start; }
.order-lookup-form { padding: 34px; display: grid; gap: 19px; background: var(--warm-white); }
.order-lookup-form > div { margin-bottom: 12px; }
.order-lookup-form > div p,
.orders-admin-intro p,
.order-settings > div:first-child p { margin: 0 0 10px; color: var(--forest); font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.order-lookup-form h2,
.order-lookup-result h2,
.orders-admin-intro h1,
.order-settings h2 { margin: 0 0 10px; font-family: "Noto Serif TC", serif; font-weight: 400; }
.order-lookup-form h2 { font-size: 34px; }
.order-lookup-form > div span { font-size: 11px; line-height: 1.7; }
.order-lookup-form label { display: grid; gap: 8px; font-size: 11px; }
.order-lookup-form input { min-height: 50px; padding: 0 13px; border: 1px solid var(--line); border-radius: 0; background: white; font: inherit; }
.order-lookup-form > button { min-height: 52px; border: 0; color: white; background: var(--forest); cursor: pointer; }
.order-lookup-form > button:disabled { opacity: .55; }
.order-lookup-error { margin: 0; padding: 12px; color: #832f2f; background: #f5e5e2; font-size: 11px; line-height: 1.7; }

.order-lookup-result { padding: 36px; background: var(--warm-white); }
.order-lookup-result > header { padding-bottom: 26px; display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.order-lookup-result > header p { margin: 0 0 10px; font-family: "Cormorant Garamond", serif; letter-spacing: .07em; }
.order-lookup-result > header h2 { font-size: 31px; }
.order-lookup-result > header span { font-size: 10px; opacity: .6; }
.order-lookup-result > header > strong,
.order-detail-head > span { height: fit-content; padding: 8px 12px; color: var(--forest); border: 1px solid currentColor; font-size: 11px; font-weight: 400; white-space: nowrap; }
.lookup-items { padding: 12px 0; }
.lookup-items > div,
.order-detail-items > div { padding: 14px 0; display: grid; grid-template-columns: 62px 1fr auto; gap: 13px; align-items: center; border-bottom: 1px solid var(--line); }
.lookup-items img,
.order-detail-items img { width: 62px; height: 62px; object-fit: cover; }
.lookup-items span,
.order-detail-items span { display: grid; gap: 6px; }
.lookup-items strong,
.order-detail-items strong { font-family: "Noto Serif TC", serif; font-size: 13px; font-weight: 400; }
.lookup-items small,
.order-detail-items small { font-size: 10px; opacity: .65; }
.lookup-items b,
.order-detail-items b { font-size: 11px; font-weight: 400; }
.lookup-summary { margin: 20px 0 34px; }
.lookup-summary > div { padding: 9px 0; display: grid; grid-template-columns: 150px 1fr; gap: 18px; border-bottom: 1px solid var(--line); }
.lookup-summary dt { font-size: 10px; opacity: .65; }
.lookup-summary dd { margin: 0; font-size: 12px; text-align: right; }
.lookup-summary .shipment-row { margin-top: 12px; padding: 16px; color: var(--warm-white); background: var(--forest); border: 0; }
.lookup-timeline > p { margin: 0 0 7px; color: var(--forest); font: 12px "Cormorant Garamond", serif; letter-spacing: .08em; }
.lookup-timeline h3 { margin: 0 0 22px; font-family: "Noto Serif TC", serif; font-size: 24px; font-weight: 400; }
.lookup-timeline > div { position: relative; min-height: 68px; padding-left: 32px; }
.lookup-timeline > div::before { content: ""; position: absolute; left: 6px; top: 9px; bottom: -9px; border-left: 1px solid var(--wood); }
.lookup-timeline > div:last-child::before { display: none; }
.lookup-timeline > div > span { position: absolute; left: 1px; top: 5px; width: 11px; height: 11px; border: 2px solid var(--warm-white); border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.lookup-timeline > div p { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; }
.lookup-timeline strong { font-size: 12px; font-weight: 500; }
.lookup-timeline small { font-size: 9px; opacity: .55; }
.lookup-timeline em { grid-column: 1 / -1; font-size: 10px; font-style: normal; line-height: 1.7; }

/* Order administration */
.admin-header-nav { display: flex; align-items: center; gap: 22px; }
.admin-header-nav a { padding: 8px 0; border-bottom-color: transparent; opacity: .58; }
.admin-header-nav a.is-active { border-bottom-color: rgba(255,255,255,.7); opacity: 1; }
.orders-admin { width: min(1500px, calc(100% - 64px)); margin: 0 auto; padding: 54px 0 100px; }
.orders-admin-intro { margin-bottom: 34px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.orders-admin-intro h1 { font-size: clamp(38px, 5vw, 66px); }
.orders-admin-intro span,
.order-settings > div:first-child span { font-size: 12px; line-height: 1.8; }
.orders-admin-intro > button { min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.order-metrics { margin-bottom: 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.order-metrics button { min-height: 82px; padding: 15px; display: flex; justify-content: space-between; align-items: end; border: 1px solid rgba(68,68,68,.17); color: var(--ink); background: var(--warm-white); cursor: pointer; }
.order-metrics button.is-active { color: white; background: var(--forest); border-color: var(--forest); }
.order-metrics span { font-size: 10px; }
.order-metrics strong { font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 32px; font-weight: 500; }
.orders-admin-grid { display: grid; grid-template-columns: minmax(390px, .78fr) minmax(560px, 1.22fr); gap: 18px; align-items: start; }
.order-list-panel,
.order-detail-panel,
.order-settings { background: var(--warm-white); border: 1px solid rgba(68,68,68,.15); }
.order-list-tools { padding: 15px; display: grid; grid-template-columns: 1fr 145px; gap: 8px; border-bottom: 1px solid var(--line); }
.order-list-tools input,
.order-list-tools select,
.order-edit-grid input,
.order-edit-grid select,
.order-edit-grid textarea,
.order-settings-grid input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: white; font: inherit; font-size: 11px; }
.order-list { max-height: 950px; overflow-y: auto; }
.order-list > button { width: 100%; min-height: 94px; padding: 17px 15px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 13px; align-items: center; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.order-list > button.is-active { background: var(--paper); box-shadow: inset 3px 0 var(--forest); }
.order-list > button > span { display: grid; gap: 6px; }
.order-list > button strong { font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.order-list > button b { font-family: "Noto Serif TC", serif; font-size: 13px; font-weight: 400; }
.order-list > button small { font-size: 9px; opacity: .57; }
.order-list > button em { padding: 6px 8px; color: var(--forest); border: 1px solid currentColor; font-size: 9px; font-style: normal; white-space: nowrap; }
.order-empty { margin: 0; padding: 50px 22px; text-align: center; font-size: 12px; opacity: .62; }
.order-detail-panel { padding: 28px; }
.order-detail-head { padding-bottom: 22px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.order-detail-head p { margin: 0 0 6px; font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; font-size: 14px; font-weight: 500; }
.order-detail-head h2 { margin: 0; font-family: "Noto Serif TC", serif; font-size: 27px; font-weight: 400; }
.order-buyer-grid { padding: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; border-bottom: 1px solid var(--line); }
.order-buyer-grid > div { display: grid; gap: 6px; }
.order-buyer-grid small,
.order-customer-note small { font-size: 9px; opacity: .55; }
.order-buyer-grid p,
.order-buyer-grid a,
.order-customer-note p { margin: 0; font-size: 11px; line-height: 1.7; }
.order-detail-items { margin-bottom: 20px; }
.order-customer-note { margin: 18px 0; padding: 16px; background: var(--paper); }
.order-edit-grid { margin-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-edit-grid label,
.order-settings-grid label { display: grid; gap: 7px; font-size: 10px; }
.order-edit-grid .span-two { grid-column: 1 / -1; }
.order-edit-grid textarea { resize: vertical; line-height: 1.7; }
.order-admin-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.order-admin-actions button,
.order-settings > button { min-height: 50px; border: 0; color: white; background: var(--forest); cursor: pointer; }
.order-admin-actions button:last-child { color: var(--ink); border: 1px solid var(--ink); background: transparent; }
.order-admin-actions button:disabled { opacity: .4; cursor: not-allowed; }
.order-admin-status { margin: 14px 0 0; padding: 12px; color: var(--forest); background: #e8eee8; font-size: 10px; }
.order-history { margin-top: 24px; border-top: 1px solid var(--line); }
.order-history summary { padding: 18px 0; cursor: pointer; font-size: 11px; }
.order-history h3 { margin: 20px 0 10px; font-family: "Noto Serif TC", serif; font-size: 17px; font-weight: 400; }
.order-history p { margin: 0; padding: 10px 0; display: grid; grid-template-columns: 120px 100px 1fr; gap: 12px; border-bottom: 1px solid var(--line); }
.order-history span,
.order-history strong,
.order-history small { font-size: 9px; font-weight: 400; line-height: 1.6; }
.order-settings { margin-top: 34px; padding: 32px; }
.order-settings > div:first-child { margin-bottom: 28px; }
.order-settings h2 { font-size: 31px; }
.order-settings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.order-settings > button { min-width: 180px; margin-top: 22px; padding: 0 20px; }
.order-settings > p { display: inline-block; margin-left: 18px; color: var(--forest); font-size: 10px; }
.order-settings > .email-service-status { display: block; margin: 0 0 22px; padding: 12px 14px; }
.order-settings > .email-service-status.is-ready { color: var(--forest); background: #e8eee8; }
.order-settings > .email-service-status.is-missing { color: #832f2f; background: #f5e5e2; }
.order-settings > .order-settings-help { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 22px 0 0; padding: 16px 18px; color: var(--ink); background: var(--paper); line-height: 1.8; }
.order-settings-help a { color: var(--forest); font-weight: 600; text-underline-offset: 3px; }

/* Requested three-step type increase for commerce product and administration details. */
.orders-admin-intro p,
.order-settings > div:first-child p { font-size: 15px; }
.orders-admin-intro span,
.order-settings > div:first-child span { font-size: 18px; }
.order-metrics span { font-size: 16px; }
.order-metrics strong { font-size: 38px; }
.order-list-tools input,
.order-list-tools select,
.order-edit-grid input,
.order-edit-grid select,
.order-edit-grid textarea,
.order-settings-grid input { font-size: 17px; }
.order-list > button strong { font-size: 21px; }
.order-list > button b { font-size: 19px; }
.order-list > button small,
.order-list > button em { font-size: 15px; }
.order-empty { font-size: 18px; }
.order-detail-head p { font-size: 20px; }
.order-detail-head h2 { font-size: 33px; }
.order-detail-head > span { font-size: 17px; }
.order-buyer-grid small,
.order-customer-note small { font-size: 15px; }
.order-buyer-grid p,
.order-buyer-grid a,
.order-customer-note p { font-size: 17px; }
.order-detail-items strong { font-size: 19px; }
.order-detail-items small { font-size: 16px; }
.order-detail-items b { font-size: 17px; }
.order-edit-grid label,
.order-settings-grid label { font-size: 16px; }
.order-admin-actions button,
.order-settings > button { font-size: 16px; }
.order-admin-status { font-size: 16px; }
.order-history summary { font-size: 17px; }
.order-history h3 { font-size: 23px; }
.order-history span,
.order-history strong,
.order-history small { font-size: 15px; }
.order-settings > p { font-size: 16px; }

@media (max-width: 1100px) {
  .orders-admin-grid { grid-template-columns: 1fr; }
  .order-list { max-height: 520px; }
  .order-settings-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .order-lookup-shell { grid-template-columns: 1fr; }
  .admin-header-nav { display: none; }
  .order-metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .order-lookup-form,
  .order-lookup-result { padding: 24px; }
  .lookup-items > div,
  .order-detail-items > div { grid-template-columns: 54px 1fr; }
  .lookup-items img,
  .order-detail-items img { width: 54px; height: 54px; }
  .lookup-items b,
  .order-detail-items b { grid-column: 2; }
  .lookup-summary > div { grid-template-columns: 110px 1fr; }
  .orders-admin { width: calc(100% - 28px); padding-top: 32px; }
  .orders-admin-intro { align-items: start; flex-direction: column; }
  .order-metrics { grid-template-columns: 1fr 1fr; }
  .orders-admin-grid { display: block; }
  .order-list-panel { margin-bottom: 14px; }
  .order-list-tools { grid-template-columns: 1fr; }
  .order-list > button { grid-template-columns: 1fr auto; }
  .order-list > button > span:nth-child(2) { grid-column: 1; }
  .order-list > button em { grid-column: 2; grid-row: 1 / 3; }
  .order-detail-panel,
  .order-settings { padding: 20px; }
  .order-buyer-grid,
  .order-edit-grid,
  .order-admin-actions,
  .order-settings-grid { grid-template-columns: 1fr; }
  .order-edit-grid .span-two { grid-column: 1; }
  .order-history p { grid-template-columns: 1fr; gap: 4px; }
  .order-settings > p { display: block; margin: 12px 0 0; }
}

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

  .hero-frame.is-active {
    opacity: 1;
  }
}

/* Left navigation drawer */
body.menu-is-open {
  overflow: hidden;
}

.menu-trigger {
  width: 88px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: repeat(3, 5px);
  align-items: center;
  gap: 2px 12px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  display: none;
}

.menu-trigger > span {
  grid-column: 1;
  width: 28px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: width 220ms ease;
}

.menu-trigger > span:nth-child(2) {
  width: 20px;
}

.menu-trigger:hover > span:nth-child(2),
.menu-trigger:focus-visible > span:nth-child(2) {
  width: 28px;
}

.menu-trigger small {
  grid-column: 2;
  grid-row: 1 / 4;
  font-family: "Inter", "Noto Sans TC", sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.brand-logo-lockup {
  position: static;
  margin-right: auto;
  transform: none;
  gap: 14px;
}

.brand-logo-lockup > img {
  width: auto;
  max-width: 142px;
  height: 44px;
  object-fit: contain;
}

.brand-wordmark {
  display: flex;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  letter-spacing: 0.05em;
}

.menu-backdrop {
  position: fixed;
  z-index: 109;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(22, 25, 22, 0.58);
  backdrop-filter: blur(4px);
  transition: opacity 350ms ease, visibility 350ms ease;
}

.menu-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.navigation-edge-trigger {
  position: fixed;
  z-index: 108;
  inset: 0 auto 0 0;
  width: 22px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(247, 245, 241, 0.72);
  border: 0;
  background: transparent;
  cursor: e-resize;
}

.navigation-edge-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 28, 24, .2), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.navigation-edge-trigger > span {
  position: relative;
  width: 1px;
  height: 58px;
  background: currentColor;
  transition: height 260ms ease, opacity 260ms ease;
}

.navigation-edge-trigger > small {
  position: absolute;
  left: 4px;
  top: calc(50% + 44px);
  font-family: "Inter", "Noto Sans TC", sans-serif;
  font-size: 7px;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
  opacity: 0;
  transition: opacity 220ms ease;
}

.navigation-edge-trigger:hover::before,
.navigation-edge-trigger:focus-visible::before,
.navigation-edge-trigger:hover > small {
  opacity: 1;
}

.navigation-edge-trigger:hover > span {
  height: 88px;
}

.navigation-edge-trigger:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: -3px;
}

.navigation-edge-trigger.is-open {
  pointer-events: none;
  opacity: 0;
}

.navigation-drawer {
  position: fixed;
  z-index: 110;
  inset: 0 auto 0 0;
  width: min(520px, 92vw);
  padding: 30px 42px 34px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--warm-white);
  transform: translateX(-102%);
  transition: transform 480ms cubic-bezier(.2, .72, .18, 1);
  overflow-y: auto;
}

.navigation-drawer.is-open {
  transform: translateX(0);
}

.drawer-top {
  min-height: 55px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.drawer-top > p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.drawer-top button {
  width: 34px;
  height: 34px;
  position: relative;
  margin-top: -8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.drawer-top button span {
  position: absolute;
  left: 6px;
  top: 16px;
  width: 23px;
  height: 1px;
  background: var(--ink);
  transform: rotate(45deg);
}

.drawer-top button span:last-child {
  transform: rotate(-45deg);
}

.drawer-nav {
  padding: 22px 0 28px;
}

.drawer-primary {
  min-height: 62px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, color 220ms ease;
}

.drawer-primary:hover,
.drawer-primary:focus-visible {
  padding-left: 9px;
  color: var(--forest);
}

.drawer-primary > span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 12px;
  opacity: 0.58;
}

.drawer-nav strong {
  font-family: "Noto Serif TC", serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.drawer-nav small {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.drawer-nav-item {
  position: relative;
}

.drawer-periods {
  max-height: 0;
  padding-left: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  overflow: hidden;
  opacity: 0;
  transition: max-height 300ms ease, opacity 220ms ease, padding 300ms ease;
}

.drawer-nav-item:hover .drawer-periods,
.drawer-nav-item:focus-within .drawer-periods {
  max-height: 96px;
  padding-top: 9px;
  padding-bottom: 13px;
  opacity: 1;
}

.drawer-periods a {
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.drawer-periods a:hover,
.drawer-periods a:focus-visible {
  color: var(--forest);
  border-color: currentColor;
}

.drawer-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.drawer-line {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

.drawer-line strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 400;
}

.drawer-line-icon {
  width: 34px;
  height: 34px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-line-icon path:last-child {
  stroke-width: 1.7;
}

.drawer-socials {
  display: flex;
  gap: 8px;
}

.drawer-socials a,
.drawer-socials > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.drawer-socials a:hover,
.drawer-socials a:focus-visible {
  color: var(--warm-white);
  background: var(--forest);
  border-color: var(--forest);
}

.drawer-socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
}

.drawer-socials svg rect,
.drawer-socials svg circle:not(.icon-fill) {
  fill: none;
}

.drawer-socials > span {
  cursor: not-allowed;
  opacity: 0.28;
}

.line-consult {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: #385f44;
  box-shadow: 0 12px 35px rgba(24, 42, 30, 0.22);
}

.line-consult strong {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.line-consult span {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* Reusable art and coffee shop */
.art-curation,
.coffee-manifesto {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.art-curation {
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6vw;
}

.art-curation h2,
.coffee-manifesto h2 {
  margin: 28px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.35;
}

.art-curation h2 {
  font-size: clamp(36px, 4vw, 60px);
  white-space: nowrap;
}

.art-curation > p,
.coffee-manifesto > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 2.15;
}

.coffee-manifesto {
  align-items: start;
}

.coffee-manifesto > .eyebrow {
  grid-column: 1 / -1;
}

.coffee-manifesto h2 {
  margin-top: 20px;
}

.art-shop,
.coffee-shop {
  padding-top: 100px;
}

.shop-toolbar {
  margin-bottom: 55px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.shop-toolbar > p {
  max-width: 700px;
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}

.shop-toolbar.is-cart-only {
  justify-content: flex-end;
}

.shop-toolbar > button {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.shop-toolbar > button span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--warm-white);
  background: var(--forest);
  font-size: 10px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 86px 3vw;
}

.shop-grid-coffee {
  grid-template-columns: repeat(4, 1fr);
  gap: 72px 2vw;
}

.shop-card-image-button {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.shop-card figure {
  position: relative;
  margin: 0 0 22px;
  overflow: hidden;
  background: var(--paper);
}

.shop-card figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.62);
  transition: transform 650ms ease, filter 450ms ease;
}

.shop-card-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: rgba(31, 35, 31, 0.55);
  background: #ddd7cd;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.shop-grid-coffee .shop-card figure img {
  aspect-ratio: 1 / 1.12;
}

.shop-card:hover figure img {
  transform: scale(1.025);
  filter: saturate(0.86);
}

.shop-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 8px;
  color: white;
  background: rgba(31, 35, 31, 0.66);
  font-size: 9px;
}

.shop-image-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 10px 14px;
  color: white;
  background: rgba(31, 35, 31, 0.72);
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translate(-50%, -35%);
  transition: opacity 240ms ease, transform 240ms ease;
  white-space: nowrap;
}

.shop-card-image-button:hover .shop-image-hint,
.shop-card-image-button:focus-visible .shop-image-hint {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.shop-card > p {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.shop-card h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
}

.shop-grid-coffee .shop-card h2 {
  font-size: 18px;
}

.shop-card ul {
  min-height: 59px;
  margin: 14px 0;
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shop-card li {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 9px;
}

.shop-card > small {
  min-height: 47px;
  display: block;
  font-size: 10px;
  line-height: 1.85;
}

.shop-card-action {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.shop-card-action span {
  font-size: 11px;
}

.shop-card-action button {
  padding: 10px 13px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.shop-card-action button:hover,
.shop-card-action button:focus-visible {
  color: var(--warm-white);
  background: var(--forest);
  border-color: var(--forest);
}

.shop-card-action button:disabled,
.lightbox-action button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.product-cart {
  position: fixed;
  z-index: 120;
  inset: 0 0 0 auto;
  width: min(560px, 95vw);
  padding: 38px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--warm-white);
  transform: translateX(102%);
  transition: transform 420ms cubic-bezier(.2, .72, .18, 1);
}

.product-cart.is-open {
  transform: translateX(0);
}

.product-cart-head {
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.product-cart-head p {
  margin: 0 0 5px;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
}

.product-cart-head h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 400;
}

.product-cart-head button {
  align-self: flex-start;
  border: 0;
  font-size: 31px;
  font-weight: 200;
  background: transparent;
  cursor: pointer;
}

.checkout-progress {
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.checkout-progress > span {
  min-width: 24px;
  display: grid;
  grid-template-columns: 30px;
  gap: 6px;
  place-items: center;
  color: rgba(68, 68, 68, 0.45);
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
}

.checkout-progress > span::first-line {
  color: inherit;
}

.checkout-progress > span.is-active {
  color: #28543d;
  font-weight: 700;
}

.checkout-progress > span.is-active small {
  font-weight: 700;
}

.checkout-progress small {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 14px;
  white-space: nowrap;
}

.product-cart-list {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.product-cart-item {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.product-cart-item img {
  width: 76px;
  height: 76px;
  object-fit: cover;
}

.product-cart-item > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.product-cart-item strong {
  font-family: "Noto Serif TC", serif;
  font-size: 13px;
  font-weight: 400;
}

.product-cart-item span {
  font-size: 10px;
}

.product-cart-coffee .product-cart-item strong {
  font-size: 17px;
}

.product-cart-coffee .product-cart-item span {
  font-size: 14px;
}

.cart-quantity button:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.product-cart-foot {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.product-cart-foot > p {
  margin: 10px 0;
  font-size: 10px;
  line-height: 1.75;
}

.product-cart-coffee .product-cart-foot > p {
  font-size: 14px;
}

.checkout-order-note strong {
  font-weight: 700;
}

.cart-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.cart-summary span {
  font-size: 11px;
}

.product-cart-coffee .cart-summary span {
  font-size: 15px;
}

.cart-summary strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 400;
}

.product-cart-foot > button {
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  border: 0;
  color: var(--warm-white);
  background: var(--forest);
  cursor: pointer;
}

.product-cart-foot > button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.product-cart-foot > .cart-secondary-action,
.checkout-complete > .cart-secondary-action {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.checkout-panel {
  flex: 1;
  padding: 30px 2px;
  overflow-y: auto;
}

.checkout-demo-note {
  margin: 0 0 28px;
  padding: 14px 16px;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.8;
}

.checkout-panel > label {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 17px;
}

.checkout-panel > label input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: white;
  font: inherit;
}

/* User-requested +2 sizing for the circled contact-details area. */
.checkout-contact-panel .checkout-demo-note {
  font-size: 16px;
}

.checkout-contact-panel > label {
  font-size: 17px;
}

.checkout-contact-panel .checkout-nav-actions button {
  font-size: 16px;
}

.checkout-panel fieldset {
  margin: 0 0 26px;
  padding: 20px;
  border: 1px solid var(--line);
}

.checkout-panel legend {
  padding: 0 8px;
  font-family: "Noto Serif TC", serif;
  font-size: 21px;
}

.checkout-choice {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
}

.checkout-review {
  margin: 6px 0 26px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checkout-review span,
.checkout-review small {
  font-size: 16px;
}

.checkout-review strong {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 30px;
  font-weight: 500;
}

.checkout-review b {
  align-self: center;
  font-size: 17px;
  font-weight: 400;
  text-align: right;
}

.checkout-review small {
  grid-column: 1 / -1;
}

.checkout-nav-actions {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-nav-actions button,
.checkout-complete button {
  min-height: 50px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.checkout-nav-actions button:last-child,
.checkout-complete button:first-of-type {
  border-color: var(--forest);
  color: var(--warm-white);
  background: var(--forest);
}

.checkout-complete {
  flex: 1;
  padding: 11vh 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.checkout-complete > span {
  width: 64px;
  height: 64px;
  margin-bottom: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  font-size: 27px;
}

.checkout-complete > p:first-of-type {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.checkout-complete h3 {
  margin: 10px 0 18px;
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 400;
}

.checkout-complete > p:last-of-type {
  margin: 0 0 12px;
  font-size: 11px;
}

.checkout-complete > p.checkout-order-number {
  color: #b12828;
  font-size: 19px;
  font-weight: 500;
}

.checkout-complete > small {
  max-width: 340px;
  margin-bottom: 34px;
  font-size: 10px;
  line-height: 1.8;
}

.checkout-complete > .checkout-complete-note {
  max-width: 440px;
  font-size: 16px;
}

.checkout-complete button {
  width: 100%;
  margin-top: 10px;
}

.checkout-complete-link {
  font-size: 16px;
}

.product-cart-art .checkout-delivery-fields label {
  font-size: 19px;
}

.product-cart-art .seven-store-lookup {
  font-size: 13px;
}

.product-cart-art .seven-store-lookup b {
  font-size: 12px;
}

.product-cart-art .seven-store-help {
  font-size: 17px;
}

.product-cart-art .seven-store-selected {
  font-size: 12px;
}

.product-cart-art .seven-store-selected strong {
  font-size: 15px;
}

/* User-requested -2 sizing for the circled coffee convenience-store area. */
.product-cart-coffee .checkout-delivery-fields label {
  font-size: 15px;
}

.product-cart-coffee .seven-store-lookup {
  font-size: 13px;
}

.product-cart-coffee .seven-store-lookup b {
  font-size: 12px;
}

.product-cart-coffee .seven-store-help {
  font-size: 17px;
}

.product-cart-coffee .seven-store-selected {
  font-size: 12px;
}

.product-cart-coffee .seven-store-selected strong {
  font-size: 15px;
}

.familymart-picker-page {
  min-height: 100vh;
  padding: clamp(28px, 7vw, 86px) 20px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
}

.familymart-picker-card {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 58px);
  background: var(--warm-white);
  box-shadow: 0 24px 70px rgba(32, 35, 31, .08);
}

.familymart-picker-card > p {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}

.familymart-picker-card h1 {
  margin: 0 0 14px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 400;
}

.familymart-picker-card > span {
  display: block;
  font-size: 16px;
  line-height: 1.8;
}

.familymart-picker-grid {
  margin: 34px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.familymart-picker-grid label {
  display: grid;
  gap: 8px;
  font-size: 16px;
}

.familymart-picker-grid select {
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: white;
  font: inherit;
}

.familymart-picker-card > button {
  width: 100%;
  min-height: 56px;
  border: 0;
  color: white;
  background: var(--forest);
  font: inherit;
  cursor: pointer;
}

.familymart-picker-card > button:disabled { opacity: .5; cursor: not-allowed; }
.familymart-picker-card > a { margin-top: 18px; display: inline-block; color: var(--forest); font-size: 14px; }
.familymart-picker-error { margin: 0 0 18px; padding: 12px 14px; color: #832f2f; background: #f5e5e2; line-height: 1.7; }

@media (max-width: 620px) {
  .familymart-picker-grid { grid-template-columns: 1fr; }
}

/* User-requested +2 sizing for the complete visitor lookup experience. */
.order-lookup-form > div p { font-size: 13px; }
.order-lookup-form h2 { font-size: 38px; }
.order-lookup-form > div span,
.order-lookup-form label { font-size: 15px; }
.order-lookup-result > header p { font-size: 20px; }
.order-lookup-result > header h2 { font-size: 35px; }
.order-lookup-result > header span { font-size: 14px; }
.order-lookup-result > header > strong { font-size: 15px; }
.lookup-items strong { font-size: 17px; }
.lookup-items small { font-size: 14px; }
.lookup-items b { font-size: 15px; }
.lookup-summary dt { font-size: 14px; }
.lookup-summary dd { font-size: 16px; }
.lookup-timeline > p { font-size: 16px; }
.lookup-timeline h3 { font-size: 28px; }
.lookup-timeline strong { font-size: 16px; }
.lookup-timeline small { font-size: 13px; }
.lookup-timeline em { font-size: 14px; }

/* Centered product viewer — mirrors the first-version portfolio lightbox. */
.product-lightbox-backdrop {
  position: fixed;
  z-index: 150;
  inset: 0;
  padding: clamp(28px, 5vw, 80px);
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(22, 25, 22, 0.78);
  transition: opacity 280ms ease, visibility 280ms ease;
}

.product-lightbox-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.product-lightbox {
  position: relative;
  width: min(1180px, 92vw);
  max-height: min(780px, 86vh);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.85fr);
  color: var(--ink);
  background: var(--warm-white);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  transform: translateY(18px) scale(0.985);
  transition: transform 360ms cubic-bezier(.2, .72, .18, 1);
}

.product-lightbox-backdrop.is-open .product-lightbox {
  transform: translateY(0) scale(1);
}

.lightbox-close {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 23px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  color: var(--ink);
  background: rgba(247, 245, 241, 0.88);
  cursor: pointer;
}

.lightbox-close span {
  font-size: 9px;
  letter-spacing: 0.1em;
}

.lightbox-image-stage {
  position: relative;
  min-height: min(680px, 82vh);
  display: grid;
  place-items: center;
  background: #d8d1c5;
  overflow: hidden;
}

.lightbox-image-stage img {
  width: 100%;
  height: 100%;
  max-height: min(780px, 86vh);
  object-fit: contain;
}

.lightbox-image-stage > span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 9px;
  color: white;
  background: rgba(31, 35, 31, 0.64);
  font-size: 9px;
}

.lightbox-thumbnails {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 72px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 7px;
  scrollbar-color: rgba(255, 255, 255, 0.75) rgba(31, 35, 31, 0.45);
  scrollbar-width: thin;
}

.lightbox-thumbnails button {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(31, 35, 31, 0.55);
  cursor: pointer;
  opacity: 0.7;
}

.lightbox-thumbnails button.is-active {
  border-color: white;
  opacity: 1;
}

.lightbox-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-photo-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(77, 102, 82, 0.82);
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-photo-arrow-left { left: 18px; }
.lightbox-photo-arrow-right { right: 18px; }

.lightbox-details {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.lightbox-detail-scroll {
  min-height: 0;
  padding: 86px 54px 20px;
  overflow-y: auto;
}

.lightbox-detail-scroll > p:first-child {
  margin: 0 0 26px;
  color: #a26d5d;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.lightbox-details h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(31px, 3.1vw, 50px);
  font-weight: 400;
  line-height: 1.35;
}

.lightbox-note {
  margin: 35px 0 !important;
  font-size: 11px;
  line-height: 2;
}

.lightbox-details dl {
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
}

.lightbox-details dl > div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.lightbox-details dt,
.lightbox-details dd {
  margin: 0;
  font-size: 9px;
}

.lightbox-detail-footer {
  position: relative;
  z-index: 2;
  padding: 18px 54px 28px;
  border-top: 1px solid var(--line);
  background: var(--warm-white);
  box-shadow: 0 -14px 30px rgba(247, 245, 241, .96);
}

.lightbox-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lightbox-action strong {
  font-family: "Noto Serif TC", serif;
  font-size: 13px;
  font-weight: 400;
}

.lightbox-action button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  color: var(--warm-white);
  background: var(--forest);
  cursor: pointer;
}

.lightbox-product-nav {
  margin-top: 16px;
  padding-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.lightbox-product-nav button {
  min-height: 36px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.lightbox-product-nav button:first-child { text-align: left; }
.lightbox-product-nav button:last-child { text-align: right; }
.lightbox-product-nav button:disabled { opacity: .35; cursor: not-allowed; }
.lightbox-product-nav span { font-size: 11px; opacity: .58; }

.lightbox-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(77, 102, 82, 0.78);
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-arrow-left { left: 18px; }
.lightbox-arrow-right { right: calc(35% + 18px); }

/* Art shop */
.art-shop-toolbar {
  margin-bottom: 55px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.art-shop-toolbar > p {
  max-width: 620px;
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
}

.art-shop-toolbar > button {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.art-shop-toolbar > button span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--warm-white);
  background: var(--forest);
  font-size: 10px;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px 3vw;
}

.art-card figure {
  position: relative;
  margin: 0 0 21px;
  overflow: hidden;
  background: var(--paper);
}

.art-card figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.65);
  transition: transform 650ms ease, filter 450ms ease;
}

.art-card:hover figure img {
  transform: scale(1.025);
  filter: saturate(0.9);
}

.art-card figcaption,
.coffee-feature figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 8px;
  color: white;
  background: rgba(31, 35, 31, 0.66);
  font-size: 9px;
}

.art-card > p {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.art-card h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.55;
}

.art-card > small {
  min-height: 44px;
  margin-top: 12px;
  display: block;
  font-size: 11px;
  line-height: 1.9;
}

.art-card > div {
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
}

.art-card > div span {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.art-card > div button {
  padding: 10px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.art-card > div button:hover {
  color: var(--warm-white);
  background: var(--forest);
  border-color: var(--forest);
}

.cart-backdrop {
  position: fixed;
  z-index: 119;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  background: rgba(22, 25, 22, 0.46);
  transition: opacity 300ms ease, visibility 300ms ease;
}

.cart-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

.art-cart {
  position: fixed;
  z-index: 120;
  inset: 0 0 0 auto;
  width: min(520px, 95vw);
  padding: 38px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--warm-white);
  transform: translateX(102%);
  transition: transform 420ms cubic-bezier(.2, .72, .18, 1);
}

.art-cart.is-open {
  transform: translateX(0);
}

.art-cart-head {
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.art-cart-head p {
  margin: 0 0 5px;
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
}

.art-cart-head h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 400;
}

.art-cart-head button {
  align-self: flex-start;
  border: 0;
  font-size: 31px;
  font-weight: 200;
  background: transparent;
  cursor: pointer;
}

.art-cart-list {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.empty-cart {
  margin: 38px 0;
  font-size: 13px;
}

.cart-item {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 76px;
  height: 76px;
  object-fit: cover;
}

.cart-item > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cart-item strong {
  font-family: "Noto Serif TC", serif;
  font-size: 14px;
  font-weight: 400;
}

.cart-item span {
  font-size: 10px;
}

.cart-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-quantity button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.art-cart-foot {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.art-cart-foot p {
  margin: 0 0 16px;
  font-size: 11px;
  line-height: 1.8;
}

.art-cart-foot button {
  width: 100%;
  min-height: 52px;
  border: 0;
  color: var(--warm-white);
  background: var(--forest);
  cursor: pointer;
}

.art-cart-foot button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

/* Yin Coffee */
.coffee-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8vw;
  align-items: center;
}

.coffee-feature figure {
  position: relative;
  margin: 0;
}

.coffee-feature figure img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.7);
}

.coffee-feature h2 {
  margin: 34px 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.55;
}

.coffee-feature > div > p:not(.eyebrow) {
  margin: 0;
  font-size: 14px;
  line-height: 2.1;
}

.coffee-feature .text-link {
  margin-right: 32px;
}

/* Admin */
.admin-shell {
  min-height: 100vh;
  background: var(--paper);
}

.admin-header {
  min-height: 78px;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--warm-white);
  background: var(--black);
}

.admin-header > div {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
}

.admin-header strong {
  font-family: "Noto Serif TC", serif;
  font-size: 15px;
  font-weight: 400;
}

.admin-header a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.admin-settings-form {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 42px 120px;
}

.admin-form-intro h1,
.admin-denied h1 {
  margin: 28px 0 20px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
}

.admin-form-intro > p:last-child,
.admin-denied p {
  font-size: 13px;
  line-height: 1.9;
}

.admin-fields {
  margin-top: 65px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 34px;
}

.admin-fields label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-fields label > span {
  font-size: 12px;
  letter-spacing: 0.07em;
}

.admin-fields input,
.admin-fields textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(68, 68, 68, 0.3);
  border-radius: 0;
  color: var(--ink);
  background: var(--warm-white);
  font: inherit;
}

.admin-fields textarea {
  padding-top: 13px;
  padding-bottom: 13px;
  resize: vertical;
  line-height: 1.7;
}

.admin-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.admin-actions button {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  color: var(--warm-white);
  background: var(--forest);
  cursor: pointer;
}

.admin-actions button:disabled {
  opacity: 0.55;
}

.admin-actions a {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
}

.admin-actions p {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
}

.admin-denied {
  max-width: 820px;
  margin: 0 auto;
  padding: 18vh 32px;
}

.admin-denied a {
  margin-top: 30px;
  padding-bottom: 7px;
  display: inline-block;
  border-bottom: 1px solid var(--ink);
}

.admin-manager {
  min-height: calc(100vh - 78px);
  padding-left: 270px;
  padding-bottom: 92px;
  background: #f3f0ea;
}

.admin-sidebar {
  position: fixed;
  z-index: 40;
  left: 0;
  top: 78px;
  bottom: 0;
  width: 270px;
  padding: 28px 18px 110px;
  overflow-y: auto;
  color: var(--warm-white);
  background: #292d29;
}

.admin-sidebar > div {
  padding: 0 14px 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.admin-sidebar > div strong {
  font-family: "Noto Serif TC", serif;
  font-size: 18px;
  font-weight: 400;
}

.admin-sidebar > div small { opacity: .55; }
.admin-sidebar nav { padding-top: 15px; }

.admin-sidebar nav button {
  width: 100%;
  padding: 13px 14px;
  display: grid;
  gap: 3px;
  border: 0;
  border-left: 2px solid transparent;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-sidebar nav button:hover,
.admin-sidebar nav button.is-active {
  border-left-color: var(--wood);
  background: rgba(255,255,255,.08);
}

.admin-sidebar nav button strong { font-size: 13px; font-weight: 400; }
.admin-sidebar nav button span { font-size: 10px; opacity: .52; }

.admin-nav-group {
  position: relative;
}

.admin-nav-arrow {
  margin-left: 8px;
  display: inline-block;
  font-size: 15px !important;
  opacity: .7 !important;
  transition: transform 220ms ease;
}

.admin-nav-group.is-open .admin-nav-arrow,
.admin-nav-group:hover .admin-nav-arrow,
.admin-nav-group:focus-within .admin-nav-arrow {
  transform: rotate(180deg);
}

.admin-project-submenu {
  max-height: 0;
  padding: 0 0 0 18px;
  overflow: hidden;
  opacity: 0;
  transition: max-height 280ms ease, padding 280ms ease, opacity 180ms ease;
}

.admin-nav-group.is-open .admin-project-submenu,
.admin-nav-group:hover .admin-project-submenu,
.admin-nav-group:focus-within .admin-project-submenu {
  max-height: 360px;
  padding-top: 6px;
  padding-bottom: 8px;
  opacity: 1;
}

.admin-sidebar nav .admin-project-submenu button {
  padding: 10px 12px;
  border-left-color: rgba(255,255,255,.13);
  background: rgba(0,0,0,.08);
}

.admin-sidebar nav .admin-project-submenu button:hover,
.admin-sidebar nav .admin-project-submenu button.is-active {
  border-left-color: var(--wood);
  background: rgba(255,255,255,.12);
}

.admin-sidebar nav .admin-project-submenu button strong {
  font-size: 12px;
}

.admin-sidebar nav .admin-project-submenu button span {
  font-size: 9px;
}

.admin-workspace {
  width: min(1180px, calc(100% - 70px));
  margin: 0 auto;
  padding: 68px 0 120px;
}

.admin-section-intro {
  margin-bottom: 52px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(68,68,68,.18);
}

.admin-section-intro p {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.admin-section-intro h1 {
  margin: 0 0 14px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
}

.admin-section-intro span { font-size: 13px; line-height: 1.8; }

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.admin-overview-grid button {
  min-height: 125px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(68,68,68,.2);
  color: var(--ink);
  background: var(--warm-white);
  text-align: left;
  cursor: pointer;
}

.admin-overview-grid button:hover { border-color: var(--forest); }
.admin-overview-grid strong { font-family: "Noto Serif TC", serif; font-size: 19px; font-weight: 400; }
.admin-overview-grid span { font-size: 11px; opacity: .65; }

.admin-help-panel {
  margin-top: 28px;
  padding: 32px;
  color: var(--warm-white);
  background: var(--forest);
}

.admin-help-panel h2 { margin: 0 0 12px; font-family: "Noto Serif TC", serif; font-weight: 400; }
.admin-help-panel p { margin: 0; font-size: 13px; line-height: 1.9; }

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}

.admin-field,
.admin-media-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.admin-field > span,
.admin-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
}

.admin-field input,
.admin-field textarea,
.admin-field select,
.admin-media-field > input,
.admin-string-list input {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid rgba(68,68,68,.25);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 13px;
}
.admin-field select { appearance: auto; }

.admin-field textarea { resize: vertical; line-height: 1.7; }
.admin-media-field { margin: 24px 0; padding: 22px; border: 1px solid rgba(68,68,68,.18); background: rgba(255,255,255,.54); }
.admin-media-field img { width: min(100%, 460px); height: 210px; object-fit: contain; object-position: left center; background: #dedbd4; }
.admin-media-field small { color: var(--forest); font-size: 11px; }
.admin-media-actions { display: flex; align-items: center; gap: 14px; }

.admin-upload-button,
.admin-add-button,
.admin-small-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: var(--forest);
  cursor: pointer;
}

.admin-upload-button { min-height: 42px; padding: 0 18px; font-size: 12px; }
.admin-upload-button input { display: none; }
.admin-text-button { border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; }
.admin-add-button { min-height: 50px; padding: 0 24px; margin: 0 0 26px; }
.admin-small-add { min-height: 42px; padding: 0 18px; margin-top: 14px; }

.admin-empty-state {
  margin-bottom: 24px;
  padding: 34px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(68,68,68,.18);
  background: rgba(255,255,255,.5);
}

.admin-empty-state strong {
  font-family: "Noto Serif TC", serif;
  font-size: 19px;
  font-weight: 400;
}

.admin-empty-state span { font-size: 13px; opacity: .68; }

.admin-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.admin-carousel-toolbar {
  margin: 0 0 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px dashed rgba(77,102,82,.42);
  background: rgba(77,102,82,.055);
}
.admin-carousel-toolbar p { margin: 0; font-size: 13px; line-height: 1.8; }
.admin-carousel-toolbar .admin-small-add { flex: 0 0 auto; margin-top: 0; }
.admin-gallery-batch {
  margin: 14px 0 22px;
  padding: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  border: 1px dashed rgba(77,102,82,.42);
  background: rgba(77,102,82,.055);
}
.admin-gallery-batch > span { font-size: 12px; line-height: 1.7; opacity: .72; }
.admin-gallery-batch > small { flex-basis: 100%; color: var(--forest); font-size: 12px; }
.admin-gallery-item { min-width: 0; }
.admin-gallery-item .admin-media-field { margin-bottom: 0; }
.admin-gallery-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 20px; }
.admin-gallery-actions button { min-width: 48px; min-height: 36px; padding: 0 11px; border: 1px solid rgba(68,68,68,.24); background: transparent; cursor: pointer; }
.admin-gallery-actions button:disabled { opacity: .35; cursor: not-allowed; }
.admin-gallery-actions button.danger { margin-left: auto; color: #8a2f2f; border-color: rgba(138,47,47,.35); }

.admin-subheading {
  margin: 60px 0 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(68,68,68,.2);
  font-family: "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 400;
}

.admin-editor-card {
  margin-bottom: 18px;
  border: 1px solid rgba(68,68,68,.2);
  background: var(--warm-white);
}

.admin-editor-card > summary {
  min-height: 70px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.admin-editor-card--highlight > summary {
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.admin-editor-card--highlight > summary:hover,
.admin-editor-card--highlight > summary:focus-visible,
.admin-editor-card--highlight[open] > summary {
  color: var(--warm-white);
  background: var(--forest);
  box-shadow: inset 5px 0 0 rgba(255,255,255,.72);
}

.admin-editor-card--highlight > summary:hover .admin-card-move-controls button:not(:disabled),
.admin-editor-card--highlight > summary:focus-visible .admin-card-move-controls button:not(:disabled),
.admin-editor-card--highlight[open] > summary .admin-card-move-controls button:not(:disabled) {
  color: var(--forest);
  background: var(--warm-white);
  border-color: rgba(255,255,255,.82);
}

.admin-editor-card--highlight > summary:hover .admin-card-move-controls button:hover:not(:disabled),
.admin-editor-card--highlight[open] > summary .admin-card-move-controls button:hover:not(:disabled) {
  color: var(--warm-white);
  background: rgba(255,255,255,.16);
}

.admin-editor-card > summary::-webkit-details-marker { display: none; }
.admin-editor-card > summary > span:first-child { min-width: 0; display: grid; gap: 4px; }
.admin-editor-card > summary strong { font-family: "Noto Serif TC", serif; font-size: 17px; font-weight: 400; }
.admin-editor-card > summary small { font-size: 14px; opacity: .58; }
.admin-card-summary { font-size: 14px; opacity: .48; }
.admin-card-tools,
.admin-card-move-controls {
  display: flex;
  align-items: center;
}
.admin-card-tools { gap: 18px; flex-shrink: 0; max-width: 100%; }
.admin-card-move-controls { gap: 6px; }
.admin-card-edge-controls { flex-shrink: 0; }
.admin-card-move-controls button {
  min-width: 44px;
  height: 38px;
  padding: 0 7px;
  border: 1px solid rgba(68,68,68,.3);
  color: var(--ink);
  background: var(--warm-white);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.admin-card-edge-controls button { font-size: 20px; }
.admin-card-move-controls button:hover:not(:disabled),
.admin-card-move-controls button:focus-visible {
  color: var(--warm-white);
  background: var(--forest);
  border-color: var(--forest);
}
.admin-card-move-controls button:disabled {
  opacity: .22;
  cursor: not-allowed;
}
.admin-editor-body { padding: 24px; border-top: 1px solid rgba(68,68,68,.14); }
.admin-editor-body h3 { font-size: 13px; font-weight: 500; }

.admin-editor-actions {
  padding: 14px 22px;
  display: flex;
  gap: 10px;
  border-top: 1px solid rgba(68,68,68,.14);
}

.admin-editor-actions button {
  padding: 7px 12px;
  border: 1px solid rgba(68,68,68,.26);
  background: transparent;
  cursor: pointer;
}

.admin-editor-actions button.danger { margin-left: auto; color: #8a2f2f; border-color: rgba(138,47,47,.35); }
.admin-check { min-height: 49px; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.admin-check input { width: 18px; height: 18px; }
.admin-publish-check {
  padding: 10px 12px;
  border: 1px solid rgba(77,102,82,.28);
  background: rgba(77,102,82,.07);
  font-weight: 600;
}
.admin-publish-check.is-draft {
  border-color: rgba(159,92,30,.4);
  color: #7c471b;
  background: rgba(159,92,30,.08);
}

.admin-string-list { display: grid; gap: 10px; }
.admin-string-list > div { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 8px; }
.admin-string-list > div > span { font-size: 11px; opacity: .6; }
.admin-string-list > div > button { height: 38px; border: 1px solid rgba(68,68,68,.22); color: #8a2f2f; background: transparent; cursor: pointer; }

.admin-save-bar {
  position: fixed;
  z-index: 50;
  left: 270px;
  right: 0;
  bottom: 0;
  min-height: 74px;
  padding: 12px 4vw;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #fff;
  background: rgba(32,35,31,.97);
  box-shadow: 0 -10px 30px rgba(0,0,0,.12);
}

.admin-save-bar > button { min-height: 48px; padding: 0 25px; border: 0; color: #fff; background: var(--forest); cursor: pointer; }
.admin-save-bar > button:disabled { opacity: .55; }
.admin-save-bar > a { font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.5); }
.admin-save-bar > p { margin: 0 0 0 auto; font-size: 12px; color: #d7e4d8; }

.procurement-grid article > a {
  display: inline-block;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
}

@media (max-width: 900px) {
  .brand-logo-lockup {
    position: absolute;
    left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
  }

  .menu-trigger {
    display: grid;
  }

  .brand-logo-lockup > img {
    max-width: 105px;
    height: 36px;
  }

  .brand-wordmark,
  .header-contact {
    display: none;
  }

  .navigation-drawer {
    padding: 24px;
  }

  .drawer-primary {
    grid-template-columns: 30px 1fr;
  }

  .drawer-nav small {
    display: none;
  }

  .drawer-bottom {
    grid-template-columns: 1fr;
  }

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

  .art-curation,
  .coffee-manifesto {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .art-curation h2 {
    font-size: clamp(20px, 6.2vw, 36px);
    letter-spacing: -0.04em;
  }

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

  .coffee-feature {
    grid-template-columns: 1fr;
  }

  .product-lightbox-backdrop {
    padding: 24px;
  }

  .product-lightbox {
    width: min(720px, 94vw);
    max-height: 90vh;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .lightbox-image-stage {
    min-height: 48vh;
  }

  .lightbox-image-stage img {
    max-height: 54vh;
  }

  .lightbox-details {
    min-height: min(620px, 72vh);
  }

  .lightbox-detail-scroll {
    padding: 52px 36px 20px;
  }

  .lightbox-detail-footer {
    padding: 16px 36px 24px;
  }

  .lightbox-arrow-right {
    right: 18px;
  }

  .admin-manager { padding-left: 0; }
  .admin-sidebar { position: static; width: 100%; padding: 14px; overflow: visible; }
  .admin-sidebar > div { display: none; }
  .admin-sidebar nav { padding: 0; display: flex; overflow-x: auto; gap: 5px; }
  .admin-sidebar nav button { min-width: 145px; border-left: 0; border-bottom: 2px solid transparent; }
  .admin-sidebar nav .admin-nav-group > button { min-width: 165px; }
  .admin-sidebar nav .admin-project-submenu { padding-left: 0; }
  .admin-sidebar nav .admin-project-submenu button { min-width: 165px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .admin-sidebar nav button:hover,
  .admin-sidebar nav button.is-active { border-left-color: transparent; border-bottom-color: var(--wood); }
  .admin-save-bar { left: 0; }
  .admin-overview-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .navigation-edge-trigger {
    display: flex;
  }
}

@media (max-width: 560px) {
  .menu-trigger {
    width: 48px;
    grid-template-columns: 28px;
  }

  .menu-trigger small {
    display: none;
  }

  .line-consult {
    right: 14px;
    bottom: 14px;
    width: 70px;
    height: 70px;
  }

  .art-shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .art-grid,
  .shop-grid,
  .shop-grid-coffee,
  .admin-fields {
    grid-template-columns: 1fr;
  }

  .art-cart {
    padding: 24px;
  }

  .product-cart {
    padding: 24px;
  }

  .checkout-progress small { display: block; font-size: 11px; }

  .product-lightbox-backdrop {
    padding: 12px;
  }

  .product-lightbox {
    width: 100%;
    max-height: 94vh;
  }

  .lightbox-image-stage {
    min-height: 42vh;
  }

  .lightbox-image-stage img {
    max-height: 46vh;
  }

  .lightbox-details {
    min-height: min(580px, 76vh);
  }

  .lightbox-detail-scroll {
    padding: 46px 24px 18px;
  }

  .lightbox-detail-footer {
    padding: 14px 24px 20px;
  }

  .lightbox-photo-arrow {
    top: 50%;
    width: 38px;
    height: 38px;
  }

  .lightbox-close {
    top: 12px;
    right: 14px;
  }

  .lightbox-details h2 {
    font-size: 29px;
  }

  .lightbox-action {
    align-items: stretch;
    flex-direction: column;
  }

  .lightbox-arrow {
    top: 22vh;
    width: 38px;
    height: 38px;
  }

  .cart-item {
    grid-template-columns: 62px 1fr;
  }

  .product-cart-item {
    grid-template-columns: 62px 1fr;
  }

  .product-cart-item img {
    width: 62px;
    height: 62px;
  }

  .product-cart-item .cart-quantity {
    grid-column: 2;
  }

  .cart-item img {
    width: 62px;
    height: 62px;
  }

  .cart-quantity {
    grid-column: 2;
  }

  .admin-header {
    padding: 0 20px;
  }

  .admin-header > div:first-child span,
  .admin-header > div:last-child > span {
    display: none;
  }

  .admin-settings-form {
    padding: 70px 22px 100px;
  }

  .admin-workspace { width: calc(100% - 34px); padding-top: 42px; }
  .admin-form-grid,
  .admin-media-grid,
  .admin-overview-grid { grid-template-columns: 1fr; }
  .admin-carousel-toolbar { align-items: stretch; flex-direction: column; }
  .admin-carousel-toolbar .admin-small-add { width: 100%; }
  .admin-editor-body { padding: 18px; }
  .admin-editor-card > summary { padding: 14px; gap: 10px; }
  .admin-card-tools { gap: 8px; }
  .admin-card-summary { display: none; }
  .admin-editor-card > summary { flex-wrap: wrap; }
  .admin-card-tools { width: 100%; justify-content: flex-end; }
  .admin-card-move-controls { flex-wrap: wrap; justify-content: flex-end; }
  .admin-card-move-controls button { min-width: 40px; height: 36px; }
  .admin-save-bar { padding: 10px 16px; gap: 14px; }
  .admin-save-bar > p { display: none; }
  .admin-save-bar > button { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-intro {
    animation-duration: .12s !important;
  }

  .home-intro-logo,
  .home-intro > p {
    animation: none !important;
  }
}

/* Inner pages */
.page-intro {
  min-height: 72vh;
  padding: 130px 8vw 100px;
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  align-content: center;
  gap: 5vw;
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  grid-column: 2;
  margin: 0;
  max-width: 1020px;
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: clamp(64px, 9vw, 138px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.projects-archive-intro h1 {
  max-width: none;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.projects-archive-intro .page-intro-title-secondary {
  font-size: calc(1em - 6px);
}

.discipline-intro h1 {
  font-size: clamp(56px, 7vw, 112px);
  line-height: 1;
  white-space: nowrap;
}

.page-intro-subtitle {
  grid-column: 2;
  margin: 20px 0 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: clamp(30px, 4.2vw, 60px);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.archive-period-intro h1 {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.page-intro-copy {
  grid-column: 2;
  max-width: 680px;
  margin: 34px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: 17px;
  line-height: 2;
}

.content-pad {
  padding: 120px 8vw;
}

.chapter-number {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
}

.statement-grid,
.field-manifesto,
.split-callout {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.8fr;
  gap: 5vw;
  align-items: start;
}

.statement-grid h2,
.field-manifesto h2,
.split-callout h2,
.record-heading h2,
.procurement-contact h2,
.contact-sheet h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 1.45;
}

.statement-grid > div p,
.field-manifesto > p:last-child,
.split-callout > div > p {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 2.1;
}

.quote-panel {
  min-height: 72vh;
  padding: 100px 8vw;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--warm-white);
}

.quote-panel blockquote {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(34px, 5.4vw, 78px);
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

.split-callout {
  grid-template-columns: 0.35fr 1.4fr;
}

.split-callout > div {
  max-width: 840px;
}

.inner-list {
  padding-top: 0;
}

.inner-list-row {
  min-height: 155px;
  display: grid;
  grid-template-columns: 70px 1fr 0.8fr 32px;
  gap: 4vw;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.inner-list-row.navigation-entry {
  grid-template-columns: 70px 1fr 32px;
}

.inner-list-row > span {
  font-family: "Cormorant Garamond", serif;
}

.inner-list-row h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5.4vw, 78px);
  font-weight: 400;
  line-height: 0.88;
}

.inner-list-row > div p {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.13em;
}

.inner-list-row > p {
  max-width: 360px;
  margin: 0;
  font-size: 13px;
  line-height: 2;
}

.discipline-band,
.agency-band {
  padding: 120px 8vw;
  background: var(--paper);
}

.discipline-band h2 {
  margin: 26px 0 68px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
}

.discipline-band > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.discipline-band a {
  min-height: 185px;
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.discipline-band strong {
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 400;
}

.discipline-band a > span:not(.arrow) {
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
}

.discipline-band .arrow {
  position: absolute;
  right: 26px;
  bottom: 26px;
}

.field-manifesto {
  grid-template-columns: 0.25fr 1fr 0.85fr;
}

.related-projects {
  background: var(--paper);
}

.related-projects .section-topline h2 {
  font-size: clamp(40px, 5vw, 68px);
}

.compact-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 2.5vw;
}

.compact-project-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.72);
}

.compact-project-grid span {
  display: block;
  margin: 18px 0 8px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.compact-project-grid h3 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.archive-tools {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 5vw;
  align-items: start;
  margin-bottom: 90px;
}

.discipline-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.discipline-filter a,
.year-line span,
.year-line a {
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.discipline-filter a:hover,
.discipline-filter a:focus-visible,
.discipline-filter a.is-active,
.year-line a:hover,
.year-line a:focus-visible,
.year-line a.is-active,
.year-line span.is-active {
  color: var(--warm-white);
  background: var(--forest);
  border-color: var(--forest);
}

.year-line {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.archive-heading {
  margin: 28px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
}

.period-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.period-page-grid a {
  min-height: 180px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--warm-white);
  transition: color 200ms ease, background 200ms ease;
}

.period-page-grid a:hover,
.period-page-grid a:focus-visible {
  color: var(--warm-white);
  background: var(--forest);
}

.period-page-grid span,
.period-page-grid small {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.period-page-grid strong {
  font-family: "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 400;
}

.archive-tools-compact {
  margin-bottom: 70px;
}

.discipline-archive-tools {
  margin-bottom: 0;
}

.temporary-note {
  margin: 76px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 78px 1.8vw;
  align-items: start;
}

.archive-card {
  min-width: 0;
}

.archive-card:nth-child(3n + 2) {
  grid-column: auto;
  margin-top: 0;
}

.archive-card:nth-child(3n) {
  grid-column: auto;
}

.archive-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.archive-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.72);
  transition: transform 600ms ease;
}

.archive-card:hover img {
  transform: scale(1.025);
}

.archive-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 8px;
  color: white;
  background: rgba(31, 35, 31, 0.68);
  font-size: 13px;
}

.archive-card-info {
  margin-top: 24px;
}

.archive-card-info p,
.archive-card-info h2 {
  margin: 0;
}

.archive-card-info .archive-card-category {
  color: rgba(68, 68, 68, 0.62);
  font-size: 14px;
  letter-spacing: 0.07em;
  line-height: 1.6;
}

.archive-card-info h2 {
  margin-top: 7px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(20px, 1.45vw, 27px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0.02em;
}

.archive-card-info .archive-card-summary {
  margin-top: 12px;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(68, 68, 68, 0.58);
  font-size: 15px;
  letter-spacing: 0.035em;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-hero {
  padding: 130px 8vw 80px;
}

.project-hero h1 {
  max-width: 1000px;
  margin: 34px 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 400;
  line-height: 1.25;
}

.project-hero > p:last-child {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.project-cover {
  position: relative;
  margin: 0 4vw;
}

.project-cover img {
  width: 100%;
  height: min(78vh, 820px);
  object-fit: cover;
  filter: saturate(0.75);
}

.project-cover span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 8px 10px;
  color: white;
  background: rgba(31, 35, 31, 0.66);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.project-story {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10vw;
}

.project-story h2 {
  margin: 34px 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.65;
}

.project-facts {
  border-top: 1px solid var(--line);
}

.project-facts p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.8;
}

.project-facts span,
.contact-lines span {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-facts span {
  font-size: 13px;
}

.project-gallery {
  padding: 0 8vw 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
}

.project-gallery figure {
  margin: 0;
}

.project-gallery figure:nth-child(3) {
  grid-column: 1 / -1;
  margin: 40px 12vw 0;
}

.project-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.75);
}

.project-gallery figcaption {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.next-project {
  padding-top: 0;
}

.next-project a,
.simple-back a {
  padding-bottom: 10px;
  display: inline-flex;
  gap: 30px;
  border-bottom: 1px solid currentColor;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.record-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 8vw;
}

.record-heading h2 {
  margin-top: 34px;
  font-size: clamp(36px, 4.4vw, 60px);
}

.record-list {
  border-top: 1px solid var(--line);
}

.record-list > div {
  min-height: 105px;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.record-list span {
  font-family: "Cormorant Garamond", serif;
}

.record-list p {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  line-height: 1.7;
}

.agency-band {
  background: var(--forest);
  color: var(--warm-white);
}

.agency-band > div {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.agency-band span {
  padding: 15px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
}

.government-process > div {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.government-process article {
  min-height: 200px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.government-process article span {
  font-family: "Cormorant Garamond", serif;
}

.government-process h3 {
  margin: 62px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 400;
}

.government-process p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.capability-index article,
.process-detail article {
  min-height: 155px;
  display: grid;
  grid-template-columns: 70px 1fr 0.7fr;
  gap: 4vw;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.capability-index article > span,
.process-detail article > span {
  font-family: "Cormorant Garamond", serif;
}

.capability-index h2,
.process-detail h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4.3vw, 64px);
  font-weight: 400;
}

.capability-index article > p,
.process-detail article > p {
  margin: 0;
  font-size: 13px;
  line-height: 2;
}

.process-detail article > div p {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.article-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.article-index article {
  min-height: 390px;
  position: relative;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-index article > span {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
}

.article-index h2 {
  max-width: 520px;
  margin: 100px 0 24px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.5;
}

.article-index p {
  max-width: 540px;
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

.article-index small {
  position: absolute;
  right: 30px;
  bottom: 26px;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.procurement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.procurement-grid article {
  min-height: 360px;
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-right: 0;
}

.procurement-grid article:last-child {
  border-right: 1px solid var(--line);
}

.procurement-grid article > span {
  font-family: "Cormorant Garamond", serif;
}

.procurement-grid h2 {
  margin: 100px 0 24px;
  font-family: "Noto Serif TC", serif;
  font-size: 31px;
  font-weight: 400;
}

.procurement-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

.procurement-grid small {
  position: absolute;
  left: 32px;
  bottom: 26px;
  letter-spacing: 0.1em;
}

.procurement-contact {
  padding: 100px 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8vw;
  background: var(--wood);
}

.procurement-contact h2 {
  margin: 30px 0 20px;
}

.procurement-contact > div > p:not(.eyebrow) {
  margin: 8px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.contact-sheet {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10vw;
}

.contact-sheet h2 {
  margin: 35px 0;
}

.contact-sheet > div:first-child > p:not(.eyebrow) {
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.8;
}

.contact-lines {
  border-top: 1px solid var(--line);
}

.contact-lines a,
.contact-lines > p {
  min-height: 95px;
  position: relative;
  margin: 0;
  padding: 22px 40px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  font-family: "Cormorant Garamond", "Noto Sans TC", serif;
  font-size: clamp(20px, 2.5vw, 34px);
}

.contact-lines .arrow {
  position: absolute;
  right: 4px;
  top: 38px;
}

@media (max-width: 900px) {
  .page-intro {
    min-height: 64vh;
    padding: 95px 24px 72px;
    grid-template-columns: 1fr;
  }

  .page-intro h1,
  .page-intro-subtitle,
  .page-intro-copy {
    grid-column: 1;
  }

  .page-intro h1 {
    margin-top: 45px;
  }

  .projects-archive-intro h1 {
    flex-wrap: wrap;
    white-space: normal;
  }

  .discipline-intro h1 {
    white-space: normal;
  }

  .content-pad,
  .discipline-band,
  .agency-band {
    padding: 90px 24px;
  }

  .statement-grid,
  .field-manifesto,
  .split-callout,
  .record-section,
  .project-story,
  .contact-sheet {
    grid-template-columns: 1fr;
  }

  .statement-grid,
  .field-manifesto,
  .split-callout,
  .record-section {
    gap: 46px;
  }

  .inner-list-row {
    grid-template-columns: 44px 1fr 28px;
  }

  .inner-list-row > p {
    display: none;
  }

  .discipline-band > div,
  .government-process > div {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .archive-tools {
    grid-template-columns: 1fr;
  }

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

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

  .year-line {
    grid-column: 1;
  }

  .archive-card,
  .archive-card:nth-child(3n + 2),
  .archive-card:nth-child(3n) {
    grid-column: auto;
    margin-top: 0;
  }

  .project-cover {
    margin: 0;
  }

  .project-cover img {
    height: 58vh;
  }

  .project-gallery {
    padding: 0 24px 90px;
  }

  .project-gallery figure:nth-child(3) {
    margin-left: 0;
    margin-right: 0;
  }

  .capability-index article,
  .process-detail article {
    grid-template-columns: 52px 1fr;
    padding: 28px 0;
  }

  .capability-index article > p,
  .process-detail article > p {
    grid-column: 2;
  }

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

  .procurement-grid article,
  .procurement-grid article:last-child {
    min-height: 300px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .procurement-grid article:last-child {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .page-intro h1 {
    font-size: clamp(52px, 16vw, 80px);
    line-height: 0.96;
  }

  .quote-panel {
    min-height: 60vh;
    padding: 70px 24px;
  }

  .discipline-band > div,
  .government-process > div,
  .compact-project-grid,
  .article-index {
    grid-template-columns: 1fr;
  }

  .archive-card,
  .archive-card:nth-child(3n + 2),
  .archive-card:nth-child(3n) {
    grid-column: 1 / -1;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .period-page-grid {
    grid-template-columns: 1fr;
  }

  .period-page-grid a {
    min-height: 145px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery figure:nth-child(3) {
    grid-column: 1;
  }

  .record-list p {
    font-size: 14px;
  }

  .government-process > div {
    border-left: 1px solid var(--line);
  }

  .procurement-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 2026-08 project reading system: floating header, native-ratio imagery, split detail pages */
.site-header,
.site-header-dark {
  position: fixed;
  z-index: 105;
  top: 0;
  right: 0;
  left: 0;
  min-height: 72px;
  color: var(--warm-white);
  background: rgba(24, 26, 23, 0.94);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  transform: translateY(0);
  opacity: 1;
  transition: transform 420ms cubic-bezier(.22, .72, .18, 1), opacity 260ms ease, box-shadow 260ms ease;
  will-change: transform;
}

.site-header.is-hidden,
.site-header-dark.is-hidden {
  transform: translateY(calc(-100% - 10px));
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}

.site-header .brand-logo-lockup > img {
  filter: grayscale(1) brightness(0) invert(1);
}

/* Project thumbnails always show the complete uploaded photograph. */
.project-card img,
.project-card:nth-child(3) img,
.compact-project-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Archive listings return to the original orderly card rhythm. */
.archive-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Keep every practice title on one line; the Chinese label is one size smaller. */
.practice-detail-intro h1 {
  max-width: none;
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: clamp(52px, 7.2vw, 120px);
}

.practice-detail-intro .page-intro-title-primary,
.practice-detail-intro .page-intro-title-secondary {
  flex: 0 0 auto;
}

.practice-detail-intro .page-intro-title-secondary {
  font-size: calc(1em - 6px);
  letter-spacing: -0.025em;
}

@media (max-width: 900px) {
  .practice-detail-intro h1 {
    font-size: clamp(30px, 7vw, 64px);
  }
}

@media (max-width: 560px) {
  .practice-detail-intro h1 {
    font-size: clamp(23px, 6.8vw, 38px);
  }
}

.archive-period-intro h1 {
  font-family: "Noto Serif TC", "PMingLiU", "新細明體", serif;
  font-weight: 300;
  letter-spacing: 0.015em;
}

.project-detail-page {
  background: #080a08;
  color: var(--warm-white);
}

.project-detail-layout {
  width: min(1880px, 100%);
  margin: 0 auto;
  padding: 126px clamp(24px, 5vw, 96px) 130px;
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.46fr);
  gap: clamp(52px, 7vw, 130px);
  align-items: start;
}

.project-detail-copy {
  position: sticky;
  top: 112px;
  max-height: calc(100svh - 140px);
  padding-right: clamp(0px, 2vw, 34px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 245, 241, 0.35) transparent;
  font-family: "Noto Serif TC", "PMingLiU", "新細明體", serif;
  font-weight: 300;
}

.project-detail-copy .eyebrow {
  color: rgba(247, 245, 241, 0.65);
  font-size: 16px;
}

.project-detail-copy h1 {
  margin: 24px 0 18px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(30px, 3.1vw, 54px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.035em;
}

.project-detail-meta {
  margin: 0;
  color: rgba(247, 245, 241, 0.7);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.project-detail-summary {
  margin: 34px 0;
  color: rgba(247, 245, 241, 0.8);
  font-size: 19px;
  line-height: 2.15;
}

.project-detail-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid rgba(247, 245, 241, 0.18);
}

.project-detail-facts > div {
  padding: 16px 0;
  border-bottom: 1px solid rgba(247, 245, 241, 0.18);
}

.project-detail-facts dt,
.project-detail-facts dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.project-detail-facts dt {
  margin-bottom: 5px;
  color: rgba(247, 245, 241, 0.48);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.project-share {
  margin-top: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  align-items: center;
}

.project-share > p {
  margin: 0;
  color: rgba(247, 245, 241, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.project-share > div {
  display: flex;
  gap: 9px;
}

.project-share button {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 245, 241, 0.34);
  border-radius: 50%;
  color: var(--warm-white);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.project-share button svg {
  width: 19px;
  height: 19px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-share button .share-icon-facebook path {
  fill: currentColor;
  stroke: none;
}

.project-share button svg .share-icon-fill {
  fill: currentColor;
  stroke: none;
}

.project-share button:hover,
.project-share button:focus-visible {
  color: var(--black);
  background: var(--warm-white);
  border-color: var(--warm-white);
}

.project-share > span {
  grid-column: 1 / -1;
  min-height: 18px;
  color: rgba(247, 245, 241, 0.58);
  font-size: 10px;
  line-height: 1.7;
}

.project-detail-back {
  width: fit-content;
  margin-top: 16px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid rgba(247, 245, 241, 0.55);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.project-detail-images {
  min-width: 0;
  display: grid;
  gap: clamp(18px, 2vw, 34px);
}

.project-detail-images figure {
  position: relative;
  margin: 0;
  background: #111411;
}

.project-detail-images img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}

.project-detail-images figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  color: white;
  background: rgba(8, 10, 8, 0.62);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.project-detail-page .site-footer {
  border-top: 1px solid rgba(247, 245, 241, 0.16);
}

@media (max-width: 900px) {
  .site-header,
  .site-header-dark {
    min-height: 70px;
  }

  .project-detail-layout {
    padding: 110px 24px 90px;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .project-detail-copy {
    position: static;
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }
}

@media (max-width: 560px) {
  .project-detail-layout {
    padding-right: 18px;
    padding-left: 18px;
  }

  .project-detail-copy h1 {
    font-size: clamp(30px, 10vw, 44px);
  }

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

/* Keep the requested product text scale after all shop and responsive rules. */
.shop-toolbar > p { font-size: 18px; }
.shop-card > p { font-size: 20px; }
.shop-card li { font-size: 15px; }
.shop-card > small { font-size: 16px; }
.shop-card-action span { font-size: 17px; }
.shop-card-action button { font-size: 17px; }
.lightbox-close span { font-size: 15px; }
.lightbox-detail-scroll > p:first-child { font-size: 15px; }
.lightbox-note { font-size: 17px; }
.lightbox-details dt,
.lightbox-details dd { font-size: 15px; }
.lightbox-action strong { font-size: 19px; }
.lightbox-action button { font-size: 17px; }
