/* Shared reading scale for the main PRA website. */
body {
  font-size: 1rem;
  line-height: 1.7;
}
h1,
h2 {
  letter-spacing: -0.035em;
}
h2,
.values h2,
.contact-intro h2,
.compliance-heading h2 {
  font-size: clamp(1.625rem, 2.6vw, 2rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.eyebrow,
.section-title .eyebrow,
dialog .eyebrow {
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1rem;
}
.utility {
  font-size: 0.75rem;
  line-height: 1.5;
}
header nav,
header nav.open,
.button,
.text-link,
.product-details {
  font-size: 0.875rem;
}
.button {
  min-height: 46px;
  line-height: 1.5;
}
.hero-brand h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.75rem);
  line-height: 1.1;
}
.hero-tagline {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 600;
}
.hero-description {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 29rem;
}
.hero-categories {
  font-size: 0.875rem;
  line-height: 1.8;
  white-space: normal;
}
.hero-caption > span {
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.hero-caption p {
  font-size: 1.375rem;
  line-height: 1.4;
}
.hero-controls #hero-pause {
  font-size: 0.875rem;
  width: 58px;
}
.hero-controls span {
  font-size: 0.75rem;
}
.about-copy > p:not(.eyebrow),
.section-title > p:not(.eyebrow),
.product-info p,
.values-grid p,
.capability p,
.customer-heading p:not(.eyebrow),
.customer p,
.partnership-copy p:not(.eyebrow),
.contact-intro p:not(.eyebrow),
.compliance-heading p:not(.eyebrow),
.form-heading p,
dialog p,
dialog li {
  font-size: 1rem;
  line-height: 1.75;
}
.image-label span,
.product-image > span {
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.image-label strong {
  font-size: 1.25rem;
  line-height: 1.4;
}
.product-info h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.product-info {
  padding: 1.5rem;
}
.values-grid h3 {
  font-size: 1.375rem;
  line-height: 1.35;
}
.values-grid .value-intro {
  font-size: 1.0625rem;
  line-height: 1.6;
}
.capability h3,
.customer h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.capability {
  padding: 1.75rem 1.25rem;
  gap: 1rem;
}
.customer {
  padding: 1.5rem 1rem;
}
.customer-grid {
  align-items: stretch;
}
.partnership-quote p {
  font-size: 1.25rem;
  line-height: 1.7;
  letter-spacing: -0.02em;
}
.partnership-quote > div {
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.contact-categories span,
.atlas-category,
.atlas-category-label {
  font-size: 0.875rem;
  line-height: 1.5;
}
.contact-categories span {
  padding: 6px 11px;
}
.harvest-label strong {
  font-size: 1.125rem;
  line-height: 1.5;
  text-align: center;
}
.harvest-options {
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
}
.harvest-options p {
  font-size: 0.875rem;
  line-height: 1.5;
}
.harvest-options small {
  font-size: 0.75rem;
  line-height: 1.5;
}
.harvest-options #produce-pause {
  font-size: 0.875rem;
  min-height: 40px;
}
.availability {
  font-size: 0.875rem;
  line-height: 1.65;
}

.form-heading h3 {
  font-size: 1.25rem;
  line-height: 1.4;
}
label {
  font-size: 0.875rem;
  line-height: 1.5;
}
input,
select,
textarea,
input::placeholder,
textarea::placeholder {
  font-size: 1rem;
  line-height: 1.6;
}
.form-bottom p,
#enquiry-status {
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer-bottom {
  font-size: 0.8125rem;
  line-height: 1.65;
  flex-wrap: wrap;
}
dialog h2 {
  font-size: 1.75rem;
  line-height: 1.3;
}
@media (max-width: 1100px) {
  header nav {
    gap: 18px;
  }
  .customer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .customer:last-child {
    grid-column: auto;
  }
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .capability:nth-child(n) {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .capability:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .capability:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}
@media (max-width: 760px) {
  header nav.open {
    font-size: 1rem;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    font-size: 0.875rem;
    padding: 12px 15px;
    gap: 14px;
  }
  .hero-categories {
    font-size: 0.8125rem;
  }
  .hero-caption p {
    font-size: 1.25rem;
  }
  .hero-caption > span {
    font-size: 0.75rem;
  }
  .customer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partnership-quote p {
    font-size: 1.125rem;
  }
  .harvest-options p {
    max-width: none;
    font-size: 0.8125rem;
  }

  .footer-bottom {
    font-size: 0.8125rem;
  }
}
@media (max-width: 600px) {
  .capability-grid,
  .customer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .capability {
    display: flex;
    gap: 18px;
    padding: 24px 0;
  }
  .capability:nth-child(n) {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .capability:last-child {
    border-bottom: 0;
  }
  .capability h3 {
    margin-top: 0;
  }
  .customer:last-child {
    grid-column: auto;
  }
  .customer {
    padding: 24px;
  }
  .hero-brand {
    gap: 10px;
  }
  .hero-tagline {
    font-size: 1.1875rem;
  }
  .form-heading p {
    margin-top: 8px;
  }
}

/* Keep the original icon geometry, with stronger, subject-specific colours. */
.line-icon {
  stroke: var(--icon-color, #285e98);
  stroke-width: 2.6;
}
.line-icon .accent {
  stroke: var(--icon-accent, var(--icon-color, #285e98));
  stroke-width: 2.8;
}
.icon-sprout {
  --icon-color: #347b37;
  --icon-accent: #8c683d;
}
.icon-factory {
  --icon-color: #426b89;
  --icon-accent: #d88a27;
}
.icon-quality {
  --icon-color: #237d70;
  --icon-accent: #3c984c;
}
.icon-box {
  --icon-color: #b37a29;
  --icon-accent: #ce963b;
}
.icon-snow {
  --icon-color: #258fc2;
  --icon-accent: #67b8db;
}
.icon-globe {
  --icon-color: #286ba9;
  --icon-accent: #379575;
}
.icon-food {
  --icon-color: #bb6b2b;
  --icon-accent: #71943c;
}
.icon-serve {
  --icon-color: #2b847c;
  --icon-accent: #bc8a30;
}
.icon-cart {
  --icon-color: #416fa7;
  --icon-accent: #3a9670;
}

.footer-layout {
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.65fr 1fr 0.75fr;
  gap: 2rem;
  align-items: start;
}
.footer-layout > div,
.footer-layout > nav {
  min-width: 0;
}
.footer-brand-block .footer-brand {
  width: 165px;
  margin-bottom: 1rem;
}
.footer-brand-block p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #60768d;
  margin: 0;
  max-width: 16rem;
}
.footer-layout h3 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
}
.footer-address-block address {
  font-size: 0.875rem;
  font-style: normal;
  line-height: 1.8;
  color: #526b83;
}
.footer-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}
.footer-contact-methods dt {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #62788e;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}
.footer-contact-methods dd {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  color: #244d7a;
  overflow-wrap: anywhere;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}
.footer-nav h3 {
  margin-bottom: 0.375rem;
}
.footer-nav a {
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-nav [hidden] {
  display: none;
}
.footer-layout a:not(.brand) {
  text-underline-offset: 3px;
}
.footer-layout a:not(.brand):hover {
  text-decoration: underline;
}
.footer-bottom {
  align-items: center;
  margin-top: 2rem;
  gap: 1rem 2rem;
}
@media (max-width: 1000px) {
  .footer-layout {
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem 2.5rem;
  }
}
@media (max-width: 600px) {
  .footer-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  .footer-brand-block p {
    max-width: 22rem;
  }
  .footer-layout h3 {
    margin-bottom: 0.75rem;
  }
  .footer-nav {
    gap: 0.625rem;
  }
  .footer-bottom {
    align-items: flex-start;
    gap: 0.875rem;
    margin-top: 1.75rem;
  }
}

/* Scale the full hero tagline to its available width without wrapping. */
.hero-copy {
  container-type: inline-size;
}
.hero-copy .hero-tagline {
  font-size: clamp(0.5625rem, 3.65cqi, 1rem);
  white-space: nowrap;
  line-height: 1.45;
}

/* Compliance heading with an unboxed, caption-free logo strip. */
.compliance {
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}
.compliance-window {
  padding: 4px 0;
}
.compliance-logo {
  height: 104px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 12px 16px;
  gap: 0;
}
.compliance-logo img {
  width: 154px;
  height: 80px;
  object-fit: contain;
}

.back-to-top {
  position: fixed;
  right: 0;
  bottom: clamp(24px, 8vh, 80px);
  z-index: 25;
  width: 48px;
  height: 88px;
  padding: 0 0 0 7px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 45%);
  border-right: 0;
  border-radius: 88px 0 0 88px;
  background: rgb(11 45 103 / 58%);
  color: white;
  box-shadow: -4px 3px 16px rgb(11 45 103 / 15%);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}
.back-to-top[hidden] {
  display: none;
}
.back-to-top:hover {
  background: rgb(11 45 103 / 80%);
}
.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 600px) {
  .back-to-top {
    width: 44px;
    height: 80px;
  }
}
@media (max-width: 600px) {
  .compliance-logo {
    height: 96px;
    width: 164px;
    padding: 12px;
  }
  .compliance-logo img {
    width: 140px;
    height: 72px;
  }
}
