/* ==========================================================================
   ANA SAGAR LAKE, AJMER — Rajasthani Minimal Royal theme
   Palette: deep maroon, royal gold, ivory cream, royal indigo
   ========================================================================== */

:root {
  --maroon: #7a1530;
  --maroon-deep: #4e0d20;
  --maroon-ink: #3a0d1c;
  --gold: #c9a227;
  --gold-bright: #e0b63c;
  --gold-light: #f0c75e;
  --cream: #f7efe0;
  --ivory: #fdf9ef;
  --ink: #3a1e24;
  --royal: #1f3a6e;
  --line: rgba(122, 21, 48, 0.16);
  --shadow: 0 18px 44px rgba(78, 13, 32, 0.14);
  --shadow-soft: 0 8px 22px rgba(78, 13, 32, 0.1);
  --radius: 14px;
  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --maxw: 1180px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--maroon);
  text-decoration: none;
  transition: color .25s ease;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--maroon-deep);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 48px, var(--maxw));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 249, 239, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--gold-light), var(--gold));
  color: var(--maroon-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  box-shadow: inset 0 -3px 6px rgba(78, 13, 32, .25), 0 4px 10px rgba(122, 21, 48, .25);
}

.brand-name {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--maroon-deep);
  letter-spacing: .5px;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  gap: 6px;
}

.main-nav a {
  display: inline-block;
  padding: 9px 14px;
  font-size: 13.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--maroon);
  background: rgba(201, 162, 39, 0.14);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  color: var(--maroon-deep);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201, 162, 39, 0.18), transparent 60%),
    radial-gradient(900px 460px at -10% 20%, rgba(122, 21, 48, 0.12), transparent 55%),
    var(--ivory);
  padding: 84px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cg fill='none' stroke='%23c9a227' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M23 4 L42 23 L23 42 L4 23 Z'/%3E%3Ccircle cx='23' cy='23' r='8'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  height: 1px;
  width: 34px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 8px;
}

.hero h1 .accent {
  color: var(--gold);
  font-style: italic;
}

.hero-tag {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--royal);
  margin-bottom: 18px;
}

.hero p.lede {
  font-size: 1.05rem;
  color: #5a444c;
  max-width: 54ch;
  margin-bottom: 30px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--maroon);
  color: var(--cream);
  box-shadow: 0 12px 26px rgba(122, 21, 48, .32);
}

.btn-primary:hover {
  background: var(--maroon-deep);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--maroon-deep);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(201, 162, 39, .12);
  color: var(--maroon-deep);
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  margin: 0;
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-art::after {
  content: '';
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  z-index: -1;
  opacity: .65;
}

.img-credit {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: .4px;
  color: #7c6068;
  font-style: italic;
}

.img-credit a {
  color: #7c6068;
  text-decoration: underline;
}

.img-credit a:hover {
  color: var(--maroon);
}

/* ---------- Facts strip ---------- */
.facts {
  background: var(--maroon-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.facts::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cg fill='none' stroke='%23f0c75e' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M23 4 L42 23 L23 42 L4 23 Z'/%3E%3C/g%3E%3C/svg%3E");
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 34px 0;
  position: relative;
  z-index: 1;
}

.fact {
  text-align: center;
  padding: 12px 8px;
}

.fact b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-light);
  line-height: 1.1;
}

.fact span {
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  opacity: .85;
}

/* ---------- Sections ---------- */
.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--cream);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 14px;
}

.section-head .ornament {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  margin-top: 4px;
}

