/* nargesdavarifard.com — shared styles for the hub and the three venue sections */

:root {
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg: #f7f3ee;
  --fg: #1f1b18;
  --muted: #6f655d;
  --accent: #1f1b18;
  --on-accent: #ffffff;
  --card: #fffdf9;
  --line: rgba(31, 27, 24, 0.12);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1120px;
}

/* Venue themes — colours sampled from each logo */
.theme-narges {
  --bg: #f6f2ea;
  --fg: #1a1712;
  --muted: #6d6455;
  --accent: #8a6a3e;
  --on-accent: #ffffff;
  --card: #fffdf8;
  --line: rgba(26, 23, 18, 0.12);
}

.theme-noir {
  --bg: #0a0b0d;
  --fg: #f2ede4;
  --muted: #a39c90;
  --accent: #c8a860;
  --on-accent: #0a0b0d;
  --card: #141518;
  --line: rgba(242, 237, 228, 0.14);
}

.theme-nb {
  --bg: #f1e7de;
  --fg: #1e2b23;
  --muted: #64594d;
  --accent: #8a5434;
  --on-accent: #ffffff;
  --card: #faf4ee;
  --line: rgba(30, 43, 35, 0.14);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.button--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

.button--ghost:hover {
  border-color: var(--fg);
}

/* ---------- Hub ---------- */

.hub-head {
  padding: clamp(56px, 10vw, 112px) 0 clamp(32px, 5vw, 56px);
  text-align: center;
}

.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.lede {
  max-width: 34rem;
  margin: 18px auto 0;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
}

.venues {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.venue {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 30px;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.venue:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.venue__logo {
  width: 78%;
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
}

.venue__kind {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

.venue__name {
  margin: 6px 0 18px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.15;
}

.venue__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.venue--narges {
  background: #000000;
  color: #efe6cf;
}

.venue--narges .venue__go {
  background: #e0d3a8;
  color: #000000;
}

.venue--noir {
  background: #0a0b0d;
  color: #f2ede4;
}

.venue--noir .venue__go {
  background: #c8a860;
  color: #0a0b0d;
}

.venue--nb {
  background: #f1e7de;
  color: #1e2b23;
  box-shadow: inset 0 0 0 1px rgba(30, 43, 35, 0.08);
}

.venue--nb .venue__go {
  background: #8a5434;
  color: #ffffff;
}

/* ---------- Venue switcher (sub-sites) ---------- */

.switcher {
  border-bottom: 1px solid var(--line);
}

.switcher .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.switcher__home {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}

.switcher__home:hover {
  color: var(--fg);
}

.switcher__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.switcher__links a {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
}

.switcher__links a:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.switcher__links a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

/* ---------- Venue page ---------- */

.hero {
  padding: clamp(48px, 9vw, 112px) 0 clamp(40px, 6vw, 72px);
}

.hero__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.hero__logo {
  width: clamp(180px, 24vw, 280px);
  aspect-ratio: 1;
  object-fit: cover;
}

.hero__logo--round {
  border-radius: 50%;
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.hero__lede {
  max-width: 32rem;
  margin: 18px 0 0;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(64px, 10vw, 120px);
}

.panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.panel h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.panel--wide {
  grid-column: 1 / -1;
  max-width: 40rem;
}

.services {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--line);
}

.services li:last-child {
  border-bottom: 0;
}

.services li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--accent);
}

.contact {
  margin: 0;
}

.contact div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.contact div:last-child {
  border-bottom: 0;
}

.contact dt {
  font-size: 14px;
  color: var(--muted);
}

.contact dd {
  margin: 0;
}

.contact a {
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.note {
  margin-top: 16px !important;
  font-size: 15px;
}

/* ---------- Footer ---------- */

.foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 14px;
  color: var(--muted);
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

/* ---------- Not found ---------- */

.notfound {
  padding: clamp(80px, 16vw, 160px) 0;
  text-align: center;
}

.notfound .lede {
  margin-bottom: 28px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .venues {
    grid-template-columns: 1fr;
  }

  .venue__logo {
    max-width: 220px;
  }

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

@media (max-width: 640px) {
  .hero__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero__lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .contact div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .venue {
    transition: none;
  }

  .venue:hover {
    transform: none;
  }
}
