
/* =========================================
   FAGIO TECHNOLOGIES
   Building Technology. Creating Possibilities.
   ========================================= */

/* ROOT VARIABLES */

:root {
  --green: #a8e65b;
  --green-dark: #6b9e2e;
  --ink: #11140f;
  --muted: #72786f;
  --paper: #f6f7f2;
  --dark: #171d16;
  --white: #ffffff;
  --line: #e1e5dc;
  --font: 'DM Sans', sans-serif;
  --display: 'Space Grotesk', sans-serif;
}

/* RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 64px));
  margin: auto;
}

.section-pad {
  padding: 110px 0;
}

/* HEADINGS */

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -.065em;
}

h1 em,
h2 em {
  color: var(--green-dark);
  font-style: normal;
}

/* ANNOUNCEMENT */

.announcement {
  min-height: 34px;
  background: var(--dark);
  color: #dce5d7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 15px;
}

.announcement a {
  color: var(--green);
  margin-left: 10px;
}

.pulse {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #a8e65b22;
  flex-shrink: 0;
}

/* HEADER */

.site-header {
  height: 86px;
  background: #f6f7f2ee;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e5e8e0;
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.06em;
}

.brand small {
  display: block;
  font: 600 8px var(--font);
  letter-spacing: .2em;
  color: #899083;
  margin-top: 6px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 10px 10px 10px 2px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  font: 700 23px var(--display);
  transform: rotate(-8deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
  font-weight: 600;
}

.main-nav a:not(.button):hover {
  color: var(--green-dark);
}

#nav-toggle {
  display: none;
}

.menu-button {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 20px;
  background: var(--green);
  color: #11170c;
  border: 1px solid var(--green);
  font-weight: 700;
  font-size: 12px;
  transition: .25s;
  border-radius: 3px;
  cursor: pointer;
}

.button:hover {
  background: #baf27a;
  transform: translateY(-3px);
}

.small-button {
  padding: 12px 15px;
}

.outline-button {
  background: transparent;
  border-color: #a9b39f;
}

.outline-button:hover {
  background: var(--green);
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #aab1a3;
  padding-bottom: 6px;
  transition: .2s;
}

.text-link:hover {
  color: var(--green-dark);
}

/* GENERAL HEADINGS */

.eyebrow {
  color: #64705d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .19em;
  margin-bottom: 20px;
}

.eyebrow:before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 1px;
  background: var(--green-dark);
  vertical-align: middle;
  margin-right: 10px;
}

.eyebrow.light {
  color: #b5c2ae;
}

/* HERO */

.hero {
  padding-top: 90px;
  padding-bottom: 25px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 43%, #e9f1df 0, transparent 42%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 35px;
  min-height: 550px;
}

.hero h1 {
  font-size: clamp(55px, 6.5vw, 88px);
  line-height: .98;
  font-weight: 600;
  margin: 28px 0;
}

.hero h1 span {
  color: var(--green-dark);
}

.hero-lead {
  font-size: 17px;
  line-height: 1.6;
  max-width: 470px;
  font-weight: 500;
  margin-bottom: 15px;
}

.hero-sub {
  font-size: 13px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 55px;
  font-size: 10px;
  color: var(--muted);
}

.hero-proof strong {
  width: 34px;
  height: 34px;
  background: var(--dark);
  color: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 18px var(--display);
}

/* HERO ART */

