:root {
  --cream: #f5f4f2;
  --navy: #1c3a49;
  --navy-soft: #33586a;
  --gold: #b8842f;
  --green: #6f8f52;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6vh 6vw;
  gap: clamp(2.5rem, 6vh, 4rem);
}

.logo {
  width: min(560px, 88vw);
  height: auto;
  display: block;
}

.contact {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.divider {
  width: 1px;
  height: 28px;
  background: var(--navy-soft);
  opacity: 0.35;
}

.contact-link {
  appearance: none;
  background: none;
  border: none;
  padding: 0.25rem 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  letter-spacing: 0.01em;
  position: relative;
}

.contact-link .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: color 0.2s ease;
}

.contact-link:nth-of-type(2) .icon {
  color: var(--green);
}

.contact-link span {
  position: relative;
}

.contact-link span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transition: right 0.25s ease;
}

.contact-link:hover span::after,
.contact-link:focus-visible span::after {
  right: 0;
}

.contact-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 2px;
}

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

.footer address {
  font-style: normal;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--navy-soft);
  opacity: 0.75;
}

.footer address strong {
  color: var(--navy);
  font-weight: 500;
  opacity: 1;
}

.jinbra-link {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.jinbra-link:hover,
.jinbra-link:focus-visible {
  border-bottom-color: currentColor;
}

.lang-switch {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--navy-soft);
  opacity: 0.7;
  z-index: 10;
}

.lang-switch .lang-current {
  color: var(--navy);
  opacity: 1;
}

.lang-switch a {
  color: var(--navy-soft);
  text-decoration: none;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--gold);
}

@media (max-width: 480px) {
  .lang-switch {
    top: 16px;
    right: 16px;
  }
}

@media (max-width: 480px) {
  .contact {
    flex-direction: column;
    gap: 1.1rem;
  }
  .divider {
    width: 28px;
    height: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link span::after {
    transition: none;
  }
}
