/* =========================================================
   Base Reset
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: #f5f1e8;
  color: #2d241d;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

main {
  min-height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
}

/* =========================================================
   Header / Navigation
========================================================= */

.site-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 24px 34px;
  border-bottom: 1px solid #e1d7c8;
  background-color: rgba(247, 243, 235, 0.96);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.site-brand a {
  text-decoration: none;
  color: #2d241d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}

.nav-menu a,
.nav-menu button {
  text-decoration: none;
  background: none;
  border: none;
  color: #2d241d;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-menu a.active,
.nav-menu a:hover,
.nav-menu button:hover {
  color: #a97327;
  border-bottom-color: #a97327;
}

/* =========================================================
   Homepage Hero
========================================================= */

.hero-section {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 540px;
  background-color: #f7f3eb;
  border-bottom: 1px solid #e1d7c8;
}

.hero-image-column {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 24px 28px 0;
}

.arch-frame {
  width: 100%;
  max-width: 480px;
  height: 500px;
  min-height: 460px;
  background-color: #ece5db;
  border: 2px solid #e5dbcc;
  border-radius: 240px 240px 0 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-text-column {
  position: relative;
  display: flex;
  align-items: center;
  padding: 32px 62px 32px 46px;
  background-color: #f8f4ec;
  overflow: hidden;
}

.hero-text-column::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 0 0,
      transparent 82px,
      rgba(224, 213, 195, 0.28) 82px,
      rgba(224, 213, 195, 0.28) 84px,
      transparent 84px
    );
  background-size: 190px 190px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-text-inner {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero-text-inner h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 4.6vw, 4.7rem);
  font-weight: 500;
  line-height: 1.02;
  margin-bottom: 18px;
  color: #2f2319;
}

.hero-subtitle {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #a97327;
  margin-bottom: 24px;
  line-height: 1.8;
}

.hero-divider {
  width: 100px;
  height: 2px;
  background-color: #a97327;
  margin-bottom: 26px;
}

.hero-text-inner p {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.03rem;
  color: #3b3027;
  margin-bottom: 18px;
  max-width: 600px;
}

.hero-text-inner .hero-subtitle {
  color: #a97327;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 13px 22px;
  border: 1px solid #a97327;
  text-decoration: none;
  color: #a97327;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.hero-button:hover {
  background-color: #a97327;
  color: #fff;
}

/* =========================================================
   Interior Pages
========================================================= */

.page-hero {
  background-color: #f7f3eb;
  padding: 90px 28px 64px;
  text-align: center;
  border-bottom: 1px solid #e6dccd;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 0 0,
      transparent 82px,
      rgba(224, 213, 195, 0.22) 82px,
      rgba(224, 213, 195, 0.22) 84px,
      transparent 84px
    );
  background-size: 190px 190px;
  opacity: 0.4;
  pointer-events: none;
}

.page-kicker,
.page-hero h1 {
  position: relative;
  z-index: 1;
}

.page-kicker {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #a97327;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: #2f2319;
  max-width: 960px;
  margin: 0 auto;
}

.page-content {
  background-color: #f5f1e8;
  padding: 66px 28px;
}

.page-inner {
  max-width: 850px;
  margin: 0 auto;
}

.page-inner p {
  font-size: 1.1rem;
  color: #3b3027;
  margin-bottom: 24px;
}

.page-inner p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Cards / Research Blocks
========================================================= */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.info-card {
  background-color: #f8f4ec;
  border: 1px solid #e1d7c8;
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(65, 45, 25, 0.08);
}

.info-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #2f2319;
}

.info-card p {
  font-size: 1rem;
  margin-bottom: 0;
  color: #3b3027;
}

/* =========================================================
   Writing / List Blocks
========================================================= */

.list-block {
  margin-top: 40px;
  padding: 32px;
  background-color: #f8f4ec;
  border: 1px solid #e1d7c8;
}

.list-block h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.3rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: #2f2319;
}

.list-block ul {
  padding-left: 22px;
}

.list-block li {
  font-size: 1.06rem;
  margin-bottom: 12px;
  color: #3b3027;
}
/* =========================================================
   Bottom Contact Banner
   Same outside size, smaller image inside
========================================================= */
.contact-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: auto;
  padding: 6px 0 0;
  background-color: #f5f1e8;
  border-top: 1px solid #e1d7c8;
}

.contact-banner-wrap {
  display: block;
  width: 100%;
  line-height: 0;
 
}

.contact-banner-image {
  display: block;
  width: 94%;
  height: auto;
max-height: 265px;
}

/* =========================================================
   Contact Page Links
========================================================= */

.contact-page-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.contact-page-item,
.contact-page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #2d241d;
  text-decoration: none;
  font-size: 1.24rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-page-item i,
.contact-page-links i {
  color: #a97327;
  font-size: 1.45rem;
  width: 32px;
  text-align: center;
}

.contact-page-item:hover,
.contact-page-links a:hover {
  color: #a97327;
  transform: translateY(-2px);
}

