/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

/* ===== DESIGN TOKENS ===== */
:root {
  --navy: #020923;
  --warm-gold: #C9A96E;
  --orange:#f08519;
  --linen: #E5E0D8;
  --cream: #FAFAF7;
  --charcoal: #1A1A1A;
  --muted: rgba(26, 26, 26, .58);
  --line: rgba(26, 26, 26, .12);
  --soft: #F6F5F2;
  --radius: .625rem;
  --header-height: 5.75rem;
  --font-sans: 'Noto Sans SC','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  --font-serif: 'Noto Serif SC','Songti SC','SimSun',serif;
}
body {
  min-height: 100vh;
  /*padding-top: var(--header-height);*/
  overflow-x: hidden;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--charcoal);
}

button { background: none; border: none; cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

.container {
  width: 90%;
  margin: 0 auto;
}

/* ===== PRODUCT DETAIL ===== */
.single-umup_product { background: #f2f2ef; }

.umup-product-page {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3.75rem);
  background:
    radial-gradient(circle at 14% 4%, rgba(201, 169, 110, .09), transparent 26rem),
    #f2f2ef;
}

.admin-bar .umup-product-page { padding-top: calc(var(--header-height) + 5.75rem); }

.umup-product-hero { padding-bottom: clamp(4rem, 8vw, 7.5rem); }

.umup-product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(22rem, .68fr);
  gap: clamp(1rem, 2vw, 2rem);
  width: 90%;
  max-width: 100rem;
  margin: 0 auto;
}

.umup-product-gallery {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
}

.umup-product-gallery.is-single { grid-template-columns: minmax(0, 1fr); }

.umup-product-thumbs {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-height: 48rem;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.umup-product-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, .08);
  background: #fff;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.umup-product-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 220ms ease;
}

.umup-product-thumb:hover { transform: translateY(-2px); }

.umup-product-thumb.is-active {
  border-color: var(--warm-gold);
  box-shadow: 0 .6rem 1.6rem rgba(27, 58, 75, .1);
}

.umup-product-thumb.is-active::after { border-color: var(--warm-gold); }

.umup-product-thumb:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.umup-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.umup-product-stage {
  position: relative;
  min-height: clamp(34rem, 52vw, 48rem);
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, .045);
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(27, 58, 75, .055);
}

.umup-product-stage > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.umup-product-stage [data-gallery-main] {
  width: 100%;
  height: 100%;
  max-height: 39rem;
  object-fit: contain;
  opacity: 1;
  transform: scale(1);
  transition: opacity 260ms ease, transform 500ms cubic-bezier(.2, .75, .3, 1);
}

.umup-product-stage:hover [data-gallery-main] { transform: scale(1.025); }

.umup-product-stage [data-gallery-main].is-switching {
  opacity: .25;
  transform: scale(.985);
}

.umup-product-zoom-hint {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .75rem;
  background: rgba(255, 255, 255, .86);
  color: rgba(26, 26, 26, .58);
  font-size: .7rem;
  letter-spacing: .08em;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.umup-product-zoom-hint svg { width: 1rem; height: 1rem; }

.umup-product-summary {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  min-height: clamp(34rem, 52vw, 48rem);
  padding: clamp(2.25rem, 3.5vw, 4rem) clamp(1.75rem, 3vw, 3.5rem);
  border-top: 3px solid var(--warm-gold);
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(27, 58, 75, .055);
}

.admin-bar .umup-product-summary { top: calc(var(--header-height) + 3.5rem); }

.umup-product-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.umup-product-kicker {
  color: var(--warm-gold);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.umup-product-badge {
  padding: .35rem .62rem;
  background: var(--navy);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .12em;
}

.umup-product-summary h1 {
  max-width: 15ch;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.umup-product-model {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.umup-product-model span {
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .08em;
}

.umup-product-model strong {
  color: var(--navy);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
}

.umup-product-parameters { margin-top: 1.25rem; }

.umup-product-parameters > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: .72rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, .075);
}

.umup-product-parameters dt {
  color: rgba(26, 26, 26, .46);
  font-size: .75rem;
  letter-spacing: .08em;
}

.umup-product-parameters dd {
  color: rgba(26, 26, 26, .84);
  font-size: .82rem;
  line-height: 1.6;
}

.umup-inquiry-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.65rem;
  margin-top: 2rem;
  padding: .85rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.umup-inquiry-button:hover {
  background: #102c3a;
  box-shadow: 0 .9rem 2rem rgba(27, 58, 75, .18);
  transform: translateY(-2px);
}

.umup-inquiry-button:focus-visible { outline: 2px solid var(--warm-gold); outline-offset: 3px; }
.umup-inquiry-button svg { width: 1.2rem; height: 1.2rem; transition: transform 220ms ease; }
.umup-inquiry-button:hover svg { transform: translateX(.25rem); }

.umup-inquiry-note {
  margin-top: .85rem;
  color: rgba(26, 26, 26, .43);
  font-size: .7rem;
  line-height: 1.75;
}

.umup-product-details {
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(5rem, 10vw, 10rem);
  background: #fff;
}

.umup-product-details-head {
  width: 90%;
  max-width: 70rem;
  margin: 0 auto clamp(3rem, 6vw, 5.5rem);
  text-align: center;
}

.umup-product-details-head > span {
  display: inline-block;
  color: var(--warm-gold);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
}

.umup-product-details-head h2 {
  margin-top: .8rem;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
}

.umup-product-details-head h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 1.25rem auto 0;
  background: var(--warm-gold);
}

.umup-product-details-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .12em;
}

.umup-product-entry {
  color: rgba(26, 26, 26, .74);
  font-size: clamp(.96rem, 1.2vw, 1.08rem);
  line-height: 1.95;
}

.umup-product-entry > * {
  width: min(90%, 70rem);
  margin-right: auto;
  margin-left: auto;
}

.umup-product-entry > * + * { margin-top: clamp(2rem, 4vw, 4rem); }

.umup-product-entry > .alignwide { width: min(90%, 88rem); max-width: none; }

.umup-product-entry > .alignfull {
  width: 100%;
  max-width: none;
}

.umup-product-entry .umup-detail-section {
  width: min(90%, 88rem);
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--soft);
}

.umup-product-entry .umup-detail-section:nth-of-type(even) { background: #f1f2f1; }

.umup-product-entry .umup-detail-section > h2,
.umup-product-entry .umup-detail-section > .wp-block-group__inner-container > h2 {
  position: relative;
  margin: 0 0 clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: 1rem;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 500;
  line-height: 1.3;
}

.umup-product-entry .umup-detail-section > h2::after,
.umup-product-entry .umup-detail-section > .wp-block-group__inner-container > h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.25rem;
  height: 1px;
  background: var(--warm-gold);
}

.umup-product-entry .umup-detail-section > * + *,
.umup-product-entry .umup-detail-section > .wp-block-group__inner-container > * + * { margin-top: 1.5rem; }

.umup-product-entry :where(h2, h3, h4, h5, h6) {
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
}

.umup-product-entry h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.umup-product-entry p + p { margin-top: 1rem; }
.umup-product-entry a:not(.wp-block-file__button) { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(27, 58, 75, .25); text-underline-offset: .2em; }
.umup-product-entry :where(ul, ol) { padding-left: 1.4rem; }
.umup-product-entry ul { list-style: disc; }
.umup-product-entry ol { list-style: decimal; }
.umup-product-entry li + li { margin-top: .5rem; }
.umup-product-entry li::marker { color: var(--warm-gold); }

.umup-product-entry :where(.wp-block-image, .wp-block-gallery, .wp-block-video, .wp-block-cover) { margin-top: clamp(1.5rem, 3vw, 2.75rem); }
.umup-product-entry .wp-block-image img,
.umup-product-entry .wp-block-gallery img,
.umup-product-entry .wp-block-video video { width: 100%; }

.umup-product-entry .wp-block-gallery {
  display: grid;
  gap: clamp(.75rem, 1.5vw, 1.5rem);
}

.umup-product-entry figcaption {
  margin-top: .65rem;
  color: rgba(26, 26, 26, .46);
  font-size: .72rem;
  line-height: 1.6;
  text-align: center;
}

.umup-product-entry .wp-block-video {
  overflow: hidden;
  background: #111;
}

.umup-product-entry .wp-block-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(26, 26, 26, .1);
  background: #fff;
  font-size: .82rem;
}

.umup-product-entry .wp-block-file__button {
  flex: 0 0 auto;
  margin: 0;
  padding: .65rem 1rem;
  border-radius: 0;
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .08em;
}

.umup-product-entry .wp-block-quote {
  padding: 1.25rem 0 1.25rem 1.75rem;
  border-left: 2px solid var(--warm-gold);
  color: rgba(26, 26, 26, .68);
  font-family: var(--font-serif);
  font-size: 1.2em;
}

.umup-product-entry .wp-block-table { overflow-x: auto; }
.umup-product-entry .wp-block-table table { width: 100%; border-collapse: collapse; }
.umup-product-entry .wp-block-table :where(th, td) { padding: .85rem 1rem; border: 1px solid var(--line); }
.umup-product-entry .wp-block-table th { background: var(--soft); color: var(--charcoal); }

.umup-detail-lead {
  display: grid;
  grid-template-columns: minmax(16rem, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.umup-detail-eyebrow {
  margin-bottom: .75rem;
  color: var(--warm-gold);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.umup-detail-lead h3 {
  font-size: clamp(1.55rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.45;
}

.umup-product-entry .umup-product-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 0;
  background: rgba(27, 58, 75, .11);
  list-style: none;
}

.umup-product-feature-list li {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 8.5rem;
  padding: 1.5rem;
  background: #fff;
}

.umup-product-feature-list strong {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.umup-product-feature-list span { color: var(--muted); font-size: .78rem; }

.umup-cmf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.5rem);
}

.umup-cmf-grid figure { overflow: hidden; background: #fff; }

.umup-cmf-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2, .75, .3, 1);
}

.umup-cmf-grid figure:hover img { transform: scale(1.035); }
.umup-cmf-grid figcaption { padding: .8rem 1rem 1rem; text-align: left; }

.umup-video-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(22rem, 50vw, 42rem);
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.umup-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 18, 23, .12), rgba(9, 18, 23, .72));
}

.umup-video-placeholder button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  color: #fff;
  transition: background-color 220ms ease, transform 220ms ease;
}

.umup-video-placeholder button:hover { background: rgba(255, 255, 255, .16); transform: scale(1.06); }
.umup-video-placeholder button svg { width: 1.5rem; height: 1.5rem; margin-left: .18rem; }

