/* --------------------------------------------------------------
   Petley Limited — house stylesheet
   Company No. 02930703
   Written for this site only. No frameworks, no remote assets.

   Colours
     olive / moss     #556b1f   brand
     deep olive       #3f5016   headings, bands, footer
     light olive      #6b8228   highlights on dark
     oxblood          #6e1f2a   accent
     pale stone       #f4f1e8   page ground inside the column
     deeper stone     #cfc8b4   rules and tints inside the column
     olive drab       #6a6c5c   the ground the sheet is laid on
   -------------------------------------------------------------- */

* { margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }

html {
  background: #6a6c5c;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #6a6c5c;
  color: #2b2c24;
  font-family: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
  font-weight: bold;
  line-height: 1.25;
  color: #3f5016;
  margin: 0 0 8px;
}
h1 { font-size: 23px; letter-spacing: 0; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
h4 { font-size: 13px; }

p, li, dd, dt, td, th, address, label { font-size: 14px; }
p { margin: 0 0 11px; color: #43453a; }
li { color: #43453a; }

a { color: #556b1f; text-decoration: underline; }
a:hover { color: #6e1f2a; }
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #6e1f2a;
  outline-offset: 1px;
}

hr { border: 0; border-top: 1px solid #ccc5b2; border-bottom: 1px solid #f4f1e8; margin: 18px 0; height: 0; }

/* ---------- the centred sheet ---------- */
.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 26px;
}
.narrow { max-width: 660px; }
/* a single measure set on the sheet with a margin either side, the way a
   typed page sits on a letterhead */
.wrap.narrow { max-width: 1020px; }
.wrap.narrow > * { max-width: 700px; margin-left: auto; margin-right: auto; }
.wrap.narrow > p.lede { max-width: 700px; margin-left: auto; margin-right: auto; }
/* a narrow band sitting among full-width ones stays flush with them */
.wrap.narrow--flush > * { max-width: 740px; margin-left: 0; margin-right: 0; }

/* every band of the page sits inside one 1020px sheet laid on the
   olive-drab ground, with a rule down each side */
.masthead > .wrap {
  background: #f4f1e8;
  border-left: 1px solid #b9b2a0;
  border-right: 1px solid #b9b2a0;
}
.opener > .wrap {
  background: #f4f1e8;
  border-left: 1px solid #b9b2a0;
  border-right: 1px solid #b9b2a0;
}
.slab > .wrap {
  background: #f4f1e8;
  border-left: 1px solid #b9b2a0;
  border-right: 1px solid #b9b2a0;
}
.band-figure {
  background: #f4f1e8;
  border-left: 1px solid #b9b2a0;
  border-right: 1px solid #b9b2a0;
}
.foot > .wrap {
  background: #f4f1e8;
  border-left: 1px solid #b9b2a0;
  border-right: 1px solid #b9b2a0;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: #3f5016; color: #fff; padding: 8px 14px; z-index: 100;
  font-size: 12px; text-decoration: none;
}
.skip:focus { left: 6px; top: 6px; }

/* ---------- masthead: centred wordmark between two hairlines ---------- */
.masthead { padding-top: 26px; }
.masthead > .wrap {
  background-image: linear-gradient(#ffffff, #f4f1e8);
  border-top: 1px solid #b9b2a0;
  border-bottom: 3px solid #556b1f;
  padding-top: 13px;
  padding-bottom: 0;
  text-align: center;
}
.wordmark {
  border-top: 1px solid #556b1f;
  border-bottom: 1px solid #556b1f;
  padding: 9px 0 8px;
  margin: 0;
}
.mast-name {
  font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: .04em;
  margin: 0;
  color: #3f5016;
}
.mast-name a { color: #3f5016; text-decoration: none; }
.mast-name a:hover { color: #556b1f; }
.mast-line {
  font-size: 10px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: #6a6c5c;
  margin: 5px 0 0;
}

.mainnav ul { list-style: none; margin: 0; padding: 9px 0 8px; text-align: center; }
.mainnav li { display: inline-block; margin: 0; padding: 0 11px; line-height: 1.2; }
.mainnav li + li { border-left: 1px solid #ccc5b2; }
.mainnav a {
  display: inline-block;
  padding: 2px 1px;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: bold;
  color: #3f5016;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.mainnav a:hover { color: #6e1f2a; border-bottom-color: #ccc5b2; }
.mainnav a[aria-current="page"] { color: #6e1f2a; border-bottom-color: #6e1f2a; }

.nav-toggle {
  display: none;
  margin: 8px auto;
  background: #e6e1d2;
  background-image: linear-gradient(#f4f1e8, #ddd7c4);
  border: 1px solid #b9b2a0;
  border-radius: 2px;
  color: #3f5016;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 6px 14px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .mainnav { display: none; }
  .mainnav.is-open { display: block; }
  .mainnav ul { padding: 0 0 6px; border-top: 1px solid #ccc5b2; }
  .mainnav li { display: block; padding: 0; border-left: 0; border-bottom: 1px solid #ccc5b2; }
  .mainnav li + li { border-left: 0; }
  .mainnav a { display: block; padding: 9px 2px; border-bottom: 0; }
  .mainnav a[aria-current="page"] { border-bottom: 0; }
}

/* ---------- page opener ---------- */
.opener > .wrap { padding-top: 16px; padding-bottom: 16px; }
.eyebrow {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: bold;
  color: #6e1f2a;
  margin: 0 0 7px;
}
.opener h1 { border-bottom: 3px double #556b1f; padding-bottom: 8px; margin-bottom: 9px; }
.opener p.lede {
  font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
  font-size: 15px;
  line-height: 1.5;
  color: #43453a;
  max-width: 690px;
  margin: 0 0 11px;
}
.opener--home > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 284px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 760px) {
  .opener--home > .wrap { display: block; }
  .plate { margin-top: 16px; }
}

/* letterhead plate beside the opening statement */
.plate {
  background: #ffffff;
  border: 1px solid #b9b2a0;
  border-top: 3px solid #556b1f;
  padding: 0 0 12px;
  text-align: center;
}
.plate svg { width: 40px; height: 40px; color: #556b1f; margin: 12px auto 0; }
.plate-name {
  font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
  font-size: 15px;
  letter-spacing: .08em;
  color: #3f5016;
  margin: 8px 0 2px;
  font-weight: bold;
}
.plate-meta {
  font-size: 10px; letter-spacing: .11em; text-transform: uppercase;
  color: #6a6c5c; margin: 0 12px 10px;
}
.plate ul { list-style: none; margin: 0; padding: 0; text-align: left; }
.plate li {
  border-top: 1px solid #e0dac8;
  padding: 6px 12px;
  font-size: 12px;
  color: #43453a;
  background: #f4f1e8;
}
.plate address {
  font-style: normal; font-size: 12px; color: #43453a; text-align: left;
  border-top: 1px solid #b9b2a0; padding: 8px 12px 0; margin: 0; line-height: 1.5;
}
.plate address strong {
  display: block; font-size: 10px; letter-spacing: .11em;
  text-transform: uppercase; color: #6a6c5c; margin-bottom: 2px;
}

/* ---------- buttons ---------- */
.actions { margin-top: 13px; }
.actions .btn { margin: 0 6px 6px 0; }
.btn {
  display: inline-block;
  padding: 6px 15px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #3f5016;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1.5;
}
.btn-solid {
  background: #556b1f;
  background-image: linear-gradient(#6b8228, #4a5f19);
  color: #fff;
}
.btn-solid:hover { background: #3f5016; background-image: linear-gradient(#5d7423, #3f5016); color: #fff; }
.btn-line {
  background: #e6e1d2;
  background-image: linear-gradient(#f4f1e8, #ddd7c4);
  color: #3f5016;
  border-color: #9d9683;
}
.btn-line:hover { background: #e6e1d2; background-image: linear-gradient(#ece7d8, #d2ccb8); color: #3f5016; }

/* ---------- bands + sections ---------- */
.band { border: 0; }
.band-figure { margin: 0 auto; max-width: 1020px; }
.band-figure img {
  width: 100%; max-height: 150px; object-fit: cover;
  border-top: 1px solid #b9b2a0; border-bottom: 1px solid #b9b2a0;
}
.band-figure figcaption {
  padding: 6px 26px 7px;
  font-size: 11px;
  color: #5a5c4e;
  background: #e6e1d2;
}

section.slab { padding: 0; }
.slab > .wrap { padding-top: 16px; padding-bottom: 18px; border-top: 1px solid #ccc5b2; }
.slab--tint > .wrap { background: #e6e1d2; border-top: 1px solid #b9b2a0; }
.slab--dark > .wrap { background: #3f5016; border-top-color: #556b1f; }
.slab--dark h2, .slab--dark h3, .slab--dark h4 { color: #fff; }
.slab--dark p, .slab--dark li, .slab--dark dd { color: #e4e8d3; }
.slab--dark .eyebrow { color: #e9c9ce; }
.slab--dark a { color: #d9e0b8; }
.slab--dark a:hover { color: #fff; }
.slab--dark .section-head { border-bottom-color: #6b8228; }
.slab--dark .section-head .num { color: #d9e0b8; border-color: #6b8228; }

.section-head {
  border-bottom: 1px solid #556b1f;
  margin: 0 0 11px;
  padding-bottom: 5px;
}
.section-head .num {
  font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
  font-size: 12px;
  color: #6e1f2a;
  border: 0;
  padding: 0 8px 0 0;
  margin-right: 7px;
  border-right: 1px solid #ccc5b2;
}
.section-head h2 { display: inline; margin: 0; font-size: 18px; }

/* ---------- columns ---------- */
.cols { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-split { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; }
@media (max-width: 760px) {
  .cols-2, .cols-3, .cols-split { grid-template-columns: 1fr; gap: 16px; }
}

.holding { background: #ffffff; border: 1px solid #b9b2a0; }
.holding img { width: 100%; height: 118px; object-fit: cover; border-bottom: 1px solid #b9b2a0; }
.holding .body { padding: 9px 11px 11px; }
.holding h3 { margin-bottom: 4px; }
.holding p { margin-bottom: 0; font-size: 13px; }
.holding .tag {
  display: block;
  font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  color: #6e1f2a; font-weight: bold; margin-bottom: 3px;
}

/* ---------- particulars: a bordered definition table ---------- */
.particulars {
  margin: 0;
  border: 1px solid #b9b2a0;
  border-bottom: 0;
  background: #ffffff;
}
.particulars div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border-bottom: 1px solid #ccc5b2;
}
.particulars dt {
  font-size: 12px;
  font-weight: bold;
  color: #3f5016;
  background: #e6e1d2;
  border-right: 1px solid #b9b2a0;
  padding: 6px 10px;
}
.particulars dd { margin: 0; color: #2b2c24; padding: 6px 10px; font-size: 13px; }
.particulars dd.mono { font-family: "Courier New", Courier, monospace; letter-spacing: .06em; }
@media (max-width: 560px) {
  .particulars div { grid-template-columns: 1fr; }
  .particulars dt { border-right: 0; border-bottom: 1px solid #e0dac8; }
}

/* ---------- notes + lists ---------- */
.note {
  background: #ffffff;
  border: 1px solid #b9b2a0;
  border-top: 3px solid #6e1f2a;
  padding: 11px 13px 12px;
}
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note h3 { margin-bottom: 6px; }
.slab--dark .note { background: #37460f; border-color: #6b8228; }

.ticked { list-style: none; margin: 0 0 11px; padding: 0; }
.ticked li {
  position: relative; padding: 0 0 4px 15px; margin-bottom: 4px;
  font-size: 13px; border-bottom: 1px dotted #ccc5b2;
}
.ticked li:last-child { border-bottom: 0; }
.ticked li::before {
  content: "\00BB";
  position: absolute; left: 0; top: 0;
  color: #6e1f2a; font-weight: bold;
}

ol.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
ol.steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 12px 34px; border-bottom: 1px solid #ccc5b2; margin-bottom: 12px;
}
ol.steps > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
ol.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px; font-weight: bold; color: #556b1f;
  border: 1px solid #ccc5b2; background: #ffffff;
  width: 24px; text-align: center; line-height: 1.35;
}
ol.steps h3 { margin-bottom: 3px; }
ol.steps p:last-child { margin-bottom: 0; }

.legal h2 { margin-top: 18px; border-bottom: 1px solid #ccc5b2; padding-bottom: 5px; }
.legal h3 { margin-top: 13px; }
.legal ul { padding-left: 20px; margin-bottom: 11px; }
.legal li { margin-bottom: 3px; }

/* ---------- credits table ---------- */
.credits {
  width: 100%; border-collapse: collapse; font-size: 13px;
  border: 1px solid #b9b2a0; background: #ffffff;
}
.credits caption { text-align: left; color: #5a5c4e; font-size: 12px; padding-bottom: 6px; }
.credits th, .credits td {
  text-align: left; padding: 6px 9px;
  border-bottom: 1px solid #ccc5b2; border-right: 1px solid #e0dac8;
  vertical-align: top; color: #43453a;
}
.credits th {
  font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  color: #3f5016; font-weight: bold;
  background: #e6e1d2;
  border-bottom: 1px solid #b9b2a0;
}
.credits tr:nth-child(even) td { background: #f4f1e8; }
.credits td:first-child { color: #2b2c24; white-space: nowrap; font-weight: bold; }
.table-scroll { overflow-x: auto; }

/* ---------- form ---------- */
.form-grid { max-width: 560px; }
.field { margin-bottom: 11px; }
.field label {
  display: block; font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  color: #3f5016; font-weight: bold; margin-bottom: 3px;
}
.field .req { color: #6e1f2a; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px; color: #2b2c24;
  background: #ffffff; border: 1px solid #9d9683; border-radius: 2px;
  padding: 5px 6px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) { border-color: #6e1f2a; }
.hint { font-size: 12px; color: #5a5c4e; margin: 3px 0 0; }
.form-status {
  border: 1px solid #b9b2a0; border-left: 4px solid #6e1f2a;
  background: #e6e1d2;
  padding: 9px 11px; font-size: 13px; color: #2b2c24; margin-bottom: 11px;
}
.form-status[hidden] { display: none; }

/* ---------- footer ---------- */
.foot { padding-bottom: 30px; }
.foot > .wrap {
  background: #3f5016;
  background-image: linear-gradient(#4a5f19, #3a4a13);
  border-color: #33400f;
  color: #e4e8d3;
  padding-top: 16px;
  padding-bottom: 12px;
}
.foot a { color: #d9e0b8; text-decoration: underline; }
.foot a:hover { color: #fff; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px;
  padding: 0 0 12px;
}
.foot h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px; letter-spacing: .06em;
  color: #fff; margin: 0 0 7px;
  border-bottom: 1px solid #6b8228; padding-bottom: 4px;
}
.foot p { color: #e4e8d3; font-size: 12px; margin-bottom: 8px; }
.foot address { font-style: normal; font-size: 12px; line-height: 1.6; color: #e4e8d3; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.foot li { margin-bottom: 3px; color: #e4e8d3; border-bottom: 1px dotted #6b8228; padding-bottom: 3px; }
.foot address + p { margin-top: 8px; }
.foot-base {
  border-top: 1px solid #6b8228; padding: 9px 0 0;
  font-size: 11px; color: #e4e8d3;
}
.foot-base span { display: block; }
.foot-base span + span { margin-top: 3px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- cookie notice ---------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #f4f1e8;
  border-top: 3px solid #556b1f;
}
.cookie[hidden] { display: none; }
.cookie .wrap { padding-top: 9px; padding-bottom: 9px; }
.cookie p { margin: 0 0 7px; font-size: 12px; color: #2b2c24; }
.cookie .cookie-actions .btn { margin-right: 6px; }

@media (max-width: 700px) {
  /* on a narrow screen the sheet fills the glass; the ground only shows
     as a shallow band above and below it */
  .masthead { padding-top: 12px; }
  .foot { padding-bottom: 14px; }
  .band-figure figcaption { padding-left: 18px; padding-right: 18px; }
  .wrap { padding: 0 18px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 12px; }
  .band-figure figcaption { padding-left: 12px; padding-right: 12px; }
  h1 { font-size: 21px; }
  .mast-name { font-size: 22px; }
  .mast-line { font-size: 9px; letter-spacing: .14em; }
  .band-figure img { max-height: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
