@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

/* =========================================
   BRAIDSCONNECT HUB â€” V2 LAUNCH STYLES
   ========================================= */

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #f8fafc;
  line-height: 1.55;
}

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

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

h1,
h2,
h3,
.hero-text h1,
.section-header h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  color: #111827;
}

/* ACCESSIBILITY */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #111827;
  color: #ffffff;
  border-radius: 999px;
}

/* LAYOUT */
.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* =========================================
   HEADER / NAV
   ========================================= */

.site-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo a {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111827;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.8rem;
  list-style: none;
}

.main-nav a {
  font-size: 0.96rem;
  font-weight: 600;
  color: #111827;
  position: relative;
  padding-bottom: 0.25rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #a855f7;
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.8rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.16s ease-out,
    background-color 0.16s ease-out,
    box-shadow 0.16s ease-out;
}

.primary-btn {
  background: #a855f7;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(168, 85, 247, 0.38);
}

.primary-btn:hover,
.primary-btn:focus-visible {
  background: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(124, 58, 237, 0.42);
}

.hero-main-btn {
  width: 220px;
}

/* =========================================
   HERO
   ========================================= */

.hero {
  min-height: 76vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.68) 0%,
      rgba(15, 23, 42, 0.42) 42%,
      rgba(15, 23, 42, 0.14) 100%
    ),
    url("images/02.jpg");
  background-size: cover;
  background-position: center 38%;
}

.hero-inner {
  width: 100%;
  padding: 6rem 0;
}

.hero-text {
  max-width: 650px;
}

.hero-kicker {
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero-text h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 0.98;
  color: #ffffff;
  max-width: 760px;
}

.hero-tagline {
  max-width: 560px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.93);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* =========================================
   ABOUT STRIP
   ========================================= */

.about-strip {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.about-strip-inner {
  padding: 2.2rem 0;
}

.about-strip p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.06rem;
  line-height: 1.75;
  color: #374151;
}

/* =========================================
   SECTION HEADERS
   ========================================= */

.section-header {
  text-align: center;
  margin-bottom: 2.6rem;
}

.section-header h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: 0.06em;
}

.section-subtitle {
  color: #6b7280;
  font-size: 1rem;
}

/* =========================================
   SERVICES
   ========================================= */

.services {
  padding: 5.5rem 0;
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #ffffff;
}

.service-card h3 {
  margin: 1.35rem 1.45rem 0.45rem;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0 1.45rem 1.7rem;
  color: #4b5563;
  font-size: 0.98rem;
}

/* =========================================
   FEATURED WORK ON HOMEPAGE
   ========================================= */

.featured-work {
  padding: 5.5rem 0;
  background: #ffffff;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.services-cta {
  margin-top: 2.8rem;
  text-align: center;
}

/* =========================================
   PROJECT CARDS
   Used on homepage Featured Work and members.html
   ========================================= */

.members {
  min-height: calc(100vh - 145px);
  padding: 5.5rem 0 4.5rem;
  background: #ffffff;
}

.members-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.member-card {
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
}

.member-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f3f4f6;
}