.hero-art {
  height: 545px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  background-image: radial-gradient(#b5c1a9 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.art-orbit {
  position: absolute;
  border: 1px solid #c9d7bd;
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orbit-one {
  width: 480px;
  height: 300px;
}

.orbit-two {
  width: 390px;
  height: 460px;
  transform: rotate(52deg);
  border-style: dashed;
}

.art-core {
  width: 260px;
  height: 285px;
  background: var(--dark);
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 22px 24px 0 #c5d7b4;
  transform: rotate(-7deg);
  padding: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.core-top,
.core-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: .15em;
  color: #b9c8ae;
}

.core-top span:first-child {
  font: 700 24px var(--display);
  color: var(--green);
}

.core-symbol {
  font: 600 82px var(--display);
  color: var(--green);
  text-align: center;
}

.core-bottom {
  border-top: 1px solid #ffffff35;
  padding-top: 13px;
}

.float-card {
  position: absolute;
  z-index: 3;
  background: white;
  padding: 16px 18px;
  box-shadow: 0 14px 45px #1c2b1718;
  border: 1px solid #e8ede3;
  min-width: 143px;
}

.float-card span {
  color: var(--green-dark);
  font-size: 22px;
}

.float-card small {
  display: block;
  color: #87917e;
  font-size: 8px;
  letter-spacing: .18em;
  margin: 8px 0 5px;
}

.float-card strong {
  font: 600 16px/1.15 var(--display);
}

.card-code {
  left: 2%;
  top: 17%;
  transform: rotate(-7deg);
}

.card-ai {
  right: 1%;
  top: 23%;
  transform: rotate(6deg);
}

.card-growth {
  right: 6%;
  bottom: 13%;
  transform: rotate(-5deg);
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  font-size: 8px;
  letter-spacing: .18em;
  color: #7c8576;
}

.hero-bottom span:last-child {
  margin-left: auto;
}

.scroll-line {
  height: 1px;
  width: 65px;
  background: #aeb9a5;
}

/* INTRODUCTION */

.intro {
  background: white;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}

.intro h2,
.section-heading h2,
.why h2,
.team h2,
.contact h2 {
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 25px;
}

.intro-text {
  padding-top: 20px;
}

.large-copy {
  font: 500 21px/1.5 var(--display);
  margin-bottom: 18px;
}

.intro-text p:not(.large-copy) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 15px;
}

/* SERVICES */

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}

.section-heading > p {
  max-width: 365px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dce2d6;
  border-left: 1px solid #dce2d6;
}

.service-card {
  min-height: 260px;
  padding: 22px;
  border-right: 1px solid #dce2d6;
  border-bottom: 1px solid #dce2d6;
  position: relative;
  transition: .25s;
}

.service-card:hover {
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 15px 35px #27351a0c;
}

.service-number {
  font-size: 9px;
  color: #8c9685;
}

.service-icon {
  display: block;
  font-size: 26px;
  color: var(--green-dark);
  margin: 24px 0 17px;
}

.service-card h3 {
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 11px;
}

.service-card p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.service-card > a {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 27px;
  height: 27px;
  border: 1px solid #d7dfd0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green-dark);
}

.services-foot,
.work-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  font-size: 8px;
  letter-spacing: .16em;
  color: #7c8576;
}

/* MANIFESTO */

.manifesto {
  background: var(--dark);
  color: white;
  padding: 90px 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: .5fr 1.5fr .6fr;
  align-items: center;
  gap: 35px;
}

.manifesto-mark {
  font: 600 125px/.8 var(--display);
  color: var(--green);
}

.manifesto-mark span {
  color: white;
}

.manifesto h2 {
  font-size: clamp(45px, 5.6vw, 72px);
  line-height: 1.02;
  margin: 24px 0;
}

.manifesto h2 em {
  color: var(--green);
}

.manifesto p {
  color: #b7c0b1;
  font-size: 13px;
}

.manifesto-side {
  justify-self: end;
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: .16em;
  color: #b5c2ae;
  border-left: 1px solid #56604f;
  padding-left: 20px;
}

/* VISION AND MISSION */

.purpose {
  background: white;
  padding: 80px 0;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.purpose-card {
  padding: 36px 40px;
  background: #f3f6ef;
  min-height: 330px;
  position: relative;
}

.purpose-dark {
  background: var(--dark);
  color: white;
}

.purpose-icon {
  position: absolute;
  right: 38px;
  top: 35px;
  color: var(--green-dark);
  font-size: 32px;
}

.purpose-dark .purpose-icon {
  color: var(--green);
}

.purpose-card h3 {
  font-size: 34px;
  line-height: 1.1;
  margin: 38px 0 15px;
}

.purpose-card p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.purpose-dark p {
  color: #b9c4b4;
}

/* WHY FAGIO */

.why {
  background: #f0f3eb;
}

.why-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 11%;
}

