/* ------------------------------------------------------------------
   Shute End Holdings Limited — site stylesheet
   Written for this site only. No frameworks, no external resources.
   Masthead and the two navigation bars run the full width of the
   window; a 1060px sheet sits boxed on the beige ground beneath them.
   Deep teal and copper.
   ------------------------------------------------------------------ */

:root {
  /* page stock */
  --ground:    #eee6d3;   /* warm beige page ground */
  --panel:     #faf6ed;   /* paper the column is printed on */
  --panel-2:   #f2ece0;   /* alternate / inset paper */
  --band:      #e8e0d0;   /* heading strip, table head */
  --rule:      #cec4b0;
  --rule-lt:   #e0d8c6;
  --rule-dk:   #b3a68c;

  /* brand: deep teal */
  --teal-dk:   #0b4340;
  --teal:      #10605c;
  --teal-mid:  #1a7d78;
  --teal-lo:   #c3d9d5;
  --teal-lo2:  #d8e5e2;

  /* accent: burnt copper */
  --copper:    #a8481f;
  --copper-dk: #82370f;
  --copper-lt: #e2b8a2;

  /* text */
  --ink:       #2b2723;
  --ink-2:     #55504a;
  --ink-3:     #665f55;
  --err:       #8f2a12;

  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --col: 1060px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ground); }

body {
  margin: 0;
  padding: 0 0 30px;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.62;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--copper); text-decoration: underline; }
a:hover { color: var(--copper-dk); }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 1px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal-dk); color: var(--panel);
  padding: 8px 14px; z-index: 200;
  font-family: var(--sans); font-size: 12px; font-weight: bold;
}
.skip:focus { left: 0; }

/* The masthead and both navigation bars span the window. The sheet that
   carries the page itself is a boxed 1060px column on the beige ground,
   sitting beneath them. .wrap keeps the two aligned: inside the sheet
   it is 18px of padding within a 1px border, outside it 19px flat. */
.shell {
  width: var(--col);
  max-width: 100%;
  margin: 22px auto 0;
  background: var(--panel);
  border: 1px solid var(--rule-dk);
}

.wrap { max-width: var(--col); margin: 0 auto; padding: 0 19px; }
.shell .wrap { max-width: none; padding: 0 18px; }
.measure { max-width: 700px; }

/* ---------------- headings ---------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: normal; line-height: 1.25; margin: 0; color: var(--teal-dk); }
h1 { font-size: 26px; }
h2 { font-size: 18px; }
h3 { font-size: 14px; font-family: var(--sans); font-weight: bold; color: var(--teal-dk); }
h4 { font-size: 13px; }
p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--copper);
  margin: 0 0 4px;
}
.eyebrow--pale { color: var(--copper-lt); }
.standfirst { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* ================================================================
   MASTHEAD — beige panel carrying the wordmark, then a two-tier
   navigation: main bar, paler sub-bar beneath. All three run edge
   to edge; only their contents are held to the column.
   ================================================================ */
.seh-head { border-top: 4px solid var(--copper); }

.seh-panel {
  background: var(--band);
  background: linear-gradient(var(--panel-2), var(--band));
  border-bottom: 1px solid var(--rule-dk);
}
.seh-panel-in {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-dk); }
.wordmark svg { flex: none; width: 42px; height: 42px; color: var(--teal); }
.wordmark b {
  display: block;
  font-family: var(--serif);
  font-weight: normal;
  font-size: 21px;
  line-height: 1.1;
  color: var(--teal-dk);
}
.wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}
.wordmark:hover b { color: var(--copper-dk); }

/* tier one — the section bar */
.seh-nav1 {
  background: var(--teal-dk);
  background: linear-gradient(var(--teal-mid), var(--teal-dk));
  border-top: 1px solid var(--teal-mid);
}
.seh-nav1-in { padding: 0 11px; }

