/* Cooper Hall Architecture — static site styles
   Matched to the live site: cream background, Garamond serif type. */

:root {
  --bg:   #fdf8f2;   /* warm cream background */
  --ink:  #3b1d18;   /* very dark red brown text */
  --muted:#3b1d18;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "EB Garamond", "Adobe Garamond Pro", Garamond, Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.6; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  padding: 40px 0 0;
  text-align: center;
}

.nav {
  position: absolute;
  left: 40px;
  top: 46px;
  display: flex;
  gap: 26px;
  font-size: 15px;
}

.brand {
  display: block;
  width: 100%;
  text-align: center;
  font-family: "Cormorant Garamond", "Adobe Garamond Pro", Garamond, Georgia, serif;
  font-weight: 700;
  font-size: clamp(28px, 6vw, 39px);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Tagline ---------- */
.tagline {
  text-align: center;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

/* ---------- Home slideshow ---------- */
.slideshow {
  max-width: 330px;
  margin: 46px auto 0;
  text-align: center;
}

.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #efe9e0;
  overflow: hidden;
}

.slides figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.slides figure.is-active { opacity: 1; }

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

.slide-caption {
  margin-top: 14px;
  font-size: 15px;
  min-height: 1.4em;
}

/* ---------- About ---------- */
.about {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0 20px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about .portrait {
  flex: 0 0 260px;
  width: 260px;
  margin: 6px 0 0;
}

.about-text { flex: 1; }
.about-text p { margin: 0 0 22px; }
.about-text p:first-child { margin-top: 0; }

/* ---------- Contact ---------- */
.contact {
  max-width: 680px;
  margin: 0 auto;
  padding: 90px 0 60px;
  text-align: center;
}

.contact h1 {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}

.contact p { margin: 0 0 28px; font-size: 17px; }

.contact .email {
  display: inline-block;
  font-size: 17px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 620px;
  margin: 40px auto 0;
  text-align: left;
}

.contact-form .field { margin-bottom: 26px; }

.contact-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid #c9bfb0;
  padding: 8px 2px;
  outline: none;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: var(--ink); }

.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form .row { display: flex; gap: 26px; }
.contact-form .row .field { flex: 1; }

.contact-form button {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 12px 40px;
  cursor: pointer;
  transition: opacity .2s ease;
}

.contact-form button:hover { opacity: 0.8; }

.hp { position: absolute; left: -9999px; }

@media (max-width: 700px) {
  .contact-form .row { flex-direction: column; gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 90px;
  padding: 34px 0 46px;
}

.site-footer .foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: none;   /* span full width so edges align with the top nav's 40px margin */
}

.site-footer .brand-sm {
  justify-self: start;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer .ig { justify-self: center; }
.site-footer .ig svg { width: 22px; height: 22px; display: block; }
.site-footer .email-link { justify-self: end; font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .wrap { padding: 0 24px; }
  .nav {
    position: static;
    justify-content: center;
    margin-bottom: 22px;
  }
  .site-header { padding: 30px 0 24px; }
  .site-footer .foot { grid-template-columns: 1fr; gap: 16px; justify-items: center; }
  .site-footer .brand-sm, .site-footer .email-link { justify-self: center; }
  .about { flex-direction: column; gap: 28px; }
  .about .portrait { flex: none; width: 200px; }
  .tagline { margin-top: 7px; }
}
@media(max-width:700px){.about{align-items:center}.about-text{width:100%}}
