/* Change colours and fonts here, in one place. */
:root {
  --peach: #f6e0d2;       /* estimated from screenshots; the site's theme colour is #fae0cd */
  --dark: #161616;        /* estimated */
  --text: #1a1a1a;        /* estimated */
  --link-brown: #8a6f63;  /* estimated */
  --font-sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Old Standard TT", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--peach);
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.9;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ---------- Header and navigation ---------- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem 3%;
  background: var(--dark);
}

.site-header.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: transparent;
}

.brand img {
  display: block;
  width: min(440px, 70vw);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.site-header nav a {
  color: #ffffff;
  text-decoration: none;
}

.site-header nav a:hover { text-decoration: underline; }

/* Short dash before the current page, as on your live site */
.site-header nav a.active::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 2px;
  margin-right: 0.5em;
  vertical-align: middle;
  background: currentColor;
}

/* ---------- Homepage: top banner ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 0 3% 2rem;
  background:
    linear-gradient(rgba(45, 20, 45, 0.45), rgba(45, 20, 45, 0.45)),
    url("hero.webp") center / cover no-repeat;
  background-attachment: fixed;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.1rem, 3.4vw, 3.1rem);
  letter-spacing: 0.1em;
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------- Homepage: text beside picture ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 40rem;
}

.about-text { padding: 5rem 8% 4rem 9%; }

.about-text h2 {
  margin: 3.5rem 0 0.75rem;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

.about-text h2:first-child { margin-top: 0; }
.about-text p { margin: 0 0 1rem; }
.about-text ul { margin: 0; padding-left: 2.5rem; line-height: 1.6; }
.about-text li { margin-bottom: 0.5rem; }

.about-image {
  min-height: 20rem;
  background: url("about.jpg") center / cover no-repeat;
}

/* ---------- Homepage: Get in touch ---------- */
.contact {
  padding: 6rem 1.5rem 8rem;
  text-align: center;
  background:
    linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
    url("contact-bg.avif") center / cover no-repeat;
}

.contact h2 {
  margin: 0 0 3rem;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.contact-card {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: #ffffff;
}

.contact-card h3 {
  margin: 0 0 1rem;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.14em;
}

.contact-card .email { margin: 0; }
.contact-card .email a { color: var(--link-brown); text-decoration: none; }

/* The "Contact form" pill button opens the form */
.form-toggle { margin-top: 3rem; }

.form-toggle summary {
  display: inline-block;
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  border: 3px solid var(--text);
  border-radius: 999px;
}

.form-toggle summary::-webkit-details-marker { display: none; }

.form-toggle summary:hover,
.form-toggle summary:focus-visible {
  background: var(--text);
  color: #ffffff;
}

.form-toggle[open] summary { margin-bottom: 1.5rem; }

.contact-form { text-align: left; }

.contact-form label {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  margin-top: 0.35rem;
  font: inherit;
  line-height: 1.4;
  background: #ffffff;
  border: 1px solid #8a8a8a;
  border-radius: 4px;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  background: var(--text);
  border: 3px solid var(--text);
  border-radius: 999px;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 3.5rem 3% 3rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.site-footer .copyright { margin: 0; }

.linkedin {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
}

.footer-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* ---------- Inner pages (Testimonials, T&Cs, Privacy Policy) ---------- */
.page-title {
  margin: 0;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.page-content {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
}

.page-content h2 {
  margin: 3.5rem 0 1rem;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.page-content h2:first-child { margin-top: 0; }
.page-content p { margin: 0 0 1.6rem; }

/* Bold subheadings on the T&Cs and Privacy Policy pages */
.page-content.legal h2 {
  margin: 2rem 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: normal;
}

.page-content.legal p { margin-bottom: 0.75rem; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 800px) {
  .hero { min-height: 70vh; padding-bottom: 3rem; background-position: 70% center; }
  .hero h1 { margin-left: 0; }
  .about { grid-template-columns: 1fr; }
  .about-text { padding: 3rem 1.5rem; }
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}