@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f1ec;
  --paper-2: #e8e5de;
  --studio: #ebe9e3;
  --ink: #15181b;
  --ink-soft: #454b52;
  --muted: #6c727a;
  --line: #d8d4cb;

  /* Dark sections */
  --steel: #16191d;
  --steel-2: #1f2328;
  --steel-deep: #0f1114;
  --steel-line: rgba(255, 255, 255, 0.14);
  --on-dark: #f2f1ee;
  --on-dark-soft: #b9bdc2;

  /* Paint red of the group's European implements, yellow from their decal */
  --red: #c8202a;
  --red-deep: #a3171f;
  --red-light: #f0605a;
  --yellow: #f2b705;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --header: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 106%;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  flex: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(22, 25, 29, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--steel-line);
  color: var(--on-dark);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 750;
  font-stretch: 104%;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--on-dark-soft);
}

.nav a:hover {
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button-primary {
  background: var(--red);
  color: #fff;
}

.button-primary:hover {
  background: var(--red-deep);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.button-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.nav .button {
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
}

/* Hero: hero.jpg is an atmosphere shot; until it exists the gradient underneath shows */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: min(880px, calc(100svh - var(--header)));
  background: var(--steel);
  color: var(--on-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(14, 16, 19, 0.9) 0%, rgba(14, 16, 19, 0.7) 40%, rgba(14, 16, 19, 0.12) 75%, rgba(14, 16, 19, 0) 100%),
    linear-gradient(0deg, rgba(14, 16, 19, 0.85) 0%, rgba(14, 16, 19, 0) 40%),
    url("img/hero.jpg"),
    radial-gradient(ellipse at 78% 30%, #4a2b22 0%, #23211f 45%, #16191d 80%);
  background-size: cover;
  background-position: center, center, 70% center, center;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.hero-inner > * {
  max-width: 780px;
}

.hero .eyebrow {
  color: var(--red-light);
}

.hero h1 {
  font-size: clamp(40px, 5.8vw, 76px);
  font-stretch: 108%;
  line-height: 1;
  margin: 20px 0 24px;
}

.hero .lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: #d3d6d9;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  border-top: 1px solid var(--steel-line);
  background: rgba(14, 16, 19, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-facts li {
  padding: 24px 24px 28px;
  border-left: 1px solid var(--steel-line);
}

.hero-facts li:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-facts li::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--red);
  margin-bottom: 16px;
}

.hero-facts strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 800;
  font-stretch: 106%;
  line-height: 1.05;
  white-space: nowrap;
  color: #fff;
  margin-bottom: 6px;
}

.hero-facts span {
  display: block;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--on-dark-soft);
}

/* Sections */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2,
.plant h2,
.contact h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  margin-top: 14px;
}

.section-head > p {
  color: var(--ink-soft);
  max-width: 36em;
}

/* Machinery: product photos are cut-outs on white, multiply turns the white into the panel colour */

.lines {
  display: grid;
  gap: clamp(64px, 8vw, 112px);
}

.line {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.line-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.shot {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  background: var(--studio);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot img {
  position: absolute;
  top: 13%;
  left: 7%;
  width: 86%;
  height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.line-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px clamp(32px, 5vw, 72px);
  align-items: start;
}

.line-body .specs {
  margin-top: 0;
}

.shot figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  border-radius: 4px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.line-no {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--red);
}

.line-no::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.line h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin: 16px 0 12px;
}

.line-intro > p:not(.line-no) {
  color: var(--ink-soft);
  max-width: 34em;
}

.specs {
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}

.specs div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.45;
}

.specs dt {
  color: var(--muted);
  font-weight: 500;
}

.specs dd {
  margin: 0;
  font-weight: 550;
}

.more {
  display: inline-flex;
  margin-top: 22px;
  padding-bottom: 2px;
  border-bottom: 2px solid currentColor;
  font-size: 15px;
  font-weight: 650;
  color: var(--red);
  text-decoration: none;
}

.more::after {
  content: "\2192";
  margin-left: 8px;
  transition: transform 0.15s ease;
}

.more:hover::after {
  transform: translateX(3px);
}

/* Harvest */

.harvest {
  background: var(--steel);
  color: var(--on-dark);
}