.why-intro p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin: 25px 0;
}

.why-list article {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 15px;
  padding: 21px 0;
  border-bottom: 1px solid #d9e0d2;
}

.why-list article:first-child {
  border-top: 1px solid #d9e0d2;
}

.why-list article > span {
  font-size: 9px;
  color: #8a9680;
}

.why-list h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.why-list p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}

/* DEVELOPMENT PROCESS */

.process {
  background: var(--dark);
  color: white;
}

.process h2 em {
  color: var(--green);
}

.process .section-heading > p {
  color: #b7c0b1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #4b5745;
}

.process-grid article {
  padding: 20px 15px 0 0;
  border-right: 1px solid #3b4736;
  margin-right: 15px;
  min-height: 220px;
}

.process-grid article:last-child {
  border: 0;
}

.process-grid article > span {
  font-size: 9px;
  color: var(--green);
}

.process-icon {
  font-size: 26px;
  color: var(--green);
  margin: 25px 0 15px;
}

.process-grid h3 {
  font-size: 17px;
  margin-bottom: 9px;
}

.process-grid p {
  font-size: 10px;
  line-height: 1.8;
  color: #aeb9a7;
}

/* PORTFOLIO */

.work {
  background: white;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.project {
  display: block;
  min-width: 0;
}

.project-visual {
  height: 310px;
  background: #eaf0e4;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.project-large .project-visual {
  background: #dce9d2;
}

.mock-browser {
  width: 80%;
  height: 78%;
  background: white;
  box-shadow: 0 15px 40px #17210f25;
  border-radius: 7px;
  overflow: hidden;
  transform: rotate(-4deg);
}

.browser-bar {
  height: 22px;
  border-bottom: 1px solid #edf0e9;
  padding: 3px 9px;
  font-size: 8px;
  color: #9aaa8f;
}

.mock-web-content {
  height: calc(100% - 22px);
  background: #f5f7f2;
  position: relative;
  padding: 15px 18px;
  overflow: hidden;
}

.mock-nav {
  font: 700 8px var(--display);
  display: flex;
  justify-content: space-between;
}

.mock-nav span {
  font-size: 7px;
}

.mock-web-title {
  font: 600 37px/.9 var(--display);
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.mock-web-title em {
  color: #7aa943;
}

.mock-web-button {
  font-size: 6px;
  margin-top: 17px;
  position: relative;
  z-index: 1;
}

.mock-sun {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--green);
  right: -35px;
  bottom: -55px;
}

.app-visual {
  background: #e6eadd;
  gap: 15px;
}

.phone {
  width: 115px;
  height: 225px;
  background: white;
  border: 5px solid #20251e;
  border-radius: 20px;
  position: relative;
  padding: 22px 10px 10px;
  box-shadow: 0 15px 30px #18201422;
}

.phone-one {
  transform: rotate(-8deg) translateY(8px);
  z-index: 2;
}

.phone-two {
  transform: rotate(8deg) translateY(-3px);
}

.phone-notch {
  position: absolute;
  top: 5px;
  left: 35%;
  width: 30%;
  height: 8px;
  background: #20251e;
  border-radius: 10px;
}

.app-greeting {
  font: 600 9px var(--display);
}

.app-balance {
  margin-top: 16px;
  background: #eaf3e1;
  padding: 10px 7px;
  font-size: 6px;
}

.app-balance strong {
  display: block;
  font: 600 14px var(--display);
  margin-top: 6px;
}

.app-mini-row {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.app-mini-row i {
  height: 28px;
  flex: 1;
  background: #f0f2ed;
}

.app-chart {
  height: 54px;
  background: linear-gradient(160deg, transparent 45%, #a8d56f 46%, #a8d56f 49%, transparent 50%);
  margin-top: 14px;
}

.app-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  margin: 10px auto;
}

.app-lines {
  height: 34px;
  background: repeating-linear-gradient(to bottom, #e1e7da 0 4px, transparent 4px 10px);
}

.app-tile {
  height: 48px;
  background: var(--dark);
  margin-top: 13px;
}

.dashboard-visual {
  background: #e6eadd;
}

.dash-window {
  width: 84%;
  height: 65%;
  background: white;
  display: flex;
  box-shadow: 0 14px 35px #19231620;
  transform: rotate(3deg);
}

.dash-sidebar {
  width: 22%;
  background: #1b2419;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 13px;
}

.dash-sidebar b {
  color: var(--green);
  font: 700 17px var(--display);
}

.dash-sidebar i {
  width: 13px;
  height: 4px;
  background: #53604d;
  border-radius: 5px;
}

.dash-main {
  flex: 1;
  padding: 15px;
}

.dash-title {
  font: 600 11px var(--display);
}

.dash-stats {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}

.dash-stats i {
  height: 28px;
  flex: 1;
  background: #edf2e8;
}

.dash-graph {
  height: 68px;
  border-bottom: 1px solid #e3e8df;
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 0 8px;
}

.dash-graph span {
  flex: 1;
  background: #a8df69;
  height: 40%;
}

.dash-graph span:nth-child(2) {
  height: 55%;
}

.dash-graph span:nth-child(3) {
  height: 42%;
}

.dash-graph span:nth-child(4) {
  height: 80%;
}

.dash-graph span:nth-child(5) {
  height: 90%;
}

.dash-table {
  margin-top: 12px;
}

.dash-table i {
  display: block;
  height: 4px;
  background: #edf0ea;
  margin: 7px 0;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  padding: 17px 2px 0;
}

.project-meta span {
  font-size: 8px;
  color: #7c8874;
}

.project-meta h3 {
  font-size: 17px;
  margin-top: 7px;
}

.project-meta b {
  color: var(--green-dark);
  font-size: 19px;
  font-weight: 400;
  transition: transform .25s ease;
}

.project:hover .project-meta b {
  transform: translate(3px, -3px);
}

/* TEAM */

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

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11%;
  align-items: center;
}

.team-art {
  height: 390px;
  background: #e7eee0;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.team-circle {
  position: absolute;
  border: 1px solid #a9bb9c;
  border-radius: 50%;
  width: 300px;
  height: 300px;
}

.circle-a {
  transform: scaleX(1.4) rotate(35deg);
}

.circle-b {
  transform: scaleY(1.4) rotate(-35deg);
  border-style: dashed;
}

.team-letter {
  font: 600 150px var(--display);
  color: var(--dark);
  z-index: 1;
}

.team-letter span {
  font-size: 40px;
  color: var(--green-dark);
}

.team-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 8px;
  letter-spacing: .16em;
}

.team-copy p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 15px;
}

