/*
Theme Name: Via Farma theme (WPConvert)
Theme URI: https://wpconvert.ai
Author: WPConvert.ai
Author URI: https://wpconvert.ai
Description: This theme was automatically generated from your original site design using WPConvert.ai. It preserves your layout, colors, typography, header, footer, and page content, and makes it editable in WordPress.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpconvert
Tags: landing page, responsive, custom header, custom footer
*/

/* External Stylesheets - @import statements MUST come before any CSS rules */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Urbanist:wght@300;400;500;600&display=swap');

/* CSS Variables */
/* Inline Styles */

/* Extracted CSS from page */
:root {
  --black: #000000;
  --ink: #10100d;
  --cream: #f2ecdc;
  --cream-2: #ebe3cf;
  --paper: #fbfaf5;
  --gold: #C9A84C;
  --gold-dark: #ad9038;
  --line: #d8d0ba;
  --muted: #686355;
  --display: 'Playfair Display', Georgia, serif;
  --sans: 'Urbanist', sans-serif;
  --side-padding: 6vw;
}

html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: #2a2a26;
  border: 2px solid var(--ink);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Firefox scrollbar support */
* {
  scrollbar-width: thin;
  scrollbar-color: #2a2a26 var(--ink);
}

@media (max-width: 767px) {
  :root {
    --side-padding: 1rem;
  }
}

.page-width {
  margin-inline: auto;
  max-width: 1600px;
  padding-inline: 1rem;
}

