:root {
  --bg: #f2ebde;
  --bg-soft: #fbf7ef;
  --panel: rgba(255, 251, 244, 0.78);
  --ink: #182d52;
  --ink-soft: #3a4d6d;
  --gold: #b69145;
  --gold-soft: #d2b675;
  --line: rgba(24, 45, 82, 0.12);
  --shadow: 0 24px 60px rgba(40, 30, 14, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(182, 145, 69, 0.16), transparent 28%),
    radial-gradient(circle at right center, rgba(24, 45, 82, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f0e3 0%, #efe5d5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(182, 145, 69, 0.03) 48px
    );
  opacity: 0.6;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(182, 145, 69, 0.55);
  background: linear-gradient(180deg, #223a68 0%, #162744 100%);
  color: #f4dfac;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1 1 420px;
  min-width: 280px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.72);
}

.lang-button {
  min-width: 48px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  transform: translateY(-1px);
  color: var(--ink);
}

.lang-button.is-active {
  background: linear-gradient(180deg, #1f3764 0%, #162744 100%);
  color: #f7f1de;
  box-shadow: 0 8px 18px rgba(24, 45, 82, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  padding: 64px 8px 42px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.panel h2,
.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.8rem, 9vw, 6.5rem);
  line-height: 0.92;
}

.hero-subtitle {
  margin: 18px 0 12px;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  color: var(--ink-soft);
}

.hero-text,
.panel p,
.specialty-card p,
.contact-card p {
  color: #34445f;
  line-height: 1.8;
}

.panel p + p,
.contact-card p + p {
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions .button {
  flex: 0 1 auto;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(24, 45, 82, 0.12);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.66);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d4b56d 0%, #a67f33 100%);
  box-shadow: 0 0 0 4px rgba(182, 145, 69, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #1f3764 0%, #162744 100%);
  color: #f7f1de;
  box-shadow: 0 14px 30px rgba(24, 45, 82, 0.24);
}

.button-secondary {
  border: 1px solid rgba(24, 45, 82, 0.18);
  color: var(--ink);
  background: rgba(255, 252, 247, 0.7);
}

.hero-card,
.panel,
.specialty-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 36px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 145, 69, 0.22) 0%, transparent 68%);
}

.hero-card-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-card-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-card-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(182, 145, 69, 0.6), rgba(182, 145, 69, 0.06));
}

.seal {
  display: grid;
  place-items: center;
}

.logo-frame {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 14px;
  border: 1px solid rgba(24, 45, 82, 0.1);
  aspect-ratio: 1380 / 752;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98) 0%, rgba(247, 241, 230, 0.96) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    0 20px 40px rgba(24, 45, 82, 0.08);
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: #fffaf1;
}

.hero-logo[hidden] {
  display: none;
}

.seal-ring {
  width: min(100%, 420px);
  min-width: 0;
  aspect-ratio: 1 / 1.16;
  padding: 20px;
  border: 4px solid rgba(182, 145, 69, 0.82);
  border-radius: 50% / 43%;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.95) 0%, rgba(248, 242, 230, 0.95) 100%);
  box-shadow:
    inset 0 0 0 8px rgba(255, 255, 255, 0.72),
    inset 0 0 0 10px rgba(182, 145, 69, 0.32);
}

.seal-top {
  margin: 8px auto 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  color: #8e6d2c;
  font-size: clamp(0.95rem, 1.6vw, 1.4rem);
  letter-spacing: 0.04em;
}

.seal-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100% - 58px);
  text-align: center;
}

.seal-monogram {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #223a68 0%, #162744 100%);
  color: #eed39a;
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 700;
}

.seal-title,
.seal-role,
.seal-area {
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
}

.seal-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.seal-role {
  margin-top: 8px;
  color: #8c6a2d;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
}

.seal-focus {
  margin-top: 18px;
  color: var(--ink);
  font-size: 1rem;
}

.seal-area {
  margin-top: 6px;
  color: #8e6d2c;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
}

.hero-note {
  margin: 20px 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(24, 45, 82, 0.1);
  background: rgba(255, 251, 244, 0.68);
}