.nav-btn {
  display: none;
  margin: 6px 0;
  background: var(--teal);
  border: 1px solid var(--teal-lo);
  color: var(--panel);
  border-radius: 2px;
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav { font-family: var(--sans); font-size: 12px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nav li { border-right: 1px solid var(--teal-mid); }
.nav li:first-child { border-left: 1px solid var(--teal-mid); }
.nav a {
  display: block;
  color: var(--panel);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 9px 26px;
}
.nav a:hover { background: var(--teal); color: var(--panel); text-decoration: underline; }
.nav a[aria-current="page"] {
  background: var(--copper);
  color: var(--panel);
  box-shadow: inset 0 -3px 0 var(--copper-dk);
}

/* tier two — the paler sub-bar */
.seh-nav2 {
  background: var(--teal-lo);
  border-top: 1px solid var(--panel);
  border-bottom: 1px solid var(--rule-dk);
  font-family: var(--sans);
  font-size: 11px;
}
.seh-nav2-in {
  display: flex; flex-wrap: wrap; gap: 2px 14px;
  align-items: center;
  padding-top: 5px; padding-bottom: 5px;
}
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.subnav li + li { border-left: 1px solid var(--teal-dk); margin-left: 8px; padding-left: 8px; }
.subnav a { color: var(--teal-dk); text-decoration: none; }
.subnav a:hover { text-decoration: underline; color: var(--copper-dk); }
.subnav a[aria-current="page"] { font-weight: bold; text-decoration: underline; }

@media (max-width: 760px) {
  .seh-panel-in { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav-btn { display: block; }
  .seh-nav1-in { padding: 0 19px; }
  .nav { display: none; padding-bottom: 6px; }
  .nav.open { display: block; }
  .nav ul { display: block; }
  .nav li, .nav li:first-child { border: none; border-top: 1px solid var(--teal-mid); }
  .nav a { padding: 8px 4px; }
  .nav a[aria-current="page"] { box-shadow: none; border-left: 4px solid var(--copper-dk); padding-left: 8px; }
  .seh-nav2-in { display: block; }
}

/* ================================================================
   PAGE BODY
   ================================================================ */
.opening { padding: 20px 0 18px; border-bottom: 1px solid var(--rule); }
.opening h1 { margin-bottom: 6px; max-width: 880px; }
.opening .standfirst { margin-top: 8px; max-width: 780px; }

@media (max-width: 1000px) {
  .spread { gap: 28px; }
  .spread > .rail { flex-basis: 200px; width: 200px; }
}
@media (max-width: 760px) {
  .shell { margin-top: 14px; }
}

/* buttons of the period: small, bold, gradient, 2px radius */
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: bold;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid var(--rule-dk);
  color: var(--teal-dk);
  background: linear-gradient(var(--panel), var(--band));
  border-radius: 2px;
  display: inline-block;
  cursor: pointer;
  line-height: 1.4;
}
.btn:hover { background: var(--band); color: var(--copper-dk); text-decoration: none; }
.btn--solid {
  background: linear-gradient(var(--copper), var(--copper-dk));
  border-color: var(--copper-dk);
  color: var(--panel);
}
.btn--solid:hover { background: var(--copper-dk); color: var(--panel); }
.btn--pale {
  background: linear-gradient(var(--teal-mid), var(--teal));
  border-color: var(--teal-lo);
  color: var(--panel);
}
.btn--pale:hover { background: var(--teal); color: var(--panel); }

/* ---------------- photographic plates ---------------- */
.plate { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--rule); background: var(--panel-2); }
.plate img { width: 100%; border: 1px solid var(--rule-dk); background: var(--panel); padding: 3px; }
.plate figcaption {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-3);
  padding-top: 6px;
}
.plate figcaption a { color: var(--ink-2); }

