/* ucsdwrestlingclub.com — club site styles.
 *
 * Hand-written. The site used to pull the Tailwind Play CDN (a ~400 KB
 * render-blocking script that compiles utility classes in the browser on every
 * page load) plus an inline config on each page. This file is the same design
 * as one stylesheet, ~10 KB, no third-party request, no build step — in line with
 * sites/reporting/assets/app.css and the course's "watch your payload" rule.
 *
 * Values are Tailwind's defaults where the old markup used them (greys, shadows,
 * type scale, breakpoints 640/768/1024) so the port renders identically. */

/* ----------------------------------------------------------------- reset --
 * The subset of Tailwind's Preflight these pages depend on. Without it,
 * heading/paragraph margins, image display and border defaults all drift. */

*, ::before, ::after {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  background-color: #182B49;
}

body { margin: 0; }

h1, h2, h3, p, blockquote {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

strong { font-weight: bolder; }

img, svg, iframe {
  display: block;
}

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

/* Hide scrollbar for cleaner look 
::-webkit-scrollbar { width: 0px; background: transparent; } */

/* ---------------------------------------------------------------- tokens -- */

:root {
  --navy: #182B49;
  --yellow: #FFCD00;
  --blue: #00629B;
  --gold: #C69214;
  --ig: #E1306C;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --yellow-300: #fde047;

  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  --font: "Source Sans 3", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------------------ base -- */

body {
  font-family: var(--font);
  color: var(--gray-800);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--gray-50);
  padding-bottom: 80px; /* room for the mobile tab bar */
}

body.home {
  background-color: var(--navy);
  min-height: 100dvh;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

/* ---------------------------------------------------------------- layout -- */

.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container--2xl { max-width: 42rem; }
.container--3xl { max-width: 48rem; }
.container--4xl { max-width: 56rem; }
.container--6xl { max-width: 72rem; }

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* Inline Lucide icons. Width/height attrs on the <svg> are overridden here. */
.icon      { width: 1.5rem;  height: 1.5rem; }
.icon--xs  { width: 0.75rem; height: 0.75rem; }
.icon--sm  { width: 1rem;    height: 1rem; }
.icon--md  { width: 1.25rem; height: 1.25rem; }
.icon--lg  { width: 1.75rem; height: 1.75rem; }
.icon--xl  { width: 2.5rem;  height: 2.5rem; }
.icon--inline { display: inline; }

/* Instagram glyph: the SVG is white, so it's used as a mask over a colour. */
.ig-glyph {
  -webkit-mask: url('media/Instagram_Glyph_White.svg') center / contain no-repeat;
  mask: url('media/Instagram_Glyph_White.svg') center / contain no-repeat;
}

/* -------------------------------------------------------- desktop navbar -- */

.site-nav {
  display: none;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: rgb(24 43 73 / 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 4px solid var(--yellow);
}

.site-nav--fixed {
  position: fixed;
  background-color: rgb(24 43 73 / 0.9);
}

@media (min-width: 768px) {
  .site-nav { display: block; }
}

.site-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.site-nav__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-nav__brand > * + * { margin-left: 0.75rem; }

.site-nav__logo {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: transform 150ms var(--ease);
}

.site-nav__brand:hover .site-nav__logo { transform: scale(1.1); }

.site-nav__title {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: color 150ms var(--ease);
}

.site-nav__brand:hover .site-nav__title { color: var(--yellow); }

.site-nav__links {
  display: flex;
  align-items: baseline;
}

.site-nav__links > * { margin-left: 1.5rem; }

.site-nav__link {
  color: var(--gray-300);
  padding: 0.5rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition: color 150ms var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active { color: var(--yellow); }

/* -------------------------------------------------------- mobile tab bar -- */

.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--navy);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  /* Safe area padding for mobile bottom nav on newer iPhones */
  padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 768px) {
  .tab-bar { display: none; }
}

.tab-bar__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: 4rem;
  align-items: center;
  justify-items: center;
}

.tab-bar__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--gray-400);
  transition: color 150ms var(--ease);
}

