@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/bricolage-grotesque.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/inter-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/inter-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --ink: #191d21;
  --copy: #3f444a;
  --paper: #ffffff;
  --panel: #fafafa;
  --nav: rgba(255, 255, 255, .86);
  --shadow: 0 2px 5px rgba(24, 31, 36, .05), 0 10px 28px rgba(24, 31, 36, .04);
  --panel-radius: 40px;
  --content: 1424px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: max(20px, calc((100vw - 1472px) / 2));
  right: max(20px, calc((100vw - 1472px) / 2));
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 48px;
  border: 1px solid rgba(25, 29, 33, .035);
  border-radius: 0 0 24px 24px;
  background: var(--nav);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.site-nav { display: flex; align-items: center; gap: 8px; }

.site-nav a {
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 16px;
  transition: background-color .25s ease, transform .25s ease;
}

.site-nav a:hover, .site-nav a:focus-visible { background: #f0f1f1; }
.site-nav a:active { transform: translateY(1px); }

.menu-button { display: none; }

.page-panel {
  width: min(calc(100% - 40px), 1472px);
  margin-inline: auto;
  border-radius: var(--panel-radius);
  background: var(--panel);
}

.hero {
  padding: 160px 32px 56px;
  display: grid;
  place-items: start center;
}

.hero-copy { width: 100%; max-width: 850px; text-align: center; }

.hero h1 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(64px, 6.35vw, 96px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.hero h1 img {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 14px;
  object-fit: cover;
  object-position: 50% 38%;
  transform: rotate(4deg);
  box-shadow: 0 8px 16px rgba(25,29,33,.15);
}

.hero-copy > p {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--copy);
  font-size: 20px;
  line-height: 1.8;
  text-align: left;
}

.case-studies {
  width: min(calc(100% - 88px), var(--content));
  margin: 0 auto;
  padding: 64px 0 144px;
}

.section-title {
  margin: 0 0 50px;
  text-align: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 48px;
  line-height: 1.15;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.project-card {
  min-width: 0;
  display: block;
  border-radius: 28px 28px 12px 12px;
}

.project-card:focus-visible {
  outline: 3px solid #315b67;
  outline-offset: 7px;
}

.project-image {
  height: 428px;
  overflow: hidden;
  border-radius: 28px;
  background: #f1f1f1;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}

.project-image--drexel {
  display: grid;
  place-items: center;
  padding: 38px;
  background: #e9f1fb;
}

.project-image--drexel img {
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(28, 56, 91, .16));
}

.project-image--glowm {
  padding: 42px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #e7f4ef;
}

.project-image--glowm img {
  width: auto;
  height: 100%;
  min-width: 0;
  object-fit: contain;
  border-radius: 13px;
  box-shadow: 0 18px 26px rgba(27, 69, 53, .12);
}

.project-card[href]:hover .project-image img,
.project-card[href]:focus-visible .project-image img { transform: scale(1.025); }

.project-copy { padding-top: 22px; }

.project-type {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #315b67;
}

.project-copy h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 36px;
  line-height: 1.4;
}

.project-copy h3 span { color: inherit; }

.project-description {
  max-width: 620px;
  margin: 0;
  color: var(--copy);
  font-size: 16px;
  line-height: 1.6;
}

.project-link {
  display: inline-block;
  margin-top: 13px;
  color: #315b67;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.about {
  padding: 66px 32px 72px;
}

.about-inner { width: min(100%, 852px); margin-inline: auto; }

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 524px) 300px;
  gap: 38px;
  align-items: start;
}

.about h2 {
  margin: 0 0 14px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 48px;
  line-height: 1.15;
}

.about p {
  margin: 0;
  color: var(--copy);
  font-size: 20px;
  line-height: 1.8;
}