/* ---------------- sections ---------------- */
.band { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.band--lit { background: var(--panel-2); }
.band--ink { background: var(--teal-dk); color: var(--teal-lo); border-bottom: 1px solid var(--teal-dk); }
.band--ink h2, .band--ink h3, .band--ink h4 { color: var(--panel); }
.band--ink a { color: var(--copper-lt); }
.band--ink a:hover { color: var(--panel); }

.spread { display: flex; gap: 40px; align-items: flex-start; }
.spread > .rail { flex: 0 0 236px; width: 236px; min-width: 0; }
.spread > *:not(.rail) { flex: 1 1 auto; min-width: 0; }
.rail h2 {
  margin-bottom: 5px;
  border-bottom: 3px double var(--rule-dk);
  padding-bottom: 4px;
}
.band--ink .rail h2 { border-bottom-color: var(--teal-mid); }
.rail-note { font-family: var(--sans); font-size: 11px; line-height: 1.5; color: var(--ink-3); }
.band--ink .rail-note { color: var(--teal-lo); }
@media (max-width: 760px) { .spread { display: block; } .spread > .rail { width: auto; margin-bottom: 10px; } }

/* numbered items */
.items { list-style: none; margin: 0; padding: 0; }
.items > li {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--rule-dk);
}
.items > li:first-child { padding-top: 0; }
.items > li:last-child { border-bottom: none; padding-bottom: 0; }
.items > li > div { min-width: 0; }
.items .num {
  flex: 0 0 40px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--copper);
  line-height: 1.1;
}
.items h3 { margin-bottom: 2px; }
.items .sic {
  font-family: var(--sans); font-size: 10px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--panel); background: var(--teal);
  display: inline-block; padding: 1px 6px; margin-bottom: 6px; border-radius: 2px;
}
@media (max-width: 520px) {
  .items > li { display: block; }
  .items .num { font-size: 15px; }
}

/* two-column definition table, bordered */
.particulars { margin: 0; border: 1px solid var(--rule-dk); background: var(--panel); }
.particulars div {
  display: flex;
  border-bottom: 1px solid var(--rule-lt);
}
.particulars div:last-child { border-bottom: none; }
.particulars div:nth-child(even) { background: var(--panel-2); }
.particulars dt {
  flex: 0 0 215px;
  font-family: var(--sans); font-size: 11px; font-weight: bold;
  letter-spacing: .04em; text-transform: uppercase; color: var(--teal-dk);
  background: var(--band);
  border-right: 1px solid var(--rule-dk);
  padding: 6px 10px;
}
.particulars dd { margin: 0; padding: 6px 10px; min-width: 0; }
.band--ink .particulars { border-color: var(--teal-mid); background: var(--teal-dk); }
.band--ink .particulars div { border-bottom-color: var(--teal-mid); }
.band--ink .particulars div:nth-child(even) { background: var(--teal-dk); }
.band--ink .particulars dt { background: var(--teal); color: var(--panel); border-right-color: var(--teal-mid); }
.band--ink .particulars dd { color: var(--panel); }
@media (max-width: 620px) {
  .particulars div { display: block; }
  .particulars dt { border-right: none; border-bottom: 1px solid var(--rule-dk); }
}

/* plain prose lists */
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 10px; }
.prose li { margin-bottom: 4px; }
.prose h3 { margin: 14px 0 4px; }
.prose h3:first-child { margin-top: 0; }

.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.checklist li {
  padding: 6px 0 6px 16px;
  border-bottom: 1px dotted var(--rule-dk);
  position: relative;
}
.checklist li::before {
  content: "\00BB";
  position: absolute; left: 0; top: 6px;
  color: var(--copper);
  font-weight: bold;
}

/* boxed statement */
.statement {
  border: 1px solid var(--rule-dk);
  border-left: 4px solid var(--copper);
  background: var(--band);
  padding: 8px 12px;
  margin: 12px 0;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
}
.band--ink .statement { color: var(--panel); background: var(--teal); border-color: var(--teal-mid); border-left-color: var(--copper-lt); }

/* address card */
.address {
  background: var(--panel-2);
  border: 1px solid var(--rule-dk);
  border-top: 3px solid var(--teal);
  padding: 13px 16px;
  max-width: 470px;
}
.address h3 { margin-bottom: 6px; }
.address address { font-style: normal; }
.placeholder {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: bold;
  background: var(--band);
  border: 1px dashed var(--copper);
  padding: 0 4px;
  color: var(--copper-dk);
  white-space: nowrap;
}

/* two blocks side by side inside a content column (contact page) */
.pair { display: flex; gap: 30px; align-items: flex-start; }
.pair > * { min-width: 0; }
.pair > .address { flex: 0 0 380px; }
.pair > .prose { flex: 1 1 auto; margin-top: 0; }
@media (max-width: 900px) {
  .pair { display: block; }
  .pair > .address { max-width: 470px; }
  .pair > .prose { margin-top: 14px; }
}

