:root {
  --ink: #0b3048;
  --ink-soft: #173d56;
  --paper: #eef6f6;
  --mint: #b4dddd;
  --teal: #3caab1;
  --aqua: #7ed4d2;
  --magenta: #bd20ce;
  --violet: #8a1e9d;
  --white: #ffffff;
  --max: 1198px;
  --content: 1140px;
  --radius: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.hero {
  min-height: 780px;
  display: grid;
  align-items: center;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(238, 246, 246, 0.65), rgba(238, 246, 246, 0.88)),
    url("../current/Images/bgheader.jpg") center top / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(52px, 7vw, 104px);
}

.hero-portrait {
  justify-self: end;
  width: 423px;
  max-width: 100%;
}

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

.name-art {
  width: 692px;
  max-width: 100%;
  margin: 0 0 18px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: "Montserrat", "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

.lead {
  max-width: 560px;
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-family: "Montserrat", "DM Sans", sans-serif;
  font-size: 20px;
  line-height: 1.3;
}

.heading-art {
  width: min(100%, 540px);
  margin: 0 auto 50px;
}

#portfolio {
  padding-top: 50px;
  padding-bottom: 110px;
}

#portfolio .heading-art {
  width: min(100%, 520px);
  margin-bottom: 46px;
}

.portfolio-grid,
.project-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 30px;
}

.portfolio-tile {
  display: block;
  overflow: hidden;
  aspect-ratio: 1430 / 1072;
  background: transparent;
  text-decoration: none;
}

.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, opacity 180ms ease;
}

.portfolio-tile:hover img,
.portfolio-tile:focus-visible img {
  opacity: 0.92;
  transform: scale(1.015);
}

.dark-band {
  padding: 132px 0 142px;
  color: var(--white);
  background:
    linear-gradient(rgba(10, 48, 72, 0.95), rgba(10, 48, 72, 0.95)),
    url("../current/Images/blue-bg.jpg") center / cover no-repeat;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(300px, 1.04fr) minmax(300px, 0.96fr);
  align-items: center;
  gap: clamp(54px, 8vw, 98px);
}

.video-frame {
  overflow: hidden;
  background: var(--teal);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.dark-band .heading-art {
  width: min(100%, 450px);
  margin: 0 0 32px;
}

.body-copy p {
  margin: 0;
  color: inherit;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.accent {
  color: var(--teal);
  font-weight: 900;
  font-style: italic;
}

.actions {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.95rem 1.45rem;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--magenta);
  box-shadow: none;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  background: var(--violet);
}

#testimonials {
  min-height: 590px;
  display: grid;
  align-items: center;
  padding: 118px 0 128px;
  background:
    linear-gradient(rgba(180, 221, 221, 0.9), rgba(180, 221, 221, 0.9)),
    url("../current/Images/bg2.png") center / cover no-repeat;
}

#testimonials .heading-art {
  width: min(100%, 610px);
  margin-bottom: 54px;
}

.quote {
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
}

.quote blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.32;
}

.quote figcaption {
  margin-top: 30px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

.quote figcaption span {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
}

.work-together {
  padding: 104px 0 118px;
  background: #91cecb;
  text-align: center;
}

.work-wrap {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto;
}

.work-together .heading-art {
  width: min(100%, 455px);
  margin-bottom: 34px;
}

.upwork-art {
  width: min(100%, 720px);
  margin: 0 auto 34px;
}

.work-together .body-copy p {
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.work-together .actions {
  justify-content: center;
}

.contact-section {
  min-height: 690px;
  padding: 84px 0 118px;
  color: var(--white);
  background:
    linear-gradient(rgba(10, 48, 72, 0.96), rgba(10, 48, 72, 0.96)),
    url("../current/Images/bg3.png") center / cover no-repeat;
}

.contact-wrap {
  width: min(calc(100% - 48px), 520px);
  margin: 0 auto;
  text-align: center;
}

.contact-section .heading-art {
  width: min(100%, 310px);
  margin-bottom: 42px;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 8px;
  text-align: center;
}

.form-field label {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--magenta);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.14);
  outline: none;
  text-align: center;
}

.form-field input {
  min-height: 54px;
  padding: 0.8rem 1rem;
}

.form-field textarea {
  min-height: 160px;
  padding: 1.1rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form .button {
  justify-self: center;
  margin-top: 4px;
}

.honey {
  position: absolute;
  left: -9999px;
}

.project-name {
  padding: 58px 24px 40px;
  background: var(--paper);
  text-align: center;
}

.project-name a {
  display: inline-block;
}

.project-name img {
  width: 377px;
  max-width: 100%;
}

.project-name .home-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: max-content;
  min-height: 46px;
  margin: 22px auto 0;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--magenta);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
}

.project-name .home-button svg {
  width: 0.72rem;
  height: 1rem;
  fill: currentColor;
}

.project-name .home-button:hover,
.project-name .home-button:focus-visible {
  color: var(--white);
  background: var(--violet);
}

.project-gallery {
  padding: 0 0 86px;
  background: var(--white);
}

.project-stack {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.project-stack img {
  width: 100%;
  height: auto;
  margin: 0 auto 28px;
  background: var(--white);
}

.portfolio-more {
  padding: 72px 0 84px;
  background: var(--paper);
}

.project-rail {
  gap: 24px 30px;
}

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

  .hero {
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
  }

  .hero-portrait {
    justify-self: center;
    width: 100%;
    max-width: 423px;
  }

  .hero-copy,
  .dark-band .body-copy {
    justify-self: center;
    text-align: center;
  }

  .hero-copy {
    width: 100%;
  }

  .name-art,
  .dark-band .heading-art {
    margin-left: auto;
    margin-right: auto;
  }

  .name-art {
    width: 100%;
  }

  .actions {
    justify-content: center;
  }

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

@media (max-width: 640px) {
  .wrap,
  .work-wrap,
  .contact-wrap,
  .project-stack {
    width: min(calc(100% - 32px), var(--max));
  }

  .section,
  #portfolio,
  .dark-band,
  #testimonials,
  .work-together,
  .contact-section,
  .portfolio-more {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .portfolio-grid,
  .project-rail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-grid {
    gap: 36px;
  }

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

  .hero-portrait {
    max-width: 358px;
  }

  .eyebrow {
    font-size: 22px;
  }

  .lead {
    font-size: 16px;
  }

  .heading-art {
    margin-bottom: 32px;
  }

  .body-copy p,
  .work-together .body-copy p {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