@media (width >=768px) {
  .page-width {
    padding-inline: 4rem;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
}
input {
	accent-color: var(--gold);
}
p,
span,
a,
label,
li,
input,
textarea,
address,
dt,
dl {
  font-family: var(--sans) !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

.topline {
  padding: 10px var(--side-padding);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  background: var(--black);
  color: rgb(255, 255, 255);
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.topline p {
  margin: 0px;
  font-weight: 300;
}

.topline a.topline-cta {
  color: var(--gold) !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.topline a.topline-cta:hover {
  color: #FFFFFF !important;
}

.topline-phone {
  display: none;
  color: var(--gold) !important;
  font-weight: 600;
}

@media (max-width: 767px) {

  .topline-text,
  .topline-cta {
    display: none !important;
  }

  .topline-phone {
    display: block !important;
  }

  .topline {
    justify-content: center !important;
  }
}

.topline span {
  margin-left: 18px;
}

.hero {
  min-height: 668px;
  padding-top: 160px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(2, 4, 4, 0.58), rgba(2, 4, 4, 0.58)),
    url('hero-image.jpg') center bottom / cover no-repeat;
}
.hero::after {
	background: linear-gradient(rgba(2, 4, 4, 0.58), rgba(2, 4, 4, 0.58));
	position: absolute;
	width: 100%;
	height: 100vh !important;
	content: "";
	left: 0;
	top: 0;
	z-index: -1;
}
.nav {
  width: calc(100% - (2 * var(--side-padding)));
  height: 82px;
  margin: 0px auto;
  padding: 0px 52px;
  border-radius: 12px;
  background: rgba(250, 247, 240, 0.95);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 18px;
  font-weight: 600;
}

.nav-logo img {
  width: 150px;
  height: auto;
}

.nav-phone {
  justify-self: end;
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
}

.nav-phone::before {
  content: '○';
  margin-right: 9px;
  color: var(--gold);
}

.hero-copy {
  margin-top: 42px;
  text-align: right;
  color: #fff;
}

.hero-copy h1,
h2,
h3,
h4,
h5,
h6,
dd {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(66px, 6.35vw, 104px);
  line-height: 0.9;
  font-weight: 500;
}

em {
  color: var(--gold);
  font-style: italic;
  white-space: normal;
}

.hero-copy p {
  max-width: 670px;
  margin: 24px 0 0 auto;
  font-size: 22px;
  line-height: 1.14;
  font-weight: 400;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  justify-content: flex-end;
  gap: 38px;
}

.button {
  height: 45px;
  min-width: 164px;
  padding: 17px 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  align-self: flex-start;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  color: #fff !important;
}

.button:hover {
  background-size: 100% 100%;
}

.button-gold {
	background-color: var(--gold);
	background-image: linear-gradient(var(--black), var(--black));
	border: 1px solid var(--gold);
}

.button-black {
  background-color: var(--black);
  background-image: linear-gradient(var(--gold), var(--gold));
}
.button-gold:hover {
	color: #fff !important;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--black);
}

@media (max-width: 980px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats article {
    border-bottom: 1px solid rgb(41, 41, 41);
    min-height: 200px;
  }

  .stats article:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 480px) {
  .stats strong {
    font-size: 42px !important;
  }

  .stats span {
    font-size: 12px !important;
    letter-spacing: 0.2em !important;
  }
}

.stats article {
  min-height: 236px;
  padding: 32px 24px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgb(41, 41, 41);
  transition: background 0.4s ease;
  cursor: pointer;
}

.stats article:hover {
  background: var(--gold);
}

.stats article:last-child {
  border-right: none;
}

.stats strong {
  color: var(--gold);
  font-family: var(--display) !important;
  font-size: clamp(72px, 7vw, 70px);
  font-weight: 400;
  line-height: 0.8;
  transition: color 0.4s ease;
}

.stats article:hover strong {
  color: var(--black);
}

.stats span {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.4s ease;
  text-align: center;
}

.stats article:hover span {
  color: var(--black);
}

.intro-grid,
.feature-split,
.gallery-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.panel-cream,
.intro-copy,
.feature-copy,
.process-lead,
.process-list,
.purpose-copy {
  padding: 78px var(--side-padding);
}

@media (min-width: 981px) {

  .intro-copy,
  .feature-copy,
  .spec-card,
  .purpose-copy,
  .process-lead,
  .process-list,
  .contact-copy,
  .contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .intro-image img,
  .feature-image img,
  .purpose figure img {
    max-height: 100vh;
    width: 100% !important;
    object-fit: cover !important;
  }
}

.eyebrow {
  margin: 0px 0px 28px;
  font-size: 18px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-right: 12px;
  display: inline-block;
  vertical-align: 1px;
  background: currentcolor;
}
@media (max-width: 375px) {
  .eyebrow::before {
    display: none!important;
  }
}
.eyebrow.gold {
  color: var(--gold);
}

.eyebrow.dark {
  color: var(--black);
}

.eyebrow.light {
  color: rgb(255, 255, 255);
}

.process-lead h2,
.process-list h2,
.purpose-copy h2 {
  margin: 0px 0px 55px;
  font-size: 45px;
  line-height: 0.96;
}

.process-lead p,
.purpose-copy p {
  max-width: 690px;
  margin: 0px 0px 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.48;
}

.process-lead .button {
  margin-top: 22px;
}

.purpose figure {
  margin: 0px;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.purpose figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.project-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 40%, rgb(255 255 255 / 74%) 100%);
  z-index: -1;
  pointer-events: none;
}

.project-strip h2 {
  margin: 0px 0px 10px;
  font-size: 45px;
}

.project-strip p {
  margin: 0px;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-strip .eyebrow {
  margin-bottom: 16px;
}

.feature-split {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: center;
  overflow: hidden;
}

.render-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.render-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-copy {
  padding: 80px var(--side-padding);
  display: flex;
  flex-direction: column;
}

.feature-copy .eyebrow {
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.feature-copy h2 {
  font-size: 45px;
  line-height: 1.05;
  margin: 0 0 38px;
  font-family: var(--display);
}

.feature-copy h2 em {
  display: block;
  font-size: 0.95em;
}

.feature-copy p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 0;
}

.rule-note {
  margin-top: 80px !important;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule-note span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--black);
  margin-right: 14px;
}

.belong-copy {
  min-height: 472px;
  padding: 70px var(--side-padding);
}

.belong-copy h2 {
  margin: 0px 0px 36px;
  font-size: 45px;
  line-height: 1.03;
}

.belong-copy p {
  max-width: 670px;
  margin: 0px 0px 34px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
}

.family-grid {
  min-height: 472px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  background: #fff;
}

.family-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.family-main {
  grid-row: span 2;
}

/* .process {
  background: var(--cream);
}
 */
.process-lead,
.process-list {
  background: var(--cream);
}

.process-lead {
  border-right: 1px solid var(--line);
}

.process-lead h2,
.contact-copy h2 {
  font-size: 45px;
  line-height: 1.05;
}

.process-list {
  background: var(--cream-2);
}

.process-list h2 {
  margin-bottom: 26px;
  font-size: 45px;
}

.process-list ol {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 28px;
  padding: 18px 0px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.34);
}

.process-list li span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 18px;
}

.process-list h3 {
  margin: 0px 0px 7px;
  font-family: var(--display);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
}

.process-list p {
  margin: 0px;
  color: var(--muted);
  font-size: 18px;
}

.purpose {
  background: var(--paper);
}

.purpose figure {
  min-height: 465px;
}