.umup-video-placeholder > div {
  position: absolute;
  z-index: 1;
  right: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(1.25rem, 4vw, 3.5rem);
  left: clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.umup-video-placeholder > div span { color: var(--warm-gold); font-size: .65rem; letter-spacing: .18em; }
.umup-video-placeholder > div strong { font-family: var(--font-serif); font-size: clamp(1.35rem, 3vw, 2.4rem); font-weight: 500; }
.umup-video-placeholder > div small { color: rgba(255, 255, 255, .6); font-size: .7rem; }

.umup-scene-image img { width: 100%; max-height: 52rem; object-fit: cover; }

.mobile-nav a {
  display: block;
  padding: .6rem 0;
  color: rgba(255, 255, 255, .9);
  font-size: .875rem;
}

.footer-col a { color: rgba(255, 255, 255, .5); font-size: .875rem; transition: color 200ms; }
.footer-col a:hover { color: rgba(255, 255, 255, .85); }

@media (max-width: 1180px) {
  .umup-product-shell { grid-template-columns: 1fr; }
  .umup-product-summary { position: static; min-height: 0; }
  .umup-product-summary h1 { max-width: 22ch; }
  .umup-product-parameters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

@media (max-width: 767px) {
  .umup-product-page { padding-top: calc(var(--header-height) + 2.25rem); }
  .admin-bar .umup-product-page { padding-top: calc(var(--header-height) + 4.5rem); }
  .umup-product-shell { width: calc(100% - 1.5rem); }
  .umup-product-gallery { display: flex; flex-direction: column-reverse; gap: .75rem; }
  .umup-product-thumbs { flex-direction: row; max-height: none; padding-bottom: .15rem; }
  .umup-product-thumb { width: 4.5rem; }
  .umup-product-stage { min-height: min(100vw, 29rem); }
  .umup-product-stage > a { padding: 1.5rem; }
  .umup-product-zoom-hint { right: .75rem; bottom: .75rem; }
  .umup-product-summary { padding: 2rem 1.25rem 2.25rem; }
  .umup-product-summary h1 { font-size: clamp(1.9rem, 10vw, 2.7rem); }
  .umup-product-parameters { display: block; }
  .umup-product-parameters > div { grid-template-columns: 4.75rem minmax(0, 1fr); }
  .umup-product-details { padding-top: 4.25rem; }
  .umup-product-details-head { width: calc(100% - 2rem); }
  .umup-product-entry > *,
  .umup-product-entry > .alignwide,
  .umup-product-entry .umup-detail-section { width: calc(100% - 1.5rem); }
  .umup-product-entry .umup-detail-section { padding: 1.5rem 1.15rem 2rem; }
  .umup-product-entry .wp-block-file { align-items: flex-start; flex-direction: column; }
  .umup-detail-lead { grid-template-columns: 1fr; gap: 1.25rem; }
  .umup-product-entry .umup-product-feature-list { grid-template-columns: 1fr; }
  .umup-product-feature-list li { min-height: 0; }
  .umup-cmf-grid { grid-template-columns: 1fr; }
  .umup-video-placeholder { min-height: 25rem; }
}

@media (max-width: 767px) {
  :root { --header-height: 5.75rem; }
  .container { width: calc(100% - 2rem); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.util-bar {
  background: var(--navy) 
  /*border-bottom: 1px solid var(--linen);*/
}

.util-bar-inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.25rem;
}

.util-bar button {
  font-size: .75rem;
  /*color: rgba(26, 26, 26, .7);*/
  color: var(--linen);
  padding: 0 .25rem;
  transition: color 200ms;
}

.util-bar button:hover { color:#fff; }
.util-account-link {
  max-width: min(15rem, 30vw);
  overflow: hidden;
  color: var(--linen);
  font-size: .75rem;
  padding: 0 .25rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 200ms;
}
.util-account-link:hover { color: #fff; }
.util-bar .sep { color: var(--linen); margin: 0 .25rem; font-size: .75rem; }
.util-left, .util-right { display: flex; align-items: center; gap: .25rem; }
.util-right .search-icon { width: .75rem; height: .75rem; vertical-align: middle; margin-right: .2rem; }

.util-search {
  position: relative;
  display: flex;
  align-items: center;
}

.util-search-popover[hidden] { display: none; }

.util-search-popover {
  position: absolute;
  top: 50%;
  right: calc(100% + .65rem);
  z-index: 30;
  width: min(19rem, 42vw);
  height: 2rem;
  padding: 0 .25rem 0 .65rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 1.65rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: .3rem;
  background: #fff;
  box-shadow: 0 .55rem 1.5rem rgba(2, 9, 35, .22);
  color: var(--navy);
  transform: translateY(-50%);
}

.util-search-popover::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -.32rem;
  width: .58rem;
  height: .58rem;
  border-top: 1px solid rgba(2, 9, 35, .08);
  border-right: 1px solid rgba(2, 9, 35, .08);
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}

.util-search-popover > svg {
  width: .85rem;
  height: .85rem;
  margin-right: .45rem;
  color: rgba(2, 9, 35, .45);
}

.util-search-popover input {
  min-width: 0;
  width: 100%;
  height: 1.85rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: .75rem;
}

.util-search-popover input::placeholder { color: rgba(2, 9, 35, .4); }
.util-search-popover input::-webkit-search-cancel-button { cursor: pointer; }

.util-bar .util-search-popover button {
  position: relative;
  z-index: 1;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .2rem;
  background: var(--navy);
  color: #fff;
}

.util-search-popover button:hover,
.util-search-popover button:focus-visible { background: #162c3a; }
.util-search-popover button svg { width: .8rem; height: .8rem; }

.main-nav {
  position: relative;
  /*background: rgba(0, 0, 0, .65);*/
  backdrop-filter: blur(4px);
  transition: background 500ms ease;
  background: rgb(2 9 35 / 29%);
}
.main-nav:hover { background: rgba(2, 9, 35, .9); }
.main-nav-inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6.5rem;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.nav-link {
  position: relative;
  height: 100%;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .9);
  transition: color 200ms;
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link:hover { color: #fff; }

.nav-link > a::after {
  content: '';
  position: absolute;
  bottom: .8rem; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 200ms ease;
}

.nav-link:hover > a::after,
.nav-link:focus-within > a::after { width: 100%; }
.nav-link > a { position: relative; display: flex; align-items: center; height: 100%; }
.nav-link-arrow {
  width: .75rem;
  height: .75rem;
  opacity: .7;
  pointer-events: none;
  transition: transform 200ms ease;
}

.nav-link--has-children:hover > .nav-link-arrow,
.nav-link--has-children:focus-within > .nav-link-arrow,
.nav-link--has-children.is-dropdown-open > .nav-link-arrow { transform: rotate(180deg); }

.logo {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .2em;
  flex-shrink: 0;
  height: 50%;
  /* padding: 20px 0; */
}
.logo img{height: 100%;}
.mobile-menu-btn {
  display: none;
  color: #fff;
  padding: .5rem;
}

.mobile-menu-btn svg { width: 1.25rem; height: 1.25rem; }

.nav-submenu {
  position: absolute;
  z-index: 20;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-.5rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-link:hover > .nav-submenu,
.nav-link:focus-within > .nav-submenu,
.nav-link.is-dropdown-open > .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* 紧凑的纯文字下拉菜单。 */
.nav-submenu--text {
  top: 100%;
  left: -1rem;
  min-width: 9rem;
  padding: .7rem 0;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .18);
  color: var(--charcoal);
}

.nav-submenu--text a {
  display: block;
  padding: .72rem 1.5rem;
  color: #222;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.nav-submenu--text a:hover,
.nav-submenu--text a:focus-visible {
  color: #000;
  background: #f3f1ed;
}

.nav-right .nav-submenu--text { right: -1rem; left: auto; }

/* 其他导航：全宽文字 + 图片下拉菜单。 */
.nav-link--mega { position: static; }

.nav-submenu--mega {
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(90deg, rgba(15, 15, 15, .97), rgba(15, 15, 15, .9)),
    url('../banners/office.jpg') center 55% / cover no-repeat;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, .22);
  color: #fff;
  background: rgba(2, 9, 35, .9);
}

.nav-mega__inner {
  width: 90%;
  min-height: 20rem;
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(11rem, .75fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 6rem);
}

.nav-mega__links { padding-top: .15rem; }
.nav-submenu--series { max-height: calc(100dvh - 10.75rem); overflow-y: auto; }
.nav-mega__links li + li { margin-top: .9rem; }
.nav-mega__links a {
  display: inline-block;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  line-height: 1.5;
  transition: color 180ms ease, transform 180ms ease;
}
.nav-mega__links a:hover,
.nav-mega__links a:focus-visible { color: #fff; transform: translateX(.25rem); }

.nav-mega__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 3rem);
}

.nav-mega-card { display: block; color: #fff; }
.nav-mega-card__image {
  display: block;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #2a2a2a;
}
.nav-mega-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, opacity 300ms ease;
}
.nav-mega-card:hover .nav-mega-card__image img,
.nav-mega-card:focus-visible .nav-mega-card__image img { transform: scale(1.04); opacity: .9; }
.nav-mega-card__title {
  display: block;
  margin-top: .8rem;
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
  line-height: 1.45;
}

.mobile-nav {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .1);
  animation: fadeInDown 200ms ease-out;
}

.mobile-nav.open { display: block; }
.mobile-nav-inner { width: calc(100% - 2rem); margin: 0 auto; padding: 1rem 0; }

.mobile-nav button {
  display: block;
  width: 100%;
  text-align: left;
  color: rgba(255, 255, 255, .9);
  font-size: .875rem;
  padding: .5rem 0;
  transition: color 200ms;
}

.mobile-nav button:hover { color: #fff; }

.mobile-download-menu { color: rgba(255, 255, 255, .9); font-size: .875rem; }
.mobile-download-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  cursor: pointer;
  list-style: none;
}
.mobile-download-menu summary::-webkit-details-marker { display: none; }
.mobile-download-menu summary::after { content: '⌄'; transition: transform 180ms ease; }
.mobile-download-menu[open] > summary::after { transform: rotate(180deg); }
.mobile-download-menu__links { padding: .25rem 0 .5rem 1rem; }
.mobile-download-menu__links a { display: block; padding: .6rem 0; }

.mobile-nav-sub {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mobile-nav-sub button { color: rgba(255, 255, 255, .7); font-size: .75rem; width: auto; }
.mobile-account-link {
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, .7);
  font-size: .75rem;
  line-height: 2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-account-link:hover { color: #fff; }

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.mobile-bottom-nav,
.mobile-more-backdrop { display: none; }

@keyframes mobileSheetUp {
  from { opacity: 0; transform: translateY(1rem) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 779px) {
  :root {
    --header-height: 0rem;
    --mobile-bottom-nav-height: 4.75rem;
  }

  .site-header { display: none !important; }

  body {
    padding-bottom: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom));
  }

  body.mobile-more-open { overflow: hidden; }

  .mobile-more-backdrop:not([hidden]) {
    position: fixed;
    inset: 0 0 calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom)) 0;
    z-index: 990;
    display: block;
    background: rgba(2, 9, 35, .38);
    backdrop-filter: blur(2px);
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    height: calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(2, 9, 35, .08);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -.55rem 1.6rem rgba(2, 9, 35, .1);
    color: #91949b;
  }

  .mobile-bottom-nav__bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    height: var(--mobile-bottom-nav-height);
    padding-right: max(.2rem, env(safe-area-inset-right));
    padding-left: max(.2rem, env(safe-area-inset-left));
  }

  .mobile-bottom-nav__item {
    position: relative;
    min-width: 0;
    height: 100%;
    padding: .55rem .2rem .45rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .26rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #9a9da4;
    font-family: inherit;
    line-height: 1;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color 180ms ease, background 180ms ease;
  }

  .mobile-bottom-nav__item > svg {
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 auto;
  }

  .mobile-bottom-nav__item > span:not(.mobile-bottom-nav__logo) {
    overflow: hidden;
    max-width: 100%;
    font-size: .72rem;
    font-weight: 400;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav__item:hover,
  .mobile-bottom-nav__item:focus-visible,
  .mobile-bottom-nav__item.is-active,
  .mobile-bottom-nav__item.is-open {
    color: var(--navy);
  }

  .mobile-bottom-nav__item:focus-visible {
    outline: 2px solid var(--warm-gold);
    outline-offset: -4px;
  }

  .mobile-bottom-nav__item.is-active::after,
  .mobile-bottom-nav__item.is-open::after {
    content: '';
    position: absolute;
    right: 50%;
    bottom: .22rem;
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    background: var(--warm-gold);
    transform: translateX(50%);
  }

  .mobile-bottom-nav__home { padding: .35rem .15rem; }

  .mobile-bottom-nav__logo {
    width: min(4.15rem, 18vw);
    height: 2.75rem;
    padding: .68rem .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--navy);
    box-shadow: 0 .45rem 1rem rgba(2, 9, 35, .2);
    transform: translateY(-.16rem);
  }

  .mobile-bottom-nav__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-more-sheet {
    position: absolute;
    right: max(.75rem, env(safe-area-inset-right));
    bottom: calc(100% + .7rem);
    left: max(.75rem, env(safe-area-inset-left));
    max-height: calc(100dvh - var(--mobile-bottom-nav-height) - 2rem - env(safe-area-inset-bottom));
    overflow-y: auto;
    padding: .4rem 1rem 1rem;
    border: 1px solid rgba(2, 9, 35, .08);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 1.25rem 3rem rgba(2, 9, 35, .24);
    color: var(--charcoal);
    animation: mobileSheetUp 220ms ease-out;
    overscroll-behavior: contain;
  }

  .mobile-more-sheet[hidden] { display: none; }

  .mobile-more-sheet__header {
    min-height: 3.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(2, 9, 35, .08);
  }

  .mobile-more-sheet__header strong {
    color: var(--navy);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .08em;
  }

  .mobile-more-sheet__header button {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: rgba(2, 9, 35, .68);
  }

  .mobile-more-sheet__header button:hover,
  .mobile-more-sheet__header button:focus-visible {
    background: rgba(2, 9, 35, .06);
    color: var(--navy);
  }

  .mobile-more-sheet__header svg { width: 1.25rem; height: 1.25rem; }

  .mobile-more-sheet__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    padding-top: .85rem;
  }

  .mobile-more-sheet__links a {
    min-height: 3.1rem;
    padding: .75rem .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(2, 9, 35, .06);
    border-radius: .7rem;
    background: #f7f7f5;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 500;
  }

  .mobile-more-sheet__links a::after {
    content: '›';
    color: rgba(2, 9, 35, .4);
    font-size: 1.1rem;
  }

  .mobile-more-sheet__links a:hover,
  .mobile-more-sheet__links a:focus-visible {
    border-color: rgba(201, 169, 110, .45);
    background: #fff;
  }

  .mobile-more-sheet .mobile-download-menu { grid-column: 1 / -1; color: var(--navy); }
  .mobile-more-sheet .mobile-download-menu summary {
    min-height: 3.1rem;
    padding: .75rem .9rem;
    border: 1px solid rgba(2, 9, 35, .06);
    border-radius: .7rem;
    background: #f7f7f5;
    font-size: .82rem;
    font-weight: 500;
  }
  .mobile-more-sheet .mobile-download-menu__links { padding: .65rem 0 0; }
  .mobile-more-sheet .mobile-download-menu__links a + a { margin-top: .65rem; }
}

@media (max-width: 360px) {
  .mobile-bottom-nav__item > span:not(.mobile-bottom-nav__logo) { font-size: .67rem; }
  .mobile-more-sheet__links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-more-sheet { animation: none; }
}

/* ===== FOOTER ===== */
.site-footer {
  width: 100%;
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
}

.footer-main {
  width: 90%;
  margin: 0 auto;
  padding: 4rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-brand a { display: inline-flex; }

.footer-brand img {
  display: block;
  width: clamp(12rem, 20vw, 15.5rem);
  height: auto;
}

.footer-nav {
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem clamp(1.25rem, 3vw, 2.75rem);
}

.footer-nav a {
  color: rgba(255, 255, 255, .65);
  font-size: .875rem;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: color 200ms;
}

.footer-nav a:hover,
.footer-nav a:focus-visible { color: #fff; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.footer-social-item {
  position: relative;
  display: flex;
}

.footer-social-item.has-qr .social-btn { cursor: help; }
.footer-social-item.has-qr a.social-btn { cursor: pointer; }

.site-footer .footer-social-qr {
  --footer-qr-x: -50%;
  position: absolute;
  left: 50%;
  bottom: calc(100% + .875rem);
  z-index: 10;
  width: 9.75rem;
  padding: .5rem .5rem .45rem;
  border: 1px solid rgba(17, 30, 42, .08);
  border-radius: .45rem;
  background: #fff;
  box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .22);
  color: var(--charcoal);
  opacity: 0;
  visibility: hidden;
  transform: translate(var(--footer-qr-x), .75rem) scale(.96);
  transform-origin: bottom center;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  will-change: opacity, transform;
}

.site-footer .footer-social-qr::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -.375rem;
  width: .75rem;
  height: .75rem;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.footer-social-qr-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.footer-social-qr-label {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: .35rem;
  color: rgba(26, 26, 26, .72);
  font-size: .7rem;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer .footer-social-item.has-qr:hover .footer-social-qr,
.site-footer .footer-social-item.has-qr:focus-within .footer-social-qr {
  opacity: 1;
  visibility: visible;
  transform: translate(var(--footer-qr-x), 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-social-qr { transition: none; }
}

.social-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .55);
  transition: color 200ms, border-color 200ms, transform 200ms;
}

.social-btn:hover,
.social-btn:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-2px);
}

.social-channel-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.social-channel-icon--stroke,
.social-btn .social-channel-icon--stroke,
.contact-social-card-icon .social-channel-icon--stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-channel-icon--stroke .social-channel-icon__fill {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 520px) {
  .site-footer .footer-social-item:first-child .footer-social-qr {
    --footer-qr-x: 0;
    left: -.25rem;
  }
  .site-footer .footer-social-item:first-child .footer-social-qr::after { left: 1.4rem; }
  .site-footer .footer-social-item:last-child .footer-social-qr {
    --footer-qr-x: 0;
    right: -.25rem;
    left: auto;
  }
  .site-footer .footer-social-item:last-child .footer-social-qr::after {
    right: 1.4rem;
    left: auto;
    transform: translateX(50%) rotate(45deg);
  }
}
.footer-contact {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  font-size: .875rem;
  color: rgba(255, 255, 255, .4);
}

.footer-contact span { color: rgba(255, 255, 255, .6); }

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1rem 0;
}

.footer-copy p {
  width: 90%;
  margin: 0 auto;
  color: rgba(255, 255, 255, .3);
  font-size: .75rem;
  text-align: center;
}

/* ===== PAGE SHARED ===== */
.page-main { min-height: 70vh; background: #fff; }

.page-hero {
  padding: 6.5rem 0 3.25rem;
  background: #fff;
}

.page-hero.is-compact { padding-bottom: 1.75rem; }

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--warm-gold);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: .75rem;
}

.page-kicker::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(26, 26, 26, .86);
}

.page-subtitle {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.listing-shell {
  display: grid;
  grid-template-columns: 20.5rem 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 5rem;
}

.filter-panel {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  align-self: start;
  color: rgba(26, 26, 26, .78);
}

.filter-search {
  position: relative;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--charcoal);
}

.filter-search input {
  width: 100%;
  height: 3.25rem;
  padding: 0 2.5rem 0 0;
  border: 0;
  outline: 0;
  font-size: .875rem;
  color: var(--charcoal);
  background: transparent;
}

.filter-search svg {
  position: absolute;
  right: 0;
  top: 50%;
  width: 1.35rem;
  height: 1.35rem;
  transform: translateY(-50%);
  color: rgba(26, 26, 26, .58);
}

.filter-group {
  border-bottom: 1px solid var(--line);
  padding: .85rem 0;
}

.filter-trigger {
  width: 100%;
  min-height: 2.25rem;
  padding: 0 .35rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  transition: background 200ms, color 200ms;
}

.filter-group.is-active .filter-trigger {
  background: var(--soft);
  color: var(--charcoal);
  padding-left: 1rem;
  padding-right: 1rem;
}

.filter-trigger svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  transition: transform 200ms ease;
}

.filter-group.is-collapsed .filter-trigger svg { transform: rotate(-90deg); }

.filter-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.4rem;
  padding: .85rem 0 .65rem;
}

.filter-content.is-single { grid-template-columns: 1fr; }
.filter-group.is-collapsed .filter-content { display: none; }

.check-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  color: rgba(26, 26, 26, .68);
  font-size: .925rem;
  line-height: 1.55;
  cursor: pointer;
}

.check-option input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(26, 26, 26, .16);
  border-radius: 3px;
  background: #fff;
  transition: background 180ms, border-color 180ms;
}

.check-option input:checked {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: inset 0 0 0 3px #fff;
}

.listing-head {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.45rem;
}

.selected-line {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  color: rgba(26, 26, 26, .82);
  font-size: .925rem;
}

.selected-tags {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 2rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--soft);
  color: rgba(26, 26, 26, .72);
  font-size: .82rem;
}

.selected-tag button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 26, 26, .54);
  font-size: 1rem;
  line-height: 1;
}

