@import url("https://use.typekit.net/czf2nuq.css");
@import url("https://use.typekit.net/joc7fpv.css");
@import url("https://use.typekit.net/yfx2isd.css");

@font-face {
  font-family: "Discovery";
  src: local("Discovery"), local("Discovery Regular");
  font-display: swap;
}

@font-face {
  font-family: "Manifold Extd CF";
  src: local("Manifold Extd CF"), local("Manifold Extended CF"), local("ManifoldExtdCF");
  font-display: swap;
}

@font-face {
  font-family: "Loos Condensed";
  src: local("Loos Condensed"), local("LoosCondensed"), local("Loos Condensed Regular");
  font-display: swap;
}

:root {
  --sand: #c0b59e;
  --dark: #161b21;
  --blue: #98b6de;
  --blue-deep: #6f95c5;
  --salmon: #d98f7f;
  --paper: #f6f4ef;
  --ink: #161b21;
  --muted: #5c6570;
  --line: rgba(22, 27, 33, 0.16);
  --line-dark: rgba(246, 244, 239, 0.18);
  --shadow: 0 18px 48px rgba(8, 10, 14, 0.22);
  --radius: 8px;
  --max: 1280px;
  --body-font: "loos-normal", "Loos Condensed", "Avenir Next", "Inter", "Helvetica Neue", Arial, sans-serif;
  --display-font: "discovery", "Discovery", "Avenir Next", "Inter", "Helvetica Neue", Arial, sans-serif;
  --sub-font: "discovery", "Avenir Next", "Arial Black", sans-serif;
  --subtext-font: "manifold-extd-cf", "Manifold Extd CF", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --label-font: "manifold-extd-cf", "Manifold Extd CF", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --button-font: "discovery", "manifold-extd-cf", "Manifold Extd CF", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: var(--dark);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.68;
  overflow-x: hidden;
}

body::before {
  content: none;
}

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

a {
  color: inherit;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.72, 0.18, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal[data-reveal="left"] {
  transform: translate3d(-26px, 14px, 0);
}

.reveal[data-reveal="right"] {
  transform: translate3d(26px, 14px, 0);
}

.reveal.reveal-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-header,
.site-footer,
.hero-content,
.section,
.page-hero {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  background: rgba(22, 27, 33, 0.9);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.brand-icon {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.brand-text {
  display: grid;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand-name {
  color: var(--blue);
  font-family: var(--sub-font);
  font-size: clamp(1.24rem, 2vw, 1.76rem);
  letter-spacing: 0.02em;
}

.brand-subtitle {
  color: var(--sand);
  font-family: var(--label-font);
  font-size: clamp(0.74rem, 1.25vw, 0.94rem);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(246, 244, 239, 0.055);
  font-family: var(--label-font);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(246, 244, 239, 0.78);
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--paper);
  border-color: var(--line-dark);
  background: rgba(246, 244, 239, 0.05);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  color: var(--dark);
  background: var(--sand);
}

.site-nav .nav-cta[aria-current="page"] {
  color: var(--dark);
  border-color: rgba(22, 27, 33, 0.16);
  background: var(--blue);
}

.hero {
  min-height: auto;
  display: flex;
  align-items: flex-end;
  margin: 0 0 24px;
  padding: clamp(70px, 10vw, 118px) 0 42px;
  background: var(--dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero-content {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  column-gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.hero-content > .eyebrow {
  grid-column: 1 / -1;
}

.hero-content > h1,
.hero-content > p,
.hero-content > .button-row {
  grid-column: 1;
}

.hero-big-icon {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: center;
  justify-self: end;
  width: clamp(220px, 27vw, 410px);
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.18));
}

.hero-content > .button-row {
  justify-self: start;
  max-width: none;
  margin-top: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: var(--label-font);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--display-font);
  font-weight: 800;
  line-height: 1.04;
  text-transform: none;
}

h1 {
  max-width: 17ch;
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(2.9rem, 6.5vw, 6.1rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.8vw, 3.65rem);
  letter-spacing: -0.026em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  letter-spacing: -0.012em;
}

.hero p:not(.eyebrow),
.page-hero p,
.section-heading p,
.stacked-copy p,
.feature-card p,
.service-item p,
.process-grid p,
.showcase-copy p,
.final-cta p,
.contact-panel,
.contact-form,
.site-footer {
  color: rgba(246, 244, 239, 0.76);
  font-family: var(--subtext-font);
  font-size: 0.92rem;
  letter-spacing: 0.012em;
}

.hero p:not(.eyebrow),
.page-hero p {
  max-width: 62ch;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-row.centered {
  justify-content: center;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 18px 12px 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-family: var(--button-font);
  font-size: clamp(0.98rem, 1.65vw, 1.16rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  box-shadow: 7px 7px 0 rgba(152, 182, 222, 0.22);
  transition:
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button::before {
  content: none;
}

.button::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  border: 1px solid currentColor;
  opacity: 0.28;
  clip-path: inherit;
  transition: inset 180ms ease, opacity 180ms ease;
}

.button span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 rgba(192, 181, 158, 0.28);
}

.button:hover::after,
.button:focus-visible::after {
  inset: 8px;
  opacity: 0.48;
}

.button:hover span,
.button:focus-visible span {
  transform: translateX(2px) rotate(90deg);
  background: rgba(22, 27, 33, 0.12);
}

.button:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 rgba(152, 182, 222, 0.28);
}

.button-primary {
  background: var(--blue);
  color: var(--dark);
}

.button-secondary {
  border-color: var(--line-dark);
  color: var(--paper);
  background: rgba(246, 244, 239, 0.05);
}

.section {
  padding: clamp(42px, 6vw, 76px) 0;
}

.section-light {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  background: var(--dark);
  color: var(--paper);
  border-block: 1px solid var(--line-dark);
}

.section-light h2,
.section-light h3 {
  color: var(--paper);
}

.section-light p {
  color: rgba(246, 244, 239, 0.76);
  font-family: var(--subtext-font);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.stacked-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 28px;
}

.feature-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.process-grid div {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(246, 244, 239, 0.045);
  box-shadow: var(--shadow);
}

.feature-card span,
.process-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--sand);
  font-family: var(--label-font);
}

.feature-card h3,
.process-grid h3 {
  color: var(--blue);
}

.portfolio-section {
  border-block: 1px solid var(--line-dark);
}

.portfolio-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 4vw, 48px);
  align-items: end;
  margin-bottom: 24px;
}