/* CALL TO ACTION */

.cta {
  background: var(--green);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(65px, 9vw, 112px);
  line-height: .91;
  margin: 30px 0 38px;
}

.cta h2 em {
  color: white;
}

.cta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}

.cta-bottom p {
  max-width: 400px;
  font-size: 13px;
}

.cta-bottom > div {
  display: flex;
  align-items: center;
  gap: 25px;
}

.button-white {
  background: white;
  border-color: white;
}

.cta-watermark {
  position: absolute;
  right: 0;
  top: -100px;
  font: 600 470px/.9 var(--display);
  color: white;
  opacity: .18;
  pointer-events: none;
}

/* CONTACT */

.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 11%;
}

.contact-copy > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

.contact-details {
  margin-top: 45px;
  display: grid;
  gap: 18px;
}

.contact-details a {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-details span,
.form-top,
.footer-heading {
  font-size: 8px;
  letter-spacing: .16em;
  color: #829078;
  font-weight: 700;
}

.contact-details strong {
  font: 600 15px var(--display);
}

.contact-form {
  background: #f4f6f0;
  padding: 30px;
}

.form-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #dce3d5;
  margin-bottom: 22px;
}

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

.contact-form label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid #dce3d5;
  background: white;
  outline: none;
  border-radius: 2px;
  font-size: 11px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-dark);
}