.clear-filters {
  color: rgba(26, 26, 26, .5);
  font-size: .875rem;
  transition: color 200ms;
}

.clear-filters:hover { color: var(--charcoal); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.catalog-card {
  border: 1px solid rgba(26, 26, 26, .08);
  background: #fff;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 26, 26, .16);
  box-shadow: 0 1.25rem 2.25rem rgba(0, 0, 0, .08);
}

.catalog-media {
  aspect-ratio: 1 / .72;
  overflow: hidden;
  background: var(--soft);
  background: #fff;
}

.catalog-media img {
  width: 100%;
  height: 100%;
  object-fit:contain;
  transition: transform 500ms ease;
}

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

.catalog-info {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.catalog-info h2,
.catalog-info h3 {
  color: rgba(26, 26, 26, .84);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.catalog-info time {
  display: block;
  margin-bottom: .35rem;
  color: var(--warm-gold);
  font-size: .75rem;
  letter-spacing: .08em;
}

.news-card .catalog-info {
  min-height: 6rem;
  display: block;
  text-align: left;
}

.news-card .catalog-info h2 { font-size: .98rem; }
/* ===== NEWS LIST ===== */
.news-listing-shell {
  grid-template-columns: minmax(0, 1fr);
  padding-top: clamp(4rem, 7vw, 6.5rem);
}

.news-list-column { min-width: 0; }
.news-catalog-grid { align-items: stretch; }
.news-card { height: 100%; }

.news-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
}

.news-card .catalog-media img { object-fit: cover; }

.news-card .catalog-info {
  min-height: 12rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.25rem 1.25rem 1.4rem;
  text-align: left;
}

.news-card .catalog-info time {
  margin-bottom: .65rem;
  color: var(--warm-gold);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.news-card .catalog-info h2 {
  color: rgba(26, 26, 26, .88);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.5;
  transition: color 200ms ease;
}

.news-card-description {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .7rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card-link:hover h2,
.news-card-link:focus-visible h2 {
  color: var(--warm-gold);
}

.news-card-link:focus-visible {
  outline: 1px solid var(--warm-gold);
  outline-offset: .25rem;
}

.news-list-empty {
  padding: 4rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--soft);
  text-align: center;
}

.news-list-empty h2 {
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.news-list-empty p {
  margin-top: .75rem;
  color: var(--muted);
  line-height: 1.7;
}

.product-pagination { margin-top: 2.5rem; }

.product-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-pagination li { margin: 0; }

.product-pagination a.page-numbers,
.product-pagination span.page-numbers {
  display: inline-flex;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .65rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: rgba(26, 26, 26, .68);
  font-size: .85rem;
  transition: border-color 180ms, background 180ms, color 180ms;
}

.product-pagination a.page-numbers:hover,
.product-pagination a.page-numbers:focus-visible {
  border-color: var(--navy);
  color: var(--navy);
}

.product-pagination span.page-numbers.current {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

@media (max-width: 767px) {
  .news-listing-shell { padding-top: 3.5rem; }
  .news-card .catalog-info { min-height: auto; padding: 1.15rem 1.1rem 1.3rem; }
  .news-card .catalog-info h2 { font-size: 1.05rem; }
}
.case-section {
  padding: 1rem 0 5.5rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4.5rem 3.25rem;
}

.case-card {
  text-align: center;
}

.case-media {
  aspect-ratio: 4 / 2.82;
  overflow: hidden;
  background: var(--soft);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

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

.case-card h2 {
  margin-top: 1.85rem;
  font-size: clamp(1.25rem, 1.45vw, 1.75rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(26, 26, 26, .86);
}

.case-card .more-link {
  display: inline-flex;
  margin-top: .85rem;
  color: rgba(26, 26, 26, .78);
  font-size: .875rem;
  transition: color 200ms;
}

.case-card:hover .more-link { color: var(--warm-gold); }

.video-feature {
  padding: 3rem 0 4.25rem;
  overflow: hidden;
}

.video-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.video-feature-card {
  position: relative;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.video-feature-card img,
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.video-feature-card:hover img,
.video-card:hover .video-thumb img { transform: scale(1.04); }

.video-feature-card::after,
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .42), rgba(0, 0, 0, .08) 58%, rgba(0, 0, 0, .16));
  pointer-events: none;
}

.video-feature-card[data-feature-slot="prev"]::after,
.video-feature-card[data-feature-slot="next"]::after {
  background: rgba(0, 0, 0, .66);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .1);
}

.video-play::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: .22rem;
  border-top: .55rem solid transparent;
  border-bottom: .55rem solid transparent;
  border-left: .8rem solid #fff;
}

.video-feature-meta {
  position: absolute;
  left: 2rem;
  bottom: 1.75rem;
  z-index: 2;
}

.video-feature-card[data-feature-slot="prev"] .video-feature-meta,
.video-feature-card[data-feature-slot="next"] .video-feature-meta {
  display: none;
}

.video-feature-card[data-feature-slot="prev"] .video-play,
.video-feature-card[data-feature-slot="next"] .video-play,
.video-feature-card[data-feature-slot="current"] .video-side-index {
  display: none;
}

.video-feature-meta time {
  display: block;
  margin-bottom: .65rem;
  color: rgba(255, 255, 255, .78);
  font-size: .875rem;
  letter-spacing: .08em;
}

.video-feature-meta h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.video-side-index {
  position: absolute;
  left: 2rem;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, .82);
  font-size: .875rem;
}

.video-side-index::before {
  content: '';
  width: 2.8rem;
  height: 1px;
  background: rgba(255, 255, 255, .55);
}

.video-feature-dots {
  display: flex;
  justify-content: center;
  gap: .7rem;
  margin-top: 1.5rem;
}

.video-feature-dot {
  width: .48rem;
  height: .48rem;
  border-radius: 999px;
  background: rgba(26, 26, 26, .24);
  transition: transform 200ms, background 200ms;
}

.video-feature-dot.is-active {
  background: rgba(26, 26, 26, .78);
  transform: scale(1.35);
}

.video-heading {
  margin: 0 auto;
  text-align: center;
}

.video-heading h1 {
  font-size: clamp(2.8rem, 4.4vw, 4.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(26, 26, 26, .82);
}

.video-controls {
  width: min(74%, 73rem);
  margin: 3rem auto 5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.video-control {
  position: relative;
  height: 3.25rem;
  border: 1px solid rgba(26, 26, 26, .36);
  background: #fff;
}

.video-control select,
.video-control input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgba(26, 26, 26, .72);
  font: inherit;
  font-size: .875rem;
  letter-spacing: .05em;
}

.video-control select {
  appearance: none;
  padding: 0 3rem 0 1.25rem;
}

.video-control input {
  padding: 0 3rem 0 1.25rem;
}

.video-control svg {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateY(-50%);
  color: rgba(26, 26, 26, .74);
  pointer-events: none;
}

.video-list {
  padding-bottom: 5.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4rem 3.25rem;
}

.video-card {
  text-align: center;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
}

.video-card time {
  display: block;
  margin: 1rem 0 .65rem;
  color: rgba(26, 26, 26, .62);
  font-size: .875rem;
  letter-spacing: .08em;
}

.video-card h2 {
  color: rgba(26, 26, 26, .86);
  font-size: clamp(1.35rem, 1.55vw, 1.9rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: .03em;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4.5rem;
}

.load-more-btn {
  min-width: 7rem;
  height: 2.25rem;
  padding: 0 1.25rem;
  background: rgba(26, 26, 26, .42);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .12em;
  transition: background 200ms;
}

.load-more-btn:hover {
  background: rgba(26, 26, 26, .72);
}

.download-page {
  background: #fff;
}

.download-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.download-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transform: scale(1.02);
}

.download-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, .62)),
    linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .08) 58%);
}

.download-hero-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 30rem);
  gap: 5rem;
  align-items: end;
  padding: 7rem 0 5.5rem;
}

.download-hero-copy h1 {
  max-width: 58rem;
  font-size: clamp(3.4rem, 7vw, 8.6rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: 0;
  color: #fff;
}

.download-hero-copy p {
  max-width: 43rem;
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  line-height: 1.95;
}

.download-hero-panel {
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(15, 15, 15, .62);
  backdrop-filter: blur(16px);
  padding: 2rem;
}

.download-hero-panel span {
  color: rgba(255, 255, 255, .58);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.download-hero-panel h2 {
  margin-top: 1.25rem;
  color: #fff;
  font-size: clamp(1.55rem, 2vw, 2.3rem);
  font-weight: 400;
  line-height: 1.2;
}

.download-hero-panel p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .68);
  line-height: 1.85;
}

.download-primary-link,
.download-feature-actions a,
.download-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.85rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(26, 26, 26, .2);
  background: #1A1A1A;
  color: #fff;
  font-size: .84rem;
  letter-spacing: .08em;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.download-primary-link {
  margin-top: 1.7rem;
  border-color: rgba(255, 255, 255, .22);
  background: #fff;
  color: #111;
}

.download-primary-link svg {
  width: 1rem;
  height: 1rem;
}

.download-primary-link:hover,
.download-feature-actions a:hover,
.download-card a:hover {
  transform: translateY(-2px);
}

.download-feature {
  padding: 7rem 0;
  display: grid;
  grid-template-columns: minmax(22rem, .78fr) minmax(0, 1fr);
  gap: 6vw;
  align-items: center;
}

.download-feature-cover {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  background: var(--soft);
}

.download-feature-cover img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
  transition: transform 800ms ease, filter 800ms ease;
}

.download-feature-cover:hover img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.05);
}

.download-cover-label {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  background: rgba(255, 255, 255, .86);
  color: rgba(26, 26, 26, .82);
}

.download-cover-label span {
  font-size: .75rem;
  letter-spacing: .18em;
}

.download-cover-label strong {
  font-size: 1.5rem;
  font-weight: 400;
}

.download-feature-copy h2,
.download-section-head h2,
.download-note h2 {
  max-width: 52rem;
  color: rgba(26, 26, 26, .9);
  font-size: clamp(2.3rem, 4.4vw, 5.4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0;
}

.download-feature-copy p {
  max-width: 44rem;
  margin-top: 1.7rem;
  color: rgba(26, 26, 26, .64);
  font-size: 1.02rem;
  line-height: 2;
}

.download-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.2rem;
}

.download-feature-actions a:last-child {
  background: #fff;
  color: rgba(26, 26, 26, .86);
}

.download-section {
  padding: 7rem 0;
  background: #F4F1EC;
}

/* 区块自带 7rem 留白，额外避让固定导航和登录后的管理栏。 */
.download-section[id] {
  scroll-margin-top: calc(3rem + var(--wp-admin--admin-bar--height, 0px));
}
@media (max-width: 779px) {
  .download-section[id] { scroll-margin-top: 0; }
}

.download-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.download-count {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  color: rgba(26, 26, 26, .58);
  white-space: nowrap;
}

.download-count strong {
  color: rgba(26, 26, 26, .9);
  font-size: clamp(2.2rem, 3vw, 4rem);
  font-weight: 300;
  line-height: 1;
}

.download-count span {
  font-size: .9rem;
  letter-spacing: .08em;
}

.download-categories {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: -1rem 0 3rem;
}

.download-categories button {
  min-height: 2.75rem;
  padding: 0 1.35rem;
  border: 1px solid rgba(26, 26, 26, .16);
  background: rgba(255, 255, 255, .66);
  color: rgba(26, 26, 26, .62);
  font-size: .88rem;
  letter-spacing: .05em;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.download-categories button:hover,
.download-categories button.is-active {
  border-color: rgba(26, 26, 26, .82);
  background: #1A1A1A;
  color: #fff;
  transform: translateY(-2px);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 2vw, 2.5rem);
}

.download-card {
  position: relative;
  background: transparent;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.download-card:hover {
  transform: translateY(-8px);
}

.download-card.is-hidden {
  display: none;
}

.download-card-media {
  position: relative;
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  background: #ddd;
  box-shadow:
    .8rem .95rem 1.7rem rgba(26, 26, 26, .18),
    inset .65rem 0 1.1rem rgba(0, 0, 0, .18);
  transform: perspective(70rem) rotateY(-5deg);
  transform-origin: left center;
  transition: transform 420ms ease, box-shadow 420ms ease;
}

.download-card-media::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 3;
  width: 1.1rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .72) 42%, rgba(0, 0, 0, .12)),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .38) 0 1px, transparent 1px 5px);
  pointer-events: none;
}

.download-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .42), transparent 18%, transparent 82%, rgba(255, 255, 255, .2)),
    linear-gradient(to top, rgba(0, 0, 0, .52), transparent 48%);
  pointer-events: none;
}

.download-card:hover .download-card-media {
  box-shadow:
    1.15rem 1.45rem 2.4rem rgba(26, 26, 26, .22),
    inset .6rem 0 1.2rem rgba(0, 0, 0, .14);
  transform: perspective(70rem) rotateY(-1.5deg);
}

.download-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 700ms ease;
}

.download-card:hover .download-card-media img {
  transform: scale(1.05);
}

.download-book-spine {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 4;
  width: 2.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.1rem 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, .86), rgba(34, 34, 34, .72));
  color: rgba(255, 255, 255, .82);
  box-shadow: .35rem 0 .9rem rgba(0, 0, 0, .28);
}

.download-book-spine span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .72rem;
  letter-spacing: .22em;
}

.download-book-label {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 5;
  min-width: 7rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .86);
  color: rgba(26, 26, 26, .86);
}

.download-book-label span {
  display: block;
  color: rgba(26, 26, 26, .52);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.download-book-label strong {
  display: block;
  margin-top: .25rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .08em;
}

.download-card-body {
  padding: 1.45rem .25rem 0;
}

.download-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(26, 26, 26, .48);
  font-size: .72rem;
  letter-spacing: .14em;
}

.download-card h3 {
  margin-top: 1rem;
  color: rgba(26, 26, 26, .9);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.35;
}

.download-card p {
  min-height: 5rem;
  margin-top: .75rem;
  color: rgba(26, 26, 26, .58);
  font-size: .92rem;
  line-height: 1.85;
}

.download-card a {
  width: 100%;
  margin-top: 1.2rem;
}

.download-note {
  margin-top: 0;
  margin-bottom: 7rem;
  display: grid;
  grid-template-columns: minmax(16rem, .55fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, .12);
}

.download-note h2 {
  font-size: clamp(1.85rem, 3vw, 3.3rem);
}

.download-note p {
  color: rgba(26, 26, 26, .62);
  font-size: 1rem;
  line-height: 1.95;
}

.contact-page {
  background: #fff;
}

.contact-hero {
  position: relative;
  min-height: calc(92vh - var(--header-height));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.contact-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .74;
  filter: saturate(.85) contrast(1.04);
  transform: scale(1.02);
}

.contact-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .24) 52%, rgba(0, 0, 0, .58)),
    linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .06) 58%);
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: 7rem 0 5.5rem;
}