.tab-bar__link:hover { color: #fff; }
.tab-bar__link.is-active { color: var(--yellow); }

.tab-bar__link .icon { margin-bottom: 0.25rem; }

.tab-bar__label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tab-bar__link.is-active .tab-bar__label { font-weight: 700; }

/* ------------------------------------------------ inner-page header band -- */

.page-header {
  position: relative;
  background-color: var(--navy);
  color: #fff;
  padding: 2.5rem 1rem 5rem;
}

.page-header--schedule { padding-top: 1.5rem; padding-bottom: 4rem; }
.page-header--join     { padding-top: 3rem;   padding-bottom: 4rem; }

@media (min-width: 640px)  { .page-header { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .page-header { padding-left: 2rem;   padding-right: 2rem; } }

.page-header__inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.page-header__inner--narrow { max-width: 48rem; }

.page-header__title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.page-header__title--accent { color: var(--yellow); }
.page-header--join .page-header__title { margin-bottom: 1rem; }

@media (min-width: 768px) {
  .page-header__title { font-size: 3rem; line-height: 1; }
}

.page-header__lead {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 300;
  color: var(--blue-100);
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .page-header__lead { font-size: 1.125rem; line-height: 1.75rem; }
}

/* Join page: the lead is the CTA's intro, so it's heavier and tighter. */
.page-header__lead--cta {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 400;
  max-width: 36rem;
  margin-bottom: 0.75rem;
}

.page-header__note {
  color: var(--blue-200);
  margin-top: 1rem;
}

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 150ms var(--ease);
}

/* About page: navy "Back to Home" */
.btn--navy {
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 1rem;
  line-height: 1.5rem;
  color: #fff;
  background-color: var(--navy);
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}

.btn--navy:hover { background-color: var(--blue); }
.btn--navy .icon { margin-right: 0.5rem; }

/* Join page: big yellow "Register via Rec" */
.btn--cta {
  width: 100%;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-weight: 900;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--navy);
  background-color: var(--yellow);
}

.btn--cta:hover {
  background-color: var(--yellow-300);
  transform: scale(1.05);
}

@media (min-width: 640px) { .btn--cta { width: auto; } }
@media (min-width: 768px) { .btn--cta { font-size: 1.25rem; line-height: 1.75rem; } }

/* Text links with a trailing arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 0.5rem;
}

.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { margin-left: 0.25rem; }

/* ----------------------------------------------------------------- cards -- */

.card {
  background-color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.card--navy {
  background-color: var(--navy);
  color: #fff;
}

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

.site-footer {
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  padding: 2rem 0;
  margin-top: 2rem;
  margin-bottom: 60px;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
}

@media (min-width: 768px) {
  .site-footer { margin-bottom: 0; }
}

/* ------------------------------------------------------------ index: hero -- */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--navy);
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
}

.hero__slide.is-active { opacity: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background-image: linear-gradient(to top, var(--navy), rgb(24 43 73 / 0.8), rgb(24 43 73 / 0.4));
}

.hero__content {
  position: relative;
  z-index: 20;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--navy);
}

@media (min-width: 768px) {
  .hero__logo { display: none; }
}

