:root {
  --green: #162918;
  --gold: #856e49;
  --cream: #D6CEBD;
}

/* Mnster Gotische local font */
@font-face {
  font-family: 'Mnster Gotische';
  src: url('fonts/MnsterGotische.woff2') format('woff2');
  font-weight: 50;
  font-style: normal;
  font-display: swap;
}

/* Local fallback: English Garden */
@font-face {
  font-family: 'English Garden SGOT';
  src: url('fonts/EnglishGardenSGOT-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  /* Make Mnster Gotische the default for page text, with sensible fallbacks */
  font-family: "English Garden SGOT", "Libre Caslon Text", serif;
  background: var(--green);
  color: var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--green);
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 150ms ease;
}

a:hover,
a:focus-visible {
  opacity: 0.7;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.info-band__line a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-transform: none;
}

.info-band a:focus-visible {
  outline-color: var(--green);
}

.frame {
  border: 1px solid var(--gold);
  max-width: 960px;
  width: 100%;
  padding: 40px 0 48px;
  background-color: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.frame > *:not(.info-band) {
  padding-left: 32px;
  padding-right: 32px;
}

.hero {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.35rem;
}

.hero__title {
  /* Use Mnster Gotische first, fall back to local English Garden, then other named fonts, then serif */
  font-family: "Mnster Gotische", "English Garden SGOT", "Grenze Gotisch", "Germania One", serif;
  /* Larger title: min 3.25rem, scales with viewport, max 6rem */
  font-size: clamp(4rem, 8vw, 8rem);
  margin: 0;
  /* a touch more spacing for bigger display */
  letter-spacing: 0.15rem;
  /* respect the capitalization as written in the HTML (only T, Q, C capitalized) */
  text-transform: none;
}

.hero__subtitle {
  margin: 16px 0 0;
  font-size: 1.5rem;
  letter-spacing: 0.7rem;
  color: var(--gold);
}

.info-band {
  width: 100%;
  background: var(--cream);
  color: var(--green);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
  position: relative;
}

.info-band__content {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-weight: 700;
  display: grid;
  gap: 6px;
  max-width: 600px;
  margin: 0 auto;
}

.info-band__line {
  font-family: English Garden SGOT, "Libre Caslon Text", serif;
  margin: 0;
  font-size: 1.5rem;
  color: var(--green);
}

.info-band__line--primary {
  font-size: 1.5rem;
}

.info-band__phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  position: relative;
}

.info-band__phone-row .info-band__line {
  margin: 0;
}

.info-band__phone-row p {
  margin: 0;
  font-size: 1.5rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-weight: 700;
}

.info-band__socials {
  position: absolute;
  right: -120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* Make the Instagram icon larger (display size). Keep other social icons unchanged. */
.social-icon--instagram img {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: scale(1.1);
}

.seal {
  display: flex;
  justify-content: center;
}

.seal__outer {
  width: 180px;
  height: 180px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.15rem;
}

.seal__outer::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  z-index: 0;
}

.seal__text {
  position: absolute;
  font-size: 0.75rem;
}

.seal__text--top {
  top: 22px;
}

.seal__text--bottom {
  bottom: 22px;
}

.seal__monogram {
  font-family: "UnifrakturCook", "Libre Caslon Text", serif;
  font-size: 2.75rem;
  letter-spacing: 0.1rem;
}

.address {
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  font-size: 0.75rem;
  text-align: center;
}

.address p {
  margin: 0;
}

/* Layout for address and opening times columns */

/* Always stack address above opening hours (address on top) */
.address__cols {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.address__location,
.address__hours {
  min-width: 0;
}

/* Stack the columns on narrow viewports */
/* No media-query needed: columns are stacked by default */

.logo-gold-img {
  width: min(100px, 60%);
  max-height: 60%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

/* Pull the address block closer to the logo on desktop widths */
@media (min-width: 721px) {
  .logo-section + .address {
    margin-top: -36px; /* reduces the gap; change value to taste */
  }
}

@media (max-width: 720px) {
  body {
    padding: 16px;
  }

  .frame {
    padding: 32px 0 40px;
    gap: 36px;
  }

  .frame > *:not(.info-band) {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero__title {
    display: none;
  }

  .hero::before {
    content: "";
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    background-image: url('images/logoGold.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .hero__subtitle {
    letter-spacing: 0.2rem;
    font-size: 1rem;
  }

  .logo-section {
    display: none;
  }

  .info-band {
    flex-direction: column;
    padding: 24px 16px;
    gap: 12px;
  }

  .info-band__content {
    max-width: 100%;
  }

  .info-band__line {
    font-size: 1.1rem;
    letter-spacing: 0.08rem;
  }

  .info-band__line--primary {
    font-size: 1rem;
  }

  .info-band__line a {
    word-break: break-all;
  }

  .info-band__phone-row {
    flex-direction: column;
    gap: 12px;
  }

  .info-band__phone-row p {
    font-size: 1rem;
    letter-spacing: 0.08rem;
  }

  .info-band__socials {
    position: static;
    right: auto;
  }


  /* Keep instagram reasonably large on narrow viewports */
  .social-icon--instagram img {
    width: 35px;
    height: 35px;
    margin-top: 15px;
  }

  .address {
    letter-spacing: 0.15rem;
    font-size: 0.9rem;
  }

  .logo-container {
    margin-bottom: -50px;
}
}