.contact-hero-copy h1 {
  max-width: 58rem;
  font-size: clamp(3.4rem, 7vw, 8.5rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: 0;
  color: #fff;
}

.contact-hero-copy p {
  max-width: 43rem;
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  line-height: 1.95;
}

.contact-info-content span,
.contact-location-card span {
  color: rgba(255, 255, 255, .58);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.35rem;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #fff;
  color: #111;
  font-size: .86rem;
  letter-spacing: .08em;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

.contact-quick {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: -3rem;
  background: rgba(26, 26, 26, .12);
  box-shadow: 0 1.25rem 3rem rgba(26, 26, 26, .08);
}

.contact-quick-card {
  min-height: 16rem;
  padding: 2rem;
  background: #fff;
  transition: transform 260ms ease, background 260ms ease;
}

.contact-quick-card:hover {
  background: #F7F5F0;
  transform: translateY(-4px);
}

.contact-quick-card svg {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--warm-gold);
}

.contact-quick-card span {
  display: block;
  margin-top: 1.6rem;
  color: rgba(26, 26, 26, .5);
  font-size: .78rem;
  letter-spacing: .16em;
}

.contact-quick-card strong {
  display: block;
  margin-top: .8rem;
  color: rgba(26, 26, 26, .9);
  font-size: clamp(1.05rem, 1.18vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
}

.contact-quick-card p {
  margin-top: .8rem;
  color: rgba(26, 26, 26, .58);
  font-size: .92rem;
  line-height: 1.8;
}

.contact-main {
  padding: 7rem 0;
  background: #F4F1EC;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(24rem, .94fr);
  gap: 5vw;
  align-items: stretch;
}

.contact-form-panel {
  background: #fff;
  padding: clamp(2rem, 4vw, 4rem);
}

.contact-form-panel h2,
.contact-section-head h2,
.contact-socials-head h2,
.contact-map-copy h2 {
  max-width: 52rem;
  color: rgba(26, 26, 26, .9);
  font-size: clamp(2.25rem, 4.4vw, 5.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0;
}

.contact-form-panel > p {
  max-width: 42rem;
  margin-top: 1.4rem;
  color: rgba(26, 26, 26, .62);
  line-height: 1.95;
}

.contact-form {
  position: relative;
  margin-top: 2.5rem;
}

.contact-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  color: rgba(26, 26, 26, .7);
  font-size: .88rem;
  letter-spacing: .04em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: .55rem;
  border: 1px solid rgba(26, 26, 26, .16);
  border-radius: 0;
  outline: 0;
  background: #FAFAF7;
  color: rgba(26, 26, 26, .86);
  font: inherit;
  font-size: .95rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 3.15rem;
  padding: 0 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 8.5rem;
  padding: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(26, 26, 26, .72);
  background: #fff;
}

.contact-form button {
  width: min(100%, 13rem);
  border-color: #1A1A1A;
  background: #1A1A1A;
  color: #fff;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .62;
}

.contact-form-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: rgba(26, 26, 26, .6);
  font-size: .9rem;
  line-height: 1.6;
}

.contact-form-status.is-loading {
  color: rgba(26, 26, 26, .6);
}

.contact-form-status.is-success {
  color: #267349;
}

.contact-form-status.is-error {
  color: #a33a32;
}

.contact-info-panel {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.contact-info-panel > img {
  width: 100%;
  height: 100%;
  min-height: 35rem;
  object-fit: cover;
  opacity: .62;
  filter: saturate(.82);
}

.contact-info-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, .16) 62%);
}

.contact-info-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(1.8rem, 3vw, 3rem);
}

.contact-info-content h3 {
  max-width: 32rem;
  margin-top: 1.1rem;
  color: #fff;
  font-size: clamp(1.7rem, 2.4vw, 3rem);
  font-weight: 300;
  line-height: 1.18;
}

.contact-info-content ul {
  margin-top: 2rem;
  display: grid;
  gap: .85rem;
}

.contact-info-content li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, .72);
}

.contact-info-content li strong {
  color: var(--warm-gold);
  font-weight: 400;
}

.contact-socials {
  padding: 7rem 0;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.contact-socials-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  gap: 5vw;
  align-items: end;
  margin-bottom: 3rem;
}

.contact-socials-head .page-kicker { color: var(--warm-gold); }

.contact-socials-head h2 {
  margin-top: .65rem;
  color: #fff;
}

.contact-socials-head > p {
  max-width: 34rem;
  justify-self: end;
  color: rgba(255, 255, 255, .64);
  font-size: 1rem;
  line-height: 1.9;
}

.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.contact-social-card {
  min-width: 0;
  padding: .75rem;
  background: #fff;
  color: rgba(26, 26, 26, .9);
  box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, .12);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.contact-social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.4rem 3.2rem rgba(0, 0, 0, .2);
}

.contact-social-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.contact-social-card-media {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.contact-social-card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-social-card-title {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.contact-social-card-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: rgba(17, 30, 42, .94);
  color: #fff;
}

.contact-social-card-icon .social-channel-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-social-card-body {
  min-height: 8rem;
  padding: 1rem .35rem .35rem;
  border-top: 1px solid rgba(26, 26, 26, .08);
}

.contact-social-card h3 {
  color: rgba(26, 26, 26, .92);
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-social-card p {
  margin-top: .55rem;
  color: rgba(26, 26, 26, .55);
  font-size: .84rem;
  line-height: 1.7;
}
.contact-locations {
  padding: 7rem 0;
}

.contact-section-head {
  margin-bottom: 3rem;
}

.contact-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.contact-location-card {
  position: relative;
  min-height: 32rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.contact-location-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform 700ms ease;
}

.contact-location-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .76), rgba(0, 0, 0, .08) 58%);
}

.contact-location-card:hover img {
  transform: scale(1.055);
}

.contact-location-card div {
  position: relative;
  z-index: 1;
  padding: 1.8rem;
}

.contact-location-card h3 {
  margin-top: .8rem;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 400;
}

.contact-location-card p {
  margin-top: .8rem;
  color: rgba(255, 255, 255, .72);
  line-height: 1.75;
}

.contact-map-section {
  padding: 7rem 0;
  background: #111;
  color: #fff;
}

.contact-map-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 5vw;
  align-items: center;
}

.contact-map-copy h2 {
  color: #fff;
}

.contact-map-copy p {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, .66);
  line-height: 1.95;
}

.contact-map {
  position: relative;
  min-height: 36rem;
  overflow: hidden;
  background: #222;
}

.contact-map img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: .72;
  filter: grayscale(.25) contrast(1.08);
}

.contact-map-card {
  position: absolute;
  left: 1.6rem;
  bottom: 1.6rem;
  width: min(24rem, calc(100% - 3.2rem));
  padding: 1.4rem;
  background: rgba(255, 255, 255, .9);
  color: rgba(26, 26, 26, .86);
}

.contact-map-card span {
  display: block;
  color: rgba(26, 26, 26, .52);
  font-size: .76rem;
  letter-spacing: .14em;
}

.contact-map-card strong {
  display: block;
  margin-top: .6rem;
  font-size: 1.3rem;
  font-weight: 500;
}

.contact-map-card p {
  margin-top: .7rem;
  color: rgba(26, 26, 26, .62);
  line-height: 1.7;
}

.auth-page {
  background: #111;
}

.auth-shell {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.auth-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  filter: saturate(.86) contrast(1.05);
  transform: scale(1.02);
}

.auth-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .3) 55%, rgba(0, 0, 0, .68)),
    linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, .08) 58%);
}

.auth-inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(26rem, 31rem);
  gap: 6vw;
  align-items: center;
  padding: 8rem 0;
}

.auth-copy h1 {
  max-width: 58rem;
  font-size: clamp(3.2rem, 5.4vw, 6rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: 0;
  color: #fff;
}

.auth-copy p {
  max-width: 42rem;
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  line-height: 1.95;
}

.auth-benefits {
  max-width: 42rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: rgba(255, 255, 255, .18);
}

.auth-benefits div {
  min-height: 8.5rem;
  padding: 1.35rem;
  background: rgba(15, 15, 15, .48);
}

.auth-benefits strong {
  display: block;
  color: var(--warm-gold);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .18em;
}

.auth-benefits span {
  display: block;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, .76);
  font-size: .95rem;
  line-height: 1.7;
}

.auth-panel {
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(250, 250, 247, .94);
  color: rgba(26, 26, 26, .88);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
  padding: clamp(1.5rem, 2vw, 2rem);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(26, 26, 26, .14);
  background: #fff;
  margin-bottom: 2rem;
}

.auth-tabs button {
  height: 3rem;
  color: rgba(26, 26, 26, .58);
  font-size: .95rem;
  letter-spacing: .08em;
  transition: background 220ms ease, color 220ms ease;
}

.auth-tabs button.is-active {
  background: #1A1A1A;
  color: #fff;
}

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: block;
}

.auth-member-details {
  margin-top: 0;
  border-top: 1px solid rgba(26, 26, 26, .12);
}

.auth-member-details div {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, .12);
}

.auth-member-details dt {
  color: rgba(26, 26, 26, .48);
  font-size: .82rem;
}

.auth-member-details dd {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(26, 26, 26, .86);
  font-size: .92rem;
}

.auth-logout {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-form label {
  display: block;
  margin-top: 1.2rem;
  color: rgba(26, 26, 26, .68);
  font-size: .88rem;
  letter-spacing: .04em;
}

.auth-form > label:first-of-type {
  margin-top: 0;
}

.auth-form input {
  width: 100%;
  height: 3.15rem;
  margin-top: .55rem;
  border: 1px solid rgba(26, 26, 26, .16);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: rgba(26, 26, 26, .88);
  font: inherit;
  padding: 0 1rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.auth-form input:focus {
  border-color: rgba(26, 26, 26, .78);
  background: #FAFAF7;
}

.auth-password,
.auth-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  margin-top: .55rem;
}

.auth-password input,
.auth-code input {
  margin-top: 0;
  border-right: 0;
}

.auth-password button,
.auth-code button {
  min-width: 5rem;
  border: 1px solid rgba(26, 26, 26, .16);
  background: #F4F1EC;
  color: rgba(26, 26, 26, .72);
  font-size: .82rem;
  padding: 0 .9rem;
  transition: background 180ms ease, color 180ms ease;
}

.auth-password button:hover,
.auth-code button:hover {
  background: #1A1A1A;
  color: #fff;
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.auth-options label,
.auth-agree {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 0;
  color: rgba(26, 26, 26, .58);
  line-height: 1.7;
}

.auth-options input,
.auth-agree input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: #1A1A1A;
}

.auth-options button,
.auth-options a {
  color: rgba(26, 26, 26, .62);
  font-size: .88rem;
}

.auth-submit {
  width: 100%;
  min-height: 3.15rem;
  margin-top: 1.4rem;
  background: #1A1A1A;
  color: #fff;
  font-size: .92rem;
  letter-spacing: .1em;
  transition: transform 220ms ease, background 220ms ease;
}

.auth-submit:hover {
  transform: translateY(-2px);
  background: #000;
}

.auth-submit:disabled,
.auth-code button:disabled {
  cursor: wait;
  opacity: .58;
}

.auth-submit:disabled:hover {
  transform: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 .2rem;
  color: rgba(26, 26, 26, .42);
  font-size: .82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(26, 26, 26, .12);
}

.auth-status {
  min-height: 1.45rem;
  margin-top: 1rem;
  color: var(--warm-gold);
  font-size: .9rem;
  line-height: 1.6;
}

.auth-status.is-error {
  color: #a33d35;
}

.auth-status.is-success {
  color: #47734e;
}

.auth-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.about-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.about-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .18) 48%, rgba(0, 0, 0, .34)),
    linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, .05) 52%);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  width: 90%;
  margin: 0 auto;
  padding: 0 0 5.5rem;
}

.about-kicker {
  display: block;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 62rem;
  font-size: clamp(3.2rem, 7vw, 8rem);
  font-weight: 300;
  line-height: .96;
  letter-spacing: 0;
  color: #FFF;
}

.about-hero p {
  max-width: 42rem;
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.9;
}

.about-stats {
  background: #111;
  color: #fff;
}

.about-stats-grid {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.about-stat {
  min-height: 11rem;
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.about-stat strong {
  display: block;
  font-size: clamp(2rem, 3.3vw, 4.2rem);
  font-weight: 300;
  line-height: 1;
}

.about-stat span {
  display: block;
  margin-top: .9rem;
  color: rgba(255, 255, 255, .58);
  font-size: .92rem;
  letter-spacing: .08em;
}

.about-founder-quote {
  position: relative;
  height: clamp(28rem, 36vw, calc(100vh - var(--header-height)));
  overflow: hidden;
  background: #050505;
}

.about-founder-quote img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.03) saturate(.92);
  transform: scale(1.01);
  transition: transform 1200ms ease, filter 1200ms ease;
}

.about-founder-quote::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .32), rgba(0, 0, 0, 0) 62%),
    linear-gradient(to bottom, rgba(0, 0, 0, .08), rgba(0, 0, 0, .24));
  pointer-events: none;
}

.about-founder-quote:hover img {
  transform: scale(1.045);
  filter: contrast(1.06) saturate(1);
}

.about-section {
  padding: 7rem 0;
  background: #fff;
}

.about-section.is-stone {
  background: #F4F1EC;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 5rem;
  align-items: center;
}

.about-split.is-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.about-label {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.4rem;
  color: rgba(26, 26, 26, .52);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.about-label::before {
  content: '';
  width: 3rem;
  height: 1px;
  background: currentColor;
}

.about-heading {
  max-width: 48rem;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0;
  color: rgba(26, 26, 26, .9);
}

.about-copy {
  margin-top: 1.8rem;
  color: rgba(26, 26, 26, .68);
  font-size: 1.02rem;
  line-height: 2;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-media {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  background: #ddd;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.about-media-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  padding: .55rem .8rem;
  background: rgba(255, 255, 255, .78);
  color: rgba(26, 26, 26, .7);
  font-size: .75rem;
  letter-spacing: .12em;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.25rem;
  background: transparent;
}

.about-principle {
  position: relative;
  min-height: clamp(27rem, 31vw, 38rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.about-principle small {
  display: block;
  color: var(--warm-gold);
  font-size: .78rem;
  letter-spacing: .18em;
}

.about-principle h3 {
  margin-top: 1.15rem;
  color: #fff;
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
  font-weight: 400;
  line-height: 1.2;
}

.about-principle p {
  max-width: 25rem;
  margin-top: .95rem;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.95rem, 1vw, 1.08rem);
  line-height: 1.85;
}

.about-timeline {
  margin-top: 4rem;
  border-top: 1px solid rgba(26, 26, 26, .14);
}

.timeline-item {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 2.5rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, .14);
}

.timeline-year {
  color: rgba(26, 26, 26, .9);
  font-size: 1.5rem;
  font-weight: 400;
}

.timeline-item p {
  color: rgba(26, 26, 26, .66);
  font-size: .98rem;
  line-height: 1.8;
}

.about-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.about-style-card {
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: #111;
  color: #fff;
  text-decoration: none;
}

.about-style-card:focus-visible {
  outline: 2px solid #9a7956;
  outline-offset: 4px;
}

.about-style-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transition: transform 700ms ease;
}

.about-style-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .12));
}

.about-style-card:hover img,
.about-style-card:focus-visible img {
  transform: scale(1.05);
}

.about-style-card h3,
.about-style-card p {
  position: relative;
  z-index: 1;
}

.about-style-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
}

.about-style-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 3.6em;
  overflow: hidden;
  margin-top: .9rem;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  line-height: 1.8;
}

.about-quote {
  padding: 8rem 0;
  background: #111;
  color: #fff;
  text-align: center;
}

.about-quote blockquote {
  max-width: 78rem;
  width: 90%;
  margin: 0 auto;
  font-size: clamp(2.2rem, 4.6vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
}

.about-quote p {
  width: 90%;
  max-width: 42rem;
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, .58);
  line-height: 1.9;
}

.about-composition {
  padding: 6rem 0;
  background: #F6F6F4;
}

.about-composition-inner {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(28rem, .85fr);
  gap: 8vw;
  align-items: center;
}

.about-composition-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 46rem;
}

.about-composition-image {
  position: relative;
  overflow: hidden;
  background: #111;
}

.about-composition-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 52%, transparent 28%, rgba(0, 0, 0, .42) 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, .22), rgba(0, 0, 0, .34));
  pointer-events: none;
}

.about-composition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.02);
  transform: scale(1.02);
  transition: transform 900ms ease, filter 900ms ease;
}

.about-composition:hover .about-composition-image img {
  transform: scale(1.07);
  filter: saturate(.98) contrast(1.06);
}

.about-composition-copy {
  max-width: 38rem;
}

.about-composition-copy .about-heading {
  font-size: clamp(2.4rem, 3.5vw, 4.25rem);
  font-weight: 400;
}

.about-composition-copy .about-copy {
  font-size: 1.05rem;
  line-height: 2.15;
}