.hero__eyebrow {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 3rem;
  line-height: 1;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

.hero__lead {
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 300;
  color: var(--gray-300);
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}

@media (min-width: 768px) {
  .hero__eyebrow { font-size: 1rem; line-height: 1.5rem; padding-top: 6rem; }
  .hero__title { font-size: 6rem; }
  .hero__lead { font-size: 1.5rem; line-height: 2rem; }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 20rem;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero__actions { flex-direction: row; max-width: 28rem; }
}

.hero__btn {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-align: center;
  transition: all 200ms var(--ease);
}

.hero__btn--primary {
  background-color: var(--yellow);
  color: var(--navy);
  box-shadow: var(--shadow-lg);
}

.hero__btn--primary:hover { background-color: #fff; }

.hero__btn--ghost {
  background-color: rgb(255 255 255 / 0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgb(255 255 255 / 0.2);
  color: #fff;
}

.hero__btn--ghost:hover {
  background-color: #fff;
  color: var(--navy);
}

.hero__social {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.hero__social > * + * { margin-left: 2rem; }

.hero__social-link {
  display: inline-block;
  color: var(--gray-400);
  transition: all 200ms var(--ease);
}

.hero__social-link:hover {
  transform: scale(1.1);
  color: var(--yellow);
}

.hero__social-link .ig-glyph {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--gray-400);
  transition: background-color 200ms var(--ease);
}

.hero__social-link:hover .ig-glyph { background-color: var(--yellow); }

/* ----------------------------------------------------------------- about -- */

.about-main {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -3rem;
  padding: 0 1rem 3rem;
}

@media (min-width: 640px)  { .about-main { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .about-main { padding-left: 2rem;   padding-right: 2rem; } }

.about-card {
  width: 100%;
  max-width: 42rem;
  padding: 3rem;
  text-align: center;
  border-top: 4px solid var(--yellow);
}

.about-card__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  background-color: var(--gray-100);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card__title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.about-card__text {
  color: var(--gray-600);
  line-height: 1.625;
  margin-bottom: 2rem;
}

/* ------------------------------------------------------------------ join -- */

.join-main { padding-top: 3rem; padding-bottom: 3rem; }

.join-section { margin-bottom: 3rem; }

.join-section__title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.5rem;
}

.steps {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  padding: 1.5rem;
}

@media (min-width: 768px) { .steps { padding: 2rem; } }

.steps > * + * { margin-top: 2rem; }

.step {
  display: flex;
  gap: 1rem;
}

.step__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__num--accent {
  background-color: var(--yellow);
  color: var(--navy);
}

.step__title {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--navy);
}

.step__text {
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.join-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .join-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.fees {
  padding: 2rem;
}

.fees__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 1.5rem;
}

.fees__rows > * + * { margin-top: 1.5rem; }

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.fee-row--last {
  padding-bottom: 0.5rem;
  border-bottom: 0;
}

.fee-row__label { font-weight: 700; }

.fee-row__sub {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--gray-300);
}

.fee-row__amount { text-align: right; }

.fee-row__price {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--yellow);
}

.fee-row__unit {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--gray-400);
}

.faq__title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.faq__list > * + * { margin-top: 1.5rem; }

.faq__q {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.faq__q .icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--blue);
}

.faq__a {
  margin-top: 0.5rem;
  margin-left: 1.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--gray-600);
}

.faq__a strong { color: var(--navy); font-weight: 700; }

/* -------------------------------------------------------------- schedule -- */

.schedule-main,
.connect-main {
  position: relative;
  z-index: 10;
  margin-top: -3rem;
  padding-bottom: 3rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.section-title--sm { font-size: 1rem; line-height: 1.5rem; }
.section-title--accent { color: var(--yellow); }

.calendar-block { width: 100%; margin-bottom: 3rem; }

.calendar-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

/* Calendar Responsive Wrapper */
.calendar-container {
  position: relative;
  /* Use viewport height to ensure it's always readable */
  height: 70vh;
  min-height: 500px;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  background-color: #fff;
  border: 2px solid rgb(24 43 73 / 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

@media (min-width: 768px) { .calendar-container { padding: 0.5rem; } }

.calendar-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.schedule-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schedule-grid__wide { grid-column: span 2 / span 2; }
}

.schedule-grid__wide {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .schedule-grid__wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.practice-col > * + * { margin-top: 1rem; }
.practice-col .section-title { margin-bottom: 0.5rem; }

.practice-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  border-left: 4px solid var(--yellow);
  transition: box-shadow 150ms var(--ease);
}

.practice-card:hover { box-shadow: var(--shadow-md); }

.practice-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.practice-card__title {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--navy);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius);
}

