/* =========================================================
   Paperbark Quality Collective — site styles
   Brand colours come from the logo. Change them here and
   the whole site updates.
   ========================================================= */

:root {
  --teal: #0e645e;        /* primary brand colour */
  --teal-dark: #09403c;   /* hover state */
  --sage: #56b0a1;        /* icons and ticks */
  --lime: #a6ba38;        /* logo accent */
  --sand: #ddcc9f;        /* logo accent */
  --text: #393939;        /* body text */
  --muted: #6b6b6b;
  --line: #d8d8d8;
  --grey-bg: #f2f2f2;
  --tint: rgba(86, 176, 161, 0.09);

  --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --content: 760px;   /* comfortable reading width */
  --wide: 1100px;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1rem; }

a { color: var(--teal); text-underline-offset: 0.15em; }
a:hover { color: var(--teal-dark); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 6px 6px;
  z-index: 100;
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
.narrow    { width: min(100% - 2.5rem, var(--content)); margin-inline: auto; }

.accent { color: var(--teal); }

/* ---------- Header ---------- */

.site-header { background: #fff; }

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.25rem;
}

.logo { display: inline-block; line-height: 0; }
.logo img { width: 250px; max-width: 70vw; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.site-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--lime); }

@media (max-width: 600px) {
  .site-header .container { justify-content: center; text-align: center; }
  .site-nav ul { justify-content: center; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  border: 2px solid var(--teal);
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }

.btn--outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--teal); }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 3rem 3rem;
  border-radius: 20px;
  padding: 4.5rem 1.5rem 4rem;
  text-align: center;
}

/* Background image is scaled up slightly so its edges (and the
   small watermark in the bottom-right corner) are cropped off. */
.hero::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: url("../images/waves-header.png") center / cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.53));
  z-index: -1;
}

.hero__inner { width: min(100%, 720px); margin-inline: auto; }
.hero h1 { color: var(--teal); }
.hero p { font-size: 1.125rem; line-height: 1.75; margin-bottom: 1.75rem; }

@media (max-width: 700px) {
  .hero { margin: 0; border-radius: 0; padding: 3rem 1.25rem; }
  .hero::before { display: none; }
  .hero::after { background: var(--teal); }
  .hero h1, .hero p { color: #fff; }
  .hero .btn { background: #fff; border-color: #fff; color: var(--text); }
}

/* ---------- Page header (About, Services, Contact) ---------- */

.page-header {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 2.25rem 0 2.5rem;
}
.page-header h1 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.125rem); margin: 0; }
.page-header p { max-width: 560px; margin: 0.75rem auto 0; font-size: 1.0625rem; }

/* ---------- Content sections ---------- */

.section { padding-block: 3rem; }
.section--tight-top { padding-top: 1rem; }

.divider {
  border: 0;
  border-top: 1px solid #a2a2a2;
  width: min(400px, 60%);
  margin: 0 auto;
}
.divider--light { border-top-color: #d3d3d3; }

.centered { text-align: center; }

.split {
  display: grid;
  gap: 2rem 3rem;
  align-items: start;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--bio { grid-template-columns: 2fr 1fr; align-items: center; }
}

/* Feature lists with icons (Home) */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.feature { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.25rem 1rem; }
.feature__icon {
  grid-row: span 2;
  width: 2.5rem; height: 2.5rem;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--tint);
  fill: none;
  stroke: var(--sage);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { font-size: 1rem; font-weight: 700; margin: 0.35rem 0 0; }
.feature p { margin: 0; }

/* Headshot */
.headshot {
  display: block;
  border-radius: 4px;
  box-shadow: -20px 20px 0 var(--teal);
  margin: 0 0 20px 20px;
}
@media (max-width: 600px) {
  .headshot { box-shadow: -10px 10px 0 var(--teal); margin: 0 0 10px 10px; }
}

.callout { font-weight: 700; }

/* ---------- Call to action band ---------- */

.cta {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 3rem 1.25rem;
}
.cta h2 { color: #fff; font-size: 1.375rem; }
.cta p { margin-bottom: 1.5rem; }

/* ---------- Services ---------- */

.cards {
  display: grid;
  gap: 1.25rem;
  width: min(100% - 2.5rem, 960px);
  padding: 0;
  margin: 0 auto;
  list-style: none;
}
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: #fff;
}
.card img { width: 50px; height: 50px; margin-bottom: 0.75rem; }
.card h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: 0.04em; }
.card p { margin: 0; }

.offers { background: #e5e5e5; padding-block: 3rem; }

.offer {
  background: #fff;
  border-radius: 15px;
  padding: 2.25rem clamp(1.25rem, 5vw, 3rem);
  width: min(100% - 2.5rem, 800px);
  margin: 0 auto 2.5rem;
}
.offer:last-child { margin-bottom: 0; }
.offer > h2 {
  padding-bottom: 1rem;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 1.25rem;
}

.intro-box {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}
.intro-box p:last-child { margin: 0; }

.checklist { list-style: none; margin: 0 0 1rem; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.6rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2rem;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat;
}

@media (max-width: 600px) {
  .offers { background: #fff; padding-block: 1rem; }
  .offer { padding-inline: 0; }
}

/* ---------- Contact ---------- */

.contact-section { background: #f7f7f7; padding-block: 2.5rem 3.5rem; }

.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 2fr; align-items: start; } }

.info-cards { display: grid; gap: 1.25rem; }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.info-card img { width: 50px; height: 50px; }
.info-card h2 { font-size: 1.125rem; margin: 0.5rem 0 0.4rem; }
.info-card p { margin: 0; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
}
.form-card h2 { margin-bottom: 1.25rem; }

.field { margin-bottom: 1.25rem; }
.field label,
.field legend {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.field .req { color: var(--teal); }

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid #b5b5b5;
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal); }

fieldset.field { border: 0; padding: 0; margin-inline: 0; }
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  font-weight: 400 !important;
}
.checkbox input { width: 1.15rem; height: 1.15rem; accent-color: var(--teal); }

.form-note { font-size: 0.875rem; color: var(--muted); }

/* Spam trap — hidden from people, bots fill it in */
.hp { display: none; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid #eee;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text);
}
.site-footer .container {
  display: grid;
  gap: 1rem 6rem;
  padding-block: 1.25rem;
}
@media (min-width: 800px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; align-items: center; }
  .site-footer .acknowledgement { text-align: right; }
}
@media (max-width: 799px) {
  .site-footer { text-align: center; }
}
.site-footer p { margin: 0; }
