:root {
  --ink: #1f2523;
  --muted: #66736d;
  --paper: #f8f5ef;
  --white: #fffdf8;
  --sage: #6c7d6d;
  --clay: #a86245;
  --navy: #233348;
  --gold: #c59b58;
  --line: rgba(31, 37, 35, 0.14);
  --shadow: 0 20px 50px rgba(35, 51, 72, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 170px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow,
nav a,
.button,
button {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.72rem;
}

nav a {
  text-decoration: none;
}

main {
  overflow: hidden;
}

section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  min-height: calc(100vh - 80px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.84), rgba(248, 245, 239, 0.4)),
    radial-gradient(circle at 90% 20%, rgba(197, 155, 88, 0.24), transparent 32%);
}

.hero-media {
  min-height: min(68vh, 620px);
  border-radius: 0 42px 0 0;
  background:
    linear-gradient(145deg, rgba(35, 51, 72, 0.1), rgba(168, 98, 69, 0.18)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='1100' viewBox='0 0 900 1100'%3E%3Crect width='900' height='1100' fill='%23d6d0c3'/%3E%3Cpath d='M0 750 240 540l170 130 185-235 305 315v350H0Z' fill='%236c7d6d' fill-opacity='.42'/%3E%3Cpath d='M150 465h500v350H150z' fill='%23fffdf8' fill-opacity='.72'/%3E%3Cpath d='M105 485 400 250l300 235Z' fill='%23233348' fill-opacity='.82'/%3E%3Cpath d='M260 605h115v210H260zM450 600h115v120H450z' fill='%23a86245' fill-opacity='.52'/%3E%3C/svg%3E");
  background-size: cover;
  box-shadow: var(--shadow);
}

.photo-placeholder,
.listing-image {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: end start;
  padding: 22px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  line-height: 0.95;
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  font-weight: 500;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.hero-copy p:not(.eyebrow),
.intro > p,
article p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
button,
.split-section a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
}

.button.primary,
button {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  background: transparent;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  background: var(--white);
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.split-section article {
  min-height: 520px;
  padding: clamp(36px, 6vw, 72px);
  background: var(--paper);
}

.split-section article:nth-child(2) {
  background: #eef1ed;
}

.split-section a {
  margin-top: 16px;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--navy);
}

.proof div {
  padding: clamp(26px, 4vw, 48px);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.proof strong,
.proof span {
  display: block;
}

.proof span {
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.72);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.listings {
  background: var(--white);
}

.listing-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.listing-grid article,
blockquote,
form {
  border: 1px solid var(--line);
  background: var(--white);
}

.listing-grid article {
  padding: 18px;
}

.listing-image {
  min-height: 320px;
  margin-bottom: 18px;
  background:
    linear-gradient(rgba(35, 51, 72, 0.08), rgba(35, 51, 72, 0.18)),
    linear-gradient(135deg, #c8d1c5, #e4dccd 52%, #9eb0b7);
  background-position: center;
  background-size: cover;
}

.listing-grid span {
  display: inline-block;
  margin-right: 14px;
  color: var(--muted);
}

.reviews {
  background: #eef1ed;
}

blockquote {
  margin: 0;
  padding: clamp(26px, 4vw, 44px);
  color: var(--ink);
  font-size: 1.18rem;
}

cite {
  display: block;
  margin-top: 20px;
  color: var(--clay);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
}

form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 44px);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: 1rem Arial, Helvetica, sans-serif;
}

textarea {
  resize: vertical;
}

button {
  width: fit-content;
  cursor: pointer;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 253, 248, 0.76);
  background: var(--ink);
}

footer p {
  margin: 0;
}

.admin-body {
  min-height: 100vh;
  background: #eef1ed;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.admin-header form,
.admin-actions form {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) 18px;
}

.admin-panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--white);
}

.admin-panel.narrow {
  max-width: 520px;
  margin: 8vh auto 0;
}

.admin-panel h1 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.admin-panel h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.admin-title-row,
.admin-listing,
.admin-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-title-row {
  justify-content: space-between;
  margin-bottom: 28px;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-listing {
  align-items: stretch;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.admin-listing img,
.admin-thumb {
  width: 150px;
  min-width: 150px;
  min-height: 112px;
  object-fit: cover;
  background: #d6d0c3;
}

.admin-thumb {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-listing > div:nth-child(2) {
  flex: 1;
}

.admin-listing p {
  margin: 0 0 6px;
  color: var(--muted);
}

.admin-actions {
  align-self: center;
}

.listing-form {
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid:has(label:nth-child(3)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-label input {
  width: auto;
}

.current-photo {
  width: min(100%, 420px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.flash-list {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-left: 4px solid var(--gold);
  background: var(--white);
}

.flash-list p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .intro,
  .contact,
  .split-section,
  .proof,
  .listing-grid,
  .review-grid,
  .form-grid,
  .form-grid:has(label:nth-child(3)) {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 420px;
    order: 2;
  }

  .split-section article {
    min-height: 0;
  }

  .admin-title-row,
  .admin-listing,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-listing img,
  .admin-thumb {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  nav {
    gap: 12px;
  }

  h1 {
    font-size: 3rem;
  }

  section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  button,
  .split-section a {
    width: 100%;
  }
}
