/* ============================================================
   Welisevich.com  | Shared Stylesheet
   Newspaper theme | Primary: rgb(0,117,0) | Off-white paper
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=IM+Fell+English:ital@0;1&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* ── VARIABLES ── */
:root {
  --green:      rgb(0, 117, 0);
  --green-mid:  rgba(0, 117, 0, 0.15);
  --ink:        #1a1008;
  --ink-mid:    #3a2e1e;
  --paper:      #f5f0e8;
  --paper-dark: #ede7d5;
  --rule:       #c8b89a;
  --rule-dark:  #a08060;
  --faded:      rgba(26, 16, 8, 0.30);
}

/* ── RESET & BASE ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Libre Baskerville', Georgia, serif;
  min-height: 100vh;
}

/* ── CORNER LOGO ── */
.corner-logo {
  position: fixed;
  top: 14px;
  left: 18px;
  z-index: 200;
  width: 50px;
  height: 50px;
  opacity: 0.80;
}

.corner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.corner-logo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--paper-dark);
  border: 1px solid var(--rule-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 1.6rem;
  color: var(--green);
}

/* ── MASTHEAD ── */
.masthead {
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-align: center;
  padding: 16px 80px 14px;
}

.masthead-eyebrow {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.masthead-eyebrow::before,
.masthead-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule-dark);
}

.masthead-title {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 1;
  color: var(--ink);
}

.masthead-title a {
  text-decoration: none;
  color: inherit;
}

.masthead-title .dot-com {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.38em;
  color: var(--faded);
  vertical-align: super;
  letter-spacing: 0.05em;
}

.masthead-tagline {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  color: var(--green);
  margin-top: 8px;
}

.masthead-dateline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  color: var(--ink-mid);
  border-top: 1px solid var(--rule);
  margin-top: 10px;
  padding-top: 7px;
}

/* ── NAVIGATION ── */
nav {
  border-top: 1px solid var(--rule-dark);
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav ul li a {
  display: block;
  padding: 9px 40px;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-right: 1px solid var(--rule);
  transition: background 0.18s, color 0.18s;
}

nav ul li:first-child a {
  border-left: 1px solid var(--rule);
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--green);
  color: var(--paper);
}

/* ── FOOTER ── */
footer {
  border-top: 3px double var(--ink);
  margin-top: 64px;
  padding: 24px 24px 20px;
  text-align: center;
  background: var(--paper-dark);
}

.footer-tagline {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--green);
  letter-spacing: 0.22em;
  margin-bottom: 3px;
}

.footer-rule {
  height: 1px;
  background: var(--rule);
  margin: 10px auto;
  max-width: 180px;
}

.footer-copy {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--faded);
  text-transform: uppercase;
}

/* ── SECTION DIVIDER RULE ── */
.section-rule,
.bio-section-label {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.section-rule {
  margin-bottom: 48px;
}

.section-rule::before,
.section-rule::after,
.bio-section-label::before,
.bio-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule-dark);
}

/* ════════════════════════════════════════
   INDEX PAGE — Landing / Profiles
   ════════════════════════════════════════ */
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 48px;
}

.profiles {
  display: flex;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
}

.profile-link {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.22s;
}

.profile-link:hover {
  transform: translateY(-5px);
}

.profile-link:hover .profile-ring {
  border-color: var(--green);
  box-shadow: 0 0 0 5px var(--green-mid);
}

.profile-ring {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 3px solid var(--rule-dark);
  overflow: hidden;
  transition: border-color 0.22s, box-shadow 0.22s;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.profile-accent {
  width: 36px;
  height: 2px;
  background: var(--green);
  margin: 0 auto;
}

/* ════════════════════════════════════════
   BIO PAGES — Mick & Taylor
   ════════════════════════════════════════ */
.page-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  padding: 44px 28px 60px;
}

/* Profile header: photo left, intro right */
.profile-header {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 30px;
  margin-bottom: 32px;
}

.profile-photo-col {
  flex: 0 0 auto;
}

.profile-photo-box {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border: 2px solid var(--rule-dark);
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 4.5rem;
  color: var(--rule-dark);
}

.profile-photo-caption {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.76rem;
  color: var(--ink-mid);
  text-align: center;
  border-top: 1px solid var(--rule);
  padding: 5px 0;
  background: var(--paper-dark);
  border-left: 2px solid var(--rule-dark);
  border-right: 2px solid var(--rule-dark);
  border-bottom: 2px solid var(--rule-dark);
}

.profile-intro-col {
  flex: 1;
  padding-top: 6px;
}

.profile-intro-col h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 10px;
}

.profile-intro-rule {
  height: 3px;
  background: var(--green);
  width: 60px;
  margin-bottom: 14px;
}

.profile-intro-col .drop-cap-text {
  font-family: 'IM Fell English', serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-mid);
  font-style: italic;
}

/* Two-column newspaper bio */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
  margin-bottom: 40px;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  padding: 24px 0;
}

.two-col .col {
  position: relative;
}

.two-col .col:first-child::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.two-col p {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.9rem;
  line-height: 1.82;
  color: var(--ink);
  margin-bottom: 1em;
  text-align: justify;
  hyphens: auto;
}

.two-col p:last-child {
  margin-bottom: 0;
}

.drop-cap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.8em;
  font-weight: 900;
  float: left;
  line-height: 0.78;
  margin: 0.05em 0.08em 0 0;
  color: var(--green);
}

/* ── CONTACT BLOCK ── */
.contact-section {
  border: 1px solid var(--rule-dark);
  background: var(--paper-dark);
  padding: 28px 32px;
}

.contact-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--ink);
}

.contact-rule {
  height: 2px;
  background: var(--green);
  width: 40px;
  margin-bottom: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-info h3,
.contact-form h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 5px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.85rem;
  color: var(--ink-mid);
}

.contact-item a {
  color: var(--green);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--green);
}

/* Contact form */
.form-row {
  margin-bottom: 12px;
}

.form-row label {
  display: block;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--rule-dark);
  background: var(--paper);
  font-family: 'Libre Baskerville', serif;
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--green);
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  background: var(--green);
  color: var(--paper);
  border: none;
  padding: 10px 28px;
  cursor: pointer;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.18s;
}

.form-submit:hover {
  background: var(--ink);
}

/* ════════════════════════════════════════
   RESPONSIVE — Tablet & Mobile
   ════════════════════════════════════════ */

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {
  .masthead {
    padding: 14px 24px 12px;
  }

  .masthead-dateline {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .page-wrapper {
    padding: 28px 18px 48px;
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-intro-rule {
    margin: 0 auto 14px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .two-col .col:first-child::after {
    display: none;
  }

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

  .contact-section {
    padding: 22px 20px;
  }

  .profiles {
    gap: 48px;
  }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
  .corner-logo {
    width: 38px;
    height: 38px;
    top: 10px;
    left: 12px;
  }

  .masthead {
    padding: 12px 16px 10px;
  }

  .masthead-tagline {
    font-size: 0.88rem;
    letter-spacing: 0.14em;
  }

  nav ul li a {
    padding: 9px 20px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  main {
    padding: 36px 16px 36px;
  }

  .page-wrapper {
    padding: 20px 14px 40px;
  }

  .profile-photo-box {
    width: 160px;
    height: 160px;
  }

  .profile-intro-col h1 {
    font-size: 2rem;
  }

  .contact-section {
    padding: 18px 14px;
  }

  .form-submit {
    width: 100%;
    text-align: center;
  }

  .profiles {
    gap: 36px;
  }

  .profile-ring {
    width: 170px;
    height: 170px;
  }
}
