:root {
  --bg: #f7f5ef;
  --bg-2: #ffffff;
  --bg-3: #efece2;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --text: #15151a;
  --text-soft: #3a3a40;
  --muted: #6b6b72;
  --border: #d9d4c5;
  --border-strong: #1a1a1a;
  --gold: #b8860b;
  --gold-light: #d4a23d;
  --gold-dark: #7a5708;
  --gold-grad: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  --container: 1240px;
  --container-narrow: 920px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--gold); color: #fff; }

/* ---------- Animated background (white + black + gold) ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 90% -5%, rgba(184, 134, 11, .06), transparent 65%),
    radial-gradient(900px 700px at -5% 100%, rgba(10, 10, 10, .04), transparent 60%),
    linear-gradient(180deg, #faf8f2 0%, #f4f1e8 60%, #efece2 100%);
}
.bg__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bg__shape, .bg__dot {
  will-change: transform;
  transform-box: fill-box;
  transform-origin: center;
}

/* Big sweeping black shape — top right */
.bg__shape--ink-1 {
  animation: drift-ink-1 14s ease-in-out infinite alternate;
}
/* Gold ribbon weaving — same area, counter motion */
.bg__shape--gold-1 {
  animation: drift-gold-1 11s ease-in-out infinite alternate;
}
/* Black accent — bottom left */
.bg__shape--ink-2 {
  animation: drift-ink-2 16s ease-in-out infinite alternate;
}
/* Gold accent line — bottom left */
.bg__shape--gold-line {
  animation: drift-gold-line 13s ease-in-out infinite alternate;
}
/* Thin black hairline arc */
.bg__shape--ink-line {
  animation: drift-ink-line 18s ease-in-out infinite alternate;
}

.bg__dot--gold-a { animation: float-a 12s ease-in-out infinite alternate; }
.bg__dot--gold-b { animation: float-b 15s ease-in-out infinite alternate-reverse; }
.bg__dot--ink-a  { animation: float-c 14s ease-in-out infinite alternate; }
.bg__dot--ink-b  { animation: float-d 17s ease-in-out infinite alternate-reverse; }

@keyframes drift-ink-1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(-70px, 40px) rotate(-3deg) scale(1.04); }
}
@keyframes drift-gold-1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(60px, -50px) rotate(3.5deg) scale(1.06); }
}
@keyframes drift-ink-2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(70px, -30px) rotate(2.5deg) scale(1.05); }
}
@keyframes drift-gold-line {
  0%   { transform: translate(0, 0); opacity: .55; }
  100% { transform: translate(40px, -20px); opacity: .8; }
}
@keyframes drift-ink-line {
  0%   { transform: translate(0, 0); opacity: .25; }
  100% { transform: translate(-50px, 30px); opacity: .45; }
}
@keyframes float-a {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes float-b {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-70px, 90px) scale(1.2); }
}
@keyframes float-c {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-90px, -50px) scale(1.1); }
}
@keyframes float-d {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(70px, -70px) scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .bg__shape, .bg__dot { animation: none !important; }
}

@media (max-width: 768px) {
  @keyframes drift-ink-1 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(-22px, 14px) rotate(-1deg) scale(1.015); }
  }
  @keyframes drift-gold-1 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(20px, -18px) rotate(1.2deg) scale(1.02); }
  }
  @keyframes drift-ink-2 {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(24px, -12px) rotate(.9deg) scale(1.02); }
  }
  @keyframes drift-gold-line {
    0%   { transform: translate(0, 0); opacity: .55; }
    100% { transform: translate(14px, -8px); opacity: .7; }
  }
  @keyframes drift-ink-line {
    0%   { transform: translate(0, 0); opacity: .25; }
    100% { transform: translate(-18px, 12px); opacity: .4; }
  }
  @keyframes float-a {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 24px) scale(1.06); }
  }
  @keyframes float-b {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-25px, 32px) scale(1.08); }
  }
  @keyframes float-c {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-32px, -20px) scale(1.05); }
  }
  @keyframes float-d {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(28px, -28px) scale(1.1); }
  }
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
}

.section__head { margin-bottom: 56px; }
.section__head--left { text-align: left; max-width: 720px; }

.section__head h2,
.about__head h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.rule {
  width: 56px;
  height: 1px;
  background: var(--ink);
  margin-top: 4px;
}
.rule--gold { background: var(--gold-grad); height: 2px; width: 64px; }
.section__head--left .rule { margin-left: 0; }

.grid { display: grid; }
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
}

/* ---------- Navbar (transparent, floating) ---------- */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { height: 38px; width: auto; }
.nav__name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .14em;
  font-size: 1rem;
  color: var(--ink);
}
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links > a {
  font-size: .76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ink);
  transition: color .2s;
  position: relative;
}
.nav__links > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links > a:hover { color: var(--ink); }
.nav__links > a:hover::after { transform: scaleX(1); }

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .2s, color .2s;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.nav__lang:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 640px) {
  .nav__inner { height: 64px; padding: 0 18px; }
  .nav__name { display: none; }
  .nav__links { gap: 16px; }
  .nav__links > a { font-size: .68rem; letter-spacing: .12em; }
  .nav__lang { padding: 6px 10px; font-size: .68rem; }
}
@media (max-width: 400px) {
  .nav__links { gap: 12px; }
  .nav__links > a { font-size: .62rem; letter-spacing: .08em; }
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 28px 100px;
  z-index: 1;
}
.hero__inner {
  text-align: center;
  max-width: 780px;
  position: relative;
}
.hero__scales {
  height: 120px;
  width: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 4px 14px rgba(184, 134, 11, .25));
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 500;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero .rule { margin: 0 auto; }
.hero__tag {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 560px;
  margin: 26px auto 0;
  font-weight: 300;
}
.hero__chevron {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink);
  opacity: .65;
  animation: chev 2.4s ease-in-out infinite;
}
@keyframes chev {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .65; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero__chevron { animation: none; } }