.section-head .ornament::before,
.section-head .ornament::after {
  content: '';
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-head .ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-head p {
  color: #5a444c;
}

/* ---------- Overview / About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
  margin: 0;
}

.about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.about-media .stamp {
  position: absolute;
  right: -18px;
  bottom: -20px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--gold);
  color: var(--maroon-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  box-shadow: var(--shadow);
  transform: rotate(8deg);
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 18px;
}

.about-copy p {
  margin-bottom: 16px;
  color: #5a444c;
}

.about-copy ul.tick {
  margin: 18px 0 8px;
  display: grid;
  gap: 10px;
}

.about-copy ul.tick li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
}

.about-copy ul.tick svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--gold);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 8px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--gold), var(--maroon), var(--gold));
}

.tl-item {
  position: relative;
  padding: 0 0 40px 52px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ivory);
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .25);
}

.tl-year {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--maroon);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tl-item h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.tl-item p {
  color: #5a444c;
  max-width: 66ch;
}

/* ---------- Cards / Attractions ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 39, .14);
  color: var(--maroon);
  border: 1px solid rgba(201, 162, 39, .35);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.card p {
  color: #5a444c;
  font-size: .98rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--line);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(78, 13, 32, .85));
  color: var(--cream);
  font-size: 14px;
  font-family: var(--font-head);
  font-style: italic;
  letter-spacing: .3px;
}

.gallery-cap .credit {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .6px;
  opacity: .8;
  margin-top: 2px;
}

.gallery-note {
  text-align: center;
  margin-top: 26px;
  font-size: 12.5px;
  color: #7c6068;
  font-style: italic;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(58, 13, 28, 0.92);
  padding: 30px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(900px, 90vw);
  max-height: 84vh;
  border-radius: 10px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .5);
}

.lightbox figcaption {
  color: var(--cream);
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.05rem;
}

.lb-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  border: 1px solid rgba(247, 239, 224, .5);
  color: var(--cream);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 22px;
  display: grid;
  place-items: center;
}

.lb-close:hover {
  background: rgba(247, 239, 224, .15);
}

/* ---------- Royal legacy ---------- */
.legacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.legacy {
  background: var(--maroon-deep);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  border: 1px solid rgba(240, 199, 94, .18);
}

.legacy::after {
  content: '❖';
  position: absolute;
  top: -16px;
  right: 20px;
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.legacy-portrait {
  width: 128px;
  height: 128px;
  margin: 0 0 20px;
  position: relative;
}

.legacy-portrait img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.legacy h3 {
  color: var(--gold-light);
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.legacy .role {
  font-size: 12px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.legacy p {
  font-size: .95rem;
  opacity: .88;
}

.legacy .years {
  display: inline-block;
  margin-top: 16px;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(240, 199, 94, .4);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- Visit / Map ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  min-height: 380px;
  background: var(--cream);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.visit-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.visit-box {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.visit-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.visit-box h3 svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.visit-box p,
.visit-box li {
  color: #5a444c;
  font-size: .97rem;
}

.visit-box ul {
  display: grid;
  gap: 8px;
}

.visit-box ul li {
  display: flex;
  gap: 10px;
}

.visit-box ul li::before {
  content: '❖';
  color: var(--gold);
  font-size: 12px;
  margin-top: 3px;
}

.gb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  margin-top: 14px;
  padding: 0 20px;
  height: 40px;
  line-height: 1;
  background: var(--royal);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.gb-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.gb-btn:hover {
  background: #16294f;
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(31, 58, 110, .35);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-card {
  background: var(--maroon-deep);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cg fill='none' stroke='%23f0c75e' stroke-opacity='0.08' stroke-width='1'%3E%3Cpath d='M23 4 L42 23 L23 42 L4 23 Z'/%3E%3C/g%3E%3C/svg%3E");
}

.contact-card>* {
  position: relative;
  z-index: 1;
}

.contact-card h2 {
  color: var(--gold-light);
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.contact-card>p {
  opacity: .9;
  margin-bottom: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(240, 199, 94, .12);
  border: 1px solid rgba(240, 199, 94, .35);
}

.contact-row svg {
  width: 24px;
  height: 24px;
  color: var(--gold-light);
  flex: 0 0 auto;
  margin-top: 3px;
}

.contact-row .label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 3px;
}

.contact-row a,
.contact-row span.value {
  color: var(--cream);
  font-size: 1.02rem;
  font-weight: 500;
  word-break: break-word;
}

.contact-row a:hover {
  color: var(--gold-light);
}

.contact-row small {
  display: block;
  color: rgba(247, 239, 224, .7);
  font-size: 12.5px;
  margin-top: 3px;
}

.contact-side p {
  color: #5a444c;
  margin-bottom: 16px;
}

.contact-side h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.credit-note {
  background: var(--ivory);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 22px;
}

.credit-note p {
  font-size: .95rem;
  margin-bottom: 6px;
}

.credit-note a {
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon-ink);
  color: rgba(247, 239, 224, .82);
  padding: 54px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  max-width: 34ch;
}

.footer-brand .brand-name {
  color: var(--cream);
}

.footer-brand p {
  font-size: .93rem;
  margin-top: 12px;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: rgba(247, 239, 224, .82);
  font-size: .93rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 239, 224, .14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .86rem;
  opacity: .9;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-art {
    max-width: 640px;
  }

  .card-grid,
  .legacy-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .visit-grid .map-frame {
    min-height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legacy-portrait {
    width: 108px;
    height: 108px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, var(--maxw));
  }

  .section {
    padding: 64px 0;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    z-index: 55;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }

  .main-nav.open {
    max-height: 420px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 22px;
  }

  .main-nav a {
    display: block;
    border-radius: 10px;
    padding: 13px 14px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .card-grid,
  .legacy-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .contact-card {
    padding: 30px 24px;
  }

  .about-media .stamp {
    right: 8px;
    bottom: -14px;
    width: 104px;
    height: 104px;
    font-size: 12px;
  }

  .gb-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .gb-btn {
    font-size: 12px;
    letter-spacing: .8px;
    padding: 0 14px;
  }
}