/* @font-face {
  font-family: "Ginger Cookies";
  src: local("Ginger Cookies"), local("GingerCookies-Regular"),
    url("../fonts/GingerCookies-Regular.woff2") format("woff2"),
    url("../fonts/GingerCookies-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --red: #a51d0b;
  --red-dark: #7c1207;
  --cream: #f5f0dc;
  --ink: #111619;
  --paper: #fffdf5;
  --line: rgba(17, 22, 25, .18);
 
  --display: "Ginger Cookies", "Arial Rounded MT Bold", "Cooper Black", cursive;
  --mono: "Ginger Cookies", "Arial Rounded MT Bold", "Cooper Black", cursive;
} */


@font-face {
  font-family: "Ginger Cookies";
  src:
    url("../fonts/GingerCookies-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --red: #a51d0b;
  --red-dark: #7c1207;
  --cream: #f5f0dc;
  --ink: #111619;
  --paper: #fffdf5;
  --line: rgba(17, 22, 25, .18);

  --display: "Ginger Cookies", cursive;
  /* --body: "Nunito", sans-serif; */
  --body: "Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif;

}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  background: var(--cream)
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background: var(--cream);
  overflow-x: hidden
}

a {
  color: inherit
}

img {
  max-width: 100%;
  display: block
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--red);
  transition: .65s ease
}

.preloader span {
  font-family: var(--display);
  font-size: clamp(5rem, 18vw, 14rem);
  letter-spacing: .01em;
  color: var(--cream);
  transform: skew(-4deg)
}

.preloader.is-gone {
  opacity: 0;
  visibility: hidden
}

.site-header {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 80px);
  color: var(--cream);
  mix-blend-mode: difference;
  transition: .3s
}

.site-header.scrolled {
  mix-blend-mode: normal;
  background: rgba(17, 22, 25, .92);
  backdrop-filter: blur(12px)
}

.brand {
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: .04em;
  text-decoration: none
}

.site-nav {
  display: flex;
  gap: 30px
}

.site-nav a {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase
}

.site-nav a:hover {
  opacity: .6
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 7px
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  background: #fff;
  margin: 6px
}

.panel {
  position: relative;
  padding: 120px 0
}

.frame {
  width: min(1180px, 88vw);
  margin: 0 auto;
  position: relative
}

.hero-poster {
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: var(--cream);
  display: grid;
  place-items: center;
  border: 10px solid var(--ink)
}

.hero-poster:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 22, 25, .08) .8px, transparent .8px);
  background-size: 7px 7px;
  opacity: .16;
  pointer-events: none
}

.hero-wave {
  position: absolute;
  z-index: 0;
  left: -8%;
  right: -8%;
  bottom: -31%;
  height: 62%;
  background: var(--red);
  border-radius: 50% 50% 0 0/18% 18% 0 0;
  transform: rotate(-1deg)
}

.hero-frame {
  z-index: 2;
  text-align: center;
  padding-top: 35px;
  display: grid;
  justify-items: center
}

.hero-topline,
.hero-footerline {
  position: absolute;
  z-index: 3;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--red)
}

.hero-topline {
  top: 56px;
  left: 7%
}

.hero-footerline {
  bottom: 28px;
  left: 7%;
  right: 7%;
  color: var(--cream);
  display: flex;
  justify-content: space-between
}

.hero-kicker {
  margin: 0 0 28px;
  color: var(--red);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em
}

.hero-title {
  display: flex;
  align-items: end;
  justify-content: center;
  margin: 0;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(6rem, 15vw, 13rem);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.05em;
  text-shadow: 4px 4px 0 var(--cream), 7px 7px 0 var(--ink);
  transform: skew(-2deg)
}

.hero-title span:nth-child(2) {
  transform: translateY(-8px)
}

.hero-title span:nth-child(4) {
  transform: translateY(5px)
}

.hero-statement {
  margin: 26px 0 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: .82;
  color: var(--ink);
  letter-spacing: .01em
}

.hero-statement em {
  font-style: normal;
  color: var(--cream);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--red)
}

.hero-copy {
  margin: 34px 0 0;
  /*color: var(--cream);*/
  color: #000000;
  font-size: clamp(.58rem, .9vw, .78rem);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  position: relative;
  z-index: 2
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  position: relative;
  z-index: 2
}

.poster-button {
  padding: 13px 20px;
  border: 2px solid var(--ink);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: .2s
}

.poster-button:hover {
  transform: translate(-2px, -2px);
  /* box-shadow: 7px 7px 0 var(--ink) */
}

.poster-button-light {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink)
}

.poster-button-dark {
  /* background: var(--ink);
  color: var(--cream) */

  background: var(--ink);
  color: var(--cream);
  box-shadow: 7px 7px 0 var(--cream)
}

.hero-spark {
  position: absolute;
  z-index: 3;
  font-family: var(--display);
  font-size: 4.2rem;
  color: #ff2617;
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 3px 3px 0 var(--cream);
  transform: rotate(14deg)
}

.hero-spark-one {
  right: 28%;
  top: 31%
}

.hero-spark-two {
  right: 23%;
  top: 39%;
  font-size: 2.7rem
}

h2,
h3,
h4,
p {
  margin-top: 0
}

.about,
.services,
.work,
.contact {
  border-top: 8px solid var(--ink)
}

.about {
  background: var(--paper)
}

.about-card {
  min-height: 650px;
  background: var(--cream);
  border: 4px solid var(--ink);
  box-shadow: 14px 14px 0 var(--red);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden
}

.about-card:after {
  content: "WHY?";
  position: absolute;
  right: -10px;
  top: -50px;
  font-family: var(--display);
  /* font-size: clamp(9rem, 22vw, 18rem); */
  font-size: clamp(9rem, 22vw, 18rem);

  color: transparent;
  -webkit-text-stroke: 2px rgba(165, 29, 11, .18);
  transform: rotate(4deg)
}

