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

:root {
  --bg: #F3F4F6;
  --bg-light: #FFFFFF;
  --blue: #1f3a4d;
  --blue-mid: #355d78;
  --blue-soft: #E6EDF3;
  --text: #161616;
  --muted: #5F6F7D;
  --line: rgba(31, 58, 77, 0.16);

  --serif: Georgia, "Times New Roman", serif;
  --sans: Helvetica, Arial, sans-serif;
  --display: "League Spartan", Helvetica, Arial, sans-serif;

  --radius-lg: 30px;
  --section-pad: 95px 6vw;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

img,
video {
  width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ANIMATION */

.hidden {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  padding: 18px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(243, 244, 246, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}

.logo img {
  width: auto;
  height: 30px;
}

.main-nav,
.footer-links {
  display: flex;
  gap: 30px;
}

.main-nav a,
.footer-links a,
.text-link,
.button,
.eyebrow,
.case-meta,
.copy-card span,
.copy-hashtags,
.work-index a,
.service-card span,
.service-detail-card span,
.contact-details span,
figcaption,
.project-info span,
.project-info small {
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.main-nav a,
.footer-links a {
  font-size: 12px;
  text-decoration: none;
  color: var(--blue);
}

.main-nav a:hover,
.footer-links a:hover,
.text-link:hover,
.button:hover {
  opacity: 0.75;
}

/* TYPE */

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--blue-mid);
}

h1,
h2,
h3,
h4 {
  color: var(--blue);
}

h1,
h2,
.case-subcopy h3,
.copy-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  font-size: clamp(46px, 6vw, 88px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.98;
}

h3 {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
}

h4 {
  font-size: 28px;
  line-height: 1.08;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}

.intro-text {
  max-width: 650px;
  margin-top: 26px;
  font-size: 18px;
}

/* BUTTONS */

.button {
  display: inline-block;
  padding: 14px 25px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #FFFFFF;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.secondary-button {
  background: transparent;
  color: var(--blue);
}

.text-link {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--blue);
  color: var(--blue);
  font-size: 13px;
  text-decoration: none;
  transition: 0.25s ease;
}

/* SHARED LAYOUT */

.statement-section,
.results-section,
.about-preview,
.subpage-hero,
.case-overview,
.process-section,
.contact-page {
  display: grid;
  gap: 60px;
  align-items: center;
}

.statement-section,
.results-section,
.about-preview,
.selected-work,
.services-preview,
.testimonials,
.background-section,
.case-section,
.contact-cta,
.services-page-section {
  padding: var(--section-pad);
  border-bottom: 1px solid var(--line);
}

.statement-cards,
.results-grid,
.project-grid,
.services-grid,
.testimonial-grid,
.background-grid,
.services-detail-grid,
.copy-grid {
  display: grid;
  gap: 22px;
}

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

.section-heading h2 {
  max-width: 820px;
}

/* HOME HERO */

.hero {
  min-height: 100vh;
  padding: 118px 6vw 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 70px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-copy::after {
  content: "";
  display: block;
  width: 110px;
  height: 3px;
  margin-top: 28px;
  background: var(--blue);
  border-radius: 999px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-collage {
  position: relative;
  min-height: 620px;
}

.paper {
  position: absolute;
  border: 1px solid rgba(31, 58, 77, 0.18);
}

.paper-grid {
  inset: 40px 34px auto auto;
  width: 72%;
  height: 68%;
  background-color: var(--blue-soft);
  background-image:
    linear-gradient(rgba(31, 58, 77, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 58, 77, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  transform: rotate(-2deg);
}

.paper-blue {
  right: 0;
  top: 110px;
  width: 55%;
  height: 66%;
  background: #DCE7F2;
  transform: rotate(3deg);
}

.portrait-card {
  position: absolute;
  left: 0;
  top: 62px;
  width: 78%;
  height: 410px;
  padding: 20px;
  background: var(--bg-light);
  border: 1px solid rgba(31, 58, 77, 0.2);
  transform: rotate(-3deg);
  box-shadow: 0 22px 60px rgba(31, 58, 77, 0.12);
  z-index: 3;
}

.portrait-card img {
  height: 100%;
  object-fit: cover;
}

.note-card {
  position: absolute;
  right: 10px;
  top: 155px;
  width: 170px;
  padding: 24px 20px;
  display: grid;
  gap: 10px;
  background: var(--bg-light);
  border: 1px solid rgba(31, 58, 77, 0.18);
  transform: rotate(4deg);
  z-index: 4;
}

.note-card span {
  font-family: var(--display);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.handwritten-note {
  position: absolute;
  left: 150px;
  bottom: 28px;
  max-width: 330px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 25px;
  line-height: 1.18;
  color: var(--blue);
  z-index: 5;
}

/* POINT SECTION */

.statement-section {
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--blue-soft);
}

.statement-copy h2 {
  max-width: 620px;
}

.statement-cards {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

/* CARDS */

.proof-card,
.project-card,
.service-card,
.testimonial-card,
.service-detail-card,
.copy-card,
.case-media,
.dashboard-card,
.growth-card,
.video-card,
.contact-page-form {
  border: 1px solid rgba(31, 58, 77, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
}

.proof-card,
.service-card,
.testimonial-card,
.copy-card,
.service-detail-card {
  padding: 34px;
}

.proof-card span,
.service-card span {
  display: block;
  margin-bottom: 34px;
  font-size: 13px;
  color: var(--blue-mid);
}

.proof-card h3,
.service-card h3 {
  margin-bottom: 14px;
}

.proof-card p,
.service-card p {
  font-size: 14px;
}

/* SELECTED WORK */

.project-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: 0.25s ease;
}

.project-card:hover,
.service-card:hover {
  transform: translateY(-4px);
}

.project-image {
  height: 260px;
  overflow: hidden;
  background: var(--blue-soft);
}

.project-image img {
  height: 100%;
  object-fit: cover;
}

.logo-image img,
.contain-image img {
  object-fit: contain;
  padding: 10px;
}

.project-info {
  flex: 1;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.project-info span,
.project-info small {
  display: block;
  font-size: 12px;
  color: var(--blue-mid);
}

.project-info h3 {
  margin: 16px 0 14px;
}

.project-info p {
  margin-bottom: 22px;
  font-size: 14px;
}

.project-info small {
  margin-top: auto;
  padding-top: 16px;
}

/* RESULTS */

.results-section {
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--blue);
}

.results-section h2,
.results-section .eyebrow,
.results-section p,
.results-grid strong,
.results-section .proof-card span {
  color: #FFFFFF;
}

.results-section h2 {
  margin-bottom: 24px;
}

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

.results-grid .proof-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.results-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
}

/* SERVICES */

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

.service-card {
  min-height: 250px;
}

/* ABOUT PREVIEW */

.about-preview,
.subpage-hero {
  grid-template-columns: 0.9fr 1.1fr;
}

.about-collage {
  position: relative;
}

.about-image {
  position: relative;
  z-index: 2;
  width: 85%;
  height: 440px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid rgba(31, 58, 77, 0.16);
  transform: rotate(-2deg);
}

.about-image img {
  height: 100%;
  object-fit: cover;
}

.small-paper {
  position: absolute;
  right: 20px;
  bottom: -30px;
  width: 240px;
  height: 180px;
  background-color: var(--blue-soft);
  background-image:
    linear-gradient(rgba(31, 58, 77, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 58, 77, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.about-preview .eyebrow {
  margin-bottom: 28px;
}

.about-preview h2 {
  margin-bottom: 26px;
}

.about-preview p {
  max-width: 720px;
  margin-bottom: 28px;
}

.about-preview .text-link {
  margin-top: 4px;
}
.about-page .subpage-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-page .subpage-copy p {
  margin: 0;
}
/* TESTIMONIALS */

.testimonial-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--blue-soft);
}

.testimonial-card p {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.18;
  color: var(--blue);
}

.testimonial-card span {
  margin-top: 26px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  font-weight: 600;
}

/* SUBPAGES */

.simple-page-hero {
  display: block;
  min-height: auto;
  padding: 150px 6vw 90px;
}

.subpage-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 150px 40px 90px;
}

.subpage-hero.about-page-hero {
  padding-top: 210px;
}

.subpage-copy {
  max-width: 980px;
}

.about-page-hero .subpage-copy {
  max-width: 700px;
}

.about-page-hero .subpage-copy h1 {
  margin-bottom: 34px;
}

.about-page-hero .intro-text {
  margin-top: 0;
  margin-bottom: 24px;
}

.about-page-hero .subpage-copy p:not(.eyebrow):not(.intro-text) {
  margin-bottom: 0;
}

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

.service-detail-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.service-detail-card span {
  margin-bottom: 46px;
  color: var(--blue-mid);
  font-size: 13px;
}

.service-detail-card h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.service-detail-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 30px;
}

.service-detail-card li {
  padding: 8px 12px;
  border: 1px solid rgba(31, 58, 77, 0.18);
  border-radius: 999px;
  color: var(--blue);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* CONTACT */

.subpage-hero.contact-page {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 100px;
}

.contact-page .subpage-copy {
  max-width: 520px;
}

.contact-details {
  margin-top: 42px;
  display: grid;
  gap: 24px;
}

.contact-details div {
  padding-top: 18px;
  border-top: 1px solid rgba(31, 58, 77, 0.25);
}

.contact-details span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--blue-mid);
}

.contact-details a,
.contact-details p {
  color: var(--blue);
  text-decoration: none;
}
.contact-details a:hover {
  color: var(--blue);
  opacity: 0.8;
}

.contact-page-form {
  width: 100%;
  padding: 44px;
  background: rgba(255, 255, 255, 0.35);
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(31, 58, 77, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
  border-radius: 24px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(31, 58, 77, 0.65);
}

.contact-form button.button {
  width: fit-content;
  min-width: 220px;
  justify-self: center;
  margin-top: 8px;
  padding: 18px 34px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #FFFFFF;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-form button.button:hover {
  background: transparent;
  color: var(--blue);
  transform: translateY(-2px);
  opacity: 1;
}
.form-message {
  min-height: 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.form-message.is-success {
  color: var(--blue);
}

.form-message.is-error {
  color: #8A3A3A;
}

/* WORK PAGE */

.work-index {
  padding: 22px 6vw;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  background: var(--blue-soft);
}

.work-index a {
  padding: 10px 15px;
  border: 1px solid rgba(31, 58, 77, 0.18);
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  text-decoration: none;
}

.case-section {
  position: relative;
}

.case-number {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 70px;
  line-height: 1;
  color: rgba(31, 58, 77, 0.2);
}

.case-header {
  max-width: 900px;
  margin-bottom: 54px;
}

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

.reverse-layout {
  grid-template-columns: 1fr 1fr;
}

.case-copy p {
  margin-bottom: 20px;
}

.case-meta {
  margin-top: 30px;
  font-size: 12px;
  color: var(--blue-mid);
}

.case-media,
.dashboard-card,
.growth-card {
  padding: 16px;
  overflow: hidden;
}

.case-media img {
  height: 440px;
  object-fit: cover;
  border-radius: 18px;
}

.logo-case-media img,
.contain-case-media img {
  object-fit: contain;
  padding: 46px;
  background: var(--blue-soft);
}

.case-subsection {
  margin-top: 90px;
  padding-top: 70px;
  border-top: 1px solid rgba(31, 58, 77, 0.14);
}

.case-subcopy {
  max-width: 780px;
  margin-bottom: 40px;
}

.case-subcopy h3 {
  max-width: 720px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
}

.case-subcopy p:not(.eyebrow) {
  margin-top: 22px;
}

.process-section {
  grid-template-columns: 0.8fr 1.2fr;
}

/* VIDEO + RESULTS IMAGES */

.video-grid {
  display: grid;
  gap: 26px;
}

.reel-grid {
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(220px, 320px));
  justify-content: center;
  align-items: start;
}

.video-card {
  overflow: hidden;
}

.reel-card video {
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: var(--blue-soft);
}

.video-card div {
  padding: 24px;
}

.video-card span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  font-weight: 600;
}

.plie-results-section {
  display: block;
}

.growth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.growth-card img,
.dashboard-card img {
  height: auto;
  border-radius: 18px;
}

.growth-card-large {
  max-width: 760px;
}

.growth-card figcaption {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--blue-mid);
}

/* COPY CARDS */

.copy-grid {
  align-items: start;
}

.copy-card p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.72;
}

.copy-card span {
  display: block;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--blue-mid);
}