/* =========================================================
   Modal / Pop-Out
========================================================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.45);
  justify-content: center;
  align-items: center;
  padding: 28px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: #f8f4ec;
  width: 100%;
  max-width: 760px;
  padding: 46px 42px;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #2f2319;
}

.modal-content p {
  font-size: 1.08rem;
  margin-bottom: 18px;
  color: #3b3027;
}

.close-btn {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2d241d;
  cursor: pointer;
}

/* =========================================================
   Medium Screens / Tablets
========================================================= */

@media (max-width: 1200px) {
  .site-header {
    padding: 22px 26px;
  }

  .site-brand a {
    font-size: 1.7rem;
  }

  .nav-menu {
    gap: 22px;
  }

  .nav-menu a,
  .nav-menu button {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  .hero-section {
    grid-template-columns: 46% 54%;
    min-height: 520px;
  }

  .hero-text-column {
    padding: 38px 42px;
  }

  .arch-frame {
    max-width: 460px;
    height: 480px;
    min-height: 440px;
  }

  .contact-banner-wrap {
    height: 255px;
  }

  .contact-banner-image {
    object-position: left 72%;
  }
}

@media (max-width: 1050px) {
  .site-header {
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }

  .nav-menu {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image-column {
    padding: 36px 24px 0;
  }

  .arch-frame {
    max-width: 500px;
    height: 540px;
    min-height: 490px;
  }

  .hero-text-column {
    padding: 46px 32px 52px;
    justify-content: center;
    text-align: left;
  }

  .hero-text-inner {
    max-width: 720px;
  }
}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 900px) {
  main {
    min-height: calc(100vh - 130px);
  }

  .site-header {
    padding: 20px 16px;
  }

  .site-brand a {
    font-size: 1.55rem;
    text-align: center;
    letter-spacing: 0.12em;
  }

  .nav-menu {
    gap: 16px 20px;
  }

  .nav-menu a,
  .nav-menu button {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    padding-bottom: 6px;
  }

  .hero-image-column {
    padding: 30px 18px 0;
  }

  .arch-frame {
    height: 480px;
    min-height: 430px;
    max-width: 455px;
    border-radius: 230px 230px 0 0;
  }

  .hero-text-column {
    padding: 40px 24px 48px;
  }

  .hero-text-inner h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.7;
    letter-spacing: 0.13em;
    color: #a97327;
  }

  .hero-text-inner p {
    font-size: 1rem;
  }

  .hero-button {
    font-size: 0.74rem;
    padding: 13px 18px;
  }

  .page-hero {
    padding: 72px 22px 52px;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }

  .page-content {
    padding: 52px 22px;
  }

  .page-inner p {
    font-size: 1.03rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .info-card {
    padding: 24px;
  }

  .list-block {
    padding: 26px;
  }

  .contact-section {
    padding: 6px 0 0;
  }

  .contact-banner-wrap {
    height: 220px;
  }

  .contact-banner-image {
    object-position: left 72%;
  }

  .contact-page-links a,
  .contact-page-item {
    font-size: 1.08rem;
  }

  .modal-content {
    padding: 38px 26px;
  }

  .modal-content h2 {
    font-size: 2.25rem;
  }

  .modal-content p {
    font-size: 1rem;
  }
}

/* =========================================================
   Small Phones
========================================================= */

@media (max-width: 600px) {
  .site-brand a {
    font-size: 1.32rem;
  }

  .nav-menu {
    gap: 12px 16px;
  }

  .nav-menu a,
  .nav-menu button {
    font-size: 0.68rem;
  }

  .hero-image-column {
    padding: 24px 14px 0;
  }

  .arch-frame {
    height: 390px;
    min-height: 350px;
    border-radius: 185px 185px 0 0;
  }

  .hero-text-column {
    padding: 34px 20px 42px;
  }

  .hero-text-inner h1 {
    font-size: 2.55rem;
  }

  .hero-subtitle {
    font-size: 0.78rem;
    color: #a97327;
  }

  .hero-divider {
    width: 80px;
    margin-bottom: 22px;
  }

  .hero-text-inner p {
    font-size: 0.98rem;
  }

  .page-hero {
    padding: 58px 18px 44px;
  }

  .page-kicker {
    font-size: 0.76rem;
  }

  .page-hero h1 {
    font-size: 2.3rem;
  }

  .page-content {
    padding: 44px 18px;
  }

  .info-card h3 {
    font-size: 1.75rem;
  }

  .list-block h2 {
    font-size: 2rem;
  }

  .contact-section {
    padding: 5px 0 0;
  }

  .contact-banner-wrap {
    height: 180px;
  }

  .contact-banner-image {
    object-position: left 72%;
  }

  .contact-page-links {
    align-items: flex-start;
    text-align: left;
  }

  .contact-page-links a,
  .contact-page-item {
    font-size: 0.98rem;
    word-break: break-word;
  }
}

/* =========================================================
   Very Small Phones
========================================================= */

@media (max-width: 420px) {
  .site-brand a {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }

  .nav-menu a,
  .nav-menu button {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .arch-frame {
    height: 340px;
    min-height: 320px;
    border-radius: 165px 165px 0 0;
  }

  .hero-text-inner h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.72rem;
    color: #a97327;
  }

  .hero-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 2.05rem;
  }

  .contact-banner-wrap {
    height: 160px;
  }

  .contact-banner-image {
    object-position: left 72%;
  }
}