:root {
  --cream: #fbf2df;
  --paper: #fffaf0;
  --ink: #292824;
  --coral: #d66143;
  --mustard: #e4a72e;
  --sage: #8fa283;
  --teal: #2d7f82;
  --line: #cdbda5;
  --muted: #62594d;
  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --display: "Avenir Next", "Gill Sans", "Century Gothic", sans-serif;
  --body: "Avenir Next", "Gill Sans", Calibri, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .7rem 1rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--teal);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 6rem;
  padding: .75rem var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid rgba(41, 40, 36, .15);
}

.brand { width: clamp(13rem, 24vw, 18rem); flex: 0 1 auto; }
.brand img { width: 100%; height: auto; mix-blend-mode: multiply; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); }
.site-nav a { font-size: .82rem; font-weight: 750; text-decoration: none; }
.site-nav a:not(.nav-action) { border-bottom: 2px solid transparent; }
.site-nav a:not(.nav-action):hover { border-color: currentColor; }

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .78rem 1.15rem;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.button { background: var(--coral); }
.button:hover { background: #b94b31; }
.nav-action:hover { background: var(--teal); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(48rem, calc(100svh - 6rem));
  overflow: hidden;
  background: var(--mustard);
}

.hero-media,
.hero-media picture,
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(49%, 39rem);
  min-height: inherit;
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(5rem, 8vw, 8.5rem) clamp(3.5rem, 6vw, 5.5rem) var(--gutter);
  background: rgba(251, 242, 223, .97);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.hero h1 {
  max-width: 7ch;
  margin: 0 0 1.6rem;
  font-family: var(--display);
  font-size: clamp(4.1rem, 8vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .83;
}

.hero-copy > p:not(.hero-summary) {
  max-width: 29rem;
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 520;
  line-height: 1.65;
}

.hero-copy .button { align-self: flex-start; margin-top: 1.7rem; }
.hero-summary { margin: 1.3rem 0 0; color: #675947; font-size: .82rem; font-weight: 750; line-height: 1.55; }

.facts { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--mustard); }
.facts div { min-width: 0; padding: 1.5rem clamp(.8rem, 2vw, 1.5rem); border-right: 1px solid rgba(41, 40, 36, .25); }
.facts div:last-child { border-right: 0; }
.facts strong { display: block; font-size: clamp(1.02rem, 1.8vw, 1.35rem); letter-spacing: -.035em; line-height: 1.15; }
.facts span { display: block; margin-top: .35rem; font-size: .7rem; font-weight: 700; line-height: 1.25; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter); }
.section > * { max-width: var(--max); margin-right: auto; margin-left: auto; }

.section-label { margin: 0 0 1rem; color: var(--coral); font-size: .8rem; font-weight: 800; }

h1, h2, h3 { text-wrap: balance; }
h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .92;
}