.about-content {
  padding: clamp(35px, 6vw, 72px);
  max-width: 760px;
  position: relative;
  z-index: 2
}

.about h2,
.services-heading h2,
.work-heading h2,
.contact h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: .01em
}

.about h2 {
  /* font-size: clamp(4rem, 9vw, 8rem); */
  /* font-size: clamp(2.5rem, 6vw, 5rem); */
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--red);
  margin-bottom: 20px
}

.section-lead {
  font-family: var(--body);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--ink)
}

/* .body-copy {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 690px
} */
.body-copy {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 690px;
  text-align: justify;
}

.text-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px
}

.text-tags span {
  border: 2px solid var(--ink);
  padding: 8px 12px;
  background: var(--paper);
  font-size: .68rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--red)
}

.services {
  background: var(--red);
  padding: 130px 6vw
}

.services-container {
  width: min(1180px, 100%);
  margin: auto
}

.services-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 55px;
  color: var(--cream)
}

.services-heading h2 {
  font-size: clamp(4.5rem, 10vw, 9rem);
  margin: 0
}

.services-heading p {
  max-width: 430px;
  color: var(--cream);
  font-size: .92rem;
  line-height: 1.7
}

/* .service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
} */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-card {
  height: 100%;
}

.service-card {
  background: var(--cream);
  border: 4px solid var(--ink);
  min-height: 510px;
  box-shadow: 10px 10px 0 var(--ink);
  transition: .25s
}

.service-card:nth-child(2) {
  transform: translateY(28px)
}

.service-card:hover {
  transform: translate(-5px, -5px)
}

.service-card:nth-child(2):hover {
  transform: translate(-5px, 23px)
}

.service-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px
}


/* .service-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
} */

.service-info p {
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 1;
  color: var(--red)
}

.service-info ul {
  list-style: none;
  padding: 0;
  margin: 22px 0
}

.service-info li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font-size: .76rem
}

.service-holder {
  border-top: 4px solid var(--ink);
  padding-top: 20px
}

.service-number {
  color: var(--red);
  font-size: .75rem;
  font-weight: 700
}

.service-holder h3 {
  font-family: var(--body);
  /* font-size: clamp(2.2rem, 4vw, 4rem); */
  /* font-size: clamp(1.8rem, 3vw, 3rem); */
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: .93;
  margin: 10px 0 0;
  text-transform: uppercase
}

.service-holder h3 a {
  text-decoration: none;
}

.work {
  background: var(--ink);
  color: var(--cream)
}

.work-container {
  width: min(1180px, 88vw);
  margin: auto
}

.work-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 7vw;
  align-items: end;
  margin-bottom: 60px
}

.work-heading h2 {
  font-size: clamp(4.5rem, 10vw, 9rem);
  margin: 0;
  color: var(--cream)
}

.work-heading-copy p {
  font-size: .9rem;
  line-height: 1.7
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.work-tags span {
  border: 1px solid var(--cream);
  padding: 7px 10px;
  font-size: .62rem
}

.work-button {
  display: inline-block;
  margin-top: 20px;
  background: var(--red);
  padding: 12px 16px;
  border: 2px solid var(--cream);
  font-size: .67rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--cream)
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid var(--cream);
  padding-top: 18px;
  margin-bottom: 20px
}

.gallery-heading h3 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase
}

.portfolio-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px
}

.portfolio-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.portfolio-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 3px solid var(--cream);
  text-decoration: none;
  background: #222
}

.portfolio-featured {
  min-height: 558px
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s
}

.portfolio-card:hover img {
  transform: scale(1.04)
}

.portfolio-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(17, 22, 25, .92))
}

.portfolio-number {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--cream);
  color: var(--ink);
  padding: 5px 8px;
  font-size: .65rem;
  font-weight: 700
}

.portfolio-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px
}

.portfolio-category {
  font-size: .62rem;
  color: #f7b8ad;
  text-transform: uppercase
}

