:root {
  --bg: #17110d;
  --bg-deep: #241a14;
  --surface: rgba(33, 24, 19, 0.72);
  --surface-strong: rgba(39, 29, 23, 0.88);
  --text: #d8c2a0;
  --muted: #a58a69;
  --line: rgba(174, 139, 94, 0.16);
  --line-strong: rgba(188, 151, 101, 0.3);
  --accent: #b89362;
  --accent-soft: #d4b385;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --panel-image: url("./img/aurum_background_5k.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(148, 108, 67, 0.22), transparent 32%),
    radial-gradient(circle at 82% 24%, rgba(92, 62, 36, 0.18), transparent 28%),
    radial-gradient(circle at 60% 78%, rgba(124, 85, 48, 0.16), transparent 30%),
    linear-gradient(135deg, #110d0a 0%, #1c140f 38%, #261b14 68%, #120d0a 100%);
  background-size: 100% 100%;
  animation: backgroundShift 18s ease-in-out infinite alternate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 248, 235, 0.06), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 1px 1px, rgba(205, 173, 127, 0.08) 1px, transparent 0);
  background-size: auto, 16px 16px;
}

.site-bg {
  display: none;
}

.page {
  width: 100%;
  margin: 0;
}

.header,
.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 24px;
  margin-bottom: 0;
  background:
    linear-gradient(180deg, rgba(32, 24, 18, 0.84), rgba(24, 18, 14, 0.84)),
    var(--panel-image) center/cover no-repeat;
  backdrop-filter: blur(16px);
}

.brand-block,
.brand,
.header-nav a,
.language-button,
.button-primary,
.contact-email,
.footer a {
  color: inherit;
  text-decoration: none;
}

.brand-block {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-subtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 1.2em);
  margin-left: 0.4em;
  margin-right: 0.8em;
  font-size: 0.56rem;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-subtitle-gap {
  width: 0.8em;
  flex: 0 0 auto;
}

