:root {
  --bg: #f7f4ef;
  --bg-card: #fffefb;
  --ink: #1c1917;
  --muted: #57534e;
  --accent: #1b4332;
  --accent-soft: #2d6a4f;
  --border: #e7e5e4;
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image: radial-gradient(
      ellipse 120% 80% at 10% -20%,
      rgba(45, 106, 79, 0.12),
      transparent 50%
    ),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(27, 67, 50, 0.08), transparent 45%);
}

h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: var(--accent-soft);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(56rem, 92vw);
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}

.site-nav .nav-brand {
  font-size: 1.15rem;
  color: var(--accent);
  text-decoration: none;
}

.site-nav .nav-brand:hover {
  color: var(--accent-soft);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

header.hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr 280px;
  }
}

.hero h1,
.site-nav .nav-brand {
  font-family: "Bricolage Grotesque", "Source Sans 3", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.location {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: min(52ch, 100%);
}

.photo-frame {
  margin: 0;
  justify-self: center;
}

.photo-frame img {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.98rem;
}

.contact-inline a {
  font-weight: 600;
}

section {
  padding: 2.5rem 0;
}

section + section {
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 1.45rem;
  margin: 0 0 1rem;
  color: var(--accent);
}

ul.services {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

ul.services li {
  padding-left: 1.5rem;
  position: relative;
}

ul.services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent-soft);
  border-radius: 50%;
}

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.card-full {
  margin-top: 1.25rem;
}

.references-note {
  margin-top: 1.25rem;
  font-size: 0.98rem;
}

.resume-list {
  margin: 0;
  padding-left: 1.15rem;
}

.resume-list li {
  margin-bottom: 0.5rem;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1rem;
}

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

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

label span {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

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

button[type="submit"] {
  justify-self: start;
  padding: 0.7rem 1.4rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--accent-soft);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.95rem;
}

.form-status.error {
  color: #b91c1c;
}

.form-status.ok {
  color: var(--accent-soft);
}

.turnstile-wrap {
  margin: 0.25rem 0 0.5rem;
}

footer {
  padding: 2rem 0 3rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

footer a {
  font-weight: 600;
}

/* Film page — distinct cinematic palette */
body.film-page {
  --bg: #0c0f14;
  --bg-card: #141a24;
  --ink: #eef1f5;
  --muted: #94a3b8;
  --accent: #e8c547;
  --accent-soft: #f5d56a;
  --border: #273041;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  background-image: radial-gradient(
      ellipse 100% 80% at 85% -25%,
      rgba(232, 197, 71, 0.12),
      transparent 52%
    ),
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(59, 91, 140, 0.18), transparent 48%);
}

body.film-page .photo-frame img {
  border-color: var(--bg-card);
  box-shadow: var(--shadow);
}

body.film-page button[type="submit"] {
  background: linear-gradient(165deg, #d4a017, #b8890e);
  color: #12151a;
}

body.film-page button[type="submit"]:hover {
  filter: brightness(1.08);
}

body.film-page input,
body.film-page textarea {
  background: #0c1018;
  border-color: var(--border);
  color: var(--ink);
}
