@font-face {
  font-family: "Telefon";
  src: url("assets/telefontrial-bold.otf") format("opentype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --orange: #ea8f36;
  --red: #b42227;
  --mint: #79b6a2;
  --green: #102925;
  --navy: #081122;
  --blue: #008f99;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--navy);
  background: var(--green);
}

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

a { color: var(--red); }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.55em 1.4em;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  line-height: 1.2;
  transition: background 0.2s;
}
.button:hover, .button:focus-visible { background: var(--red); }

/* Display headings */
.display, .hero-title {
  font-family: "Telefon", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  margin: 0;
}
.display {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 2px var(--red);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px clamp(16px, 4vw, 48px);
  color: var(--white);
  background-color: #000;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("assets/ryvoan-cairn-media-5.webp");
  background-size: cover;
  background-position: 69% 55%;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem clamp(1.25rem, 4vw, 3rem);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}
.hero-nav a:not(.button) {
  color: var(--white);
  text-decoration: none;
}
.hero-nav a:not(.button):hover,
.hero-nav a:not(.button):focus-visible { text-decoration: underline; }

.hero-title {
  font-size: clamp(4.5rem, 15vw, 12rem);
  line-height: 0.95;
  letter-spacing: 10px;
  text-shadow: 5px 5px 5px var(--red);
  padding: 0.25em 0;
}
.hero-title span { display: block; }

.hero-hours { text-align: right; }
.hero-hours p { margin: 0; }
.hours-open { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; }
.hours-closed { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 300; margin-top: 0.25em; }

/* Galleries */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--mint);
}
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Story */
.story {
  background: var(--mint);
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px);
}
.columns {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(20px, 3vw, 40px) 0;
}
.col { flex: 1 1 0; min-width: 0; }
.col-text p {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.4;
  margin: 0 0 1em;
}
.col-text p:last-child { margin-bottom: 0; }
.col-text h3 {
  font-family: "Telefon", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: #1f2937;
  margin: 0 0 0.75em;
}
.framed {
  width: 100%;
  border: 2px solid var(--blue);
  border-radius: 10px;
}

/* Visit */
.visit {
  background: var(--green);
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px);
}
.visit .columns { padding: 0; }
.visit-details { text-align: center; color: var(--white); }
.visit-details .display { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 25px; }
.address {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.3;
  margin: 0 0 1.5em;
}
.button-large {
  width: 75%;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: 10px;
}
.social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}
.social a { display: block; overflow: hidden; border-radius: 50%; }
.social img { width: 80px; height: 80px; object-fit: contain; transition: transform 0.3s; }
.social a:hover img, .social a:focus-visible img { transform: scale(1.1); }

/* Footer */
.site-footer {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 32px 16px;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer img { margin: 0 auto 12px; width: 50px; height: 50px; }
.site-footer p { margin: 0; }

/* Tablet */
@media (max-width: 976px) {
  .hero { background-attachment: scroll; }
}

/* Mobile */
@media (max-width: 767px) {
  .hero {
    background-position: 57% 22%;
    align-items: center;
  }
  .hero-nav { justify-content: center; }
  .hero-title { letter-spacing: 6px; }
  .hero-hours { text-align: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hide-mobile { display: none; }
  .columns { flex-direction: column; align-items: stretch; }
  .visit .columns { gap: 32px; }
  .social img { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .social img { transition: none; }
}