.member-body {
  min-height: 185px;
  padding: 1.35rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-body h3,
.member-card-title {
  margin-bottom: 0.4rem;
  font-size: 1.12rem;
  line-height: 1.25;
}

.member-body p,
.member-card-tagline {
  margin-bottom: 1.1rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.member-btn {
  width: 9.8rem;
  min-height: 42px;
  margin-top: auto;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

/* =========================================
   DIRECT CONTACT SECTION
   ========================================= */

.contact-direct {
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.13), transparent 35%),
    #f8fafc;
}

.contact-direct-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
  background: #ffffff;
  border-radius: 1.75rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.contact-direct h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.contact-direct p {
  margin: 0 auto 1.65rem;
  max-width: 560px;
  color: #4b5563;
  font-size: 1.03rem;
}

.contact-direct-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-small {
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
  color: #6b7280 !important;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  background: #eef2f7;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #111827;
  font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
  .services-grid,
  .featured-grid,
  .members-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .hero {
    min-height: 74vh;
    background-position: center top;
  }

  .hero-text {
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: auto;
    padding: 0.9rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .logo a {
    font-size: 0.96rem;
    letter-spacing: 0.18em;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    width: 100%;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
  }

  .main-nav a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: 82vh;
    align-items: flex-end;
    background-position: 56% center;
  }

  .hero-inner {
    padding: 3.8rem 0 4.3rem;
  }

  .hero-text h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
    line-height: 1;
  }

  .hero-tagline {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-main-btn {
    width: 230px;
  }

  .about-strip-inner {
    padding: 1.8rem 0;
  }

  .about-strip p {
    text-align: left;
    font-size: 0.98rem;
  }

  .services,
  .featured-work,
  .members,
  .contact-direct {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .service-image,
  .member-image {
    height: 210px;
  }

  .contact-direct-inner {
    padding: 2.2rem 1.35rem;
  }

  .contact-direct-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-direct-links .btn {
    width: min(100%, 280px);
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, 1120px);
  }

  .main-nav ul {
    justify-content: flex-start;
  }

  .hero {
    min-height: 84vh;
    background-position: 58% center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-main-btn {
    width: 100%;
    max-width: 280px;
  }

  .member-body {
    min-height: auto;
  }
}

/* =========================================
   MIGRATED V2 PREVIEW HOMEPAGE STYLES
   Source: BraidsConnect Hub 1/styles.css
   ========================================= */

:root {
  --ink: #171f19;
  --muted: #5f655e;
  --cream: #f7efe4;
  --ivory: #fffaf1;
  --paper: #fcf7ef;
  --white: #ffffff;
  --green: #10261b;
  --green-deep: #07130e;
  --green-soft: #183526;
  --purple: #5d32b4;
  --purple-dark: #3c206c;
  --gold: #d7a84b;
  --amber: #f0c56a;
  --line: rgba(23, 31, 25, 0.12);
  --line-light: rgba(255, 250, 241, 0.18);
  --shadow: 0 22px 65px rgba(16, 38, 27, 0.16);
  --radius: 26px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 12vw, 5rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 8vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.42rem;
}

.container {
  width: min(100% - 36px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 247, 239, 0.98);
  border-bottom: 1px solid rgba(23, 31, 25, 0.1);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 16px 14px;
}

.brand {
  align-self: flex-start;
  color: var(--green);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--purple);
}

.site-nav {
  display: flex;
  width: 100%;
  gap: 18px;
  overflow-x: auto;
  color: #39473e;
  font-size: 0.84rem;
  font-weight: 800;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--purple);
  border-color: var(--gold);
}

