@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;600;700&family=Hanken+Grotesk:wght@300;400;500;600&display=swap");

:root {
  --paper: #f6efe5;
  --ink: #121728;
  --muted: #4f5b6f;
  --accent: #b24730;
  --accent-strong: #1b3d63;
  --accent-soft: #f0d6c7;
  --surface: #fffaf5;
  --surface-tint: #f3eae0;
  --border: #e5d6c6;
  --shadow: 0 22px 50px rgba(18, 23, 40, 0.12);
  --shadow-tight: 0 10px 22px rgba(18, 23, 40, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(178, 71, 48, 0.16), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(27, 61, 99, 0.16), transparent 42%),
    radial-gradient(circle at 40% 80%, rgba(178, 71, 48, 0.1), transparent 40%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.94), rgba(243, 234, 224, 0.88)),
    repeating-linear-gradient(
      90deg,
      rgba(18, 23, 40, 0.03),
      rgba(18, 23, 40, 0.03) 1px,
      transparent 1px,
      transparent 28px
    );
  color: var(--ink);
  font-family: "Hanken Grotesk", "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

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

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

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

main a,
.site-footer a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

main .quick-links a {
  color: var(--ink);
  text-decoration: none;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 239, 229, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(18, 23, 40, 0.08);
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0 8px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 8px 0 16px;
}

.nav a {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  position: relative;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(178, 71, 48, 0.1);
  border-color: rgba(178, 71, 48, 0.28);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.hero {
  margin-top: 28px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(243, 234, 224, 0.86));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 71, 48, 0.22), transparent 70%);
  top: -90px;
  right: 80px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(27, 61, 99, 0.18), transparent 45%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  margin: 0 0 20px;
}

.hero .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(243, 234, 224, 0.82));
  box-shadow: var(--shadow-tight);
}

.info-card strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card span {
  font-weight: 500;
}

.quick-links {
  display: grid;
  gap: 12px;
}

.quick-links a {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(140deg, rgba(255, 250, 245, 0.98), rgba(240, 214, 199, 0.45));
  font-weight: 500;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-links a span {
  font-size: 0.85rem;
  color: var(--muted);
}

.quick-links a:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-tight);
}

.section {
  margin: 36px 0;
  animation: rise 0.7s ease both;
}

.section h1,
h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.3vw, 2.2rem);
  margin: 0 0 18px;
}

.section h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.6rem;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 10px;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  border-radius: 999px;
}

.section p {
  color: var(--muted);
}

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

.card {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(243, 234, 224, 0.82));
  box-shadow: var(--shadow-tight);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(178, 71, 48, 0.35);
  box-shadow: 0 16px 32px rgba(18, 23, 40, 0.12);
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.card ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--muted);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-tight);
}

.table th,
.table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  background: rgba(27, 61, 99, 0.1);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table tr:last-child td {
  border-bottom: none;
}

.notice {
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: rgba(178, 71, 48, 0.12);
  border-radius: 12px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.staff-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-tight);
}

.staff-card--inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}

.staff-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.staff-card__body h3 {
  margin: 0 0 6px;
  font-weight: 700;
}

.staff-card__body p {
  margin: 2px 0;
}

.staff-card--inline img {
  margin: 0;
  flex-shrink: 0;
}

.staff-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid rgba(202, 163, 155, 0.6);
}

.logo-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.logo-row img {
  height: 46px;
  width: auto;
}

.site-footer {
  margin-top: 48px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  background: linear-gradient(120deg, rgba(255, 250, 245, 0.96), rgba(243, 234, 224, 0.9));
}

.site-footer a {
  color: var(--accent);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  margin-left: 8px;
  border-radius: 999px;
  border: 1px solid rgba(178, 71, 48, 0.28);
  background: rgba(178, 71, 48, 0.08);
  font-size: 0.85rem;
  text-decoration: none;
}

.back-to-top:hover {
  background: rgba(178, 71, 48, 0.14);
}

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

@media (max-width: 600px) {
  .nav {
    gap: 10px;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .staff-card--inline {
    flex-direction: column;
    text-align: center;
  }

  .table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
