:root {
  --bg: #25271e;
  --paper: #eadbc4;
  --paper-soft: #d8c6aa;
  --ink: #17150f;
  --muted: rgba(234, 219, 196, 0.72);
  --line: rgba(234, 219, 196, 0.32);
  --accent: #c7703c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Frame ─────────────────────────────────── */
.frame {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────── */
header.top {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--line);
  min-height: 96px;
}

header.top > a:first-child {
  margin-right: auto;
  padding: 0 24px 0 0;
  display: flex;
  align-items: center;
}

.site-logo {
  width: min(250px, 100%);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

header.top > a:not(:first-child),
header.top > span {
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 0 18px;
  font-size: 0.88rem;
  color: var(--paper-soft);
  white-space: nowrap;
  transition: background 140ms;
}

header.top > span {
  font-weight: 700;
  color: var(--paper);
}

header.top > a:not(:first-child):hover,
header.top > a:not(:first-child):focus-visible {
  background: rgba(234, 219, 196, 0.08);
  outline: none;
}

.phone-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  color: var(--paper) !important;
}

.phone-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ── Main sections ─────────────────────────── */
main {
  padding-bottom: 80px;
}

section.frame {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero {
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.block {
  padding: clamp(30px, 5vw, 62px);
  min-width: 0;
}

.block + .block {
  border-left: 1px solid var(--line);
}

/* ── Typography ────────────────────────────── */
.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-soft);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.07;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.55rem, 3.2vw, 2.9rem);
  line-height: 1.1;
}

p {
  margin: 0;
}

.text {
  color: var(--muted);
  font-size: clamp(0.97rem, 1.4vw, 1.1rem);
  line-height: 1.74;
}

/* ── Form ──────────────────────────────────── */
.guest-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.guest-form label {
  display: grid;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-soft);
}

.guest-form input,
.guest-form textarea {
  width: 100%;
  background: rgba(8, 8, 6, 0.28);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 160ms;
}

.guest-form textarea {
  min-height: 122px;
  resize: vertical;
}

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

.form-note {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.52;
  margin-top: 2px;
}

.form-status {
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  border-left: 3px solid;
  line-height: 1.4;
}

.form-status[data-tone="error"] {
  background: rgba(180, 40, 40, 0.14);
  border-color: #b42828;
  color: #f4a0a0;
}

.form-status[data-tone="success"] {
  background: rgba(40, 130, 60, 0.14);
  border-color: #28823c;
  color: #9de8b0;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--paper);
  color: var(--paper);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
  transition: background 160ms, color 160ms;
}

.button:hover,
.button:focus-visible {
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

/* ── Entry list ────────────────────────────── */
.entry-list {
  display: grid;
  gap: 0;
}

.entry {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.62;
}

.entry:last-child {
  border-bottom: 0;
}

.entry b {
  display: block;
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.18rem;
  color: var(--paper);
}

.entry .date {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: rgba(234, 219, 196, 0.46);
}

/* ── Footer ────────────────────────────────── */
footer.frame {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0;
}

.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  transition: background 140ms;
}

.social-links a:hover {
  background: rgba(234, 219, 196, 0.1);
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── Accessibility ─────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 740px) {
  section.frame {
    grid-template-columns: 1fr;
  }

  .block + .block {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  header.top {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px 0 10px;
    gap: 0;
  }

  header.top > a:first-child {
    width: 100%;
    padding: 0 0 8px;
  }

  header.top > a:not(:first-child),
  header.top > span {
    min-height: 44px;
    font-size: 0.83rem;
    padding: 0 12px;
  }

  .phone-link {
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding-top: 10px !important;
    min-height: 44px !important;
  }
}

@media (max-width: 480px) {
  .frame {
    width: calc(100% - 18px);
  }
}
