:root {
  --bg: #f7f1e7;
  --bg-soft: #efe3d2;
  --paper: rgba(255, 250, 243, 0.78);
  --paper-strong: rgba(255, 252, 247, 0.92);
  --navy: #0f233d;
  --navy-soft: #18365a;
  --gold: #c9a95a;
  --gold-light: #f3dda0;
  --gold-soft: #e9cb84;
  --wine: #7f1d35;
  --text: #1f2733;
  --muted: #5c6774;
  --line: rgba(15, 35, 61, 0.10);
  --shadow: 0 24px 60px rgba(17, 24, 34, 0.10);
  --shadow-soft: 0 18px 40px rgba(15, 35, 61, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
  --header-height: 90px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at top left, rgba(201,169,90,0.22), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(127,29,53,0.12), transparent 18%),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 42%, var(--bg-soft) 100%);
}

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

.page-ornament {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(10px);
}

.page-ornament-left {
  width: 340px;
  height: 340px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(201,169,90,0.20), transparent 68%);
}

.page-ornament-right {
  width: 360px;
  height: 360px;
  right: -110px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(15,35,61,0.10), transparent 70%);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  padding-top: 14px;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 18px 0 20px;
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.70);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at top, rgba(255,255,255,0.95), rgba(243,221,160,0.58));
  border: 1px solid rgba(201,169,90,0.42);
  box-shadow: 0 14px 26px rgba(15,35,61,0.16);
  overflow: hidden;
}

.brand-mark-image {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.brand-text-wrap {
  display: grid;
  line-height: 1.1;
}

.brand-text {
  font-family: 'Cinzel', serif;
  font-size: 1.24rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-weight: 700;
}

.brand-subtext {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

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

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  border-radius: 14px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  padding: 54px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 170px);
}

.kicker,
.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .78rem;
  color: var(--wine);
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0 0 16px;
  color: var(--navy);
  line-height: 1.05;
}

h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  letter-spacing: .04em;
}

h2, h3 {
  font-family: 'Cormorant Garamond', serif;
}

h2 { font-size: clamp(2.35rem, 4vw, 3.9rem); }
h3 { font-size: clamp(1.55rem, 2.5vw, 2rem); }

.hero-intro {
  max-width: 720px;
  color: #2c3644;
  font-size: 1.17rem;
}

.hero-text,
.section-copy p,
.section-heading p,
.info-card p,
.timeline-card p,
.contact-copy p,
.footer-inner p,
.contact-details {
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  color: #2b1e07;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 18px 32px rgba(201,169,90,0.28);
}

.btn-outline {
  color: var(--navy);
  border: 1px solid rgba(15,35,61,0.18);
  background: rgba(255,255,255,0.46);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  max-width: 620px;
}

.hero-note-line {
  width: 50px;
  height: 1px;
  margin-top: 13px;
  background: linear-gradient(90deg, var(--gold), transparent);
  flex: 0 0 auto;
}

.hero-note p {
  margin: 0;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
}

.hero-badge {
  position: absolute;
  top: 24px;
  right: 42px;
  z-index: 2;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255,252,247,0.9);
  border: 1px solid rgba(201,169,90,0.35);
  box-shadow: var(--shadow-soft);
  font-family: 'Cinzel', serif;
  letter-spacing: .08em;
  font-size: .88rem;
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 46px;
  border-radius: 42px;
  border: 1px solid rgba(255,255,255,0.75);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.80), rgba(255,248,239,0.35)),
    radial-gradient(circle at top, rgba(233,203,132,0.28), transparent 55%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 30px;
  border: 1px solid rgba(201,169,90,0.18);
  pointer-events: none;
}

.hero-shield {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  filter: drop-shadow(0 30px 50px rgba(15,35,61,0.18));
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,90,0.24), transparent 68%);
  filter: blur(18px);
}

.prestige-strip {
  padding: 0 0 28px;
}

.prestige-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.prestige-grid article {
  padding: 10px 14px;
  border-left: 3px solid rgba(201,169,90,0.42);
}

.strip-title {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section-grid,
.crest-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: center;
}

