@import url('https://fonts.googleapis.com/css2?family=Inknut+Antiqua:wght@300;400;600&family=Open+Sans:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

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

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #dde2e6;
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
nav {
  background: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

nav a {
  text-decoration: none;
  color: #444;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  padding: 5px 18px;
  border: 1px solid #bbb;
  border-radius: 20px;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

nav a:hover {
  background: #f0f0f0;
  border-color: #999;
}

nav a.active {
  background: #e9c846;
  border-color: #e9c846;
  color: #333;
  font-weight: 600;
}

/* ─── PAGE WRAPPER ───────────────────────────────────────── */
.page-body {
  min-height: calc(100vh - 48px);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ─── HERO (HOME) ────────────────────────────────────────── */
.hero {
  background-image: url('../images/edafc906071647ad940aad43e3fdbe07.jpg');
  background-size: cover;
  background-position: center top;
  padding: 50px 20px 40px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 420px;
  position: relative;
}

.hero-text {
  text-align: right;
  padding-right: 40px;
  padding-top: 30px;
}

.hero-text h1 {
  font-family: 'Inknut Antiqua', serif;
  font-size: 3rem;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 1.1;
  font-style: italic;
}

.hero-text .subtitle {
  font-family: 'Inknut Antiqua', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: #2a2a2a;
  display: block;
  margin-top: 4px;
}

.hero-photo {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 130px;
  height: auto;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-links {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-links .workshop-link {
  display: inline-block;
  font-size: 12px;
  color: #8B0000;
  text-decoration: underline;
  text-align: right;
  margin-top: 10px;
  line-height: 1.4;
}

/* ─── SOCIAL BAR ─────────────────────────────────────────── */
.social-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.social-bar a img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  transition: opacity 0.2s;
}

.social-bar a:hover img {
  opacity: 0.8;
}

/* ─── ABOUT SECTION (HOME) ───────────────────────────────── */
.about-section {
  background-color: #5a5a42;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.about-inner {
  display: flex;
  gap: 30px;
  max-width: 900px;
  width: 100%;
  align-items: flex-start;
}

.about-text {
  flex: 1;
  color: #f0ede0;
}

.about-text h2 {
  font-family: 'Inknut Antiqua', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #f0ede0;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.about-text p {
  font-size: 13px;
  line-height: 1.75;
  color: #ddd8c4;
}

.about-text p a {
  color: #e9c846;
  text-decoration: underline;
}

.about-photo {
  width: 240px;
  flex-shrink: 0;
  height: auto;
  border: 3px solid rgba(255,255,255,0.2);
}

.about-cta {
  text-align: center;
  padding: 20px;
  background: #5a5a42;
  padding-bottom: 30px;
}

.btn-mailing {
  display: inline-block;
  background: transparent;
  border: 2px solid #8B0000;
  color: #8B0000;
  font-family: 'Inknut Antiqua', serif;
  font-size: 0.9rem;
  padding: 10px 28px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.btn-mailing:hover {
  background: #8B0000;
  color: #fff;
}

/* ─── PAGE HERO BANNER ───────────────────────────────────── */
.page-hero {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ─── CONTENT BOX ────────────────────────────────────────── */
.content-wrapper {
  background-image: url('../images/5a47467975164707be86bfeac844e3a2.jpg');
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
}

.content-box {
  background: rgba(255,255,255,0.95);
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 30px 40px;
  margin: 0 auto;
  max-width: 880px;
}

/* ─── FOOTER BOATS IMAGE ─────────────────────────────────── */
.footer-image {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

/* ─── PUBLICATION LIST ───────────────────────────────────── */
.pub-list {
  list-style: none;
  padding: 0;
}

.pub-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 13.5px;
  line-height: 1.5;
}

.pub-list li:last-child {
  border-bottom: none;
}

.pub-list a {
  color: #8B0000;
  font-weight: 600;
  text-decoration: none;
  font-style: italic;
}

.pub-list a:hover {
  text-decoration: underline;
}

/* ─── QUOTE BOX ──────────────────────────────────────────── */
.quote-box {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 14px 20px;
  font-size: 13px;
  font-style: italic;
  color: #555;
  margin-top: 20px;
  line-height: 1.6;
  max-width: 400px;
  float: right;
  margin-left: 30px;
  clear: right;
}

/* ─── AWARD LIST ─────────────────────────────────────────── */
.award-list {
  list-style: none;
  padding: 0;
}

.award-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.award-list li:last-child {
  border-bottom: none;
}

.award-list a {
  color: #8B0000;
  text-decoration: underline;
  font-weight: 600;
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.award-list .venue {
  color: #666;
  font-size: 13px;
}

.award-list .interview-link {
  color: #8B0000;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ─── TWO-COLUMN LAYOUT ──────────────────────────────────── */
.two-col {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.two-col .col-text {
  flex: 1;
}

.two-col .col-image {
  flex-shrink: 0;
}

.two-col .col-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ddd;
}

/* ─── NINETIETH DAY PAGE ─────────────────────────────────── */
.book-section {
  background: #f5e97a;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.book-inner {
  display: flex;
  gap: 30px;
  max-width: 880px;
  width: 100%;
  align-items: flex-start;
  background: rgba(255,255,255,0.7);
  border: 1px solid #d4c84a;
  padding: 30px;
  border-radius: 4px;
}

.book-cover {
  width: 200px;
  flex-shrink: 0;
  height: auto;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.2);
}

.book-text h2 {
  font-family: 'Inknut Antiqua', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 14px;
  line-height: 1.4;
}

.book-text p {
  font-size: 13px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 20px;
}

.buy-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #333;
  color: #fff;
  padding: 8px 16px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-buy:hover {
  background: #555;
}

/* ─── ACADEMIC PAGE ──────────────────────────────────────── */
.link-btn {
  display: inline-block;
  border: 1px solid #999;
  padding: 7px 18px;
  border-radius: 3px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.link-btn:hover {
  background: #f5f5f5;
}

.link-group h3 {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 16px;
  color: #444;
}

/* ─── HELPERS ────────────────────────────────────────────── */
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }

a { color: #8B0000; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 700px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-photo { width: 90px; }
  .about-inner { flex-direction: column; }
  .about-photo { width: 100%; max-width: 320px; }
  .two-col { flex-direction: column; }
  .book-inner { flex-direction: column; }
  .book-cover { width: 160px; }
  .content-box { padding: 20px; }
}
