:root {
  color-scheme: light;
  --paper: #f6f0e6;
  --paper-deep: #eadcc6;
  --ink: #221a14;
  --ink-soft: #65564b;
  --accent: #af3f2b;
  --accent-deep: #7b2517;
  --line: rgba(34, 26, 20, 0.12);
  --card: rgba(255, 251, 245, 0.82);
  --shadow: 0 18px 48px rgba(77, 47, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(175, 63, 43, 0.14), transparent 32rem),
    linear-gradient(180deg, #fffaf3 0%, var(--paper) 46%, #f1e4d0 100%);
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero,
.section,
.not-found-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -4rem -6rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(175, 63, 43, 0.18), transparent 70%);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

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

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  max-width: 12ch;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  margin-bottom: 0.75rem;
}

.hero-copy,
.hero-intro,
.section-heading p,
.card-copy,
.contact-fallback,
.form-note,
label,
input,
textarea,
button {
  font-size: 1rem;
  line-height: 1.65;
}

.hero-copy,
.hero-intro,
.section-heading p,
.card-copy,
.contact-fallback,
.form-note {
  color: var(--ink-soft);
}

.hero-copy {
  max-width: 44rem;
  font-size: 1.2rem;
}

.hero-intro {
  max-width: 42rem;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff8f3;
  box-shadow: 0 12px 24px rgba(123, 37, 23, 0.2);
}

.button-secondary {
  border-color: rgba(123, 37, 23, 0.18);
  background: rgba(255, 255, 255, 0.52);
}

.section {
  margin-top: 1.5rem;
  padding: 2rem;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: 2rem;
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.card-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.showcase-card {
  overflow: hidden;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.92);
  min-height: 100%;
}

.media-shell {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(175, 63, 43, 0.12), rgba(123, 37, 23, 0.02)),
    linear-gradient(180deg, #fff 0%, #f3e8d6 100%);
}

.media-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 1.2rem;
  text-align: center;
}

.placeholder-title {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.placeholder-status {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.card-body {
  padding: 1rem 1rem 1.2rem;
}

.card-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.card-title {
  margin-bottom: 0.55rem;
  font-size: 1.3rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(34, 26, 20, 0.18);
  border-radius: 0.95rem;
}

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

input:focus,
textarea:focus,
.button:focus {
  outline: 2px solid rgba(175, 63, 43, 0.28);
  outline-offset: 2px;
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.not-found-shell {
  width: min(36rem, 100%);
  padding: 2rem;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
    padding-top: 0.75rem;
  }

  .hero,
  .section,
  .not-found-shell {
    border-radius: 1.1rem;
  }

  .hero,
  .section {
    padding: 1.3rem;
  }

  .section-split {
    grid-template-columns: 1fr;
  }
}
