/* Wyrd (wyrdcorp.com): static rebuild of the Squarespace site, Nov 2026.
   Colours, type scale and spacing are taken from the live site's computed styles (capture/meta/styles-*.json). */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-variable.woff2") format("woff2"); }

:root {
  --dark: #1d231c;        /* rgb(29, 35, 28)   dark sections */
  --light: #e1dfd9;       /* rgb(225, 223, 217) light sections, nav text, hero heading */
  --green: #209d50;       /* rgb(32, 157, 80)  accent: headings, buttons, links */
  --black: #000;
  --white: #fff;
  --gutter: 57.6px;       /* 4vw at 1440 */
  --header-h: 137px;
  --font-body: "Poppins", sans-serif;
  --font-head: "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--dark); color: var(--white); font: 400 16px/1.5 var(--font-body); }
body.page-contact { background: var(--light); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h3, h4 { font-family: var(--font-head); font-weight: 500; margin: 0; }
h1 { font-size: 66.4px; line-height: 1.056; letter-spacing: -0.02em; color: var(--green); }
h3 { font-size: 36.16px; line-height: 1.1424; letter-spacing: -0.02em; color: var(--green); }
h4 { font-size: 26.08px; line-height: 1.1712; letter-spacing: -0.02em; color: var(--green); }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--green); color: var(--white); text-decoration: none; }
.skip-link:focus { top: 8px; }

/* Buttons: green outline, filled on hover (as on the live site) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 20.8px; border: 1px solid var(--green); background: transparent; color: var(--green);
  font: 400 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--green); color: var(--white); }
.btn--wide { width: 267px; height: 68px; }

/* Header: overlays the top of the page, with Squarespace's white-to-transparent gradient at 45% */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; color: var(--light); }
.site-header::before {
  content: ""; position: absolute; inset: 0; height: var(--header-h); pointer-events: none;
  background: linear-gradient(#fff, rgba(0, 0, 0, 0)); opacity: .45;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}
.site-header__inner {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); padding: 38.88px var(--gutter);
}
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--light); text-decoration: none; line-height: 24px; padding: 1.6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background-size: 100% 1px; }
.site-logo img { width: 50px; height: 50px; }
.site-header__actions { justify-self: end; }
.site-header__actions .btn { height: 59px; }
/* On the light Contact page the original nav text (#e1dfd9) is nearly invisible; use the dark colour there. */
.page-contact .site-nav a { color: var(--dark); }

.burger { display: none; position: relative; width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--light); justify-self: end; }
.burger__line { position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.burger__line:nth-child(2) { top: 13px; }
.burger__line:nth-child(3) { top: 22px; }
.page-contact .burger { color: var(--dark); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--light); padding: 84px 23.4px 23.4px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: auto 0; }
.mobile-menu__nav a { color: var(--black); text-decoration: none; font-size: 36px; line-height: 1.3; }
.mobile-menu__cta { width: 210px; height: 63px; font-size: 20px; margin-bottom: 0; }

.site-header[data-nav-open="true"] { color: var(--black); }
.site-header[data-nav-open="true"] .site-header__inner::before { content: none; }
.site-header[data-nav-open="true"]::before { opacity: 0; }
.site-header[data-nav-open="true"] .burger { color: var(--black); }
.site-header[data-nav-open="true"] .burger__line:nth-child(2) { top: 17px; transform: rotate(45deg); }
.site-header[data-nav-open="true"] .burger__line:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* Home: hero */
.hero { padding: var(--header-h) var(--gutter) var(--gutter); }
.hero__media { position: relative; height: 732px; overflow: hidden; background: var(--dark); }
.hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); } /* Squarespace image overlay, measured at 50% */
.hero__content { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 108px; text-align: center; }
.hero__title { color: var(--light); }

/* Home: "Jacks of all trades" */
.feature__inner { display: grid; grid-template-columns: 657fr 122fr 490fr 56fr; padding: 39px var(--gutter) 0; min-height: 818px; }
.feature__media { grid-column: 1; }
.feature__media picture, .feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media img { min-height: 778px; }
.feature__text { grid-column: 3; align-self: center; padding: 162px 0 0; }
.feature__text h1 { margin-bottom: 14px; }
.feature__text p { margin-bottom: 100px; }

