@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --ink: #18392f;
  --text: #273b32;
  --muted: #536057;
  --paper: #fafaf4;
  --line: #c8d0c4;
  --accent: #e1efa0;
  --gutter: clamp(1.25rem, 6vw, 6.5rem);
  color-scheme: light;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 100%;
  line-height: 1.5;
  color: var(--text);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #8e5311; outline-offset: 5px; }
.hero :focus-visible, .footer :focus-visible { outline-color: white; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; padding: 0.6rem 1rem; top: .5rem; left: 1rem; z-index: 5; background: white; color: var(--ink); }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 82rem); margin-inline: auto; }
.site-header { background: var(--paper); color: var(--ink); }
.masthead, .masthead nav, .brand, .footer-inner { display: flex; align-items: center; }
.masthead { min-height: 5.15rem; justify-content: space-between; gap: 2rem; }
.brand { gap: .65rem; font-size: clamp(1.22rem, 2.1vw, 1.65rem); font-weight: 650; line-height: 1; letter-spacing: -.06em; text-decoration: none; }
.mark { display: inline-block; position: relative; width: 1.47em; height: 1.25em; flex: none; }
.mark::before, .mark::after { content: ""; position: absolute; inset: 0; background: currentColor; }
.mark::before { clip-path: polygon(29% 0, 100% 0, 78% 32%, 43% 32%, 32% 48%, 0 48%); }
.mark::after { clip-path: polygon(22% 68%, 57% 68%, 68% 52%, 100% 52%, 71% 100%, 0 100%); }
.masthead nav { gap: clamp(1rem, 2.65vw, 2.4rem); }
.nav-link { font-size: .98rem; font-weight: 550; text-decoration: none; }
.nav-link:hover, .service-content a:hover { text-decoration: underline; text-underline-offset: .27em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .72rem 1.35rem; border: 1px solid transparent; border-radius: .25rem; cursor: pointer; font-size: 1rem; font-weight: 620; line-height: 1.25; text-decoration: none; transition: background-color .16s ease; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #315544; }
.button-accent { background: var(--accent); color: #1b3226; }
.button-accent:hover { background: #efffb7; }
.button:disabled { opacity: .7; cursor: wait; }
.nav-enquiry { min-height: 2.65rem; font-size: .94rem; padding: .6rem 1.05rem; }
.hero { display: grid; position: relative; isolation: isolate; align-items: center; min-height: clamp(33rem, 41vw, 42rem); padding-block: clamp(3.6rem, 6vw, 6.2rem); color: #fff; background: #263c2d; }
.hero::after, .hero-image, .hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; }
.hero-image img { object-fit: cover; object-position: center 56%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, rgba(12,28,22,.90) 0%, rgba(17,33,25,.80) 23%, rgba(18,32,25,.62) 43%, rgba(23,32,26,.14) 69%, rgba(29,34,26,.02) 100%); }
.location, .kicker { display: flex; align-items: center; gap: .75rem; margin: 0; font-weight: 650; font-size: .83rem; line-height: 1.4; letter-spacing: .115em; text-transform: uppercase; }
.location { color: #f1f5d9; }
.locator { position: relative; width: .95rem; height: .95rem; border: 1.5px solid currentColor; border-radius: 50%; display: inline-grid; place-items: center; }
.locator::before { content: ""; width: .24rem; height: .24rem; background: currentColor; border-radius: 50%; }
h1, h2, p { margin-top: 0; }
h1, h2 { color: var(--ink); font-weight: 500; line-height: 1.02; letter-spacing: -.062em; }
h1 { font-size: clamp(3.2rem, 5.65vw, 6rem); margin: 1.2rem 0 1.3rem; color: #fffef6; }
h1 em, h2 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.026em; }
h1 em { font-size: 1.105em; color: #e5efb4; }
.intro { font-size: clamp(1.04rem, 1.4vw, 1.24rem); line-height: 1.48; max-width: 32.5rem; color: #f7f7eb; margin-bottom: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.75rem; margin-top: 1.9rem; }
.hero-link { font-weight: 550; text-decoration-thickness: 1px; text-underline-offset: .37em; }
.hero-link:hover { color: var(--accent); }
section[id] { scroll-margin-top: 1.25rem; }
.services, .training, .contact { padding-block: clamp(3.5rem, 6vw, 6.2rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.65rem, 2.8vw, 2.8rem); }
.kicker { color: #536646; gap: .6rem; }
.kicker::before { content: ""; display: inline-block; width: 1.6rem; height: 2px; background: #7a8e50; }
h2 { font-size: clamp(2.55rem, 4.1vw, 4.45rem); margin: .7rem 0 0; }
.section-head > p { max-width: 22rem; margin: 0 0 .12rem; color: var(--muted); line-height: 1.5; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; align-items: start; }
.service { border: 1px solid var(--line); border-radius: .35rem; background: #fffefa; overflow: clip; }
.service:has(summary:focus-visible) { outline: 3px solid #8e5311; outline-offset: 2px; }
summary { cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: start; gap: .95rem; padding: 1.3rem 1.25rem 1.22rem; color: var(--ink); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline-offset: -4px; }
summary:hover, details[open] summary { background: #f0f3e8; }
.card-title { font-weight: 590; font-size: clamp(1.12rem, 1.55vw, 1.47rem); letter-spacing: -.035em; line-height: 1.25; }
.summary-toggle { width: .85rem; height: .85rem; position: absolute; right: 1.35rem; top: 1.55rem; color: #58714d; }
.summary-toggle::before, .summary-toggle::after { content: ""; position: absolute; background: currentColor; inset: calc(50% - .75px) 0; }
.summary-toggle::after { transform: rotate(90deg); }
details[open] .summary-toggle::after { display: none; }
.card-icon { display: inline-grid; position: relative; place-items: center; color: #4a6742; width: 1.7rem; height: 1.55rem; }
.card-icon::before, .card-icon::after { content: ""; position: absolute; }
.icon-web::before { inset: 1px 0; border: 1.6px solid; border-radius: 3px; }
.icon-web::after { width: 100%; height: 1.5px; background: currentColor; top: 7px; }
.icon-code { font: 600 1.25rem/1 Consolas, monospace; letter-spacing: -.13em; justify-content: start; }
.icon-chip::before { inset: 3px; border: 1.8px solid; outline: 2px dotted; outline-offset: 1px; border-radius: 2px; }
.icon-chip::after { inset: 7px; border: 1.4px solid; }
.icon-hardware::before { inset: 1px 1px 4px; border: 1.7px solid; border-radius: 3px; }
.icon-hardware::after { width: 100%; height: 2px; bottom: 0; background: currentColor; }
.icon-network::before { width: 1.25rem; height: .54rem; top: .76rem; border: 1.5px solid; border-bottom: 0; }
.icon-network::after { top: 0; width: .47rem; height: .47rem; border-radius: 2px; background: currentColor; box-shadow: 0 .42rem 0 -.11rem currentColor, -.59rem 1.1rem currentColor,.59rem 1.1rem currentColor; }
.icon-advice::before { inset: 1px 0 4px; border: 1.6px solid; border-radius: 5px; }
.icon-advice::after { left: 5px; bottom: 1px; width: 7px; height: 7px; transform: skewY(-35deg); border-left: 1.6px solid; border-bottom: 1.6px solid; background: #fffefa; }
.service-content { border-top: 1px solid var(--line); padding: 1.15rem 1.25rem 1.4rem; }
.service-content p, .service-content ul { margin-block: 0 .9rem; }
.service-content ul { padding-left: 1.2rem; color: var(--muted); }
.service-content li + li { margin-top: .35rem; }
.service-content a { color: var(--ink); font-weight: 600; text-underline-offset: .21em; }
.training { background: #e8eddd; }
.training-layout, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6.5rem); align-items: center; }
.training-photo { width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; border-radius: .35rem; }
.training h2, .contact h2 { margin-bottom: 1.45rem; }
.training-copy > p:not(.kicker), .contact-intro > p:not(.kicker) { max-width: 35rem; font-size: 1.075rem; line-height: 1.6; }
.training-copy > p:not(.kicker) { margin-bottom: .9rem; }
.training-copy .button { margin-top: .6rem; }
.contact { grid-template-columns: .84fr 1.16fr; align-items: start; }
.contact-intro > p:not(.kicker) { max-width: 24rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
form { min-width: 0; }
form label { display: block; margin: 0 0 1rem; font-weight: 570; font-size: .96rem; }
input, select, textarea { display: block; width: 100%; margin-top: .35rem; padding: .68rem .75rem; color: var(--ink); background-color: #fffefa; border: 1px solid #9ba799; border-radius: .22rem; font-size: 1rem; line-height: 1.35; font-weight: 400; }
select { appearance: none; padding-right: 2.6rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 51%,calc(100% - .89rem) 51%; background-size: .28rem .28rem; background-repeat: no-repeat; }
textarea { resize: vertical; min-height: 6rem; }
.optional, .form-note { color: var(--muted); font-weight: 400; }
.form-note { font-size: .92rem; margin: 0 0 1.1rem; }
.form-status { font-size: .98rem; font-weight: 550; margin: .9rem 0 0; color: var(--ink); }
.form-status:empty, .trap { display: none; }
.form-status[data-error="true"] { color: #9a3029; }
.footer { background: var(--ink); color: #ecf2de; }
.footer-inner { min-height: 6.2rem; justify-content: space-between; gap: 1.1rem; padding-block: 1.6rem; }
.footer-inner > span { font-size: .93rem; }
@media (max-width: 53rem) {
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .training-layout, .contact { gap: 2rem; }
  .training-photo { aspect-ratio: 1; }
}
@media (max-width: 42rem) {
  .masthead { min-height: 4.3rem; gap: .6rem; flex-wrap: wrap; padding-block: .7rem; }
  .masthead nav { gap: .85rem; }
  .nav-link { font-size: .9rem; }
  .nav-enquiry { font-size: .86rem; padding: .55rem .7rem; min-height: 2.45rem; }
  .hero { min-height: 31rem; padding-block: 3.75rem; }
  .hero-content { align-self: end; }
  .hero-image img { object-position: 62% center; }
  .hero::after { background: linear-gradient(0deg,rgba(13,27,20,.92),rgba(15,31,22,.74) 52%,rgba(21,37,27,.42) 100%); }
  h1 { font-size: clamp(2.65rem, 8.4vw, 3.65rem); }
  .section-head { display: block; }
  .section-head > p { margin-top: .9rem; }
  .training-layout, .contact { grid-template-columns: 1fr; }
  .training-photo { aspect-ratio: 1.72; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 31rem) {
  .masthead { flex-wrap: nowrap; }
  .nav-link { font-size: .93rem; padding-block: .3rem; }
  .nav-enquiry { display: none; }
  .hero-actions { gap: 1.15rem; }
  .service-grid { grid-template-columns: 1fr; gap: .55rem; }
  summary { flex-direction: row; align-items: center; gap: .9rem; padding: 1rem 2.3rem 1rem 1rem; }
  .summary-toggle { right: 1.02rem; top: calc(50% - .425rem); }
  .field-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