/* ---------- About (asymmetric) ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about__head .eyebrow { display: block; }
.about__head h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 500; }
.about__body p {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin: 0 0 22px;
  line-height: 1.75;
}
.about__body p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 500;
  float: left;
  line-height: 1;
  padding: 4px 12px 0 0;
  color: var(--ink);
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Services (editorial tiles, transparent) ---------- */
.service {
  background: transparent;
  padding: 36px 28px;
  position: relative;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color .3s ease;
}
.service:hover { background: rgba(255, 255, 255, .35); }
.service__num {
  font-family: var(--font-display);
  font-size: .85rem;
  color: var(--gold-dark);
  letter-spacing: .15em;
  margin-bottom: 18px;
  display: block;
}
.service__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: var(--ink);
}
.service h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.service p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Alliance ---------- */
.alliance {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  padding: 40px 44px;
  transition: border-color .25s, background-color .3s ease;
}
.alliance:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, .35);
}
.alliance__icon {
  width: 56px; height: 56px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
}
.alliance__body h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.alliance__body p { color: var(--text-soft); font-size: .98rem; margin: 0 0 14px; max-width: 640px; }
.alliance__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.alliance:hover .alliance__cta { color: var(--gold-dark); border-bottom-color: var(--gold-dark); }

@media (max-width: 720px) {
  .alliance { grid-template-columns: 1fr; padding: 32px 24px; gap: 20px; }
}

/* ---------- Contact ---------- */
.contact-card {
  background: transparent;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color .3s ease;
}
.contact-card:hover { background: rgba(255, 255, 255, .35); }
.contact-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.contact-card__label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--gold-dark);
  font-weight: 500;
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin: 4px 0 18px;
}
.contact-card__value.break { word-break: break-all; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  margin-top: auto;
  transition: color .2s, border-color .2s, gap .2s;
}
.link-arrow:hover { color: var(--gold-dark); border-bottom-color: var(--gold-dark); gap: 12px; }

/* ---------- Dark sections (varying shades) ---------- */
.section--dark {
  color: rgba(255, 255, 255, .72);
}
.section--ink-1 { background: #0b0b0f; }
.section--ink-2 { background: #15151c; }
.section--ink-3 { background: #1d1d26; }

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #f5f2e8;
}
.section--dark .eyebrow { color: var(--gold-light); }
.section--dark .rule { background: rgba(255, 255, 255, .35); }
.section--dark .rule--gold { background: var(--gold-grad); }

.section--dark .about__body p { color: rgba(255, 255, 255, .72); }
.section--dark .about__body p:first-child::first-letter {
  color: var(--gold-light);
}

.section--dark .grid--3,
.section--dark .grid--4 {
  border-color: rgba(255, 255, 255, .08);
}

.section--dark .service {
  border-color: rgba(255, 255, 255, .08);
}
.section--dark .service__num { color: var(--gold-light); }
.section--dark .service__icon { color: rgba(245, 242, 232, .85); }
.section--dark .service p { color: rgba(255, 255, 255, .55); }
.section--dark .service { transition: background-color .35s ease, color .35s ease; }
.section--dark .service:hover {
  background: var(--gold);
}
.section--dark .service:hover h3,
.section--dark .service:hover .service__icon { color: var(--ink); }
.section--dark .service:hover p { color: rgba(0, 0, 0, .72); }
.section--dark .service:hover .service__num { color: rgba(0, 0, 0, .55); }

.section--dark .alliance {
  border-color: rgba(255, 255, 255, .12);
  transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}
.section--dark .alliance__icon {
  border-color: rgba(255, 255, 255, .35);
  color: rgba(245, 242, 232, .9);
  transition: border-color .35s ease, color .35s ease;
}
.section--dark .alliance__body p { color: rgba(255, 255, 255, .68); transition: color .35s ease; }
.section--dark .alliance__cta {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}
.section--dark .alliance:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.section--dark .alliance:hover h3,
.section--dark .alliance:hover .alliance__cta { color: var(--ink); }
.section--dark .alliance:hover .alliance__body p { color: rgba(0, 0, 0, .72); }
.section--dark .alliance:hover .alliance__icon {
  border-color: var(--ink);
  color: var(--ink);
}
.section--dark .alliance:hover .alliance__cta { border-bottom-color: var(--ink); }

.section--dark .contact-card {
  border-color: rgba(255, 255, 255, .08);
  transition: background-color .35s ease, color .35s ease;
}
.section--dark .contact-card__icon { color: rgba(245, 242, 232, .9); transition: color .35s ease; }
.section--dark .contact-card__label { color: var(--gold-light); transition: color .35s ease; }
.section--dark .contact-card__value { color: #f5f2e8; transition: color .35s ease; }
.section--dark .link-arrow {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}
.section--dark .contact-card:hover { background: var(--gold); }
.section--dark .contact-card:hover .contact-card__icon,
.section--dark .contact-card:hover .contact-card__value,
.section--dark .contact-card:hover .link-arrow { color: var(--ink); }
.section--dark .contact-card:hover .contact-card__label { color: rgba(0, 0, 0, .65); }
.section--dark .contact-card:hover .link-arrow { border-bottom-color: var(--ink); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  padding: 40px 24px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer__mark {
  height: 44px;
  filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(545%) hue-rotate(2deg) brightness(92%) contrast(88%);
  opacity: .85;
}
.footer p { color: rgba(255, 255, 255, .6); font-size: .78rem; margin: 0; letter-spacing: .04em; }