/* Footer band */
.site-footer { background: var(--dark); color: var(--light); }
.site-footer__inner { display: grid; grid-template-columns: 824fr 66fr 212fr 11fr 212fr; padding: 79px var(--gutter) 40px; align-items: start; }
.site-footer__cta { grid-column: 1; }
.site-footer__col:nth-of-type(1) { grid-column: 3; }
.site-footer__col:nth-of-type(2) { grid-column: 5; }
.site-footer__col h4 { margin-bottom: 27px; }
.site-footer__col p { margin: 0; }
.site-footer a, .contact a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-footer a:hover, .contact a:hover { opacity: .8; }

/* Contact page */
.contact { background: var(--light); color: var(--black); }
.contact__inner { display: grid; grid-template-columns: 546fr 177fr 601fr; padding: 176px var(--gutter) 79px; }
.contact__text { grid-column: 1; padding-top: 19px; }
.contact__text h1 { color: var(--black); margin-bottom: 30px; }
.contact__text > p:first-of-type { margin-bottom: 16px; }
.contact__text > p:nth-of-type(2) { margin-bottom: 112px; }
.contact__media { grid-column: 3; }
.contact__media img { width: 100%; height: 807px; object-fit: cover; }

.contact-form { max-width: 546px; }
.contact-form fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.contact-form legend { padding: 0 0 4px; line-height: 24px; }
.form-field__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.form-field { display: block; margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; line-height: 27px; }
.form-label--lg { font-size: 16px; line-height: 24px; padding-bottom: 4px; }
.form-req { font-size: 14.272px; opacity: .7; margin-left: 4px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  display: block; width: 100%; margin: 0; padding: 5px 0; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .6); border-radius: 0;
  background: transparent; color: var(--black); font: 400 16px/24px var(--font-body);
}
.contact-form textarea { height: 100px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.contact-form [aria-invalid="true"] { border-bottom-color: #d02e2e; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn--submit { height: 59px; }
.btn--submit[disabled] { opacity: .6; cursor: progress; }
.form-status { display: block; margin: 0 0 12px; padding: 8px 12px; background: #d02e2e; color: var(--white); font-size: 14px; line-height: 1.5; }
.form-status[hidden] { display: none; }
.form-status a { color: var(--white); }
.form-success p { font-size: 16px; margin: 0; }
.form-success:focus { outline: none; }

/* 404 */
.notfound { min-height: 70vh; padding: calc(var(--header-h) + 80px) var(--gutter) 80px; }
.notfound__inner { max-width: 720px; }
.notfound h1 { margin-bottom: 24px; }
.notfound p { margin-bottom: 32px; }

/* Tablet and phone (Squarespace switches to the mobile header below 768px) */
@media (max-width: 767px) {
  :root { --gutter: 23.4px; --header-h: 84px; }
  h1 { font-size: 46.384px; }
  h3 { font-size: 28.15px; }
  h4 { font-size: 22.08px; }
  .site-header__inner { grid-template-columns: 1fr auto; padding: 23.4px; }
  .site-nav, .site-header__actions { display: none; }
  .site-logo { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-logo img { width: 30px; height: 30px; }
  .burger { display: block; grid-column: 2; grid-row: 1; }
  .hero { padding: var(--header-h) 15.6px 15.6px; }
  .hero__media { height: 896px; }
  .hero__content { padding: 0 23px; }
  .feature__inner { grid-template-columns: 1fr; padding: 70px var(--gutter) 70px; min-height: 0; }
  .feature__text { grid-column: 1; grid-row: 1; padding: 0; }
  .feature__text p { margin-bottom: 0; }
  .feature__text .btn--wide { width: 100%; height: 58px; margin: 12px 0 36px; }
  .feature__media { grid-column: 1; grid-row: 2; }
  .feature__media img { min-height: 0; aspect-ratio: 343 / 453; }
  .site-footer__inner { grid-template-columns: 1fr; padding: 35px var(--gutter) 60px; row-gap: 46px; }
  .site-footer__col:nth-of-type(1), .site-footer__col:nth-of-type(2) { grid-column: 1; }
  .site-footer__col h4 { margin-bottom: 20px; }
  .contact__inner { grid-template-columns: 1fr; padding: 120px var(--gutter) 60px; }
  .contact__text > p:nth-of-type(2) { margin-bottom: 16px; }
  .contact__media { grid-column: 1; margin-top: 48px; }
  .contact__media img { height: auto; aspect-ratio: 601 / 807; }
  .notfound { padding-top: calc(var(--header-h) + 48px); }
}

@media (max-width: 1100px) and (min-width: 768px) {
  .hero__content { padding: 0 48px; }
  h1 { font-size: 54px; }
}

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