:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1b201e;
  background: #f7f6f1;
  --ink: #1b201e;
  --muted: #515b55;
  --line: #dedfd7;
  --green: #245e48;
  --pale-green: #e8efe8;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #397e61; outline-offset: 4px; }

.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 2; padding: 12px; border-radius: 8px; background: white; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.055em; white-space: nowrap; }
.mark {
  display: inline-grid; place-items: center; width: 38px; aspect-ratio: 1;
  border-radius: 11px; background: var(--ink); color: white; font-size: 1.24rem; letter-spacing: -.07em;
}
.header-inner nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 30px); font-size: .89rem; font-weight: 650; }
.nav-link:hover, .partner-link:hover, .profile-button:hover, .full-profile-link:hover, .profile-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.partner-link { white-space: nowrap; color: var(--green); }
.partner-link span { margin-left: 3px; }
.external-arrow {
  display: inline-block; position: relative; width: 9px; height: 9px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
}
.external-arrow::after {
  content: ""; position: absolute; top: -1px; right: 0; width: 11px;
  border-top: 1.5px solid currentColor; transform: rotate(-45deg); transform-origin: right center;
}

.hero {
  display: grid; grid-template-columns: .98fr 1.02fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  padding-block: clamp(46px, 7vw, 94px);
}
.location {
  display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: .88rem;
  font-weight: 720; padding: 7px 11px; border-radius: 999px; background: var(--pale-green);
}
.location-dot { width: 7px; height: 7px; border-radius: 50%; background: #377855; }
.hero h1 {
  margin-top: 22px; font-size: clamp(2.55rem, 5.1vw, 4.6rem); line-height: .99;
  font-weight: 790; letter-spacing: -.072em; text-wrap: balance;
}
.hero-summary { max-width: 38ch; margin-top: 22px; color: var(--muted); font-size: clamp(1.04rem, 1.65vw, 1.25rem); line-height: 1.55; }
.hero .button { margin-top: 27px; }
.hero-image { width: 100%; height: auto; display: block; border-radius: 24px; background: #beb4a2; box-shadow: 0 12px 32px #29221318; }

.button {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
  gap: 14px; padding: 10px 16px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2;
}
.primary { background: var(--ink); color: white; }
.primary:hover { background: #304337; }
.secondary { background: white; border-color: var(--line); color: var(--ink); }
.secondary:hover { background: #f3f6f1; }

.directory { border-block: 1px solid var(--line); background: white; padding-block: 48px 55px; scroll-margin-top: 18px; }
.directory-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.55rem); font-weight: 770; line-height: 1.12; letter-spacing: -.052em; }
.description { color: var(--muted); margin-top: 9px; line-height: 1.5; }
.search-field { display: grid; gap: 6px; width: min(298px, 100%); }
.search-field label { font-size: .83rem; font-weight: 700; }
.search-field input {
  width: 100%; padding: 10px 13px; min-height: 44px; border: 1px solid #bfc5bb;
  border-radius: 10px; background: #fff; color: var(--ink);
}
.directory-controls { margin-block: 24px 17px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.categories { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; padding: 0; margin: 0; border: 0; }
.categories label { position: relative; cursor: pointer; }
.categories input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.categories span {
  display: block; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .86rem; font-weight: 650; pointer-events: none;
}
.categories input:checked + span { color: var(--green); background: var(--pale-green); border-color: #c1d2c6; }
.categories input:focus-visible + span { outline: 3px solid #397e61; outline-offset: 3px; }
.result-count { color: var(--muted); font-size: .88rem; }

.supplier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.supplier {
  display: flex; flex-direction: column; align-items: start; padding: 23px;
  border: 1px solid var(--line); border-radius: 16px; background: #fcfcf9;
}
.supplier-types {
  display: flex; flex-wrap: wrap; align-items: start; gap: 5px;
  margin: 0; padding: 0; list-style: none;
}
.supplier-type {
  font-size: .78rem; font-weight: 750; color: var(--green);
  background: var(--pale-green); padding: 5px 9px; border-radius: 7px;
}
.supplier h3 { font-size: 1.24rem; line-height: 1.18; letter-spacing: -.03em; margin-top: 14px; }
.draft-label { margin-top: 7px; color: #795315; font-size: .8rem; font-weight: 700; }
.service-area { margin-top: 7px; color: var(--muted); font-size: .89rem; }
.supplier-summary { margin-top: 13px; margin-bottom: 17px; font-size: .95rem; line-height: 1.52; }
.profile-button {
  padding: 9px 0; border: 0; color: var(--green); background: none; text-align: left;
  font-weight: 720; font-size: .91rem;
}
.supplier-actions, .profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.supplier-actions { margin-top: auto; }
.full-profile-link { font-size: .91rem; font-weight: 720; }
.full-profile-link span { margin-left: 5px; }
.empty-state { padding: 27px; border: 1px dashed #c1c7bf; border-radius: 16px; text-align: center; }
.empty-state p { margin-block: 7px 14px; color: var(--muted); }

.planning { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-block: 37px; }
.planning h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.planning p { margin-top: 7px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { color: var(--muted); font-size: .85rem; }
.footer-inner .wordmark { color: var(--ink); font-size: 1.07rem; }
.footer-inner .mark { width: 30px; font-size: 1rem; border-radius: 8px; }

dialog {
  width: min(660px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 27px; border: 1px solid var(--line); border-radius: 21px; color: var(--ink); background: white;
}
dialog::backdrop { background: #161d18a6; }
.profile-intro { padding-right: 32px; }
.profile-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 12px 16px; }
.profile-heading > div { min-width: 0; }
.profile-logo { width: 165px; max-width: 100%; height: 60px; object-fit: contain; object-position: left; }
.profile-intro h2 { margin-top: 12px; }
.profile-intro #profile-summary { margin-top: 14px; line-height: 1.55; }
.profile-details {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 18px; margin-block: 20px;
}
.profile-details ul, .profile-panel ul { margin: 7px 0 0; padding-left: 20px; line-height: 1.55; }
.profile-panel { margin-top: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #f8f9f5; }
.profile-panel h3 { font-size: 1rem; }
#profile-package-name { margin-top: 8px; font-weight: 700; }
#profile-package-description { margin-top: 4px; line-height: 1.5; }
[data-enquiry-picker] {
  display: grid; gap: 5px; width: min(220px, 100%); margin-block: 10px; font-size: .88rem; font-weight: 650;
}
[data-enquiry-service] { min-height: 39px; padding: 5px 8px; border: 1px solid #bfc5bb; border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.profile-preview { margin-top: 15px; font-size: .9rem; color: var(--muted); }
.profile-preview a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
dialog .profile-actions { margin-top: 15px; }
.close-button {
  display: grid; place-items: center; width: 39px; height: 39px; position: absolute; top: 16px; right: 16px;
  border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-size: 1.4rem;
}
.close-button:hover { background: var(--pale-green); }

.supplier-page { padding-block: 23px 54px; }
.profile-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: .88rem; }
.profile-breadcrumb a { color: var(--green); font-weight: 650; }
.profile-breadcrumb [aria-current]::before { content: "/"; padding-right: 8px; color: #777f77; }
.supplier-hero {
  margin-block: 17px 22px; display: grid; align-items: stretch;
  border: 1px solid var(--line); border-radius: 22px; background: white; overflow: hidden;
}
.supplier-hero.with-cover { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.supplier-hero-content { align-self: center; padding: clamp(24px, 4.4vw, 49px); }
.supplier-hero-logo { display: block; max-width: 100%; height: auto; margin-bottom: 15px; }
.supplier-hero h1 { margin-top: 13px; font-size: clamp(2.25rem, 5.25vw, 4.3rem); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.supplier-hero-area { margin-top: 13px; font-size: .93rem; color: var(--green); font-weight: 700; }
.supplier-hero-summary { max-width: 56ch; margin-top: 13px; color: var(--muted); line-height: 1.6; }
.supplier-hero .profile-actions { margin-top: 20px; }
.profile-status { margin-top: 12px; color: #795315; font-size: .83rem; font-weight: 650; }
.image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--pale-green);
}
.image-frame > img {
  display: block;
  position: absolute;
  width: var(--image-size, 100%);
  height: var(--image-size, 100%);
  left: var(--image-x, 50%);
  top: var(--image-y, 50%);
  transform: translate(calc(0% - var(--image-x, 50%)), calc(0% - var(--image-y, 50%)));
  object-fit: var(--image-fit, cover);
  object-position: var(--image-x, 50%) var(--image-y, 50%);
}
.supplier-cover { min-height: 340px; max-height: 470px; }
.supplier-page-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.supplier-page-column { display: grid; align-content: start; gap: 18px; min-width: 0; }
.supplier-section { padding: clamp(17px, 3vw, 27px); border: 1px solid var(--line); border-radius: 16px; background: white; }
.supplier-section h2 { font-size: clamp(1.38rem, 2.4vw, 1.72rem); }
.supplier-section h3 { font-size: 1rem; line-height: 1.3; }
.supplier-section > p { margin-top: 12px; line-height: 1.6; }
.profile-bullets { padding-left: 19px; margin: 10px 0 0; line-height: 1.6; }
.profile-event-types { margin-top: 18px; }
.profile-event-types ul { margin-top: 8px; }
.profile-items { display: grid; gap: 13px; margin-top: 13px; }
.profile-entry, .portfolio-item { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #f8f9f5; }
.profile-entry, .portfolio-item figcaption { padding: 14px; }
.profile-entry time { display: block; color: var(--green); font-size: .82rem; font-weight: 650; margin-bottom: 5px; }
.entry-area { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.entry-description, .portfolio-item p { margin-top: 6px; line-height: 1.55; }
.profile-entry a, #missing-profile a { display: inline-block; color: var(--green); font-weight: 650; text-decoration: underline; margin-top: 8px; }
.supplier-source { margin-top: 20px; }

@media (max-width: 760px) {
  .supplier-hero.with-cover, .supplier-page-grid { grid-template-columns: 1fr; }
  .supplier-cover { height: auto; min-height: 0; max-height: 330px; }
}

@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 26px; }
  .hero-break { display: none; }
  .supplier { padding: 17px; }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; gap: 10px; }
  .header-inner .wordmark { font-size: 1.14rem; gap: 7px; }
  .header-inner .mark { width: 31px; border-radius: 8px; font-size: 1.02rem; }
  .header-inner nav { font-size: .78rem; gap: 11px; }
  .hero { grid-template-columns: 1fr; padding-block: 35px 36px; }
  .hero h1 { margin-top: 17px; max-width: 13ch; font-size: clamp(2.65rem, 10vw, 3.65rem); text-wrap: initial; }
  .hero-summary { margin-top: 15px; }
  .hero .button { margin-top: 20px; }
  .hero-image { border-radius: 16px; }
  .directory { padding-block: 30px 35px; }
  .directory-controls { margin-top: 16px; }
  .supplier-grid { grid-template-columns: 1fr; gap: 12px; }
  .supplier { padding: 19px; }
  dialog { padding: 19px; }
  .close-button { top: 11px; right: 11px; }
}

.draft-preview-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding: 16px 20px;
  border: 1px solid #dfceb0;
  border-radius: 14px;
  background: #faf2e2;
}
.draft-preview-banner p { margin-top: 5px; color: var(--muted); font-size: .95rem; }
.draft-preview-message { margin-top: 17px; }
.draft-preview-message a { color: var(--green); text-decoration: underline; }

@media (max-width: 400px) {
  .header-inner nav { flex-wrap: wrap; justify-content: flex-end; row-gap: 5px; }
}

.news-page { max-width: 780px; padding-block: clamp(28px, 7vw, 70px); }
.news-page h1 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.02; letter-spacing: -.06em; }
.news-page #news-feed { margin-block: 24px; }
.feed-post { background: white; padding: clamp(16px, 4vw, 25px); }
.feed-post h2 { font-size: clamp(1.24rem, 4vw, 1.75rem); letter-spacing: -.02em; }
.feed-post h2 a { color: var(--ink); margin-top: 0; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-byline { color: var(--green); font-weight: 750; margin-bottom: 4px; }
.post-body, #full-about { white-space: pre-line; overflow-wrap: anywhere; }
.post-image { max-height: 430px; border-radius: 10px; margin-top: 14px; }
.profile-entry[id] { scroll-margin-top: 16px; }