.header-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.header-nav a,
.language-button {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand,
.hero h1,
.hero-subtitle,
.hero-description,
.section h2,
.services-card h2,
.service-row h3,
.panel-grid span,
.panel-text,
.contact-email {
  background: linear-gradient(
    105deg,
    #7f6140 0%,
    #d8be95 18%,
    #b69160 36%,
    #e3cda8 52%,
    #9f7749 68%,
    #d2b184 84%,
    #7e5f3f 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldSheen 11s linear infinite;
}

.header-nav a {
  position: relative;
  padding-bottom: 4px;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switch {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 5px;
  border-radius: 999px;
  background: rgba(20, 15, 12, 0.36);
}

.language-button {
  border: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.language-button.is-active {
  background: rgba(219, 189, 147, 0.1);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(26, 19, 15, 0.72) 0%, rgba(26, 19, 15, 0.48) 42%, rgba(26, 19, 15, 0.18) 100%),
    var(--panel-image) center/cover no-repeat;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.section,
.footer {
  background:
    linear-gradient(180deg, rgba(30, 22, 17, 0.76), rgba(26, 19, 15, 0.8)),
    var(--panel-image) center/cover no-repeat;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(46%, 620px);
  padding: clamp(28px, 4vw, 56px);
  min-height: 100%;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-statue {
  position: absolute;
  right: -3%;
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
  z-index: 1;
  filter: sepia(0.42) saturate(0.88) brightness(0.92) contrast(1.06) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 38%, rgba(178, 139, 88, 0.12), transparent 22%);
  pointer-events: none;
  z-index: 0;
}

.hero-label,
.section-label,
.panel-overline,
.contact-card-label {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section h2,
.services-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.hero-description {
  margin: 0;
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.hero-actions {
  margin-top: 28px;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 13px 20px;
  border: 1px solid var(--accent);
  background:
    linear-gradient(180deg, rgba(75, 55, 39, 0.92), rgba(45, 32, 24, 0.94)),
    linear-gradient(120deg, rgba(205, 171, 121, 0.08), rgba(255, 255, 255, 0));
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dac3a1;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.hero-panel-section {
  margin-top: 0;
  min-height: 100svh;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  min-height: 100svh;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-panel::before {
  background:
    linear-gradient(180deg, rgba(120, 88, 57, 0.18), rgba(18, 14, 11, 0.08)),
    radial-gradient(circle at top, rgba(184, 145, 95, 0.18), transparent 44%);
}

.hero-panel::after {
  display: none;
}

.panel-frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 100%;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(52, 39, 30, 0.4), rgba(24, 18, 14, 0.72)),
    var(--panel-image) center/cover no-repeat;
}

.panel-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: end;
}

.panel-text {
  margin: 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.panel-grid span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.panel-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.section {
  padding: clamp(22px, 3vw, 34px);
  margin-top: 0;
  min-height: 100svh;
}

.about-section {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 0;
  background:
    linear-gradient(90deg, rgba(26, 19, 15, 0.78) 0%, rgba(26, 19, 15, 0.52) 42%, rgba(26, 19, 15, 0.2) 100%),
    var(--panel-image) center/cover no-repeat;
}

.about-copy {
  position: relative;
  z-index: 2;
  width: min(48%, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
}

.about-copy .section-intro {
  margin-bottom: 28px;
}

.about-visual {
  flex: 1;
  min-height: 100%;
}

.about-art {
  position: absolute;
  right: -22%;
  bottom: 0;
  height: 86%;
  width: auto;
  object-fit: contain;
  z-index: 1;
  filter: sepia(0.3) saturate(0.88) brightness(0.9) contrast(1.03) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 42%, rgba(178, 139, 88, 0.1), transparent 22%);
  pointer-events: none;
  z-index: 0;
}

.section h2,
.services-card h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.section-body p,
.editorial-card p,
.service-row p,
.contact-copy p,
.footer {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.section-body {
  display: grid;
  gap: 14px;
}

.philosophy-section,
.services-section,
.contact-section {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(26, 19, 15, 0.78) 0%, rgba(26, 19, 15, 0.52) 42%, rgba(26, 19, 15, 0.2) 100%),
    var(--panel-image) center/cover no-repeat;
}

.section-copy {
  position: relative;
  z-index: 2;
  width: min(48%, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
}

.section-copy .section-intro {
  margin-bottom: 28px;
}

.section-visual {
  flex: 1;
  min-height: 100%;
}

.philosophy-art {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 99.2%;
  width: auto;
  object-fit: contain;
  z-index: 1;
  filter: sepia(0.22) saturate(0.9) brightness(0.92) contrast(1.03) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.philosophy-section::before,
.services-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 42%, rgba(178, 139, 88, 0.1), transparent 22%);
  pointer-events: none;
  z-index: 0;
}

.editorial-quote {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--muted);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  animation: none;
}

.services-list {
  margin-top: 0;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
}

.service-row:first-child {
  border-top: 0;
  padding-top: 6px;
}

.service-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.9vw, 1.8rem);
  font-weight: 600;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(26, 19, 15, 0.78) 0%, rgba(26, 19, 15, 0.52) 42%, rgba(26, 19, 15, 0.2) 100%),
    var(--panel-image) center/cover no-repeat;
}

.contact-copy {
  gap: 0;
}

.contact-meta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-email {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  margin-top: 0;
}

@keyframes backgroundShift {
  0% {
    background-position: 0% 0%;
    filter: saturate(0.98);
  }
  100% {
    background-position: 4% 6%;
    filter: saturate(1.04);
  }
}

@keyframes goldSheen {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

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

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

@media (max-width: 1100px) {
  .header,
  .panel-layout {
    grid-template-columns: 1fr;
  }

  .about-section {
    display: block;
    min-height: auto;
    margin-bottom: 0;
  }

  .about-copy {
    width: min(100%, 720px);
    min-height: 52svh;
  }

  .about-visual {
    min-height: 30svh;
  }

  .philosophy-section,
  .services-section,
  .contact-section {
    display: block;
    min-height: auto;
  }

  .section-copy {
    width: min(100%, 720px);
    min-height: 52svh;
  }

  .section-visual {
    min-height: 24svh;
  }

  .philosophy-art {
    right: 0;
    bottom: 0;
    height: 76%;
  }

  .about-art {
    right: -18%;
    bottom: 0;
    height: 58%;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    width: min(100%, 520px);
    min-height: 52svh;
  }

  .header {
    justify-items: start;
  }

  .header-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 14px 18px;
    padding: 14px 16px;
  }

  .brand-block {
    min-width: 0;
  }

  .header-nav {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .about-section,
  .philosophy-section,
  .services-section,
  .contact-section {
    min-height: auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 20px 0;
  }

  .hero-copy,
  .about-copy,
  .section-copy {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 0;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-description {
    max-width: 14ch;
    font-size: clamp(1.65rem, 7vw, 2.5rem);
  }

  .hero-statue,
  .about-art,
  .philosophy-art {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    pointer-events: none;
  }

  .hero-statue {
    height: auto;
    max-height: 72svh;
    margin-top: 20px;
    margin-right: -8%;
    object-fit: contain;
    object-position: right bottom;
  }

  .about-section,
  .philosophy-section,
  .services-section,
  .contact-section {
    display: flex;
    flex-direction: column;
    padding: 28px 20px;
  }

  .about-copy .section-intro,
  .section-copy .section-intro {
    margin-bottom: 18px;
  }

  .about-art {
    width: min(88vw, 520px);
    height: auto;
    max-height: 58svh;
    margin-top: 16px;
    margin-right: -10%;
    object-fit: contain;
    object-position: right bottom;
  }

  .philosophy-art {
    width: min(96vw, 680px);
    height: auto;
    max-height: 66svh;
    margin-top: 16px;
    margin-right: 0;
    object-fit: contain;
    object-position: right bottom;
  }

  .section-visual {
    display: none;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .header {
    padding: 12px 14px;
    gap: 12px;
  }

  .brand {
    font-size: 1.95rem;
  }

  .brand-subtitle {
    width: calc(100% - 1.4em);
    margin-left: 0.45em;
    margin-right: 0.95em;
    font-size: 0.5rem;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav a,
  .language-button {
    font-size: 0.74rem;
    letter-spacing: 0.07em;
  }

  .language-switch {
    gap: 6px;
    padding: 4px;
  }

  .language-button {
    padding: 6px 9px;
  }

  .hero {
    padding: 24px 14px 0;
  }

  .section {
    padding: 24px 14px;
  }

  .section h2,
  .services-card h2 {
    font-size: clamp(2.2rem, 13vw, 3.3rem);
    line-height: 0.96;
  }

  .hero-description {
    max-width: 12ch;
    font-size: clamp(1.85rem, 10vw, 2.7rem);
    line-height: 1.02;
  }

  .button-primary {
    min-width: 0;
    width: 100%;
    padding: 14px 18px;
  }

  .hero-statue {
    width: 116%;
    max-width: none;
    max-height: none;
    margin-top: 10px;
    margin-right: -24%;
  }

  .about-art {
    width: 112%;
    max-width: none;
    max-height: none;
    margin-top: 8px;
    margin-right: -28%;
  }

  .philosophy-art {
    width: 126%;
    max-width: none;
    max-height: none;
    margin-top: 10px;
    margin-right: -12%;
  }

  .section-body p,
  .editorial-card p,
  .service-row p,
  .contact-copy p,
  .footer {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .editorial-quote {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .service-row h3 {
    font-size: 1.65rem;
  }

  .contact-email {
    max-width: none;
    font-size: clamp(1.3rem, 8vw, 1.9rem);
  }

  .footer {
    flex-direction: column;
    padding: 16px 14px 24px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 1.7rem;
  }

  .hero-description {
    max-width: 11ch;
    font-size: clamp(1.7rem, 9.5vw, 2.3rem);
  }

  .section h2,
  .services-card h2 {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .hero-statue {
    width: 124%;
    margin-right: -30%;
  }

  .about-art {
    width: 118%;
    margin-right: -34%;
  }

  .philosophy-art {
    width: 134%;
    margin-right: -18%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