.portfolio-heading h2 {
  max-width: 960px;
}

.portfolio-heading .button {
  white-space: nowrap;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.portfolio-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(152, 182, 222, 0.1), rgba(246, 244, 239, 0.035)),
    rgba(246, 244, 239, 0.045);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(152, 182, 222, 0.48);
  background:
    linear-gradient(180deg, rgba(152, 182, 222, 0.16), rgba(246, 244, 239, 0.05)),
    rgba(246, 244, 239, 0.06);
}

.portfolio-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--sand);
  font-family: var(--label-font);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.portfolio-card h3 {
  color: var(--blue);
}

.portfolio-card p {
  margin: 0;
  color: rgba(246, 244, 239, 0.76);
  font-family: var(--subtext-font);
  font-size: 0.92rem;
  line-height: 1.62;
}

.brand-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.88fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.showcase-copy p {
  max-width: 560px;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.swatch {
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  font-family: var(--sub-font);
  color: var(--paper);
}

.swatch-sand {
  background: var(--sand);
  color: var(--dark);
}

.swatch-dark {
  background: var(--dark);
}

.swatch-blue {
  background: var(--blue);
  color: var(--dark);
}

.showcase-image,
.wide-brand-card {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.final-cta h2 {
  max-width: 900px;
  margin-inline: auto;
}

.page-hero {
  padding: clamp(58px, 8vw, 108px) 0 clamp(36px, 5vw, 62px);
}

.page-hero h1 {
  max-width: 18ch;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
}

.contact-hero-copy p {
  max-width: 62ch;
}

.contact-photo-card {
  min-height: clamp(300px, 36vw, 470px);
  display: flex;
  align-items: flex-end;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background-image:
    linear-gradient(to top, rgba(22, 27, 33, 0.88), rgba(22, 27, 33, 0.08) 58%),
    url("assets/sam-haberberger-photo.jpg"),
    url("assets/intent-creative-logo-card.png");
  background-position: center, center 54%, center;
  background-size: cover, cover, cover;
  box-shadow: var(--shadow);
}

.contact-photo-card figcaption {
  width: 100%;
  padding: 18px;
  color: var(--paper);
  font-family: var(--label-font);
  text-transform: uppercase;
}

.contact-photo-card span {
  display: block;
  color: var(--blue);
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  text-transform: none;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.service-item {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(246, 244, 239, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    var(--paper);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 244, 239, 0.34);
  box-shadow: 0 22px 52px rgba(8, 10, 14, 0.28);
}

.service-item p {
  color: var(--muted);
  font-family: var(--subtext-font);
}

.service-item h2 {
  color: var(--ink);
  font-size: clamp(1.65rem, 3.3vw, 2.55rem);
}

.service-item:nth-child(3n + 1) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    var(--salmon);
}

.service-item:nth-child(3n + 2) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    var(--sand);
}

.service-item:nth-child(3n) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    var(--blue);
}