.trust-value {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.trust-copy {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.info-grid,
.specialty-grid {
  display: grid;
  gap: 24px;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.details-grid {
  margin-top: 34px;
}

.visual-story-grid {
  margin-top: 34px;
}

.panel,
.contact-card {
  border-radius: 28px;
  padding: 28px;
}

.panel-accent {
  background:
    linear-gradient(135deg, rgba(24, 45, 82, 0.96), rgba(30, 54, 96, 0.92)),
    var(--panel);
  color: #f8f3e8;
}

.panel-accent p,
.panel-accent h2 {
  color: inherit;
}

.panel-accent .section-kicker {
  color: #dfc17d;
}

.panel h2,
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
}

.portrait-panel {
  display: flex;
  flex-direction: column;
}

.portrait-frame {
  overflow: hidden;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(24, 45, 82, 0.08);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(180deg, rgba(228, 214, 186, 0.7) 0%, rgba(247, 241, 231, 0.9) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 20px 34px rgba(24, 45, 82, 0.08);
}

.portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1470 / 1070;
  object-fit: cover;
  object-position: center top;
}

.feature-image-panel {
  display: flex;
  flex-direction: column;
}

.feature-image-frame {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(24, 45, 82, 0.08);
  background: #efe6d8;
}

.feature-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.specialties,
.contact {
  margin-top: 34px;
}

.site-footer {
  margin-top: 34px;
  padding: 0 4px 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.site-credit {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-credit a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

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

.legal-page .page-shell {
  padding-bottom: 40px;
}

.legal-main {
  padding-top: 36px;
}

.legal-hero {
  margin-bottom: 26px;
}

.legal-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.legal-intro {
  max-width: 760px;
  margin-top: 16px;
  color: #34445f;
  line-height: 1.8;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 0.98;
}

.legal-card h3 {
  margin: 26px 0 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.legal-card p,
.legal-card li {
  color: #34445f;
  line-height: 1.8;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-note {
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.section-heading {
  margin-bottom: 18px;
}

.specialty-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.specialty-card {
  border-radius: 24px;
  padding: 24px;
}

.specialty-card h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 600;
}

.contact-lines a {
  color: var(--ink);
  text-decoration: none;
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(24, 45, 82, 0.12);
  background: rgba(255, 251, 244, 0.72);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.social-link.is-placeholder {
  color: var(--ink-soft);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px 0 14px;
  border: 1px solid rgba(24, 45, 82, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.92);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(24, 45, 82, 0.16);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 22px 40px rgba(24, 45, 82, 0.2);
}

.back-to-top-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1f3764 0%, #162744 100%);
  color: #f7f1de;
  font-size: 1rem;
  line-height: 1;
}

.back-to-top-text {
  font-size: 0.94rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 920px) {
  .site-header,
  .hero,
  .info-grid,
  .specialty-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    gap: 16px;
  }

  .header-controls {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }

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

  .hero {
    gap: 28px;
    padding-top: 42px;
  }

  .hero-card {
    padding: 28px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .site-header,
  .hero-card,
  .panel,
  .specialty-card,
  .contact-card,
  .legal-card {
    padding: 20px;
    border-radius: 22px;
  }

  .site-header {
    gap: 14px;
  }

  .brand-copy strong {
    font-size: 1.6rem;
  }

  .brand-copy span {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .site-nav {
    width: 100%;
    gap: 10px;
  }

  .site-nav a {
    width: calc(50% - 5px);
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 251, 244, 0.72);
    border: 1px solid rgba(24, 45, 82, 0.08);
  }

  .hero {
    gap: 24px;
    padding-inline: 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-text,
  .panel p,
  .specialty-card p,
  .contact-card p,
  .trust-copy {
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    gap: 10px;
  }

  .hero-points span {
    width: 100%;
    justify-content: flex-start;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .lang-button {
    flex: 1;
  }

  .hero-card-topline {
    margin-bottom: 18px;
  }

  .logo-frame {
    padding: 10px;
    border-radius: 20px;
  }

  .portrait-frame {
    min-height: 280px;
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    width: 100%;
  }

  .footer-links {
    gap: 10px 14px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    min-height: 48px;
    padding-inline: 12px 14px;
  }

  .back-to-top-text {
    font-size: 0.88rem;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: calc(100% - 16px);
  }

  .site-header,
  .hero-card,
  .panel,
  .specialty-card,
  .contact-card,
  .legal-card {
    padding: 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 1.45rem;
  }

  .brand-copy strong {
    font-size: 1.35rem;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-points span,
  .trust-item {
    padding-inline: 12px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }
}