.about-photo {
  width: 300px;
  height: 300px;
  margin-top: -8px;
  display: block;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 14px;
  transform: rotate(-4deg);
  box-shadow: 0 8px 18px rgba(25,29,33,.14);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.about-more { margin-top: 28px; }
.about-more p + p { margin-top: 28px; }

.contact {
  min-height: 570px;
  padding: 94px 26px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-eyebrow {
  margin: 0 0 4px;
  color: var(--copy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(72px, 8.5vw, 128px);
  line-height: 1.3;
  letter-spacing: -.035em;
}

.contact-actions { display: flex; gap: 16px; margin-top: 0; }

.button {
  min-width: 109px;
  padding: 20px 22px;
  border: 1px solid #e3e4e5;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.2;
  transition: transform .25s ease, box-shadow .25s ease;
}

.button-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.button-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(25,29,33,.12); }
.button:active { transform: translateY(1px); }

.email { margin-top: 68px; color: var(--copy); font-size: 12px; }
.email:hover { color: var(--ink); text-decoration: underline; }
.copyright { margin: auto 0 0; color: var(--copy); font-size: 12px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.16, 1, .3, 1);
}

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

:focus-visible { outline: 2px solid #366b74; outline-offset: 4px; }

@media (max-width: 900px) {
  .site-header { padding-inline: 22px; }
  .site-nav { gap: 0; }
  .site-nav a { padding-inline: 10px; }
  .hero h1 { gap: 12px; }
  .project-grid { gap: 64px 28px; }
  .about-intro { grid-template-columns: 1fr 250px; }
  .about-photo { width: 250px; height: 250px; }
}

@media (max-width: 700px) {
  :root { --panel-radius: 28px; }
  html { scroll-padding-top: 96px; }

  .site-header {
    top: 8px;
    left: 20px;
    right: 20px;
    height: 76px;
    padding: 8px 22px;
    border-radius: 0 0 20px 20px;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-label { font-size: 15px; }
  .menu-icon { width: 20px; height: 16px; display: grid; align-content: center; gap: 5px; }
  .menu-icon i { display: block; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .25s ease; }
  .menu-button[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    top: 8px;
    left: 20px;
    right: 20px;
    padding: 92px 22px 22px;
    display: grid;
    gap: 4px;
    border-radius: 0 0 24px 24px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s ease;
  }

  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 12px 10px; font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; }

  .page-panel { width: calc(100% - 40px); }

  .hero {
    padding: 144px 6px 48px;
    display: block;
  }

  .hero h1 {
    gap: 8px;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -.025em;
  }

  .hero h1 img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 9px;
  }

  .hero-copy > p {
    margin: 24px auto 0;
    max-width: 338px;
    text-align: left;
    font-size: 20px;
    line-height: 1.8;
  }

  .case-studies {
    width: 100%;
    padding: 48px 0 132px;
  }

  .section-title { margin-bottom: 60px; font-size: 32px; line-height: 1.15; }

  .project-grid { grid-template-columns: 1fr; gap: 75px; }
  .project-card { width: 318px; margin-inline: auto; }
  .project-image { height: 435px; border-radius: 24px; }
  .project-image img { object-position: center; }
  .project-image--drexel { padding: 38px; }
  .project-image--glowm { padding: 40px 18px; gap: 10px; }
  .project-image--glowm img { width: 82px; height: 177px; flex: 0 0 auto; }
  .project-copy { padding-top: 17px; }
  .project-type { margin-bottom: 2px; font-size: 13px; line-height: 1.4; }
  .project-copy h3 { font-size: 24px; line-height: 1.4; }
  .project-copy > p:last-child { font-size: 16px; line-height: 1.6; }

  .about {
    padding: 72px 22px 72px;
  }

  .about-inner { width: 306px; }

  .about-intro {
    display: flex;
    flex-direction: column-reverse;
    gap: 53px;
  }

  .about-photo {
    width: 256px;
    height: 256px;
    margin: -20px auto 0;
    transform: rotate(-4deg);
  }

  .about h2 { margin-bottom: -1px; font-size: 32px; line-height: 1.15; }
  .about p { font-size: 16px; line-height: 1.8; }
  .about-more { margin-top: 32px; }
  .about-more p + p { margin-top: 0; }

  .contact { min-height: 550px; padding: 102px 26px 28px; }
  .contact-eyebrow { margin-bottom: 3px; }
  .contact h2 { width: 100%; font-size: 48px; line-height: 1.3; white-space: nowrap; }
  .contact-actions { margin-top: 24px; gap: 12px; }
  .button { min-width: 105px; padding: 18px 20px; }
  .email { margin-top: 104px; }
}

@media (max-width: 370px) {
  .site-header, .site-nav { left: 12px; right: 12px; }
  .brand span { font-size: 18px; }
  .hero-copy > p { font-size: 18px; }
  .project-card { width: calc(100% - 40px); }
  .about-inner { width: 100%; }
  .contact h2 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