.about-timeline {
  position: relative;
  margin-top: 5rem;
  padding: 1rem 0 1rem 0;
  border-top: 0;
}

.about-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: min(22vw, 18rem);
  width: 1px;
  background: rgba(26, 26, 26, .18);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: min(22vw, 18rem) 2.5rem minmax(0, 1fr);
  gap: 0;
  min-height: 9rem;
  padding: 1.25rem 0;
  border-bottom: 0;
}

.timeline-year {
  padding-top: .7rem;
  color: rgba(26, 26, 26, .38);
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  font-weight: 300;
  line-height: 1;
  transition: color 300ms, transform 300ms;
}

.timeline-node {
  position: relative;
}

.timeline-node::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  left: -.42rem;
  width: .85rem;
  height: .85rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, .38);
  background: #fff;
  transition: transform 300ms, background 300ms, border-color 300ms, box-shadow 300ms;
}

.timeline-content {
  max-width: 55rem;
  padding: 1.2rem 0 2.35rem 2rem;
}

.timeline-content p {
  color: rgba(26, 26, 26, .66);
  font-size: 1rem;
  line-height: 1.9;
  transition: color 300ms;
}

.timeline-item.is-active .timeline-year {
  color: rgba(26, 26, 26, .92);
  transform: translateX(.45rem);
}

.timeline-item.is-active .timeline-node::before {
  background: var(--warm-gold);
  border-color: var(--warm-gold);
  box-shadow: 0 0 0 .55rem rgba(201, 169, 110, .16);
  transform: scale(1.2);
}

.timeline-item.is-active .timeline-content p {
  color: rgba(26, 26, 26, .86);
}

.about-gallery-section {
  background: #fff;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 9rem;
  gap: .9rem;
  margin-top: 3.5rem;
}

.about-gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}

.about-gallery-item.is-wide {
  grid-column: span 3;
  grid-row: span 2;
}

.about-gallery-item.is-tall,
.about-gallery-item.is-portrait {
  grid-column: span 2;
  grid-row: span 3;
}

.about-gallery-item:not(.is-wide):not(.is-tall):not(.is-portrait):not(.is-icon) {
  grid-column: span 2;
  grid-row: span 2;
}

.about-gallery-item.is-icon {
  grid-column: span 1;
  grid-row: span 1;
  padding: 1.2rem;
  background: #F4F1EC;
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.about-gallery-item.is-icon img {
  object-fit: contain;
}

.about-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 300ms;
}

.about-gallery-item:hover img {
  transform: scale(1.055);
  filter: contrast(1.05);
}

.about-gallery-item:hover::after {
  background: rgba(0, 0, 0, .12);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms ease, transform 760ms ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.about-principle:nth-child(2),
.about-style-card:nth-child(2),
.about-gallery-item:nth-child(2) {
  transition-delay: 90ms;
}

.about-principle:nth-child(3),
.about-style-card:nth-child(3),
.about-gallery-item:nth-child(3) {
  transition-delay: 180ms;
}

.about-principle:nth-child(4),
.about-gallery-item:nth-child(4) {
  transition-delay: 270ms;
}

.about-profile .about-media {
  min-height: 42rem;
}

.about-composition-images {
  grid-template-rows: 1fr .42fr;
}

.about-composition-image.is-wide {
  grid-column: 1 / -1;
}

.about-principle {
  isolation: isolate;
  overflow: hidden;
  transition: transform 360ms ease, box-shadow 360ms ease;
}

.about-principle::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .76), rgba(0, 0, 0, .3) 48%, rgba(0, 0, 0, .08)),
    linear-gradient(90deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.about-principle:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.6rem 3.8rem rgba(0, 0, 0, .18);
}

.about-principle img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  display: block;
  filter: saturate(.82) contrast(1.02);
  transform: scale(1.015);
  transition: transform 820ms ease, filter 820ms ease;
}

.about-principle:hover img {
  transform: scale(1.075);
  filter: saturate(1) contrast(1.06);
}

.about-principle-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(1.8rem, 3vw, 3.2rem);
}

.about-journey {
  position: relative;
  min-height: 44rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.about-journey > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}

.about-journey::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .18) 56%, rgba(0, 0, 0, .54)),
    linear-gradient(to top, rgba(0, 0, 0, .76), transparent 60%);
}

.about-journey-content {
  position: relative;
  z-index: 1;
  width: 90%;
  margin: 0 auto;
  padding: 0 0 5rem;
}

.about-journey-content h2 {
  max-width: 58rem;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0;
  color: #FFF;
}

.about-journey-content p {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, .72);
  font-size: 1rem;
  line-height: 1.95;
}

.timeline-content {
  max-width: 72rem;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(16rem, .64fr);
  gap: 1.6rem;
  align-items: center;
}

.timeline-content img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  background: var(--soft);
  filter: saturate(.88);
  transform: translateX(14px);
  opacity: .82;
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
}

.timeline-item.is-active .timeline-content img {
  transform: translateX(0);
  opacity: 1;
  filter: saturate(1);
}

/* About history: horizontal year rail with one focused story panel. */
.about-history {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.about-history-nav {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  align-items: start;
  gap: 1rem;
}

.about-history-nav-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
}

.about-history-nav-viewport::-webkit-scrollbar {
  display: none;
}

.about-history-track {
  --history-item-width: 9rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--history-count), minmax(0, 1fr));
  width: var(--history-track-width);
  min-height: 4.25rem;
}

.about-history-track::before {
  content: '';
  position: absolute;
  top: .26rem;
  left: calc(50% / var(--history-count));
  right: calc(50% / var(--history-count));
  height: 1px;
  background: rgba(26, 26, 26, .55);
}

.about-history-tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: var(--history-item-width);
  padding: 0 .5rem .7rem;
  color: rgba(26, 26, 26, .72);
  text-align: center;
  transition: color 260ms ease;
}

.about-history-tab:hover,
.about-history-tab:focus-visible,
.about-history-tab.is-active {
  color: var(--navy);
}

.about-history-tab:focus-visible {
  outline: 1px solid rgba(17, 30, 42, .4);
  outline-offset: 3px;
}

.about-history-marker {
  display: block;
  width: .52rem;
  height: .52rem;
  margin: 0 auto .75rem;
  border: 1px solid rgba(26, 26, 26, .48);
  border-radius: 50%;
  background: #fff;
  transition: background-color 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.about-history-tab.is-active .about-history-marker {
  border-color: var(--navy);
  background: var(--navy);
  transform: scale(1.16);
}

.about-history-year {
  display: block;
  font-size: clamp(.95rem, 1.25vw, 1.18rem);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.about-history-tab.is-active .about-history-year {
  font-weight: 600;
}

.about-history-arrow {
  width: 3rem;
  height: 3rem;
  margin-top: -.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 26, 26, .72);
  transition: color 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.about-history-arrow:hover:not(:disabled),
.about-history-arrow:focus-visible:not(:disabled) {
  color: var(--navy);
  transform: scale(1.08);
}

.about-history-arrow:focus-visible {
  outline: 1px solid rgba(17, 30, 42, .4);
  outline-offset: 2px;
}

.about-history-arrow:disabled {
  opacity: .22;
  cursor: default;
}

.about-history-arrow svg {
  width: 2rem;
  height: 2rem;
}

.about-history-stage {
  margin-top: clamp(4.5rem, 8vw, 8rem);
}

.about-history-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(18rem, .92fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  animation: aboutHistoryIn 620ms cubic-bezier(.22, 1, .36, 1) both;
}

.about-history-panel[hidden] {
  display: none !important;
}

@keyframes aboutHistoryIn {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.about-history-media {
  overflow: hidden;
  background: var(--soft);
}

.about-history-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.92);
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1), filter 400ms ease;
}

.about-history-panel:hover .about-history-media img {
  transform: scale(1.018);
  filter: saturate(1);
}

.about-history-copy {
  max-width: 31rem;
}

.about-history-copy h3 {
  margin: 0 0 1.45rem;
  color: #272321;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .03em;
}

.about-history-copy p {
  margin: 0;
  color: rgba(26, 26, 26, .66);
  font-size: clamp(.98rem, 1.3vw, 1.16rem);
  line-height: 2;
}

@media (max-width: 900px) {
  .about-history-nav {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    gap: .35rem;
  }

  .about-history-track {
    --history-item-width: 7.5rem;
    grid-template-columns: repeat(var(--history-count), var(--history-item-width));
    width: calc(var(--history-count) * var(--history-item-width));
  }

  .about-history-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .about-history-stage {
    margin-top: 3.5rem;
  }

  .about-history-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-history-copy {
    max-width: 46rem;
  }
}

@media (max-width: 640px) {
  .about-history {
    margin-top: 2.75rem;
  }

  .about-history-track {
    --history-item-width: 6.5rem;
  }

  .about-history-stage {
    margin-top: 2.75rem;
  }

  .about-history-media img {
    aspect-ratio: 4 / 3;
  }

  .about-history-copy h3 {
    margin-bottom: 1rem;
    font-size: 2.35rem;
  }

  .about-history-copy p {
    font-size: .95rem;
    line-height: 1.85;
  }
}

/* ===== NEWS DETAIL / GUTENBERG CONTENT ===== */
.news-detail-page {
  overflow-x: clip;
  background: #fff;
}

.news-article-hero {
  position: relative;
  padding: clamp(9rem, 11vw, 10.75rem) 0 clamp(3rem, 4.5vw, 4.5rem);
  background: #fff;
  border-bottom: 1px solid var(--linen);
}

.news-article-hero::after {
  content: none;
}

.news-article-hero-inner {
  width: 90%;
  max-width: 90rem;
  margin: 0 auto;
}

.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  color: rgba(26, 26, 26, .42);
  font-size: .75rem;
  line-height: 1.5;
}

.news-breadcrumb a {
  flex: 0 0 auto;
  transition: color 180ms ease;
}

.news-breadcrumb a:hover { color: var(--navy); }

.news-breadcrumb-current {
  min-width: 0;
  overflow: hidden;
  color: rgba(26, 26, 26, .62);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-article-heading { max-width: 60rem; }

.news-article-heading::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  margin-bottom: 1.25rem;
  background: var(--warm-gold);
}

.news-article-category {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.4rem;
  color: var(--warm-gold);
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .12em;
}

.news-article-category::before {
  content: '';
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.news-article-category span {
  color: var(--navy);
  letter-spacing: .22em;
}

.news-article-heading h1 {
  max-width: 60rem;
  color: rgba(26, 26, 26, .86);
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
}

.news-article-lead {
  max-width: 47rem;
  margin-top: 1.7rem;
  color: rgba(26, 26, 26, .58);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.9;
}

.news-article-lead p { margin: 0; }

.news-article-meta {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: 2.2rem;
  color: rgba(26, 26, 26, .45);
  font-size: .78rem;
  line-height: 1.5;
  letter-spacing: .04em;
}

.news-article-meta > span[aria-hidden='true'] {
  width: 2.25rem;
  height: 1px;
  background: rgba(26, 26, 26, .16);
}

.news-article-time {
  display: block;
  margin-top: 1.5rem;
  color: var(--warm-gold);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
}

.news-featured-image {
  width: 90%;
  max-width: 90rem;
  margin: clamp(2rem, 5vw, 5rem) auto 0;
}

.news-featured-image img {
  width: 100%;
  max-height: 52rem;
  object-fit: cover;
}

.news-featured-image figcaption,
.news-article-content figcaption {
  margin-top: .75rem;
  color: rgba(26, 26, 26, .46);
  font-size: .76rem;
  line-height: 1.65;
  text-align: center;
}

.news-article-content {
  --article-content-width: 52rem;
  --article-wide-width: 80rem;
  padding: clamp(3.75rem, 6vw, 6rem) 0 clamp(5rem, 8vw, 8rem);
  color: rgba(26, 26, 26, .72);
  font-size: 1rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.news-article-content::after {
  content: '';
  display: block;
  clear: both;
}

.news-article-content > * {
  width: min(calc(100% - 2rem), var(--article-content-width));
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.news-article-content > * + * { margin-top: 1.6rem; }

.news-article-content > .alignwide {
  width: min(calc(100% - 2rem), var(--article-wide-width));
}

.news-article-content > .alignfull {
  width: 100%;
  max-width: none;
}

.news-article-content > :first-child { margin-top: 0; }
.news-article-content > :last-child { margin-bottom: 0; }

.news-article-content p,
.news-article-content li { color: inherit; }

.news-article-content p:empty { display: none; }

.news-article-content h2,
.news-article-content h3,
.news-article-content h4,
.news-article-content h5,
.news-article-content h6 {
  color: rgba(26, 26, 26, .92);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}

.news-article-content h2 {
  margin-top: 3.8rem;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.news-article-content h3 {
  margin-top: 3rem;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.news-article-content h4 { margin-top: 2.5rem; font-size: 1.3rem; }
.news-article-content h5 { margin-top: 2rem; font-size: 1.12rem; }
.news-article-content h6 { margin-top: 2rem; font-size: .95rem; letter-spacing: .08em; }

.news-article-content a:not(.wp-element-button) {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(27, 58, 75, .28);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color 180ms, text-decoration-color 180ms;
}

.news-article-content a:not(.wp-element-button):hover {
  color: var(--warm-gold);
  text-decoration-color: currentColor;
}

.news-article-content ul,
.news-article-content ol {
  padding-left: 1.45rem;
}

.news-article-content ul { list-style: disc; }
.news-article-content ol { list-style: decimal; }
.news-article-content li + li { margin-top: .55rem; }
.news-article-content li::marker { color: var(--warm-gold); }

.news-article-content img {
  max-width: 100%;
  height: auto;
}

.news-article-content figure { margin-bottom: 0; }

.news-article-content > p > img:only-child,
.news-article-content .wp-block-image img {
  display: block;
  width: auto;
  margin-right: auto;
  margin-left: auto;
}

.news-article-content > p:has(> img:only-child) {
  width: min(calc(100% - 2rem), var(--article-wide-width));
}

.news-article-content .wp-block-image.alignwide img,
.news-article-content .wp-block-image.alignfull img { width: 100%; }

.news-article-content .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.news-article-content > .alignleft {
  width: auto;
  max-width: min(42%, 25rem);
  margin: .65rem 2.25rem 1.5rem max(1rem, calc((100% - var(--article-content-width)) / 2));
  float: left;
}

.news-article-content > .alignright {
  width: auto;
  max-width: min(42%, 25rem);
  margin: .65rem max(1rem, calc((100% - var(--article-content-width)) / 2)) 1.5rem 2.25rem;
  float: right;
}

.news-article-content :where(p, figure) > img.alignleft {
  margin: .55rem 1.75rem 1rem 0;
  float: left;
}

.news-article-content :where(p, figure) > img.alignright {
  margin: .55rem 0 1rem 1.75rem;
  float: right;
}

.news-article-content blockquote,
.news-article-content .wp-block-quote {
  position: relative;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 2px solid var(--warm-gold);
  color: rgba(26, 26, 26, .72);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.75;
}

.news-article-content blockquote p { margin: 0; }

.news-article-content blockquote cite,
.news-article-content .wp-block-quote cite {
  display: block;
  margin-top: .85rem;
  color: rgba(26, 26, 26, .46);
  font-family: var(--font-sans);
  font-size: .8rem;
  font-style: normal;
}

.news-article-content .wp-block-pullquote {
  padding: clamp(2.5rem, 5vw, 4.5rem) 1rem;
  border-top: 1px solid var(--warm-gold);
  border-bottom: 1px solid var(--warm-gold);
  text-align: center;
}

.news-article-content .wp-block-pullquote blockquote {
  padding: 0;
  border: 0;
}

.news-article-content .wp-block-separator {
  height: 1px;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  border: 0;
  background: rgba(26, 26, 26, .14);
}

.news-article-content .wp-block-separator.is-style-wide { width: min(calc(100% - 2rem), var(--article-wide-width)); }
.news-article-content .wp-block-separator.is-style-dots { height: auto; background: none; }

.news-article-content pre,
.news-article-content .wp-block-code {
  padding: 1.35rem 1.5rem;
  overflow-x: auto;
  border: 1px solid rgba(26, 26, 26, .08);
  border-radius: .35rem;
  background: #f6f5f2;
  color: #27343a;
  font: .9rem/1.75 Consolas, Monaco, monospace;
  white-space: pre;
}

.news-article-content code:not(pre code) {
  padding: .14em .38em;
  border-radius: .2rem;
  background: #f1efeb;
  color: #6b4e2d;
  font-size: .88em;
}

.news-article-content .wp-block-table { overflow-x: auto; }

.news-article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  line-height: 1.65;
}

.news-article-content th,
.news-article-content td {
  min-width: 8rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(26, 26, 26, .12);
  text-align: left;
  vertical-align: top;
}

.news-article-content th {
  background: #f3f1ec;
  color: var(--charcoal);
  font-weight: 600;
}

.news-article-content .wp-block-button__link,
.news-article-content .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.45rem;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  line-height: 1.4;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background 180ms, color 180ms;
}

.news-article-content .is-style-outline > .wp-block-button__link {
  background: transparent;
  color: var(--navy);
}

.news-article-content .wp-block-button__link:hover,
.news-article-content .wp-element-button:hover {
  background: var(--warm-gold);
  border-color: var(--warm-gold);
  color: #fff;
}

.news-article-content .wp-block-columns { gap: clamp(1.5rem, 4vw, 3rem); }

.news-article-content .wp-block-column > * + * { margin-top: 1.25rem; }

.news-article-content .wp-block-gallery {
  display: flex;
  gap: 1rem;
}

.news-article-content .wp-block-gallery figure { margin: 0; }

.news-article-content .wp-block-cover,
.news-article-content .wp-block-media-text,
.news-article-content .wp-block-group.has-background {
  overflow: hidden;
}

.news-article-content .wp-block-cover { min-height: clamp(24rem, 58vw, 44rem); }

.news-article-content .wp-block-cover__inner-container {
  width: min(calc(100% - 2rem), var(--article-content-width));
  margin: 0 auto;
}

.news-article-content .wp-block-group.has-background { padding: clamp(1.5rem, 4vw, 3rem); }

.news-article-content :where(.wp-block-embed, .wp-block-video) iframe,
.news-article-content :where(.wp-block-embed, .wp-block-video) video {
  display: block;
  width: 100%;
  max-width: 100%;
}

.news-article-content .wp-block-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(26, 26, 26, .12);
}

.news-article-content .wp-block-file__button {
  flex: 0 0 auto;
  border-radius: 0;
  background: var(--navy);
  color: #fff;
}

.news-article-content details,
.news-article-content .wp-block-details {
  padding: 1rem 0;
  border-top: 1px solid rgba(26, 26, 26, .13);
  border-bottom: 1px solid rgba(26, 26, 26, .13);
}

.news-article-content summary { color: var(--charcoal); font-weight: 600; cursor: pointer; }
.news-article-content summary + * { margin-top: 1rem; }

.article-page-links {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 26, 26, .1);
  font-size: .85rem;
}

.article-page-links > span { margin-right: .25rem; color: rgba(26, 26, 26, .5); }
.article-page-links .post-page-numbers { min-width: 2rem; padding: .2rem .55rem; text-align: center; }
.article-page-links .post-page-numbers.current { background: var(--navy); color: #fff; }

.news-article-footer {
  border-top: 1px solid rgba(26, 26, 26, .09);
  background: #f7f6f2;
}

.news-article-footer-inner {
  width: 90%;
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.news-article-taxonomy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--navy);
  font-size: .85rem;
  letter-spacing: .06em;
}

.news-back-link svg { width: 1rem; height: 1rem; transition: transform 180ms; }
.news-back-link:hover svg { transform: translateX(-3px); }

.news-article-tags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  flex-wrap: wrap;
  color: rgba(26, 26, 26, .45);
  font-size: .76rem;
}

