/* ===========================================================================
   Studio7Strings homepage.
   Same plum, amber and cream as the rest of the site.
   The events page is the dark stage; the homepage is the arrival, so bands
   alternate between the lights-down room and the cream welcome.
   =========================================================================== */

:root {
  --wood: #3a1352;
  --wood-dark: #150a1f;
  --plum-lift: #2a0f3c;
  --amber: #e0a63e;
  --amber-light: #f4c565;
  --page-bg: #12101a;
  --cream: #faf3e8;
  --cream-deep: #f1e5d1;
  --text: #2b1c10;
  --muted: #7a6a58;
  --rule: rgba(244, 197, 101, 0.22);
  --rule-light: #e3d4b9;
  --on-dark: #efe4d4;
  --on-dark-dim: rgba(239, 228, 212, 0.64);
  --radius: 10px;
  --radius-lg: 18px;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Karla', 'Segoe UI', Roboto, Arial, sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 70px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  background: var(--page-bg);
  color: var(--on-dark);
}

img { max-width: 100%; height: auto; }
a { color: var(--amber-light); }
a:hover { color: var(--amber); }

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

.shell { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.shell.narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--amber); color: #241005;
  padding: 10px 16px; font-weight: 700; z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ----------------------------------------------------------------- nav -- */

.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: rgba(12, 7, 16, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.topbar-in {
  max-width: 1060px; margin: 0 auto; padding: 12px 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 22px;
}

.brand {
  font-family: var(--display);
  font-weight: 700; font-size: 1.16rem;
  color: var(--amber-light); text-decoration: none;
}

.topnav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 0.93rem; }
.topnav a { color: var(--on-dark); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.topnav a:hover { color: var(--amber-light); border-bottom-color: var(--amber); }
.topnav a.cta {
  background: var(--amber); color: #2a1403; font-weight: 700;
  padding: 8px 18px; border-radius: 999px; border-bottom: none;
}
.topnav a.cta:hover { background: var(--amber-light); color: #2a1403; }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  padding: 92px 0 78px;
  background:
    radial-gradient(130% 100% at 50% -20%, rgba(224, 166, 62, 0.2), transparent 60%),
    linear-gradient(168deg, var(--wood-dark) 0%, #110716 68%);
  overflow: hidden;
}

.hero.has-photo { background-size: cover; background-position: center; }
.hero.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(21, 10, 31, 0.9), rgba(17, 7, 22, 0.82));
}
.hero > .shell { position: relative; }

.hero-kicker { font-size: 0.9rem; letter-spacing: 0.06em; color: var(--amber); margin: 0 0 16px; }

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--cream);
  margin: 0 0 20px;
  max-width: 17ch;
}

.hero .lede { margin: 0; max-width: 54ch; font-size: clamp(1.03rem, 2.1vw, 1.19rem); color: var(--on-dark-dim); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; background: var(--amber); color: #2a1403;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--amber-light); color: #2a1403; }

.btn.ghost { background: transparent; color: var(--on-dark); border-color: rgba(239, 228, 212, 0.36); }
.btn.ghost:hover { border-color: var(--amber); color: var(--amber-light); background: rgba(224, 166, 62, 0.08); }

.btn.dark { background: var(--wood); color: var(--cream); }
.btn.dark:hover { background: var(--plum-lift); color: var(--cream); }

.btn.outline-dark { background: transparent; color: var(--wood); border-color: var(--wood); }
.btn.outline-dark:hover { background: rgba(58, 19, 82, 0.08); color: var(--wood); }

/* --------------------------------------------------------- facts strip -- */

.facts { background: var(--amber); color: #2a1403; }

.facts-in {
  max-width: 1060px; margin: 0 auto; padding: 18px 22px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 26px;
}

.facts .fact { font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.facts .fact + .fact { border-left: 1px solid rgba(42, 20, 3, 0.22); padding-left: 26px; }

/* -------------------------------------------------------------- bands -- */

.band { padding: 74px 0; }

.band.light { background: var(--cream); color: var(--text); }
.band.light a { color: var(--wood); }
.band.deep { background: linear-gradient(175deg, var(--wood-dark), var(--plum-lift) 75%); }
.band.plain { background: var(--page-bg); }

.head { max-width: 60ch; margin-bottom: 36px; }

.head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.2vw, 2.8rem);
  line-height: 1.09;
  letter-spacing: -0.012em;
  margin: 0 0 14px;
  color: var(--amber-light);
}
.band.light .head h2 { color: var(--wood); }

.head p { margin: 0; color: var(--on-dark-dim); max-width: 64ch; }
.band.light .head p { color: var(--muted); }

/* ------------------------------------------------------- what you can do -- */

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.tile {
  display: flex; flex-direction: column; gap: 7px;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--rule-light);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.15s;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(58, 19, 82, 0.16); }