.portfolio-content h4 {
  font-family: var(--body);
  /* font-size: clamp(1.6rem, 3vw, 3rem); */
  font-size: clamp(1.3rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: .95;
  margin: 7px 0
}

.portfolio-content p {
  font-size: .7rem
}

.portfolio-arrow {
  position: absolute;
  right: 17px;
  top: 14px;
  font-size: 1.5rem
}

.contact {
  background: var(--cream);
  text-align: center;
  min-height: 88vh;
  display: grid;
  place-items: center
}

.contact-inner {
  display: grid;
  justify-items: center
}

.eyebrow {
  font-size: .7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .14em;
  text-transform: uppercase
}

.contact h2 {
  font-size: clamp(4.2rem, 10vw, 9rem);
  margin: 18px 0;
  color: var(--red);
  text-shadow: 5px 5px 0 var(--ink);
  -webkit-text-stroke: 1px var(--cream)
}

.contact-text {
  max-width: 580px;
  font-size: .9rem;
  line-height: 1.8
}

.contact-details {
  display: flex;
  gap: 50px;
  margin: 15px 0 30px
}

.contact-item span {
  display: block;
  color: var(--red);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px
}

.contact-item a {
  font-family: var(--body);
  font-size: 1.35rem;
  text-decoration: none
}

.primary-button {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  border: 3px solid var(--red);
  box-shadow: 6px 6px 0 var(--red);
  padding: 14px 24px;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none
}

.site-footer {
  background: var(--red);
  color: var(--cream);
  padding: 80px 0 25px;
  border-top: 8px solid var(--ink)
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr .6fr .6fr 1fr;
  gap: 35px;
  padding-bottom: 60px
}

.footer-main h2 {
  font-family: var(--display);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 400;
  line-height: .8;
  margin: 0
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.footer-links a,
.footer-contact a,
.footer-contact p {
  font-size: .72rem;
  text-decoration: none;
  color: var(--cream)
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(245, 240, 220, .4);
  padding-top: 20px;
  font-size: .62rem
}

.footer-bottom a {
  text-decoration: none
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: .75s
}

.reveal.visible {
  opacity: 1;
  transform: none
}

@media(max-width:900px) {
  .service-grid {
    grid-template-columns: 1fr
  }

  .service-card:nth-child(2) {
    transform: none
  }

  .service-card:nth-child(2):hover {
    transform: translate(-5px, -5px)
  }

  .service-card {
    min-height: 400px
  }

  .portfolio-layout {
    grid-template-columns: 1fr
  }

  .portfolio-featured {
    min-height: 480px
  }

  .footer-main {
    grid-template-columns: 1fr 1fr
  }

  .footer-main>div:first-child {
    grid-column: 1/3
  }

  .hero-spark-one {
    right: 15%
  }

  .hero-spark-two {
    right: 8%
  }
}

@media(max-width:760px) {
  .site-header {
    height: 66px
  }

  .menu-toggle {
    display: block;
    z-index: 2
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: .3s
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible
  }

  .site-nav a {
    font-family: var(--display);
    font-size: 2.3rem
  }

  .hero-poster {
    border-width: 6px
  }

  .hero-title {
    font-size: 20vw;
    text-shadow: 3px 3px 0 var(--cream), 5px 5px 0 var(--ink)
  }

  .hero-topline {
    top: 82px;
    left: 7%;
    font-size: .56rem
  }

  .hero-footerline {
    font-size: .53rem
  }

  .hero-copy {
    max-width: 330px;
    line-height: 1.7
  }

  .hero-actions {
    flex-direction: column;
    width: min(300px, 80vw)
  }

  .hero-spark {
    display: none
  }

  .services-heading,
  .work-heading {
    display: block
  }

  .services-heading p,
  .work-heading-copy {
    margin-top: 25px
  }

  .portfolio-side-grid {
    grid-template-columns: 1fr
  }

  .contact-details {
    flex-direction: column;
    gap: 20px
  }

  .footer-main {
    grid-template-columns: 1fr
  }

  .footer-main>div:first-child {
    grid-column: auto
  }
}

@media(max-width:480px) {

  .frame,
  .work-container {
    width: min(100% - 34px, 1180px)
  }

  .panel {
    padding: 95px 0
  }

  .hero-frame {
    padding-top: 35px
  }

  .hero-title {
    font-size: 19vw
  }

  .hero-statement {
    font-size: 3.2rem
  }

  .hero-footerline span {
    display: none
  }

  .about-card {
    min-height: 600px;
    box-shadow: 8px 8px 0 var(--red)
  }

  .about-content {
    padding: 30px 22px
  }

  .services {
    padding: 100px 20px
  }

  .service-card-inner {
    padding: 22px
  }

  .portfolio-featured {
    min-height: 380px
  }

  .portfolio-card {
    min-height: 300px
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

/* =========================================================
   FINAL TYPOGRAPHY
   Ginger Cookies: logo, hero/banner and all headings
   Arial Rounded MT Bold: navigation, buttons and body content
   ========================================================= */

body,
p,
li,
button,
input,
textarea,
select,
label,
.site-nav a,
.hero-topline,
.hero-footerline,
.hero-kicker,
.hero-copy,
.poster-button,
.body-copy,
.text-tags span,
.services-heading p,
.service-info li,
.service-number,
.work-heading-copy p,
.work-tags span,
.work-button,
.portfolio-number,
.portfolio-category,
.portfolio-content p,
.eyebrow,
.contact-text,
.contact-item span,
.primary-button,
.footer-links a,
.footer-contact a,
.footer-contact p,
.footer-bottom,
.service-holder h3,
.portfolio-content h4,
.contact-item a,
.section-lead,
.footer-bottom a {
  font-family: var(--body);
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.preloader span,
.hero-title,
.hero-statement,
.hero-spark,
.about h2,
.services-heading h2,
.work-heading h2,
.contact h2,
.service-info p,
.gallery-heading h3,
.footer-main h2 {
  font-family: var(--display);
  font-weight: 400;
}

.hero-title {
  letter-spacing: .005em;
  transform: none;
}

.brand {
  letter-spacing: .01em;
}

.about h2,
.services-heading h2,
.work-heading h2,
.contact h2,
.service-holder h3,
.gallery-heading h3 {
  letter-spacing: .005em;
}

/* =========================================
   SERVICES SECTION
========================================= */

.services {
  padding: clamp(70px, 9vw, 130px) 0;
}

.services-container {
  width: min(94%, 1500px);
  margin: 0 auto;
}

/* Section heading */

.services-heading {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 75px);
}

.services-heading h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 400;
  line-height: .9;
}

.services-heading>p {
  max-width: 580px;
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  line-height: 1.7;
}

/* Four-card grid */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

/* Card */

.service-card {
  position: relative;
  height: 500px;
  margin: 0;
  transition: transform .35s ease;
}

/* Cards 2 and 4 sit slightly lower */

.service-card:nth-child(even) {
  margin-top: 55px;
}

.service-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 2.5vw, 36px);
  background: var(--cream);
  border: 2px solid var(--ink);
  overflow: hidden;
  transition:
    background-color .35s ease,
    color .35s ease,
    transform .35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

/* =========================================
   TOP CONTENT
========================================= */

.service-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/*
Taglines:
Visuals that get noticed.
Websites that work beautifully.
Reach the right audience.
Business Growth.
*/

.service-info>p {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(2rem, 2.7vw, 3.2rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: 0;
}

/* Service item lists */

.service-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-info li {
  position: relative;
  margin: 0;
  padding: 9px 0 9px 18px;
  font-family: var(--body);
  font-size: clamp(.88rem, 1vw, 1rem);
  font-weight: 600;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}

.service-info li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
}

.service-info li:last-child {
  border-bottom: 0;
}

/* =========================================
   BOTTOM HOLDER
========================================= */

.service-holder {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* 01, 02, 03, 04 */

.service-number {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .15em;
}

/*
Graphic Design
Website Design & Development
Digital Marketing
Business Growth
*/

.service-holder h3 {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1.2rem, 1.65vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.service-holder h3 a {
  display: inline;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
}

.service-holder h3 a:hover {
  color: var(--red);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .service-card {
    height: 470px;
  }

  /*
    Maintain the stagger within each row:
    01 higher, 02 lower
    03 higher, 04 lower
    */

  .service-card:nth-child(odd) {
    margin-top: 0;
  }

  .service-card:nth-child(even) {
    margin-top: 40px;
  }

  .service-info>p {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
  .services {
    padding: 65px 0;
  }

  .services-container {
    width: min(92%, 560px);
  }

  .services-heading {
    margin-bottom: 38px;
  }

  .services-heading h2 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    height: 450px;
    margin-top: 0;
  }

  .service-card-inner {
    padding: 26px 22px;
  }

  .service-info>p {
    margin-bottom: 22px;
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }

  .service-info li {
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: .92rem;
  }

  .service-holder {
    padding-top: 20px;
  }

  .service-holder h3 {
    font-size: 1.4rem;
  }
}

/* Smaller mobile screens */

@media (max-width: 420px) {

  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    height: 430px;
  }

  .service-info>p {
    font-size: 2.2rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 150px;
  /* Adjust as needed */
  width: auto;
  object-fit: contain;
  transition: .3s ease;
}

.brand:hover img {
  transform: scale(1.03);
}

@media (max-width:768px) {

  .brand img {
    height: 48px;
  }

}

@media (max-width:480px) {

  .brand img {
    height: 40px;
  }

}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;

  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;

  background: #fff;

  color: var(--red);

  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;

  margin-bottom: 28px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: inherit;

  font-family: var(--body);
  font-weight: 700;

  transition: .3s ease;
}

.contact-phone i {
  font-size: 1.3rem;
  color: #25D366;
}

.contact-phone:hover {
  color: var(--red);
  transform: translateX(4px);
}

.contact-phone:hover i {
  color: #1EBE57;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: inherit;

  font-family: var(--body);
  font-weight: 700;

  transition: .3s ease;
}

.contact-email i {
  font-size: 1.15rem;
  color: var(--red);
}

.contact-email:hover {
  color: var(--red);
  transform: translateX(4px);
}

.services-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.services-heading h2 {
  margin: 0 0 16px;
}

.services-heading p {
  margin: 0;
  max-width: 600px;
}

/***service center****/

.services-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.services-heading h2 {
  margin-bottom: 12px;
}

.services-heading p {
  max-width: 600px;
  margin: 0;
}

/* =========================================================
   MOBILE RESPONSIVE HARDENING — preserves original branding
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.site-header,
.panel,
.services,
.work,
.contact,
.site-footer {
  max-width: 100%;
}

@media (max-width: 760px) {
  .site-header {
    padding-inline: 16px;
    height: 64px;
    mix-blend-mode: normal;
    background: rgba(17, 22, 25, .94);
    backdrop-filter: blur(12px);
  }

  .brand img {
    height: 44px;
    max-width: 150px;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-content: center;
  }

  .menu-toggle span {
    margin: 4px 0;
  }

  .site-nav {
    padding: 80px 24px 30px;
    gap: 18px;
    overflow-y: auto;
  }

  .site-nav a {
    font-size: clamp(2rem, 12vw, 3.4rem);
    line-height: 1.05;
  }

  .hero-poster {
    min-height: 100dvh;
    border-width: 5px;
  }

  .hero-frame {
    width: calc(100% - 28px);
    padding: 82px 0 86px;
  }

  .hero-kicker {
    padding: 8px 12px;
    margin-bottom: 20px;
    font-size: .62rem;
    letter-spacing: .16em;
    text-align: center;
  }

  .hero-title {
    width: 100%;
    font-size: clamp(4.2rem, 22vw, 7rem);
    line-height: .78;
    letter-spacing: -.015em;
    flex-wrap: nowrap;
  }

  .hero-title span:nth-child(2),
  .hero-title span:nth-child(4) {
    transform: none;
  }

  .hero-copy {
    max-width: 290px;
    margin-top: 26px;
    font-size: .66rem;
    line-height: 1.65;
  }

  .hero-actions {
    width: min(100%, 310px);
    margin-top: 20px;
  }

  .poster-button {
    width: 100%;
    padding: 14px 16px;
    text-align: center;
  }

  .hero-wave {
    left: -28%;
    right: -28%;
    bottom: -18%;
    height: 54%;
  }

  .hero-footerline {
    left: 14px;
    right: 14px;
    bottom: 16px;
    font-size: .48rem;
  }

  .panel {
    padding: 72px 0;
  }

  .frame,
  .work-container {
    width: calc(100% - 32px);
  }

  .about-card {
    min-height: auto;
    align-items: stretch;
    box-shadow: 7px 7px 0 var(--red);
  }

  .about-card::after {
    font-size: 8rem;
    top: -20px;
    opacity: .65;
  }

  .about-content {
    padding: 40px 22px 42px;
  }

  .about h2 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .section-lead {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.08;
  }

  .body-copy {
    font-size: .92rem;
    line-height: 1.65;
  }

  .text-tags {
    gap: 8px;
    margin-top: 24px;
  }

  .text-tags span {
    max-width: 100%;
    font-size: .62rem;
    line-height: 1.35;
  }

  .services {
    padding: 72px 16px;
  }

  .services-container {
    width: 100%;
  }

  .services-heading {
    width: 100%;
    margin-bottom: 34px;
  }

  .services-heading h2 {
    font-size: clamp(3.3rem, 17vw, 5.2rem);
  }

  .services-heading p {
    font-size: .9rem;
    line-height: 1.6;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    height: auto;
    min-height: 0;
    margin-top: 0;
    transform: none;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .service-card:hover,
  .service-card:nth-child(2):hover {
    transform: none;
  }

  .service-card-inner {
    min-height: 390px;
    padding: 24px 20px;
  }

  .service-info>p {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .service-info li {
    font-size: .88rem;
    line-height: 1.35;
  }

  .service-holder h3 {
    font-size: 1.25rem;
    overflow-wrap: anywhere;
  }

  .work-heading {
    margin-bottom: 38px;
  }

  .work-heading h2 {
    font-size: clamp(3.5rem, 17vw, 5.5rem);
  }

  .portfolio-layout,
  .portfolio-side-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-card,
  .portfolio-featured {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .portfolio-content {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .portfolio-content h4 {
    font-size: 1.5rem;
  }

  .contact {
    min-height: auto;
    padding: 78px 0;
  }

  .contact h2 {
    font-size: clamp(3.4rem, 17vw, 5.4rem);
    text-shadow: 3px 3px 0 var(--ink);
  }

  .contact-text {
    width: 100%;
    font-size: .88rem;
    line-height: 1.65;
  }

  .contact-details {
    width: 100%;
    align-items: center;
    gap: 18px;
  }

  .contact-item {
    width: 100%;
  }

  .contact-item a {
    font-size: clamp(1rem, 5vw, 1.25rem);
    overflow-wrap: anywhere;
    justify-content: center;
  }

  .primary-button {
    width: min(100%, 320px);
    text-align: center;
  }

  .site-footer {
    padding: 58px 0 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }

  .footer-main h2 {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 20vw;
    text-shadow: 2px 2px 0 var(--cream), 4px 4px 0 var(--ink);
  }

  .hero-kicker {
    letter-spacing: .12em;
  }

  .service-card-inner {
    min-height: 370px;
    padding: 22px 18px;
  }

  .about-content {
    padding-inline: 18px;
  }
}

@media (hover: none) and (pointer: coarse) {

  .service-card:hover,
  .portfolio-card:hover img,
  .work-card:hover {
    transform: none !important;
  }

  .poster-button,
  .primary-button,
  .filter-btn,
  .back-button {
    min-height: 44px;
  }
}

/* =========================================================
   TRUE MOBILE VIEWPORT FIX — final override
   Prevents clipped content on 320px–430px screens
   ========================================================= */
@media (max-width: 760px) {

  *,
  *::before,
  *::after {
    min-width: 0;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  main,
  section,
  header,
  footer,
  nav,
  .frame,
  .work-container,
  .services-container,
  .about-card,
  .about-content,
  .service-grid,
  .service-card,
  .service-card-inner,
  .portfolio-layout,
  .portfolio-side-grid,
  .contact-inner,
  .footer-main {
    max-width: 100%;
  }

  .site-header {
    width: 100%;
    padding: 0 14px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand img {
    width: auto;
    height: 42px;
    max-width: 132px;
    object-fit: contain;
  }

  .hero-poster {
    width: 100%;
    min-height: 100svh;
    overflow: hidden;
  }

  .hero-frame {
    width: calc(100% - 24px);
    max-width: 100%;
    padding-inline: 0;
  }

  .hero-title {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    font-size: clamp(3.45rem, 19.2vw, 6.3rem);
    line-height: .82;
    letter-spacing: 0;
    text-align: center;
  }

  .hero-title span {
    display: block;
    width: 100%;
    transform: none !important;
  }

  .hero-kicker {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .hero-copy {
    width: 100%;
    max-width: 300px;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    max-width: 100%;
  }

  .hero-footerline {
    width: auto;
    max-width: calc(100% - 28px);
    overflow-wrap: anywhere;
  }

  .frame,
  .work-container {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px);
  }

  .about-card {
    width: 100%;
  }

  .about-card::after {
    right: -4px;
    max-width: 100%;
    overflow: hidden;
  }

  .about-content,
  .services-heading,
  .work-heading,
  .work-heading-copy,
  .portfolio-content,
  .contact-inner,
  .contact-details,
  .footer-main>* {
    width: 100%;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  li,
  a,
  span {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .about h2,
  .services-heading h2,
  .work-heading h2,
  .contact h2,
  .footer-main h2 {
    max-width: 100%;
    line-height: .92;
  }

  .services {
    padding-inline: 14px;
  }

  .services-container {
    width: 100% !important;
  }

  .service-card-inner {
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .service-info>p {
    max-width: 100%;
  }

  .service-holder h3,
  .service-holder h3 a {
    display: block;
    max-width: 100%;
  }

  .portfolio-card,
  .portfolio-featured {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 280px;
  }

  .portfolio-card img {
    width: 100%;
    height: 100%;
  }

  .contact h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .contact-item a {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-bottom {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-inline: 10px;
  }

  .brand img {
    height: 38px;
    max-width: 118px;
  }

  .hero-frame {
    width: calc(100% - 18px);
  }

  .hero-title {
    font-size: 18.4vw;
    text-shadow: 2px 2px 0 var(--cream), 3px 3px 0 var(--ink);
  }

  .hero-kicker {
    padding: 7px 10px;
    font-size: .56rem;
    letter-spacing: .1em;
  }

  .frame,
  .work-container {
    width: calc(100% - 22px) !important;
    max-width: calc(100% - 22px);
  }

  .services {
    padding-inline: 11px;
  }

  .service-card-inner {
    padding: 21px 17px;
  }

  .service-info>p {
    font-size: clamp(1.85rem, 10vw, 2.4rem);
  }

  .portfolio-card,
  .portfolio-featured {
    min-height: 250px;
  }
}

@media (max-width: 390px) {
  .site-footer .footer-main {
    grid-template-columns: 1.1fr 0.9fr 0.9fr 1.1fr;
    gap: 10px;
  }

  .site-footer .footer-main h2 {
    font-size: 1.55rem;
  }

  .site-footer .footer-main,
  .site-footer .footer-main a,
  .site-footer .footer-main p {
    font-size: 0.5rem;
  }

  .site-footer .footer-seo p,
  .site-footer .footer-bottom {
    font-size: 0.48rem;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 20vw;
    letter-spacing: -0.06em;
    text-shadow: 2px 2px 0 var(--cream), 4px 4px 0 var(--ink);
  }

  .hero-title span {
    margin: 0 -0.03em;
  }
}

/* =========================================================
   FINAL CONSISTENT MOBILE DESIGN
   Keep this block at the end of the stylesheet.
   ========================================================= */
@media (max-width: 760px) {
  :root {
    --mobile-header-height: 64px;
    --mobile-page-gutter: 16px;
    --mobile-section-space: 72px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body,
  p,
  li,
  a,
  button,
  input,
  textarea,
  select,
  label {
    font-family: var(--body);
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--mobile-header-height);
    padding: 0 var(--mobile-page-gutter);
    background: rgba(17, 22, 25, .96);
    color: var(--cream);
    mix-blend-mode: normal;
    backdrop-filter: blur(12px);
    z-index: 100;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand img {
    width: auto;
    height: 42px;
    max-width: 138px;
    object-fit: contain;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    place-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 26px;
    height: 2px;
    margin: 4px 0;
    background: var(--cream);
    border-radius: 999px;
    transition: transform .3s ease, opacity .3s ease;
  }

  /* Full-screen dropdown below the fixed header */
  .site-nav {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100dvh - var(--mobile-header-height));
    padding: 22px 18px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: var(--red);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform .38s ease, opacity .28s ease, visibility .38s ease;
    z-index: 99;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    color: var(--cream) !important;
    font-family: var(--body) !important;
    font-size: .82rem !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .09em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(245, 240, 220, .22);
    opacity: 1;
    transition: background-color .2s ease, color .2s ease;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.active {
    color: #fff !important;
    background: rgba(17, 22, 25, .14);
    opacity: 1;
  }

  .panel {
    padding: var(--mobile-section-space) 0;
  }

  .frame,
  .work-container {
    width: calc(100% - (var(--mobile-page-gutter) * 2)) !important;
    max-width: 1180px;
    margin-inline: auto;
  }

  .hero-poster {
    width: 100%;
    min-height: 100svh;
    border-width: 5px;
  }

  .hero-frame {
    width: calc(100% - 28px);
    max-width: 620px;
    padding: 88px 0 86px;
  }

  .hero-kicker {
    max-width: 100%;
    margin-bottom: 20px;
    padding: 8px 12px;
    font-size: .6rem;
    line-height: 1.35;
    letter-spacing: .14em;
    text-align: center;
    white-space: normal;
  }

  .hero-title {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    font-size: clamp(3.5rem, 19vw, 6.3rem);
    line-height: .82;
    letter-spacing: -.02em;
    text-align: center;
    text-shadow: 2px 2px 0 var(--cream), 4px 4px 0 var(--ink);
  }

  .hero-title span {
    width: 100%;
    transform: none !important;
  }

  .hero-copy {
    width: 100%;
    max-width: 300px;
    margin-top: 26px;
    font-size: .65rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    width: min(100%, 310px);
    margin-top: 20px;
    flex-direction: column;
    gap: 12px;
  }

  .poster-button {
    width: 100%;
    min-height: 46px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-wave {
    left: -28%;
    right: -28%;
    bottom: -18%;
    height: 54%;
  }

  .hero-topline {
    top: 78px;
    left: var(--mobile-page-gutter);
    font-size: .54rem;
  }

  .hero-footerline {
    left: var(--mobile-page-gutter);
    right: var(--mobile-page-gutter);
    bottom: 16px;
    font-size: .48rem;
  }

  .hero-spark {
    display: none;
  }

  .about-card {
    min-height: 0;
    width: 100%;
    align-items: stretch;
    border-width: 3px;
    box-shadow: 7px 7px 0 var(--red);
  }

  .about-card::after {
    top: -20px;
    right: -4px;
    font-size: 8rem;
    opacity: .62;
  }

  .about-content {
    width: 100%;
    padding: 40px 22px 42px;
  }

  .about h2,
  .services-heading h2,
  .work-heading h2,
  .contact h2 {
    max-width: 100%;
    line-height: .92;
  }

  .about h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .section-lead {
    font-size: clamp(1.5rem, 6.8vw, 2.15rem);
    line-height: 1.08;
  }

  .body-copy {
    font-size: .9rem;
    line-height: 1.7;
    text-align: left;
  }

  .text-tags {
    gap: 8px;
    margin-top: 24px;
  }

  .text-tags span {
    padding: 8px 10px;
    font-size: .62rem;
    line-height: 1.35;
  }

  .services {
    padding: var(--mobile-section-space) var(--mobile-page-gutter);
  }

  .services-container,
  .services-heading {
    width: 100%;
  }

  .services-heading {
    margin-bottom: 36px;
  }

  .services-heading h2 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .services-heading p {
    max-width: 520px;
    font-size: .88rem;
    line-height: 1.65;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: 0;
    transform: none;
    border-width: 3px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .service-card:hover,
  .service-card:nth-child(2):hover {
    transform: none;
  }

  .service-card-inner {
    width: 100%;
    height: auto;
    min-height: 390px;
    padding: 24px 20px;
  }

  .service-info > p {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(2rem, 10.5vw, 2.85rem);
  }

  .service-info li {
    padding: 8px 0 8px 17px;
    font-size: .86rem;
    line-height: 1.4;
  }

  .service-holder {
    padding-top: 20px;
  }

  .service-holder h3,
  .service-holder h3 a {
    display: block;
    max-width: 100%;
    font-size: 1.22rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .work-heading {
    display: block;
    width: 100%;
    margin-bottom: 38px;
  }

  .work-heading h2 {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .work-heading-copy {
    width: 100%;
    margin-top: 24px;
  }

  .work-heading-copy p {
    font-size: .88rem;
    line-height: 1.65;
  }

  .portfolio-layout,
  .portfolio-side-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-card,
  .portfolio-featured {
    width: 100%;
    min-height: 280px;
    aspect-ratio: auto;
  }

  .portfolio-content {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .portfolio-content h4 {
    font-size: 1.42rem;
    line-height: 1.05;
  }

  .contact {
    min-height: 0;
    padding: 76px 0;
  }

  .contact-inner,
  .contact-details {
    width: 100%;
  }

  .contact h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
    text-shadow: 3px 3px 0 var(--ink);
  }

  .contact-text {
    width: 100%;
    font-size: .88rem;
    line-height: 1.65;
  }

  .contact-details {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .contact-item,
  .contact-item a {
    width: 100%;
    max-width: 100%;
  }

  .contact-item a {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: clamp(1rem, 4.8vw, 1.22rem);
    overflow-wrap: anywhere;
  }

  .primary-button {
    width: min(100%, 320px);
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .site-footer {
    padding: 58px 0 24px;
  }

  .footer-main {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }

  .footer-main > div:first-child {
    grid-column: auto;
  }

  .footer-main h2 {
    font-size: clamp(3.5rem, 17vw, 5.5rem);
  }

  .footer-links a,
  .footer-contact a,
  .footer-contact p {
    font-size: .7rem;
    line-height: 1.55;
  }

  .footer-bottom {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: .6rem;
    line-height: 1.5;
  }
}

@media (max-width: 390px) {
  :root {
    --mobile-page-gutter: 11px;
    --mobile-section-space: 64px;
  }

  .site-header {
    padding-inline: 10px;
  }

  .brand img {
    height: 38px;
    max-width: 120px;
  }

  .site-nav {
    padding-inline: 14px;
  }

  .site-nav a {
    min-height: 44px;
    padding-block: 10px;
    font-size: .76rem !important;
  }

  .hero-frame {
    width: calc(100% - 18px);
  }

  .hero-title {
    font-size: 18.5vw;
    letter-spacing: -.035em;
    text-shadow: 2px 2px 0 var(--cream), 3px 3px 0 var(--ink);
  }

  .hero-kicker {
    padding: 7px 10px;
    font-size: .55rem;
    letter-spacing: .1em;
  }

  .about-content {
    padding: 36px 18px 38px;
  }

  .service-card-inner {
    min-height: 365px;
    padding: 21px 17px;
  }

  .service-info > p {
    font-size: clamp(1.85rem, 10vw, 2.35rem);
  }

  .portfolio-card,
  .portfolio-featured {
    min-height: 250px;
  }

  .footer-main h2 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }
}

@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .portfolio-card:hover img,
  .work-card:hover,
  .poster-button:hover,
  .brand:hover img {
    transform: none !important;
  }
}



/* ===================================================
   DESKTOP ONLY - UNIFORM SECTION HEADINGS
   (No effect on mobile)
=================================================== */

@media only screen and (min-width:769px){

    /* Why MARGO */
    .about-content h2{
        font-size:clamp(2.7rem,4vw,3.8rem) !important;
        line-height:1.05 !important;
        letter-spacing:-0.02em;
    }

    /* What We Do */
    .services-heading h2{
        font-size:clamp(2.7rem,4vw,3.8rem) !important;
        line-height:1.05 !important;
        letter-spacing:-0.02em;
    }

    /* See our work */
    .work-heading-title h2{
        font-size:clamp(2.7rem,4vw,3.8rem) !important;
        line-height:1.05 !important;
        letter-spacing:-0.02em;
    }

    /* Ready to get your brand moving? */
    .contact-inner h2{
        font-size:clamp(2.7rem,4vw,3.8rem) !important;
        line-height:1.05 !important;
        letter-spacing:-0.02em;
    }

}

/* ===================================================
   DESKTOP ONLY - COMPACT SECTION SPACING
   (No effect on mobile)
=================================================== */

@media only screen and (min-width:769px){

    /* General sections */
    .panel{
        padding:85px 0 !important;
    }

  

    /* About */
    .about-card{
        min-height:560px !important;
    }

    .about-content{
        padding:55px !important;
    }

    /* Services */
    .services{
        padding:90px 0 !important;
    }

    .services-heading{
        margin-bottom:45px !important;
    }

    /* Work */
    .work{
        padding:90px 0 !important;
    }

    .work-heading{
        margin-bottom:40px !important;
    }

    .gallery-heading{
        margin-bottom:16px !important;
        padding-top:14px !important;
    }

    /* Contact */
    .contact{
        min-height:70vh !important;
        padding:70px 0 !important;
    }

    .contact h2{
        margin:12px 0 !important;
    }

    .contact-text{
        margin-bottom:18px !important;
    }

    .contact-details{
        margin:10px 0 24px !important;
    }

    /* Footer */
    .site-footer{
        padding:60px 0 20px !important;
    }

    .footer-main{
        padding-bottom:40px !important;
    }

}


/* ==========================================
   START PROJECT BUTTON HOVER
========================================== */

.poster-button.poster-button-dark{
    transition: all .3s ease !important;
}

.poster-button.poster-button-dark:hover{
    background:#b5210f !important;
    color:#fff !important;
    border-color:#111 !important;

    transform:translate(-4px,-4px) !important;
    box-shadow:8px 8px 0 #111 !important;
}

.poster-button.poster-button-dark:hover b{
    color:#fff !important;
}


/* ==========================================
   WORK BUTTON HOVER EFFECT
========================================== */

.work-button{
    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}

.work-button:hover{
    background:#b5210f !important;
    color:#fff !important;

    transform:translate(-5px,-5px);

    box-shadow:8px 8px 0 #111 !important;
}

.work-button:hover span{
    transform:translateX(5px) rotate(45deg);
    transition:transform .3s ease;
}

.work-button:active{
    transform:translate(-2px,-2px);

    box-shadow:4px 4px 0 #111 !important;
}

/* ==========================================
   PRIMARY BUTTON HOVER EFFECT
========================================== */

.primary-button{
    position: relative;
    overflow: hidden;
    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}

.primary-button::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:rgba(255,255,255,.22);
    transform:skewX(-25deg);
    transition:left .6s ease;
    pointer-events:none;
}

.primary-button:hover::before{
    left:140%;
}

.primary-button:hover{
    background:#b5210f !important;
    color:#fff !important;

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(0,0,0,.22);
}

.primary-button:active{
    transform:translateY(-1px);
}

/* ==========================================
   FOOTER SOCIAL ICONS
========================================== */

.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.footer-bottom-right{
    display:flex;
    align-items:center;
    gap:22px;
}

.footer-social{
    display:flex;
    align-items:center;
    gap:14px;
}

.footer-social a{
    width:40px;
    height:40px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:2px solid rgba(255,255,255,.18);
    border-radius:50%;

    color:#fff;

    transition:all .3s ease;
}

.footer-social a:hover{

    background:#b5210f;

    border-color:#b5210f;

    transform:translateY(-4px);

    box-shadow:0 12px 22px rgba(0,0,0,.25);

}

.footer-social i{
    font-size:16px;
}


/* ==========================================
   MOBILE ONLY - MARGO LETTER SPACING
========================================== */

@media only screen and (max-width:760px){

    .hero-title{
    grid-template-columns:repeat(5, 0.88fr) !important;
}

.hero-title span{
    margin:0 -0.02em !important;
}

}

/* ===================================================
   MOBILE ONLY - WHY MARGO SECTION IMPROVEMENTS
=================================================== */

@media only screen and (max-width:760px){

    /* Center the heading */
    .about h2{
        text-align:center !important;
        margin-bottom:18px !important;
    }

    /* Center the subtitle */
    .section-lead{
        text-align:center !important;
        margin:0 auto 20px !important;
    }

    /* Justify the body text */
    .body-copy{
        text-align:justify !important;
        text-justify:inter-word;
        line-height:1.75 !important;
    }

    /* Center the buttons/tags */
    .text-tags{
        display:flex;
        justify-content:center !important;
        align-items:center;
        flex-wrap:wrap;
        gap:10px;
        margin-top:24px;
    }

    .text-tags span{
        text-align:center;
    }

}

/* ===================================================
   MOBILE ONLY - CENTER ALIGN WHAT WE DO CARDS
=================================================== */

@media only screen and (max-width:760px){

    /* Card content */
    .service-card-inner{
        text-align:center !important;
        align-items:center !important;
    }

    /* Tagline */
    .service-info{
        align-items:center !important;
        text-align:center !important;
    }

    .service-info > p{
        text-align:center !important;
        width:100%;
        margin-bottom:22px !important;
    }

    /* Service list */
    .service-info ul{
        width:100%;
    }

    .service-info li{
        text-align:center !important;
        padding:10px 0 !important;
        border-bottom:1px solid var(--line) !important;
    }

    /* Remove the left bullet */
    .service-info li::before{
        display:none !important;
    }

    /* Bottom section */
    .service-holder{
        text-align:center !important;
    }

    .service-number{
        text-align:center !important;
    }

    .service-holder h3,
    .service-holder h3 a{
        display:block;
        width:100%;
        text-align:center !important;
        line-height:1.2 !important;
    }

}


/* ===================================================
   MOBILE ONLY - CENTER "SEE OUR WORK" SECTION
=================================================== */

@media only screen and (max-width:760px){

    /* Center the heading block */
    .work-heading{
        display:flex !important;
        flex-direction:column;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
    }

    .work-heading h2{
        width:100%;
        text-align:center !important;
        margin-bottom:18px !important;
    }

    /* Center the description */
    .work-heading-copy{
        width:100%;
        text-align:center !important;
    }

    .work-heading-copy p{
        text-align:center !important;
        max-width:320px;
        margin:0 auto 20px !important;
        line-height:1.7 !important;
    }

    /* Center the tags */
    .work-tags{
        display:flex !important;
        justify-content:center !important;
        align-items:center !important;
        flex-wrap:wrap !important;
        gap:10px !important;
        margin:0 auto 22px !important;
    }

    .work-tags span{
        text-align:center;
    }

    /* Center the button */
    .work-button{
        display:inline-flex !important;
        justify-content:center;
        align-items:center;
        margin:0 auto !important;
    }

}

/* ===================================================
   MOBILE PREMIUM FOOTER
=================================================== */

@media only screen and (max-width:760px){

    .footer-main{

        display:flex !important;
        flex-direction:column;

        align-items:center;
        justify-content:center;

        text-align:center;

        gap:20px;

        padding-bottom:28px;
    }

    .footer-brand{
        text-align:center;
    }

    .footer-brand h2{

        margin:6px 0 0;

        font-size:3rem !important;
    }

    .footer-brand .eyebrow{

        margin-bottom:6px;

        font-size:.58rem !important;

        letter-spacing:.12em;
    }

    /* Navigation */

    .mobile-footer-links{

        display:flex !important;

        flex-direction:row;

        justify-content:center;

        align-items:center;

        flex-wrap:wrap;

        gap:12px;

    }

    .mobile-footer-links a{

        font-size:.72rem !important;

        text-decoration:none;

        position:relative;

    }

    /* Add separator */

    .mobile-footer-links a:not(:last-child)::after{

        content:"|";

        margin-left:12px;

        color:rgba(255,255,255,.45);

    }

    /* Contact */

    .mobile-footer-contact{

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:10px;

    }

    .mobile-footer-contact a,

    .mobile-footer-contact p{

        margin:0;

        font-size:.72rem !important;

        display:flex;

        align-items:center;

        gap:8px;

        justify-content:center;

    }

    .mobile-footer-contact i{

        color:#fff;

        width:18px;

    }

}