.news-article-tags a {
  padding: .3rem .7rem;
  border: 1px solid rgba(26, 26, 26, .12);
  background: #fff;
  color: rgba(26, 26, 26, .68);
  transition: border-color 180ms, color 180ms;
}

.news-article-tags a:hover { border-color: var(--warm-gold); color: var(--warm-gold); }

.news-post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3rem;
  border-top: 1px solid rgba(26, 26, 26, .11);
}

.news-post-nav-item {
  min-width: 0;
  padding: 2rem 2rem 0 0;
}

.news-post-nav-item.is-next {
  padding-right: 0;
  padding-left: 2rem;
  border-left: 1px solid rgba(26, 26, 26, .11);
  text-align: right;
}

.news-post-nav-item > span {
  display: block;
  margin-bottom: .55rem;
  color: rgba(26, 26, 26, .4);
  font-size: .72rem;
  letter-spacing: .12em;
}

.news-post-nav-item strong {
  display: block;
  overflow: hidden;
  color: rgba(26, 26, 26, .8);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 180ms;
}

a.news-post-nav-item:hover strong { color: var(--warm-gold); }

.news-comments-shell { background: #fff; }

.news-comments-inner {
  width: min(calc(100% - 2rem), 48rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.comments-title,
.comment-reply-title {
  margin-bottom: 1.75rem;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 600;
}

.comment-list { list-style: none; }
.comment-list .children { margin-left: 2rem; list-style: none; }
.comment-body { padding: 1.5rem 0; border-top: 1px solid rgba(26, 26, 26, .1); }
.comment-meta { margin-bottom: .85rem; color: rgba(26, 26, 26, .48); font-size: .76rem; }
.comment-author { display: flex; align-items: center; gap: .65rem; color: var(--charcoal); }
.comment-author img { border-radius: 50%; }
.comment-content { color: rgba(26, 26, 26, .72); font-size: .95rem; line-height: 1.8; }
.comment-reply-link { display: inline-block; margin-top: .75rem; color: var(--navy); font-size: .8rem; }
.comment-form > p + p { margin-top: 1rem; }
.comment-form label { display: block; margin-bottom: .45rem; color: rgba(26, 26, 26, .66); font-size: .8rem; }
.comment-form input:not([type='checkbox']),
.comment-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid rgba(26, 26, 26, .14);
  border-radius: 0;
  background: #fff;
  color: var(--charcoal);
  font: inherit;
}
.comment-form textarea { min-height: 10rem; resize: vertical; }
.comment-form .submit {
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.news-empty-state {
  width: min(calc(100% - 2rem), 48rem);
  margin: 0 auto;
  padding: 12rem 0 8rem;
  text-align: center;
}

.news-empty-state h1 { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 4rem); font-weight: 400; }
.news-empty-state p { margin-top: 1rem; color: var(--muted); }
.news-empty-state a { display: inline-block; margin-top: 2rem; color: var(--navy); border-bottom: 1px solid currentColor; }

.float-tools {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.float-tools button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(26, 26, 26, .08);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .94);
  color: rgba(26, 26, 26, .62);
  box-shadow: 0 .75rem 1.75rem rgba(0, 0, 0, .1);
  transition: transform 200ms, color 200ms;
}

.float-tools button:hover {
  color: var(--charcoal);
  transform: translateY(-2px);
}

.float-tools svg { width: 1.15rem; height: 1.15rem; }

@media (max-width: 1180px) {
  .contact-socials-head { grid-template-columns: 1fr; gap: 1.25rem; }
  .contact-socials-head > p { justify-self: start; }
  .contact-social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-left, .nav-right { gap: 1.1rem; }
  .listing-shell { grid-template-columns: 16rem 1fr; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .nav-left, .nav-right { display: none; }
  .mobile-menu-btn { display: flex; }
  .footer-contact { grid-template-columns: 1fr; }
  .listing-shell { grid-template-columns: 1fr; }
  .filter-panel { position: relative; top: auto; }
  .filter-content { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.5rem; }
  .about-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-founder-quote { height: clamp(25rem, 45vw, 36rem); }
  .about-composition-inner { grid-template-columns: 1fr; width: 90%; gap: 3.5rem; }
  .about-composition-images { min-height: 35rem; }
  .about-journey { min-height: 36rem; }
  .about-split,
  .about-split.is-reverse { grid-template-columns: 1fr; gap: 3rem; }
  .about-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-style-grid { grid-template-columns: 1fr; }
  .about-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .video-feature-strip {
    grid-template-columns: repeat(3, minmax(18rem, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .75rem;
  }
  .video-feature-card { scroll-snap-align: center; }
  .download-hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 5rem; }
  .download-hero-panel { max-width: 32rem; }
  .download-feature { grid-template-columns: 1fr; }
  .download-feature-cover { min-height: 34rem; }
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-note { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-hero-inner { padding-top: 5rem; }
  .contact-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-main-grid { grid-template-columns: 1fr; }
  .contact-location-grid { grid-template-columns: 1fr; }
  .contact-location-card { min-height: 26rem; }
  .contact-map-grid { grid-template-columns: 1fr; }
  .auth-inner { grid-template-columns: 1fr; gap: 3rem; padding-top: 4.5rem; }
  .auth-panel { max-width: 34rem; width: 100%; }
  .video-controls {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.5rem; }
  .news-article-heading h1 { font-size: clamp(2.35rem, 7vw, 4.75rem); }
  .news-article-content { font-size: 1rem; }
  .news-article-content > .alignleft,
  .news-article-content > .alignright { max-width: 46%; }
}

@media (max-width: 767px) {
  .util-bar-inner, .main-nav-inner, .nav-mega__inner, .footer-main, .footer-copy p {
    width: calc(100% - 2rem);
  }
  .hidden-sm { display: none; }
  .auth-copy { display: none; }
  .logo { font-size: 1.1rem; }
  .page-hero { padding: 3rem 0 2rem; }
  .page-title { font-size: 2.15rem; }
  .page-subtitle { font-size: .925rem; }
  .listing-head { align-items: flex-start; flex-direction: column; }
  .filter-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-grid, .case-grid { grid-template-columns: 1fr; }
  .about-hero { min-height: 38rem; }
  .about-hero-content { width: calc(100% - 2rem); padding-bottom: 3rem; }
  .about-stats-grid { width: calc(100% - 2rem); grid-template-columns: 1fr; border-left: 0; }
  .about-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .about-founder-quote { height: 68vh; min-height: 28rem; }
  .about-founder-quote img { object-position: 38% center; }
  .about-composition { padding: 4rem 0; }
  .about-composition-inner { width: calc(100% - 2rem); }
  .about-composition-images { grid-template-columns: 1fr; grid-template-rows: none; min-height: auto; }
  .about-composition-image { aspect-ratio: 4 / 5; }
  .about-composition-image.is-wide { aspect-ratio: 16 / 10; }
  .about-section { padding: 4.5rem 0; }
  .about-media { min-height: 23rem; }
  .about-principles { grid-template-columns: 1fr; }
  .about-principle { min-height: 25rem; }
  .about-principle-copy { padding: 1.55rem; }
  .about-journey { min-height: 31rem; }
  .about-journey-content { width: calc(100% - 2rem); padding-bottom: 3rem; }
  .about-journey-content p { font-size: .95rem; }
  .about-timeline::before { left: .45rem; }
  .timeline-item { grid-template-columns: 2rem 1fr; gap: .75rem; }
  .timeline-year { grid-column: 2; font-size: 2.2rem; }
  .timeline-node { grid-column: 1; grid-row: 1 / span 2; }
  .timeline-node::before { left: .02rem; }
  .timeline-content { grid-column: 2; grid-template-columns: 1fr; gap: 1rem; padding: 0 0 2.25rem; }
  .timeline-content img { transform: none; }
  .about-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 8rem; }
  .about-gallery-item,
  .about-gallery-item.is-wide,
  .about-gallery-item.is-tall,
  .about-gallery-item.is-portrait,
  .about-gallery-item.is-icon {
    grid-column: span 1;
    grid-row: span 2;
  }
  .about-gallery-item.is-icon { grid-row: span 1; }
  .about-quote { padding: 5rem 0; }
  .video-feature { padding: 2rem 0 3rem; }
  .video-feature-card { aspect-ratio: 16 / 10; }
  .video-feature-meta { left: 1.25rem; bottom: 1.25rem; }
  .video-heading h1 { font-size: 3rem; }
  .video-controls { margin: 2rem auto 3.25rem; }
  .video-grid { grid-template-columns: 1fr; }
  .download-hero { min-height: 38rem; }
  .download-hero-inner { width: calc(100% - 2rem); padding: 4rem 0 3rem; }
  .download-hero-copy h1 { font-size: clamp(3rem, 16vw, 5rem);}
  .download-hero-panel { padding: 1.35rem; }
  .download-feature { width: calc(100% - 2rem); padding: 4.5rem 0; gap: 2.5rem; }
  .download-feature-cover { min-height: 26rem; }
  .download-feature-actions { flex-direction: column; }
  .download-feature-actions a { width: 100%; }
  .download-section { padding: 4.5rem 0; }
  .download-section-head { display: block; margin-bottom: 2rem; }
  .download-count { margin-top: 1.25rem; }
  .download-categories { gap: .55rem; margin-bottom: 2.25rem; }
  .download-categories button { flex: 1 1 calc(50% - .55rem); padding: 0 .85rem; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card-media {
    max-width: 24rem;
    margin: 0 auto;
    transform: none;
  }
  .download-card:hover .download-card-media { transform: none; }
  .download-card p { min-height: auto; }
  .download-note { width: calc(100% - 2rem); margin-bottom: 4.5rem; }
  .contact-hero { min-height: 38rem; }
  .contact-hero-inner { width: calc(100% - 2rem); padding: 4rem 0 3rem; }
  .contact-hero-copy h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .contact-quick { width: calc(100% - 2rem); grid-template-columns: 1fr; margin-top: 0; }
  .contact-quick-card { min-height: auto; padding: 1.5rem; }
  .contact-main { padding: 4.5rem 0; }
  .contact-socials { padding: 4.5rem 0; }
  .contact-socials-inner { width: calc(100% - 2rem); }
  .contact-socials-head { margin-bottom: 2rem; }
  .contact-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .contact-social-card { padding: .6rem; }
  .contact-social-card-body { min-height: 7.5rem; padding: .85rem .2rem .25rem; }
  .contact-social-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - .375rem);
    justify-self: center;
  }
  .contact-form-panel { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form button { width: 100%; }
  .contact-info-panel > img { min-height: 28rem; }
  .contact-locations { width: calc(100% - 2rem); padding: 4.5rem 0; }
  .contact-location-card { min-height: 24rem; }
  .contact-map-section { padding: 4.5rem 0; }
  .contact-map-grid { width: calc(100% - 2rem); }
  .contact-map { min-height: 28rem; }
  .contact-map-card { left: 1rem; bottom: 1rem; width: calc(100% - 2rem); }
  .auth-shell { min-height: auto; }
  .auth-inner { width: calc(100% - 2rem); padding: 4rem 0; }
  .auth-copy h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .auth-benefits { grid-template-columns: 1fr; margin-top: 2rem; }
  .auth-benefits div { min-height: auto; }
  .auth-panel { padding: 1.25rem; }
  .auth-options { align-items: flex-start; flex-direction: column; }
  .auth-code button { min-width: 6rem; padding: 0 .65rem; }
  .catalog-info { min-height: 3.8rem; }
  .news-article-hero { padding: 7.25rem 0 3.25rem; }
  .news-article-hero-inner,
  .news-featured-image,
  .news-article-footer-inner { width: calc(100% - 2rem); }
  .news-breadcrumb { margin-bottom: 2.5rem; }
  .news-breadcrumb-current { display: none; }
  .news-article-heading h1 { font-size: clamp(2.05rem, 10vw, 3.2rem); line-height: 1.18; }
  .news-article-meta { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .news-article-meta > span[aria-hidden='true'] { display: none; }
  .news-featured-image { margin-top: 1rem; }
  .news-article-content { padding: 3.75rem 0; line-height: 1.85; }
  .news-article-content > * { width: calc(100% - 2rem); }
  .news-article-content > .alignwide { width: calc(100% - 2rem); }
  .news-article-content > .alignfull { width: 100%; }
  .news-article-content h2 { margin-top: 3rem; }
  .news-article-content h3 { margin-top: 2.5rem; }
  .news-article-content > .alignleft,
  .news-article-content > .alignright {
    width: calc(100% - 2rem);
    max-width: none;
    margin: 1.5rem 1rem;
    float: none;
  }
  .news-article-content :where(p, figure) > img.alignleft,
  .news-article-content :where(p, figure) > img.alignright {
    max-width: 100%;
    margin: 1rem auto;
    float: none;
  }
  .news-article-content blockquote,
  .news-article-content .wp-block-quote { padding-left: 1.25rem; }
  .news-article-content .wp-block-media-text.is-stacked-on-mobile { grid-template-columns: 1fr; }
  .news-article-content .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media,
  .news-article-content .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content { grid-column: 1; }
  .news-article-content .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content { padding: 1.5rem 0 0; }
  .news-article-content .wp-block-file { align-items: flex-start; flex-direction: column; }
  .news-article-taxonomy { align-items: flex-start; flex-direction: column; }
  .news-article-tags { justify-content: flex-start; }
  .news-post-navigation { grid-template-columns: 1fr; }
  .news-post-nav-item,
  .news-post-nav-item.is-next { padding: 1.5rem 0; border-left: 0; text-align: left; }
  .news-post-nav-item + .news-post-nav-item { border-top: 1px solid rgba(26, 26, 26, .11); }
  .news-post-nav-item.is-empty { display: none; }
  .news-post-nav-item strong { white-space: normal; }
  .comment-list .children { margin-left: 1rem; }
  .float-tools { display: none; }
}

/* ===== PROJECT ARCHIVE / CASE DETAIL ===== */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.case-archive-page {
  background: #fff;
}

.case-archive-hero {
  position: relative;
  height: max(42rem, 84svh);
  min-height: 42rem;
  overflow: hidden;
  background: #101010;
  color: #fff;
}

.case-archive-slides,
.case-archive-slide,
.case-archive-slide > a {
  position: absolute;
  inset: 0;
}

.case-archive-slide {
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.case-archive-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.case-archive-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 7s cubic-bezier(.2, .65, .2, 1);
}

.case-archive-slide.is-active img {
  transform: scale(1);
}

.case-archive-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .52), transparent 65%),
    linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 58%),
    linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 32%);
}