.contact-form textarea {
  resize: vertical;
}

.form-submit {
  border: 0;
  margin-top: 4px;
}

.contact-form small {
  display: block;
  color: #929b8b;
  font-size: 9px;
  margin-top: 13px;
}

/* FOOTER */

.site-footer {
  background: var(--dark);
  color: white;
  padding: 65px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 10%;
  padding-bottom: 55px;
}

.brand-footer {
  color: white;
}

.brand-footer .brand-mark {
  border-color: white;
  color: var(--green);
}

.footer-brand > p {
  font-size: 12px;
  color: #aeb9a7;
  line-height: 1.8;
  max-width: 270px;
  margin: 25px 0;
}

.footer-tagline {
  font: 600 16px/1.5 var(--display);
}

.footer-tagline em {
  color: var(--green);
  font-style: normal;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 11px;
}

.footer-heading {
  color: var(--green);
  margin-bottom: 9px;
}

.footer-links a {
  font-size: 11px;
  color: #c1cbb9;
  transition: .2s;
}

.footer-links a:hover {
  color: var(--green);
}

/* SOCIAL MEDIA ICONS */

.social-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c1cbb9;
  font-size: 12px;
  text-decoration: none;
  transition: all .3s ease;
}

.social-links a i {
  width: 20px;
  font-size: 17px;
  color: var(--green);
  transition: transform .3s ease;
}

.social-links a:hover {
  color: var(--green);
  transform: translateX(5px);
}

.social-links a:hover i {
  transform: scale(1.2);
}

.social-links a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

/* FOOTER BOTTOM */

.footer-bottom {
  border-top: 1px solid #3b4736;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 8px;
  letter-spacing: .13em;
  color: #a6b19e;
}

.footer-bottom a {
  color: var(--green);
}

/* TABLET RESPONSIVENESS */

@media (max-width: 980px) {

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-large {
    grid-column: span 2;
  }

}

/* MOBILE RESPONSIVENESS */

@media (max-width: 760px) {

  .container {
    width: min(100% - 40px, 560px);
  }

  .section-pad {
    padding: 78px 0;
  }

  .site-header {
    height: 72px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 25px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  #nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .hero {
    padding-top: 65px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    font-size: clamp(57px, 13vw, 82px);
  }

  .hero-art {
    height: 400px;
    margin: 20px -35px;
    transform: scale(.83);
  }

  .intro-grid,
  .why-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto-grid {
    grid-template-columns: 70px 1fr;
    gap: 20px;
  }

  .manifesto-mark {
    font-size: 80px;
  }

  .manifesto-side {
    grid-column: 2;
    justify-self: start;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .project-large {
    grid-column: auto;
  }

  .team-art {
    height: 310px;
  }

  .cta h2 {
    font-size: clamp(65px, 15vw, 94px);
  }

  .cta-bottom {
    display: block;
  }

  .cta-bottom p {
    margin-bottom: 25px;
  }

  .cta-bottom > div {
    flex-wrap: wrap;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

}

/* SMALL PHONES */

@media (max-width: 420px) {

  .container {
    width: calc(100% - 32px);
  }

  .hero-actions {
    gap: 17px;
    flex-wrap: wrap;
  }

  .hero-art {
    transform: scale(.7);
    height: 330px;
    margin-inline: -55px;
  }

  .service-card {
    min-height: 275px;
    padding: 17px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 10px;
  }

  .services-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .process-grid article {
    min-height: 230px;
  }

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

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links > div:last-child {
    grid-column: span 2;
  }

  .footer-bottom {
    gap: 12px;
  }

  .social-links {
    gap: 16px;
  }

  .social-links a {
    font-size: 13px;
  }

  .social-links a i {
    font-size: 19px;
  }

}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.menu-button:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 4px;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