.purpose-copy {
  position: relative;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.purpose-copy>img {
  position: absolute;
  top: 58px;
  right: 8vw;
  width: 275px;
  opacity: 0.16;
}

.purpose-copy h2 {
  margin-bottom: 34px;
  font-size: 45px;
}

.founders {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.founders a {
  min-height: 186px;
  padding: 32px 120px 32px var(--side-padding) !important;
  position: relative;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founders a:last-child {
  border-right: 0px;
}

.founders strong {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 400;
}

.founders span {
  margin-top: 18px;
  color: var(--muted);
  font-size: 24px;
}

.founders b {
  width: 82px !important;
  height: 82px !important;
  position: absolute !important;

  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #000000 !important;
  border-radius: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='51' height='51' viewBox='0 0 51 51' fill='none'%3E%3Cpath d='M50.6266 2.8125V39.375C50.6266 40.1209 50.3303 40.8363 49.8028 41.3637C49.2754 41.8912 48.56 42.1875 47.8141 42.1875C47.0681 42.1875 46.3528 41.8912 45.8253 41.3637C45.2979 40.8363 45.0016 40.1209 45.0016 39.375V9.60117L4.80391 49.8023C4.27617 50.3301 3.5604 50.6266 2.81406 50.6266C2.06773 50.6266 1.35196 50.3301 0.82422 49.8023C0.296481 49.2746 0 48.5588 0 47.8125C0 47.0662 0.296481 46.3504 0.82422 45.8227L41.0254 5.625H11.2516C10.5056 5.625 9.79027 5.32868 9.26283 4.80124C8.73538 4.27379 8.43906 3.55842 8.43906 2.8125C8.43906 2.06658 8.73538 1.35121 9.26283 0.823763C9.79027 0.296317 10.5056 0 11.2516 0H47.8141C48.56 0 49.2754 0.296317 49.8028 0.823763C50.3303 1.35121 50.6266 2.06658 50.6266 2.8125Z' fill='white'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 38px !important;
  transition: all 0.3s ease !important;
}

.founders a:hover b {
  scale: 1.05;
}

.values {
  padding: 66px var(--side-padding) 70px;
  background: var(--black);
}

.values-inner {
  width: 100%;
  margin: 0px auto;
  background: rgb(36, 36, 33);
}

.values article {
  min-height: 228px;
  padding: 34px 48px;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease !important;
  border-bottom: 1px solid transparent !important;
}

.values article:hover {
  background: #343432 !important;
  border-bottom: 1px solid var(--gold) !important;
}

.values span {
  position: absolute;
  right: 28px;
  top: 10px;
  color: rgba(201, 169, 70, 0.12) !important;
  font-family: var(--display) !important;
  font-size: 110px !important;
  line-height: 1 !important;
  pointer-events: none;
  transition: all 0.3s ease !important;
}

.values article:hover span {
  color: rgba(201, 169, 70, 0.22) !important;
}

.values h3 {
  margin: 0px 0px 28px;
  color: rgb(255, 255, 255);
  font-family: var(--display);
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
}

.values p {
  margin: 0px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.42;
}

.contact {
  background: var(--paper);
}

.contact-copy {
  padding-top: 92px;
  padding-bottom: 88px;
}

.contact-copy h2 {
  margin-bottom: 34px;
}

address {
  margin-top: 82px;
  font-style: normal;
}


.contact-form {
  padding: 92px 4.5vw 88px 3vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form h2 {
  margin: 0px 0px 34px;
  font-size: 45px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 164%;
  color: #000000;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  min-height: 47px;
  padding: 12px 14px;
  font: inherit;
}

textarea {
  min-height: 155px;
  resize: vertical;
}

.contact-form .button {
  width: 100%;
}

.footer {
  background: var(--black);
  color: rgb(255, 255, 255);
  text-align: center;
  margin: 0;
  padding: 0;
}

.footer img {
  width: 300px;
  margin: 0px auto;
  padding: 72px 0px 58px;
}

.footer-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 0 var(--side-padding);
}

.footer-nav .row {
  align-items: center;
  justify-content: space-between !important;
}

.footer-nav .col {
  padding: 18px 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

.footer-nav .col:first-child {
  text-align: left !important;
}

.footer-nav .col:last-child {
  border-right: 0px;
  text-align: right !important;
}


.footer-nav a {
  color: rgba(255, 255, 255, 0.6) !important;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #B8973E !important;
}

.footer-bottom {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--side-padding);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}

.footer-bottom p {
  margin: 0px;
}

.footer-bottom a {
  margin-left: 34px;
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #B8973E !important;
}

@media (max-width: 980px) {
  .topline {
    height: auto;
    padding: 10px 20px;
    flex-direction: column;
    gap: 4px;
  }

  .hero {
    min-height: 720px;
  }

  .nav {
    width: calc(100% - 28px);
    height: auto;
    min-height: 92px;
    padding: 14px 20px;
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }

  .nav-phone {
    justify-self: center;
  }

  /* Collapse all multi-col grids to single column */
  .belong,
  .process,
  .purpose,
  .founders,
  .contact {
    grid-template-columns: 1fr;
  }

  .stats article {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgb(41, 41, 41);
  }

  .stats span {
    margin-top: 24px;
  }

  .panel-cream,
  .process-lead,
  .process-list,
  .purpose-copy,
  .contact-copy {
    padding: 56px 28px;
  }



  .footer img {
    width: 200px !important;
    padding: 40px 0 20px !important;
  }

  .footer-nav .row {
    flex-direction: column !important;
  }

  .footer-nav .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    text-align: center !important;
  }

  .footer-nav .col:last-child {
    border-bottom: none !important;
    text-align: center !important;
  }

  .footer-nav .col:first-child {
    text-align: center !important;
  }

  .footer-bottom {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 14px;
  }

  .footer-bottom a {
    margin: 0 12px;
  }

  .footer-bottom a:first-child {
    margin-left: 0 !important;
  }

  .footer-bottom a:last-child {
    margin-right: 0 !important;
  }

  /* Hero: centre instead of right-align */
  .hero-copy {
    width: calc(100% - 36px);
    margin: 58px auto 0;
    text-align: center;
  }

  .hero-copy p {
    margin: 24px auto 0;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  /* Process / Purpose: centre headings & text */
  .process-lead,
  .purpose-copy {
    text-align: center;
  }

  .process-lead h2,
  .purpose-copy h2 {
    font-size: 36px;
    text-align: center;
  }

  .purpose-copy .eyebrow {
    text-align: center;
  }

  /* Belong section */
  .belong-copy {
    text-align: center;
    padding: 56px 28px;
  }

  .belong-copy h2,
  .belong-copy p,
  .belong-copy .eyebrow {
    text-align: center;
  }

  .belong-copy .button {
    display: inline-block;
  }

  /* Process list: centre items */
  .process-list {
    text-align: center;
    padding: 56px 28px;
  }

  .process-list h2 {
    text-align: center;
    font-size: 36px;
  }

  .process-list ol li {
    text-align: center;
  }

  .process-list ol li h3,
  .process-list ol li p {
    text-align: center;
  }

  /* Purpose copy */
  .purpose-copy {
    text-align: center;
    padding: 56px 28px;
  }

  .purpose-copy .button {
    display: inline-block;
  }

  /* Founders: centre card content */
  .founders a {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .founders strong,
  .founders span {
    text-align: center;
    display: block;
  }

  /* Contact */
  .contact {
    grid-template-columns: 1fr !important;
  }

  .contact-copy,
  .contact-form {
    padding: 48px 24px !important;
  }

  .contact-copy h2,
  .contact-form h2 {
    text-align: center;
  }

  .contact-copy p,
  .contact-copy .eyebrow {
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form label {
    align-items: center;
    text-align: center;
  }

  .contact-form input,
  .contact-form textarea {
    text-align: center;
  }

  address {
    margin-top: 40px;
  }

  address div.contact-info-item {
    max-width: 100%;
    align-items: center;
  }

  address .contact-info-text span,
  address .contact-info-text p {
    text-align: left;
  }
}

@media (max-width: 620px) {

  .hero-actions,
  .form-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-actions {
    margin: 40px auto 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto !important;
  }

  .hero-copy {
    width: 100%;
    padding: 0 20px;
    margin: 40px 0 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
    box-sizing: border-box;
  }

  .hero-copy h1 {
    width: 100%;
    margin: 0 auto !important;
    font-size: clamp(32px, 10vw, 56px);
    text-align: center !important;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-copy p {
    width: 100%;
    margin: 20px auto 0 !important;
    font-size: 18px;
    text-align: center !important;
  }

  /* Prevent text overflow in all copy sections */
  .purpose-copy,
  .process-lead {
    overflow: hidden;
    text-align: center;
  }
  .purpose-copy h2,
  .process-list h2,
  .process-lead h2 {
    font-size: 32px!important;
  }
  .purpose-copy h2 {
    font-size: 32px !important;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
  }

  .purpose-copy p {
    text-align: center;
  }

  .family-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 240px);
  }

  .family-main {
    grid-row: auto;
  }



  /* Founders: centre card content */
  .founders article {
    text-align: center;
    padding: 40px 24px;
  }

  .founders strong {
    font-size: 32px;
    text-align: center;
  }

  .founders span {
    font-size: 18px;
    text-align: center;
  }

  .founders b {
    width: 58px !important;
    height: 58px !important;
    font-size: 0 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 28px !important;
    border-radius: 0 !important;
    background-color: #000000 !important;

    transform: none !important;
  }

  /* Contact */
  .contact-copy h2,
  .contact-form h2 {
    font-size: 30px !important;
    text-align: center;
  }

  address div.contact-info-item {
    max-width: 100%;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  address .contact-info-text span {
    font-size: 18px !important;
  }

  address div.contact-info-item::before {
    width: 36px !important;
    height: 36px !important;
  }
}

/* Remove text decorations from links and margins from Bootstrap columns */
a,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
  color: inherit !important;
}