.case-archive-slide-copy {
  position: absolute;
  z-index: 2;
  left: 5%;
  bottom: clamp(6.5rem, 13vh, 9.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(90%, 54rem);
}

.case-archive-eyebrow {
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, .72);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.case-archive-slide-copy strong {
  max-width: 48rem;
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 5.5vw, 6.4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.case-archive-discover {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-top: 2rem;
  color: rgba(255, 255, 255, .86);
  font-size: .78rem;
  letter-spacing: .12em;
}

.case-archive-discover i {
  position: relative;
  width: 2.75rem;
  height: 1px;
  overflow: visible;
  background: currentColor;
}

.case-archive-discover i::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: .5rem;
  height: .5rem;
  border-right: 1px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: right bottom;
}

.case-archive-carousel-controls {
  position: absolute;
  z-index: 4;
  right: 5%;
  bottom: 3.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.case-archive-carousel-controls button {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  color: #fff;
  transition: background 220ms ease, border-color 220ms ease;
}

.case-archive-carousel-controls button:hover,
.case-archive-carousel-controls button:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

.case-archive-carousel-controls button svg {
  width: 1rem;
  height: 1rem;
}

.case-archive-carousel-count {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 5.5rem;
  color: rgba(255, 255, 255, .66);
  font-size: .72rem;
  letter-spacing: .1em;
}

.case-archive-carousel-count span:first-child {
  color: #fff;
}

.case-archive-carousel-count i {
  width: 2.25rem;
  height: 1px;
  background: rgba(255, 255, 255, .44);
}

.case-archive-carousel-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 3.9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  transform: translateX(-50%);
}

.case-archive-carousel-dots button {
  position: relative;
  width: 1.8rem;
  height: .7rem;
}

.case-archive-carousel-dots button::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, .4);
  transform: translateY(-50%);
  transition: background 200ms ease, transform 200ms ease;
}

.case-archive-carousel-dots button.is-active::after {
  background: #fff;
  transform: translateY(-50%) scaleY(2);
}

.case-archive-heading {
  padding: clamp(5.5rem, 9vw, 9rem) 0 clamp(3.75rem, 6vw, 6rem);
  background: #f5f3ef;
  text-align: center;
}

.case-archive-heading .page-kicker {
  justify-content: center;
}

.case-archive-heading h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.case-archive-heading p {
  width: min(100%, 43rem);
  margin: 1.5rem auto 0;
  color: rgba(26, 26, 26, .58);
  font-size: .95rem;
  line-height: 1.9;
}

.case-archive-list {
  padding-bottom: clamp(6rem, 10vw, 10rem);
  background: #fff;
}

.case-archive-filters {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) minmax(18rem, 1.45fr) auto;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(3rem, 5vw, 4.75rem) 0 2.25rem;
  border-bottom: 1px solid rgba(26, 26, 26, .14);
}

.case-archive-control {
  position: relative;
  display: block;
  border-bottom: 1px solid rgba(26, 26, 26, .42);
}

.case-archive-control > span {
  display: block;
  margin-bottom: .2rem;
  color: rgba(26, 26, 26, .45);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.case-archive-control select,
.case-archive-control input {
  width: 100%;
  height: 3.15rem;
  padding: 0 2.5rem 0 0;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: rgba(26, 26, 26, .84);
  font: inherit;
  font-size: .9rem;
}

.case-archive-control input::placeholder {
  color: rgba(26, 26, 26, .38);
}

.case-archive-control svg {
  position: absolute;
  right: .15rem;
  bottom: 1rem;
  width: 1rem;
  height: 1rem;
  color: rgba(26, 26, 26, .68);
  pointer-events: none;
}

.case-archive-search svg {
  width: 1.1rem;
  height: 1.1rem;
}

.case-archive-control:focus-within {
  border-color: var(--warm-gold);
}

.case-archive-filter-reset {
  height: 3.2rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(26, 26, 26, .32);
  color: rgba(26, 26, 26, .72);
  font-size: .78rem;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.case-archive-filter-reset:hover,
.case-archive-filter-reset:focus-visible {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: #fff;
}

.case-archive-result-line {
  display: flex;
  justify-content: flex-end;
  padding: 1.4rem 0 2.25rem;
  color: rgba(26, 26, 26, .48);
  font-size: .75rem;
  letter-spacing: .06em;
}

.case-archive-result-line strong {
  color: rgba(26, 26, 26, .82);
  font-weight: 500;
}

.case-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(3rem, 5vw, 5.5rem) clamp(1.5rem, 3vw, 3rem);
}

.case-project-card[hidden] {
  display: none;
}

.case-project-card > a {
  display: block;
}

.case-project-media {
  position: relative;
  display: block;
  aspect-ratio: 1.38 / 1;
  overflow: hidden;
  background: #eeeae4;
}

.case-project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .22));
  opacity: .45;
  transition: opacity 450ms ease;
}

.case-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 750ms cubic-bezier(.2, .7, .25, 1);
}

.case-project-card:hover .case-project-media img,
.case-project-card > a:focus-visible .case-project-media img {
  transform: scale(1.045);
}

.case-project-card:hover .case-project-media::after {
  opacity: .8;
}

.case-project-index {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: .8rem;
  color: rgba(255, 255, 255, .88);
  font-size: .65rem;
  letter-spacing: .12em;
}

.case-project-meta {
  position: relative;
  display: block;
  padding: 1.35rem 3.5rem 0 0;
}

.case-project-meta > span {
  display: block;
  margin-bottom: .55rem;
  color: rgba(26, 26, 26, .48);
  font-size: .68rem;
  letter-spacing: .08em;
}

.case-project-meta strong {
  display: block;
  font-family: var(--font-serif);
  color: rgba(26, 26, 26, .88);
  font-size: clamp(1.2rem, 1.55vw, 1.65rem);
  font-weight: 400;
  line-height: 1.4;
}

.case-project-meta i {
  position: absolute;
  right: .1rem;
  top: 2rem;
  width: 2.25rem;
  height: 1px;
  background: rgba(26, 26, 26, .45);
  transition: width 250ms ease, background 250ms ease;
}

.case-project-meta i::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: .45rem;
  height: .45rem;
  border-right: 1px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: right bottom;
}

.case-project-card:hover .case-project-meta i {
  width: 2.75rem;
  background: var(--warm-gold);
  color: var(--warm-gold);
}

.case-archive-empty {
  padding: 6rem 1rem 2rem;
  text-align: center;
}

.case-archive-empty p {
  color: rgba(26, 26, 26, .58);
}

.case-archive-empty button {
  margin-top: 1.25rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid currentColor;
  color: var(--charcoal);
  font-size: .85rem;
}

.case-detail-page {
  background: #f2f0eb;
}

.case-detail-hero {
  position: relative;
  height: 100svh;
  min-height: 44rem;
  overflow: hidden;
  background: #111;
  color: #fff;
  isolation: isolate;
}

.case-detail-hero-poster,
.case-detail-hero-video,
.case-detail-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.case-detail-hero-poster,
.case-detail-hero-video {
  object-fit: cover;
}

.case-detail-hero-poster {
  z-index: -3;
  opacity: 1;
  transition: opacity 900ms ease, transform 8s ease;
}

.case-detail-hero-video {
  z-index: -2;
  opacity: 0;
  transition: opacity 900ms ease;
}

.case-detail-hero.is-playing .case-detail-hero-poster {
  opacity: 0;
  transform: scale(1.025);
}

.case-detail-hero.is-playing .case-detail-hero-video {
  opacity: 1;
}

.case-detail-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 62%),
    linear-gradient(0deg, rgba(0, 0, 0, .5), transparent 56%),
    linear-gradient(180deg, rgba(0, 0, 0, .22), transparent 34%);
}

.case-detail-hero-content {
  position: absolute;
  left: 5%;
  bottom: clamp(6rem, 14vh, 9rem);
  width: min(90%, 55rem);
}

.case-detail-kicker {
  display: block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, .72);
  font-size: .7rem;
  letter-spacing: .18em;
}

.case-detail-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.2vw, 7.25rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.045em;
  color: rgba(255, 255, 255, .72);
}

.case-detail-hero-content > p:not(.case-detail-video-status) {
  max-width: 37rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
  line-height: 1.8;
}

.case-detail-play {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-top: 2rem;
  color: #fff;
  font-size: .78rem;
  letter-spacing: .1em;
}

.case-detail-play-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  transition: background 220ms ease, transform 220ms ease;
}

.case-detail-play:hover .case-detail-play-icon,
.case-detail-play:focus-visible .case-detail-play-icon {
  background: rgba(255, 255, 255, .14);
  transform: scale(1.04);
}

.case-detail-play svg {
  width: 1.15rem;
  height: 1.15rem;
}

.case-detail-icon-pause {
  display: none;
}

.case-detail-hero.is-playing .case-detail-icon-play {
  display: none;
}

.case-detail-hero.is-playing .case-detail-icon-pause {
  display: block;
}

.case-detail-video-status {
  min-height: 1.3rem;
  margin-top: .65rem;
  color: rgba(255, 255, 255, .7);
  font-size: .7rem;
}

.case-detail-scroll {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  color: rgba(255, 255, 255, .65);
  font-size: .58rem;
  letter-spacing: .18em;
}

.case-detail-scroll i {
  display: block;
  width: 1px;
  height: 3.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, .35);
}

.case-detail-scroll i::after {
  content: '';
  display: block;
  width: 100%;
  height: 45%;
  background: #fff;
  animation: case-scroll-line 2s ease-in-out infinite;
}

@keyframes case-scroll-line {
  0% { transform: translateY(-120%); }
  70%, 100% { transform: translateY(250%); }
}

.case-detail-intro {
  padding: clamp(6rem, 11vw, 11rem) 0;
  background: #f2f0eb;
}

.case-detail-intro-inner {
  display: grid;
  grid-template-columns: minmax(15rem, .85fr) minmax(20rem, 1.2fr);
  gap: clamp(3rem, 8vw, 9rem);
  width: 90%;
  max-width: 92rem;
  margin: 0 auto;
}

.case-detail-intro-heading h2 {
  max-width: 30rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.035em;
}

.case-detail-intro-copy {
  padding-top: 1.6rem;
}

.case-detail-intro-copy p {
  color: rgba(26, 26, 26, .66);
  font-size: .98rem;
  line-height: 2;
}

.case-detail-intro-copy p + p {
  margin-top: 1.25rem;
}

.case-detail-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
  border-top: 1px solid rgba(26, 26, 26, .13);
}

.case-detail-facts > div {
  padding: 1.5rem 1.5rem 0 0;
}

.case-detail-facts dt {
  margin-bottom: .45rem;
  color: rgba(26, 26, 26, .4);
  font-size: .65rem;
  letter-spacing: .1em;
}

.case-detail-facts dd {
  color: rgba(26, 26, 26, .82);
  font-size: .88rem;
}

.case-detail-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(3.5rem, 5vw, 6rem);
  gap: clamp(.75rem, 1.4vw, 1.5rem);
  width: 90%;
  max-width: 110rem;
  margin: 0 auto;
  padding-bottom: clamp(6rem, 10vw, 10rem);
}

.case-detail-gallery-item {
  position: relative;
  overflow: hidden;
  background: #ddd8d0;
}

.case-detail-gallery-item:nth-child(1) { grid-column: 1 / 9; grid-row: span 7; }
.case-detail-gallery-item:nth-child(2) { grid-column: 9 / -1; grid-row: span 7; }
.case-detail-gallery-item:nth-child(3) { grid-column: 1 / 6; grid-row: span 6; }
.case-detail-gallery-item:nth-child(4) { grid-column: 6 / -1; grid-row: span 6; }
.case-detail-gallery-item:nth-child(5) { grid-column: 1 / 7; grid-row: span 6; }
.case-detail-gallery-item:nth-child(6) { grid-column: 7 / -1; grid-row: span 6; }

.case-detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2, .7, .25, 1);
}

.case-detail-gallery-item:hover img {
  transform: scale(1.025);
}

.case-detail-gallery-item figcaption {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .7rem;
  background: rgba(20, 20, 20, .55);
  color: rgba(255, 255, 255, .88);
  font-size: .68rem;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}

.case-detail-gallery-item figcaption span {
  color: rgba(255, 255, 255, .52);
}

.case-detail-quote {
  display: grid;
  min-height: clamp(25rem, 48vw, 46rem);
  padding: 4rem 5%;
  place-items: center;
  background:
    linear-gradient(rgba(15, 15, 15, .78), rgba(15, 15, 15, .78)),
    url('../banners/office.jpg') center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.case-detail-quote blockquote {
  max-width: 64rem;
}

.case-detail-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 4rem);
  font-weight: 400;
  line-height: 1.55;
}

.case-detail-next {
  background: #fff;
}

.case-detail-next a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 21rem;
  padding: 4rem 1rem;
  overflow: hidden;
  text-align: center;
}

.case-detail-next span {
  margin-bottom: .65rem;
  color: rgba(26, 26, 26, .45);
  font-size: .68rem;
  letter-spacing: .16em;
}

.case-detail-next strong {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
  transition: color 250ms ease;
}

.case-detail-next i {
  width: 3rem;
  height: 1px;
  margin-top: 1.5rem;
  background: var(--charcoal);
  transition: width 250ms ease, background 250ms ease;
}

.case-detail-next a:hover strong {
  color: var(--warm-gold);
}

.case-detail-next a:hover i {
  width: 4.5rem;
  background: var(--warm-gold);
}

