:root {
  --page: #f4ecd8;
  --paper: #f4ecd8;
  --ink: #2c241c;
  --muted: #64584a;
  --line: #bca98e;
  --accent: #6c4a2d;
  --accent-dark: #553922;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

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

a {
  color: inherit;
}

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

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  background: var(--paper);
}

.site-header .wrap {
  padding: 1rem 0;
}

.brand {
  display: block;
  margin: 0 auto 1rem;
  max-width: 520px;
}

.brand-small {
  max-width: 300px;
  margin-bottom: 0.75rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.page-home,
.page-standard {
  padding: 2rem 0 3rem;
}

.intro,
.form-section,
.page-heading,
.content-block {
  background: var(--paper);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child,
.content-block:last-child {
  margin-bottom: 0;
}

.request-form {
  margin-top: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.muted {
  color: var(--muted);
  font-weight: 400;
}

input,
select,
textarea,
button {
  width: 100%;
  font: inherit;
}

input,
select,
textarea {
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--line);
  background: #fffdf7;
  color: var(--ink);
}

textarea {
  resize: vertical;
  min-height: 12rem;
}

.field-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.field-check input {
  width: auto;
  margin-top: 0.3rem;
}

.field-check label {
  margin: 0;
  font-weight: 400;
}

button {
  display: inline-block;
  width: auto;
  min-width: 12rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--accent-dark);
  background: var(--accent);
  color: #fff9f0;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  background: var(--accent-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1rem;
}

.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin-bottom: 1rem;
  border: 1px dashed var(--line);
  background: #f1e6d2;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.text-link {
  color: var(--accent-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  padding: 1rem 0 2rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 720px) {
  .field-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .intro,
  .form-section,
  .page-heading,
  .content-block {
    padding: 1.15rem;
  }
}
