:root {
  --regency-bg: #030305;
  --regency-panel: #08080a;
  --regency-ink: #f3efe6;
  --regency-muted: rgba(243, 239, 230, 0.68);
  --regency-line: rgba(255, 255, 255, 0.16);
  --regency-hot: #ff4d00;
  --regency-gold: #f6b93b;
  --regency-cyan: #00e5ff;
  --regency-space: clamp(22px, 4vw, 70px);
}

html {
  background: var(--regency-bg) !important;
  scroll-behavior: smooth;
}

body.regency-2026 {
  min-height: 100vh;
  margin: 0 !important;
  overflow-x: hidden;
  background: var(--regency-bg) !important;
  color: var(--regency-ink) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: 17px;
  line-height: 1.7;
}

body.regency-2026 *,
body.regency-2026 *::before,
body.regency-2026 *::after {
  box-sizing: border-box;
}

.regency-noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
}

.regency-skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 10001;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--regency-hot);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.regency-skip-link:focus {
  top: 1rem;
}

.regency-site-header {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px var(--regency-space);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(3, 3, 5, 0.76));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.regency-nav-wrap {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.regency-brand,
.regency-brand:link,
.regency-brand:visited {
  display: grid;
  color: var(--regency-ink) !important;
  line-height: 0.82;
  text-decoration: none !important;
}

.regency-brand strong {
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.regency-brand strong span {
  display: block;
  color: var(--regency-hot);
}

.regency-brand small {
  margin-top: 0.55rem;
  color: var(--regency-gold);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.regency-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.7vw, 1.45rem);
}

.regency-menu a,
.regency-menu a:link,
.regency-menu a:visited {
  color: var(--regency-muted) !important;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.regency-menu a:hover,
.regency-menu a:focus,
.regency-menu a[aria-current="page"] {
  color: var(--regency-ink) !important;
}

.regency-menu::after {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--regency-hot);
  box-shadow: 0 0 26px var(--regency-hot);
  content: "";
}

.regency-menu-toggle {
  display: none;
  border: 1px solid var(--regency-line);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--regency-ink);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#regency-main {
  position: relative;
  z-index: 1;
  min-height: 70vh;
}

.regency-page-title {
  position: relative;
  min-height: min(66vh, 680px);
  overflow: hidden;
  padding: clamp(145px, 17vw, 220px) var(--regency-space) clamp(65px, 9vw, 120px);
  display: flex;
  align-items: end;
  border-bottom: 1px solid var(--regency-line);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 77, 0, 0.3), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(0, 229, 255, 0.16), transparent 28%),
    var(--regency-bg);
}

.regency-page-title::after {
  position: absolute;
  right: -8vw;
  bottom: -18vw;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 6vw rgba(255, 255, 255, 0.018), 0 0 0 12vw rgba(255, 255, 255, 0.012);
  content: "";
}

.regency-page-title > div {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.regency-eyebrow {
  margin: 0 0 1rem !important;
  color: var(--regency-gold) !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase;
}

.regency-page-title h1 {
  max-width: 1120px;
  margin: 0;
  color: var(--regency-ink) !important;
  font-size: clamp(3.2rem, 10vw, 9.5rem) !important;
  font-weight: 950 !important;
  letter-spacing: -0.075em !important;
  line-height: 0.82 !important;
  text-transform: uppercase !important;
  text-wrap: balance;
}

body.regency-2026 > .navigation,
body.regency-2026 .navigation,
body.regency-2026 > .footer,
body.regency-2026 #regency-main > .footer,
body.regency-2026 #regency-main > footer,
body.legacy-layout table[height="1"],
body.legacy-layout table[width="762"],
body.legacy-layout #regency-main > table > tbody > tr:first-child {
  display: none !important;
}

body.regency-2026 p {
  margin: 0.9rem 0;
}

body.regency-2026 h1,
body.regency-2026 h2,
body.regency-2026 h3 {
  color: var(--regency-ink);
  font-family: inherit !important;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

body.regency-2026 h2 {
  font-size: clamp(2rem, 5vw, 4.6rem);
  text-transform: uppercase;
}

body.regency-2026 a,
body.regency-2026 a:link,
body.regency-2026 a:visited {
  color: var(--regency-gold);
  text-decoration-color: rgba(246, 185, 59, 0.5);
  text-underline-offset: 0.2em;
}

body.regency-2026 img {
  max-width: 100%;
  height: auto;
}

body.regency-2026 hr {
  height: 1px;
  margin: clamp(2rem, 5vw, 4.5rem) 0;
  border: 0;
  background: var(--regency-line);
}

body.regency-2026 font,
body.regency-2026 font[color],
body.regency-2026 td,
body.regency-2026 th {
  color: inherit !important;
  font-family: inherit !important;
}

body.legacy-layout #regency-main > table {
  display: table;
  width: min(1160px, calc(100% - 2rem)) !important;
  height: auto !important;
  margin: clamp(3rem, 8vw, 8rem) auto !important;
  border: 0 !important;
  background: transparent !important;
}

