:root {
  --bg: #f5f2f1;
  --surface: rgba(255, 255, 255, 0.84);
  --text: #17191c;
  --text-soft: #545a61;
  --line: rgba(23, 25, 28, 0.12);
  --accent: #b03235;
  --accent-deep: #7b1e22;
  --dark: #14171b;
  --dark-soft: #1d2126;
  --shadow: 0 24px 60px rgba(15, 18, 22, 0.1);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(176, 50, 53, 0.09), transparent 26%),
    radial-gradient(circle at top right, rgba(93, 109, 126, 0.08), transparent 24%),
    linear-gradient(180deg, #f8f5f4 0%, #ece8e7 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), 760px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245, 247, 249, 0.88);
  border-bottom: 1px solid rgba(23, 25, 28, 0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: 0;
  padding-left: 1rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.brand-logo {
  width: 19rem;
  height: 7.2rem;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo-home {
  width: 24rem;
  height: 8rem;
}

.brand-text {
  display: grid;
  gap: 0.15rem;
}

.brand-text strong,
.eyebrow,
h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
}

.brand-text strong {
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

.brand-text small {
  color: var(--text-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a,
.nav-toggle {
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--text-soft);
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.nav-toggle:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-dark {
  background:
    radial-gradient(circle at top right, rgba(176, 50, 53, 0.16), transparent 24%),
    linear-gradient(180deg, #0f1114 0%, #161a1f 100%);
  color: #f4f6f8;
  padding-top: 6rem;
}

.hero-full-bleed {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.hero-background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-full-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.82) 0%, rgba(8, 10, 12, 0.58) 42%, rgba(8, 10, 12, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.2), rgba(8, 10, 12, 0.48)),
    radial-gradient(circle at top right, rgba(176, 50, 53, 0.14), transparent 24%);
}

.page-hero {
  padding: 4.5rem 0 1.5rem;
}

.theme-dark-page .page-hero {
  padding-top: 1.4rem;
}

.about-hero-grid {
  padding-top: 0;
}

.about-hero-full {
  min-height: 76vh;
  display: flex;
  align-items: center;
}

.about-hero-full .hero-grid-single {
  min-height: auto;
}

.about-hero-full .hero-copy-wide {
  padding: 2.5rem 0 2rem;
}


.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(176, 50, 53, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 65%);
  pointer-events: none;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.about-hero-image {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.hero-grid,
.split-layout,
.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-grid-single {
  grid-template-columns: 1fr;
  min-height: calc(100vh - 6.5rem);
}

.hero-copy-wide {
  max-width: 52rem;
  padding: 1.75rem 0 3rem;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 64ch;
}

.hero-dark .lead,
.hero-dark .button-secondary {
  color: #c6ced6;
}

.hero-dark .eyebrow,
.home-page .site-nav a.active {
  color: #f0b7b9;
}

.home-page .site-nav a.active {
  color: #0f1114;
  background: #ffffff;
}

.hero-dark .button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-actions,
.contact-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.hero-visual-single .visual-panel-main {
  inset: 0;
  border-radius: 6px;
}

.visual-panel {
  position: absolute;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-size: cover;
  background-position: center;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 15, 18, 0.06), rgba(12, 15, 18, 0.74)),
    linear-gradient(120deg, rgba(176, 50, 53, 0.16), transparent 55%);
}

.visual-panel span {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  display: block;
  max-width: 18ch;
  color: #f4f6f8;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.visual-panel-main {
  inset: 0 0 4.2rem 2rem;
}

.visual-panel-detail {
  width: 62%;
  height: 44%;
  left: 0;
  bottom: 0;
}

.section {
  padding: 1.5rem 0 4rem;
}

.home-page .section:not(.section-dark):not(.section-image-band):not(.logo-strip-section) {
  position: relative;
  isolation: isolate;
}

.home-page .section:not(.section-dark):not(.section-image-band):not(.logo-strip-section)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("AFS_icon_white_final_sharp large.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: min(30rem, 42vw);
  opacity: 0.08;
  pointer-events: none;
}

.section-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: #eef2f5;
}

.section-dark .eyebrow,
.section-dark .check-list p {
  color: #cfd6dd;
}

.section-dark .eyebrow {
  color: #f0b7b9;
}

.section-image-band {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
  color: #f4f6f8;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.section-image-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.82) 0%, rgba(10, 12, 14, 0.5) 48%, rgba(10, 12, 14, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.24), rgba(10, 12, 14, 0.44)),
    radial-gradient(circle at top right, rgba(176, 50, 53, 0.14), transparent 24%);
}

.section-image-band .section-heading h2,
.section-image-band .card h3 {
  color: #f4f6f8;
}

.section-image-band .eyebrow {
  color: #f0b7b9;
}

.section-image-band .card p {
  color: rgba(244, 246, 248, 0.82);
}

.feature-grid-transparent .card {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
}

.services-image-band {
  position: relative;
  isolation: isolate;
}

.services-image-band::before,
.services-image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.services-image-band::before {
  z-index: -2;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.18), rgba(10, 12, 14, 0.3));
}