.service-item:nth-child(4n) {
  background:
    linear-gradient(135deg, rgba(246, 244, 239, 0.09), rgba(246, 244, 239, 0)),
    var(--blue-deep);
}

.service-item:nth-child(5n) {
  background:
    linear-gradient(135deg, rgba(246, 244, 239, 0.08), rgba(246, 244, 239, 0)),
    var(--dark);
}

.service-item:nth-child(4n),
.service-item:nth-child(5n) {
  border-color: var(--line-dark);
}

.service-item:nth-child(4n) h2,
.service-item:nth-child(5n) h2,
.service-item:nth-child(4n) p,
.service-item:nth-child(5n) p {
  color: var(--paper);
}

.service-item:nth-child(5n) h2 {
  color: var(--blue);
}

.service-item-accent {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    var(--blue) !important;
}

.service-item-accent p {
  color: rgba(22, 27, 33, 0.76);
}

.service-item-accent h2 {
  color: var(--ink);
}

.process-section {
  padding-bottom: 48px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(460px, 1fr);
  gap: clamp(18px, 3vw, 38px);
  width: min(100%, var(--max));
  margin-inline: auto;
}

.contact-panel,
.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.contact-panel h2 {
  color: var(--ink);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-methods a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.contact-methods a:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 27, 33, 0.34);
}

.contact-methods span {
  color: var(--muted);
  font-family: var(--sub-font);
  text-transform: uppercase;
}

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

.form-row {
  display: grid;
  gap: 7px;
}

label {
  color: var(--ink);
  font-family: var(--sub-font);
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(22, 27, 33, 0.22);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.contact-form .button {
  width: fit-content;
  border: 0;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
}

.brand-card-section {
  padding-top: 28px;
}

.wide-brand-card {
  margin-inline: auto;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--label-font);
  text-transform: uppercase;
}

.site-footer a,
.footer-nav a {
  color: var(--blue);
  text-decoration: none;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.footer-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(246, 244, 239, 0.76);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.footer-nav a:hover {
  color: var(--paper);
  background: rgba(246, 244, 239, 0.06);
  transform: translateY(-1px);
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a {
    flex: 1 1 auto;
  }

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

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .split-layout,
  .brand-showcase,
  .hero-content,
  .contact-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-content > .eyebrow,
  .hero-content > h1,
  .hero-content > .hero-big-icon,
  .hero-content > p,
  .hero-content > .button-row {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .hero-content > .hero-big-icon {
    width: min(54vw, 280px);
    margin: 8px 0 0;
  }

  .hero-content > .button-row {
    max-width: none;
    margin-top: 24px;
  }

  .feature-grid,
  .process-grid,
  .portfolio-grid,
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-showcase {
    padding-top: 32px;
  }

  .portfolio-heading {
    grid-template-columns: 1fr;
  }

  .portfolio-heading .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 18px;
  }

  .site-header,
  .site-footer,
  .hero-content,
  .section,
  .page-hero {
    width: min(calc(100% - 22px), var(--max));
  }

  .hero {
    min-height: 78svh;
    padding-top: 96px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11.8vw, 4.2rem);
    letter-spacing: -0.028em;
  }

  .button-row,
  .swatches,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .contact-form .button {
    width: 100%;
  }

  .swatches {
    display: grid;
  }

  .contact-panel,
  .contact-form,
  .feature-card,
  .process-grid div,
  .service-item {
    padding: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
