:root {
  --green: #77816d;
  --cream: #f6f3e4;
  --warm-black: #2a2407;
}

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

html { background: var(--green); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--green);
  color: var(--cream);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 850px; /* 802 content + 24px gutters */
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero (green) ---------- */
.p-hero { padding: 48px 0 64px; text-align: center; }

.p-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 48px;
}
.p-brand img { display: block; width: 100%; height: auto; }

.p-title {
  margin: 0 0 24px;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 11vw, 64px);
  line-height: 1;
  text-transform: uppercase;
}

.p-lede {
  margin: 0 auto;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.4;
}

.p-top-cta { margin-top: 40px; }
.p-top-cta .p-cta { margin-top: 24px; }

/* ---------- Content (cream) ---------- */
.p-body {
  background: var(--cream);
  color: var(--warm-black);
  padding: 48px 0 80px;
}
.p-body a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.p-body a:hover { text-decoration-thickness: 2px; }

.p-figure { margin: 0; }
.p-figure figcaption { margin-top: 8px; font-size: 14px; line-height: 1.4; opacity: 0.8; }

.p-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 32% 50%;
}

.p-block { margin-top: 56px; }

.p-label {
  margin: 0 0 16px;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.p-text { margin: 0; font-size: 16px; line-height: 1.4; }

/* As seen on: single-colour logos */
.p-seen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-seen img {
  display: block;
  width: auto;
  height: calc(var(--h) * 1px * var(--s, 1));
}

/* Diljan: photo + copy side by side */
.p-dilj {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 40px;
  align-items: start;
}
.p-dilj-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.p-dilj-copy .p-text + .p-text { margin-top: 16px; }

/* ---------- Email button (mailto) ---------- */
.p-contact .p-text { max-width: 560px; }

.p-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  margin-top: 32px;
  padding: 0 32px;
  background: var(--warm-black);
  border: 1px solid var(--warm-black);
  color: var(--cream) !important;
  font-size: 16px;
  text-decoration: none !important;
}
.p-cta:hover { background: transparent; color: var(--warm-black) !important; }
.p-cta:focus-visible { outline: 2px solid var(--warm-black); outline-offset: 3px; }

/* Light variant for the green hero */
.p-cta--light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--warm-black) !important;
}
.p-cta--light:hover { background: transparent; color: var(--cream) !important; }
.p-cta--light:focus-visible { outline-color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 24px 24px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.site-footer p { margin: 0; opacity: 0.8; }

@media (max-width: 600px) {
  .p-hero { padding: 40px 0 48px; }
  .p-brand { margin-bottom: 40px; }
  .p-top-cta { margin-top: 32px; }
  .p-cta { display: flex; padding: 0 16px; }
  /* keep Bryan in frame: square crop, anchored left of centre */
  .p-photo { aspect-ratio: 1 / 1; object-position: 18% 50%; }
  .p-block { margin-top: 40px; }
  .p-seen { --s: .85; gap: 20px 28px; }
  .p-dilj { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  .p-cta { transition: background-color .15s, color .15s; }
}