.services-image-band::after {
  z-index: -1;
  background-image: var(--services-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(1100px, 92%);
  opacity: 0.16;
  filter: grayscale(1) contrast(1.1) brightness(2.4);
}

.services-image-band .card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.services-image-band .card h2 {
  color: #f4f6f8;
}

.services-image-band .card p {
  color: rgba(244, 246, 248, 0.84);
}

.theme-dark-page {
  color: #eef2f5;
  background:
    radial-gradient(circle at top left, rgba(176, 50, 53, 0.12), transparent 22%),
    linear-gradient(180deg, #101215 0%, #181c20 100%);
}

.theme-dark-page .site-header {
  background: rgba(12, 14, 17, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-dark-page .brand-text strong,
.theme-dark-page h1,
.theme-dark-page h2,
.theme-dark-page h3,
.theme-dark-page label {
  color: #f4f6f8;
}

.theme-dark-page .brand-text small,
.theme-dark-page .lead,
.theme-dark-page .card p,
.theme-dark-page .project-card p,
.theme-dark-page .team-card p,
.theme-dark-page .contact-panel p,
.theme-dark-page .flow-content p,
.theme-dark-page .showcase-intro p,
.theme-dark-page .site-footer p,
.theme-dark-page .site-nav a,
.theme-dark-page .nav-toggle {
  color: #b6bec7;
}

.theme-dark-page .site-nav a:hover,
.theme-dark-page .site-nav a.active,
.theme-dark-page .nav-toggle:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.theme-dark-page .card,
.theme-dark-page .project-card,
.theme-dark-page .team-card,
.theme-dark-page .contact-panel,
.theme-dark-page .contact-form,
.theme-dark-page .cta-panel,
.theme-dark-page .photo-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.theme-dark-page .project-tag {
  background: rgba(176, 50, 53, 0.18);
  color: #ffd6d7;
}

.theme-dark-page .team-role,
.theme-dark-page .eyebrow {
  color: #f0b7b9;
}

.theme-dark-page .contact-form input,
.theme-dark-page .contact-form textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f6f8;
}

.theme-dark-page .contact-form input::placeholder,
.theme-dark-page .contact-form textarea::placeholder {
  color: #98a2ad;
}

.theme-dark-page .site-footer {
  background: rgba(10, 12, 14, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .site-header {
  background: rgba(9, 11, 14, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .site-nav a,
.home-page .nav-toggle,
.home-page .brand-text small {
  color: #b6bec7;
}

.home-page .brand-text strong {
  color: #f4f6f8;
}

.home-page .site-nav a:hover,
.home-page .nav-toggle:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

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

.section-heading h2,
.cta-panel h2,
.gallery-copy h2,
.team-card h2,
.card h2,
.services-subheading {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.compact {
  margin-bottom: 1.5rem;
}

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

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card,
.project-card,
.team-card,
.gallery-card,
.contact-panel,
.contact-form,
.cta-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.home-page .card,
.home-page .project-card,
.home-page .cta-panel {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.card,
.project-card,
.team-card,
.contact-panel,
.contact-form {
  padding: 1.5rem;
  border-radius: var(--radius);
}

.card h3,
.project-card h3,
.card h2 {
  margin: 0 0 0.8rem;
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 0.95;
}

.card p,
.project-card p,
.team-card p,
.gallery-copy p,
.contact-panel p,
.flow-content p {
  color: var(--text-soft);
  line-height: 1.8;
}

.split-layout {
  grid-template-columns: 0.95fr 1.05fr;
}

.check-list {
  display: grid;
  gap: 1rem;
}

.check-list p {
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f6f8;
  font-weight: 600;
}

.project-tag {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(76, 85, 95, 0.12);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card {
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.flow-content {
  display: grid;
  gap: 0.6rem;
}

.flow-content p {
  margin: 0;
}

.about-story {
  position: relative;
  gap: 1.15rem;
  padding: 2rem 2rem 2rem 2.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.about-story::before,
.about-story::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.3;
}

.about-story::before {
  top: -1rem;
  right: -7rem;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 28px transparent,
    0 0 0 18px rgba(255, 255, 255, 0.04);
}

.about-story::after {
  right: -2rem;
  bottom: 3rem;
  width: 320px;
  height: 120px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 20% 50%, transparent 32px, rgba(255, 255, 255, 0.1) 33px, rgba(255, 255, 255, 0.1) 34px, transparent 35px),
    radial-gradient(circle at 78% 50%, transparent 32px, rgba(255, 255, 255, 0.1) 33px, rgba(255, 255, 255, 0.1) 34px, transparent 35px);
  background-repeat: no-repeat;
  background-size: 180px 1px, 110px 1px, 70px 70px, 70px 70px;
  background-position: 70px 60px, 105px 84px, 0 25px, 250px 25px;
}

.section-intro {
  margin-bottom: -1rem;
}

.team-photo-placeholder,
.gallery-image {
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(18, 22, 26, 0.08), rgba(18, 22, 26, 0.3)),
    linear-gradient(140deg, #949ca4, #4f5861);
  background-size: cover;
  background-position: center top;
  background-blend-mode: multiply;
  color: #f4f7f9;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 1.4rem;
}

.team-photo-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.team-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.25rem;
  align-content: start;
  align-items: stretch;
}

.team-copy {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.team-role {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-photo-placeholder-empty {
  background:
    linear-gradient(180deg, rgba(18, 22, 26, 0.08), rgba(18, 22, 26, 0.22)),
    linear-gradient(140deg, #b6bdc5, #848e98);
}

.team-photo-placeholder-empty::after {
  content: "Photo Coming Soon";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  min-height: 2.8rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--accent-deep);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-card-large {
  grid-row: span 2;
}

.gallery-card-large .gallery-image {
  min-height: 420px;
  border-radius: 0;
}

.gallery-copy {
  padding: 1.5rem;
}

.showcase-intro {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-bottom: 2rem;
}

.showcase-intro p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

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

.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  min-height: 280px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.photo-card:hover img {
  transform: scale(1.03);
}

.photo-card-wide {
  grid-column: span 2;
  min-height: 420px;
}

.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.96);
}

.cta-section {
  padding-bottom: 5rem;
}

.cta-panel {
  border-radius: 32px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer {
  border-top: 1px solid rgba(23, 25, 28, 0.08);
  background: rgba(245, 247, 249, 0.88);
}

.site-footer p {
  margin: 0;
  color: var(--text-soft);
}

.logo-strip-section {
  padding-top: 0;
  overflow: hidden;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #111419 0%, #171b20 100%);
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 1;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #111419 0%, transparent 100%);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #111419 0%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  padding: 1.4rem 0;
  animation: marquee-scroll 24s linear infinite;
}

.logo-marquee-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  min-height: 5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.96);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
}

.logo-marquee-track img {
  max-width: 6.2rem;
  max-height: 2.8rem;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.js-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
  will-change: opacity, transform;
}

.js-enabled .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .about-hero-grid,
  .split-layout,
  .contact-layout,
  .gallery-grid,
  .photo-gallery,
  .feature-grid,
  .project-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .team-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-dark {
    padding-top: 4.5rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .visual-panel-main {
    inset: 0 1rem 3.5rem 1rem;
  }

  .hero-visual-single .visual-panel-main {
    inset: 0;
  }

  .visual-panel-detail {
    width: calc(100% - 2rem);
    left: 1rem;
  }

  .cta-panel,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-card-wide {
    grid-column: span 1;
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .home-page .brand {
    margin-left: 0;
  }

  .about-story {
    padding: 1.5rem 0 0;
    border-left: 0;
  }

  .about-story::before,
  .about-story::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.5rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding-inline: 0;
    border-radius: 0;
    background: transparent;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }
}