.section-copy,
.section-heading,
.info-card,
.timeline-card,
.contact-card,
.crest-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.section-copy,
.section-heading,
.info-card,
.contact-copy {
  padding: 34px;
}

.info-card {
  position: relative;
  padding: 34px;
  overflow: hidden;
}

.card-ornament {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(127,29,53,0.15);
  font-size: 3rem;
}

.quote-text {
  margin: 18px 0 10px;
  color: var(--navy);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.08rem;
  line-height: 1.2;
}

.history-section .section-heading {
  margin-bottom: 24px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.timeline-card {
  position: relative;
  padding: 26px;
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), rgba(201,169,90,0.12));
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15,35,61,0.06);
  color: var(--wine);
  font-size: .88rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.crest-showcase {
  display: flex;
  justify-content: center;
}

.crest-frame {
  width: min(100%, 460px);
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,248,239,0.48)),
    radial-gradient(circle at top, rgba(243,221,160,0.28), transparent 58%);
}

.crest-main {
  width: min(100%, 300px);
  filter: drop-shadow(0 26px 40px rgba(15,35,61,0.15));
}

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

.crest-meta div {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15,35,61,0.08);
  background: rgba(255,255,255,0.50);
}

.crest-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .84rem;
}

.crest-meta strong { color: var(--navy); }

.contact-layout {
  align-items: stretch;
}

.contact-copy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.contact-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 26px;
  padding: 30px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.83), rgba(255,248,239,0.50)),
    radial-gradient(circle at top, rgba(243,221,160,0.26), transparent 60%);
}

.contact-emblem-wrap {
  min-height: 280px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(201,169,90,0.20);
}

.contact-emblem {
  width: 150px;
  filter: drop-shadow(0 20px 30px rgba(15,35,61,0.14));
}

.contact-details {
  display: grid;
  gap: 8px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(15,35,61,0.08);
}

.contact-item:last-child { border-bottom: 0; }

.contact-label {
  color: var(--muted);
  font-weight: 600;
}

.contact-item a,
.contact-item strong {
  color: var(--navy);
  font-weight: 700;
}

.site-footer {
  padding-top: 18px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
  padding: 28px 0 26px;
  border-top: 1px solid rgba(15,35,61,0.12);
}

.footer-inner h3 { margin-bottom: 8px; }

.footer-sources {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer-sources span {
  color: var(--wine);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
}

.footer-sources a {
  color: var(--navy);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(15,35,61,0.08);
}

.footer-bottom-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: .95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 1024px) {
  .hero-grid,
  .section-grid,
  .crest-layout,
  .contact-layout,
  .timeline,
  .prestige-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid { min-height: auto; }
  .hero-visual { min-height: auto; }
  .hero-card { min-height: 540px; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 24px), var(--container)); }

  .header-inner {
    min-height: 76px;
    padding: 0 12px 0 16px;
    border-radius: 24px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand-subtext { display: none; }

  .nav-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,249,240,0.98);
    border: 1px solid rgba(15,35,61,0.08);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.open { display: flex; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero,
  .section { padding: 58px 0; }

  .hero-actions,
  .crest-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { width: 100%; }

  .hero-card,
  .section-copy,
  .section-heading,
  .info-card,
  .contact-copy,
  .timeline-card,
  .crest-frame,
  .contact-card,
  .prestige-grid {
    border-radius: 24px;
  }

  .hero-card { min-height: 460px; padding: 26px; }
  .hero-shield { width: min(100%, 250px); }
  .crest-frame { min-height: 430px; padding: 24px; }
  .crest-main { width: min(100%, 220px); }
  .section-copy,
  .section-heading,
  .info-card,
  .contact-copy { padding: 24px; }
  .timeline-card,
  .contact-card { padding: 22px; }

  .hero-note { display: block; }
  .hero-note-line { display: none; }
  .hero-badge {
    top: 8px;
    right: 16px;
    font-size: .78rem;
  }

  .crest-meta { grid-template-columns: 1fr; }

  .contact-item,
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-text { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .btn,
  .site-nav a::after,
  .nav-toggle span { transition: none !important; }
}