.tile h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.16rem;
  margin: 0; color: var(--wood); line-height: 1.25;
}
.tile p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.tile .go { margin-top: auto; padding-top: 10px; font-size: 0.86rem; font-weight: 700; color: var(--wood); }

/* -------------------------------------------------------------- story -- */

.story { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.story .prose p { margin: 0 0 18px; color: var(--on-dark); max-width: 60ch; }
.story .prose p:last-child { margin-bottom: 0; }

.pull {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.8vw, 1.72rem);
  font-weight: 600;
  line-height: 1.26;
  color: var(--amber-light);
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid var(--amber);
}

/* --------------------------------------------------------------- room -- */

.chips { display: flex; flex-wrap: wrap; gap: 9px; }

.chip {
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--rule-light);
  background: #fff;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}

.gear-note { margin-top: 24px; color: var(--muted); font-size: 0.93rem; }

/* --------------------------------------------------------------- meet -- */

.meet {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(11, 6, 16, 0.55);
}

.meet .date {
  background: linear-gradient(160deg, var(--wood), var(--wood-dark));
  padding: 30px 26px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  border-right: 1px solid var(--rule);
}
.meet .date .tagline { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--amber); }
.meet .date .big {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  color: var(--cream); line-height: 1.15;
}

.meet .detail { padding: 28px 30px; }
.meet .detail h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.16;
  color: var(--cream); margin: 0 0 10px;
}
.meet .detail .theme { color: var(--amber); font-size: 0.93rem; margin: 0 0 12px; }
.meet .detail p { margin: 0 0 18px; color: var(--on-dark-dim); max-width: 56ch; }
.meet .detail .actions { margin-top: 0; }

/* ------------------------------------------------------------ reviews -- */

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 16px; }

.review {
  background: #fff;
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  display: flex; flex-direction: column; gap: 14px;
}

.review .stars { color: var(--amber); letter-spacing: 2px; font-size: 0.95rem; }
.review blockquote { margin: 0; color: var(--text); font-size: 0.97rem; line-height: 1.58; }
.review cite { margin-top: auto; font-style: normal; font-weight: 700; color: var(--wood); font-size: 0.9rem; }

.rating-line {
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid var(--rule-light);
  color: var(--muted); font-size: 0.95rem;
}
.rating-line b { color: var(--wood); font-size: 1.15rem; }

/* ------------------------------------------------------------ gallery -- */

.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }

.strip a {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--rule); background: #0b0610;
}
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.strip a:hover img { transform: scale(1.05); }

/* ----------------------------------------------------------- location -- */

.place { display: grid; grid-template-columns: 1fr 1.25fr; gap: 34px; align-items: start; }

.place .detail p { margin: 0 0 16px; color: var(--muted); }
.place .detail .addr { color: var(--text); font-size: 1.05rem; line-height: 1.55; }

.map {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule-light);
  background: var(--cream-deep);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.map-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  padding: 28px; color: var(--muted); font-size: 0.93rem;
}

/* ------------------------------------------------------------- footer -- */

.sitefoot {
  background: linear-gradient(175deg, #0c0710, var(--wood-dark));
  border-top: 3px solid var(--amber);
  padding: 50px 0 44px;
  font-size: 0.93rem;
  color: var(--on-dark-dim);
}

.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-grid h3 {
  font-family: var(--display); font-size: 1.02rem; font-weight: 600;
  color: var(--amber-light); margin: 0 0 12px;
}
.foot-grid p { margin: 0 0 8px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--on-dark); text-decoration: none; }
.foot-grid a:hover { color: var(--amber-light); text-decoration: underline; }

.foot-base {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 0.86rem;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* ------------------------------------------------------ sticky whatsapp -- */

.wa {
  position: fixed; right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px; border-radius: 999px;
  background: #1f8a4c; color: #fff;
  font-weight: 700; font-size: 0.93rem; text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}
.wa:hover { background: #1a7340; color: #fff; }

/* --------------------------------------------------------- responsive -- */

@media (max-width: 900px) {
  .story, .place { grid-template-columns: 1fr; gap: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .facts .fact + .fact { border-left: none; padding-left: 0; }
  .facts .fact:nth-child(even) { border-left: 1px solid rgba(42, 20, 3, 0.22); padding-left: 26px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .band { padding: 52px 0; }
  .hero { padding: 62px 0 52px; }
  .meet { grid-template-columns: 1fr; }
  .meet .date { border-right: none; border-bottom: 1px solid var(--rule); padding: 22px 24px; }
  .meet .detail { padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: 1fr; }
  .facts .fact:nth-child(even) { border-left: none; padding-left: 0; }
  .facts .fact + .fact { border-top: 1px solid rgba(42, 20, 3, 0.2); padding-top: 9px; }
  .wa { right: 12px; padding: 12px 17px; }
  .strip { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .tile:hover { transform: none; }
  .strip a:hover img { transform: none; }
}