@media (max-width: 1023px) {
  .case-archive-hero {
    height: max(40rem, 78svh);
  }

  .case-archive-carousel-dots {
    display: none;
  }

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

  .case-archive-filter-reset {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .case-detail-intro-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .case-detail-intro-copy {
    max-width: 46rem;
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .case-archive-hero {
    height: 82svh;
    min-height: 38rem;
  }

  .case-archive-slide-copy {
    bottom: 7rem;
  }

  .case-archive-slide-copy strong {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .case-archive-carousel-controls {
    left: 5%;
    right: auto;
    bottom: 2rem;
  }

  .case-archive-heading {
    text-align: left;
  }

  .case-archive-heading .page-kicker {
    justify-content: flex-start;
  }

  .case-archive-filters {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-archive-filter-reset {
    grid-column: auto;
    width: 100%;
  }

  .case-archive-result-line {
    justify-content: flex-start;
  }

  .case-archive-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .case-project-meta strong {
    font-size: 1.35rem;
  }

  .case-detail-hero {
    min-height: 42rem;
  }

  .case-detail-hero-content {
    bottom: 5.5rem;
  }

  .case-detail-hero-content h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .case-detail-hero-content > p:not(.case-detail-video-status) {
    max-width: 88%;
    font-size: .86rem;
  }

  .case-detail-scroll {
    display: none;
  }

  .case-detail-intro {
    padding: 5.5rem 0;
  }

  .case-detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 0;
  }

  .case-detail-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1rem;
    width: calc(100% - 2rem);
  }

  .case-detail-gallery-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .case-detail-gallery-item:nth-child(2),
  .case-detail-gallery-item:nth-child(5) {
    aspect-ratio: 4 / 5;
  }

  .case-detail-quote {
    min-height: 30rem;
    padding: 4rem 1.5rem;
  }

  .case-detail-next a {
    min-height: 17rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-archive-slide,
  .case-archive-slide img,
  .case-detail-hero-poster,
  .case-detail-hero-video,
  .case-detail-gallery-item img {
    transition: none;
  }

  .case-detail-scroll i::after {
    animation: none;
  }
}

.case-video-heading {
  padding-top: .25rem;
}

.case-video-controls {
  margin-bottom: 4.5rem;
}

.case-archive-list {
  padding-top: 0;
}

/* Project detail refinement. */
.case-detail-hero-content {
  left: 50%;
  bottom: auto;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(90%, 70rem);
  text-align: center;
  transform: translate(-50%, -43%);
}

.case-detail-hero-content h1 {
  max-width: 68rem;
}

.case-detail-play {
  display: grid;
  margin-top: 2rem;
  place-items: center;
}

.case-detail-play-icon {
  width: 4.25rem;
  height: 4.25rem;
}

.case-detail-gallery {
  padding-top: clamp(4rem, 7vw, 7rem);
}

.case-detail-intro-inner {
  grid-template-columns: minmax(14rem, .68fr) minmax(0, 1.32fr);
  align-items: start;
}

.case-detail-intro-heading {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.case-detail-intro-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
}

.case-detail-entry {
  color: rgba(26, 26, 26, .68);
  font-size: 1rem;
  line-height: 2;
}

.case-detail-entry > * {
  max-width: 52rem;
}

.case-detail-entry > * + * {
  margin-top: 1.35rem;
}

.case-detail-entry h2,
.case-detail-entry h3,
.case-detail-entry h4 {
  margin-top: 2.75rem;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.45;
}

.case-detail-entry h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.case-detail-entry h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.case-detail-entry ul,
.case-detail-entry ol {
  padding-left: 1.35rem;
}

.case-detail-entry ul {
  list-style: disc;
}

.case-detail-entry ol {
  list-style: decimal;
}

.case-detail-entry img,
.case-detail-entry .wp-block-image img {
  width: 100%;
  height: auto;
}

.case-detail-entry blockquote {
  padding-left: 1.5rem;
  border-left: 2px solid var(--warm-gold);
  color: rgba(26, 26, 26, .78);
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.case-related {
  padding: clamp(5.5rem, 9vw, 9rem) 0;
  background: #fff;
}

.case-related-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.case-related-heading .page-kicker {
  justify-content: center;
}

.case-related-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.5vw, 4.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.case-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

@media (max-width: 1023px) {
  .case-detail-intro-heading {
    position: static;
  }

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

  .case-related-grid .case-project-card:last-child {
    display: none;
  }
}

@media (max-width: 767px) {
  .case-video-controls {
    margin-bottom: 3.25rem;
  }

  .case-detail-hero-content {
    bottom: auto;
  }

  .case-detail-play-icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  .case-detail-intro-inner {
    grid-template-columns: 1fr;
  }

  .case-detail-entry {
    font-size: .94rem;
  }

  .case-related-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .case-related-grid .case-project-card:last-child {
    display: block;
  }
}

/* Projects carousel: equal-width slides moving on one continuous centered track. */
.case-feature {
  padding: calc(var(--header-height) + 3rem) 0 3.5rem;
  overflow: hidden;
  background: #fff;
}

.case-feature .container {
  width: 100%;
}

.case-feature-stage {
  --case-slide-ratio: .6;
  --case-slide-width: 60%;
  --case-track-x: 0px;
  --case-drag-x: 0px;
  position: relative;
  height: clamp(30rem, 45vw, 67rem);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.case-feature-carousel.is-dragging .case-feature-stage {
  cursor: grabbing;
}

.case-feature-track {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform var(--track-transition-duration, 0.5s) ease-out;
  transform: translate3d(calc(var(--case-track-x) + var(--case-drag-x)), 0, 0);
  will-change: transform;
}

.case-feature-track.is-animating {
  transition: transform 500ms ease-in-out;
}

.case-feature-carousel.is-dragging .case-feature-track {
  transition: none;
}

.case-feature-card {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  flex: 0 0 var(--case-slide-width);
  width: var(--case-slide-width);
  height: 100%;
  padding: 0 1.2vw;
  aspect-ratio: auto;
  overflow: visible;
  visibility: visible;
  opacity: 1;
  box-sizing: border-box;
  background: transparent;
  color: #fff;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.case-feature-card.is-prev,
.case-feature-card.is-current {
  width: var(--case-slide-width);
  transform: none;
}

.case-feature-card.is-next {
  right: auto;
}

.case-feature-card > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1e1e1e;
}

.case-feature-card > a::after {
  content: '';
  position: absolute;
  inset: 42% 0 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, .5), transparent);
  opacity: 1;
  pointer-events: none;
}

.case-feature-card > a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.case-feature-card > a,
.case-feature-card img {
  -webkit-user-drag: none;
  user-select: none;
}

.case-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  transition: opacity 300ms ease-in-out;
}

.case-feature-card.is-current img {
  opacity: 1;
}

.case-feature-shade {
  display: none;
}

.case-feature-index {
  display: none;
}

.case-feature-side-index {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: rgba(255, 255, 255, .92);
  font-size: .78rem;
  line-height: 1;
  letter-spacing: .08em;
  transform: translateY(-50%);
  pointer-events: none;
}

.case-feature-side-index::before,
.case-feature-side-index::after {
  content: none;
  width: 2.6rem;
  height: 1px;
  background: rgba(255, 255, 255, .82);
}

.case-feature-side-index.is-prev {
  left: 2%;
}

.case-feature-side-index.is-prev::before {
  content: '';
}

.case-feature-side-index.is-next {
  right: 2%;
}

.case-feature-side-index.is-next::after {
  content: '';
}

.case-feature-copy {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 6.5%;
  z-index: 2;
  display: block;
  opacity: 0;
  text-align: center;
  transition: opacity 500ms ease;
}

.case-feature-card.is-current .case-feature-copy {
  display: block;
  opacity: 1;
}

.case-feature-copy strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2vw, 2.55rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-feature-copy em {
  display: inline-block;
  margin-top: .75rem;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(.75rem, .9vw, 1rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: .08em;
}

.case-feature-arrow,
.case-feature-dots {
  display: none;
}

@media (max-width: 1023px) {
  .case-feature-stage {
    --case-slide-ratio: .7;
    --case-slide-width: 70%;
    height: clamp(26rem, 52vw, 36rem);
  }

  .case-feature-card {
    padding-inline: 1rem;
  }
}

@media (max-width: 767px) {
  .case-feature {
    padding: calc(var(--header-height) + 1.5rem) 0 2.75rem;
  }

  .case-feature-stage {
    --case-slide-ratio: .88;
    --case-slide-width: 88%;
    height: clamp(16rem, 68vw, 31rem);
  }

  .case-feature-card {
    padding-inline: .45rem;
  }

  .case-feature-copy {
    left: 1rem;
    right: 1rem;
    bottom: 5%;
  }

  .case-feature-copy strong {
    font-size: clamp(1.15rem, 5vw, 1.65rem);
    white-space: normal;
  }

  .case-feature-side-index::before,
  .case-feature-side-index::after {
    width: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-feature-track.is-animating,
  .case-feature-card img,
  .case-feature-card > a::after,
  .case-feature-copy {
    transition: none;
  }
}

/* Video archive uses the same centered, continuous carousel as Projects. */
.video-feature-as-case .case-feature-card:not(.is-current) .video-play {
  opacity: 0;
}

.video-feature-as-case .case-feature-card.is-current .video-play {
  opacity: 1;
}

.video-feature-as-case .video-play {
  transition: opacity 240ms ease, transform 240ms ease, background 240ms ease;
}

.video-feature-as-case .case-feature-card.is-current > a:hover .video-play,
.video-feature-as-case .case-feature-card.is-current > a:focus-visible .video-play {
  background: rgba(0, 0, 0, .38);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card-open {
  display: block;
  color: inherit;
}

.video-card-open .video-thumb {
  display: block;
}

.video-card-open:focus-visible {
  outline: none;
}

.video-card-open:focus-visible .video-thumb {
  outline: 2px solid var(--warm-gold);
  outline-offset: 4px;
}

body.has-video-modal {
  overflow: hidden;
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(6, 8, 10, .86);
  opacity: 0;
  cursor: default;
  transition: opacity 220ms ease;
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #0b0d0f;
  color: #fff;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .42);
  opacity: 0;
  transform: translateY(1rem) scale(.985);
  transition: opacity 220ms ease, transform 220ms ease;
}

.video-modal.is-open .video-modal-backdrop,
.video-modal.is-open .video-modal-dialog {
  opacity: 1;
}

.video-modal.is-open .video-modal-dialog {
  transform: translateY(0) scale(1);
}

.video-modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(0, 0, 0, .46);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.video-modal-close:hover,
.video-modal-close:focus-visible {
  border-color: #fff;
  background: rgba(0, 0, 0, .72);
  transform: rotate(90deg);
}

.video-modal-close svg {
  width: 1.1rem;
  height: 1.1rem;
}

.video-modal-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-modal-copy {
  padding: 1.25rem clamp(1.25rem, 3vw, 2.25rem) 1.6rem;
}

.video-modal-copy time {
  display: block;
  margin-bottom: .45rem;
  color: rgba(255, 255, 255, .58);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-modal-copy h2 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .video-modal {
    padding: .75rem;
  }

  .video-modal-dialog {
    max-height: calc(100vh - 1.5rem);
  }

  .video-modal-close {
    top: .5rem;
    right: .5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .video-modal-copy {
    padding: 1rem 1rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-feature-as-case .video-play,
  .video-modal-backdrop,
  .video-modal-dialog,
  .video-modal-close {
    transition: none;
  }
}

/* Dynamic project archive and detail media. */
.case-feature-copy small {
  display: block;
  margin-bottom: .7rem;
  color: rgba(255, 255, 255, .68);
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .13em;
}

.case-archive-list {
  padding-bottom: clamp(6rem, 10vw, 10rem);
}

@media (min-width: 768px) {
  .case-detail-gallery-item {
    grid-column: span 6;
    grid-row: span 6;
  }

  .case-detail-gallery-item:nth-child(6n + 1) {
    grid-column: span 8;
    grid-row: span 7;
  }

  .case-detail-gallery-item:nth-child(6n + 2) {
    grid-column: span 4;
    grid-row: span 7;
  }

  .case-detail-gallery-item:nth-child(6n + 3) {
    grid-column: span 5;
    grid-row: span 6;
  }

  .case-detail-gallery-item:nth-child(6n + 4) {
    grid-column: span 7;
    grid-row: span 6;
  }

  .case-detail-gallery-item:nth-child(6n + 5),
  .case-detail-gallery-item:nth-child(6n + 6) {
    grid-column: span 6;
    grid-row: span 6;
  }
}

.case-detail-gallery-item > a {
  display: block;
  width: 100%;
  height: 100%;
}

.case-detail-assets {
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.case-detail-assets-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.case-detail-assets-heading .page-kicker {
  justify-content: center;
}

.case-detail-assets-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.5vw, 4.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.case-detail-plans {
  background: #fff;
}

.case-detail-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.case-detail-plan-card {
  min-width: 0;
}

.case-detail-plan-card > a {
  display: block;
}

.case-detail-plan-image {
  display: grid;
  aspect-ratio: 1.41 / 1;
  overflow: hidden;
  place-items: center;
  background: #f3f1ec;
}

.case-detail-plan-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 650ms cubic-bezier(.2, .7, .25, 1);
}

.case-detail-plan-card:hover .case-detail-plan-image img,
.case-detail-plan-card > a:focus-visible .case-detail-plan-image img {
  transform: scale(1.018);
}

.case-detail-plan-card figcaption {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, .14);
}

.case-detail-plan-card figcaption span {
  color: rgba(26, 26, 26, .4);
  font-size: .66rem;
  letter-spacing: .12em;
}

.case-detail-plan-card figcaption strong {
  color: rgba(26, 26, 26, .84);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
}

.case-detail-plan-card figcaption i {
  width: 2.25rem;
  height: 1px;
  background: rgba(26, 26, 26, .48);
  transition: width 250ms ease, background 250ms ease;
}

.case-detail-plan-card:hover figcaption i {
  width: 3rem;
  background: var(--warm-gold);
}

.case-detail-videos {
  background: #161616;
  color: #fff;
}

.case-detail-videos .page-kicker {
  color: rgba(255, 255, 255, .48);
}

.case-detail-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  width: min(100%, 88rem);
  margin: 0 auto;
}

.case-detail-video-card {
  min-width: 0;
}

.case-detail-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.case-detail-video-card figcaption {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
}

.case-detail-video-card figcaption span {
  color: rgba(255, 255, 255, .38);
  font-size: .66rem;
  letter-spacing: .12em;
}

@media (max-width: 767px) {
  .case-detail-plan-grid {
    grid-template-columns: 1fr;
  }

  .case-detail-assets {
    padding: 5.5rem 0;
  }

  .case-detail-plan-card figcaption {
    gap: .75rem;
  }
}

/* Dynamic video archive filters and card metadata. */
.video-card[hidden] {
  display: none;
}

.video-result-line {
  display: flex;
  justify-content: flex-end;
  width: min(74%, 73rem);
  margin: -3.5rem auto 3rem;
  color: rgba(26, 26, 26, .48);
  font-size: .75rem;
  letter-spacing: .06em;
}

.video-result-line strong {
  color: rgba(26, 26, 26, .82);
  font-weight: 500;
}

.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin: 1rem 0 .65rem;
  color: rgba(26, 26, 26, .58);
  font-size: .78rem;
  letter-spacing: .07em;
}

.video-card-meta span::after {
  content: '·';
  margin-left: .65rem;
  color: rgba(26, 26, 26, .28);
}

.video-card-meta time {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

.video-empty {
  padding: 6rem 1rem 2rem;
  text-align: center;
}

.video-empty p {
  color: rgba(26, 26, 26, .58);
}

.video-empty button {
  margin-top: 1.25rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid currentColor;
  color: var(--charcoal);
  font-size: .85rem;
}

@media (max-width: 767px) {
  .video-result-line {
    justify-content: flex-start;
    width: 100%;
    margin: -2rem auto 2.5rem;
  }
}
