/* ===== SHARED-PAGES.CSS START: INTERIOR PAGE SYSTEM ===== */

.site-page {
  background:
    radial-gradient(
      circle at top left,
      rgba(222, 204, 168, 0.16),
      transparent 28%
    ),
    linear-gradient(180deg, #f6f1e7, #efe7d9);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(230, 211, 172, 0.2);
  background: rgba(27, 42, 31, 0.9);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: flex;
  min-width: max-content;
  padding: 10px 18px 10px 0;
  align-items: center;
  color: var(--cream-soft);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-logo span {
  color: var(--brass-soft);
}

.site-nav {
  display: grid;
  width: min(740px, 100%);
  grid-template-columns: repeat(6, minmax(86px, 1fr));
  border: 1px solid rgba(238, 221, 189, 0.25);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.site-nav a {
  position: relative;
  display: grid;
  min-height: 52px;
  padding: 8px 10px;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  border-right: 1px solid rgba(238, 221, 189, 0.2);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  transition: 220ms ease;
}

.site-nav a:last-child {
  border-right: 0;
}

.site-nav a::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid transparent;
  transition: 220ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(221, 190, 134, 0.12);
}

.site-nav a:hover::before,
.site-nav a[aria-current="page"]::before {
  border-color: rgba(235, 211, 167, 0.42);
  box-shadow: 0 0 24px rgba(225, 195, 139, 0.12);
}

.site-nav-toggle {
  display: none;
}

.inner-hero {
  position: relative;
  min-height: 64vh;
  overflow: hidden;
  background: var(--forest);
}

.inner-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(18, 31, 23, 0.92),
      rgba(18, 31, 23, 0.62) 48%,
      rgba(18, 31, 23, 0.26)
    ),
    linear-gradient(
      180deg,
      rgba(18, 31, 23, 0.08),
      rgba(18, 31, 23, 0.6)
    );
}

.inner-hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 96px;
  color: var(--cream-soft);
}

.inner-hero__content h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.inner-hero__content p {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.form-panel {
  padding: 34px;
  border: 1px solid rgba(93, 109, 91, 0.2);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.form-panel h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.94;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 15px 16px;
  color: var(--ink);
  border: 1px solid rgba(83, 104, 84, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.84);
  outline: none;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: rgba(153, 125, 77, 0.72);
  box-shadow: 0 0 0 3px rgba(198, 167, 112, 0.12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 140px;
  gap: 14px;
}

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  margin: 0;
  box-shadow: var(--shadow-soft);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-grid figure:nth-child(1) {
  grid-column: span 7;
  grid-row: span 4;
}

.gallery-grid figure:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-grid figure:nth-child(3) {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-grid figure:nth-child(4) {
  grid-column: span 4;
  grid-row: span 3;
}

.gallery-grid figure:nth-child(5) {
  grid-column: span 4;
  grid-row: span 3;
}

.gallery-grid figure:nth-child(6) {
  grid-column: span 4;
  grid-row: span 3;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 14px 16px;
  color: #596456;
  border-left: 3px solid var(--brass);
  background: rgba(255, 255, 255, 0.56);
  line-height: 1.6;
}

.site-footer {
  padding: 54px 20px 28px;
  color: rgba(255, 255, 255, 0.76);
  background: #17261c;
}

.site-footer__inner {
  display: grid;
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
}

.site-footer h3 {
  margin: 0 0 10px;
  color: var(--cream-soft);
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.8;
}

.site-footer a:hover {
  color: var(--brass-soft);
}

.site-footer__bottom {
  width: min(var(--content-width), 100%);
  margin: 28px auto 0;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header__inner {
    align-items: center;
  }

  .site-nav-toggle {
    display: inline-flex;
    min-width: 46px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    color: var(--cream-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
    background: rgba(24, 40, 29, 0.98);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 48px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .inner-hero {
    min-height: 56vh;
  }

  .inner-hero__content {
    width: min(100% - 28px, var(--content-width));
    padding: 96px 0 72px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-grid figure:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .form-panel {
    padding: 22px;
  }

  .form-panel h2 {
    font-size: 2.9rem;
  }
}

/* ===== SHARED-PAGES.CSS END ===== */
