/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
  color: #141414;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.muted { color: #5f5f5f; }
.small { font-size: 0.95rem; }
.fineprint { margin-top: 18px; font-size: 0.9rem; color: #6b6b6b; }

.kicker {
  margin: 0 0 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.85rem;
  color: #7b1730;
}

.mt-12 { margin-top: 12px; }
.divider { height: 1px; background: #efefef; margin: 14px 0; }
.text-link { color: #7b1730; font-weight: 700; }

/* ===== Header/Nav ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid #ececec;
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.brand__mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  background-image: url("assets/vin\ logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-position: center;
}
.brand__text { display: grid; }
.brand__name { font-weight: 650; font-size: 0.98rem; }
.brand__sub { font-size: 0.9rem; color: #6a6a6a; }

.nav { display: flex; gap: 10px; flex-wrap: wrap; }
.nav__link {
  padding: 8px 10px;
  border-radius: 12px;
}
.nav__link:hover { background: #f3f3f3; text-decoration: none; }
.nav__link.is-active {
  background: rgba(123, 23, 48, 0.10);
  border: 1px solid rgba(123, 23, 48, 0.20);
}
.nav__sublink {
  padding: 8px 10px;
  border-radius: 12px;
  color: #7b1730;
}

/* ===== Buttons / chips ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.button.primary { background: #7b1730; color: #fff; }
.button.primary:hover { filter: brightness(0.95); text-decoration: none; }
.button.ghost { background: transparent; border-color: #e3e3e3; }
.button.ghost:hover { background: #f1f1f1; text-decoration: none; }

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e3e3e3;
  background: #fff;
  font-weight: 650;
}
.chip:hover { background: #f3f3f3; text-decoration: none; }

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ===== Cards / layout ===== */
.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.section { padding: 52px 0; }
.section.alt {
  background: #fafafa;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}
.section__head { margin-bottom: 18px; }
.section__head h2 { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -0.01em; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;

  /* key: define a “base row height” */
  grid-auto-rows: 260px; /* adjust: 160–240px depending on taste */
  align-items: stretch;
}

/* default card fills one row */
.grid-3 > .card {
  height: 100%;
}

/* tall card spans two rows = ~double height */
.quote--tall {
  grid-row: span 2;
}

/* optional: prevent text from touching edges */
.card.quote {
  display: flex;
  flex-direction: column;
}
.card.quote .quote-meta {
  margin-top: auto; /* keeps name pinned at bottom */
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.info-row:last-child { border-bottom: 0; }

.label { font-size: 0.85rem; color: #6a6a6a; }

/* ===== Front page tiles ===== */
.hero {
  padding: 60px 0 44px;
  background:
    radial-gradient(900px 450px at 20% 10%, rgba(123, 23, 48, 0.08), transparent),
    radial-gradient(900px 450px at 80% 20%, rgba(0, 0, 0, 0.04), transparent);
}
.hero__center { text-align: center; margin-bottom: 22px; }
.hero__title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}
.hero__lead { margin: 0 auto; max-width: 60ch; color: #303030; }

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.tile {
  border: 1px solid #ececec;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.05);
}
.tile:hover { text-decoration: none; transform: translateY(-1px); transition: 120ms ease; }
.tile__media {
  height: 260px;
  background: #f1f1f1;
}
.tile__media--wine {
  background-image: url("assets/Hero-vinsmagning.JPG");
  background-size: cover;
  background-position: 50% 25%;;
}

.tile__media--piano {
  background-image: url("assets/Hero-musik.jpg");
  background-size: cover;
  background-position: center;
}
.tile__body { padding: 16px; }
.tile__title { margin: 0 0 6px; font-size: 1.3rem; }
.tile__text { margin: 0; color: #6a6a6a; font-weight: 650; }

/* ===== Musik page hero ===== */
.page-hero {
  padding: 56px 0 34px;
  background:
    radial-gradient(900px 450px at 20% 10%, rgba(0, 0, 0, 0.06), transparent),
    radial-gradient(900px 450px at 80% 20%, rgba(123, 23, 48, 0.06), transparent);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}
.page-hero__title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}
.page-hero__subtitle { margin: 0; font-size: 1.1rem; color: #4a4a4a; }

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ===== Media placeholders ===== */
.media-placeholder {
  height: 340px;
  border-radius: 22px;
  border: 1px dashed #d7d7d7;
  background: repeating-linear-gradient(
    45deg,
    #f7f7f7,
    #f7f7f7 10px,
    #f1f1f1 10px,
    #f1f1f1 20px
  );
  display: grid;
  place-items: end start;
  padding: 14px;
}
.media-placeholder--square { height: 260px; }
.media-placeholder__caption {
  font-size: 0.9rem;
  color: #6b6b6b;
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e6e6e6;
}

.media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #ececec;
}

.media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-media {
  width: 100%;
  /* REMOVE fixed height */
}

.hero-media img {
  width: 100%;
  height: auto;        /* image keeps aspect ratio */
  display: block;
  border-radius: 22px;
}

/* Make links look nice inside prose cards */
.prose a {
  color: #7b1730;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(123, 23, 48, 0.35);
  text-underline-offset: 3px;
}
.prose a:hover {
  text-decoration-color: rgba(123, 23, 48, 0.7);
}

/* Bottom-right icon inside the card */
.card.prose {
  position: relative;      /* needed for absolute positioning inside */
  padding-bottom: 54px;    /* make room so icon doesn't overlap text */
}

.card-corner-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  /*width: 100px;             /* adjust size */
  height: 80px;
  opacity: 0.75;           /* subtle */
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid #ececec;
  padding: 20px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__links { display: flex; gap: 12px; }
.footer a { color: #5f5f5f; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .tile-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .grid-3 {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;   /* let cards size naturally on small screens */
  }
}