.harvest .eyebrow {
  color: var(--red-light);
}

.harvest .section-head > p {
  color: var(--on-dark-soft);
}

.harvest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
}

.harvest-item {
  background: var(--steel-2);
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  padding: 26px;
}

.harvest-feature {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.harvest-feature > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.harvest-text {
  padding: 26px;
}

.harvest-item .cutout {
  width: 70%;
  max-width: 300px;
  height: auto;
  margin: -4px auto 12px;
}

.harvest-item h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

.harvest-item p {
  color: var(--on-dark-soft);
  font-size: 16px;
}

.harvest-item .numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.harvest-item .numbers li {
  font-size: 13.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #e7e4dc;
}

/* Plant */

.plant .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.plant h2 {
  margin-bottom: 24px;
}

.plant p + p {
  margin-top: 16px;
}

.plant p {
  color: var(--ink-soft);
}

.plant figure {
  margin: 0;
}

.plant img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.plant figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

/* Ireland: ireland.jpg sits under a dark overlay; the gradient is the fallback */

.ireland {
  position: relative;
  isolation: isolate;
  background: var(--steel);
  color: var(--on-dark);
}

.ireland-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(14, 16, 19, 0.82) 0%, rgba(14, 16, 19, 0.55) 100%),
    url("img/ireland.jpg"),
    linear-gradient(135deg, #1f2b25 0%, #16191d 70%);
  background-size: cover;
  background-position: center;
}

.ireland .eyebrow {
  color: var(--red-light);
}

.ireland .section-head > p {
  color: #d3d6d9;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-top: 22px;
  border-top: 2px solid rgba(255, 255, 255, 0.28);
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1;
  color: var(--red-light);
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #fff;
}

.steps p {
  color: var(--on-dark-soft);
  font-size: 16px;
}

/* Contact */

.contact .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact h2 {
  margin-bottom: 20px;
}

.contact .intro {
  color: var(--ink-soft);
  max-width: 30em;
}

.contact-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 32px;
}

.contact-card {
  background: var(--steel);
  color: #fff;
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
}

.contact-card dl {
  margin: 0;
}

.contact-card div {
  padding: 18px 0;
  border-bottom: 1px solid var(--steel-line);
}

.contact-card div:first-child {
  padding-top: 0;
}

.contact-card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-card dt {
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 6px;
}

.contact-card dd {
  margin: 0;
  font-size: 18px;
}

/* Placeholder for data the client has not given us yet */
.ph {
  display: inline-block;
  padding: 1px 10px;
  border: 1.5px dashed currentColor;
  border-radius: 6px;
  opacity: 0.75;
  font-size: 0.92em;
  font-weight: 500;
}

/* Footer */

.site-footer {
  background: var(--steel-deep);
  padding: 32px 0 40px;
  font-size: 14px;
  color: var(--on-dark-soft);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}

.site-footer p {
  max-width: 46em;
}

/* Responsive */

@media (max-width: 1020px) {
  .harvest-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .harvest-feature {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .hero-facts ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .hero-facts li:nth-child(n + 3) {
    border-top: 1px solid var(--steel-line);
  }
}

@media (max-width: 860px) {
  .nav a:not(.button) {
    display: none;
  }

  .section-head,
  .line-body,
  .plant .wrap,
  .contact .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    background-image:
      linear-gradient(0deg, rgba(14, 16, 19, 0.92) 0%, rgba(14, 16, 19, 0.72) 50%, rgba(14, 16, 19, 0.4) 100%),
      url("img/hero.jpg"),
      radial-gradient(ellipse at 78% 20%, #4a2b22 0%, #23211f 45%, #16191d 80%);
    background-position: center, 86% center, center;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .harvest-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  :root {
    --header: 60px;
  }

  body {
    font-size: 16px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-name small {
    display: none;
  }

  .nav .button {
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    min-height: 0;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-facts li {
    padding: 18px 12px 20px;
  }

  .hero-facts li:nth-child(odd) {
    padding-left: 0;
  }

  .hero-facts strong {
    font-size: 22px;
  }

  .hero-facts span {
    font-size: 13.5px;
  }

  .line-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .specs div {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .harvest-item,
  .harvest-text {
    padding: 22px;
  }
}