.intro { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 8vw, 7rem); align-items: end; background: var(--paper); }
.intro > * { margin: 0; }
.intro-copy { max-width: 37rem; }
.intro-copy p { margin: 0 0 1rem; color: #554d43; font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.72; }

.rhythm-line { overflow: hidden; padding: 1.1rem 0 1.3rem; background: var(--coral); color: #fff8ec; white-space: nowrap; }
.rhythm-line span { display: inline-block; padding-left: var(--gutter); font-family: var(--display); font-size: clamp(1.7rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; }

.skills { max-width: none; background: var(--ink); color: #fff8e9; }
.skills > * { max-width: var(--max); margin-right: auto; margin-left: auto; }
.skills-heading { display: flex; align-items: end; justify-content: space-between; gap: clamp(2rem, 8vw, 7rem); margin-bottom: 3rem; }
.skills-heading h2 { max-width: 10ch; }
.skills-heading p { max-width: 31rem; margin: 0; color: #cec7bb; }
.skills-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #69675f; }
.skills-list li { display: grid; grid-template-columns: 4.2rem minmax(12rem, .75fr) 1.25fr; gap: 1.75rem; align-items: baseline; padding: 1.55rem 0; border-top: 1px solid #69675f; }
.skills-list li > span { color: var(--mustard); font-size: .9rem; font-weight: 850; }
.skills-list li:nth-child(2) > span { color: #ef8668; }
.skills-list li:nth-child(3) > span { color: #9ab596; }
.skills-list li:nth-child(4) > span { color: #66abad; }
.skills-list strong { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.025em; }
.skills-list p { margin: 0; color: #d4cec2; }

.jemma { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 44rem; background: var(--sage); }
.jemma-copy { display: flex; flex-direction: column; justify-content: center; }
.jemma-copy > * { width: 100%; max-width: 38rem; margin-right: 0; margin-left: auto; }
.jemma-copy h2 { margin-bottom: 1.7rem; }
.jemma-copy p:not(.section-label) { margin-top: 0; margin-bottom: 1rem; font-size: 1.02rem; line-height: 1.72; }
.text-link { align-self: flex-start; margin-top: .7rem; border-bottom: 2px solid currentColor; font-weight: 800; text-decoration: none; }
.jemma-photo { position: relative; overflow: hidden; margin: 2.5rem 2.5rem 2.5rem 0; background: var(--coral); }
.jemma-photo::after { position: absolute; right: 0; bottom: 0; width: 24%; height: 20%; background: var(--mustard); content: ""; mix-blend-mode: multiply; }
.jemma-photo picture,
.jemma-photo img { width: 100%; height: 100%; }
.jemma-photo img { object-fit: cover; object-position: center 28%; }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 9vw, 8rem); background: var(--paper); }
.faq > * { margin: 0; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.35rem 3rem 1.35rem 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 1rem; right: .2rem; color: var(--coral); font-size: 1.7rem; font-weight: 500; content: "+"; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { max-width: 46rem; margin: -.35rem 3rem 1.5rem 0; color: var(--muted); }

.request { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 7rem); max-width: none; background: var(--teal); color: #fff9ec; }
.request > * { margin: 0; }
.request .section-label { color: #ffe0a0; }
.request-intro { max-width: 34rem; margin-left: auto; }
.request-intro h2 { margin-bottom: 1.5rem; }
.request-intro p { color: #e0efeb; }
.request a { font-weight: 750; }

.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; max-width: 46rem; margin-right: auto; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 800; }
.field label span { font-weight: 500; opacity: .85; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: .65rem .1rem;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, .78);
  border-radius: 0;
  background: transparent;
  color: #fff;
  outline: 0;
}
.field textarea { resize: vertical; }
.field select { color-scheme: dark; }
.field-error { margin: .15rem 0 0; color: #ffe0a0; font-size: .78rem; font-weight: 750; }
.enquiry-form > .field-error { grid-column: 1 / -1; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--mustard); }
.check { display: flex; gap: .75rem; align-items: flex-start; color: #eff8f4; font-size: .82rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--mustard); }
.field-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit { grid-column: 1 / -1; justify-self: start; margin-top: .4rem; background: var(--mustard); color: var(--ink); }
.submit:hover { background: #f2ba47; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 1.25rem 3rem; padding: 2.6rem var(--gutter); background: #1f201c; color: #d9d2c7; font-size: .8rem; }
.site-footer div:first-child { display: flex; flex-direction: column; }
.site-footer strong { color: #fff; font-size: 1rem; }
.footer-links { display: flex; gap: 1.5rem; }
.safeguarding { max-width: 47rem; margin: 0; }
.site-footer > p:last-child { margin: 0; text-align: right; }

.legal-header { padding: 1.3rem var(--gutter); border-bottom: 1px solid var(--line); }
.legal-header img { width: min(18rem, 70vw); mix-blend-mode: multiply; }
.legal-main { max-width: 52rem; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
.legal-main h1,
.confirmation-main h1 { margin: 0 0 2rem; font-family: var(--display); font-size: clamp(3.2rem, 8vw, 6rem); letter-spacing: -.065em; line-height: .9; }
.legal-main h2 { margin-top: 2.7rem; font-size: 1.35rem; letter-spacing: -.025em; }
.legal-main p { color: #554d43; }
.legal-intro { font-size: 1.25rem; }
.legal-page .site-footer { grid-template-columns: 1fr auto; }

.confirmation-page { display: grid; min-height: 100svh; place-items: center; background: var(--sage); }
.confirmation-main { max-width: 56rem; padding: 3rem var(--gutter); text-align: left; }
.confirmation-main > img { width: min(24rem, 80vw); margin-bottom: 4rem; mix-blend-mode: multiply; }
.confirmation-main p:not(.section-label) { max-width: 36rem; font-size: 1.2rem; }
.confirmation-main .button { margin-top: 1rem; }

@media (max-width: 960px) {
  .site-header { min-height: 5.2rem; }
  .menu-toggle { display: inline-flex; flex-direction: column; gap: .4rem; justify-content: center; width: 2.9rem; height: 2.9rem; padding: .65rem; border: 0; background: transparent; }
  .menu-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 1.5rem; background: var(--cream); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 3rem; padding: .8rem 0; }
  .site-nav .nav-action { margin-top: .5rem; padding: .85rem 1rem; text-align: center; }
  .hero-copy { width: 58%; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div { border-bottom: 1px solid rgba(41, 40, 36, .25); }
  .facts div:nth-child(3n) { border-right: 0; }
}

@media (max-width: 760px) {
  .brand { width: 13rem; }
  .hero { display: flex; flex-direction: column; min-height: 0; background: var(--cream); }
  .hero-media { position: relative; aspect-ratio: 1 / .9; order: 1; }
  .hero-media picture,
  .hero-media img { position: absolute; }
  .hero-media img { object-position: 57% center; }
  .hero-copy { order: 2; width: 100%; min-height: 30rem; padding: 3.3rem var(--gutter); clip-path: none; }
  .hero h1 { max-width: 7.3ch; font-size: clamp(4rem, 19vw, 6rem); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3n) { border-right: 1px solid rgba(41, 40, 36, .25); }
  .facts div:nth-child(2n) { border-right: 0; }
  .intro,
  .faq,
  .request,
  .jemma { grid-template-columns: 1fr; }
  .intro { gap: 2.5rem; }
  .skills-heading { align-items: flex-start; flex-direction: column; }
  .skills-list li { grid-template-columns: 2.7rem 1fr; gap: .7rem 1rem; }
  .skills-list li p { grid-column: 2; }
  .jemma-copy { padding-bottom: 2rem; }
  .jemma-copy > * { margin-left: 0; }
  .jemma-photo { min-height: 38rem; margin: 1rem var(--gutter) 3rem; }
  .faq { gap: 3rem; }
  .request-intro { margin-left: 0; }
  .enquiry-form { grid-template-columns: 1fr; margin-right: 0; }
  .field-wide,
  .submit { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .site-footer > p:last-child { text-align: left; }
}

@media (max-width: 420px) {
  .site-header { gap: .5rem; }
  .brand { width: 11.7rem; }
  .hero-media { aspect-ratio: 1 / 1.04; }
  .hero-copy { min-height: 28rem; }
  .facts strong { font-size: 1rem; }
  .jemma-photo { min-height: 31rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