body.legacy-layout table {
  max-width: 100%;
  height: auto !important;
}

body.legacy-layout table[bgcolor] {
  background: transparent !important;
}

body.legacy-layout table[bgcolor="#643b49"] {
  width: 100% !important;
  height: auto !important;
  overflow: hidden;
  border: 1px solid var(--regency-line) !important;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

body.legacy-layout table[bgcolor="#643b49"] > tbody > tr > td {
  height: auto !important;
  padding: clamp(1.35rem, 4vw, 4rem) !important;
  color: var(--regency-muted) !important;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.8;
  text-align: center;
  vertical-align: top;
}

body.legacy-layout table[bgcolor="#643b49"] > tbody > tr > td > p:first-of-type b,
body.legacy-layout table[bgcolor="#643b49"] > tbody > tr > td > p:first-of-type font {
  color: var(--regency-ink) !important;
  font-size: clamp(1.65rem, 4vw, 3.4rem) !important;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

body.legacy-layout table[bgcolor="#643b49"] img {
  margin-inline: auto;
  border: 1px solid var(--regency-line);
  border-radius: 20px;
  background: #0a0a0a;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

body.regency-2026 .portfolio-text,
body.regency-2026 .products,
body.regency-2026 .products-2,
body.regency-2026 .story,
body.regency-2026 .stories,
body.regency-2026 .stories-2,
body.regency-2026 .events,
body.regency-2026 .expositions {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 8rem) 0;
  background: transparent !important;
  color: var(--regency-ink) !important;
}

body.regency-2026 .portfolio-text h2 {
  font-size: clamp(2rem, 5.2vw, 5rem);
  line-height: 0.98;
  text-transform: none;
}

body.regency-2026 .card,
body.regency-2026 .card-body {
  overflow: hidden;
  border: 1px solid var(--regency-line);
  border-radius: 22px;
  background: var(--regency-panel);
  color: var(--regency-ink);
}

body.regency-2026 .card img {
  width: 100%;
}

body.regency-2026 .reveal {
  background: rgba(0, 0, 0, 0.78) !important;
  color: #fff !important;
}

body.regency-2026 section:not(.regency-page-title),
body.regency-2026 #regency-main > header {
  color: var(--regency-ink);
}

body.regency-2026 #regency-main > header,
body.regency-2026 #regency-main > section {
  width: min(1160px, calc(100% - 2rem));
  margin: clamp(3rem, 8vw, 7rem) auto;
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--regency-line);
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}

body.regency-2026 #regency-main > .regency-page-title {
  width: 100%;
  margin: 0;
  padding: clamp(145px, 17vw, 220px) var(--regency-space) clamp(65px, 9vw, 120px);
  border-inline: 0;
  border-top: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 77, 0, 0.3), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(0, 229, 255, 0.16), transparent 28%),
    var(--regency-bg) !important;
  box-shadow: none;
}

.regency-site-footer {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 7vw, 6rem) var(--regency-space);
  border-top: 1px solid var(--regency-line);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 77, 0, 0.18), transparent 30%),
    #050505;
  color: var(--regency-muted);
}

.regency-footer-wrap {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.regency-site-footer strong {
  display: block;
  color: var(--regency-ink);
  font-size: clamp(2rem, 5vw, 5.5rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
}

.regency-site-footer p {
  max-width: 530px;
  color: var(--regency-muted);
  font-size: 0.82rem;
}

.regency-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.regency-site-footer a,
.regency-site-footer a:link,
.regency-site-footer a:visited {
  color: var(--regency-gold) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .regency-menu-toggle {
    display: block;
  }

  .regency-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 1.25rem var(--regency-space) 1.5rem;
    background: rgba(3, 3, 5, 0.97);
    border-bottom: 1px solid var(--regency-line);
  }

  .regency-menu.is-open {
    display: grid;
    gap: 1rem;
  }

  .regency-menu::after {
    display: none;
  }

  .regency-page-title {
    min-height: 58vh;
  }

  .regency-footer-wrap {
    display: grid;
  }

  body.legacy-layout #regency-main > table,
  body.legacy-layout #regency-main > table > tbody,
  body.legacy-layout #regency-main > table > tbody > tr,
  body.legacy-layout #regency-main > table > tbody > tr > td,
  body.legacy-layout table[bgcolor="#643b49"],
  body.legacy-layout table[bgcolor="#643b49"] > tbody,
  body.legacy-layout table[bgcolor="#643b49"] > tbody > tr,
  body.legacy-layout table[bgcolor="#643b49"] > tbody > tr > td {
    display: block;
    width: 100% !important;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