.practice-card__body > * + * { margin-top: 0.25rem; }

.practice-card__time {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
}

.practice-card__place {
  display: flex;
  align-items: center;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--blue);
}

.practice-card__place:hover { text-decoration: underline; }
.practice-card__place .icon { margin-right: 0.25rem; }

.directions { padding: 1.5rem; }

.directions .section-title { margin-bottom: 1rem; }

.directions__venue {
  background-color: rgb(255 255 255 / 0.1);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.directions__venue-link {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--yellow);
  margin-bottom: 0.25rem;
}

.directions__venue-link:hover { text-decoration: underline; }
.directions__venue-link .icon { margin-left: 0.25rem; }

.directions__address {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--gray-300);
}

.directions__steps {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 300;
}

.directions__steps > * + * { margin-top: 0.75rem; }

.directions__step {
  display: flex;
  gap: 0.75rem;
}

.directions__num {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background-color: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.directions__step p {
  font-size: 0.75rem;
  line-height: 1rem;
}

.events .section-title { margin-bottom: 1rem; }

.event-list {
  background-color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.event-list > * + * { border-top: 1px solid var(--gray-100); }

.event {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  transition: background-color 150ms var(--ease);
}

.event:hover { background-color: var(--gray-50); }

.event__date {
  flex-shrink: 0;
  width: 2.5rem;
  padding: 0.25rem;
  text-align: center;
  background-color: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event__month {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray-500);
}

.event__day {
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 700;
  color: var(--navy);
}

.event__title {
  font-weight: 700;
  color: var(--gray-900);
}

.event__where {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--gray-500);
}

/* --------------------------------------------------------------- connect -- */

.connect-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .connect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

.connect-col > * + * { margin-top: 1.5rem; }

.contact-link { display: block; }

.contact-card {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 300ms var(--ease);
}

.contact-link:hover .contact-card--groupme { border-color: var(--blue); }
.contact-link:hover .contact-card--email   { border-color: var(--yellow); }

.contact-card__deco {
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0.05;
  transform: translate(33.333333%, -33.333333%);
  color: var(--blue);
}

.contact-card__deco .icon { width: 12rem; height: 12rem; }

.contact-card__body {
  position: relative;
  z-index: 10;
  padding: 2rem;
}

.contact-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  background-color: var(--blue-100);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}

.contact-link:hover .contact-card__icon {
  background-color: var(--blue);
  color: #fff;
}

.contact-card__title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-card__text {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.contact-card__cta {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--blue);
  transition: transform 150ms var(--ease);
}

.contact-link:hover .contact-card__cta { transform: translateX(0.25rem); }
.contact-card__cta .icon { margin-left: 0.5rem; }

.contact-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-card__title--email {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--yellow);
}

.contact-card__sub {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 0.25rem;
}

.contact-card__address {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-top: 0.5rem;
  overflow-wrap: anywhere;
}

.contact-card__icon--email {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0;
  background-color: rgb(255 255 255 / 0.1);
  color: inherit;
}

.contact-link:hover .contact-card__icon--email {
  background-color: var(--yellow);
  color: var(--navy);
}

.ig-col {
  display: flex;
  flex-direction: column;
}

.ig-card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
}

.ig-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ig-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--navy);
}

.ig-card__title .ig-glyph {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--ig);
}

.ig-card__handle {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  color: var(--gray-500);
  transition: color 150ms var(--ease);
}

.ig-card__handle:hover { color: var(--ig); }

/* Instagram Embed Responsiveness */
.instagram-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.instagram-media {
  min-width: unset !important;
  width: 100% !important;
  max-width: 500px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  border-radius: 0.75rem !important;
  border: 1px solid #e5e7eb !important;
}
