:root {
  --ink: #313d41;
  --muted: #5c676b;
  --teal: #476c77;
  --accent: #efb071;
  --line: #d5d5d5;
  --white: #fff;
  --max: 1500px;
  --gutter: 4vw;
  --header: 92px;
  --heading: "acumin-pro", "Poppins", sans-serif;
  --body: "Poppins", sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  padding-top: var(--header);
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--heading);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0;
}

/* Squarespace 7.1 fluid scale: size value 4 / 2.8 / 2.2, line-height 1.4 tightened by size. */
h1 {
  font-size: min(calc(3.6vw + 1rem), 4.375rem);
  line-height: 1.232;
}

h2 {
  font-size: min(calc(2.16vw + 1rem), 3.025rem);
  line-height: 1.2992;
}

h3 {
  font-size: min(calc(1.44vw + 1rem), 2.35rem);
  line-height: 1.3328;
}

@media (max-width: 767px) and (orientation: portrait) {
  h1 {
    font-size: calc(0.036 * min(100vh, 900px) + 1rem);
  }

  h2 {
    font-size: calc(0.0216 * min(100vh, 900px) + 1rem);
  }

  h3 {
    font-size: calc(0.0144 * min(100vh, 900px) + 1rem);
  }
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  z-index: 40;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.96);
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

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

.site-nav a {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.4;
  color: #4e595d;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

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

.hero h1 {
  max-width: 74%;
  font-weight: 500;
}

.hero-photo {
  width: 100%;
  height: min(72vh, 820px);
  object-fit: cover;
  object-position: center 42%;
}

.band {
  background: var(--teal);
  color: var(--white);
  position: relative;
  padding: 6.5rem 0 8.5rem;
}

.band-curve {
  margin-bottom: 4.5rem;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 8vw;
  min-height: 64px;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 17vw;
  row-gap: 1.5rem;
  align-items: center;
}

.split h1,
.band h2 {
  color: var(--white);
}

.band p {
  font-size: 1rem;
  line-height: 1.8;
}

.section {
  padding: 5.5rem 0;
}

.section-copy {
  width: min(44rem, 100%);
  margin-inline: auto;
}

.section-copy.left {
  margin-inline: 0;
  width: min(40.5rem, 100%);
}

.section h2,
.stack h2 {
  margin-bottom: 1rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 3.5rem;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f4f4f4;
  transition: opacity 0.25s ease;
}

.work-card:hover img {
  opacity: 0.72;
}

.work-card h2 {
  font-size: 1.2rem;
  margin: 1rem 0 0;
  font-weight: 500;
}

.cta {
  background: var(--teal);
  color: var(--white);
  padding: 5.5rem 0 6rem;
}

.cta h2,
.cta p {
  max-width: 40.5rem;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 1.2em 2em;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-dark {
  background: #2c383c;
  color: var(--white);
}

.btn-accent:hover,
.btn-dark:hover {
  filter: brightness(1.06);
}

.photo-cta {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.12) 55%, rgba(0, 0, 0, 0.05)),
    var(--photo) center / cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

.photo-cta h2 {
  margin-bottom: 1.4rem;
}

.about-layout,
.story {
  display: grid;
  gap: 4vw;
  padding: 6rem 0 7rem;
  align-items: start;
}

.about-layout {
  grid-template-columns: minmax(220px, 0.7fr) minmax(320px, 1.3fr);
}

.story {
  grid-template-columns: minmax(0, 8fr) minmax(0, 14fr);
  column-gap: 10vw;
}

.story-dm {
  grid-template-columns: minmax(0, 10fr) minmax(0, 13fr);
  column-gap: 4vw;
}

.prose p + p {
  margin-top: 1.15rem;
}

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 3rem;
  padding: 4.5rem 0 6rem;
}

.person {
  display: grid;
  grid-template-columns: minmax(140px, 0.78fr) 1.15fr;
  gap: 1.1rem;
  align-items: start;
}

.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.person h2 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.person-social {
  display: block;
  width: 24px;
  height: 24px;
  margin: -0.2rem 0 13px;
  color: var(--ink);
}

.person-social svg {
  width: 24px;
  height: 24px;
  display: block;
}

.person p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.15fr);
  gap: 4rem 5rem;
  padding: 4.5rem 0 5.5rem;
  align-items: start;
}

.contact-layout h1 {
  margin-bottom: 1.2rem;
}

.contact-intro {
  max-width: 36ch;
  margin-bottom: 2rem;
}

.rule {
  width: 180px;
  border: 0;
  border-top: 1px solid #c8c8c8;
  margin: 0 0 2.4rem;
}

.address {
  font-size: 0.98rem;
  line-height: 1.7;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.story .logo-block {
  width: 100%;
  height: auto;
  margin-bottom: 1.75rem;
}

.story h1 {
  font-size: min(calc(1.44vw + 1rem), 2.35rem);
  line-height: 1.3328;
  max-width: none;
}

.story .prose strong {
  font-weight: 700;
}

.place {
  position: relative;
  margin: 0;
}

.place img {
  width: 100%;
  height: auto;
  aspect-ratio: 1425 / 913;
  object-fit: cover;
  object-position: center;
}

.place figcaption {
  position: absolute;
  left: 7.9%;
  bottom: 5.3%;
  width: 16.5rem;
  max-width: 70%;
  margin: 0;
  padding: 1.22rem 1rem;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.2rem var(--gutter);
  border-top: 1px solid var(--line);
}

.pager-kicker {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.prose strong,
.story h1 strong {
  font-weight: 700;
}

.pager-title {
  font-family: var(--heading);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
}

.pager-prev {
  justify-content: flex-start;
  gap: 1.25rem;
}

.pager svg {
  width: 18px;
  height: 28px;
  flex: none;
}

.site-footer {
  padding: 3.2rem 0 2.4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 1.5rem;
}

.footer-brand h2 {
  font-size: 1.45rem;
  margin-bottom: 1.1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.15rem;
}

.badge {
  width: 132px;
  height: auto;
  justify-self: center;
}

.footer-actions {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-actions .btn {
  min-width: 210px;
}

.social {
  width: 26px;
  height: 26px;
  background: #1c1c1c;
  display: grid;
  place-items: center;
}

.social svg {
  width: 14px;
  height: 14px;
  display: block;
}

.copyright {
  text-align: center;
  font-size: min(calc(-0.12vw + 1rem), 0.9rem);
  color: #6d7578;
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  :root {
    --header: 74px;
    --gutter: 6vw;
  }

  .logo img {
    height: 40px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem var(--gutter) 1.4rem;
    gap: 0.9rem;
    border-bottom: 1px solid var(--line);
  }

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

  .split,
  .about-layout,
  .story,
  .contact-layout,
  .team,
  .work-grid,
  .person,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.75rem 0 3rem;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-photo {
    height: 52vh;
  }

  .story h1 {
    font-size: calc(0.0144 * min(100vh, 900px) + 1rem);
  }

  .badge,
  .footer-actions {
    justify-self: start;
  }

  .footer-actions .btn {
    min-width: 0;
  }

  .copyright {
    text-align: left;
  }
}
