:root {
  color-scheme: light;
  --ink: #103756;
  --body: #34546a;
  --paper: #fff;
  --wash: #e8f5fc;
  --line: #c5dce9;
  --control-line: #738b9d;
  --deep-blue: #0d395b;
  --blue: #105888;
  --green: #23752c;
  --green-dark: #17531f;
  --forest: #173c31;
  --mint: #d4edb2;
  --gutter: clamp(1.2rem, 5.2vw, 5.5rem);
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --script: "Playball", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
::selection { color: var(--ink); background: var(--mint); }
:focus-visible { outline: 2px solid #2876a7; outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
figure, dl, dd { margin: 0; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.028em; line-height: .98; }
h2 { font-size: clamp(2.85rem, 5vw, 5.15rem); }
h3 { font-size: 2.45rem; }
.container { width: min(100% - var(--gutter) * 2, 81rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.skip { position: absolute; z-index: 5; left: 1rem; top: 1rem; padding: .65rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 5.05rem; align-items: center; justify-content: space-between; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .46rem; flex-shrink: 0; text-decoration: none; line-height: 1; }
.brand img { width: 3.8rem; height: auto; }
.brand strong { display: block; font: 700 1.85rem/.98 var(--display); letter-spacing: -.025em; }
.brand small { display: block; margin-top: .3rem; font-size: .8rem; color: var(--body); }
.site-nav { display: flex; align-items: center; gap: clamp(.75rem, 2.4vw, 2.4rem); }
.site-nav a { font-size: .92rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover { color: var(--blue); text-decoration: underline; }
.nav-toggle { color: var(--ink); background: transparent; border: 1px solid var(--control-line); border-radius: .25rem; padding: .45rem .8rem; font-weight: 650; cursor: pointer; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .89rem 1.32rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  background: var(--green);
  color: white;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease-out;
}
.button:hover { background: var(--green-dark); }
.button-small { padding: .7rem 1rem; font-size: .9rem; }
.text-link { display: inline-block; width: fit-content; font-weight: 700; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--green); text-decoration-thickness: 2px; }

.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(115deg, #f1faff 9%, #c9eafd 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: .96fr 1.15fr;
  min-height: clamp(30rem, 39vw, 37rem);
  align-items: stretch;
  gap: clamp(.8rem, 3.4vw, 3.5rem);
  width: min(100% - var(--gutter), 91rem);
  margin-inline: max(var(--gutter), (100% - 81rem) / 2) 0;
}
.hero-copy { position: relative; z-index: 1; padding-block: 3.35rem 6rem; align-self: center; }
.hero h1 { font-size: clamp(3.9rem, 6.7vw, 6rem); line-height: .91; }
.hero h1 span {
  display: block;
  margin-top: .2em;
  color: var(--blue);
  font: 400 clamp(2.8rem, 4.65vw, 4.75rem)/1.03 var(--script);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1::after {
  display: block;
  width: min(42%, 11rem);
  height: .37rem;
  margin: 1rem 0 1.25rem;
  border-top: .21rem solid #65a745;
  border-radius: 50%;
  transform: rotate(-2deg);
  content: "";
}
.hero-intro { margin: 0; max-width: 34ch; color: var(--body); font-size: clamp(1.04rem, 1.48vw, 1.24rem); }
.hero-intro strong { color: var(--ink); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.45rem; margin-top: 1.8rem; }
.hero-photo { position: relative; overflow: hidden; border-radius: 6.5rem 0 0 0; background: #b9d9e9; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 39% 48%; }
.hero-photo figcaption {
  position: absolute;
  inset: auto var(--gutter) 5rem auto;
  padding: .37rem .78rem;
  border-radius: 1rem;
  background: var(--deep-blue);
  color: #fff;
  font-size: .8rem;
}
.hero-wave { position: absolute; z-index: 1; inset: auto 0 -1px; height: clamp(3.2rem, 6.25vw, 6.2rem); background: url("hullam.webp") center bottom / 100% 100% no-repeat; pointer-events: none; }
.quick-band { background: var(--deep-blue); color: #fff; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-facts div { padding: 1.2rem clamp(.8rem, 3vw, 2.65rem) 1.55rem; }
.quick-facts div:first-child { padding-left: 0; }
.quick-facts div + div { border-left: 1px solid #5080a0; }
.quick-facts dt { font: 700 clamp(1.35rem, 2.5vw, 2.2rem)/1.05 var(--display); }
.quick-facts dt a { text-decoration: none; }
.quick-facts dt a:hover { text-decoration: underline; }
.quick-facts dd { color: #d6eaf5; margin-top: .38rem; font-size: .9rem; }
.quick-band :focus-visible { outline-color: var(--mint); }

.reference-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2.25rem, 8vw, 8rem); }
.section-intro p, .history-copy p, .contact-copy p { margin-top: 1.12rem; color: var(--body); max-width: 50ch; }
.section-intro .text-link { margin-top: .2rem; }
.services { padding-block: clamp(3rem, 5.9vw, 5.2rem); }
.services-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .85rem 1.75rem; margin-bottom: 1.65rem; }
.services-heading h2 { font-size: clamp(2.8rem, 4.4vw, 4.3rem); }
.services-heading .text-link { color: var(--green-dark); }
.service-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.65rem, 1.2vw, 1.25rem); margin: 0; padding: 0; list-style: none; }
.service-card { display: flex; flex-direction: column; overflow: hidden; background: #eff8fd; border: 1px solid var(--line); border-radius: .82rem; }
.service-card img { width: 100%; height: auto; aspect-ratio: 1.58; object-fit: cover; }
.service-card:nth-child(2) img { object-position: 44% center; }
.service-card:nth-child(3) img { object-position: center 41%; }
.service-card h3 { display: flex; align-items: center; min-height: 3.35rem; padding: .52rem .86rem; background: var(--blue); color: #fff; font-size: clamp(1.18rem, 1.63vw, 1.6rem); line-height: 1.08; letter-spacing: -.014em; }
.service-card p { margin: 0; padding: .75rem .86rem .9rem; color: var(--body); font-size: .94rem; line-height: 1.42; }

.values { background: #e4f5fe; border-block: 1px solid #c1deee; }
.values-inner { padding-block: 2rem 2.3rem; }
.values h2 { margin-bottom: 1.15rem; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.value-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.value-list li { padding: .2rem .73rem; text-align: center; }
.value-list li + li { border-left: 1px solid #a8ccdf; }
.value-list strong { display: block; color: var(--blue); font: 700 2.55rem/1 var(--display); }
.value-list span { display: block; margin-top: .3rem; color: var(--ink); font-size: .91rem; line-height: 1.25; overflow-wrap: anywhere; }

summary { cursor: pointer; }
.more-references summary {
  position: relative;
  padding: .83rem 2.25rem .83rem 0;
  list-style: none;
  font: 700 clamp(1.34rem, 2.35vw, 2rem)/1.14 var(--display);
}
.more-references summary::-webkit-details-marker { display: none; }
.more-references summary::before, .more-references summary::after {
  position: absolute;
  top: 50%;
  right: .35rem;
  width: .9rem;
  height: 1px;
  content: "";
  background: currentColor;
}
.more-references summary::after { transform: rotate(90deg); }
details[open] > summary::after { transform: rotate(0); }
.more-references summary:hover { color: var(--green); }

.sustain { background: linear-gradient(115deg, #143e50 0%, var(--forest) 53%, #245335 100%); color: #f4faf4; }
.sustain-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.6rem, 6vw, 5.5rem); align-items: center; padding-block: clamp(2.8rem, 5.5vw, 5.15rem); }
.sustain-copy h2 { color: var(--mint); }
.sustain-copy h2 span { display: block; margin-top: .14em; color: #f3ffeb; font: 400 .88em/1.05 var(--script); }
.sustain-list { margin-top: 1.6rem; }
.sustain-list div { border-top: 1px solid #547464; padding-block: .75rem; }
.sustain-list dt { font-weight: 700; }
.sustain-list dd { color: #d6e8de; margin-top: .18rem; }
.sustain-photo { position: relative; align-self: stretch; min-height: 23rem; overflow: hidden; border-radius: 3.6rem .8rem 3.6rem .8rem; }
.sustain-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 62% 56%; }
.sustain-photo figcaption { position: absolute; bottom: .8rem; right: 1.45rem; padding: .34rem .75rem; border-radius: 1rem; background: var(--forest); color: #e2efe7; font-size: .85rem; }

.reference-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; gap: 0 1.65rem; }
.reference-list li { display: flex; align-items: center; min-height: 3.45rem; padding: .65rem 0; border-top: 1px solid var(--line); font-weight: 650; }
.more-references { margin-top: .7rem; border-bottom: 1px solid var(--line); }
.more-references summary { font: 700 1rem/1.6 var(--sans); color: var(--green-dark); }
.more-references .reference-list { margin-bottom: .7rem; }
.more-references li { font-size: .95rem; font-weight: 500; }

.history { background: #e9f5fc; }
.history-grid { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.history-photo img { width: 100%; height: auto; aspect-ratio: 1.45; border-radius: .8rem 3.6rem .8rem 3.6rem; object-fit: cover; object-position: center 42%; }
.history-photo figcaption { padding-top: .55rem; color: var(--body); font-size: .85rem; }
.history-copy p + p { margin-top: 0; }

.contact { background: #f5fbff; }
.contact-grid { display: grid; grid-template-columns: .76fr 1.24fr; align-items: start; gap: clamp(2rem, 7vw, 7rem); }
.contact-copy address { font-style: normal; margin-top: 1.6rem; }
.contact-copy address div { display: grid; gap: .2rem; padding-block: .64rem; border-top: 1px solid var(--line); }
.contact-copy address span { color: var(--body); font-size: .88rem; }
.contact-copy address a, .contact-copy address strong { font-weight: 700; overflow-wrap: anywhere; }
.contact-copy address .text-link { font-size: .9rem; margin-top: .22rem; }
.quote { padding: clamp(1.18rem, 3.5vw, 2.55rem); background: var(--wash); border: 1px solid var(--line); border-radius: .86rem; }
.quote > p { margin-top: .77rem; margin-bottom: 1.25rem; color: var(--body); }
.quote form { display: grid; gap: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.quote label { display: block; font-weight: 650; font-size: .92rem; }
.quote input, .quote textarea, .quote select {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin-top: .35rem;
  padding: .53rem .7rem;
  border: 1px solid var(--control-line);
  border-radius: .23rem;
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
}
.quote textarea { resize: vertical; }
.quote textarea::placeholder { color: #536879; }
.quote .button { justify-self: start; }
.form-status { margin: 0; color: var(--green-dark); font-size: .95rem; }
.form-status:empty { position: absolute; }
.form-status[data-state="error"] { color: #912c34; }
.quote button:disabled { opacity: .76; cursor: wait; }
.quote-result p { margin-top: 1.1rem; color: var(--body); }

.site-footer { background: var(--deep-blue); color: #f4f8fc; }
.footer-inner { display: grid; align-items: start; grid-template-columns: 1fr 1fr auto; gap: 1.25rem 2.5rem; padding-block: 2.1rem; }
.brand-footer img { filter: brightness(0) invert(1); }
.brand-footer small { color: #c8dce9; line-height: 1.25; }
.footer-links { display: grid; gap: .35rem; justify-items: start; }
.footer-links, .back-top { font-size: .9rem; }
.site-credit { margin-block: 0; padding-block: .85rem 1.25rem; border-top: 1px solid #7090a8; color: #d6eaf5; font-size: .85rem; }
.site-credit a { text-underline-offset: .19em; }
.credits p { margin: .32rem 0; color: #c8dce9; }
.site-footer :focus-visible, .sustain :focus-visible { outline-color: var(--mint); }

@media (max-width: 1100px) {
  .service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .value-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .95rem 0; }
  .value-list li:nth-child(5) { border-left: 0; }
}

@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; gap: 0 1rem; min-height: 4.65rem; padding-block: .72rem; }
  .nav-toggle { margin-left: auto; }
  .header-quote { order: 0; }
  .site-nav { order: 1; flex-basis: 100%; flex-wrap: wrap; gap: .25rem 1.5rem; padding-top: .7rem; }
  .site-nav a { padding-block: .45rem; }
  .hero h1 { font-size: clamp(3.25rem, 7.5vw, 5rem); }
  .hero-photo { border-radius: 4.25rem 0 0 0; }
  .hero-photo figcaption { bottom: 3.6rem; }
}

@media (max-width: 760px) {
  .section { padding-block: 3.5rem; }
  .hero-grid, .sustain-grid, .reference-grid, .history-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .hero-grid { width: 100%; margin-inline: 0; gap: 0; }
  .hero-copy { margin-inline: var(--gutter); padding-block: 2.7rem 1.9rem; }
  .hero h1 { font-size: clamp(3.35rem, 13vw, 5.4rem); }
  .hero h1 span { font-size: clamp(2.1rem, 8.65vw, 4.45rem); }
  .hero h1::after { margin: .8rem 0 .9rem; }
  .actions { column-gap: .8rem; }
  .hero-photo { aspect-ratio: 1.53; margin-inline: var(--gutter) 0; border-radius: 3.2rem 0 0 0; }
  .hero-photo img { object-position: center 36%; }
  .hero-photo figcaption { bottom: 3rem; font-size: .72rem; padding: .34rem .5rem; }
  .quick-facts { grid-template-columns: 1fr 1fr; }
  .quick-facts div { padding: .9rem .8rem; }
  .quick-facts div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #5080a0; padding-left: 0; }
  .quick-facts div:first-child { padding-right: .4rem; }
  .quick-facts dd { margin-top: .18rem; }
  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:last-child { display: grid; grid-column: 1/-1; grid-template-columns: .9fr 1.1fr; grid-template-rows: auto 1fr; }
  .service-card:last-child img { grid-row: 1/3; height: 100%; min-height: 7.3rem; }
  .service-card h3 { padding-inline: .62rem; }
  .service-card p { padding-inline: .62rem; }
  .value-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem; }
  .value-list li { display: flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: .37rem 0; border-top: 1px solid #a8ccdf; text-align: left; }
  .value-list li + li { border-left: 0; }
  .value-list strong { flex: 0 0 1.4rem; font-size: 1.75rem; }
  .value-list span { margin: 0; font-size: .86rem; }
  .section-intro p { margin-bottom: .45rem; }
  .sustain-grid { gap: 1rem; }
  .sustain-photo { aspect-ratio: 1.5; min-height: auto; border-radius: 2.5rem .7rem 2.5rem .7rem; }
  .history-copy { grid-row: 1; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .header-inner { gap: 0 .48rem; }
  .header-inner .brand { gap: .38rem; }
  .header-inner .brand img { width: 2.75rem; }
  .header-inner .brand strong { font-size: 1.32rem; }
  .header-inner .brand small { font-size: .72rem; }
  .nav-toggle, .header-quote { font-size: .83rem; padding: .48rem .57rem; }
  .form-row { grid-template-columns: 1fr; }
  .reference-list { gap: 0 .75rem; }
}

@media (max-width: 360px) {
  .header-inner { gap: 0 .32rem; }
  .header-inner .brand img { width: 2.05rem; }
  .header-inner .brand strong { font-size: 1.2rem; }
  .nav-toggle, .header-quote { padding-inline: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.cookie-notice {
  position: fixed;
  z-index: 21;
  inset-inline-start: max(.75rem, env(safe-area-inset-left));
  inset-block-end: max(.75rem, env(safe-area-inset-bottom));
  width: min(28rem, calc(100% - 1.5rem));
  max-block-size: 65svh;
  overflow: auto;
  padding: 1rem 1.15rem;
  border: 1px solid var(--control-line);
  border-radius: .86rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 .3rem 1.25rem #142f4229;
}

html:has(.funding-badge) .cookie-notice {
  inset-block-end: max(var(--funding-clearance), .75rem);
}

.cookie-notice h2 { font-size: 1.55rem; line-height: 1.1; }
.cookie-notice p { margin: .45rem 0 .35rem; color: var(--body); font-size: .94rem; }
.cookie-notice > a { color: var(--blue); font-size: .9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.cookie-actions .button { flex: 1; min-width: max-content; padding: .55rem .9rem; font-size: .92rem; }
.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.quote-cookie-help { color: var(--body); font-size: .9rem; }
.quote-cookie-help p { margin: 0; }
.quote-cookie-help button { margin-top: .25rem; color: var(--blue); font-weight: 700; }
