/* ISPSR — minimal styles */

:root {
  --bg: #fffadb;
  --ink: #000000;
  --brand: #fca821; /* school name */
  --line: #cfd0ab;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

a { color: #291100; }
a:hover { color: #291100; }

/* Full-width header with the school name */
.site-header-full {
  width: 100%;
  padding: 24px 32px;
}

.site-title {
  display: block;
  color: #0b1abf;
  font-weight: 200;
  font-size: 2.2rem;
  line-height: 1.35;
  text-decoration: none;
}
.site-title:hover { color: #0b1abf; }

.site-footer .tagline {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 300;
}

/* Layout: sidebar + content, full width */
.layout {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: calc(100vh - 80px);
}

.sidebar {
  width: 15%;
  flex-shrink: 0;
  padding: 40px 20px 40px 32px;
}

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

.sidebar li { margin-bottom: 10px; }

.sidebar a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
}

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

.sidebar a.active {
  text-decoration: underline;
  font-weight: 600;
}

main {
  flex: 1;
  min-width: 0;
  padding: 40px 40% 60px 24px;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 16px;
}

/* the school's own name, wherever it appears as a heading */
h1.school-name { color: var(--ink); }

/* single page heading (replaces the old eyebrow + h1 pair) */
h1.page-header { color: var(--ink); font-weight: 100; }

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2em 0 0.6em;
}

p { margin: 0 0 1.1em; }

ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: 0.4em; }

/* Simple text links used as calls to action */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 8px;
}

.btn {
  text-decoration: underline;
  font-weight: 500;
}

button.btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--ink);
  cursor: pointer;
}
button.btn:hover { color: var(--brand); }

button.btn-send {
  align-self: flex-end;
  background: #291100;
  color: var(--bg);
  border: none;
  border-radius: 4px;
  padding: 10px 26px;
  text-decoration: none;
  cursor: pointer;
}
button.btn-send:hover { color: var(--bg); opacity: 0.85; }

/* Contact / application form */
.contact-form {
  max-width: 480px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: inherit;
  color: var(--ink);
  background: #f5f5f5;
  border: none;
  border-radius: 3px;
  padding: 10px 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 1px solid var(--ink);
}

/* Enrollment agreement (pay page) */
.agreement {
  max-width: 560px;
  margin: 20px 0 8px;
  padding: 20px 24px;
  background: #f5f5f5;
  border-radius: 6px;
}
.agreement h2 { margin-top: 0; }
.agreement p { font-size: 0.95rem; }

.agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-top: 16px;
  cursor: pointer;
}
.agreement-check input { margin-top: 3px; }

.agreement-warning {
  font-size: 0.9rem;
  color: #b3261e;
  margin: -4px 0 16px;
}

.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Pricing / info blocks */
.panel {
  padding: 16px 0;
}

.panel h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.panel .price {
  font-weight: 600;
  margin-bottom: 6px;
}

/* Schedule table */
table.schedule {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
}
table.schedule th, table.schedule td {
  text-align: left;
  padding: 8px 10px 8px 0;
}
table.schedule th { font-weight: 600; }

.note {
  font-size: 0.95rem;
  font-style: italic;
  margin: 18px 0;
}

/* A piece of art placed on a page for color — fixed as a 3rd column on the right */
.side-image {
  position: fixed;
  top: 135px;
  right: 40px;
  width: 30%;
}
.side-image img {
  display: block;
  width: 100%;
  height: auto;
}
.image-credit {
  margin: 6px 0 0;
  font-size: 0.7rem;
  font-weight: 300;
  opacity: 0.6;
}

/* Responsive Vimeo embed (16:9) */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  padding-top: 56.25%; /* 16:9 */
  margin: 24px 0;
}
.video-wrap iframe { border: 0; }

footer.site-footer {
  width: 100%;
  padding: 20px 32px 40px;
  font-size: 0.85rem;
  color: #464dcf;
}

@media (max-width: 640px) {
  .site-header-full { padding: 20px 20px; }
  .layout { flex-direction: column; }
  .sidebar { width: 100%; padding: 20px 20px 12px; }
  main { padding: 20px 20px; }
  .side-image { position: static; width: calc(100% - 40px); margin: 8px 20px 28px; }
}