.copy-card h4 {
  margin-bottom: 20px;
}

.copy-hashtags {
  margin-top: 28px;
  font-size: 13px !important;
  line-height: 1.6;
  color: var(--blue-mid) !important;
}

/* CTA + FOOTER */

.contact-cta {
  text-align: center;
}

.contact-cta h2 {
  max-width: 780px;
  margin: 0 auto;
}

.contact-cta p {
  max-width: 560px;
  margin: 24px auto 32px;
}

.site-footer {
  padding: 48px 6vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.footer-brand img {
  width: auto;
  height: 44px;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 14px;
}

.footer-links {
  justify-self: center;
  gap: 22px;
  flex-wrap: wrap;
}

.copyright {
  justify-self: end;
  font-size: 12px;
  color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .hero,
  .statement-section,
  .results-section,
  .about-preview,
  .subpage-hero,
  .case-overview,
  .reverse-layout,
  .process-section,
  .contact-page,
  .subpage-hero.contact-page {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    max-width: 680px;
  }

  .project-grid,
  .services-grid,
  .testimonial-grid,
  .background-grid,
  .reel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .statement-cards,
  .services-detail-grid,
  .copy-grid,
  .growth-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --section-pad: 76px 6vw;
  }

  .site-header {
    position: static;
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .main-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero,
  .simple-page-hero,
  .subpage-hero,
  .subpage-hero.about-page,
  .subpage-hero.contact-page {
    min-height: auto;
    padding: 70px 6vw;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 42px;
  }

  .project-grid,
  .services-grid,
  .testimonial-grid,
  .results-grid,
  .background-grid,
  .reel-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: 520px;
  }

  .portrait-card {
    width: 84%;
    height: 330px;
  }

  .note-card {
    right: 0;
    top: 120px;
  }

  .handwritten-note {
    left: 52px;
    bottom: 22px;
    max-width: 270px;
    font-size: 22px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-image {
    width: 100%;
    height: 360px;
  }

  .case-media img {
    height: auto;
  }

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

  .contact-page-form {
    padding: 28px 22px;
  }

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

  .footer-links,
  .copyright {
    justify-self: start;
  }
}