.hero {
  color: var(--ivory);
  background:
    radial-gradient(circle at 15% 12%, rgba(215, 168, 75, 0.2), transparent 28%),
    linear-gradient(145deg, var(--green-deep), var(--green) 58%, #0c1b13);
}

.hero-grid {
  display: grid;
  gap: 30px;
  padding-block: 44px 42px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-gold {
  color: var(--amber);
}

.hero-support {
  max-width: 640px;
  margin-bottom: 22px;
  color: rgba(255, 250, 241, 0.84);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
}

.button-primary,
.button-card {
  color: #170f22;
  background: var(--gold);
  border-color: var(--gold);
}

.button-ghost {
  color: var(--ivory);
  border-color: rgba(255, 250, 241, 0.42);
}

.button-secondary {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}

.button-light {
  color: var(--green-deep);
  background: var(--ivory);
}

.button-outline-light {
  color: var(--ivory);
  border-color: rgba(255, 250, 241, 0.52);
}

.hero-phone {
  margin: 18px 0 0;
  color: rgba(255, 250, 241, 0.86);
  font-weight: 800;
}

.hero-phone a,
.contact-number,
.conversion-actions a {
  color: var(--amber);
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero-visual picture,
.hero-visual img {
  display: block;
  width: 100%;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.featured-websites {
  padding-block: 72px;
  background: var(--ivory);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading > p:last-child,
.case-copy p,
.service-block p,
.audience-copy p,
.portfolio-copy p,
.page-hero p,
.project-content > p:not(.project-type) {
  color: var(--muted);
}

.case-stack {
  display: grid;
  gap: 28px;
}

.case-study {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-image {
  background: #eadfcf;
}

.case-image-dark {
  background: #092a1e;
}

.case-image img {
  width: 100%;
  height: auto;
}

.case-copy {
  padding: 24px;
}

.project-type {
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  margin-top: 2px;
  color: var(--purple);
  font-size: 0.92rem;
  font-weight: 900;
}

.conversion-strip {
  padding-block: 24px;
  color: var(--ivory);
  background: var(--green-soft);
}

.conversion-inner,
.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.conversion-inner {
  justify-content: space-between;
}

.conversion-inner p {
  margin-bottom: 0;
  font-weight: 900;
}

.mini-link {
  padding: 7px 12px;
  border: 1px solid rgba(240, 197, 106, 0.55);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.services-section {
  padding-block: 72px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 85% 8%, rgba(215, 168, 75, 0.13), transparent 30%),
    var(--green-deep);
}

.section-heading-light > p,
.section-heading-light h2 {
  color: var(--ivory);
}

.service-blocks {
  display: grid;
  gap: 18px;
}

.service-block {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.service-image {
  overflow: hidden;
  background: rgba(255, 250, 241, 0.1);
  border-radius: 18px;
}

.service-image img {
  width: 100%;
  height: auto;
}

.service-image-dark {
  background: #092a1e;
}

.service-block p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.78);
}

.audience-section {
  padding-block: 72px;
  background: var(--cream);
}

.audience-grid {
  display: grid;
  gap: 34px;
}

.audience-copy {
  max-width: 620px;
}

.transition-line {
  margin-top: 18px;
  font-weight: 900;
}

.audience-panel {
  display: grid;
  gap: 14px;
}

.audience-panel article {
  overflow: hidden;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(16, 38, 27, 0.1);
}

.audience-panel img {
  width: 100%;
  aspect-ratio: 1200 / 625;
  object-fit: contain;
  background: #efe5d7;
}

.audience-panel h3 {
  margin: 0;
  padding: 16px;
  font-size: 1.05rem;
}

.portfolio-section {
  padding-block: 72px;
  background: #eadfce;
}

.portfolio-card {
  display: grid;
  overflow: hidden;
  background: var(--ivory);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.portfolio-image {
  background: #efe9df;
}

.portfolio-image img {
  width: 100%;
  height: auto;
}

.portfolio-copy {
  padding: 24px;
}

.contact-section {
  padding-block: 68px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 90% 0%, rgba(240, 197, 106, 0.16), transparent 28%),
    linear-gradient(145deg, var(--purple-dark), #201333);
}

.contact-inner {
  display: grid;
  gap: 28px;
}

.contact-inner h2 {
  max-width: 740px;
}

.contact-inner p {
  max-width: 620px;
  margin-bottom: 16px;
  color: rgba(255, 250, 241, 0.82);
}

.contact-number {
  display: inline-block;
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 11vw, 4rem);
  font-weight: 800;
  line-height: 1;
}

.contact-actions {
  align-items: flex-start;
}

.site-footer {
  padding-block: 30px;
  color: rgba(255, 250, 241, 0.75);
  background: #07130e;
  font-size: 0.88rem;
}

.footer-inner,
.footer-links {
  display: grid;
  gap: 10px;
}

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

.footer-brand {
  color: var(--ivory);
  font-weight: 900;
}

.footer-links a {
  color: rgba(255, 250, 241, 0.82);
}

.page-hero {
  padding-block: 48px 38px;
  background:
    radial-gradient(circle at 78% 20%, rgba(215, 168, 75, 0.16), transparent 28%),
    var(--cream);
}

.page-hero-inner {
  max-width: 760px;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}

.projects-section {
  padding-block: 36px 72px;
  background: var(--paper);
}

.project-grid {
  display: grid;
  gap: 18px;
}

.project-card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(16, 38, 27, 0.1);
}

.project-image {
  background: #eadfcf;
}

.project-image.teranga-image {
  background: #092a1e;
}

.project-image.print-express-image {
  background: #efe9df;
}

.project-image img {
  width: 100%;
  height: auto;
}

.project-content {
  padding: 22px;
}

.project-content h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.project-content p:not(.project-type) {
  margin-bottom: 16px;
}

.compact-contact {
  padding-block: 54px;
}

@media (min-width: 520px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav {
    width: auto;
  }

  html {
    scroll-padding-top: 84px;
  }
}

@media (min-width: 760px) {
  .container {
    width: min(100% - 64px, var(--container));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    min-height: 680px;
    padding-block: 54px;
  }

  .hero-visual img {
    height: min(620px, 58vw);
    object-fit: cover;
    object-position: center;
  }

  .featured-websites,
  .services-section,
  .audience-section,
  .portfolio-section {
    padding-block: 96px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .case-stack {
    gap: 34px;
  }

  .case-study {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: stretch;
  }

  .case-study-reverse .case-image {
    order: 2;
  }

  .case-image img {
    height: 100%;
    min-height: 430px;
    object-fit: contain;
  }

  .case-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 58px);
  }

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

  .service-block {
    align-content: start;
    padding: 20px;
  }

  .audience-grid {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
  }

  .audience-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }

  .portfolio-copy {
    padding: clamp(34px, 5vw, 58px);
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .contact-actions {
    justify-content: flex-end;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }

  .project-grid-home,
  .project-grid-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-section {
    padding-block: 54px 96px;
  }
}

@media (min-width: 1080px) {
  h1 {
    font-size: 5.4rem;
  }

  .project-grid-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 374px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .button-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: auto;
  }

  h1 {
    font-size: 2.65rem;
  }
}

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

.hero h1,
.services-section h2,
.services-section h3,
.contact-section h2 {
  color: var(--ivory);
}