/* ---------------- form ---------------- */
.form-grid { max-width: 560px; }
.field { margin-bottom: 10px; }
.field label {
  display: block;
  font-family: var(--sans); font-size: 11.5px; font-weight: bold;
  letter-spacing: .04em; color: var(--teal-dk); margin-bottom: 3px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--rule-dk);
  border-top-color: var(--ink-3);
  border-radius: 2px;
  padding: 5px 6px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal);
  background: var(--panel-2);
  outline: 2px solid var(--copper);
  outline-offset: 1px;
}
.field .hint { font-family: var(--sans); font-size: 11px; color: var(--ink-3); margin: 2px 0 0; }
.field .err { font-family: var(--sans); font-size: 11.5px; font-weight: bold; color: var(--err); margin: 2px 0 0; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--err); }

.notice {
  border: 1px solid var(--rule-dk);
  border-left: 4px solid var(--teal);
  background: var(--panel-2);
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 620px;
}
.notice strong { color: var(--teal-dk); }
#formResult[hidden] { display: none; }

/* ---------------- credits ---------------- */
.credits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-dk); }
.credits li {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule-dk);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
}
.credits li > img { flex: 0 0 232px; width: 232px; min-width: 0; max-width: 232px; }
.credits li > div { flex: 1 1 auto; min-width: 0; }
.credits img { border: 1px solid var(--rule-dk); background: var(--panel); padding: 2px; }
.credits .file { color: var(--teal-dk); font-weight: bold; }
@media (max-width: 620px) {
  .credits li { display: block; }
  .credits li > img { max-width: 100%; width: auto; margin-bottom: 6px; }
}

/* ---------------- footer ---------------- */
.site-foot {
  background: var(--teal-dk);
  color: var(--teal-lo);
  font-size: 12px;
  border-top: 3px solid var(--copper);
  padding: 16px 0 0;
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 18px 46px; padding-bottom: 18px; }
.foot-grid > div:first-child { flex: 1 1 300px; min-width: 0; }
.foot-grid > div { flex: 0 1 200px; }
.site-foot h4 {
  font-family: var(--sans); font-size: 11px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--panel);
  margin: 0 0 6px; font-weight: bold;
  border-bottom: 1px solid var(--teal-mid); padding-bottom: 4px;
}
.site-foot a { color: var(--teal-lo2); text-decoration: none; }
.site-foot a:hover { color: var(--panel); text-decoration: underline; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 3px; border-bottom: 1px dotted var(--teal); padding-bottom: 3px; }
.site-foot address { font-style: normal; line-height: 1.55; }
/* the statutory particulars — stated once, quietly, at the foot of every page */
.foot-legal { margin: 0 0 10px; line-height: 1.55; }
.foot-legal, .site-foot address { color: var(--teal-lo); }
.foot-mail { margin: 10px 0 0; }
.site-foot .placeholder { background: var(--teal); border-color: var(--copper-lt); color: var(--panel); }
.foot-base {
  border-top: 1px solid var(--teal-mid);
  background: var(--teal);
  margin: 0 -18px;
  padding: 7px 18px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--teal-lo2);
  display: flex; flex-wrap: wrap; gap: 2px 20px; justify-content: space-between;
}

/* ---------------- cookie notice ---------------- */
.cookie {
  position: fixed; left: 10px; right: 10px; bottom: 10px;
  max-width: 620px; margin: 0 auto;
  background: var(--panel);
  color: var(--ink-2);
  border: 1px solid var(--teal-dk);
  border-top: 4px solid var(--copper);
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
  display: none;
  z-index: 100;
}
.cookie.show { display: block; }
.cookie a { color: var(--copper-dk); }
.cookie a.btn, .cookie a.btn:hover { color: var(--panel); text-decoration: none; }
.cookie p { margin: 0 0 8px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { padding: 5px 10px; font-size: 11px; }

/* ---------------- misc ---------------- */
.tight-top { padding-top: 14px; }
.mt { margin-top: 12px; }

@media (max-width: 460px) {
  body { padding-bottom: 0; font-size: 13px; }
  .shell { margin-top: 0; border-left: none; border-right: none; border-bottom: none; }
  h1 { font-size: 21px; }
  .spread { gap: 0; }
}
